Share via


SpatialAnchorsAccountsOperationsExtensions.CreateAsync Method

Definition

Creating or Updating a Spatial Anchors Account.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.MixedReality.Models.SpatialAnchorsAccount> CreateAsync (this Microsoft.Azure.Management.MixedReality.ISpatialAnchorsAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.MixedReality.Models.SpatialAnchorsAccount spatialAnchorsAccount, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.MixedReality.ISpatialAnchorsAccountsOperations * string * string * Microsoft.Azure.Management.MixedReality.Models.SpatialAnchorsAccount * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.MixedReality.Models.SpatialAnchorsAccount>
<Extension()>
Public Function CreateAsync (operations As ISpatialAnchorsAccountsOperations, resourceGroupName As String, accountName As String, spatialAnchorsAccount As SpatialAnchorsAccount, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SpatialAnchorsAccount)

Parameters

operations
ISpatialAnchorsAccountsOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure resource group.

accountName
String

Name of an Mixed Reality Account.

spatialAnchorsAccount
SpatialAnchorsAccount

Spatial Anchors Account parameter.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to