These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.peering.getPeerAsn
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the peer ASN with the specified name under the given subscription. API Version: 2021-01-01.
Using getPeerAsn
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPeerAsn(args: GetPeerAsnArgs, opts?: InvokeOptions): Promise<GetPeerAsnResult>
function getPeerAsnOutput(args: GetPeerAsnOutputArgs, opts?: InvokeOptions): Output<GetPeerAsnResult>
def get_peer_asn(peer_asn_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPeerAsnResult
def get_peer_asn_output(peer_asn_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPeerAsnResult]
func LookupPeerAsn(ctx *Context, args *LookupPeerAsnArgs, opts ...InvokeOption) (*LookupPeerAsnResult, error)
func LookupPeerAsnOutput(ctx *Context, args *LookupPeerAsnOutputArgs, opts ...InvokeOption) LookupPeerAsnResultOutput
> Note: This function is named LookupPeerAsn
in the Go SDK.
public static class GetPeerAsn
{
public static Task<GetPeerAsnResult> InvokeAsync(GetPeerAsnArgs args, InvokeOptions? opts = null)
public static Output<GetPeerAsnResult> Invoke(GetPeerAsnInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPeerAsnResult> getPeerAsn(GetPeerAsnArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:peering:getPeerAsn
arguments:
# arguments dictionary
The following arguments are supported:
- Peer
Asn stringName - The peer ASN name.
- Peer
Asn stringName - The peer ASN name.
- peer
Asn StringName - The peer ASN name.
- peer
Asn stringName - The peer ASN name.
- peer_
asn_ strname - The peer ASN name.
- peer
Asn StringName - The peer ASN name.
getPeerAsn Result
The following output properties are available:
- Error
Message string - The error message for the validation state
- Id string
- The ID of the resource.
- Name string
- The name of the resource.
- Type string
- The type of the resource.
- Peer
Asn int - The Autonomous System Number (ASN) of the peer.
- Peer
Contact List<Pulumi.Detail Azure Native. Peering. Outputs. Contact Detail Response> - The contact details of the peer.
- Peer
Name string - The name of the peer.
- Validation
State string - The validation state of the ASN associated with the peer.
- Error
Message string - The error message for the validation state
- Id string
- The ID of the resource.
- Name string
- The name of the resource.
- Type string
- The type of the resource.
- Peer
Asn int - The Autonomous System Number (ASN) of the peer.
- Peer
Contact []ContactDetail Detail Response - The contact details of the peer.
- Peer
Name string - The name of the peer.
- Validation
State string - The validation state of the ASN associated with the peer.
- error
Message String - The error message for the validation state
- id String
- The ID of the resource.
- name String
- The name of the resource.
- type String
- The type of the resource.
- peer
Asn Integer - The Autonomous System Number (ASN) of the peer.
- peer
Contact List<ContactDetail Detail Response> - The contact details of the peer.
- peer
Name String - The name of the peer.
- validation
State String - The validation state of the ASN associated with the peer.
- error
Message string - The error message for the validation state
- id string
- The ID of the resource.
- name string
- The name of the resource.
- type string
- The type of the resource.
- peer
Asn number - The Autonomous System Number (ASN) of the peer.
- peer
Contact ContactDetail Detail Response[] - The contact details of the peer.
- peer
Name string - The name of the peer.
- validation
State string - The validation state of the ASN associated with the peer.
- error_
message str - The error message for the validation state
- id str
- The ID of the resource.
- name str
- The name of the resource.
- type str
- The type of the resource.
- peer_
asn int - The Autonomous System Number (ASN) of the peer.
- peer_
contact_ Sequence[Contactdetail Detail Response] - The contact details of the peer.
- peer_
name str - The name of the peer.
- validation_
state str - The validation state of the ASN associated with the peer.
- error
Message String - The error message for the validation state
- id String
- The ID of the resource.
- name String
- The name of the resource.
- type String
- The type of the resource.
- peer
Asn Number - The Autonomous System Number (ASN) of the peer.
- peer
Contact List<Property Map>Detail - The contact details of the peer.
- peer
Name String - The name of the peer.
- validation
State String - The validation state of the ASN associated with the peer.
Supporting Types
ContactDetailResponse
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi