Interface Deployments
public interface Deployments
Resource collection API of Deployments.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new NginxDeployment resource.void
Delete the Nginx deployment resource.void
deleteById
(String id) Delete the Nginx deployment resource.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete the Nginx deployment resource.void
deleteByResourceGroup
(String resourceGroupName, String deploymentName) Delete the Nginx deployment resource.Get the Nginx deployment.com.azure.core.http.rest.Response<NginxDeployment>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get the Nginx deployment.getByResourceGroup
(String resourceGroupName, String deploymentName) Get the Nginx deployment.com.azure.core.http.rest.Response<NginxDeployment>
getByResourceGroupWithResponse
(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Get the Nginx deployment.com.azure.core.http.rest.PagedIterable<NginxDeployment>
list()
List the Nginx deployments resources.com.azure.core.http.rest.PagedIterable<NginxDeployment>
list
(com.azure.core.util.Context context) List the Nginx deployments resources.com.azure.core.http.rest.PagedIterable<NginxDeployment>
listByResourceGroup
(String resourceGroupName) List all Nginx deployments under the specified resource group.com.azure.core.http.rest.PagedIterable<NginxDeployment>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List all Nginx deployments under the specified resource group.
-
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<NginxDeployment> 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.
-
deleteByResourceGroup
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<NginxDeployment> 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
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<NginxDeployment> 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<NginxDeployment> 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.
-
getById
Get the Nginx deployment.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<NginxDeployment> getByIdWithResponse(String id, com.azure.core.util.Context context) Get the Nginx deployment.- Parameters:
id
- the resource ID.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.
-
deleteById
Delete the Nginx deployment resource.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Delete the Nginx deployment resource.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new NginxDeployment resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new NginxDeployment definition.
-