Interface ApplicationDefinitions


public interface ApplicationDefinitions
Resource collection API of ApplicationDefinitions.
  • Method Details

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<ApplicationDefinition> 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

      ApplicationDefinition 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(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.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ApplicationDefinition> 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<ApplicationDefinition> 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<ApplicationDefinition> 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

      ApplicationDefinition getById(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.
    • deleteById

      void deleteById(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.
      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.
    • createOrUpdateById

      ApplicationDefinition 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

      ApplicationDefinition 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.
    • define

      Begins definition for a new ApplicationDefinition resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new ApplicationDefinition definition.