PeerAsnsOperations interface
Interface representing a PeerAsns operations.
Properties
| create |
Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription. |
| delete | Deletes an existing peer ASN with the specified name under the given subscription. |
| get | Gets the peer ASN with the specified name under the given subscription. |
| list |
Lists all of the peer ASNs under the given subscription. |
Property Details
createOrUpdate
Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription.
createOrUpdate: (peerAsnName: string, peerAsn: PeerAsn, options?: PeerAsnsCreateOrUpdateOptionalParams) => Promise<PeerAsn>
Property Value
(peerAsnName: string, peerAsn: PeerAsn, options?: PeerAsnsCreateOrUpdateOptionalParams) => Promise<PeerAsn>
delete
Deletes an existing peer ASN with the specified name under the given subscription.
delete: (peerAsnName: string, options?: PeerAsnsDeleteOptionalParams) => Promise<void>
Property Value
(peerAsnName: string, options?: PeerAsnsDeleteOptionalParams) => Promise<void>
get
Gets the peer ASN with the specified name under the given subscription.
get: (peerAsnName: string, options?: PeerAsnsGetOptionalParams) => Promise<PeerAsn>
Property Value
(peerAsnName: string, options?: PeerAsnsGetOptionalParams) => Promise<PeerAsn>
listBySubscription
Lists all of the peer ASNs under the given subscription.
listBySubscription: (options?: PeerAsnsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<PeerAsn, PeerAsn[], PageSettings>
Property Value
(options?: PeerAsnsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<PeerAsn, PeerAsn[], PageSettings>