共用方式為


FrontDoorOriginCollection Class

Definition

A class representing a collection of FrontDoorOriginResource and their operations. Each FrontDoorOriginResource in the collection will belong to the same instance of FrontDoorOriginGroupResource. To get a FrontDoorOriginCollection instance call the GetFrontDoorOrigins method from an instance of FrontDoorOriginGroupResource.

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

Constructors

FrontDoorOriginCollection()

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

Creates a new origin within the specified origin group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
  • Operation Id: FrontDoorOrigins_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
CreateOrUpdateAsync(WaitUntil, String, FrontDoorOriginData, CancellationToken)

Creates a new origin within the specified origin group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
  • Operation Id: FrontDoorOrigins_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
  • Operation Id: FrontDoorOrigins_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
  • Operation Id: FrontDoorOrigins_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
Get(String, CancellationToken)

Gets an existing origin within an origin group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
  • Operation Id: FrontDoorOrigins_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
GetAll(CancellationToken)

Lists all of the existing origins within an origin group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins
  • Operation Id: FrontDoorOrigins_ListByOriginGroup
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
GetAllAsync(CancellationToken)

Lists all of the existing origins within an origin group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins
  • Operation Id: FrontDoorOrigins_ListByOriginGroup
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
GetAsync(String, CancellationToken)

Gets an existing origin within an origin group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
  • Operation Id: FrontDoorOrigins_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
  • Operation Id: FrontDoorOrigins_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
  • Operation Id: FrontDoorOrigins_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginResource
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<FrontDoorOriginResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FrontDoorOriginResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to