Interface Settings


public interface Settings
Resource collection API of Settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(SettingName settingName)
    Settings of different configurations in Microsoft Defender for Cloud.
    com.azure.core.http.rest.Response<Setting>
    getWithResponse(SettingName settingName, com.azure.core.util.Context context)
    Settings of different configurations in Microsoft Defender for Cloud.
    com.azure.core.http.rest.PagedIterable<Setting>
    Settings about different configurations in Microsoft Defender for Cloud.
    com.azure.core.http.rest.PagedIterable<Setting>
    list(com.azure.core.util.Context context)
    Settings about different configurations in Microsoft Defender for Cloud.
    update(SettingName settingName, SettingInner setting)
    updating settings about different configurations in Microsoft Defender for Cloud.
    com.azure.core.http.rest.Response<Setting>
    updateWithResponse(SettingName settingName, SettingInner setting, com.azure.core.util.Context context)
    updating settings about different configurations in Microsoft Defender for Cloud.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<Setting> list()
      Settings about different configurations in Microsoft Defender for Cloud.
      Returns:
      subscription settings list 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<Setting> list(com.azure.core.util.Context context)
      Settings about different configurations in Microsoft Defender for Cloud.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      subscription settings list 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.
    • get

      Setting get(SettingName settingName)
      Settings of different configurations in Microsoft Defender for Cloud.
      Parameters:
      settingName - The name of the setting.
      Returns:
      the kind of the security setting.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<Setting> getWithResponse(SettingName settingName, com.azure.core.util.Context context)
      Settings of different configurations in Microsoft Defender for Cloud.
      Parameters:
      settingName - The name of the setting.
      context - The context to associate with this operation.
      Returns:
      the kind of the security setting 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.
    • update

      Setting update(SettingName settingName, SettingInner setting)
      updating settings about different configurations in Microsoft Defender for Cloud.
      Parameters:
      settingName - The name of the setting.
      setting - Setting object.
      Returns:
      the kind of the security setting.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<Setting> updateWithResponse(SettingName settingName, SettingInner setting, com.azure.core.util.Context context)
      updating settings about different configurations in Microsoft Defender for Cloud.
      Parameters:
      settingName - The name of the setting.
      setting - Setting object.
      context - The context to associate with this operation.
      Returns:
      the kind of the security setting 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.