CertificateOperationsExtensions.CreateOrUpdateAsync(ICertificateOperations, String, String, CertificateCreateOrUpdateParameters) Method

Definition

Create a certificate. (see http://aka.ms/azureautomationsdk/certificateoperations for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.CertificateCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.ICertificateOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.CertificateCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.ICertificateOperations * string * string * Microsoft.Azure.Management.Automation.Models.CertificateCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.CertificateCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ICertificateOperations, resourceGroupName As String, automationAccount As String, parameters As CertificateCreateOrUpdateParameters) As Task(Of CertificateCreateOrUpdateResponse)

Parameters

operations
ICertificateOperations

Reference to the Microsoft.Azure.Management.Automation.ICertificateOperations.

resourceGroupName
String

Required. The name of the resource group

automationAccount
String

Required. The automation account name.

parameters
CertificateCreateOrUpdateParameters

Required. The parameters supplied to the create or update certificate operation.

Returns

Task<CertificateCreateOrUpdateResponse>

The response model for the create or update certificate operation.

Applies to