VirtualMachineDiagnosticRunCommandsClient Interface

public interface VirtualMachineDiagnosticRunCommandsClient

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

Method Summary

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

The operation to create or update the diagnostic run command.

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

The operation to create or update the diagnostic run command.

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

The operation to create or update the diagnostic run command.

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

The operation to delete the diagnostic run command.

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

The operation to delete the diagnostic run command.

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

The operation to delete the diagnostic run command.

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

The operation to update the diagnostic run command.

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

The operation to update the diagnostic run command.

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

The operation to update the diagnostic run command.

abstract void createOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineDiagnosticRunCommandInner runCommand)

The operation to create or update the diagnostic run command.

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

The operation to create or update the diagnostic run command.

abstract reactor.core.publisher.Mono<Void> createOrUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineDiagnosticRunCommandInner runCommand)

The operation to create or update the diagnostic run command.

abstract reactor.core.publisher.Mono<Response<reactor.core.publisher.Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineDiagnosticRunCommandInner runCommand)

The operation to create or update the diagnostic run command.

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

The operation to delete the diagnostic run command.

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

The operation to delete the diagnostic run command.

abstract reactor.core.publisher.Mono<Void> deleteAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the diagnostic run command.

abstract reactor.core.publisher.Mono<Response<reactor.core.publisher.Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to delete the diagnostic run command.

abstract PagedIterable<VirtualMachineDiagnosticRunCommandInner> diagnosticListByVirtualMachine(String resourceGroupName, String vmName)

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

abstract PagedIterable<VirtualMachineDiagnosticRunCommandInner> diagnosticListByVirtualMachine(String resourceGroupName, String vmName, String expand, Context context)

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

abstract PagedFlux<VirtualMachineDiagnosticRunCommandInner> diagnosticListByVirtualMachineAsync(String resourceGroupName, String vmName)

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

abstract PagedFlux<VirtualMachineDiagnosticRunCommandInner> diagnosticListByVirtualMachineAsync(String resourceGroupName, String vmName, String expand)

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

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

The operation to get the diagnostic run command.

abstract reactor.core.publisher.Mono<VirtualMachineDiagnosticRunCommandInner> getByVirtualMachineAsync(String resourceGroupName, String vmName, String runCommandName)

The operation to get the diagnostic run command.

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

The operation to get the diagnostic run command.

abstract reactor.core.publisher.Mono<Response<VirtualMachineDiagnosticRunCommandInner>> getByVirtualMachineWithResponseAsync(String resourceGroupName, String vmName, String runCommandName, String expand)

The operation to get the diagnostic run command.

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

The operation to update the diagnostic run command.

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

The operation to update the diagnostic run command.

abstract reactor.core.publisher.Mono<Void> updateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineRunCommandUpdate runCommand)

The operation to update the diagnostic run command.

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

The operation to update the diagnostic run command.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<Void>,Void> beginCreateOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineDiagnosticRunCommandInner runCommand)

The operation to create or update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Create Virtual Machine Diagnostic RunCommand operation.

Returns:

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

beginCreateOrUpdate

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

The operation to create or update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Create Virtual Machine Diagnostic RunCommand operation.
context - The context to associate with this operation.

Returns:

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

beginCreateOrUpdateAsync

public abstract PollerFlux<PollResult<Void>,Void> beginCreateOrUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineDiagnosticRunCommandInner runCommand)

The operation to create or update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Create Virtual Machine Diagnostic RunCommand operation.

Returns:

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

beginDelete

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

The operation to delete the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.

Returns:

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

beginDelete

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

The operation to delete the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
context - The context to associate with this operation.

Returns:

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

beginDeleteAsync

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

The operation to delete the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.

Returns:

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

beginUpdate

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

The operation to update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Update Virtual Machine Diagnostic RunCommand operation.

Returns:

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

beginUpdate

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

The operation to update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Update Virtual Machine Diagnostic RunCommand operation.
context - The context to associate with this operation.

Returns:

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

beginUpdateAsync

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

The operation to update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Update Virtual Machine Diagnostic RunCommand operation.

Returns:

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

createOrUpdate

public abstract void createOrUpdate(String resourceGroupName, String vmName, String runCommandName, VirtualMachineDiagnosticRunCommandInner runCommand)

The operation to create or update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Create Virtual Machine Diagnostic RunCommand operation.

createOrUpdate

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

The operation to create or update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Create Virtual Machine Diagnostic RunCommand operation.
context - The context to associate with this operation.

createOrUpdateAsync

public abstract Mono<Void> createOrUpdateAsync(String resourceGroupName, String vmName, String runCommandName, VirtualMachineDiagnosticRunCommandInner runCommand)

The operation to create or update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Create Virtual Machine Diagnostic RunCommand operation.

Returns:

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

createOrUpdateWithResponseAsync

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

The operation to create or update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Create Virtual Machine Diagnostic RunCommand operation.

Returns:

describes a Virtual Machine diagnostic 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 diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.

delete

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

The operation to delete the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
context - The context to associate with this operation.

deleteAsync

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

The operation to delete the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

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

The operation to delete the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.

Returns:

the Response<T> on successful completion of Mono.

diagnosticListByVirtualMachine

public abstract PagedIterable<VirtualMachineDiagnosticRunCommandInner> diagnosticListByVirtualMachine(String resourceGroupName, String vmName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.

Returns:

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

diagnosticListByVirtualMachine

public abstract PagedIterable<VirtualMachineDiagnosticRunCommandInner> diagnosticListByVirtualMachine(String resourceGroupName, String vmName, String expand, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
expand - The expand expression to apply on the operation.
context - The context to associate with this operation.

Returns:

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

diagnosticListByVirtualMachineAsync

public abstract PagedFlux<VirtualMachineDiagnosticRunCommandInner> diagnosticListByVirtualMachineAsync(String resourceGroupName, String vmName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.

Returns:

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

diagnosticListByVirtualMachineAsync

public abstract PagedFlux<VirtualMachineDiagnosticRunCommandInner> diagnosticListByVirtualMachineAsync(String resourceGroupName, String vmName, String expand)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
expand - The expand expression to apply on the operation.

Returns:

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

getByVirtualMachine

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

The operation to get the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.

Returns:

describes a Virtual Machine diagnostic run command.

getByVirtualMachineAsync

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

The operation to get the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.

Returns:

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

getByVirtualMachineWithResponse

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

The operation to get the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
expand - The expand expression to apply on the operation.
context - The context to associate with this operation.

Returns:

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

getByVirtualMachineWithResponseAsync

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

The operation to get the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
expand - The expand expression to apply on the operation.

Returns:

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

update

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

The operation to update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Update Virtual Machine Diagnostic RunCommand operation.

update

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

The operation to update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Update Virtual Machine Diagnostic RunCommand operation.
context - The context to associate with this operation.

updateAsync

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

The operation to update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Update Virtual Machine Diagnostic RunCommand operation.

Returns:

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

updateWithResponseAsync

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

The operation to update the diagnostic run command.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vmName - The name of the VirtualMachine.
runCommandName - The name of the VirtualMachineDiagnosticRunCommand.
runCommand - Parameters supplied to the Update Virtual Machine Diagnostic RunCommand operation.

Returns:

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

Applies to