com.azure.resourcemanager.security.fluent.IotSecuritySolutionsClient Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.security.fluent.models.IoTSecuritySolutionModelInner;
import com.azure.resourcemanager.security.models.UpdateIotSecuritySolutionData;
/**
* An instance of this class provides access to all the operations defined in IotSecuritySolutionsClient.
*/
public interface IotSecuritySolutionsClient {
/**
* Use this method to get the list of IoT Security solutions by subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return list of IoT Security solutions as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* Use this method to get the list of IoT Security solutions by subscription.
*
* @param filter Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return list of IoT Security solutions as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String filter, Context context);
/**
* Use this method to get the list IoT Security solutions organized by resource group.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return list of IoT Security solutions as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
* Use this method to get the list IoT Security solutions organized by resource group.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param filter Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return list of IoT Security solutions as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, String filter,
Context context);
/**
* User this method to get details of a specific IoT Security solution based on solution name.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param solutionName The name of the IoT Security solution.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return ioT Security solution configuration and resource information along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(String resourceGroupName,
String solutionName, Context context);
/**
* User this method to get details of a specific IoT Security solution based on solution name.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param solutionName The name of the IoT Security solution.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return ioT Security solution configuration and resource information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
IoTSecuritySolutionModelInner getByResourceGroup(String resourceGroupName, String solutionName);
/**
* Use this method to create or update yours IoT Security solution.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param solutionName The name of the IoT Security solution.
* @param iotSecuritySolutionData The security solution data.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return ioT Security solution configuration and resource information along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createOrUpdateWithResponse(String resourceGroupName, String solutionName,
IoTSecuritySolutionModelInner iotSecuritySolutionData, Context context);
/**
* Use this method to create or update yours IoT Security solution.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param solutionName The name of the IoT Security solution.
* @param iotSecuritySolutionData The security solution data.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return ioT Security solution configuration and resource information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
IoTSecuritySolutionModelInner createOrUpdate(String resourceGroupName, String solutionName,
IoTSecuritySolutionModelInner iotSecuritySolutionData);
/**
* Use this method to update existing IoT Security solution tags or user defined resources. To update other fields
* use the CreateOrUpdate method.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param solutionName The name of the IoT Security solution.
* @param updateIotSecuritySolutionData The security solution data.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return ioT Security solution configuration and resource information along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response updateWithResponse(String resourceGroupName, String solutionName,
UpdateIotSecuritySolutionData updateIotSecuritySolutionData, Context context);
/**
* Use this method to update existing IoT Security solution tags or user defined resources. To update other fields
* use the CreateOrUpdate method.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param solutionName The name of the IoT Security solution.
* @param updateIotSecuritySolutionData The security solution data.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return ioT Security solution configuration and resource information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
IoTSecuritySolutionModelInner update(String resourceGroupName, String solutionName,
UpdateIotSecuritySolutionData updateIotSecuritySolutionData);
/**
* Use this method to delete yours IoT Security solution.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param solutionName The name of the IoT Security solution.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteWithResponse(String resourceGroupName, String solutionName, Context context);
/**
* Use this method to delete yours IoT Security solution.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param solutionName The name of the IoT Security solution.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String solutionName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy