DataSourceOperationsExtensions.UpdateProtectionCSM(IDataSourceOperations, String, String, CustomRequestHeaders, String, String, CSMUpdateProtectionRequest) Method

Definition

Enable protection for given item.

public static Microsoft.Azure.Management.BackupServices.OperationResponse UpdateProtectionCSM (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 UpdateProtectionCSM : Microsoft.Azure.Management.BackupServices.IDataSourceOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionRequest -> Microsoft.Azure.Management.BackupServices.OperationResponse

Parameters

operations
IDataSourceOperations

Reference to the Microsoft.Azure.Management.BackupServices.IDataSourceOperations.

resourceGroupName
System.String

Required.

resourceName
System.String

Required.

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

containerName
System.String

Required. containerName.

itemName
System.String

Required. itemName.

csmparameters
CSMUpdateProtectionRequest

Required. Set protection request input.

Returns

OperationResponse

The definition of a Operation Response.

Applies to