Udostępnij za pośrednictwem


ExpressRouteAuthorizationCollection Class

Definition

A class representing a collection of ExpressRouteAuthorizationResource and their operations. Each ExpressRouteAuthorizationResource in the collection will belong to the same instance of AvsPrivateCloudResource. To get an ExpressRouteAuthorizationCollection instance call the GetExpressRouteAuthorizations method from an instance of AvsPrivateCloudResource.

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

Constructors

ExpressRouteAuthorizationCollection()

Initializes a new instance of the ExpressRouteAuthorizationCollection 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, ExpressRouteAuthorizationData, CancellationToken)

Create a ExpressRouteAuthorization

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Operation Id: Authorizations_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
CreateOrUpdateAsync(WaitUntil, String, ExpressRouteAuthorizationData, CancellationToken)

Create a ExpressRouteAuthorization

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Operation Id: Authorizations_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Operation Id: Authorizations_Get
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Operation Id: Authorizations_Get
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
Get(String, CancellationToken)

Get a ExpressRouteAuthorization

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Operation Id: Authorizations_Get
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
GetAll(CancellationToken)

List ExpressRouteAuthorization resources by PrivateCloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations
  • Operation Id: Authorizations_List
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
GetAllAsync(CancellationToken)

List ExpressRouteAuthorization resources by PrivateCloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations
  • Operation Id: Authorizations_List
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
GetAsync(String, CancellationToken)

Get a ExpressRouteAuthorization

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Operation Id: Authorizations_Get
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Operation Id: Authorizations_Get
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Operation Id: Authorizations_Get
  • Default Api Version: 2023-09-01
  • Resource: ExpressRouteAuthorizationResource
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<ExpressRouteAuthorizationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteAuthorizationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to