1package signalr 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// ACLAction enumerates the values for acl action. 10type ACLAction string 11 12const ( 13 // Allow ... 14 Allow ACLAction = "Allow" 15 // Deny ... 16 Deny ACLAction = "Deny" 17) 18 19// PossibleACLActionValues returns an array of possible values for the ACLAction const type. 20func PossibleACLActionValues() []ACLAction { 21 return []ACLAction{Allow, Deny} 22} 23 24// FeatureFlags enumerates the values for feature flags. 25type FeatureFlags string 26 27const ( 28 // EnableConnectivityLogs ... 29 EnableConnectivityLogs FeatureFlags = "EnableConnectivityLogs" 30 // EnableMessagingLogs ... 31 EnableMessagingLogs FeatureFlags = "EnableMessagingLogs" 32 // ServiceMode ... 33 ServiceMode FeatureFlags = "ServiceMode" 34) 35 36// PossibleFeatureFlagsValues returns an array of possible values for the FeatureFlags const type. 37func PossibleFeatureFlagsValues() []FeatureFlags { 38 return []FeatureFlags{EnableConnectivityLogs, EnableMessagingLogs, ServiceMode} 39} 40 41// KeyType enumerates the values for key type. 42type KeyType string 43 44const ( 45 // Primary ... 46 Primary KeyType = "Primary" 47 // Secondary ... 48 Secondary KeyType = "Secondary" 49) 50 51// PossibleKeyTypeValues returns an array of possible values for the KeyType const type. 52func PossibleKeyTypeValues() []KeyType { 53 return []KeyType{Primary, Secondary} 54} 55 56// PrivateLinkServiceConnectionStatus enumerates the values for private link service connection status. 57type PrivateLinkServiceConnectionStatus string 58 59const ( 60 // Approved ... 61 Approved PrivateLinkServiceConnectionStatus = "Approved" 62 // Disconnected ... 63 Disconnected PrivateLinkServiceConnectionStatus = "Disconnected" 64 // Pending ... 65 Pending PrivateLinkServiceConnectionStatus = "Pending" 66 // Rejected ... 67 Rejected PrivateLinkServiceConnectionStatus = "Rejected" 68) 69 70// PossiblePrivateLinkServiceConnectionStatusValues returns an array of possible values for the PrivateLinkServiceConnectionStatus const type. 71func PossiblePrivateLinkServiceConnectionStatusValues() []PrivateLinkServiceConnectionStatus { 72 return []PrivateLinkServiceConnectionStatus{Approved, Disconnected, Pending, Rejected} 73} 74 75// ProvisioningState enumerates the values for provisioning state. 76type ProvisioningState string 77 78const ( 79 // Canceled ... 80 Canceled ProvisioningState = "Canceled" 81 // Creating ... 82 Creating ProvisioningState = "Creating" 83 // Deleting ... 84 Deleting ProvisioningState = "Deleting" 85 // Failed ... 86 Failed ProvisioningState = "Failed" 87 // Moving ... 88 Moving ProvisioningState = "Moving" 89 // Running ... 90 Running ProvisioningState = "Running" 91 // Succeeded ... 92 Succeeded ProvisioningState = "Succeeded" 93 // Unknown ... 94 Unknown ProvisioningState = "Unknown" 95 // Updating ... 96 Updating ProvisioningState = "Updating" 97) 98 99// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 100func PossibleProvisioningStateValues() []ProvisioningState { 101 return []ProvisioningState{Canceled, Creating, Deleting, Failed, Moving, Running, Succeeded, Unknown, Updating} 102} 103 104// RequestType enumerates the values for request type. 105type RequestType string 106 107const ( 108 // ClientConnection ... 109 ClientConnection RequestType = "ClientConnection" 110 // RESTAPI ... 111 RESTAPI RequestType = "RESTAPI" 112 // ServerConnection ... 113 ServerConnection RequestType = "ServerConnection" 114) 115 116// PossibleRequestTypeValues returns an array of possible values for the RequestType const type. 117func PossibleRequestTypeValues() []RequestType { 118 return []RequestType{ClientConnection, RESTAPI, ServerConnection} 119} 120 121// ServiceKind enumerates the values for service kind. 122type ServiceKind string 123 124const ( 125 // RawWebSockets ... 126 RawWebSockets ServiceKind = "RawWebSockets" 127 // SignalR ... 128 SignalR ServiceKind = "SignalR" 129) 130 131// PossibleServiceKindValues returns an array of possible values for the ServiceKind const type. 132func PossibleServiceKindValues() []ServiceKind { 133 return []ServiceKind{RawWebSockets, SignalR} 134} 135 136// SkuTier enumerates the values for sku tier. 137type SkuTier string 138 139const ( 140 // Basic ... 141 Basic SkuTier = "Basic" 142 // Free ... 143 Free SkuTier = "Free" 144 // Premium ... 145 Premium SkuTier = "Premium" 146 // Standard ... 147 Standard SkuTier = "Standard" 148) 149 150// PossibleSkuTierValues returns an array of possible values for the SkuTier const type. 151func PossibleSkuTierValues() []SkuTier { 152 return []SkuTier{Basic, Free, Premium, Standard} 153} 154