Udostępnij za pośrednictwem


ResourceGuardProxyBaseResourceCollection.Get Method

Definition

Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}
  • Operation Id: DppResourceGuardProxy_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardProxyBaseResource
public virtual Azure.Response<Azure.ResourceManager.DataProtectionBackup.ResourceGuardProxyBaseResource> Get (string resourceGuardProxyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataProtectionBackup.ResourceGuardProxyBaseResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataProtectionBackup.ResourceGuardProxyBaseResource>
Public Overridable Function Get (resourceGuardProxyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ResourceGuardProxyBaseResource)

Parameters

resourceGuardProxyName
String

name of the resource guard proxy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGuardProxyName is an empty string, and was expected to be non-empty.

resourceGuardProxyName is null.

Applies to