Interface ApplicationOperations
public interface ApplicationOperations
Resource collection API of ApplicationOperations.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Application resource.void
Delete an Application over a given scope.void
deleteById
(String id) Delete an Application over a given scope.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete an Application over a given scope.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String applicationId, com.azure.core.util.Context context) Delete an Application over a given scope.Get a specific application for the requested scope by applicationId.Get a specific application for the requested scope by applicationId.com.azure.core.http.rest.Response<Application>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a specific application for the requested scope by applicationId.com.azure.core.http.rest.Response<Application>
getWithResponse
(String applicationId, com.azure.core.util.Context context) Get a specific application for the requested scope by applicationId.
-
Method Details
-
get
Get a specific application for the requested scope by applicationId.- Parameters:
applicationId
- The security Application key - unique key for the standard application.- Returns:
- a specific application for the requested scope by applicationId.
- 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 applicationId, com.azure.core.util.Context context) Get a specific application for the requested scope by applicationId.- Parameters:
applicationId
- The security Application key - unique key for the standard application.context
- The context to associate with this operation.- Returns:
- a specific application for the requested scope by applicationId 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.
-
delete
Delete an Application over a given scope.- Parameters:
applicationId
- The security Application key - unique key for the standard 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 applicationId, com.azure.core.util.Context context) Delete an Application over a given scope.- Parameters:
applicationId
- The security Application key - unique key for the standard application.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.
-
getById
Get a specific application for the requested scope by applicationId.- Parameters:
id
- the resource ID.- Returns:
- a specific application for the requested scope by applicationId 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 a specific application for the requested scope by applicationId.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a specific application for the requested scope by applicationId 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 an Application over a given scope.- 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) Delete an Application over a given scope.- 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.
-