Share via


ScriptExecutionsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update a script execution in a private cloud

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptExecution> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Avs.IScriptExecutionsOperations operations, string resourceGroupName, string privateCloudName, string scriptExecutionName, Microsoft.Azure.Management.Avs.Models.ScriptExecution scriptExecution, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Avs.IScriptExecutionsOperations * string * string * string * Microsoft.Azure.Management.Avs.Models.ScriptExecution * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptExecution>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IScriptExecutionsOperations, resourceGroupName As String, privateCloudName As String, scriptExecutionName As String, scriptExecution As ScriptExecution, 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

The name of the private cloud.

scriptExecutionName
String

Name of the user-invoked script execution resource

scriptExecution
ScriptExecution

A script running in the private cloud

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to