com.azure.resourcemanager.security.fluent.SensitivitySettingsClient 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.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.security.fluent.models.GetSensitivitySettingsListResponseInner;
import com.azure.resourcemanager.security.fluent.models.GetSensitivitySettingsResponseInner;
import com.azure.resourcemanager.security.models.UpdateSensitivitySettingsRequest;
/**
* An instance of this class provides access to all the operations defined in SensitivitySettingsClient.
*/
public interface SensitivitySettingsClient {
/**
* Create or update data sensitivity settings for sensitive data discovery.
*
* @param sensitivitySettings The data sensitivity settings to update.
* @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 data sensitivity settings for sensitive data discovery along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response
createOrUpdateWithResponse(UpdateSensitivitySettingsRequest sensitivitySettings, Context context);
/**
* Create or update data sensitivity settings for sensitive data discovery.
*
* @param sensitivitySettings The data sensitivity settings to update.
* @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 data sensitivity settings for sensitive data discovery.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
GetSensitivitySettingsResponseInner createOrUpdate(UpdateSensitivitySettingsRequest sensitivitySettings);
/**
* Gets data sensitivity settings for sensitive data discovery.
*
* @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 data sensitivity settings for sensitive data discovery along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(Context context);
/**
* Gets data sensitivity settings for sensitive data discovery.
*
* @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 data sensitivity settings for sensitive data discovery.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
GetSensitivitySettingsResponseInner get();
/**
* Gets a list with a single sensitivity settings resource.
*
* @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 a list with a single sensitivity settings resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listWithResponse(Context context);
/**
* Gets a list with a single sensitivity settings resource.
*
* @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 a list with a single sensitivity settings resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
GetSensitivitySettingsListResponseInner list();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy