Condividi tramite


CSMProtectionPolicyOperationsExtensions.UpdateAsync Metodo

Definizione

Aggiornare i criteri di protezione.

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

Parametri

operations
ICSMProtectionPolicyOperations

Riferimento a Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations.

resourceGroupName
String

Obbligatorio.

resourceName
String

Obbligatorio.

policyName
String

Obbligatorio. Nome dei criteri di protezione da aggiornare.

cSMUpdateProtectionPolicyRequest
CSMUpdateProtectionPolicyRequest

Obbligatorio. Richiesta di creazione dei criteri di protezione.

customRequestHeaders
CustomRequestHeaders

Facoltativa. Parametri dell'intestazione della richiesta.

Restituisce

Definizione di una risposta operativa.

Si applica a