MockableRecoveryServicesBackupResourceGroupResource.RefreshProtectionContainer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 virtual Azure.Response RefreshProtectionContainer (string vaultName, string fabricName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RefreshProtectionContainer : string * string * string * System.Threading.CancellationToken -> Azure.Response
override this.RefreshProtectionContainer : string * string * string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RefreshProtectionContainer (vaultName As String, fabricName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- 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.
vaultName
or fabricName
is null.
Applies to
Azure SDK for .NET