Interface DeploymentsClient
public interface DeploymentsClient
An instance of this class provides access to all the operations defined in DeploymentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxDeploymentInner>,
NginxDeploymentInner> beginCreate
(String resourceGroupName, String deploymentName, NginxDeploymentInner body) Create or update the Nginx deployment.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxDeploymentInner>,
NginxDeploymentInner> beginCreate
(String resourceGroupName, String deploymentName, NginxDeploymentInner body, com.azure.core.util.Context context) Create or update the Nginx deployment.beginDelete
(String resourceGroupName, String deploymentName) Delete the Nginx deployment resource.beginDelete
(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Delete the Nginx deployment resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxDeploymentInner>,
NginxDeploymentInner> beginUpdate
(String resourceGroupName, String deploymentName, NginxDeploymentUpdateParameters body) Update the Nginx deployment.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxDeploymentInner>,
NginxDeploymentInner> beginUpdate
(String resourceGroupName, String deploymentName, NginxDeploymentUpdateParameters body, com.azure.core.util.Context context) Update the Nginx deployment.Create or update the Nginx deployment.create
(String resourceGroupName, String deploymentName, NginxDeploymentInner body) Create or update the Nginx deployment.create
(String resourceGroupName, String deploymentName, NginxDeploymentInner body, com.azure.core.util.Context context) Create or update the Nginx deployment.void
Delete the Nginx deployment resource.void
Delete the Nginx deployment resource.getByResourceGroup
(String resourceGroupName, String deploymentName) Get the Nginx deployment.com.azure.core.http.rest.Response<NginxDeploymentInner>
getByResourceGroupWithResponse
(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Get the Nginx deployment.com.azure.core.http.rest.PagedIterable<NginxDeploymentInner>
list()
List the Nginx deployments resources.com.azure.core.http.rest.PagedIterable<NginxDeploymentInner>
list
(com.azure.core.util.Context context) List the Nginx deployments resources.com.azure.core.http.rest.PagedIterable<NginxDeploymentInner>
listByResourceGroup
(String resourceGroupName) List all Nginx deployments under the specified resource group.com.azure.core.http.rest.PagedIterable<NginxDeploymentInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List all Nginx deployments under the specified resource group.Update the Nginx deployment.update
(String resourceGroupName, String deploymentName, NginxDeploymentUpdateParameters body) Update the Nginx deployment.update
(String resourceGroupName, String deploymentName, NginxDeploymentUpdateParameters body, com.azure.core.util.Context context) Update the Nginx deployment.
-
Method Details
-
getByResourceGroup
Get the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.- Returns:
- the Nginx deployment.
- Throws:
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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<NginxDeploymentInner> getByResourceGroupWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Get the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.context
- The context to associate with this operation.- Returns:
- the Nginx deployment along with
Response
. - Throws:
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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxDeploymentInner>,NginxDeploymentInner> beginCreate(String resourceGroupName, String deploymentName, NginxDeploymentInner body) Create or update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.body
- The body parameter.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxDeploymentInner>,NginxDeploymentInner> beginCreate(String resourceGroupName, String deploymentName, NginxDeploymentInner body, com.azure.core.util.Context context) Create or update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.body
- The body parameter.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
create
NginxDeploymentInner create(String resourceGroupName, String deploymentName, NginxDeploymentInner body) Create or update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.body
- The body parameter.- Returns:
- the response.
- Throws:
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.
-
create
Create or update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.- Returns:
- the response.
- Throws:
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.
-
create
NginxDeploymentInner create(String resourceGroupName, String deploymentName, NginxDeploymentInner body, com.azure.core.util.Context context) Create or update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.body
- The body parameter.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxDeploymentInner>,NginxDeploymentInner> beginUpdate(String resourceGroupName, String deploymentName, NginxDeploymentUpdateParameters body) Update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.body
- The body parameter.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxDeploymentInner>,NginxDeploymentInner> beginUpdate(String resourceGroupName, String deploymentName, NginxDeploymentUpdateParameters body, com.azure.core.util.Context context) Update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.body
- The body parameter.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
update
NginxDeploymentInner update(String resourceGroupName, String deploymentName, NginxDeploymentUpdateParameters body) Update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.body
- The body parameter.- Returns:
- the response.
- Throws:
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.
-
update
Update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.- Returns:
- the response.
- Throws:
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.
-
update
NginxDeploymentInner update(String resourceGroupName, String deploymentName, NginxDeploymentUpdateParameters body, com.azure.core.util.Context context) Update the Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.body
- The body parameter.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName) Delete the Nginx deployment resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Delete the Nginx deployment resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
delete
Delete the Nginx deployment resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.- Throws:
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.
-
delete
Delete the Nginx deployment resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.context
- The context to associate with this operation.- Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<NginxDeploymentInner> list()List the Nginx deployments resources.- Returns:
- the paginated response with
PagedIterable
. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<NginxDeploymentInner> list(com.azure.core.util.Context context) List the Nginx deployments resources.- Parameters:
context
- The context to associate with this operation.- Returns:
- the paginated response with
PagedIterable
. - Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<NginxDeploymentInner> listByResourceGroup(String resourceGroupName) List all Nginx deployments under the specified resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the paginated response with
PagedIterable
. - Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<NginxDeploymentInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List all Nginx deployments under the specified resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the paginated response with
PagedIterable
. - Throws:
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.
-