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// RebootType enumerates the values for reboot type. 54type RebootType string 55 56const ( 57 // AllNodes ... 58 AllNodes RebootType = "AllNodes" 59 // PrimaryNode ... 60 PrimaryNode RebootType = "PrimaryNode" 61 // SecondaryNode ... 62 SecondaryNode RebootType = "SecondaryNode" 63) 64 65// PossibleRebootTypeValues returns an array of possible values for the RebootType const type. 66func PossibleRebootTypeValues() []RebootType { 67 return []RebootType{AllNodes, PrimaryNode, SecondaryNode} 68} 69 70// ReplicationRole enumerates the values for replication role. 71type ReplicationRole string 72 73const ( 74 // ReplicationRolePrimary ... 75 ReplicationRolePrimary ReplicationRole = "Primary" 76 // ReplicationRoleSecondary ... 77 ReplicationRoleSecondary ReplicationRole = "Secondary" 78) 79 80// PossibleReplicationRoleValues returns an array of possible values for the ReplicationRole const type. 81func PossibleReplicationRoleValues() []ReplicationRole { 82 return []ReplicationRole{ReplicationRolePrimary, ReplicationRoleSecondary} 83} 84 85// SkuFamily enumerates the values for sku family. 86type SkuFamily string 87 88const ( 89 // C ... 90 C SkuFamily = "C" 91 // P ... 92 P SkuFamily = "P" 93) 94 95// PossibleSkuFamilyValues returns an array of possible values for the SkuFamily const type. 96func PossibleSkuFamilyValues() []SkuFamily { 97 return []SkuFamily{C, P} 98} 99 100// SkuName enumerates the values for sku name. 101type SkuName string 102 103const ( 104 // Basic ... 105 Basic SkuName = "Basic" 106 // Premium ... 107 Premium SkuName = "Premium" 108 // Standard ... 109 Standard SkuName = "Standard" 110) 111 112// PossibleSkuNameValues returns an array of possible values for the SkuName const type. 113func PossibleSkuNameValues() []SkuName { 114 return []SkuName{Basic, Premium, Standard} 115} 116