次の方法で共有


WorkloadNetworkDnsZoneCollection.Exists(String, CancellationToken) メソッド

定義

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}
  • 操作IdWorkloadNetworks_GetDnsZone
public virtual Azure.Response<bool> Exists (string dnsZoneId, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (dnsZoneId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

パラメーター

dnsZoneId
String

NSX DNS ゾーン識別子。 通常、DNS ゾーンの表示名と同じです。

cancellationToken
CancellationToken

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

戻り値

例外

dnsZoneId は空の文字列であり、空でないと想定されていました。

dnsZoneId が null です。

適用対象