Share via


ScriptExecutionsOperationsExtensions.GetAsync Method

Definition

Get an script execution by name in a private cloud

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptExecution> GetAsync (this Microsoft.Azure.Management.Avs.IScriptExecutionsOperations operations, string resourceGroupName, string privateCloudName, string scriptExecutionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Avs.IScriptExecutionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptExecution>
<Extension()>
Public Function GetAsync (operations As IScriptExecutionsOperations, resourceGroupName As String, privateCloudName As String, scriptExecutionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptExecution)

Parameters

operations
IScriptExecutionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

privateCloudName
String

Name of the private cloud

scriptExecutionName
String

Name of the user-invoked script execution resource

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to