public final class DeploymentsAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<Deployment> |
cancelDeployment(String deploymentId)
Cancels a deployment.
|
Mono<com.azure.core.http.rest.Response<Deployment>> |
cancelDeploymentWithResponse(String deploymentId)
Cancels a deployment.
|
Mono<Deployment> |
createOrUpdateDeployment(String deploymentId,
Deployment deployment)
Creates or updates a deployment.
|
Mono<com.azure.core.http.rest.Response<Deployment>> |
createOrUpdateDeploymentWithResponse(String deploymentId,
Deployment deployment)
Creates or updates a deployment.
|
Mono<Void> |
deleteDeployment(String deploymentId)
Deletes a deployment.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteDeploymentWithResponse(String deploymentId)
Deletes a deployment.
|
com.azure.core.http.rest.PagedFlux<Deployment> |
getAllDeployments(String filter)
Gets a list of deployments.
|
Mono<com.azure.core.http.rest.PagedResponse<Deployment>> |
getAllDeploymentsNextSinglePage(String nextLink)
Get the next page of items.
|
Mono<com.azure.core.http.rest.PagedResponse<Deployment>> |
getAllDeploymentsSinglePage(String filter)
Gets a list of deployments.
|
Mono<Deployment> |
getDeployment(String deploymentId)
Gets the properties of a deployment.
|
com.azure.core.http.rest.PagedFlux<DeploymentDeviceState> |
getDeploymentDevices(String deploymentId,
String filter)
Gets a list of devices in a deployment along with their state.
|
Mono<com.azure.core.http.rest.PagedResponse<DeploymentDeviceState>> |
getDeploymentDevicesNextSinglePage(String nextLink)
Get the next page of items.
|
Mono<com.azure.core.http.rest.PagedResponse<DeploymentDeviceState>> |
getDeploymentDevicesSinglePage(String deploymentId,
String filter)
Gets a list of devices in a deployment along with their state.
|
Mono<DeploymentStatus> |
getDeploymentStatus(String deploymentId)
Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress,
completed, or failed.
|
Mono<com.azure.core.http.rest.Response<DeploymentStatus>> |
getDeploymentStatusWithResponse(String deploymentId)
Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress,
completed, or failed.
|
Mono<com.azure.core.http.rest.Response<Deployment>> |
getDeploymentWithResponse(String deploymentId)
Gets the properties of a deployment.
|
Mono<Deployment> |
retryDeployment(String deploymentId)
Retries a deployment with failed devices.
|
Mono<com.azure.core.http.rest.Response<Deployment>> |
retryDeploymentWithResponse(String deploymentId)
Retries a deployment with failed devices.
|
public Mono<com.azure.core.http.rest.PagedResponse<Deployment>> getAllDeploymentsSinglePage(String filter)
filter
- Restricts the set of deployments returned. You can filter on update Provider, Name and Version
property.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedFlux<Deployment> getAllDeployments(String filter)
filter
- Restricts the set of deployments returned. You can filter on update Provider, Name and Version
property.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Deployment>> getDeploymentWithResponse(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Deployment> getDeployment(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Deployment>> createOrUpdateDeploymentWithResponse(String deploymentId, Deployment deployment)
deploymentId
- Deployment identifier.deployment
- The deployment properties.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Deployment> createOrUpdateDeployment(String deploymentId, Deployment deployment)
deploymentId
- Deployment identifier.deployment
- The deployment properties.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> deleteDeploymentWithResponse(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> deleteDeployment(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<DeploymentStatus>> getDeploymentStatusWithResponse(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<DeploymentStatus> getDeploymentStatus(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<DeploymentDeviceState>> getDeploymentDevicesSinglePage(String deploymentId, String filter)
deploymentId
- Deployment identifier.filter
- Restricts the set of deployment device states returned. You can filter on deviceId and/or
deviceState.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedFlux<DeploymentDeviceState> getDeploymentDevices(String deploymentId, String filter)
deploymentId
- Deployment identifier.filter
- Restricts the set of deployment device states returned. You can filter on deviceId and/or
deviceState.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Deployment>> cancelDeploymentWithResponse(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Deployment> cancelDeployment(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Deployment>> retryDeploymentWithResponse(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Deployment> retryDeployment(String deploymentId)
deploymentId
- Deployment identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<Deployment>> getAllDeploymentsNextSinglePage(String nextLink)
nextLink
- The nextLink parameter.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<DeploymentDeviceState>> getDeploymentDevicesNextSinglePage(String nextLink)
nextLink
- The nextLink parameter.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.