Compartir a través de


DataProtectionBackupExtensions.CheckDataProtectionBackupVaultNameAvailabilityAsync Método

Definición

API para comprobar la disponibilidad del nombre de recurso

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability
  • IdBackupVaults_CheckNameAvailability de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupNameAvailabilityResult>> CheckDataProtectionBackupVaultNameAvailabilityAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDataProtectionBackupVaultNameAvailabilityAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupNameAvailabilityResult>>
<Extension()>
Public Function CheckDataProtectionBackupVaultNameAvailabilityAsync (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As DataProtectionBackupNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataProtectionBackupNameAvailabilityResult))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

location
AzureLocation

Ubicación en la que se comprobará la unicidad.

content
DataProtectionBackupNameAvailabilityContent

Compruebe la solicitud de disponibilidad de nombres.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a