MixedRealityExtensions.GetSpatialAnchorsAccounts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetSpatialAnchorsAccounts(ResourceGroupResource) |
Gets a collection of SpatialAnchorsAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSpatialAnchorsAccounts() instead. |
GetSpatialAnchorsAccounts(SubscriptionResource, CancellationToken) |
List Spatial Anchors Accounts by Subscription
|
GetSpatialAnchorsAccounts(ResourceGroupResource)
- Source:
- MixedRealityExtensions.cs
- Source:
- MixedRealityExtensions.cs
Gets a collection of SpatialAnchorsAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSpatialAnchorsAccounts() instead.
public static Azure.ResourceManager.MixedReality.SpatialAnchorsAccountCollection GetSpatialAnchorsAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSpatialAnchorsAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.MixedReality.SpatialAnchorsAccountCollection
<Extension()>
Public Function GetSpatialAnchorsAccounts (resourceGroupResource As ResourceGroupResource) As SpatialAnchorsAccountCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of SpatialAnchorsAccountResources and their operations over a SpatialAnchorsAccountResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetSpatialAnchorsAccounts(SubscriptionResource, CancellationToken)
- Source:
- MixedRealityExtensions.cs
- Source:
- MixedRealityExtensions.cs
List Spatial Anchors Accounts by Subscription
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/spatialAnchorsAccounts
- Operation Id: SpatialAnchorsAccounts_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.MixedReality.SpatialAnchorsAccountResource> GetSpatialAnchorsAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSpatialAnchorsAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MixedReality.SpatialAnchorsAccountResource>
<Extension()>
Public Function GetSpatialAnchorsAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SpatialAnchorsAccountResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of SpatialAnchorsAccountResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET