Partager via


DeviceRegistrySchemaVersionCollection Class

Definition

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

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

Constructors

DeviceRegistrySchemaVersionCollection()

Initializes a new instance of the DeviceRegistrySchemaVersionCollection 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, DeviceRegistrySchemaVersionData, CancellationToken)

Create a SchemaVersion

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

Create a SchemaVersion

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}
  • Operation Id: SchemaVersion_CreateOrReplace
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaVersionResource
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}/schemaVersions/{schemaVersionName}
  • Operation Id: SchemaVersion_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaVersionResource
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}/schemaVersions/{schemaVersionName}
  • Operation Id: SchemaVersion_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaVersionResource
Get(String, CancellationToken)

Get a SchemaVersion

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

List SchemaVersion resources by Schema

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

List SchemaVersion resources by Schema

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

Get a SchemaVersion

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/schemaRegistries/{schemaRegistryName}/schemas/{schemaName}/schemaVersions/{schemaVersionName}
  • Operation Id: SchemaVersion_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaVersionResource
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}/schemaVersions/{schemaVersionName}
  • Operation Id: SchemaVersion_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaVersionResource
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}/schemaVersions/{schemaVersionName}
  • Operation Id: SchemaVersion_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaVersionResource
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<DeviceRegistrySchemaVersionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DeviceRegistrySchemaVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to