Udostępnij za pośrednictwem


AutomanageExtensions.GetAutomanageConfigurationProfilesAsync Method

Definition

Retrieve a list of configuration profile within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/configurationProfiles
  • Operation Id: ConfigurationProfiles_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.Automanage.AutomanageConfigurationProfileResource> GetAutomanageConfigurationProfilesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAutomanageConfigurationProfilesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automanage.AutomanageConfigurationProfileResource>
<Extension()>
Public Function GetAutomanageConfigurationProfilesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutomanageConfigurationProfileResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AutomanageConfigurationProfileResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to