Interface ApplicationDefinitionsClient
public interface ApplicationDefinitionsClient
An instance of this class provides access to all the operations defined in ApplicationDefinitionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationDefinitionInner>,
ApplicationDefinitionInner> beginCreateOrUpdate
(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters) Creates a new managed application definition.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationDefinitionInner>,
ApplicationDefinitionInner> beginCreateOrUpdate
(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters, com.azure.core.util.Context context) Creates a new managed application definition.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationDefinitionInner>,
ApplicationDefinitionInner> beginCreateOrUpdateById
(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters) Creates a new managed application definition.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationDefinitionInner>,
ApplicationDefinitionInner> beginCreateOrUpdateById
(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters, com.azure.core.util.Context context) Creates a new managed application definition.beginDelete
(String resourceGroupName, String applicationDefinitionName) Deletes the managed application definition.beginDelete
(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Deletes the managed application definition.beginDeleteById
(String resourceGroupName, String applicationDefinitionName) Deletes the managed application definition.beginDeleteById
(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Deletes the managed application definition.createOrUpdate
(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters) Creates a new managed application definition.createOrUpdate
(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters, com.azure.core.util.Context context) Creates a new managed application definition.createOrUpdateById
(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters) Creates a new managed application definition.createOrUpdateById
(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters, com.azure.core.util.Context context) Creates a new managed application definition.void
Deletes the managed application definition.void
delete
(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Deletes the managed application definition.void
deleteById
(String resourceGroupName, String applicationDefinitionName) Deletes the managed application definition.void
deleteById
(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Deletes the managed application definition.Gets the managed application definition.com.azure.core.http.rest.Response<ApplicationDefinitionInner>
getByIdWithResponse
(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Gets the managed application definition.getByResourceGroup
(String resourceGroupName, String applicationDefinitionName) Gets the managed application definition.com.azure.core.http.rest.Response<ApplicationDefinitionInner>
getByResourceGroupWithResponse
(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Gets the managed application definition.com.azure.core.http.rest.PagedIterable<ApplicationDefinitionInner>
listByResourceGroup
(String resourceGroupName) Lists the managed application definitions in a resource group.com.azure.core.http.rest.PagedIterable<ApplicationDefinitionInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Lists the managed application definitions in a resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ApplicationDefinitionInner> getByResourceGroupWithResponse(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Gets the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.context
- The context to associate with this operation.- Returns:
- the managed application definition along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
ApplicationDefinitionInner getByResourceGroup(String resourceGroupName, String applicationDefinitionName) Gets the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.- Returns:
- the managed application definition.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- 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 applicationDefinitionName) Deletes the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition to delete.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- 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 applicationDefinitionName, com.azure.core.util.Context context) Deletes the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition to delete.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.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition to delete.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- 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 applicationDefinitionName, com.azure.core.util.Context context) Deletes the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition to delete.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationDefinitionInner>,ApplicationDefinitionInner> beginCreateOrUpdate(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters) Creates a new managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.parameters
- Parameters supplied to the create or update an managed application definition.- Returns:
- the
SyncPoller
for polling of information about managed application definition. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationDefinitionInner>,ApplicationDefinitionInner> beginCreateOrUpdate(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters, com.azure.core.util.Context context) Creates a new managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.parameters
- Parameters supplied to the create or update an managed application definition.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of information about managed application definition. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ApplicationDefinitionInner createOrUpdate(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters) Creates a new managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.parameters
- Parameters supplied to the create or update an managed application definition.- Returns:
- information about managed application definition.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ApplicationDefinitionInner createOrUpdate(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters, com.azure.core.util.Context context) Creates a new managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.parameters
- Parameters supplied to the create or update an managed application definition.context
- The context to associate with this operation.- Returns:
- information about managed application definition.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- 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<ApplicationDefinitionInner> listByResourceGroup(String resourceGroupName) Lists the managed application definitions in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- list of managed application definitions as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- 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<ApplicationDefinitionInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists the managed application definitions in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- list of managed application definitions as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- 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<ApplicationDefinitionInner> getByIdWithResponse(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Gets the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.context
- The context to associate with this operation.- Returns:
- the managed application definition along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Gets the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.- Returns:
- the managed application definition.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteById
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteById(String resourceGroupName, String applicationDefinitionName) Deletes the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteById
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteById(String resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Deletes the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.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.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Deletes the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- 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 resourceGroupName, String applicationDefinitionName, com.azure.core.util.Context context) Deletes the managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateById
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationDefinitionInner>,ApplicationDefinitionInner> beginCreateOrUpdateById(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters) Creates a new managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.parameters
- Parameters supplied to the create or update a managed application definition.- Returns:
- the
SyncPoller
for polling of information about managed application definition. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateById
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationDefinitionInner>,ApplicationDefinitionInner> beginCreateOrUpdateById(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters, com.azure.core.util.Context context) Creates a new managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.parameters
- Parameters supplied to the create or update a managed application definition.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of information about managed application definition. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateById
ApplicationDefinitionInner createOrUpdateById(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters) Creates a new managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.parameters
- Parameters supplied to the create or update a managed application definition.- Returns:
- information about managed application definition.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateById
ApplicationDefinitionInner createOrUpdateById(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters, com.azure.core.util.Context context) Creates a new managed application definition.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.applicationDefinitionName
- The name of the managed application definition.parameters
- Parameters supplied to the create or update a managed application definition.context
- The context to associate with this operation.- Returns:
- information about managed application definition.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-