1package search
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// AdminKeyKind enumerates the values for admin key kind.
10type AdminKeyKind string
11
12const (
13	// Primary ...
14	Primary AdminKeyKind = "primary"
15	// Secondary ...
16	Secondary AdminKeyKind = "secondary"
17)
18
19// PossibleAdminKeyKindValues returns an array of possible values for the AdminKeyKind const type.
20func PossibleAdminKeyKindValues() []AdminKeyKind {
21	return []AdminKeyKind{Primary, Secondary}
22}
23
24// HostingMode enumerates the values for hosting mode.
25type HostingMode string
26
27const (
28	// Default ...
29	Default HostingMode = "default"
30	// HighDensity ...
31	HighDensity HostingMode = "highDensity"
32)
33
34// PossibleHostingModeValues returns an array of possible values for the HostingMode const type.
35func PossibleHostingModeValues() []HostingMode {
36	return []HostingMode{Default, HighDensity}
37}
38
39// IdentityType enumerates the values for identity type.
40type IdentityType string
41
42const (
43	// None ...
44	None IdentityType = "None"
45	// SystemAssigned ...
46	SystemAssigned IdentityType = "SystemAssigned"
47)
48
49// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
50func PossibleIdentityTypeValues() []IdentityType {
51	return []IdentityType{None, SystemAssigned}
52}
53
54// ProvisioningState enumerates the values for provisioning state.
55type ProvisioningState string
56
57const (
58	// Failed ...
59	Failed ProvisioningState = "failed"
60	// Provisioning ...
61	Provisioning ProvisioningState = "provisioning"
62	// Succeeded ...
63	Succeeded ProvisioningState = "succeeded"
64)
65
66// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
67func PossibleProvisioningStateValues() []ProvisioningState {
68	return []ProvisioningState{Failed, Provisioning, Succeeded}
69}
70
71// ServiceStatus enumerates the values for service status.
72type ServiceStatus string
73
74const (
75	// ServiceStatusDegraded ...
76	ServiceStatusDegraded ServiceStatus = "degraded"
77	// ServiceStatusDeleting ...
78	ServiceStatusDeleting ServiceStatus = "deleting"
79	// ServiceStatusDisabled ...
80	ServiceStatusDisabled ServiceStatus = "disabled"
81	// ServiceStatusError ...
82	ServiceStatusError ServiceStatus = "error"
83	// ServiceStatusProvisioning ...
84	ServiceStatusProvisioning ServiceStatus = "provisioning"
85	// ServiceStatusRunning ...
86	ServiceStatusRunning ServiceStatus = "running"
87)
88
89// PossibleServiceStatusValues returns an array of possible values for the ServiceStatus const type.
90func PossibleServiceStatusValues() []ServiceStatus {
91	return []ServiceStatus{ServiceStatusDegraded, ServiceStatusDeleting, ServiceStatusDisabled, ServiceStatusError, ServiceStatusProvisioning, ServiceStatusRunning}
92}
93
94// SkuName enumerates the values for sku name.
95type SkuName string
96
97const (
98	// Basic ...
99	Basic SkuName = "basic"
100	// Free ...
101	Free SkuName = "free"
102	// Standard ...
103	Standard SkuName = "standard"
104	// Standard2 ...
105	Standard2 SkuName = "standard2"
106	// Standard3 ...
107	Standard3 SkuName = "standard3"
108	// StorageOptimizedL1 ...
109	StorageOptimizedL1 SkuName = "storage_optimized_l1"
110	// StorageOptimizedL2 ...
111	StorageOptimizedL2 SkuName = "storage_optimized_l2"
112)
113
114// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
115func PossibleSkuNameValues() []SkuName {
116	return []SkuName{Basic, Free, Standard, Standard2, Standard3, StorageOptimizedL1, StorageOptimizedL2}
117}
118
119// UnavailableNameReason enumerates the values for unavailable name reason.
120type UnavailableNameReason string
121
122const (
123	// AlreadyExists ...
124	AlreadyExists UnavailableNameReason = "AlreadyExists"
125	// Invalid ...
126	Invalid UnavailableNameReason = "Invalid"
127)
128
129// PossibleUnavailableNameReasonValues returns an array of possible values for the UnavailableNameReason const type.
130func PossibleUnavailableNameReasonValues() []UnavailableNameReason {
131	return []UnavailableNameReason{AlreadyExists, Invalid}
132}
133