Interface Creators


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

    • listByAccount

      com.azure.core.http.rest.PagedIterable<Creator> listByAccount(String resourceGroupName, String accountName)
      Get all Creator instances for an Azure Maps Account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the Maps Account.
      Returns:
      all Creator instances for an Azure Maps Account 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.
    • listByAccount

      com.azure.core.http.rest.PagedIterable<Creator> listByAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Get all Creator instances for an Azure Maps Account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the Maps Account.
      context - The context to associate with this operation.
      Returns:
      all Creator instances for an Azure Maps Account 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String creatorName, com.azure.core.util.Context context)
      Delete a Maps Creator resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the Maps Account.
      creatorName - The name of the Maps Creator instance.
      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

      void delete(String resourceGroupName, String accountName, String creatorName)
      Delete a Maps Creator resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the Maps Account.
      creatorName - The name of the Maps Creator instance.
      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<Creator> getWithResponse(String resourceGroupName, String accountName, String creatorName, com.azure.core.util.Context context)
      Get a Maps Creator resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the Maps Account.
      creatorName - The name of the Maps Creator instance.
      context - The context to associate with this operation.
      Returns:
      a Maps Creator resource 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

      Creator get(String resourceGroupName, String accountName, String creatorName)
      Get a Maps Creator resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the Maps Account.
      creatorName - The name of the Maps Creator instance.
      Returns:
      a Maps Creator resource.
      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

      Creator getById(String id)
      Get a Maps Creator resource.
      Parameters:
      id - the resource ID.
      Returns:
      a Maps Creator resource 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<Creator> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get a Maps Creator resource.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a Maps Creator resource 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

      void deleteById(String id)
      Delete a Maps Creator resource.
      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 a Maps Creator resource.
      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 Creator resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Creator definition.