Interface IotSecuritySolutionsClient
public interface IotSecuritySolutionsClient
An instance of this class provides access to all the operations defined in IotSecuritySolutionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String solutionName, IoTSecuritySolutionModelInner iotSecuritySolutionData) Use this method to create or update yours IoT Security solution.com.azure.core.http.rest.Response<IoTSecuritySolutionModelInner>
createOrUpdateWithResponse
(String resourceGroupName, String solutionName, IoTSecuritySolutionModelInner iotSecuritySolutionData, com.azure.core.util.Context context) Use this method to create or update yours IoT Security solution.void
Use this method to delete yours IoT Security solution.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String solutionName, com.azure.core.util.Context context) Use this method to delete yours IoT Security solution.getByResourceGroup
(String resourceGroupName, String solutionName) User this method to get details of a specific IoT Security solution based on solution name.com.azure.core.http.rest.Response<IoTSecuritySolutionModelInner>
getByResourceGroupWithResponse
(String resourceGroupName, String solutionName, com.azure.core.util.Context context) User this method to get details of a specific IoT Security solution based on solution name.com.azure.core.http.rest.PagedIterable<IoTSecuritySolutionModelInner>
list()
Use this method to get the list of IoT Security solutions by subscription.com.azure.core.http.rest.PagedIterable<IoTSecuritySolutionModelInner>
Use this method to get the list of IoT Security solutions by subscription.com.azure.core.http.rest.PagedIterable<IoTSecuritySolutionModelInner>
listByResourceGroup
(String resourceGroupName) Use this method to get the list IoT Security solutions organized by resource group.com.azure.core.http.rest.PagedIterable<IoTSecuritySolutionModelInner>
listByResourceGroup
(String resourceGroupName, String filter, com.azure.core.util.Context context) Use this method to get the list IoT Security solutions organized by resource group.update
(String resourceGroupName, String solutionName, UpdateIotSecuritySolutionData updateIotSecuritySolutionData) Use this method to update existing IoT Security solution tags or user defined resources.com.azure.core.http.rest.Response<IoTSecuritySolutionModelInner>
updateWithResponse
(String resourceGroupName, String solutionName, UpdateIotSecuritySolutionData updateIotSecuritySolutionData, com.azure.core.util.Context context) Use this method to update existing IoT Security solution tags or user defined resources.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<IoTSecuritySolutionModelInner> list()Use this method to get the list of IoT Security solutions by subscription.- Returns:
- list of IoT Security solutions 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<IoTSecuritySolutionModelInner> list(String filter, com.azure.core.util.Context context) Use this method to get the list of IoT Security solutions by subscription.- Parameters:
filter
- Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.context
- The context to associate with this operation.- Returns:
- list of IoT Security solutions 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<IoTSecuritySolutionModelInner> listByResourceGroup(String resourceGroupName) Use this method to get the list IoT Security solutions organized by resource group.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.- Returns:
- list of IoT Security solutions 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<IoTSecuritySolutionModelInner> listByResourceGroup(String resourceGroupName, String filter, com.azure.core.util.Context context) Use this method to get the list IoT Security solutions organized by resource group.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.filter
- Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.context
- The context to associate with this operation.- Returns:
- list of IoT Security solutions 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.
-
getByResourceGroup
User this method to get details of a specific IoT Security solution based on solution name.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.solutionName
- The name of the IoT Security solution.- Returns:
- ioT Security solution configuration and resource information.
- 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<IoTSecuritySolutionModelInner> getByResourceGroupWithResponse(String resourceGroupName, String solutionName, com.azure.core.util.Context context) User this method to get details of a specific IoT Security solution based on solution name.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.solutionName
- The name of the IoT Security solution.context
- The context to associate with this operation.- Returns:
- ioT Security solution configuration and resource information 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
IoTSecuritySolutionModelInner createOrUpdate(String resourceGroupName, String solutionName, IoTSecuritySolutionModelInner iotSecuritySolutionData) Use this method to create or update yours IoT Security solution.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.solutionName
- The name of the IoT Security solution.iotSecuritySolutionData
- The security solution data.- Returns:
- ioT Security solution configuration and resource information.
- 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<IoTSecuritySolutionModelInner> createOrUpdateWithResponse(String resourceGroupName, String solutionName, IoTSecuritySolutionModelInner iotSecuritySolutionData, com.azure.core.util.Context context) Use this method to create or update yours IoT Security solution.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.solutionName
- The name of the IoT Security solution.iotSecuritySolutionData
- The security solution data.context
- The context to associate with this operation.- Returns:
- ioT Security solution configuration and resource information 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
IoTSecuritySolutionModelInner update(String resourceGroupName, String solutionName, UpdateIotSecuritySolutionData updateIotSecuritySolutionData) Use this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.solutionName
- The name of the IoT Security solution.updateIotSecuritySolutionData
- The security solution data.- Returns:
- ioT Security solution configuration and resource information.
- 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<IoTSecuritySolutionModelInner> updateWithResponse(String resourceGroupName, String solutionName, UpdateIotSecuritySolutionData updateIotSecuritySolutionData, com.azure.core.util.Context context) Use this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.solutionName
- The name of the IoT Security solution.updateIotSecuritySolutionData
- The security solution data.context
- The context to associate with this operation.- Returns:
- ioT Security solution configuration and resource information 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.
-
delete
Use this method to delete yours IoT Security solution.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.solutionName
- The name of the IoT Security solution.- 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 solutionName, com.azure.core.util.Context context) Use this method to delete yours IoT Security solution.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.solutionName
- The name of the IoT Security solution.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.
-