次の方法で共有


RecoveryServicesPrivateLinkResourceCollection.Get メソッド

定義

Backup と SiteRecovery 用に作成する必要がある、指定されたプライベート リンク リソースを返します。

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

パラメーター

privateLinkResourceName
String

使用する文字列。

cancellationToken
CancellationToken

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

戻り値

例外

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

privateLinkResourceName が null です。

適用対象