Partager via


DeviceRegistryExtensions.GetDeviceRegistrySchemaRegistries Method

Definition

Overloads

GetDeviceRegistrySchemaRegistries(ResourceGroupResource)

Gets a collection of DeviceRegistrySchemaRegistryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDeviceRegistrySchemaRegistries() instead.

GetDeviceRegistrySchemaRegistries(SubscriptionResource, CancellationToken)

List SchemaRegistry resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/schemaRegistries
  • Operation Id: SchemaRegistry_ListBySubscription
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaRegistryResource

GetDeviceRegistrySchemaRegistries(ResourceGroupResource)

Source:
DeviceRegistryExtensions.cs

Gets a collection of DeviceRegistrySchemaRegistryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDeviceRegistrySchemaRegistries() instead.

public static Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaRegistryCollection GetDeviceRegistrySchemaRegistries (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDeviceRegistrySchemaRegistries : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaRegistryCollection
<Extension()>
Public Function GetDeviceRegistrySchemaRegistries (resourceGroupResource As ResourceGroupResource) As DeviceRegistrySchemaRegistryCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DeviceRegistrySchemaRegistryResources and their operations over a DeviceRegistrySchemaRegistryResource.

Exceptions

resourceGroupResource is null.

Applies to

GetDeviceRegistrySchemaRegistries(SubscriptionResource, CancellationToken)

Source:
DeviceRegistryExtensions.cs

List SchemaRegistry resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/schemaRegistries
  • Operation Id: SchemaRegistry_ListBySubscription
  • Default Api Version: 2024-09-01-preview
  • Resource: DeviceRegistrySchemaRegistryResource
public static Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaRegistryResource> GetDeviceRegistrySchemaRegistries (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeviceRegistrySchemaRegistries : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistrySchemaRegistryResource>
<Extension()>
Public Function GetDeviceRegistrySchemaRegistries (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeviceRegistrySchemaRegistryResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DeviceRegistrySchemaRegistryResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to