共用方式為


AutomanageExtensions.GetAutomanageConfigurationProfile 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 Azure.Response<Azure.ResourceManager.Automanage.AutomanageConfigurationProfileResource> GetAutomanageConfigurationProfile (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string configurationProfileName, System.Threading.CancellationToken cancellationToken = default);
static member GetAutomanageConfigurationProfile : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automanage.AutomanageConfigurationProfileResource>
<Extension()>
Public Function GetAutomanageConfigurationProfile (resourceGroupResource As ResourceGroupResource, configurationProfileName As String, Optional cancellationToken As CancellationToken = Nothing) As 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