Condividi tramite


FrontDoorRouteCollection Class

Definition

A class representing a collection of FrontDoorRouteResource and their operations. Each FrontDoorRouteResource in the collection will belong to the same instance of FrontDoorEndpointResource. To get a FrontDoorRouteCollection instance call the GetFrontDoorRoutes method from an instance of FrontDoorEndpointResource.

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

Constructors

FrontDoorRouteCollection()

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

Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
  • Operation Id: FrontDoorRoutes_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
CreateOrUpdateAsync(WaitUntil, String, FrontDoorRouteData, CancellationToken)

Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
  • Operation Id: FrontDoorRoutes_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
  • Operation Id: FrontDoorRoutes_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
  • Operation Id: FrontDoorRoutes_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
Get(String, CancellationToken)

Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
  • Operation Id: FrontDoorRoutes_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
GetAll(CancellationToken)

Lists all of the existing origins within a profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes
  • Operation Id: FrontDoorRoutes_ListByEndpoint
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
GetAllAsync(CancellationToken)

Lists all of the existing origins within a profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes
  • Operation Id: FrontDoorRoutes_ListByEndpoint
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
GetAsync(String, CancellationToken)

Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
  • Operation Id: FrontDoorRoutes_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
  • Operation Id: FrontDoorRoutes_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes/{routeName}
  • Operation Id: FrontDoorRoutes_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorRouteResource
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<FrontDoorRouteResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FrontDoorRouteResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to