Udostępnij za pośrednictwem


ModuleOperationsExtensions.GetAsync(IModuleOperations, String, String) Method

Definition

Retrieve the module identified by module name. (see http://aka.ms/azureautomationsdk/moduleoperations for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ModuleGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Automation.IModuleOperations operations, string automationAccount, string moduleName);
static member GetAsync : Microsoft.WindowsAzure.Management.Automation.IModuleOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ModuleGetResponse>
<Extension()>
Public Function GetAsync (operations As IModuleOperations, automationAccount As String, moduleName As String) As Task(Of ModuleGetResponse)

Parameters

operations
IModuleOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IModuleOperations.

automationAccount
String

Required. The automation account name.

moduleName
String

Required. The module name.

Returns

The response model for the get module operation.

Applies to