ProtectionContainersOperationsExtensions.Refresh 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.

public static void Refresh (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionContainersOperations operations, string vaultName, string resourceGroupName, string fabricName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSRefreshContainersQueryObject> odataQuery = default);
static member Refresh : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionContainersOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSRefreshContainersQueryObject> -> unit
<Extension()>
Public Sub Refresh (operations As IProtectionContainersOperations, vaultName As String, resourceGroupName As String, fabricName As String, Optional odataQuery As ODataQuery(Of BMSRefreshContainersQueryObject) = Nothing)

Parameters

operations
IProtectionContainersOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

fabricName
String

Fabric name associated the container.

odataQuery
ODataQuery<BMSRefreshContainersQueryObject>

OData parameters to apply to the operation.

Applies to