// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) Go Code Generator. DO NOT EDIT.

package armpolicyinsights

const (
	version20180701Preview string = "2018-07-01-preview"
	version20241001        string = "2024-10-01"
)

// ComplianceState - The compliance state that should be set on the resource.
type ComplianceState string

const (
	// ComplianceStateCompliant - The resource is in compliance with the policy.
	ComplianceStateCompliant ComplianceState = "Compliant"
	// ComplianceStateNonCompliant - The resource is not in compliance with the policy.
	ComplianceStateNonCompliant ComplianceState = "NonCompliant"
	// ComplianceStateUnknown - The compliance state of the resource is not known.
	ComplianceStateUnknown ComplianceState = "Unknown"
)

// PossibleComplianceStateValues returns the possible values for the ComplianceState const type.
func PossibleComplianceStateValues() []ComplianceState {
	return []ComplianceState{
		ComplianceStateCompliant,
		ComplianceStateNonCompliant,
		ComplianceStateUnknown,
	}
}

type ComponentPolicyStatesResource string

const (
	// ComponentPolicyStatesResourceLatest - latest
	ComponentPolicyStatesResourceLatest ComponentPolicyStatesResource = "latest"
)

// PossibleComponentPolicyStatesResourceValues returns the possible values for the ComponentPolicyStatesResource const type.
func PossibleComponentPolicyStatesResourceValues() []ComponentPolicyStatesResource {
	return []ComponentPolicyStatesResource{
		ComponentPolicyStatesResourceLatest,
	}
}

// CreatedByType - The kind of entity that created the resource.
type CreatedByType string

const (
	// CreatedByTypeApplication - The entity was created by an application.
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey - The entity was created by a key.
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity - The entity was created by a managed identity.
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser - The entity was created by a user.
	CreatedByTypeUser CreatedByType = "User"
)

// PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
	return []CreatedByType{
		CreatedByTypeApplication,
		CreatedByTypeKey,
		CreatedByTypeManagedIdentity,
		CreatedByTypeUser,
	}
}

// FieldRestrictionResult - The type of restriction that is imposed on the field.
type FieldRestrictionResult string

const (
	// FieldRestrictionResultAudit - The field and/or values will be audited by policy.
	FieldRestrictionResultAudit FieldRestrictionResult = "Audit"
	// FieldRestrictionResultDeny - The field and/or values will be denied by policy.
	FieldRestrictionResultDeny FieldRestrictionResult = "Deny"
	// FieldRestrictionResultRemoved - The field will be removed by policy.
	FieldRestrictionResultRemoved FieldRestrictionResult = "Removed"
	// FieldRestrictionResultRequired - The field and/or values are required by policy.
	FieldRestrictionResultRequired FieldRestrictionResult = "Required"
)

// PossibleFieldRestrictionResultValues returns the possible values for the FieldRestrictionResult const type.
func PossibleFieldRestrictionResultValues() []FieldRestrictionResult {
	return []FieldRestrictionResult{
		FieldRestrictionResultAudit,
		FieldRestrictionResultDeny,
		FieldRestrictionResultRemoved,
		FieldRestrictionResultRequired,
	}
}

type PolicyEventsResourceType string

const (
	// PolicyEventsResourceTypeDefault - default
	PolicyEventsResourceTypeDefault PolicyEventsResourceType = "default"
)

// PossiblePolicyEventsResourceTypeValues returns the possible values for the PolicyEventsResourceType const type.
func PossiblePolicyEventsResourceTypeValues() []PolicyEventsResourceType {
	return []PolicyEventsResourceType{
		PolicyEventsResourceTypeDefault,
	}
}

type PolicyStatesResource string

const (
	// PolicyStatesResourceDefault - default
	PolicyStatesResourceDefault PolicyStatesResource = "default"
	// PolicyStatesResourceLatest - latest
	PolicyStatesResourceLatest PolicyStatesResource = "latest"
)

// PossiblePolicyStatesResourceValues returns the possible values for the PolicyStatesResource const type.
func PossiblePolicyStatesResourceValues() []PolicyStatesResource {
	return []PolicyStatesResource{
		PolicyStatesResourceDefault,
		PolicyStatesResourceLatest,
	}
}

type PolicyStatesSummaryResourceType string

const (
	// PolicyStatesSummaryResourceTypeLatest - latest
	PolicyStatesSummaryResourceTypeLatest PolicyStatesSummaryResourceType = "latest"
)

// PossiblePolicyStatesSummaryResourceTypeValues returns the possible values for the PolicyStatesSummaryResourceType const type.
func PossiblePolicyStatesSummaryResourceTypeValues() []PolicyStatesSummaryResourceType {
	return []PolicyStatesSummaryResourceType{
		PolicyStatesSummaryResourceTypeLatest,
	}
}

type PolicyTrackedResourcesResourceType string

const (
	// PolicyTrackedResourcesResourceTypeDefault - default
	PolicyTrackedResourcesResourceTypeDefault PolicyTrackedResourcesResourceType = "default"
)

// PossiblePolicyTrackedResourcesResourceTypeValues returns the possible values for the PolicyTrackedResourcesResourceType const type.
func PossiblePolicyTrackedResourcesResourceTypeValues() []PolicyTrackedResourcesResourceType {
	return []PolicyTrackedResourcesResourceType{
		PolicyTrackedResourcesResourceTypeDefault,
	}
}

// ResourceDiscoveryMode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
type ResourceDiscoveryMode string

const (
	// ResourceDiscoveryModeExistingNonCompliant - Remediate resources that are already known to be non-compliant.
	ResourceDiscoveryModeExistingNonCompliant ResourceDiscoveryMode = "ExistingNonCompliant"
	// ResourceDiscoveryModeReEvaluateCompliance - Re-evaluate the compliance state of resources and then remediate the resources
	// found to be non-compliant. The resourceIds filter cannot be used in this mode.
	ResourceDiscoveryModeReEvaluateCompliance ResourceDiscoveryMode = "ReEvaluateCompliance"
)

// PossibleResourceDiscoveryModeValues returns the possible values for the ResourceDiscoveryMode const type.
func PossibleResourceDiscoveryModeValues() []ResourceDiscoveryMode {
	return []ResourceDiscoveryMode{
		ResourceDiscoveryModeExistingNonCompliant,
		ResourceDiscoveryModeReEvaluateCompliance,
	}
}
