ScriptExecutions interface
Interface representing a ScriptExecutions.
Methods
begin |
Create a ScriptExecution |
begin |
Create a ScriptExecution |
begin |
Delete a ScriptExecution |
begin |
Delete a ScriptExecution |
get(string, string, string, Script |
Get a ScriptExecution |
get |
Return the logs for a script execution resource |
list(string, string, Script |
List ScriptExecution resources by PrivateCloud |
Method Details
beginCreateOrUpdate(string, string, string, ScriptExecution, ScriptExecutionsCreateOrUpdateOptionalParams)
Create a ScriptExecution
function beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, scriptExecution: ScriptExecution, options?: ScriptExecutionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ScriptExecution>, ScriptExecution>>
Parameters
- 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 script cmdlet.
- scriptExecution
- ScriptExecution
Resource create parameters.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ScriptExecution>, ScriptExecution>>
beginCreateOrUpdateAndWait(string, string, string, ScriptExecution, ScriptExecutionsCreateOrUpdateOptionalParams)
Create a ScriptExecution
function beginCreateOrUpdateAndWait(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, scriptExecution: ScriptExecution, options?: ScriptExecutionsCreateOrUpdateOptionalParams): Promise<ScriptExecution>
Parameters
- 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 script cmdlet.
- scriptExecution
- ScriptExecution
Resource create parameters.
The options parameters.
Returns
Promise<ScriptExecution>
beginDelete(string, string, string, ScriptExecutionsDeleteOptionalParams)
Delete a ScriptExecution
function beginDelete(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: ScriptExecutionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- 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 script cmdlet.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, ScriptExecutionsDeleteOptionalParams)
Delete a ScriptExecution
function beginDeleteAndWait(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: ScriptExecutionsDeleteOptionalParams): Promise<void>
Parameters
- 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 script cmdlet.
The options parameters.
Returns
Promise<void>
get(string, string, string, ScriptExecutionsGetOptionalParams)
Get a ScriptExecution
function get(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: ScriptExecutionsGetOptionalParams): Promise<ScriptExecution>
Parameters
- 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 script cmdlet.
The options parameters.
Returns
Promise<ScriptExecution>
getExecutionLogs(string, string, string, ScriptExecutionsGetExecutionLogsOptionalParams)
Return the logs for a script execution resource
function getExecutionLogs(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: ScriptExecutionsGetExecutionLogsOptionalParams): Promise<ScriptExecution>
Parameters
- 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 script cmdlet.
The options parameters.
Returns
Promise<ScriptExecution>
list(string, string, ScriptExecutionsListOptionalParams)
List ScriptExecution resources by PrivateCloud
function list(resourceGroupName: string, privateCloudName: string, options?: ScriptExecutionsListOptionalParams): PagedAsyncIterableIterator<ScriptExecution, ScriptExecution[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- privateCloudName
-
string
Name of the private cloud
The options parameters.