com.azure.resourcemanager.security.models.AdvancedThreatProtectionSetting 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.util.Context;
import com.azure.resourcemanager.security.fluent.models.AdvancedThreatProtectionSettingInner;
/**
* An immutable client-side representation of AdvancedThreatProtectionSetting.
*/
public interface AdvancedThreatProtectionSetting {
/**
* Gets the id property: Fully qualified resource Id for the resource.
*
* @return the id value.
*/
String id();
/**
* Gets the name property: The name of the resource.
*
* @return the name value.
*/
String name();
/**
* Gets the type property: The type of the resource.
*
* @return the type value.
*/
String type();
/**
* Gets the isEnabled property: Indicates whether Advanced Threat Protection is enabled.
*
* @return the isEnabled value.
*/
Boolean isEnabled();
/**
* Gets the inner com.azure.resourcemanager.security.fluent.models.AdvancedThreatProtectionSettingInner object.
*
* @return the inner object.
*/
AdvancedThreatProtectionSettingInner innerModel();
/**
* The entirety of the AdvancedThreatProtectionSetting definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithScope, DefinitionStages.WithCreate {
}
/**
* The AdvancedThreatProtectionSetting definition stages.
*/
interface DefinitionStages {
/**
* The first stage of the AdvancedThreatProtectionSetting definition.
*/
interface Blank extends WithScope {
}
/**
* The stage of the AdvancedThreatProtectionSetting definition allowing to specify parent resource.
*/
interface WithScope {
/**
* Specifies resourceId.
*
* @param resourceId The identifier of the resource.
* @return the next definition stage.
*/
WithCreate withExistingResourceId(String resourceId);
}
/**
* The stage of the AdvancedThreatProtectionSetting definition which contains all the minimum required
* properties for the resource to be created, but also allows for any other optional properties to be specified.
*/
interface WithCreate extends DefinitionStages.WithIsEnabled {
/**
* Executes the create request.
*
* @return the created resource.
*/
AdvancedThreatProtectionSetting create();
/**
* Executes the create request.
*
* @param context The context to associate with this operation.
* @return the created resource.
*/
AdvancedThreatProtectionSetting create(Context context);
}
/**
* The stage of the AdvancedThreatProtectionSetting definition allowing to specify isEnabled.
*/
interface WithIsEnabled {
/**
* Specifies the isEnabled property: Indicates whether Advanced Threat Protection is enabled..
*
* @param isEnabled Indicates whether Advanced Threat Protection is enabled.
* @return the next definition stage.
*/
WithCreate withIsEnabled(Boolean isEnabled);
}
}
/**
* Refreshes the resource to sync with Azure.
*
* @return the refreshed resource.
*/
AdvancedThreatProtectionSetting refresh();
/**
* Refreshes the resource to sync with Azure.
*
* @param context The context to associate with this operation.
* @return the refreshed resource.
*/
AdvancedThreatProtectionSetting refresh(Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy