1package qnamaker
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// EnvironmentType enumerates the values for environment type.
10type EnvironmentType string
11
12const (
13	// Prod ...
14	Prod EnvironmentType = "Prod"
15	// Test ...
16	Test EnvironmentType = "Test"
17)
18
19// PossibleEnvironmentTypeValues returns an array of possible values for the EnvironmentType const type.
20func PossibleEnvironmentTypeValues() []EnvironmentType {
21	return []EnvironmentType{Prod, Test}
22}
23
24// ErrorCodeType enumerates the values for error code type.
25type ErrorCodeType string
26
27const (
28	// BadArgument ...
29	BadArgument ErrorCodeType = "BadArgument"
30	// EndpointKeysError ...
31	EndpointKeysError ErrorCodeType = "EndpointKeysError"
32	// ExtractionFailure ...
33	ExtractionFailure ErrorCodeType = "ExtractionFailure"
34	// Forbidden ...
35	Forbidden ErrorCodeType = "Forbidden"
36	// KbNotFound ...
37	KbNotFound ErrorCodeType = "KbNotFound"
38	// NotFound ...
39	NotFound ErrorCodeType = "NotFound"
40	// OperationNotFound ...
41	OperationNotFound ErrorCodeType = "OperationNotFound"
42	// QnaRuntimeError ...
43	QnaRuntimeError ErrorCodeType = "QnaRuntimeError"
44	// QuotaExceeded ...
45	QuotaExceeded ErrorCodeType = "QuotaExceeded"
46	// ServiceError ...
47	ServiceError ErrorCodeType = "ServiceError"
48	// SKULimitExceeded ...
49	SKULimitExceeded ErrorCodeType = "SKULimitExceeded"
50	// Unauthorized ...
51	Unauthorized ErrorCodeType = "Unauthorized"
52	// Unspecified ...
53	Unspecified ErrorCodeType = "Unspecified"
54	// ValidationFailure ...
55	ValidationFailure ErrorCodeType = "ValidationFailure"
56)
57
58// PossibleErrorCodeTypeValues returns an array of possible values for the ErrorCodeType const type.
59func PossibleErrorCodeTypeValues() []ErrorCodeType {
60	return []ErrorCodeType{BadArgument, EndpointKeysError, ExtractionFailure, Forbidden, KbNotFound, NotFound, OperationNotFound, QnaRuntimeError, QuotaExceeded, ServiceError, SKULimitExceeded, Unauthorized, Unspecified, ValidationFailure}
61}
62
63// OperationStateType enumerates the values for operation state type.
64type OperationStateType string
65
66const (
67	// Failed ...
68	Failed OperationStateType = "Failed"
69	// NotStarted ...
70	NotStarted OperationStateType = "NotStarted"
71	// Running ...
72	Running OperationStateType = "Running"
73	// Succeeded ...
74	Succeeded OperationStateType = "Succeeded"
75)
76
77// PossibleOperationStateTypeValues returns an array of possible values for the OperationStateType const type.
78func PossibleOperationStateTypeValues() []OperationStateType {
79	return []OperationStateType{Failed, NotStarted, Running, Succeeded}
80}
81