次の方法で共有


DeviceRegistrySchemaRegistryCollection.GetAsync Method

Definition

Get a SchemaRegistry

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}
  • Operation Id: SchemaRegistry_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaRegistryResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaRegistryResource>> GetAsync (string schemaRegistryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaRegistryResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaRegistryResource>>
Public Overridable Function GetAsync (schemaRegistryName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeviceRegistrySchemaRegistryResource))

Parameters

schemaRegistryName
String

Schema registry name parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

schemaRegistryName is null.

Applies to