Share via


AutomanageExtensions.GetAutomanageConfigurationProfiles Method

Definition

Overloads

GetAutomanageConfigurationProfiles(ResourceGroupResource)

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

GetAutomanageConfigurationProfiles(SubscriptionResource, CancellationToken)

Retrieve a list of configuration profile within a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automanage/configurationProfiles
  • Operation Id: ConfigurationProfiles_ListBySubscription

GetAutomanageConfigurationProfiles(ResourceGroupResource)

Source:
AutomanageExtensions.cs
Source:
AutomanageExtensions.cs

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

public static Azure.ResourceManager.Automanage.AutomanageConfigurationProfileCollection GetAutomanageConfigurationProfiles (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAutomanageConfigurationProfiles : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Automanage.AutomanageConfigurationProfileCollection
<Extension()>
Public Function GetAutomanageConfigurationProfiles (resourceGroupResource As ResourceGroupResource) As AutomanageConfigurationProfileCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AutomanageConfigurationProfileResources and their operations over a AutomanageConfigurationProfileResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAutomanageConfigurationProfiles(SubscriptionResource, CancellationToken)

Source:
AutomanageExtensions.cs
Source:
AutomanageExtensions.cs

Retrieve a list of configuration profile within a subscription

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to