Share via


FrontDoorCollection Class

Definition

A class representing a collection of FrontDoorResource and their operations. Each FrontDoorResource in the collection will belong to the same instance of ResourceGroupResource. To get a FrontDoorCollection instance call the GetFrontDoors method from an instance of ResourceGroupResource.

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

Constructors

FrontDoorCollection()

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

Creates a new Front Door with a Front Door name under the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}
  • Operation Id: FrontDoors_CreateOrUpdate
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
CreateOrUpdateAsync(WaitUntil, String, FrontDoorData, CancellationToken)

Creates a new Front Door with a Front Door name under the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}
  • Operation Id: FrontDoors_CreateOrUpdate
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}
  • Operation Id: FrontDoors_Get
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}
  • Operation Id: FrontDoors_Get
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
Get(String, CancellationToken)

Gets a Front Door with the specified Front Door name under the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}
  • Operation Id: FrontDoors_Get
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
GetAll(CancellationToken)

Lists all of the Front Doors within a resource group under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors
  • Operation Id: FrontDoors_ListByResourceGroup
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
GetAllAsync(CancellationToken)

Lists all of the Front Doors within a resource group under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors
  • Operation Id: FrontDoors_ListByResourceGroup
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
GetAsync(String, CancellationToken)

Gets a Front Door with the specified Front Door name under the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}
  • Operation Id: FrontDoors_Get
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}
  • Operation Id: FrontDoors_Get
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}
  • Operation Id: FrontDoors_Get
  • Default Api Version: 2021-06-01
  • Resource: FrontDoorResource
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<FrontDoorResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FrontDoorResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to