Condividi tramite


EdgeDynamicSchemaCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/schemas/{schemaName}/dynamicSchemas/{dynamicSchemaName}
  • Operation Id: DynamicSchema_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeDynamicSchemaResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaResource>> GetIfExistsAsync(string dynamicSchemaName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaResource>>
Public Overridable Function GetIfExistsAsync (dynamicSchemaName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of EdgeDynamicSchemaResource))

Parameters

dynamicSchemaName
String

The name of the DynamicSchema.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dynamicSchemaName is null.

Applies to