Interface AppsClient
-
public interface AppsClient
An instance of this class provides access to all the operations defined in AppsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppInner>,AppInner>
beginCreateOrUpdate(String resourceGroupName, String resourceName, AppInner app)
Create or update the metadata of an IoT Central application.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppInner>,AppInner>
beginCreateOrUpdate(String resourceGroupName, String resourceName, AppInner app, com.azure.core.util.Context context)
Create or update the metadata of an IoT Central application.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String resourceName)
Delete an IoT Central application.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Delete an IoT Central application.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginUpdate(String resourceGroupName, String resourceName, AppPatch appPatch)
Update the metadata of an IoT Central application.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginUpdate(String resourceGroupName, String resourceName, AppPatch appPatch, com.azure.core.util.Context context)
Update the metadata of an IoT Central application.AppAvailabilityInfoInner
checkNameAvailability(OperationInputs operationInputs)
Check if an IoT Central application name is available.com.azure.core.http.rest.Response<AppAvailabilityInfoInner>
checkNameAvailabilityWithResponse(OperationInputs operationInputs, com.azure.core.util.Context context)
Check if an IoT Central application name is available.AppAvailabilityInfoInner
checkSubdomainAvailability(OperationInputs operationInputs)
Check if an IoT Central application subdomain is available.com.azure.core.http.rest.Response<AppAvailabilityInfoInner>
checkSubdomainAvailabilityWithResponse(OperationInputs operationInputs, com.azure.core.util.Context context)
Check if an IoT Central application subdomain is available.AppInner
createOrUpdate(String resourceGroupName, String resourceName, AppInner app)
Create or update the metadata of an IoT Central application.AppInner
createOrUpdate(String resourceGroupName, String resourceName, AppInner app, com.azure.core.util.Context context)
Create or update the metadata of an IoT Central application.void
delete(String resourceGroupName, String resourceName)
Delete an IoT Central application.void
delete(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Delete an IoT Central application.AppInner
getByResourceGroup(String resourceGroupName, String resourceName)
Get the metadata of an IoT Central application.com.azure.core.http.rest.Response<AppInner>
getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Get the metadata of an IoT Central application.com.azure.core.http.rest.PagedIterable<AppInner>
list()
Get all IoT Central Applications in a subscription.com.azure.core.http.rest.PagedIterable<AppInner>
list(com.azure.core.util.Context context)
Get all IoT Central Applications in a subscription.com.azure.core.http.rest.PagedIterable<AppInner>
listByResourceGroup(String resourceGroupName)
Get all the IoT Central Applications in a resource group.com.azure.core.http.rest.PagedIterable<AppInner>
listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Get all the IoT Central Applications in a resource group.com.azure.core.http.rest.PagedIterable<AppTemplateInner>
listTemplates()
Get all available application templates.com.azure.core.http.rest.PagedIterable<AppTemplateInner>
listTemplates(com.azure.core.util.Context context)
Get all available application templates.void
update(String resourceGroupName, String resourceName, AppPatch appPatch)
Update the metadata of an IoT Central application.void
update(String resourceGroupName, String resourceName, AppPatch appPatch, com.azure.core.util.Context context)
Update the metadata of an IoT Central application.
-
-
-
Method Detail
-
getByResourceGroup
AppInner getByResourceGroup(String resourceGroupName, String resourceName)
Get the metadata of an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.- Returns:
- the metadata of an IoT Central 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AppInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Get the metadata of an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.context
- The context to associate with this operation.- Returns:
- the metadata of an IoT Central application 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppInner>,AppInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, AppInner app)
Create or update the metadata of an IoT Central application. The usual pattern to modify a property is to retrieve the IoT Central application metadata and security metadata, and then combine them with the modified values in a new body to update the IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.app
- The IoT Central application metadata and security metadata.- Returns:
- the
SyncPoller
for polling of the IoT Central 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppInner>,AppInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, AppInner app, com.azure.core.util.Context context)
Create or update the metadata of an IoT Central application. The usual pattern to modify a property is to retrieve the IoT Central application metadata and security metadata, and then combine them with the modified values in a new body to update the IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.app
- The IoT Central application metadata and security metadata.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the IoT Central 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.
-
createOrUpdate
AppInner createOrUpdate(String resourceGroupName, String resourceName, AppInner app)
Create or update the metadata of an IoT Central application. The usual pattern to modify a property is to retrieve the IoT Central application metadata and security metadata, and then combine them with the modified values in a new body to update the IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.app
- The IoT Central application metadata and security metadata.- Returns:
- the IoT Central 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.
-
createOrUpdate
AppInner createOrUpdate(String resourceGroupName, String resourceName, AppInner app, com.azure.core.util.Context context)
Create or update the metadata of an IoT Central application. The usual pattern to modify a property is to retrieve the IoT Central application metadata and security metadata, and then combine them with the modified values in a new body to update the IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.app
- The IoT Central application metadata and security metadata.context
- The context to associate with this operation.- Returns:
- the IoT Central 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpdate(String resourceGroupName, String resourceName, AppPatch appPatch)
Update the metadata of an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.appPatch
- The IoT Central application metadata and security metadata.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpdate(String resourceGroupName, String resourceName, AppPatch appPatch, com.azure.core.util.Context context)
Update the metadata of an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.appPatch
- The IoT Central application metadata and security metadata.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.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
void update(String resourceGroupName, String resourceName, AppPatch appPatch)
Update the metadata of an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.appPatch
- The IoT Central application metadata and security metadata.- 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
void update(String resourceGroupName, String resourceName, AppPatch appPatch, com.azure.core.util.Context context)
Update the metadata of an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.appPatch
- The IoT Central application metadata and security metadata.context
- The context to associate with this operation.- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName)
Delete an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Delete an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.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.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 resourceName)
Delete an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central 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.
-
delete
void delete(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
Delete an IoT Central application.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.resourceName
- The ARM resource name of the IoT Central application.context
- The context to associate with this operation.- 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.
-
list
com.azure.core.http.rest.PagedIterable<AppInner> list()
Get all IoT Central Applications in a subscription.- Returns:
- all IoT Central Applications in a subscription as paginated response with
PagedIterable
. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<AppInner> list(com.azure.core.util.Context context)
Get all IoT Central Applications in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- all IoT Central Applications in a subscription 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AppInner> listByResourceGroup(String resourceGroupName)
Get all the IoT Central Applications in a resource group.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.- Returns:
- all the IoT Central Applications in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AppInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Get all the IoT Central Applications in a resource group.- Parameters:
resourceGroupName
- The name of the resource group that contains the IoT Central application.context
- The context to associate with this operation.- Returns:
- all the IoT Central Applications in a resource group 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.
-
checkNameAvailability
AppAvailabilityInfoInner checkNameAvailability(OperationInputs operationInputs)
Check if an IoT Central application name is available.- Parameters:
operationInputs
- Set the name parameter in the OperationInputs structure to the name of the IoT Central application to check.- Returns:
- the properties indicating whether a given IoT Central application name or subdomain is available.
- 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.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<AppAvailabilityInfoInner> checkNameAvailabilityWithResponse(OperationInputs operationInputs, com.azure.core.util.Context context)
Check if an IoT Central application name is available.- Parameters:
operationInputs
- Set the name parameter in the OperationInputs structure to the name of the IoT Central application to check.context
- The context to associate with this operation.- Returns:
- the properties indicating whether a given IoT Central application name or subdomain is available 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.
-
checkSubdomainAvailability
AppAvailabilityInfoInner checkSubdomainAvailability(OperationInputs operationInputs)
Check if an IoT Central application subdomain is available.- Parameters:
operationInputs
- Set the name parameter in the OperationInputs structure to the subdomain of the IoT Central application to check.- Returns:
- the properties indicating whether a given IoT Central application name or subdomain is available.
- 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.
-
checkSubdomainAvailabilityWithResponse
com.azure.core.http.rest.Response<AppAvailabilityInfoInner> checkSubdomainAvailabilityWithResponse(OperationInputs operationInputs, com.azure.core.util.Context context)
Check if an IoT Central application subdomain is available.- Parameters:
operationInputs
- Set the name parameter in the OperationInputs structure to the subdomain of the IoT Central application to check.context
- The context to associate with this operation.- Returns:
- the properties indicating whether a given IoT Central application name or subdomain is available 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.
-
listTemplates
com.azure.core.http.rest.PagedIterable<AppTemplateInner> listTemplates()
Get all available application templates.- Returns:
- all available application templates as paginated response with
PagedIterable
. - Throws:
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.
-
listTemplates
com.azure.core.http.rest.PagedIterable<AppTemplateInner> listTemplates(com.azure.core.util.Context context)
Get all available application templates.- Parameters:
context
- The context to associate with this operation.- Returns:
- all available application templates 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.
-
-