共用方式為


ExpressRouteCircuitAuthorizationCollection Class

Definition

A class representing a collection of ExpressRouteCircuitAuthorizationResource and their operations. Each ExpressRouteCircuitAuthorizationResource in the collection will belong to the same instance of ExpressRouteCircuitResource. To get an ExpressRouteCircuitAuthorizationCollection instance call the GetExpressRouteCircuitAuthorizations method from an instance of ExpressRouteCircuitResource.

public class ExpressRouteCircuitAuthorizationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationResource>
type ExpressRouteCircuitAuthorizationCollection = class
    inherit ArmCollection
    interface seq<ExpressRouteCircuitAuthorizationResource>
    interface IEnumerable
    interface IAsyncEnumerable<ExpressRouteCircuitAuthorizationResource>
Public Class ExpressRouteCircuitAuthorizationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ExpressRouteCircuitAuthorizationResource), IEnumerable(Of ExpressRouteCircuitAuthorizationResource)
Inheritance
ExpressRouteCircuitAuthorizationCollection
Implements

Constructors

ExpressRouteCircuitAuthorizationCollection()

Initializes a new instance of the ExpressRouteCircuitAuthorizationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ExpressRouteCircuitAuthorizationData, CancellationToken)

Creates or updates an authorization in the specified express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
CreateOrUpdateAsync(WaitUntil, String, ExpressRouteCircuitAuthorizationData, CancellationToken)

Creates or updates an authorization in the specified express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
Get(String, CancellationToken)

Gets the specified authorization from the specified express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
GetAll(CancellationToken)

Gets all authorizations in an express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations
  • Operation Id: ExpressRouteCircuitAuthorizations_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
GetAllAsync(CancellationToken)

Gets all authorizations in an express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations
  • Operation Id: ExpressRouteCircuitAuthorizations_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
GetAsync(String, CancellationToken)

Gets the specified authorization from the specified express route circuit.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ExpressRouteCircuitAuthorizationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteCircuitAuthorizationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to