Compartilhar via


IDataSourceOperations.UpdateProtectionCSMAsync Método

Definição

Habilite a proteção para determinado 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>
Public Function UpdateProtectionCSMAsync (resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, containerName As String, itemName As String, csmparameters As CSMUpdateProtectionRequest, 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
CSMUpdateProtectionRequest

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