Dela via


DataSourceOperationsExtensions.UpdateProtectionCSMAsync Metod

Definition

Aktivera skydd för angivet objekt.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> UpdateProtectionCSMAsync (this Microsoft.Azure.Management.BackupServices.IDataSourceOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, string containerName, string itemName, Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionRequest csmparameters);
static member UpdateProtectionCSMAsync : Microsoft.Azure.Management.BackupServices.IDataSourceOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionRequest -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
<Extension()>
Public Function UpdateProtectionCSMAsync (operations As IDataSourceOperations, resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, containerName As String, itemName As String, csmparameters As CSMUpdateProtectionRequest) As Task(Of OperationResponse)

Parametrar

operations
IDataSourceOperations

Referens till Microsoft.Azure.Management.BackupServices.IDataSourceOperations.

resourceGroupName
String

Krävs.

resourceName
String

Krävs.

customRequestHeaders
CustomRequestHeaders

Valfritt. Parametrar för begärandehuvud.

containerName
String

Krävs. containerName.

itemName
String

Krävs. itemName.

csmparameters
CSMUpdateProtectionRequest

Krävs. Ange indata för skyddsbegäran.

Returer

Definitionen av ett åtgärdssvar.

Gäller för