共用方式為


FrontDoorOriginGroupCollection Class

Definition

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

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

Constructors

FrontDoorOriginGroupCollection()

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

Creates a new origin group within the specified profile.

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

Creates a new origin group within the specified profile.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}
  • Operation Id: FrontDoorOriginGroups_Create
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginGroupResource
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}
  • Operation Id: FrontDoorOriginGroups_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginGroupResource
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}
  • Operation Id: FrontDoorOriginGroups_Get
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorOriginGroupResource
Get(String, CancellationToken)

Gets an existing origin group within a profile.

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

Lists all of the existing origin groups within a profile.

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

Lists all of the existing origin groups within a profile.

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

Gets an existing origin group within a profile.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FrontDoorOriginGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to