//go:build go1.18
// +build go1.18

// 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) AutoRest Code Generator. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

package armanalysisservices

const (
	moduleName    = "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/analysisservices/armanalysisservices"
	moduleVersion = "v1.2.0"
)

// ConnectionMode - How the read-write server's participation in the query pool is controlled.
// It can have the following values: * readOnly - indicates that the read-write server is intended not to participate in query
// operations
// * all - indicates that the read-write server can participate in query operations
// Specifying readOnly when capacity is 1 results in error.
type ConnectionMode string

const (
	ConnectionModeAll      ConnectionMode = "All"
	ConnectionModeReadOnly ConnectionMode = "ReadOnly"
)

// PossibleConnectionModeValues returns the possible values for the ConnectionMode const type.
func PossibleConnectionModeValues() []ConnectionMode {
	return []ConnectionMode{
		ConnectionModeAll,
		ConnectionModeReadOnly,
	}
}

// ManagedMode - The managed mode of the server (0 = not managed, 1 = managed).
type ManagedMode int32

const (
	ManagedModeOne  ManagedMode = 1
	ManagedModeZero ManagedMode = 0
)

// PossibleManagedModeValues returns the possible values for the ManagedMode const type.
func PossibleManagedModeValues() []ManagedMode {
	return []ManagedMode{
		ManagedModeOne,
		ManagedModeZero,
	}
}

// ProvisioningState - The current deployment state of Analysis Services resource. The provisioningState is to indicate states
// for resource provisioning.
type ProvisioningState string

const (
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStatePaused       ProvisioningState = "Paused"
	ProvisioningStatePausing      ProvisioningState = "Pausing"
	ProvisioningStatePreparing    ProvisioningState = "Preparing"
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	ProvisioningStateResuming     ProvisioningState = "Resuming"
	ProvisioningStateScaling      ProvisioningState = "Scaling"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateSuspended    ProvisioningState = "Suspended"
	ProvisioningStateSuspending   ProvisioningState = "Suspending"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

// PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
	return []ProvisioningState{
		ProvisioningStateDeleting,
		ProvisioningStateFailed,
		ProvisioningStatePaused,
		ProvisioningStatePausing,
		ProvisioningStatePreparing,
		ProvisioningStateProvisioning,
		ProvisioningStateResuming,
		ProvisioningStateScaling,
		ProvisioningStateSucceeded,
		ProvisioningStateSuspended,
		ProvisioningStateSuspending,
		ProvisioningStateUpdating,
	}
}

// SKUTier - The name of the Azure pricing tier to which the SKU applies.
type SKUTier string

const (
	SKUTierBasic       SKUTier = "Basic"
	SKUTierDevelopment SKUTier = "Development"
	SKUTierStandard    SKUTier = "Standard"
)

// PossibleSKUTierValues returns the possible values for the SKUTier const type.
func PossibleSKUTierValues() []SKUTier {
	return []SKUTier{
		SKUTierBasic,
		SKUTierDevelopment,
		SKUTierStandard,
	}
}

// ServerMonitorMode - The server monitor mode for AS server
type ServerMonitorMode int32

const (
	ServerMonitorModeOne  ServerMonitorMode = 1
	ServerMonitorModeZero ServerMonitorMode = 0
)

// PossibleServerMonitorModeValues returns the possible values for the ServerMonitorMode const type.
func PossibleServerMonitorModeValues() []ServerMonitorMode {
	return []ServerMonitorMode{
		ServerMonitorModeOne,
		ServerMonitorModeZero,
	}
}

// State - The current state of Analysis Services resource. The state is to indicate more states outside of resource provisioning.
type State string

const (
	StateDeleting     State = "Deleting"
	StateFailed       State = "Failed"
	StatePaused       State = "Paused"
	StatePausing      State = "Pausing"
	StatePreparing    State = "Preparing"
	StateProvisioning State = "Provisioning"
	StateResuming     State = "Resuming"
	StateScaling      State = "Scaling"
	StateSucceeded    State = "Succeeded"
	StateSuspended    State = "Suspended"
	StateSuspending   State = "Suspending"
	StateUpdating     State = "Updating"
)

// PossibleStateValues returns the possible values for the State const type.
func PossibleStateValues() []State {
	return []State{
		StateDeleting,
		StateFailed,
		StatePaused,
		StatePausing,
		StatePreparing,
		StateProvisioning,
		StateResuming,
		StateScaling,
		StateSucceeded,
		StateSuspended,
		StateSuspending,
		StateUpdating,
	}
}
