1package redis
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5//
6// Code generated by Microsoft (R) AutoRest Code Generator.
7// Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9// DayOfWeek enumerates the values for day of week.
10type DayOfWeek string
11
12const (
13	// Everyday ...
14	Everyday DayOfWeek = "Everyday"
15	// Friday ...
16	Friday DayOfWeek = "Friday"
17	// Monday ...
18	Monday DayOfWeek = "Monday"
19	// Saturday ...
20	Saturday DayOfWeek = "Saturday"
21	// Sunday ...
22	Sunday DayOfWeek = "Sunday"
23	// Thursday ...
24	Thursday DayOfWeek = "Thursday"
25	// Tuesday ...
26	Tuesday DayOfWeek = "Tuesday"
27	// Wednesday ...
28	Wednesday DayOfWeek = "Wednesday"
29	// Weekend ...
30	Weekend DayOfWeek = "Weekend"
31)
32
33// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
34func PossibleDayOfWeekValues() []DayOfWeek {
35	return []DayOfWeek{Everyday, Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday, Weekend}
36}
37
38// KeyType enumerates the values for key type.
39type KeyType string
40
41const (
42	// Primary ...
43	Primary KeyType = "Primary"
44	// Secondary ...
45	Secondary KeyType = "Secondary"
46)
47
48// PossibleKeyTypeValues returns an array of possible values for the KeyType const type.
49func PossibleKeyTypeValues() []KeyType {
50	return []KeyType{Primary, Secondary}
51}
52
53// ProvisioningState enumerates the values for provisioning state.
54type ProvisioningState string
55
56const (
57	// Creating ...
58	Creating ProvisioningState = "Creating"
59	// Deleting ...
60	Deleting ProvisioningState = "Deleting"
61	// Disabled ...
62	Disabled ProvisioningState = "Disabled"
63	// Failed ...
64	Failed ProvisioningState = "Failed"
65	// Linking ...
66	Linking ProvisioningState = "Linking"
67	// Provisioning ...
68	Provisioning ProvisioningState = "Provisioning"
69	// RecoveringScaleFailure ...
70	RecoveringScaleFailure ProvisioningState = "RecoveringScaleFailure"
71	// Scaling ...
72	Scaling ProvisioningState = "Scaling"
73	// Succeeded ...
74	Succeeded ProvisioningState = "Succeeded"
75	// Unlinking ...
76	Unlinking ProvisioningState = "Unlinking"
77	// Unprovisioning ...
78	Unprovisioning ProvisioningState = "Unprovisioning"
79	// Updating ...
80	Updating ProvisioningState = "Updating"
81)
82
83// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
84func PossibleProvisioningStateValues() []ProvisioningState {
85	return []ProvisioningState{Creating, Deleting, Disabled, Failed, Linking, Provisioning, RecoveringScaleFailure, Scaling, Succeeded, Unlinking, Unprovisioning, Updating}
86}
87
88// RebootType enumerates the values for reboot type.
89type RebootType string
90
91const (
92	// AllNodes ...
93	AllNodes RebootType = "AllNodes"
94	// PrimaryNode ...
95	PrimaryNode RebootType = "PrimaryNode"
96	// SecondaryNode ...
97	SecondaryNode RebootType = "SecondaryNode"
98)
99
100// PossibleRebootTypeValues returns an array of possible values for the RebootType const type.
101func PossibleRebootTypeValues() []RebootType {
102	return []RebootType{AllNodes, PrimaryNode, SecondaryNode}
103}
104
105// ReplicationRole enumerates the values for replication role.
106type ReplicationRole string
107
108const (
109	// ReplicationRolePrimary ...
110	ReplicationRolePrimary ReplicationRole = "Primary"
111	// ReplicationRoleSecondary ...
112	ReplicationRoleSecondary ReplicationRole = "Secondary"
113)
114
115// PossibleReplicationRoleValues returns an array of possible values for the ReplicationRole const type.
116func PossibleReplicationRoleValues() []ReplicationRole {
117	return []ReplicationRole{ReplicationRolePrimary, ReplicationRoleSecondary}
118}
119
120// SkuFamily enumerates the values for sku family.
121type SkuFamily string
122
123const (
124	// C ...
125	C SkuFamily = "C"
126	// P ...
127	P SkuFamily = "P"
128)
129
130// PossibleSkuFamilyValues returns an array of possible values for the SkuFamily const type.
131func PossibleSkuFamilyValues() []SkuFamily {
132	return []SkuFamily{C, P}
133}
134
135// SkuName enumerates the values for sku name.
136type SkuName string
137
138const (
139	// Basic ...
140	Basic SkuName = "Basic"
141	// Premium ...
142	Premium SkuName = "Premium"
143	// Standard ...
144	Standard SkuName = "Standard"
145)
146
147// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
148func PossibleSkuNameValues() []SkuName {
149	return []SkuName{Basic, Premium, Standard}
150}
151
152// TLSVersion enumerates the values for tls version.
153type TLSVersion string
154
155const (
156	// OneFullStopOne ...
157	OneFullStopOne TLSVersion = "1.1"
158	// OneFullStopTwo ...
159	OneFullStopTwo TLSVersion = "1.2"
160	// OneFullStopZero ...
161	OneFullStopZero TLSVersion = "1.0"
162)
163
164// PossibleTLSVersionValues returns an array of possible values for the TLSVersion const type.
165func PossibleTLSVersionValues() []TLSVersion {
166	return []TLSVersion{OneFullStopOne, OneFullStopTwo, OneFullStopZero}
167}
168