Interface CreatorsClient
public interface CreatorsClient
An instance of this class provides access to all the operations defined in CreatorsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String accountName, String creatorName, CreatorInner creatorResource) Create or update a Maps Creator resource.com.azure.core.http.rest.Response<CreatorInner>
createOrUpdateWithResponse
(String resourceGroupName, String accountName, String creatorName, CreatorInner creatorResource, com.azure.core.util.Context context) Create or update a Maps Creator resource.void
Delete a Maps Creator resource.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.Get a Maps Creator resource.com.azure.core.http.rest.Response<CreatorInner>
getWithResponse
(String resourceGroupName, String accountName, String creatorName, com.azure.core.util.Context context) Get a Maps Creator resource.com.azure.core.http.rest.PagedIterable<CreatorInner>
listByAccount
(String resourceGroupName, String accountName) Get all Creator instances for an Azure Maps Account.com.azure.core.http.rest.PagedIterable<CreatorInner>
listByAccount
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Get all Creator instances for an Azure Maps Account.update
(String resourceGroupName, String accountName, String creatorName, CreatorUpdateParameters creatorUpdateParameters) Updates the Maps Creator resource.com.azure.core.http.rest.Response<CreatorInner>
updateWithResponse
(String resourceGroupName, String accountName, String creatorName, CreatorUpdateParameters creatorUpdateParameters, com.azure.core.util.Context context) Updates the Maps Creator resource.
-
Method Details
-
listByAccount
com.azure.core.http.rest.PagedIterable<CreatorInner> 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<CreatorInner> 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<CreatorInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String creatorName, CreatorInner creatorResource, com.azure.core.util.Context context) Create or update a Maps Creator resource. Creator resource will manage Azure resources required to populate a custom set of mapping data. It requires an account to exist before it can be created.- 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.creatorResource
- The new or updated parameters for the Creator resource.context
- The context to associate with this operation.- Returns:
- an Azure resource which represents Maps Creator product and provides ability to manage private location
data 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.
-
createOrUpdate
CreatorInner createOrUpdate(String resourceGroupName, String accountName, String creatorName, CreatorInner creatorResource) Create or update a Maps Creator resource. Creator resource will manage Azure resources required to populate a custom set of mapping data. It requires an account to exist before it can be created.- 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.creatorResource
- The new or updated parameters for the Creator resource.- Returns:
- an Azure resource which represents Maps Creator product and provides ability to manage private location data.
- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<CreatorInner> updateWithResponse(String resourceGroupName, String accountName, String creatorName, CreatorUpdateParameters creatorUpdateParameters, com.azure.core.util.Context context) Updates the Maps Creator resource. Only a subset of the parameters may be updated after creation, such as Tags.- 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.creatorUpdateParameters
- The update parameters for Maps Creator.context
- The context to associate with this operation.- Returns:
- an Azure resource which represents Maps Creator product and provides ability to manage private location
data 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.
-
update
CreatorInner update(String resourceGroupName, String accountName, String creatorName, CreatorUpdateParameters creatorUpdateParameters) Updates the Maps Creator resource. Only a subset of the parameters may be updated after creation, such as Tags.- 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.creatorUpdateParameters
- The update parameters for Maps Creator.- Returns:
- an Azure resource which represents Maps Creator product and provides ability to manage private location data.
- 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
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<CreatorInner> 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
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.
-