次の方法で共有


DeviceRegistrySchemaCollection Class

Definition

A class representing a collection of DeviceRegistrySchemaResource and their operations. Each DeviceRegistrySchemaResource in the collection will belong to the same instance of DeviceRegistrySchemaRegistryResource. To get a DeviceRegistrySchemaCollection instance call the GetDeviceRegistrySchemas method from an instance of DeviceRegistrySchemaRegistryResource.

public class DeviceRegistrySchemaCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaResource>
type DeviceRegistrySchemaCollection = class
    inherit ArmCollection
    interface seq<DeviceRegistrySchemaResource>
    interface IEnumerable
    interface IAsyncEnumerable<DeviceRegistrySchemaResource>
Public Class DeviceRegistrySchemaCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DeviceRegistrySchemaResource), IEnumerable(Of DeviceRegistrySchemaResource)
Inheritance
DeviceRegistrySchemaCollection
Implements

Constructors

DeviceRegistrySchemaCollection()

Initializes a new instance of the DeviceRegistrySchemaCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, DeviceRegistrySchemaData, CancellationToken)

Create a Schema

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
  • Operation Id: Schema_CreateOrReplace
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
CreateOrUpdateAsync(WaitUntil, String, DeviceRegistrySchemaData, CancellationToken)

Create a Schema

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
  • Operation Id: Schema_CreateOrReplace
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
  • Operation Id: Schema_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
  • Operation Id: Schema_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
Get(String, CancellationToken)

Get a Schema

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
  • Operation Id: Schema_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
GetAll(CancellationToken)

List Schema resources by SchemaRegistry

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas
  • Operation Id: Schema_ListBySchemaRegistry
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
GetAllAsync(CancellationToken)

List Schema resources by SchemaRegistry

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas
  • Operation Id: Schema_ListBySchemaRegistry
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
GetAsync(String, CancellationToken)

Get a Schema

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
  • Operation Id: Schema_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
  • Operation Id: Schema_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}
  • Operation Id: Schema_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<DeviceRegistrySchemaResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DeviceRegistrySchemaResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to