PeeringsOperations interface

Interface representing a Peerings operations.

Properties

createOrUpdate

Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.

delete

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

get

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

listByResourceGroup

Lists all of the peerings under the given subscription and resource group.

listBySubscription

Lists all of the peerings under the given subscription.

update

Updates tags for a peering with the specified name under the given subscription and resource group.

Property Details

createOrUpdate

Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.

createOrUpdate: (resourceGroupName: string, peeringName: string, peering: Peering, options?: PeeringsCreateOrUpdateOptionalParams) => Promise<Peering>

Property Value

(resourceGroupName: string, peeringName: string, peering: Peering, options?: PeeringsCreateOrUpdateOptionalParams) => Promise<Peering>

delete

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

delete: (resourceGroupName: string, peeringName: string, options?: PeeringsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, peeringName: string, options?: PeeringsDeleteOptionalParams) => Promise<void>

get

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

get: (resourceGroupName: string, peeringName: string, options?: PeeringsGetOptionalParams) => Promise<Peering>

Property Value

(resourceGroupName: string, peeringName: string, options?: PeeringsGetOptionalParams) => Promise<Peering>

listByResourceGroup

Lists all of the peerings under the given subscription and resource group.

listByResourceGroup: (resourceGroupName: string, options?: PeeringsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Peering, Peering[], PageSettings>

Property Value

(resourceGroupName: string, options?: PeeringsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Peering, Peering[], PageSettings>

listBySubscription

Lists all of the peerings under the given subscription.

listBySubscription: (options?: PeeringsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Peering, Peering[], PageSettings>

Property Value

(options?: PeeringsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Peering, Peering[], PageSettings>

update

Updates tags for a peering with the specified name under the given subscription and resource group.

update: (resourceGroupName: string, peeringName: string, tags: ResourceTags, options?: PeeringsUpdateOptionalParams) => Promise<Peering>

Property Value

(resourceGroupName: string, peeringName: string, tags: ResourceTags, options?: PeeringsUpdateOptionalParams) => Promise<Peering>