Share via


ScriptPackagesOperationsExtensions.GetAsync Method

Definition

Get a script package available to run on a private cloud

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

Parameters

operations
IScriptPackagesOperations

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

scriptPackageName
String

Name of the script package in the private cloud

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to