public interface DeploymentOperations
| Modifier and Type | Method and Description |
|---|---|
LongRunningOperationResponse |
beginDeleting(String resourceGroupName,
String deploymentName)
Begin deleting deployment.To determine whether the operation has finished
processing the request, call GetLongRunningOperationStatus.
|
Future<LongRunningOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String deploymentName)
Begin deleting deployment.To determine whether the operation has finished
processing the request, call GetLongRunningOperationStatus.
|
OperationResponse |
cancel(String resourceGroupName,
String deploymentName)
Cancel a currently running template deployment.
|
Future<OperationResponse> |
cancelAsync(String resourceGroupName,
String deploymentName)
Cancel a currently running template deployment.
|
DeploymentExistsResult |
checkExistence(String resourceGroupName,
String deploymentName)
Checks whether deployment exists.
|
Future<DeploymentExistsResult> |
checkExistenceAsync(String resourceGroupName,
String deploymentName)
Checks whether deployment exists.
|
DeploymentOperationsCreateResult |
createOrUpdate(String resourceGroupName,
String deploymentName,
Deployment parameters)
Create a named template deployment using a template.
|
Future<DeploymentOperationsCreateResult> |
createOrUpdateAsync(String resourceGroupName,
String deploymentName,
Deployment parameters)
Create a named template deployment using a template.
|
OperationResponse |
delete(String resourceGroupName,
String deploymentName)
Delete deployment and all of its resources.
|
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String deploymentName)
Delete deployment and all of its resources.
|
DeploymentGetResult |
get(String resourceGroupName,
String deploymentName)
Get a deployment.
|
Future<DeploymentGetResult> |
getAsync(String resourceGroupName,
String deploymentName)
Get a deployment.
|
DeploymentListResult |
list(String resourceGroupName,
DeploymentListParameters parameters)
Get a list of deployments.
|
Future<DeploymentListResult> |
listAsync(String resourceGroupName,
DeploymentListParameters parameters)
Get a list of deployments.
|
DeploymentListResult |
listNext(String nextLink)
Get a list of deployments.
|
Future<DeploymentListResult> |
listNextAsync(String nextLink)
Get a list of deployments.
|
DeploymentValidateResponse |
validate(String resourceGroupName,
String deploymentName,
Deployment parameters)
Validate a deployment template.
|
Future<DeploymentValidateResponse> |
validateAsync(String resourceGroupName,
String deploymentName,
Deployment parameters)
Validate a deployment template.
|
LongRunningOperationResponse beginDeleting(String resourceGroupName, String deploymentName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment to be deleted.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<LongRunningOperationResponse> beginDeletingAsync(String resourceGroupName, String deploymentName)
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment to be deleted.OperationResponse cancel(String resourceGroupName, String deploymentName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationResponse> cancelAsync(String resourceGroupName, String deploymentName)
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment.DeploymentExistsResult checkExistence(String resourceGroupName, String deploymentName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group to
check. The name is case insensitive.deploymentName - Required. The name of the deployment.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<DeploymentExistsResult> checkExistenceAsync(String resourceGroupName, String deploymentName)
resourceGroupName - Required. The name of the resource group to
check. The name is case insensitive.deploymentName - Required. The name of the deployment.DeploymentOperationsCreateResult createOrUpdate(String resourceGroupName, String deploymentName, Deployment parameters) throws IOException, ServiceException, URISyntaxException
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment.parameters - Required. Additional parameters supplied to the
operation.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<DeploymentOperationsCreateResult> createOrUpdateAsync(String resourceGroupName, String deploymentName, Deployment parameters)
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment.parameters - Required. Additional parameters supplied to the
operation.OperationResponse delete(String resourceGroupName, String deploymentName) throws InterruptedException, ExecutionException, IOException, ServiceException
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment to be deleted.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.IOException - Thrown if there was an error setting up tracing for
the request.ServiceException - Thrown if an unexpected response is found.Future<OperationResponse> deleteAsync(String resourceGroupName, String deploymentName)
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment to be deleted.DeploymentGetResult get(String resourceGroupName, String deploymentName) throws IOException, ServiceException, URISyntaxException
resourceGroupName - Required. The name of the resource group to get.
The name is case insensitive.deploymentName - Required. The name of the deployment.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<DeploymentGetResult> getAsync(String resourceGroupName, String deploymentName)
resourceGroupName - Required. The name of the resource group to get.
The name is case insensitive.deploymentName - Required. The name of the deployment.DeploymentListResult list(String resourceGroupName, DeploymentListParameters parameters) throws IOException, ServiceException, URISyntaxException
resourceGroupName - Required. The name of the resource group to
filter by. The name is case insensitive.parameters - Optional. Query parameters. If null is passed returns
all deployments.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<DeploymentListResult> listAsync(String resourceGroupName, DeploymentListParameters parameters)
resourceGroupName - Required. The name of the resource group to
filter by. The name is case insensitive.parameters - Optional. Query parameters. If null is passed returns
all deployments.DeploymentListResult listNext(String nextLink) throws IOException, ServiceException, URISyntaxException
nextLink - Required. NextLink from the previous successful call to
List operation.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<DeploymentListResult> listNextAsync(String nextLink)
nextLink - Required. NextLink from the previous successful call to
List operation.DeploymentValidateResponse validate(String resourceGroupName, String deploymentName, Deployment parameters) throws IOException, ServiceException, URISyntaxException
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment.parameters - Required. Deployment to validate.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<DeploymentValidateResponse> validateAsync(String resourceGroupName, String deploymentName, Deployment parameters)
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.deploymentName - Required. The name of the deployment.parameters - Required. Deployment to validate./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/