Compartir a través de


ScriptExecutionsClient Interface

public interface ScriptExecutionsClient

An instance of this class provides access to all the operations defined in ScriptExecutionsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ScriptExecutionInner>,ScriptExecutionInner> beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution)

Create a ScriptExecution.

abstract SyncPoller<PollResult<ScriptExecutionInner>,ScriptExecutionInner> beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution, Context context)

Create a ScriptExecution.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateCloudName, String scriptExecutionName)

Delete a ScriptExecution.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateCloudName, String scriptExecutionName, Context context)

Delete a ScriptExecution.

abstract ScriptExecutionInner createOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution)

Create a ScriptExecution.

abstract ScriptExecutionInner createOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution, Context context)

Create a ScriptExecution.

abstract void delete(String resourceGroupName, String privateCloudName, String scriptExecutionName)

Delete a ScriptExecution.

abstract void delete(String resourceGroupName, String privateCloudName, String scriptExecutionName, Context context)

Delete a ScriptExecution.

abstract ScriptExecutionInner get(String resourceGroupName, String privateCloudName, String scriptExecutionName)

Get a ScriptExecution.

abstract ScriptExecutionInner getExecutionLogs(String resourceGroupName, String privateCloudName, String scriptExecutionName)

Return the logs for a script execution resource.

abstract Response<ScriptExecutionInner> getExecutionLogsWithResponse(String resourceGroupName, String privateCloudName, String scriptExecutionName, List<ScriptOutputStreamType> scriptOutputStreamType, Context context)

Return the logs for a script execution resource.

abstract Response<ScriptExecutionInner> getWithResponse(String resourceGroupName, String privateCloudName, String scriptExecutionName, Context context)

Get a ScriptExecution.

abstract PagedIterable<ScriptExecutionInner> list(String resourceGroupName, String privateCloudName)

List ScriptExecution resources by PrivateCloud.

abstract PagedIterable<ScriptExecutionInner> list(String resourceGroupName, String privateCloudName, Context context)

List ScriptExecution resources by PrivateCloud.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ScriptExecutionInner>,ScriptExecutionInner> beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution)

Create a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.
scriptExecution - Resource create parameters.

Returns:

the SyncPoller<T,U> for polling of an instance of a script executed by a user - custom or AVS.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ScriptExecutionInner>,ScriptExecutionInner> beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution, Context context)

Create a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.
scriptExecution - Resource create parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an instance of a script executed by a user - custom or AVS.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateCloudName, String scriptExecutionName)

Delete a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateCloudName, String scriptExecutionName, Context context)

Delete a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

createOrUpdate

public abstract ScriptExecutionInner createOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution)

Create a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.
scriptExecution - Resource create parameters.

Returns:

an instance of a script executed by a user - custom or AVS.

createOrUpdate

public abstract ScriptExecutionInner createOrUpdate(String resourceGroupName, String privateCloudName, String scriptExecutionName, ScriptExecutionInner scriptExecution, Context context)

Create a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.
scriptExecution - Resource create parameters.
context - The context to associate with this operation.

Returns:

an instance of a script executed by a user - custom or AVS.

delete

public abstract void delete(String resourceGroupName, String privateCloudName, String scriptExecutionName)

Delete a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.

delete

public abstract void delete(String resourceGroupName, String privateCloudName, String scriptExecutionName, Context context)

Delete a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.
context - The context to associate with this operation.

get

public abstract ScriptExecutionInner get(String resourceGroupName, String privateCloudName, String scriptExecutionName)

Get a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.

Returns:

a ScriptExecution.

getExecutionLogs

public abstract ScriptExecutionInner getExecutionLogs(String resourceGroupName, String privateCloudName, String scriptExecutionName)

Return the logs for a script execution resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.

Returns:

an instance of a script executed by a user - custom or AVS.

getExecutionLogsWithResponse

public abstract Response<ScriptExecutionInner> getExecutionLogsWithResponse(String resourceGroupName, String privateCloudName, String scriptExecutionName, List<ScriptOutputStreamType> scriptOutputStreamType, Context context)

Return the logs for a script execution resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.
scriptOutputStreamType - Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing.
context - The context to associate with this operation.

Returns:

an instance of a script executed by a user - custom or AVS along with Response<T>.

getWithResponse

public abstract Response<ScriptExecutionInner> getWithResponse(String resourceGroupName, String privateCloudName, String scriptExecutionName, Context context)

Get a ScriptExecution.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
scriptExecutionName - Name of the script cmdlet.
context - The context to associate with this operation.

Returns:

a ScriptExecution along with Response<T>.

list

public abstract PagedIterable<ScriptExecutionInner> list(String resourceGroupName, String privateCloudName)

List ScriptExecution resources by PrivateCloud.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.

Returns:

the response of a ScriptExecution list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ScriptExecutionInner> list(String resourceGroupName, String privateCloudName, Context context)

List ScriptExecution resources by PrivateCloud.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.
context - The context to associate with this operation.

Returns:

the response of a ScriptExecution list operation as paginated response with PagedIterable<T>.

Applies to