Interface Applications
public interface Applications
Resource collection API of Applications.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Application resource.voidRemove an application.voiddeleteById(String id) Remove an application.com.azure.core.http.rest.Response<Void>deleteByIdWithResponse(String id, com.azure.core.util.Context context) Remove an application.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String applicationGroupName, String applicationName, com.azure.core.util.Context context) Remove an application.Get an application.Get an application.com.azure.core.http.rest.Response<Application>getByIdWithResponse(String id, com.azure.core.util.Context context) Get an application.com.azure.core.http.rest.Response<Application>getWithResponse(String resourceGroupName, String applicationGroupName, String applicationName, com.azure.core.util.Context context) Get an application.com.azure.core.http.rest.PagedIterable<Application>List applications.com.azure.core.http.rest.PagedIterable<Application>list(String resourceGroupName, String applicationGroupName, Integer pageSize, Boolean isDescending, Integer initialSkip, com.azure.core.util.Context context) List applications.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<Application> getWithResponse(String resourceGroupName, String applicationGroupName, String applicationName, com.azure.core.util.Context context) Get an application.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.applicationGroupName- The name of the application group.applicationName- The name of the application within the specified application group.context- The context to associate with this operation.- Returns:
- an application 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.
-
get
Get an application.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.applicationGroupName- The name of the application group.applicationName- The name of the application within the specified application group.- Returns:
- an application.
- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String applicationGroupName, String applicationName, com.azure.core.util.Context context) Remove an application.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.applicationGroupName- The name of the application group.applicationName- The name of the application within the specified application group.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.
-
delete
Remove an application.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.applicationGroupName- The name of the application group.applicationName- The name of the application within the specified application group.- 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<Application> list(String resourceGroupName, String applicationGroupName) List applications.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.applicationGroupName- The name of the application group.- Returns:
- applicationList as 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.
-
list
com.azure.core.http.rest.PagedIterable<Application> list(String resourceGroupName, String applicationGroupName, Integer pageSize, Boolean isDescending, Integer initialSkip, com.azure.core.util.Context context) List applications.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.applicationGroupName- The name of the application group.pageSize- Number of items per page.isDescending- Indicates whether the collection is descending.initialSkip- Initial number of items to skip.context- The context to associate with this operation.- Returns:
- applicationList as 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 an application.- Parameters:
id- the resource ID.- Returns:
- an application 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<Application> getByIdWithResponse(String id, com.azure.core.util.Context context) Get an application.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- an application 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
Remove an application.- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Remove an application.- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new Application resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Application definition.
-