Partilhar via


DeviceRegistryExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DeviceRegistry.

public static class DeviceRegistryExtensions
type DeviceRegistryExtensions = class
Public Module DeviceRegistryExtensions
Inheritance
DeviceRegistryExtensions

Methods

GetDeviceRegistryAsset(ResourceGroupResource, String, CancellationToken)

Get a Asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}
  • Operation Id: Assets_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetResource
GetDeviceRegistryAssetAsync(ResourceGroupResource, String, CancellationToken)

Get a Asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assets/{assetName}
  • Operation Id: Assets_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetResource
GetDeviceRegistryAssetEndpointProfile(ResourceGroupResource, String, CancellationToken)

Get a AssetEndpointProfile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}
  • Operation Id: AssetEndpointProfiles_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetEndpointProfileResource
GetDeviceRegistryAssetEndpointProfileAsync(ResourceGroupResource, String, CancellationToken)

Get a AssetEndpointProfile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles/{assetEndpointProfileName}
  • Operation Id: AssetEndpointProfiles_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetEndpointProfileResource
GetDeviceRegistryAssetEndpointProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeviceRegistryAssetEndpointProfileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DeviceRegistryAssetEndpointProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeviceRegistryAssetEndpointProfileResource(ResourceIdentifier) instead.

GetDeviceRegistryAssetEndpointProfiles(ResourceGroupResource)

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

GetDeviceRegistryAssetEndpointProfiles(SubscriptionResource, CancellationToken)

List AssetEndpointProfile resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles
  • Operation Id: AssetEndpointProfiles_ListBySubscription
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetEndpointProfileResource
GetDeviceRegistryAssetEndpointProfilesAsync(SubscriptionResource, CancellationToken)

List AssetEndpointProfile resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assetEndpointProfiles
  • Operation Id: AssetEndpointProfiles_ListBySubscription
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetEndpointProfileResource
GetDeviceRegistryAssetResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeviceRegistryAssetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DeviceRegistryAssetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeviceRegistryAssetResource(ResourceIdentifier) instead.

GetDeviceRegistryAssets(ResourceGroupResource)

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

GetDeviceRegistryAssets(SubscriptionResource, CancellationToken)

List Asset resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assets
  • Operation Id: Assets_ListBySubscription
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetResource
GetDeviceRegistryAssetsAsync(SubscriptionResource, CancellationToken)

List Asset resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceRegistry/assets
  • Operation Id: Assets_ListBySubscription
  • Default Api Version: 2023-11-01-preview
  • Resource: DeviceRegistryAssetResource

Applies to