Compartilhar via


DataSourceOperationsExtensions.EnableProtectionCSM Método

Definição

Habilite a proteção para determinado item.

public static Microsoft.Azure.Management.BackupServices.OperationResponse EnableProtectionCSM (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.CSMSetProtectionRequest csmparameters);
static member EnableProtectionCSM : Microsoft.Azure.Management.BackupServices.IDataSourceOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMSetProtectionRequest -> Microsoft.Azure.Management.BackupServices.OperationResponse
<Extension()>
Public Function EnableProtectionCSM (operations As IDataSourceOperations, resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, containerName As String, itemName As String, csmparameters As CSMSetProtectionRequest) As OperationResponse

Parâmetros

operations
IDataSourceOperations

Referência a Microsoft.Azure.Management.BackupServices.IDataSourceOperations.

resourceGroupName
String

Obrigatórios.

resourceName
String

Obrigatórios.

customRequestHeaders
CustomRequestHeaders

Opcional. Parâmetros de cabeçalho de solicitação.

containerName
String

Obrigatórios. Containername.

itemName
String

Obrigatórios. Itemname.

csmparameters
CSMSetProtectionRequest

Obrigatórios. Definir entrada de solicitação de proteção.

Retornos

A definição de uma Resposta de Operação.

Aplica-se a