EdgeSchemaReferenceCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /{resourceUri}/providers/Microsoft.Edge/schemaReferences/{schemaReferenceName}.
  • Operation Id. : SchemaReferences_Get.
  • Default Api Version. : 2025-06-01.
public virtual Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSchemaReferenceResource> GetIfExists(string schemaReferenceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSchemaReferenceResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSchemaReferenceResource>
Public Overridable Function GetIfExists (schemaReferenceName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of EdgeSchemaReferenceResource)

Parameters

schemaReferenceName
String

The name of the SchemaReference.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

schemaReferenceName is null.

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

Applies to