次の方法で共有


HDInsightPrivateLinkResourceCollection.Exists メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/privateLinkResources/{privateLinkResourceName}
  • 操作IdPrivateLinkResources_Get
public virtual Azure.Response<bool> Exists (string privateLinkResourceName, 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 (privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

パラメーター

privateLinkResourceName
String

プライベート リンク リソースの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateLinkResourceName が null です。

適用対象