VMware.ScriptExecutionsCreateOrUpdate(String, String, String, String, IScriptExecution, Func<HttpResponseMessage,Task<IScriptExecution>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task ScriptExecutionsCreateOrUpdate (string subscriptionId, string resourceGroupName, string privateCloudName, string scriptExecutionName, Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.IScriptExecution body, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.IScriptExecution>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.ICloudError>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.ISendAsync sender);
member this.ScriptExecutionsCreateOrUpdate : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.IScriptExecution * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.IScriptExecution>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20210601.ICloudError>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function ScriptExecutionsCreateOrUpdate (subscriptionId As String, resourceGroupName As String, privateCloudName As String, scriptExecutionName As String, body As IScriptExecution, onOk As Func(Of HttpResponseMessage, Task(Of IScriptExecution), Task), onDefault As Func(Of HttpResponseMessage, Task(Of ICloudError), Task), eventListener As IEventListener, sender As ISendAsync) As Task
Parameters
- subscriptionId
- String
- resourceGroupName
- String
- privateCloudName
- String
- scriptExecutionName
- String
- body
- IScriptExecution
- onDefault
- Func<HttpResponseMessage,Task<ICloudError>,Task>
- eventListener
- IEventListener
- sender
- ISendAsync