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

import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"

type Cluster_Spec struct {
	// Identity: The identity of the cluster, if configured.
	Identity *Identity `json:"identity,omitempty"`

	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	Name     string  `json:"name,omitempty"`

	// Properties: The cluster properties.
	Properties *ClusterProperties `json:"properties,omitempty"`

	// Sku: The SKU of the cluster.
	Sku *AzureSku `json:"sku,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// Zones: The availability zones of the cluster.
	Zones []string `json:"zones,omitempty"`
}

var _ genruntime.ARMResourceSpec = &Cluster_Spec{}

// GetAPIVersion returns the ARM API version of the resource. This is always "2023-08-15"
func (cluster Cluster_Spec) GetAPIVersion() string {
	return "2023-08-15"
}

// GetName returns the Name of the resource
func (cluster *Cluster_Spec) GetName() string {
	return cluster.Name
}

// GetType returns the ARM Type of the resource. This is always "Microsoft.Kusto/clusters"
func (cluster *Cluster_Spec) GetType() string {
	return "Microsoft.Kusto/clusters"
}

// Azure SKU definition.
type AzureSku struct {
	// Capacity: The number of instances of the cluster.
	Capacity *int `json:"capacity,omitempty"`

	// Name: SKU name.
	Name *AzureSku_Name `json:"name,omitempty"`

	// Tier: SKU tier.
	Tier *AzureSku_Tier `json:"tier,omitempty"`
}

// Class representing the Kusto cluster properties.
type ClusterProperties struct {
	// AcceptedAudiences: The cluster's accepted audiences.
	AcceptedAudiences []AcceptedAudiences `json:"acceptedAudiences,omitempty"`

	// AllowedFqdnList: List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster.
	AllowedFqdnList []string `json:"allowedFqdnList,omitempty"`

	// AllowedIpRangeList: The list of ips in the format of CIDR allowed to connect to the cluster.
	AllowedIpRangeList []string `json:"allowedIpRangeList,omitempty"`

	// EnableAutoStop: A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no
	// activity for many days).
	EnableAutoStop *bool `json:"enableAutoStop,omitempty"`

	// EnableDiskEncryption: A boolean value that indicates if the cluster's disks are encrypted.
	EnableDiskEncryption *bool `json:"enableDiskEncryption,omitempty"`

	// EnableDoubleEncryption: A boolean value that indicates if double encryption is enabled.
	EnableDoubleEncryption *bool `json:"enableDoubleEncryption,omitempty"`

	// EnablePurge: A boolean value that indicates if the purge operations are enabled.
	EnablePurge *bool `json:"enablePurge,omitempty"`

	// EnableStreamingIngest: A boolean value that indicates if the streaming ingest is enabled.
	EnableStreamingIngest *bool `json:"enableStreamingIngest,omitempty"`

	// EngineType: The engine type
	EngineType *ClusterProperties_EngineType `json:"engineType,omitempty"`

	// KeyVaultProperties: KeyVault properties for the cluster encryption.
	KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`

	// LanguageExtensions: List of the cluster's language extensions.
	LanguageExtensions *LanguageExtensionsList `json:"languageExtensions,omitempty"`

	// OptimizedAutoscale: Optimized auto scale definition.
	OptimizedAutoscale *OptimizedAutoscale `json:"optimizedAutoscale,omitempty"`

	// PublicIPType: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6)
	PublicIPType *ClusterProperties_PublicIPType `json:"publicIPType,omitempty"`

	// PublicNetworkAccess: Public network access to the cluster is enabled by default. When disabled, only private endpoint
	// connection to the cluster is allowed
	PublicNetworkAccess *ClusterProperties_PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`

	// RestrictOutboundNetworkAccess: Whether or not to restrict outbound network access.  Value is optional but if passed in,
	// must be 'Enabled' or 'Disabled'
	RestrictOutboundNetworkAccess *ClusterProperties_RestrictOutboundNetworkAccess `json:"restrictOutboundNetworkAccess,omitempty"`

	// TrustedExternalTenants: The cluster's external tenants.
	TrustedExternalTenants []TrustedExternalTenant `json:"trustedExternalTenants,omitempty"`

	// VirtualClusterGraduationProperties: Virtual Cluster graduation properties
	VirtualClusterGraduationProperties *string `json:"virtualClusterGraduationProperties,omitempty"`

	// VirtualNetworkConfiguration: Virtual network definition.
	VirtualNetworkConfiguration *VirtualNetworkConfiguration `json:"virtualNetworkConfiguration,omitempty"`
}

// Identity for the resource.
type Identity struct {
	// Type: The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created
	// identity and a set of user-assigned identities. The type 'None' will remove all identities.
	Type                   *Identity_Type                         `json:"type,omitempty"`
	UserAssignedIdentities map[string]UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
}

// Represents an accepted audience trusted by the cluster.
type AcceptedAudiences struct {
	// Value: GUID or valid URL representing an accepted audience.
	Value *string `json:"value,omitempty"`
}

// +kubebuilder:validation:Enum={"Dev(No SLA)_Standard_D11_v2","Dev(No SLA)_Standard_E2a_v4","Standard_D11_v2","Standard_D12_v2","Standard_D13_v2","Standard_D14_v2","Standard_D16d_v5","Standard_D32d_v4","Standard_D32d_v5","Standard_DS13_v2+1TB_PS","Standard_DS13_v2+2TB_PS","Standard_DS14_v2+3TB_PS","Standard_DS14_v2+4TB_PS","Standard_E16a_v4","Standard_E16ads_v5","Standard_E16as_v4+3TB_PS","Standard_E16as_v4+4TB_PS","Standard_E16as_v5+3TB_PS","Standard_E16as_v5+4TB_PS","Standard_E16d_v4","Standard_E16d_v5","Standard_E16s_v4+3TB_PS","Standard_E16s_v4+4TB_PS","Standard_E16s_v5+3TB_PS","Standard_E16s_v5+4TB_PS","Standard_E2a_v4","Standard_E2ads_v5","Standard_E2d_v4","Standard_E2d_v5","Standard_E4a_v4","Standard_E4ads_v5","Standard_E4d_v4","Standard_E4d_v5","Standard_E64i_v3","Standard_E80ids_v4","Standard_E8a_v4","Standard_E8ads_v5","Standard_E8as_v4+1TB_PS","Standard_E8as_v4+2TB_PS","Standard_E8as_v5+1TB_PS","Standard_E8as_v5+2TB_PS","Standard_E8d_v4","Standard_E8d_v5","Standard_E8s_v4+1TB_PS","Standard_E8s_v4+2TB_PS","Standard_E8s_v5+1TB_PS","Standard_E8s_v5+2TB_PS","Standard_EC16ads_v5","Standard_EC16as_v5+3TB_PS","Standard_EC16as_v5+4TB_PS","Standard_EC8ads_v5","Standard_EC8as_v5+1TB_PS","Standard_EC8as_v5+2TB_PS","Standard_L16as_v3","Standard_L16s","Standard_L16s_v2","Standard_L16s_v3","Standard_L32as_v3","Standard_L32s_v3","Standard_L4s","Standard_L8as_v3","Standard_L8s","Standard_L8s_v2","Standard_L8s_v3"}
type AzureSku_Name string

const (
	AzureSku_Name_DevNoSLA_Standard_D11_V2 = AzureSku_Name("Dev(No SLA)_Standard_D11_v2")
	AzureSku_Name_DevNoSLA_Standard_E2A_V4 = AzureSku_Name("Dev(No SLA)_Standard_E2a_v4")
	AzureSku_Name_Standard_D11_V2          = AzureSku_Name("Standard_D11_v2")
	AzureSku_Name_Standard_D12_V2          = AzureSku_Name("Standard_D12_v2")
	AzureSku_Name_Standard_D13_V2          = AzureSku_Name("Standard_D13_v2")
	AzureSku_Name_Standard_D14_V2          = AzureSku_Name("Standard_D14_v2")
	AzureSku_Name_Standard_D16D_V5         = AzureSku_Name("Standard_D16d_v5")
	AzureSku_Name_Standard_D32D_V4         = AzureSku_Name("Standard_D32d_v4")
	AzureSku_Name_Standard_D32D_V5         = AzureSku_Name("Standard_D32d_v5")
	AzureSku_Name_Standard_DS13_V21TB_PS   = AzureSku_Name("Standard_DS13_v2+1TB_PS")
	AzureSku_Name_Standard_DS13_V22TB_PS   = AzureSku_Name("Standard_DS13_v2+2TB_PS")
	AzureSku_Name_Standard_DS14_V23TB_PS   = AzureSku_Name("Standard_DS14_v2+3TB_PS")
	AzureSku_Name_Standard_DS14_V24TB_PS   = AzureSku_Name("Standard_DS14_v2+4TB_PS")
	AzureSku_Name_Standard_E16A_V4         = AzureSku_Name("Standard_E16a_v4")
	AzureSku_Name_Standard_E16Ads_V5       = AzureSku_Name("Standard_E16ads_v5")
	AzureSku_Name_Standard_E16As_V43TB_PS  = AzureSku_Name("Standard_E16as_v4+3TB_PS")
	AzureSku_Name_Standard_E16As_V44TB_PS  = AzureSku_Name("Standard_E16as_v4+4TB_PS")
	AzureSku_Name_Standard_E16As_V53TB_PS  = AzureSku_Name("Standard_E16as_v5+3TB_PS")
	AzureSku_Name_Standard_E16As_V54TB_PS  = AzureSku_Name("Standard_E16as_v5+4TB_PS")
	AzureSku_Name_Standard_E16D_V4         = AzureSku_Name("Standard_E16d_v4")
	AzureSku_Name_Standard_E16D_V5         = AzureSku_Name("Standard_E16d_v5")
	AzureSku_Name_Standard_E16S_V43TB_PS   = AzureSku_Name("Standard_E16s_v4+3TB_PS")
	AzureSku_Name_Standard_E16S_V44TB_PS   = AzureSku_Name("Standard_E16s_v4+4TB_PS")
	AzureSku_Name_Standard_E16S_V53TB_PS   = AzureSku_Name("Standard_E16s_v5+3TB_PS")
	AzureSku_Name_Standard_E16S_V54TB_PS   = AzureSku_Name("Standard_E16s_v5+4TB_PS")
	AzureSku_Name_Standard_E2A_V4          = AzureSku_Name("Standard_E2a_v4")
	AzureSku_Name_Standard_E2Ads_V5        = AzureSku_Name("Standard_E2ads_v5")
	AzureSku_Name_Standard_E2D_V4          = AzureSku_Name("Standard_E2d_v4")
	AzureSku_Name_Standard_E2D_V5          = AzureSku_Name("Standard_E2d_v5")
	AzureSku_Name_Standard_E4A_V4          = AzureSku_Name("Standard_E4a_v4")
	AzureSku_Name_Standard_E4Ads_V5        = AzureSku_Name("Standard_E4ads_v5")
	AzureSku_Name_Standard_E4D_V4          = AzureSku_Name("Standard_E4d_v4")
	AzureSku_Name_Standard_E4D_V5          = AzureSku_Name("Standard_E4d_v5")
	AzureSku_Name_Standard_E64I_V3         = AzureSku_Name("Standard_E64i_v3")
	AzureSku_Name_Standard_E80Ids_V4       = AzureSku_Name("Standard_E80ids_v4")
	AzureSku_Name_Standard_E8A_V4          = AzureSku_Name("Standard_E8a_v4")
	AzureSku_Name_Standard_E8Ads_V5        = AzureSku_Name("Standard_E8ads_v5")
	AzureSku_Name_Standard_E8As_V41TB_PS   = AzureSku_Name("Standard_E8as_v4+1TB_PS")
	AzureSku_Name_Standard_E8As_V42TB_PS   = AzureSku_Name("Standard_E8as_v4+2TB_PS")
	AzureSku_Name_Standard_E8As_V51TB_PS   = AzureSku_Name("Standard_E8as_v5+1TB_PS")
	AzureSku_Name_Standard_E8As_V52TB_PS   = AzureSku_Name("Standard_E8as_v5+2TB_PS")
	AzureSku_Name_Standard_E8D_V4          = AzureSku_Name("Standard_E8d_v4")
	AzureSku_Name_Standard_E8D_V5          = AzureSku_Name("Standard_E8d_v5")
	AzureSku_Name_Standard_E8S_V41TB_PS    = AzureSku_Name("Standard_E8s_v4+1TB_PS")
	AzureSku_Name_Standard_E8S_V42TB_PS    = AzureSku_Name("Standard_E8s_v4+2TB_PS")
	AzureSku_Name_Standard_E8S_V51TB_PS    = AzureSku_Name("Standard_E8s_v5+1TB_PS")
	AzureSku_Name_Standard_E8S_V52TB_PS    = AzureSku_Name("Standard_E8s_v5+2TB_PS")
	AzureSku_Name_Standard_EC16Ads_V5      = AzureSku_Name("Standard_EC16ads_v5")
	AzureSku_Name_Standard_EC16As_V53TB_PS = AzureSku_Name("Standard_EC16as_v5+3TB_PS")
	AzureSku_Name_Standard_EC16As_V54TB_PS = AzureSku_Name("Standard_EC16as_v5+4TB_PS")
	AzureSku_Name_Standard_EC8Ads_V5       = AzureSku_Name("Standard_EC8ads_v5")
	AzureSku_Name_Standard_EC8As_V51TB_PS  = AzureSku_Name("Standard_EC8as_v5+1TB_PS")
	AzureSku_Name_Standard_EC8As_V52TB_PS  = AzureSku_Name("Standard_EC8as_v5+2TB_PS")
	AzureSku_Name_Standard_L16As_V3        = AzureSku_Name("Standard_L16as_v3")
	AzureSku_Name_Standard_L16S            = AzureSku_Name("Standard_L16s")
	AzureSku_Name_Standard_L16S_V2         = AzureSku_Name("Standard_L16s_v2")
	AzureSku_Name_Standard_L16S_V3         = AzureSku_Name("Standard_L16s_v3")
	AzureSku_Name_Standard_L32As_V3        = AzureSku_Name("Standard_L32as_v3")
	AzureSku_Name_Standard_L32S_V3         = AzureSku_Name("Standard_L32s_v3")
	AzureSku_Name_Standard_L4S             = AzureSku_Name("Standard_L4s")
	AzureSku_Name_Standard_L8As_V3         = AzureSku_Name("Standard_L8as_v3")
	AzureSku_Name_Standard_L8S             = AzureSku_Name("Standard_L8s")
	AzureSku_Name_Standard_L8S_V2          = AzureSku_Name("Standard_L8s_v2")
	AzureSku_Name_Standard_L8S_V3          = AzureSku_Name("Standard_L8s_v3")
)

// Mapping from string to AzureSku_Name
var azureSku_Name_Values = map[string]AzureSku_Name{
	"dev(no sla)_standard_d11_v2": AzureSku_Name_DevNoSLA_Standard_D11_V2,
	"dev(no sla)_standard_e2a_v4": AzureSku_Name_DevNoSLA_Standard_E2A_V4,
	"standard_d11_v2":             AzureSku_Name_Standard_D11_V2,
	"standard_d12_v2":             AzureSku_Name_Standard_D12_V2,
	"standard_d13_v2":             AzureSku_Name_Standard_D13_V2,
	"standard_d14_v2":             AzureSku_Name_Standard_D14_V2,
	"standard_d16d_v5":            AzureSku_Name_Standard_D16D_V5,
	"standard_d32d_v4":            AzureSku_Name_Standard_D32D_V4,
	"standard_d32d_v5":            AzureSku_Name_Standard_D32D_V5,
	"standard_ds13_v2+1tb_ps":     AzureSku_Name_Standard_DS13_V21TB_PS,
	"standard_ds13_v2+2tb_ps":     AzureSku_Name_Standard_DS13_V22TB_PS,
	"standard_ds14_v2+3tb_ps":     AzureSku_Name_Standard_DS14_V23TB_PS,
	"standard_ds14_v2+4tb_ps":     AzureSku_Name_Standard_DS14_V24TB_PS,
	"standard_e16a_v4":            AzureSku_Name_Standard_E16A_V4,
	"standard_e16ads_v5":          AzureSku_Name_Standard_E16Ads_V5,
	"standard_e16as_v4+3tb_ps":    AzureSku_Name_Standard_E16As_V43TB_PS,
	"standard_e16as_v4+4tb_ps":    AzureSku_Name_Standard_E16As_V44TB_PS,
	"standard_e16as_v5+3tb_ps":    AzureSku_Name_Standard_E16As_V53TB_PS,
	"standard_e16as_v5+4tb_ps":    AzureSku_Name_Standard_E16As_V54TB_PS,
	"standard_e16d_v4":            AzureSku_Name_Standard_E16D_V4,
	"standard_e16d_v5":            AzureSku_Name_Standard_E16D_V5,
	"standard_e16s_v4+3tb_ps":     AzureSku_Name_Standard_E16S_V43TB_PS,
	"standard_e16s_v4+4tb_ps":     AzureSku_Name_Standard_E16S_V44TB_PS,
	"standard_e16s_v5+3tb_ps":     AzureSku_Name_Standard_E16S_V53TB_PS,
	"standard_e16s_v5+4tb_ps":     AzureSku_Name_Standard_E16S_V54TB_PS,
	"standard_e2a_v4":             AzureSku_Name_Standard_E2A_V4,
	"standard_e2ads_v5":           AzureSku_Name_Standard_E2Ads_V5,
	"standard_e2d_v4":             AzureSku_Name_Standard_E2D_V4,
	"standard_e2d_v5":             AzureSku_Name_Standard_E2D_V5,
	"standard_e4a_v4":             AzureSku_Name_Standard_E4A_V4,
	"standard_e4ads_v5":           AzureSku_Name_Standard_E4Ads_V5,
	"standard_e4d_v4":             AzureSku_Name_Standard_E4D_V4,
	"standard_e4d_v5":             AzureSku_Name_Standard_E4D_V5,
	"standard_e64i_v3":            AzureSku_Name_Standard_E64I_V3,
	"standard_e80ids_v4":          AzureSku_Name_Standard_E80Ids_V4,
	"standard_e8a_v4":             AzureSku_Name_Standard_E8A_V4,
	"standard_e8ads_v5":           AzureSku_Name_Standard_E8Ads_V5,
	"standard_e8as_v4+1tb_ps":     AzureSku_Name_Standard_E8As_V41TB_PS,
	"standard_e8as_v4+2tb_ps":     AzureSku_Name_Standard_E8As_V42TB_PS,
	"standard_e8as_v5+1tb_ps":     AzureSku_Name_Standard_E8As_V51TB_PS,
	"standard_e8as_v5+2tb_ps":     AzureSku_Name_Standard_E8As_V52TB_PS,
	"standard_e8d_v4":             AzureSku_Name_Standard_E8D_V4,
	"standard_e8d_v5":             AzureSku_Name_Standard_E8D_V5,
	"standard_e8s_v4+1tb_ps":      AzureSku_Name_Standard_E8S_V41TB_PS,
	"standard_e8s_v4+2tb_ps":      AzureSku_Name_Standard_E8S_V42TB_PS,
	"standard_e8s_v5+1tb_ps":      AzureSku_Name_Standard_E8S_V51TB_PS,
	"standard_e8s_v5+2tb_ps":      AzureSku_Name_Standard_E8S_V52TB_PS,
	"standard_ec16ads_v5":         AzureSku_Name_Standard_EC16Ads_V5,
	"standard_ec16as_v5+3tb_ps":   AzureSku_Name_Standard_EC16As_V53TB_PS,
	"standard_ec16as_v5+4tb_ps":   AzureSku_Name_Standard_EC16As_V54TB_PS,
	"standard_ec8ads_v5":          AzureSku_Name_Standard_EC8Ads_V5,
	"standard_ec8as_v5+1tb_ps":    AzureSku_Name_Standard_EC8As_V51TB_PS,
	"standard_ec8as_v5+2tb_ps":    AzureSku_Name_Standard_EC8As_V52TB_PS,
	"standard_l16as_v3":           AzureSku_Name_Standard_L16As_V3,
	"standard_l16s":               AzureSku_Name_Standard_L16S,
	"standard_l16s_v2":            AzureSku_Name_Standard_L16S_V2,
	"standard_l16s_v3":            AzureSku_Name_Standard_L16S_V3,
	"standard_l32as_v3":           AzureSku_Name_Standard_L32As_V3,
	"standard_l32s_v3":            AzureSku_Name_Standard_L32S_V3,
	"standard_l4s":                AzureSku_Name_Standard_L4S,
	"standard_l8as_v3":            AzureSku_Name_Standard_L8As_V3,
	"standard_l8s":                AzureSku_Name_Standard_L8S,
	"standard_l8s_v2":             AzureSku_Name_Standard_L8S_V2,
	"standard_l8s_v3":             AzureSku_Name_Standard_L8S_V3,
}

// +kubebuilder:validation:Enum={"Basic","Standard"}
type AzureSku_Tier string

const (
	AzureSku_Tier_Basic    = AzureSku_Tier("Basic")
	AzureSku_Tier_Standard = AzureSku_Tier("Standard")
)

// Mapping from string to AzureSku_Tier
var azureSku_Tier_Values = map[string]AzureSku_Tier{
	"basic":    AzureSku_Tier_Basic,
	"standard": AzureSku_Tier_Standard,
}

// +kubebuilder:validation:Enum={"V2","V3"}
type ClusterProperties_EngineType string

const (
	ClusterProperties_EngineType_V2 = ClusterProperties_EngineType("V2")
	ClusterProperties_EngineType_V3 = ClusterProperties_EngineType("V3")
)

// Mapping from string to ClusterProperties_EngineType
var clusterProperties_EngineType_Values = map[string]ClusterProperties_EngineType{
	"v2": ClusterProperties_EngineType_V2,
	"v3": ClusterProperties_EngineType_V3,
}

// +kubebuilder:validation:Enum={"DualStack","IPv4"}
type ClusterProperties_PublicIPType string

const (
	ClusterProperties_PublicIPType_DualStack = ClusterProperties_PublicIPType("DualStack")
	ClusterProperties_PublicIPType_IPv4      = ClusterProperties_PublicIPType("IPv4")
)

// Mapping from string to ClusterProperties_PublicIPType
var clusterProperties_PublicIPType_Values = map[string]ClusterProperties_PublicIPType{
	"dualstack": ClusterProperties_PublicIPType_DualStack,
	"ipv4":      ClusterProperties_PublicIPType_IPv4,
}

// +kubebuilder:validation:Enum={"Disabled","Enabled"}
type ClusterProperties_PublicNetworkAccess string

const (
	ClusterProperties_PublicNetworkAccess_Disabled = ClusterProperties_PublicNetworkAccess("Disabled")
	ClusterProperties_PublicNetworkAccess_Enabled  = ClusterProperties_PublicNetworkAccess("Enabled")
)

// Mapping from string to ClusterProperties_PublicNetworkAccess
var clusterProperties_PublicNetworkAccess_Values = map[string]ClusterProperties_PublicNetworkAccess{
	"disabled": ClusterProperties_PublicNetworkAccess_Disabled,
	"enabled":  ClusterProperties_PublicNetworkAccess_Enabled,
}

// +kubebuilder:validation:Enum={"Disabled","Enabled"}
type ClusterProperties_RestrictOutboundNetworkAccess string

const (
	ClusterProperties_RestrictOutboundNetworkAccess_Disabled = ClusterProperties_RestrictOutboundNetworkAccess("Disabled")
	ClusterProperties_RestrictOutboundNetworkAccess_Enabled  = ClusterProperties_RestrictOutboundNetworkAccess("Enabled")
)

// Mapping from string to ClusterProperties_RestrictOutboundNetworkAccess
var clusterProperties_RestrictOutboundNetworkAccess_Values = map[string]ClusterProperties_RestrictOutboundNetworkAccess{
	"disabled": ClusterProperties_RestrictOutboundNetworkAccess_Disabled,
	"enabled":  ClusterProperties_RestrictOutboundNetworkAccess_Enabled,
}

// +kubebuilder:validation:Enum={"None","SystemAssigned","SystemAssigned, UserAssigned","UserAssigned"}
type Identity_Type string

const (
	Identity_Type_None                       = Identity_Type("None")
	Identity_Type_SystemAssigned             = Identity_Type("SystemAssigned")
	Identity_Type_SystemAssignedUserAssigned = Identity_Type("SystemAssigned, UserAssigned")
	Identity_Type_UserAssigned               = Identity_Type("UserAssigned")
)

// Mapping from string to Identity_Type
var identity_Type_Values = map[string]Identity_Type{
	"none":                         Identity_Type_None,
	"systemassigned":               Identity_Type_SystemAssigned,
	"systemassigned, userassigned": Identity_Type_SystemAssignedUserAssigned,
	"userassigned":                 Identity_Type_UserAssigned,
}

// Properties of the key vault.
type KeyVaultProperties struct {
	// KeyName: The name of the key vault key.
	KeyName *string `json:"keyName,omitempty"`

	// KeyVaultUri: The Uri of the key vault.
	KeyVaultUri *string `json:"keyVaultUri,omitempty"`

	// KeyVersion: The version of the key vault key.
	KeyVersion *string `json:"keyVersion,omitempty"`

	// UserIdentity: The user assigned identity (ARM resource id) that has access to the key.
	UserIdentity *string `json:"userIdentity,omitempty"`
}

// The list of language extension objects.
type LanguageExtensionsList struct {
	// Value: The list of language extensions.
	Value []LanguageExtension `json:"value,omitempty"`
}

// A class that contains the optimized auto scale definition.
type OptimizedAutoscale struct {
	// IsEnabled: A boolean value that indicate if the optimized autoscale feature is enabled or not.
	IsEnabled *bool `json:"isEnabled,omitempty"`

	// Maximum: Maximum allowed instances count.
	Maximum *int `json:"maximum,omitempty"`

	// Minimum: Minimum allowed instances count.
	Minimum *int `json:"minimum,omitempty"`

	// Version: The version of the template defined, for instance 1.
	Version *int `json:"version,omitempty"`
}

// Represents a tenant ID that is trusted by the cluster.
type TrustedExternalTenant struct {
	// Value: GUID representing an external tenant.
	Value *string `json:"value,omitempty"`
}

// Information about the user assigned identity for the resource
type UserAssignedIdentityDetails struct {
}

// A class that contains virtual network definition.
type VirtualNetworkConfiguration struct {
	// DataManagementPublicIpId: Data management's service public IP address resource id.
	DataManagementPublicIpId *string `json:"dataManagementPublicIpId,omitempty"`

	// EnginePublicIpId: Engine service's public IP address resource id.
	EnginePublicIpId *string `json:"enginePublicIpId,omitempty"`

	// State: When enabled, the cluster is deployed into the configured subnet, when disabled it will be removed from the
	// subnet.
	State *VirtualNetworkConfiguration_State `json:"state,omitempty"`

	// SubnetId: The subnet resource id.
	SubnetId *string `json:"subnetId,omitempty"`
}

// The language extension object.
type LanguageExtension struct {
	// LanguageExtensionCustomImageName: The language extension custom image name.
	LanguageExtensionCustomImageName *string `json:"languageExtensionCustomImageName,omitempty"`

	// LanguageExtensionImageName: The language extension image name.
	LanguageExtensionImageName *LanguageExtensionImageName `json:"languageExtensionImageName,omitempty"`

	// LanguageExtensionName: The language extension name.
	LanguageExtensionName *LanguageExtensionName `json:"languageExtensionName,omitempty"`
}

// +kubebuilder:validation:Enum={"Disabled","Enabled"}
type VirtualNetworkConfiguration_State string

const (
	VirtualNetworkConfiguration_State_Disabled = VirtualNetworkConfiguration_State("Disabled")
	VirtualNetworkConfiguration_State_Enabled  = VirtualNetworkConfiguration_State("Enabled")
)

// Mapping from string to VirtualNetworkConfiguration_State
var virtualNetworkConfiguration_State_Values = map[string]VirtualNetworkConfiguration_State{
	"disabled": VirtualNetworkConfiguration_State_Disabled,
	"enabled":  VirtualNetworkConfiguration_State_Enabled,
}

// Language extension image name.
// +kubebuilder:validation:Enum={"Python3_10_8","Python3_10_8_DL","Python3_6_5","PythonCustomImage","R"}
type LanguageExtensionImageName string

const (
	LanguageExtensionImageName_Python3_10_8      = LanguageExtensionImageName("Python3_10_8")
	LanguageExtensionImageName_Python3_10_8_DL   = LanguageExtensionImageName("Python3_10_8_DL")
	LanguageExtensionImageName_Python3_6_5       = LanguageExtensionImageName("Python3_6_5")
	LanguageExtensionImageName_PythonCustomImage = LanguageExtensionImageName("PythonCustomImage")
	LanguageExtensionImageName_R                 = LanguageExtensionImageName("R")
)

// Mapping from string to LanguageExtensionImageName
var languageExtensionImageName_Values = map[string]LanguageExtensionImageName{
	"python3_10_8":      LanguageExtensionImageName_Python3_10_8,
	"python3_10_8_dl":   LanguageExtensionImageName_Python3_10_8_DL,
	"python3_6_5":       LanguageExtensionImageName_Python3_6_5,
	"pythoncustomimage": LanguageExtensionImageName_PythonCustomImage,
	"r":                 LanguageExtensionImageName_R,
}

// Language extension that can run within KQL query.
// +kubebuilder:validation:Enum={"PYTHON","R"}
type LanguageExtensionName string

const (
	LanguageExtensionName_PYTHON = LanguageExtensionName("PYTHON")
	LanguageExtensionName_R      = LanguageExtensionName("R")
)

// Mapping from string to LanguageExtensionName
var languageExtensionName_Values = map[string]LanguageExtensionName{
	"python": LanguageExtensionName_PYTHON,
	"r":      LanguageExtensionName_R,
}
