IDataSourceOperations.UpdateProtectionCSMAsync(String, String, CustomRequestHeaders, String, String, CSMUpdateProtectionRequest, CancellationToken) Method

Definition

Enable protection for given item.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> UpdateProtectionCSMAsync (string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, string containerName, string itemName, Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionRequest csmparameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateProtectionCSMAsync : string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>

Parameters

resourceGroupName
System.String
resourceName
System.String
customRequestHeaders
CustomRequestHeaders

Request header parameters.

containerName
System.String

containerName.

itemName
System.String

itemName.

csmparameters
CSMUpdateProtectionRequest

Set protection request input.

cancellationToken
System.Threading.CancellationToken

Cancellation token.

Returns

System.Threading.Tasks.Task<OperationResponse>

The definition of a Operation Response.

Applies to