Interface VirtualMachineScaleSetVMRunCommandsClient
public interface VirtualMachineScaleSetVMRunCommandsClient
An instance of this class provides access to all the operations defined in
VirtualMachineScaleSetVMRunCommandsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand, com.azure.core.util.Context context) The operation to create or update the VMSS VM run command.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.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.beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName) The operation to delete the VMSS VM run command.beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, com.azure.core.util.Context context) The operation to delete the VMSS VM run command.beginDeleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName) The operation to delete the VMSS VM run command.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand) The operation to update the VMSS VM run command.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand, com.azure.core.util.Context context) The operation to update the VMSS VM run command.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand) The operation to update the VMSS VM run command.createOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand) The operation to create or update the VMSS VM run command.createOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand, com.azure.core.util.Context context) The operation to create or update the VMSS VM run command.createOrUpdateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand) The operation to create or update the VMSS VM run command.Mono<com.azure.core.http.rest.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.voidThe operation to delete the VMSS VM run command.voiddelete(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, com.azure.core.util.Context context) The operation to delete the VMSS VM run command.deleteAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName) The operation to delete the VMSS VM run command.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName) The operation to delete the VMSS VM run command.The operation to get the VMSS VM run command.The operation to get the VMSS VM run command.com.azure.core.http.rest.Response<VirtualMachineRunCommandInner>getWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, String expand, com.azure.core.util.Context context) The operation to get the VMSS VM run command.Mono<com.azure.core.http.rest.Response<VirtualMachineRunCommandInner>>getWithResponseAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, String expand) The operation to get the VMSS VM run command.com.azure.core.http.rest.PagedIterable<VirtualMachineRunCommandInner>The operation to get all run commands of an instance in Virtual Machine Scaleset.com.azure.core.http.rest.PagedIterable<VirtualMachineRunCommandInner>list(String resourceGroupName, String vmScaleSetName, String instanceId, String expand, com.azure.core.util.Context context) The operation to get all run commands of an instance in Virtual Machine Scaleset.com.azure.core.http.rest.PagedFlux<VirtualMachineRunCommandInner>The operation to get all run commands of an instance in Virtual Machine Scaleset.com.azure.core.http.rest.PagedFlux<VirtualMachineRunCommandInner>The operation to get all run commands of an instance in Virtual Machine Scaleset.update(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand) The operation to update the VMSS VM run command.update(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand, com.azure.core.util.Context context) The operation to update the VMSS VM run command.updateAsync(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand) The operation to update the VMSS VM run command.Mono<com.azure.core.http.rest.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
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.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.- 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.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.- 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
PollerFluxfor polling of describes a Virtual Machine run command. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.- 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
SyncPollerfor polling of describes a Virtual Machine run command. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginCreateOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand, com.azure.core.util.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
SyncPollerfor polling of describes a Virtual Machine run command. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<VirtualMachineRunCommandInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualMachineRunCommandInner createOrUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandInner runCommand, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualMachineRunCommandInner>,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
PollerFluxfor polling of describes a Virtual Machine run command. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineRunCommandInner>,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
SyncPollerfor polling of describes a Virtual Machine run command. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualMachineRunCommandInner>,VirtualMachineRunCommandInner> beginUpdate(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand, com.azure.core.util.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
SyncPollerfor polling of describes a Virtual Machine run command. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<VirtualMachineRunCommandInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
VirtualMachineRunCommandInner update(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, VirtualMachineRunCommandUpdate runCommand, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, com.azure.core.util.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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> 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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, com.azure.core.util.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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualMachineRunCommandInner>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<VirtualMachineRunCommandInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<VirtualMachineRunCommandInner> getWithResponse(String resourceGroupName, String vmScaleSetName, String instanceId, String runCommandName, String expand, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.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.- 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<VirtualMachineRunCommandInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<VirtualMachineRunCommandInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<VirtualMachineRunCommandInner> list(String resourceGroupName, String vmScaleSetName, String instanceId, String expand, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-