Partager via


DataProtectionBackupExtensions.CheckDataProtectionBackupVaultNameAvailabilityAsync Méthode

Définition

API à case activée pour la disponibilité du nom de ressource

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability
  • IdBackupVaults_CheckNameAvailability d’opération
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))

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

location
AzureLocation

Emplacement dans lequel l’unicité sera vérifiée.

content
DataProtectionBackupNameAvailabilityContent

Vérifiez la demande de disponibilité du nom.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à