MixedRealityExtensions.GetSpatialAnchorsAccountsAsync Method

Definition

List Spatial Anchors Accounts by Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/spatialAnchorsAccounts
  • Operation Id: SpatialAnchorsAccounts_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.MixedReality.SpatialAnchorsAccountResource> GetSpatialAnchorsAccountsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSpatialAnchorsAccountsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MixedReality.SpatialAnchorsAccountResource>
<Extension()>
Public Function GetSpatialAnchorsAccountsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SpatialAnchorsAccountResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SpatialAnchorsAccountResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to