Condividi tramite


CdnOriginGroupCollection Class

Definition

A class representing a collection of CdnOriginGroupResource and their operations. Each CdnOriginGroupResource in the collection will belong to the same instance of CdnEndpointResource. To get a CdnOriginGroupCollection instance call the GetCdnOriginGroups method from an instance of CdnEndpointResource.

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

Constructors

CdnOriginGroupCollection()

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

Creates a new origin group within the specified endpoint.

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

Creates a new origin group within the specified endpoint.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets an existing origin group within an endpoint.

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

Lists all of the existing origin groups within an endpoint.

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

Lists all of the existing origin groups within an endpoint.

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

Gets an existing origin group within an endpoint.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CdnOriginGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to