Share via


ExpressRouteProviderPortCollection Class

Definition

A class representing a collection of ExpressRouteProviderPortResource and their operations. Each ExpressRouteProviderPortResource in the collection will belong to the same instance of SubscriptionResource. To get an ExpressRouteProviderPortCollection instance call the GetExpressRouteProviderPorts method from an instance of SubscriptionResource.

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

Constructors

ExpressRouteProviderPortCollection()

Initializes a new instance of the ExpressRouteProviderPortCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}
  • Operation Id: ExpressRouteProviderPort
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteProviderPortResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}
  • Operation Id: ExpressRouteProviderPort
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteProviderPortResource
Get(String, CancellationToken)

Retrieves detail of a provider port.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}
  • Operation Id: ExpressRouteProviderPort
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteProviderPortResource
GetAll(String, CancellationToken)

Retrieves all the ExpressRouteProviderPorts in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts
  • Operation Id: ExpressRouteProviderPortsLocation_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteProviderPortResource
GetAllAsync(String, CancellationToken)

Retrieves all the ExpressRouteProviderPorts in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts
  • Operation Id: ExpressRouteProviderPortsLocation_List
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteProviderPortResource
GetAsync(String, CancellationToken)

Retrieves detail of a provider port.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}
  • Operation Id: ExpressRouteProviderPort
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteProviderPortResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}
  • Operation Id: ExpressRouteProviderPort
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteProviderPortResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}
  • Operation Id: ExpressRouteProviderPort
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteProviderPortResource
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<ExpressRouteProviderPortResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ExpressRouteProviderPortResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to