Partager via


VirtualMachineRunCommandsClient Interface

public interface VirtualMachineRunCommandsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginCreateOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

abstract SyncPoller<PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginCreateOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand, Context context)

The operation to create or update the run command.

abstract PollerFlux<PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmName, String runCommandName, Context context)

The operation to delete the run command.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

abstract SyncPoller<PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

abstract SyncPoller<PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand, Context context)

The operation to update the run command.

abstract PollerFlux<PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

abstract VirtualMachineRunCommandInner createOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

abstract VirtualMachineRunCommandInner createOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand, Context context)

The operation to create or update the run command.

abstract Mono<VirtualMachineRunCommandInner> createOrUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

abstract void delete(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

abstract void delete(String resourceGroupName, String vmName, String runCommandName, Context context)

The operation to delete the run command.

abstract Mono<Void> deleteAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

abstract RunCommandDocumentInner get(String location, String commandId)

Gets specific run command for a subscription in a location.

abstract Mono<RunCommandDocumentInner> getAsync(String location, String commandId)

Gets specific run command for a subscription in a location.

abstract VirtualMachineRunCommandInner getByVirtualMachine(String resourceGroupName, String vmName, String runCommandName)

The operation to get the run command.

abstract Mono<VirtualMachineRunCommandInner> getByVirtualMachineAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to get the run command.

abstract Response<VirtualMachineRunCommandInner> getByVirtualMachineWithResponse(String resourceGroupName, String vmName, String runCommandName, String expand, Context context)

The operation to get the run command.

abstract Mono<Response<VirtualMachineRunCommandInner>> getByVirtualMachineWithResponseAsync(String resourceGroupName, String vmName, String runCommandName, String expand)

The operation to get the run command.

abstract Response<RunCommandDocumentInner> getWithResponse(String location, String commandId, Context context)

Gets specific run command for a subscription in a location.

abstract Mono<Response<RunCommandDocumentInner>> getWithResponseAsync(String location, String commandId)

Gets specific run command for a subscription in a location.

abstract PagedIterable<RunCommandDocumentBaseInner> list(String location)

Lists all available run commands for a subscription in a location.

abstract PagedIterable<RunCommandDocumentBaseInner> list(String location, Context context)

Lists all available run commands for a subscription in a location.

abstract PagedFlux<RunCommandDocumentBaseInner> listAsync(String location)

Lists all available run commands for a subscription in a location.

abstract PagedIterable<VirtualMachineRunCommandInner> listByVirtualMachine(String resourceGroupName, String vmName)

The operation to get all run commands of a Virtual Machine.

abstract PagedIterable<VirtualMachineRunCommandInner> listByVirtualMachine(String resourceGroupName, String vmName, String expand, Context context)

The operation to get all run commands of a Virtual Machine.

abstract PagedFlux<VirtualMachineRunCommandInner> listByVirtualMachineAsync(String resourceGroupName, String vmName)

The operation to get all run commands of a Virtual Machine.

abstract PagedFlux<VirtualMachineRunCommandInner> listByVirtualMachineAsync(String resourceGroupName, String vmName, String expand)

The operation to get all run commands of a Virtual Machine.

abstract VirtualMachineRunCommandInner update(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

abstract VirtualMachineRunCommandInner update(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand, Context context)

The operation to update the run command.

abstract Mono<VirtualMachineRunCommandInner> updateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VirtualMachineRunCommandInner> beginCreateOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be created or updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Create Virtual Machine RunCommand operation.

Returns:

the SyncPoller<T,U> for polling of describes a Virtual Machine run command.

beginCreateOrUpdate

public abstract SyncPoller,VirtualMachineRunCommandInner> beginCreateOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand, Context context)

The operation to create or update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be created or updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Create Virtual Machine RunCommand operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of describes a Virtual Machine run command.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualMachineRunCommandInner> beginCreateOrUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be created or updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Create Virtual Machine RunCommand operation.

Returns:

the PollerFlux<T,U> for polling of describes a Virtual Machine run command.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be deleted.
runCommandName - The name of the virtual machine run command.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String vmName, String runCommandName, Context context)

The operation to delete the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be deleted.
runCommandName - The name of the virtual machine run command.
context - The context to associate with this operation.

Returns:

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

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be deleted.
runCommandName - The name of the virtual machine run command.

Returns:

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

beginUpdate

public abstract SyncPoller,VirtualMachineRunCommandInner> beginUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Update Virtual Machine RunCommand operation.

Returns:

the SyncPoller<T,U> for polling of describes a Virtual Machine run command.

beginUpdate

public abstract SyncPoller,VirtualMachineRunCommandInner> beginUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand, Context context)

The operation to update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Update Virtual Machine RunCommand operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of describes a Virtual Machine run command.

beginUpdateAsync

public abstract PollerFlux,VirtualMachineRunCommandInner> beginUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Update Virtual Machine RunCommand operation.

Returns:

the PollerFlux<T,U> for polling of describes a Virtual Machine run command.

createOrUpdate

public abstract VirtualMachineRunCommandInner createOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be created or updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Create Virtual Machine RunCommand operation.

Returns:

describes a Virtual Machine run command.

createOrUpdate

public abstract VirtualMachineRunCommandInner createOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand, Context context)

The operation to create or update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be created or updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Create Virtual Machine RunCommand operation.
context - The context to associate with this operation.

Returns:

describes a Virtual Machine run command.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be created or updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Create Virtual Machine RunCommand operation.

Returns:

describes a Virtual Machine run command on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be created or updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Create Virtual Machine RunCommand operation.

Returns:

describes a Virtual Machine run command along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be deleted.
runCommandName - The name of the virtual machine run command.

delete

public abstract void delete(String resourceGroupName, String vmName, String runCommandName, Context context)

The operation to delete the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be deleted.
runCommandName - The name of the virtual machine run command.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be deleted.
runCommandName - The name of the virtual machine run command.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be deleted.
runCommandName - The name of the virtual machine run command.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract RunCommandDocumentInner get(String location, String commandId)

Gets specific run command for a subscription in a location.

Parameters:

location - The location upon which run commands is queried.
commandId - The command id.

Returns:

specific run command for a subscription in a location.

getAsync

public abstract Mono getAsync(String location, String commandId)

Gets specific run command for a subscription in a location.

Parameters:

location - The location upon which run commands is queried.
commandId - The command id.

Returns:

specific run command for a subscription in a location on successful completion of Mono.

getByVirtualMachine

public abstract VirtualMachineRunCommandInner getByVirtualMachine(String resourceGroupName, String vmName, String runCommandName)

The operation to get the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine containing the run command.
runCommandName - The name of the virtual machine run command.

Returns:

describes a Virtual Machine run command.

getByVirtualMachineAsync

public abstract Mono getByVirtualMachineAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to get the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine containing the run command.
runCommandName - The name of the virtual machine run command.

Returns:

describes a Virtual Machine run command on successful completion of Mono.

getByVirtualMachineWithResponse

public abstract Response getByVirtualMachineWithResponse(String resourceGroupName, String vmName, String runCommandName, String expand, Context context)

The operation to get the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine containing the run command.
runCommandName - The name of the virtual machine run command.
expand - The expand expression to apply on the operation.
context - The context to associate with this operation.

Returns:

describes a Virtual Machine run command along with Response<T>.

getByVirtualMachineWithResponseAsync

public abstract Mono> getByVirtualMachineWithResponseAsync(String resourceGroupName, String vmName, String runCommandName, String expand)

The operation to get the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine containing the run command.
runCommandName - The name of the virtual machine run command.
expand - The expand expression to apply on the operation.

Returns:

describes a Virtual Machine run command along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String location, String commandId, Context context)

Gets specific run command for a subscription in a location.

Parameters:

location - The location upon which run commands is queried.
commandId - The command id.
context - The context to associate with this operation.

Returns:

specific run command for a subscription in a location along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String location, String commandId)

Gets specific run command for a subscription in a location.

Parameters:

location - The location upon which run commands is queried.
commandId - The command id.

Returns:

specific run command for a subscription in a location along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String location)

Lists all available run commands for a subscription in a location.

Parameters:

location - The location upon which run commands is queried.

Returns:

the List Virtual Machine operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String location, Context context)

Lists all available run commands for a subscription in a location.

Parameters:

location - The location upon which run commands is queried.
context - The context to associate with this operation.

Returns:

the List Virtual Machine operation response as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String location)

Lists all available run commands for a subscription in a location.

Parameters:

location - The location upon which run commands is queried.

Returns:

the List Virtual Machine operation response as paginated response with PagedFlux<T>.

listByVirtualMachine

public abstract PagedIterable listByVirtualMachine(String resourceGroupName, String vmName)

The operation to get all run commands of a Virtual Machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine containing the run command.

Returns:

the List run command operation response as paginated response with PagedIterable<T>.

listByVirtualMachine

public abstract PagedIterable listByVirtualMachine(String resourceGroupName, String vmName, String expand, Context context)

The operation to get all run commands of a Virtual Machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine containing the run command.
expand - The expand expression to apply on the operation.
context - The context to associate with this operation.

Returns:

the List run command operation response as paginated response with PagedIterable<T>.

listByVirtualMachineAsync

public abstract PagedFlux listByVirtualMachineAsync(String resourceGroupName, String vmName)

The operation to get all run commands of a Virtual Machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine containing the run command.

Returns:

the List run command operation response as paginated response with PagedFlux<T>.

listByVirtualMachineAsync

public abstract PagedFlux listByVirtualMachineAsync(String resourceGroupName, String vmName, String expand)

The operation to get all run commands of a Virtual Machine.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine containing the run command.
expand - The expand expression to apply on the operation.

Returns:

the List run command operation response as paginated response with PagedFlux<T>.

update

public abstract VirtualMachineRunCommandInner update(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Update Virtual Machine RunCommand operation.

Returns:

describes a Virtual Machine run command.

update

public abstract VirtualMachineRunCommandInner update(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand, Context context)

The operation to update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Update Virtual Machine RunCommand operation.
context - The context to associate with this operation.

Returns:

describes a Virtual Machine run command.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Update Virtual Machine RunCommand operation.

Returns:

describes a Virtual Machine run command on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the run command.

Parameters:

resourceGroupName - The name of the resource group.
vmName - The name of the virtual machine where the run command should be updated.
runCommandName - The name of the virtual machine run command.
runCommand - Parameters supplied to the Update Virtual Machine RunCommand operation.

Returns:

describes a Virtual Machine run command along with Response<T> on successful completion of Mono.

Applies to