This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.peering.getPeerAsn
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets the peer ASN with the specified name under the given subscription. Azure REST API version: 2022-10-01.
Other available API versions: 2019-09-01-preview, 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.
- Validation
State string - The validation state of the ASN associated with the peer.
- 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.
- 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.
- Validation
State string - The validation state of the ASN associated with the peer.
- 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.
- 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.
- validation
State String - The validation state of the ASN associated with the peer.
- 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.
- 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.
- validation
State string - The validation state of the ASN associated with the peer.
- 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.
- 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.
- validation_
state str - The validation state of the ASN associated with the peer.
- 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.
- 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.
- validation
State String - The validation state of the ASN associated with the peer.
- 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.
Supporting Types
ContactDetailResponse
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi