Compartir a través de


DataProtectionBackupExtensions.CheckDataProtectionBackupVaultNameAvailability 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 Azure.Response<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupNameAvailabilityResult> CheckDataProtectionBackupVaultNameAvailability (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDataProtectionBackupVaultNameAvailability : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupNameAvailabilityResult>
<Extension()>
Public Function CheckDataProtectionBackupVaultNameAvailability (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As DataProtectionBackupNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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