ConnectionOperationsExtensions.CreateOrUpdateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateOrUpdateAsync(IConnectionOperations, String, String, ConnectionCreateOrUpdateParameters)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.ConnectionCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IConnectionOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.ConnectionCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IConnectionOperations * string * string * Microsoft.Azure.Management.Automation.Models.ConnectionCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.ConnectionCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IConnectionOperations, resourceGroupName As String, automationAccount As String, parameters As ConnectionCreateOrUpdateParameters) As Task(Of ConnectionCreateOrUpdateResponse)
參數
- operations
- IConnectionOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- ConnectionCreateOrUpdateParameters
傳回
適用於
CreateOrUpdateAsync(IConnectionOperations, String, String, String, ConnectionCreateOrUpdateParameters, CancellationToken)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Connection> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IConnectionOperations operations, string resourceGroupName, string automationAccountName, string connectionName, Microsoft.Azure.Management.Automation.Models.ConnectionCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IConnectionOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.ConnectionCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Connection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IConnectionOperations, resourceGroupName As String, automationAccountName As String, connectionName As String, parameters As ConnectionCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Connection)
參數
- operations
- IConnectionOperations
這個擴充方法的作業群組。
- resourceGroupName
- String
Azure 資源群組的名稱。
- automationAccountName
- String
自動化帳戶的名稱。
- connectionName
- String
提供給建立或更新連接作業的參數。
- parameters
- ConnectionCreateOrUpdateParameters
提供給建立或更新連接作業的參數。
- cancellationToken
- CancellationToken
取消語彙基元。