Share via


ProfileCollection Class

Definition

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

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

Constructors

ProfileCollection()

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

Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.

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

Creates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.

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

Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a resource group.

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

Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a resource group.

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

Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ProfileResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to