RegisteredAsns interface

Interface representing a RegisteredAsns.

Methods

createOrUpdate(string, string, string, PeeringRegisteredAsn, RegisteredAsnsCreateOrUpdateOptionalParams)

Creates a new registered ASN with the specified name under the given subscription, resource group and peering.

delete(string, string, string, RegisteredAsnsDeleteOptionalParams)

Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering.

get(string, string, string, RegisteredAsnsGetOptionalParams)

Gets an existing registered ASN with the specified name under the given subscription, resource group and peering.

listByPeering(string, string, RegisteredAsnsListByPeeringOptionalParams)

Lists all registered ASNs under the given subscription, resource group and peering.

Method Details

createOrUpdate(string, string, string, PeeringRegisteredAsn, RegisteredAsnsCreateOrUpdateOptionalParams)

Creates a new registered ASN with the specified name under the given subscription, resource group and peering.

function createOrUpdate(resourceGroupName: string, peeringName: string, registeredAsnName: string, registeredAsn: PeeringRegisteredAsn, options?: RegisteredAsnsCreateOrUpdateOptionalParams): Promise<PeeringRegisteredAsn>

Parameters

resourceGroupName

string

The name of the resource group.

peeringName

string

The name of the peering.

registeredAsnName

string

The name of the ASN.

registeredAsn
PeeringRegisteredAsn

The properties needed to create a registered ASN.

options
RegisteredAsnsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, RegisteredAsnsDeleteOptionalParams)

Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering.

function delete(resourceGroupName: string, peeringName: string, registeredAsnName: string, options?: RegisteredAsnsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

peeringName

string

The name of the peering.

registeredAsnName

string

The name of the registered ASN.

options
RegisteredAsnsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, RegisteredAsnsGetOptionalParams)

Gets an existing registered ASN with the specified name under the given subscription, resource group and peering.

function get(resourceGroupName: string, peeringName: string, registeredAsnName: string, options?: RegisteredAsnsGetOptionalParams): Promise<PeeringRegisteredAsn>

Parameters

resourceGroupName

string

The name of the resource group.

peeringName

string

The name of the peering.

registeredAsnName

string

The name of the registered ASN.

options
RegisteredAsnsGetOptionalParams

The options parameters.

Returns

listByPeering(string, string, RegisteredAsnsListByPeeringOptionalParams)

Lists all registered ASNs under the given subscription, resource group and peering.

function listByPeering(resourceGroupName: string, peeringName: string, options?: RegisteredAsnsListByPeeringOptionalParams): PagedAsyncIterableIterator<PeeringRegisteredAsn, PeeringRegisteredAsn[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

peeringName

string

The name of the peering.

options
RegisteredAsnsListByPeeringOptionalParams

The options parameters.

Returns