次の方法で共有


AgFoodPlatformPrivateLinkResourceCollection.GetAsync メソッド

定義

プライベート リンク リソース オブジェクトを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/privateLinkResources/{subResourceName}
  • 操作IdPrivateLinkResources_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateLinkResource>> GetAsync (string subResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateLinkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateLinkResource>>
Public Overridable Function GetAsync (subResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AgFoodPlatformPrivateLinkResource))

パラメーター

subResourceName
String

サブ リソース名。

cancellationToken
CancellationToken

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

戻り値

例外

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

subResourceName が null です。

適用対象