Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Peerings

Package version

Class representing a Peerings.

Hierarchy

  • Peerings

Index

Constructors

constructor

Methods

createOrUpdate

  • createOrUpdate(resourceGroupName: string, peeringName: string, peering: Peering, options?: msRest.RequestOptionsBase): Promise<Models.PeeringsCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, peeringName: string, peering: Peering, callback: msRest.ServiceCallback<Peering>): void
  • createOrUpdate(resourceGroupName: string, peeringName: string, peering: Peering, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Peering>): void
  • Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • peering: Peering

      The properties needed to create or update a peering.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PeeringsCreateOrUpdateResponse>

    Promise<Models.PeeringsCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • peering: Peering

      The properties needed to create or update a peering.

    • callback: msRest.ServiceCallback<Peering>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • peering: Peering

      The properties needed to create or update a peering.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Peering>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, peeringName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, peeringName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, peeringName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes an existing peering with the specified name under the given subscription and resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, peeringName: string, options?: msRest.RequestOptionsBase): Promise<Models.PeeringsGetResponse>
  • get(resourceGroupName: string, peeringName: string, callback: msRest.ServiceCallback<Peering>): void
  • get(resourceGroupName: string, peeringName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Peering>): void
  • Gets an existing peering with the specified name under the given subscription and resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PeeringsGetResponse>

    Promise<Models.PeeringsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • callback: msRest.ServiceCallback<Peering>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Peering>

      The callback

    Returns void

listByResourceGroup

  • listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.PeeringsListByResourceGroupResponse>
  • listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<PeeringListResult>): void
  • listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PeeringListResult>): void
  • Lists all of the peerings under the given subscription and resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PeeringsListByResourceGroupResponse>

    Promise<Models.PeeringsListByResourceGroupResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • callback: msRest.ServiceCallback<PeeringListResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<PeeringListResult>

      The callback

    Returns void

listByResourceGroupNext

  • listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PeeringsListByResourceGroupNextResponse>
  • listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<PeeringListResult>): void
  • listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PeeringListResult>): void
  • Lists all of the peerings under the given subscription and resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PeeringsListByResourceGroupNextResponse>

    Promise<Models.PeeringsListByResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<PeeringListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<PeeringListResult>

      The callback

    Returns void

listBySubscription

  • listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.PeeringsListBySubscriptionResponse>
  • listBySubscription(callback: msRest.ServiceCallback<PeeringListResult>): void
  • listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PeeringListResult>): void
  • Lists all of the peerings under the given subscription.

    Parameters

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PeeringsListBySubscriptionResponse>

    Promise<Models.PeeringsListBySubscriptionResponse>

  • Parameters

    Returns void

  • Parameters

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<PeeringListResult>

      The callback

    Returns void

listBySubscriptionNext

  • listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PeeringsListBySubscriptionNextResponse>
  • listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<PeeringListResult>): void
  • listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<PeeringListResult>): void
  • Lists all of the peerings under the given subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.PeeringsListBySubscriptionNextResponse>

    Promise<Models.PeeringsListBySubscriptionNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<PeeringListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<PeeringListResult>

      The callback

    Returns void

update

  • update(resourceGroupName: string, peeringName: string, options?: Models.PeeringsUpdateOptionalParams): Promise<Models.PeeringsUpdateResponse>
  • update(resourceGroupName: string, peeringName: string, callback: msRest.ServiceCallback<Peering>): void
  • update(resourceGroupName: string, peeringName: string, options: PeeringsUpdateOptionalParams, callback: msRest.ServiceCallback<Peering>): void
  • Updates tags for a peering with the specified name under the given subscription and resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • Optional options: Models.PeeringsUpdateOptionalParams

    Returns Promise<Models.PeeringsUpdateResponse>

    Promise<Models.PeeringsUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • callback: msRest.ServiceCallback<Peering>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • peeringName: string

      The name of the peering.

    • options: PeeringsUpdateOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<Peering>

      The callback

    Returns void

Generated using TypeDoc