VirtualMachineScaleSetVMRunCommandsClient Interface

public interface VirtualMachineScaleSetVMRunCommandsClient

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

Method Summary

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

The operation to create or update the VMSS VM run command.

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

The operation to create or update the VMSS VM run command.

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

The operation to create or update the VMSS VM run command.

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

The operation to delete the VMSS VM run command.

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

The operation to delete the VMSS VM run command.

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

The operation to delete the VMSS VM run command.

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

The operation to update the VMSS VM run command.

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

The operation to update the VMSS VM run command.

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

The operation to update the VMSS VM run command.

abstract VirtualMachineRunCommandInner createOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the VMSS VM run command.

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

The operation to create or update the VMSS VM run command.

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

The operation to create or update the VMSS VM run command.

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

The operation to create or update the VMSS VM run command.

abstract void delete(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName)

The operation to delete the VMSS VM run command.

abstract void delete(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, Context context)

The operation to delete the VMSS VM run command.

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

The operation to delete the VMSS VM run command.

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

The operation to delete the VMSS VM run command.

abstract VirtualMachineRunCommandInner get(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName)

The operation to get the VMSS VM run command.

abstract Mono<VirtualMachineRunCommandInner> getAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName)

The operation to get the VMSS VM run command.

abstract Response<VirtualMachineRunCommandInner> getWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, String expand, Context context)

The operation to get the VMSS VM run command.

abstract Mono<Response<VirtualMachineRunCommandInner>> getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, String expand)

The operation to get the VMSS VM run command.

abstract PagedIterable<VirtualMachineRunCommandInner> list(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

abstract PagedIterable<VirtualMachineRunCommandInner> list(String resourceGroupName, String vmScaleSetName, String instanceId, String expand, Context context)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

abstract PagedFlux<VirtualMachineRunCommandInner> listAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

abstract PagedFlux<VirtualMachineRunCommandInner> listAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String expand)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

abstract VirtualMachineRunCommandInner update(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the VMSS VM run command.

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

The operation to update the VMSS VM run command.

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

The operation to update the VMSS VM run command.

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

The operation to update the VMSS VM run command.

Method Details

beginCreateOrUpdate

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

The operation to create or update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand, Context context)

The operation to create or update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName)

The operation to delete the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, Context context)

The operation to delete the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName)

The operation to delete the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand, Context context)

The operation to update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand, Context context)

The operation to create or update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand)

The operation to create or update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName)

The operation to delete the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
runCommandName - The name of the virtual machine run command.

delete

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

The operation to delete the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName)

The operation to delete the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName)

The operation to delete the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
runCommandName - The name of the virtual machine run command.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract VirtualMachineRunCommandInner get(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName)

The operation to get the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
runCommandName - The name of the virtual machine run command.

Returns:

describes a Virtual Machine run command.

getAsync

public abstract Mono getAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName)

The operation to get the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
runCommandName - The name of the virtual machine run command.

Returns:

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

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, String expand, Context context)

The operation to get the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, String expand)

The operation to get the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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.

list

public abstract PagedIterable list(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

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

list

public abstract PagedIterable list(String resourceGroupName, String vmScaleSetName, String instanceId, String expand, Context context)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String vmScaleSetName, String instanceId)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.

Returns:

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

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String expand)

The operation to get all run commands of an instance in Virtual Machine Scaleset.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand, Context context)

The operation to update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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 vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the VMSS VM run command.

Parameters:

resourceGroupName - The name of the resource group.
vmScaleSetName - The name of the VM scale set.
instanceId - The instance ID of the virtual machine.
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