com.azure.resourcemanager.security.models.Settings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-security Show documentation
Show all versions of azure-resourcemanager-security Show documentation
This package contains Microsoft Azure SDK for Security Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3.
// 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.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.security.fluent.models.SettingInner;
/**
* Resource collection API of Settings.
*/
public interface Settings {
/**
* Settings about different configurations in Microsoft Defender for Cloud.
*
* @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 subscription settings list as paginated response with {@link PagedIterable}.
*/
PagedIterable list();
/**
* Settings about different configurations in Microsoft Defender for Cloud.
*
* @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 subscription settings list as paginated response with {@link PagedIterable}.
*/
PagedIterable list(Context context);
/**
* Settings of different configurations in Microsoft Defender for Cloud.
*
* @param settingName The name of the setting.
* @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 kind of the security setting along with {@link Response}.
*/
Response getWithResponse(SettingNameAutoGenerated settingName, Context context);
/**
* Settings of different configurations in Microsoft Defender for Cloud.
*
* @param settingName The name of the setting.
* @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 kind of the security setting.
*/
Setting get(SettingNameAutoGenerated settingName);
/**
* updating settings about different configurations in Microsoft Defender for Cloud.
*
* @param settingName The name of the setting.
* @param setting Setting object.
* @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 kind of the security setting along with {@link Response}.
*/
Response updateWithResponse(SettingNameAutoGenerated settingName, SettingInner setting, Context context);
/**
* updating settings about different configurations in Microsoft Defender for Cloud.
*
* @param settingName The name of the setting.
* @param setting Setting object.
* @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 kind of the security setting.
*/
Setting update(SettingNameAutoGenerated settingName, SettingInner setting);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy