共用方式為


CdnCustomDomainCollection Class

Definition

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

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

Constructors

CdnCustomDomainCollection()

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

Creates a new custom domain within an endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}
  • Operation Id: CdnCustomDomains_Create
  • Default Api Version: 2024-02-01
  • Resource: CdnCustomDomainResource
CreateOrUpdateAsync(WaitUntil, String, CdnCustomDomainCreateOrUpdateContent, CancellationToken)

Creates a new custom domain within an endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}
  • Operation Id: CdnCustomDomains_Create
  • Default Api Version: 2024-02-01
  • Resource: CdnCustomDomainResource
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}/customDomains/{customDomainName}
  • Operation Id: CdnCustomDomains_Get
  • Default Api Version: 2024-02-01
  • Resource: CdnCustomDomainResource
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}/customDomains/{customDomainName}
  • Operation Id: CdnCustomDomains_Get
  • Default Api Version: 2024-02-01
  • Resource: CdnCustomDomainResource
Get(String, CancellationToken)

Gets an existing custom domain within an endpoint.

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

Lists all of the existing custom domains within an endpoint.

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

Lists all of the existing custom domains within an endpoint.

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

Gets an existing custom domain within an endpoint.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CdnCustomDomainResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to