SpatialAnchorsAccountResource.RegenerateKeysAsync 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.
Regenerate specified Key of a Spatial Anchors Account
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/regenerateKeys
- Operation Id: SpatialAnchorsAccounts_RegenerateKeys
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeys>> RegenerateKeysAsync (Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeyRegenerateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeysAsync : Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeyRegenerateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeys>>
override this.RegenerateKeysAsync : Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeyRegenerateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MixedReality.Models.MixedRealityAccountKeys>>
Public Overridable Function RegenerateKeysAsync (content As MixedRealityAccountKeyRegenerateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MixedRealityAccountKeys))
Parameters
Required information for key regeneration.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.