共用方式為


DataProtectionBackupVaultResource.GetResourceGuardProxyBaseResource 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> GetResourceGuardProxyBaseResource (string resourceGuardProxyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceGuardProxyBaseResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataProtectionBackup.ResourceGuardProxyBaseResource>
override this.GetResourceGuardProxyBaseResource : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataProtectionBackup.ResourceGuardProxyBaseResource>
Public Overridable Function GetResourceGuardProxyBaseResource (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 null.

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

Applies to