共用方式為


IModuleOperations.GetAsync(String, String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ModuleGetResponse> GetAsync (string automationAccount, string moduleName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ModuleGetResponse>
Public Function GetAsync (automationAccount As String, moduleName As String, cancellationToken As CancellationToken) As Task(Of ModuleGetResponse)

Parameters

automationAccount
String

The automation account name.

moduleName
String

The module name.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the get module operation.

Applies to