HybridComputePrivateLinkResourceCollection.GetIfExists メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}
  • 操作IdPrivateLinkResources_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkResource> GetIfExists (string groupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkResource>
Public Overridable Function GetIfExists (groupName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of HybridComputePrivateLinkResource)

パラメーター

groupName
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

groupName が null です。

適用対象