共用方式為


MapsExtensions.GetMapsAccounts Method

Definition

Overloads

GetMapsAccounts(ResourceGroupResource)

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

GetMapsAccounts(SubscriptionResource, CancellationToken)

Get all Maps Accounts in a Subscription

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

GetMapsAccounts(ResourceGroupResource)

Source:
MapsExtensions.cs
Source:
MapsExtensions.cs

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

public static Azure.ResourceManager.Maps.MapsAccountCollection GetMapsAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMapsAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Maps.MapsAccountCollection
<Extension()>
Public Function GetMapsAccounts (resourceGroupResource As ResourceGroupResource) As MapsAccountCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of MapsAccountResources and their operations over a MapsAccountResource.

Exceptions

resourceGroupResource is null.

Applies to

GetMapsAccounts(SubscriptionResource, CancellationToken)

Source:
MapsExtensions.cs
Source:
MapsExtensions.cs

Get all Maps Accounts in a Subscription

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to