ModuleOperationsExtensions.GetAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetAsync(IModuleOperations, String, String, String) | |
GetAsync(IModuleOperations, String, String, String, CancellationToken) |
擷取模組名稱所識別的模組。 http://aka.ms/azureautomationsdk/moduleoperations |
GetAsync(IModuleOperations, String, String, String)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.ModuleGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IModuleOperations operations, string resourceGroupName, string automationAccount, string moduleName);
static member GetAsync : Microsoft.Azure.Management.Automation.IModuleOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.ModuleGetResponse>
<Extension()>
Public Function GetAsync (operations As IModuleOperations, resourceGroupName As String, automationAccount As String, moduleName As String) As Task(Of ModuleGetResponse)
參數
- operations
- IModuleOperations
- resourceGroupName
- String
- automationAccount
- String
- moduleName
- String
傳回
適用於
GetAsync(IModuleOperations, String, String, String, CancellationToken)
擷取模組名稱所識別的模組。 http://aka.ms/azureautomationsdk/moduleoperations
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module> GetAsync (this Microsoft.Azure.Management.Automation.IModuleOperations operations, string resourceGroupName, string automationAccountName, string moduleName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IModuleOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module>
<Extension()>
Public Function GetAsync (operations As IModuleOperations, resourceGroupName As String, automationAccountName As String, moduleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Module)
參數
- operations
- IModuleOperations
這個擴充方法的作業群組。
- resourceGroupName
- String
Azure 資源群組的名稱。
- automationAccountName
- String
自動化帳戶的名稱。
- moduleName
- String
模組名稱。
- cancellationToken
- CancellationToken
取消語彙基元。