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// ManagedIdentityType enumerates the values for managed identity type. 57type ManagedIdentityType string 58 59const ( 60 // None ... 61 None ManagedIdentityType = "None" 62 // SystemAssigned ... 63 SystemAssigned ManagedIdentityType = "SystemAssigned" 64 // UserAssigned ... 65 UserAssigned ManagedIdentityType = "UserAssigned" 66) 67 68// PossibleManagedIdentityTypeValues returns an array of possible values for the ManagedIdentityType const type. 69func PossibleManagedIdentityTypeValues() []ManagedIdentityType { 70 return []ManagedIdentityType{None, SystemAssigned, UserAssigned} 71} 72 73// PrivateLinkServiceConnectionStatus enumerates the values for private link service connection status. 74type PrivateLinkServiceConnectionStatus string 75 76const ( 77 // Approved ... 78 Approved PrivateLinkServiceConnectionStatus = "Approved" 79 // Disconnected ... 80 Disconnected PrivateLinkServiceConnectionStatus = "Disconnected" 81 // Pending ... 82 Pending PrivateLinkServiceConnectionStatus = "Pending" 83 // Rejected ... 84 Rejected PrivateLinkServiceConnectionStatus = "Rejected" 85) 86 87// PossiblePrivateLinkServiceConnectionStatusValues returns an array of possible values for the PrivateLinkServiceConnectionStatus const type. 88func PossiblePrivateLinkServiceConnectionStatusValues() []PrivateLinkServiceConnectionStatus { 89 return []PrivateLinkServiceConnectionStatus{Approved, Disconnected, Pending, Rejected} 90} 91 92// ProvisioningState enumerates the values for provisioning state. 93type ProvisioningState string 94 95const ( 96 // Canceled ... 97 Canceled ProvisioningState = "Canceled" 98 // Creating ... 99 Creating ProvisioningState = "Creating" 100 // Deleting ... 101 Deleting ProvisioningState = "Deleting" 102 // Failed ... 103 Failed ProvisioningState = "Failed" 104 // Moving ... 105 Moving ProvisioningState = "Moving" 106 // Running ... 107 Running ProvisioningState = "Running" 108 // Succeeded ... 109 Succeeded ProvisioningState = "Succeeded" 110 // Unknown ... 111 Unknown ProvisioningState = "Unknown" 112 // Updating ... 113 Updating ProvisioningState = "Updating" 114) 115 116// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 117func PossibleProvisioningStateValues() []ProvisioningState { 118 return []ProvisioningState{Canceled, Creating, Deleting, Failed, Moving, Running, Succeeded, Unknown, Updating} 119} 120 121// RequestType enumerates the values for request type. 122type RequestType string 123 124const ( 125 // ClientConnection ... 126 ClientConnection RequestType = "ClientConnection" 127 // RESTAPI ... 128 RESTAPI RequestType = "RESTAPI" 129 // ServerConnection ... 130 ServerConnection RequestType = "ServerConnection" 131) 132 133// PossibleRequestTypeValues returns an array of possible values for the RequestType const type. 134func PossibleRequestTypeValues() []RequestType { 135 return []RequestType{ClientConnection, RESTAPI, ServerConnection} 136} 137 138// ServiceKind enumerates the values for service kind. 139type ServiceKind string 140 141const ( 142 // RawWebSockets ... 143 RawWebSockets ServiceKind = "RawWebSockets" 144 // SignalR ... 145 SignalR ServiceKind = "SignalR" 146) 147 148// PossibleServiceKindValues returns an array of possible values for the ServiceKind const type. 149func PossibleServiceKindValues() []ServiceKind { 150 return []ServiceKind{RawWebSockets, SignalR} 151} 152 153// SkuTier enumerates the values for sku tier. 154type SkuTier string 155 156const ( 157 // Basic ... 158 Basic SkuTier = "Basic" 159 // Free ... 160 Free SkuTier = "Free" 161 // Premium ... 162 Premium SkuTier = "Premium" 163 // Standard ... 164 Standard SkuTier = "Standard" 165) 166 167// PossibleSkuTierValues returns an array of possible values for the SkuTier const type. 168func PossibleSkuTierValues() []SkuTier { 169 return []SkuTier{Basic, Free, Premium, Standard} 170} 171 172// UpstreamAuthType enumerates the values for upstream auth type. 173type UpstreamAuthType string 174 175const ( 176 // UpstreamAuthTypeManagedIdentity ... 177 UpstreamAuthTypeManagedIdentity UpstreamAuthType = "ManagedIdentity" 178 // UpstreamAuthTypeNone ... 179 UpstreamAuthTypeNone UpstreamAuthType = "None" 180) 181 182// PossibleUpstreamAuthTypeValues returns an array of possible values for the UpstreamAuthType const type. 183func PossibleUpstreamAuthTypeValues() []UpstreamAuthType { 184 return []UpstreamAuthType{UpstreamAuthTypeManagedIdentity, UpstreamAuthTypeNone} 185} 186