共用方式為


MapsExtensions Class

Definition

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

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

Methods

GetMapsAccount(ResourceGroupResource, String, CancellationToken)

Get a Maps Account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-06-01
  • Resource: MapsAccountResource
GetMapsAccountAsync(ResourceGroupResource, String, CancellationToken)

Get a Maps Account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-06-01
  • Resource: MapsAccountResource
GetMapsAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a MapsAccountResource 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 MapsAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMapsAccountResource(ResourceIdentifier) instead.

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
  • Default Api Version: 2023-06-01
  • Resource: MapsAccountResource
GetMapsAccountsAsync(SubscriptionResource, CancellationToken)

Get all Maps Accounts in a Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maps/accounts
  • Operation Id: Accounts_ListBySubscription
  • Default Api Version: 2023-06-01
  • Resource: MapsAccountResource
GetMapsCreatorResource(ArmClient, ResourceIdentifier)

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

Applies to