共用方式為


RecoveryServicesBackupExtensions.RefreshProtectionContainer Method

Definition

Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/refreshContainers
  • Operation Id: ProtectionContainers_Refresh
public static Azure.Response RefreshProtectionContainer (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName, string fabricName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member RefreshProtectionContainer : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * string * System.Threading.CancellationToken -> Azure.Response
<Extension()>
Public Function RefreshProtectionContainer (resourceGroupResource As ResourceGroupResource, vaultName As String, fabricName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

vaultName
String

The name of the recovery services vault.

fabricName
String

Fabric name associated the container.

filter
String

OData filter options.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vaultName or fabricName is an empty string, and was expected to be non-empty.

resourceGroupResource, vaultName or fabricName is null.

Applies to