Udostępnij za pośrednictwem


CdnEndpointCollection Class

Definition

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

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

Constructors

CdnEndpointCollection()

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

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

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

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

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

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

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

Lists existing CDN endpoints.

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

Lists existing CDN endpoints.

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

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

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CdnEndpointResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to