public interface VirtualMachineRunCommandsClient
Modifier and Type | Method and Description |
---|---|
RunCommandDocumentInner |
get(String location,
String commandId)
Gets specific run command for a subscription in a location.
|
Mono<RunCommandDocumentInner> |
getAsync(String location,
String commandId)
Gets specific run command for a subscription in a location.
|
com.azure.core.http.rest.Response<RunCommandDocumentInner> |
getWithResponse(String location,
String commandId,
com.azure.core.util.Context context)
Gets specific run command for a subscription in a location.
|
Mono<com.azure.core.http.rest.Response<RunCommandDocumentInner>> |
getWithResponseAsync(String location,
String commandId)
Gets specific run command for a subscription in a location.
|
com.azure.core.http.rest.PagedIterable<RunCommandDocumentBaseInner> |
list(String location)
Lists all available run commands for a subscription in a location.
|
com.azure.core.http.rest.PagedIterable<RunCommandDocumentBaseInner> |
list(String location,
com.azure.core.util.Context context)
Lists all available run commands for a subscription in a location.
|
com.azure.core.http.rest.PagedFlux<RunCommandDocumentBaseInner> |
listAsync(String location)
Lists all available run commands for a subscription in a location.
|
com.azure.core.http.rest.PagedFlux<RunCommandDocumentBaseInner> listAsync(String location)
location
- The location upon which run commands is queried.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<RunCommandDocumentBaseInner> list(String location)
location
- The location upon which run commands is queried.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<RunCommandDocumentBaseInner> list(String location, com.azure.core.util.Context context)
location
- The location upon which run commands is queried.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<RunCommandDocumentInner>> getWithResponseAsync(String location, String commandId)
location
- The location upon which run commands is queried.commandId
- The command id.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Mono<RunCommandDocumentInner> getAsync(String location, String commandId)
location
- The location upon which run commands is queried.commandId
- The command id.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.RunCommandDocumentInner get(String location, String commandId)
location
- The location upon which run commands is queried.commandId
- The command id.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<RunCommandDocumentInner> getWithResponse(String location, String commandId, com.azure.core.util.Context context)
location
- The location upon which run commands is queried.commandId
- The command id.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.