All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.security.models.SensitivitySettings 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.models;

import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;

/**
 * Resource collection API of SensitivitySettings.
 */
public interface SensitivitySettings {
    /**
     * 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}.
     */
    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.
     */
    GetSensitivitySettingsResponse 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}.
     */
    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.
     */
    GetSensitivitySettingsResponse 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}.
     */
    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.
     */
    GetSensitivitySettingsListResponse list();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy