共用方式為


SoftwareUpdateConfigurationsOperationsExtensions.CreateAsync 方法

定義

使用 URI 中指定的名稱建立新的軟體更新組態。 http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.SoftwareUpdateConfiguration> CreateAsync (this Microsoft.Azure.Management.Automation.ISoftwareUpdateConfigurationsOperations operations, string resourceGroupName, string automationAccountName, string softwareUpdateConfigurationName, Microsoft.Azure.Management.Automation.Models.SoftwareUpdateConfiguration parameters, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Automation.ISoftwareUpdateConfigurationsOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.SoftwareUpdateConfiguration * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.SoftwareUpdateConfiguration>
<Extension()>
Public Function CreateAsync (operations As ISoftwareUpdateConfigurationsOperations, resourceGroupName As String, automationAccountName As String, softwareUpdateConfigurationName As String, parameters As SoftwareUpdateConfiguration, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SoftwareUpdateConfiguration)

參數

operations
ISoftwareUpdateConfigurationsOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

softwareUpdateConfigurationName
String

要建立的軟體更新組態名稱。

parameters
SoftwareUpdateConfiguration

要求本文。

clientRequestId
String

識別這個特定的用戶端要求。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於