CSMProtectionPolicyOperationsExtensions.AddAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Nieuw beveiligingsbeleid maken.
public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> AddAsync (this Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations operations, string resourceGroupName, string resourceName, string policyName, Microsoft.Azure.Management.BackupServices.Models.CSMAddProtectionPolicyRequest cSMAddProtectionPolicyRequest, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member AddAsync : Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations * string * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMAddProtectionPolicyRequest * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function AddAsync (operations As ICSMProtectionPolicyOperations, resourceGroupName As String, resourceName As String, policyName As String, cSMAddProtectionPolicyRequest As CSMAddProtectionPolicyRequest, customRequestHeaders As CustomRequestHeaders) As Task(Of AzureOperationResponse)
Parameters
- operations
- ICSMProtectionPolicyOperations
Verwijzing naar de Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations.
- resourceGroupName
- String
Vereist.
- resourceName
- String
Vereist.
- policyName
- String
Vereist. De naam van het beveiligingsbeleid die moet worden bijgewerkt.
- cSMAddProtectionPolicyRequest
- CSMAddProtectionPolicyRequest
Vereist. De aanvraag voor het maken van beveiligingsbeleid.
- customRequestHeaders
- CustomRequestHeaders
Optioneel. Aanvraagheaderparameters.
Retouren
Een standaardserviceantwoord met een HTTP-statuscode en aanvraag-id.
Van toepassing op
Azure SDK for .NET