DeviceRegistryExtensions.GetDeviceRegistryAssetEndpointProfiles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
|
GetDeviceRegistryAssetEndpointProfiles(ResourceGroupResource)
- Source:
- DeviceRegistryExtensions.cs
Gets a collection of DeviceRegistryAssetEndpointProfileResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDeviceRegistryAssetEndpointProfiles() instead.
public static Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetEndpointProfileCollection GetDeviceRegistryAssetEndpointProfiles (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDeviceRegistryAssetEndpointProfiles : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetEndpointProfileCollection
<Extension()>
Public Function GetDeviceRegistryAssetEndpointProfiles (resourceGroupResource As ResourceGroupResource) As DeviceRegistryAssetEndpointProfileCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of DeviceRegistryAssetEndpointProfileResources and their operations over a DeviceRegistryAssetEndpointProfileResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetDeviceRegistryAssetEndpointProfiles(SubscriptionResource, CancellationToken)
- Source:
- DeviceRegistryExtensions.cs
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
public static Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetEndpointProfileResource> GetDeviceRegistryAssetEndpointProfiles (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeviceRegistryAssetEndpointProfiles : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetEndpointProfileResource>
<Extension()>
Public Function GetDeviceRegistryAssetEndpointProfiles (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeviceRegistryAssetEndpointProfileResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of DeviceRegistryAssetEndpointProfileResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET