Compartilhar via


IDataSourceOperations.EnableProtectionCSMAsync Método

Definição

Habilite a proteção para determinado item.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> EnableProtectionCSMAsync (string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, string containerName, string itemName, Microsoft.Azure.Management.BackupServices.Models.CSMSetProtectionRequest csmparameters, System.Threading.CancellationToken cancellationToken);
abstract member EnableProtectionCSMAsync : string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMSetProtectionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
Public Function EnableProtectionCSMAsync (resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, containerName As String, itemName As String, csmparameters As CSMSetProtectionRequest, cancellationToken As CancellationToken) As Task(Of OperationResponse)

Parâmetros

resourceGroupName
String
resourceName
String
customRequestHeaders
CustomRequestHeaders

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

containerName
String

Containername.

itemName
String

Itemname.

csmparameters
CSMSetProtectionRequest

Definir entrada de solicitação de proteção.

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

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

Aplica-se a