Share via


ConfigurationGroupSchemaCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/configurationGroupSchemas/{configurationGroupSchemaName}
  • Operation Id: ConfigurationGroupSchemas_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.HybridNetwork.ConfigurationGroupSchemaResource>> GetIfExistsAsync(string configurationGroupSchemaName, System.Threading.CancellationToken cancellationToken = default);

Parameters

configurationGroupSchemaName
String

The name of the configuration group schema.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

configurationGroupSchemaName is null.

Applies to