Share via


ExpressRoutePortAuthorizationCollection Class

Definition

A class representing a collection of ExpressRoutePortAuthorizationResource and their operations. Each ExpressRoutePortAuthorizationResource in the collection will belong to the same instance of ExpressRoutePortResource. To get an ExpressRoutePortAuthorizationCollection instance call the GetExpressRoutePortAuthorizations method from an instance of ExpressRoutePortResource.

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

Constructors

ExpressRoutePortAuthorizationCollection()

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}
  • Operation Id: ExpressRoutePortAuthorizations_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ExpressRoutePortAuthorizationResource
CreateOrUpdateAsync(WaitUntil, String, ExpressRoutePortAuthorizationData, CancellationToken)

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

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the specified authorization from the specified express route port.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}
  • Operation Id: ExpressRoutePortAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRoutePortAuthorizationResource
GetAll(CancellationToken)

Gets all authorizations in an express route port.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations
  • Operation Id: ExpressRoutePortAuthorizations_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRoutePortAuthorizationResource
GetAllAsync(CancellationToken)

Gets all authorizations in an express route port.

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

Gets the specified authorization from the specified express route port.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}
  • Operation Id: ExpressRoutePortAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRoutePortAuthorizationResource
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<ExpressRoutePortAuthorizationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRoutePortAuthorizationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to