RecoveryServicesVaultResource.DeleteRegisteredIdentityAsync Method

Definition

Unregisters the given container from your Recovery Services vault.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/registeredIdentities/{identityName}
  • Operation Id: RegisteredIdentities_Delete
  • Default Api Version: 2023-04-01
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteRegisteredIdentityAsync (string identityName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteRegisteredIdentityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteRegisteredIdentityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteRegisteredIdentityAsync (identityName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

identityName
String

Name of the protection container to unregister.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

identityName is an empty string, and was expected to be non-empty.

identityName is null.

Applies to