共用方式為


MapsAccountCollection Class

Definition

A class representing a collection of MapsAccountResource and their operations. Each MapsAccountResource in the collection will belong to the same instance of ResourceGroupResource. To get a MapsAccountCollection instance call the GetMapsAccounts method from an instance of ResourceGroupResource.

public class MapsAccountCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Maps.MapsAccountResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Maps.MapsAccountResource>
type MapsAccountCollection = class
    inherit ArmCollection
    interface seq<MapsAccountResource>
    interface IEnumerable
    interface IAsyncEnumerable<MapsAccountResource>
Public Class MapsAccountCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MapsAccountResource), IEnumerable(Of MapsAccountResource)
Inheritance
MapsAccountCollection
Implements

Constructors

MapsAccountCollection()

Initializes a new instance of the MapsAccountCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MapsAccountData, CancellationToken)

Create or update a Maps Account. A Maps Account holds the keys which allow access to the Maps REST APIs.

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

Create or update a Maps Account. A Maps Account holds the keys which allow access to the Maps REST APIs.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2023-06-01
  • Resource: MapsAccountResource
Get(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
GetAll(CancellationToken)

Get all Maps Accounts in a Resource Group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts
  • Operation Id: Accounts_ListByResourceGroup
  • Default Api Version: 2023-06-01
  • Resource: MapsAccountResource
GetAllAsync(CancellationToken)

Get all Maps Accounts in a Resource Group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts
  • Operation Id: Accounts_ListByResourceGroup
  • Default Api Version: 2023-06-01
  • Resource: MapsAccountResource
GetAsync(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
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MapsAccountResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MapsAccountResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to