次の方法で共有


DataProtectionBackupExtensions.CheckDataProtectionBackupVaultNameAvailability メソッド

定義

リソース名の可用性をチェックする API

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability
  • 操作IdBackupVaults_CheckNameAvailability
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)

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行するインスタンス。

location
AzureLocation

一意性が検証される場所。

content
DataProtectionBackupNameAvailabilityContent

名前の可用性要求を確認します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

content が null です。

適用対象