Udostępnij za pośrednictwem


AutomanageExtensions.GetAutomanageConfigurationProfileAsync Method

Definition

Get information about a configuration profile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automanage/configurationProfiles/{configurationProfileName}
  • Operation Id: ConfigurationProfiles_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.AutomanageConfigurationProfileResource>> GetAutomanageConfigurationProfileAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string configurationProfileName, System.Threading.CancellationToken cancellationToken = default);
static member GetAutomanageConfigurationProfileAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automanage.AutomanageConfigurationProfileResource>>
<Extension()>
Public Function GetAutomanageConfigurationProfileAsync (resourceGroupResource As ResourceGroupResource, configurationProfileName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomanageConfigurationProfileResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

configurationProfileName
String

The configuration profile name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or configurationProfileName is null.

configurationProfileName is an empty string, and was expected to be non-empty.

Applies to