Interface IotSecuritySolutions


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

    • list

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

      IoTSecuritySolutionModel getByResourceGroup(String resourceGroupName, String solutionName)
      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<IoTSecuritySolutionModel> 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String solutionName)
      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.
    • getById

      User this method to get details of a specific IoT Security solution based on solution name.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<IoTSecuritySolutionModel> getByIdWithResponse(String id, com.azure.core.util.Context context)
      User this method to get details of a specific IoT Security solution based on solution name.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Use this method to delete yours IoT Security solution.
      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)
      Use this method to delete yours IoT Security solution.
      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 IoTSecuritySolutionModel resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new IoTSecuritySolutionModel definition.