Partager via


DeviceRegistrySchemaRegistryCollection Class

Definition

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

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

Constructors

DeviceRegistrySchemaRegistryCollection()

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

Create a SchemaRegistry

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

Create a SchemaRegistry

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

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
GetAll(CancellationToken)

List SchemaRegistry resources by resource group

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

List SchemaRegistry resources by resource group

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

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
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DeviceRegistrySchemaRegistryResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to