Udostępnij za pośrednictwem


ICSMProtectionPolicyOperations.UpdateAsync Metoda

Definicja

Zaktualizuj zasady ochrony.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> UpdateAsync (string resourceGroupName, string resourceName, string policyName, Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionPolicyRequest cSMUpdateProtectionPolicyRequest, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionPolicyRequest * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
Public Function UpdateAsync (resourceGroupName As String, resourceName As String, policyName As String, cSMUpdateProtectionPolicyRequest As CSMUpdateProtectionPolicyRequest, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of OperationResponse)

Parametry

resourceGroupName
String
resourceName
String
policyName
String

Nazwa zasad ochrony, która ma zostać zaktualizowana.

cSMUpdateProtectionPolicyRequest
CSMUpdateProtectionPolicyRequest

Żądanie utworzenia zasad ochrony.

customRequestHeaders
CustomRequestHeaders

Parametry nagłówka żądania.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Definicja odpowiedzi operacji.

Dotyczy