1package search
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20// AdminKeyKind enumerates the values for admin key kind.
21type AdminKeyKind string
22
23const (
24	// Primary ...
25	Primary AdminKeyKind = "primary"
26	// Secondary ...
27	Secondary AdminKeyKind = "secondary"
28)
29
30// PossibleAdminKeyKindValues returns an array of possible values for the AdminKeyKind const type.
31func PossibleAdminKeyKindValues() []AdminKeyKind {
32	return []AdminKeyKind{Primary, Secondary}
33}
34
35// HostingMode enumerates the values for hosting mode.
36type HostingMode string
37
38const (
39	// Default ...
40	Default HostingMode = "default"
41	// HighDensity ...
42	HighDensity HostingMode = "highDensity"
43)
44
45// PossibleHostingModeValues returns an array of possible values for the HostingMode const type.
46func PossibleHostingModeValues() []HostingMode {
47	return []HostingMode{Default, HighDensity}
48}
49
50// IdentityType enumerates the values for identity type.
51type IdentityType string
52
53const (
54	// None ...
55	None IdentityType = "None"
56	// SystemAssigned ...
57	SystemAssigned IdentityType = "SystemAssigned"
58)
59
60// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
61func PossibleIdentityTypeValues() []IdentityType {
62	return []IdentityType{None, SystemAssigned}
63}
64
65// ProvisioningState enumerates the values for provisioning state.
66type ProvisioningState string
67
68const (
69	// Failed ...
70	Failed ProvisioningState = "failed"
71	// Provisioning ...
72	Provisioning ProvisioningState = "provisioning"
73	// Succeeded ...
74	Succeeded ProvisioningState = "succeeded"
75)
76
77// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
78func PossibleProvisioningStateValues() []ProvisioningState {
79	return []ProvisioningState{Failed, Provisioning, Succeeded}
80}
81
82// ServiceStatus enumerates the values for service status.
83type ServiceStatus string
84
85const (
86	// ServiceStatusDegraded ...
87	ServiceStatusDegraded ServiceStatus = "degraded"
88	// ServiceStatusDeleting ...
89	ServiceStatusDeleting ServiceStatus = "deleting"
90	// ServiceStatusDisabled ...
91	ServiceStatusDisabled ServiceStatus = "disabled"
92	// ServiceStatusError ...
93	ServiceStatusError ServiceStatus = "error"
94	// ServiceStatusProvisioning ...
95	ServiceStatusProvisioning ServiceStatus = "provisioning"
96	// ServiceStatusRunning ...
97	ServiceStatusRunning ServiceStatus = "running"
98)
99
100// PossibleServiceStatusValues returns an array of possible values for the ServiceStatus const type.
101func PossibleServiceStatusValues() []ServiceStatus {
102	return []ServiceStatus{ServiceStatusDegraded, ServiceStatusDeleting, ServiceStatusDisabled, ServiceStatusError, ServiceStatusProvisioning, ServiceStatusRunning}
103}
104
105// SkuName enumerates the values for sku name.
106type SkuName string
107
108const (
109	// Basic ...
110	Basic SkuName = "basic"
111	// Free ...
112	Free SkuName = "free"
113	// Standard ...
114	Standard SkuName = "standard"
115	// Standard2 ...
116	Standard2 SkuName = "standard2"
117	// Standard3 ...
118	Standard3 SkuName = "standard3"
119	// StorageOptimizedL1 ...
120	StorageOptimizedL1 SkuName = "storage_optimized_l1"
121	// StorageOptimizedL2 ...
122	StorageOptimizedL2 SkuName = "storage_optimized_l2"
123)
124
125// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
126func PossibleSkuNameValues() []SkuName {
127	return []SkuName{Basic, Free, Standard, Standard2, Standard3, StorageOptimizedL1, StorageOptimizedL2}
128}
129
130// UnavailableNameReason enumerates the values for unavailable name reason.
131type UnavailableNameReason string
132
133const (
134	// AlreadyExists ...
135	AlreadyExists UnavailableNameReason = "AlreadyExists"
136	// Invalid ...
137	Invalid UnavailableNameReason = "Invalid"
138)
139
140// PossibleUnavailableNameReasonValues returns an array of possible values for the UnavailableNameReason const type.
141func PossibleUnavailableNameReasonValues() []UnavailableNameReason {
142	return []UnavailableNameReason{AlreadyExists, Invalid}
143}
144