// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package arm

type FlexibleServersAdvancedThreatProtectionSettings_STATUS struct {
	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Properties: Advanced threat protection properties.
	Properties *ServerThreatProtectionProperties_STATUS `json:"properties,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

// Properties of advanced threat protection state for a flexible server.
type ServerThreatProtectionProperties_STATUS struct {
	// CreationTime: Specifies the creation time (UTC) of the policy.
	CreationTime *string `json:"creationTime,omitempty"`

	// State: Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been
	// applied yet on the flexible server.
	State *ServerThreatProtectionProperties_State_STATUS `json:"state,omitempty"`
}

type ServerThreatProtectionProperties_State_STATUS string

const (
	ServerThreatProtectionProperties_State_STATUS_Disabled = ServerThreatProtectionProperties_State_STATUS("Disabled")
	ServerThreatProtectionProperties_State_STATUS_Enabled  = ServerThreatProtectionProperties_State_STATUS("Enabled")
)

// Mapping from string to ServerThreatProtectionProperties_State_STATUS
var serverThreatProtectionProperties_State_STATUS_Values = map[string]ServerThreatProtectionProperties_State_STATUS{
	"disabled": ServerThreatProtectionProperties_State_STATUS_Disabled,
	"enabled":  ServerThreatProtectionProperties_State_STATUS_Enabled,
}
