Interface Applications
-
public interface ApplicationsResource collection API of Applications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Application.DefinitionStages.Blankdefine(String name)Begins definition for a new Application resource.voiddelete(String resourceGroupName, String applicationGroupName, String applicationName)Remove 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.Applicationget(String resourceGroupName, String applicationGroupName, String applicationName)Get an application.ApplicationgetById(String id)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(String resourceGroupName, String applicationGroupName)List applications.com.azure.core.http.rest.PagedIterable<Application>list(String resourceGroupName, String applicationGroupName, com.azure.core.util.Context context)List applications.
-
-
-
Method Detail
-
get
Application get(String resourceGroupName, String applicationGroupName, String applicationName)
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.
-
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.
- 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
void delete(String resourceGroupName, String applicationGroupName, String applicationName)
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.
-
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.
-
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.
- 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, 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.context- The context to associate with this operation.- Returns:
- applicationList.
- 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
Application getById(String id)
Get an application.- Parameters:
id- the resource ID.- 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.
-
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.
- 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
void deleteById(String id)
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
Application.DefinitionStages.Blank define(String name)
Begins definition for a new Application resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Application definition.
-
-