共用方式為


DeviceUpdateExtensions.GetDeviceUpdateAccounts Method

Definition

Overloads

GetDeviceUpdateAccounts(ResourceGroupResource)

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

GetDeviceUpdateAccounts(SubscriptionResource, CancellationToken)

Returns list of Accounts.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/accounts
  • Operation Id: Accounts_ListBySubscription

GetDeviceUpdateAccounts(ResourceGroupResource)

Source:
DeviceUpdateExtensions.cs
Source:
DeviceUpdateExtensions.cs

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

public static Azure.ResourceManager.DeviceUpdate.DeviceUpdateAccountCollection GetDeviceUpdateAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDeviceUpdateAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DeviceUpdate.DeviceUpdateAccountCollection
<Extension()>
Public Function GetDeviceUpdateAccounts (resourceGroupResource As ResourceGroupResource) As DeviceUpdateAccountCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DeviceUpdateAccountResources and their operations over a DeviceUpdateAccountResource.

Exceptions

resourceGroupResource is null.

Applies to

GetDeviceUpdateAccounts(SubscriptionResource, CancellationToken)

Source:
DeviceUpdateExtensions.cs
Source:
DeviceUpdateExtensions.cs

Returns list of Accounts.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DeviceUpdate/accounts
  • Operation Id: Accounts_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.DeviceUpdate.DeviceUpdateAccountResource> GetDeviceUpdateAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDeviceUpdateAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DeviceUpdate.DeviceUpdateAccountResource>
<Extension()>
Public Function GetDeviceUpdateAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DeviceUpdateAccountResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to