Sdílet prostřednictvím


CdnExtensions.GetProfiles Method

Definition

Overloads

GetProfiles(ResourceGroupResource)

Gets a collection of ProfileResources in the ResourceGroupResource. MockingTo mock this method, please mock GetProfiles() instead.

GetProfiles(SubscriptionResource, CancellationToken)

Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles
  • Operation Id: Profiles_List
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource

GetProfiles(ResourceGroupResource)

Source:
CdnExtensions.cs
Source:
CdnExtensions.cs

Gets a collection of ProfileResources in the ResourceGroupResource. MockingTo mock this method, please mock GetProfiles() instead.

public static Azure.ResourceManager.Cdn.ProfileCollection GetProfiles (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetProfiles : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Cdn.ProfileCollection
<Extension()>
Public Function GetProfiles (resourceGroupResource As ResourceGroupResource) As ProfileCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ProfileResources and their operations over a ProfileResource.

Exceptions

resourceGroupResource is null.

Applies to

GetProfiles(SubscriptionResource, CancellationToken)

Source:
CdnExtensions.cs
Source:
CdnExtensions.cs

Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles
  • Operation Id: Profiles_List
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
public static Azure.Pageable<Azure.ResourceManager.Cdn.ProfileResource> GetProfiles (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetProfiles : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Cdn.ProfileResource>
<Extension()>
Public Function GetProfiles (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ProfileResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ProfileResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to