SpatialAnchorsAccountsOperationsExtensions.CreateAsync 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET