1package containerinstance
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// ContainerGroupIPAddressType enumerates the values for container group ip address type.
21type ContainerGroupIPAddressType string
22
23const (
24	// Private ...
25	Private ContainerGroupIPAddressType = "Private"
26	// Public ...
27	Public ContainerGroupIPAddressType = "Public"
28)
29
30// PossibleContainerGroupIPAddressTypeValues returns an array of possible values for the ContainerGroupIPAddressType const type.
31func PossibleContainerGroupIPAddressTypeValues() []ContainerGroupIPAddressType {
32	return []ContainerGroupIPAddressType{Private, Public}
33}
34
35// ContainerGroupNetworkProtocol enumerates the values for container group network protocol.
36type ContainerGroupNetworkProtocol string
37
38const (
39	// TCP ...
40	TCP ContainerGroupNetworkProtocol = "TCP"
41	// UDP ...
42	UDP ContainerGroupNetworkProtocol = "UDP"
43)
44
45// PossibleContainerGroupNetworkProtocolValues returns an array of possible values for the ContainerGroupNetworkProtocol const type.
46func PossibleContainerGroupNetworkProtocolValues() []ContainerGroupNetworkProtocol {
47	return []ContainerGroupNetworkProtocol{TCP, UDP}
48}
49
50// ContainerGroupRestartPolicy enumerates the values for container group restart policy.
51type ContainerGroupRestartPolicy string
52
53const (
54	// Always ...
55	Always ContainerGroupRestartPolicy = "Always"
56	// Never ...
57	Never ContainerGroupRestartPolicy = "Never"
58	// OnFailure ...
59	OnFailure ContainerGroupRestartPolicy = "OnFailure"
60)
61
62// PossibleContainerGroupRestartPolicyValues returns an array of possible values for the ContainerGroupRestartPolicy const type.
63func PossibleContainerGroupRestartPolicyValues() []ContainerGroupRestartPolicy {
64	return []ContainerGroupRestartPolicy{Always, Never, OnFailure}
65}
66
67// ContainerNetworkProtocol enumerates the values for container network protocol.
68type ContainerNetworkProtocol string
69
70const (
71	// ContainerNetworkProtocolTCP ...
72	ContainerNetworkProtocolTCP ContainerNetworkProtocol = "TCP"
73	// ContainerNetworkProtocolUDP ...
74	ContainerNetworkProtocolUDP ContainerNetworkProtocol = "UDP"
75)
76
77// PossibleContainerNetworkProtocolValues returns an array of possible values for the ContainerNetworkProtocol const type.
78func PossibleContainerNetworkProtocolValues() []ContainerNetworkProtocol {
79	return []ContainerNetworkProtocol{ContainerNetworkProtocolTCP, ContainerNetworkProtocolUDP}
80}
81
82// GpuSku enumerates the values for gpu sku.
83type GpuSku string
84
85const (
86	// K80 ...
87	K80 GpuSku = "K80"
88	// P100 ...
89	P100 GpuSku = "P100"
90	// V100 ...
91	V100 GpuSku = "V100"
92)
93
94// PossibleGpuSkuValues returns an array of possible values for the GpuSku const type.
95func PossibleGpuSkuValues() []GpuSku {
96	return []GpuSku{K80, P100, V100}
97}
98
99// LogAnalyticsLogType enumerates the values for log analytics log type.
100type LogAnalyticsLogType string
101
102const (
103	// ContainerInsights ...
104	ContainerInsights LogAnalyticsLogType = "ContainerInsights"
105	// ContainerInstanceLogs ...
106	ContainerInstanceLogs LogAnalyticsLogType = "ContainerInstanceLogs"
107)
108
109// PossibleLogAnalyticsLogTypeValues returns an array of possible values for the LogAnalyticsLogType const type.
110func PossibleLogAnalyticsLogTypeValues() []LogAnalyticsLogType {
111	return []LogAnalyticsLogType{ContainerInsights, ContainerInstanceLogs}
112}
113
114// OperatingSystemTypes enumerates the values for operating system types.
115type OperatingSystemTypes string
116
117const (
118	// Linux ...
119	Linux OperatingSystemTypes = "Linux"
120	// Windows ...
121	Windows OperatingSystemTypes = "Windows"
122)
123
124// PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.
125func PossibleOperatingSystemTypesValues() []OperatingSystemTypes {
126	return []OperatingSystemTypes{Linux, Windows}
127}
128
129// OperationsOrigin enumerates the values for operations origin.
130type OperationsOrigin string
131
132const (
133	// System ...
134	System OperationsOrigin = "System"
135	// User ...
136	User OperationsOrigin = "User"
137)
138
139// PossibleOperationsOriginValues returns an array of possible values for the OperationsOrigin const type.
140func PossibleOperationsOriginValues() []OperationsOrigin {
141	return []OperationsOrigin{System, User}
142}
143
144// ResourceIdentityType enumerates the values for resource identity type.
145type ResourceIdentityType string
146
147const (
148	// None ...
149	None ResourceIdentityType = "None"
150	// SystemAssigned ...
151	SystemAssigned ResourceIdentityType = "SystemAssigned"
152	// SystemAssignedUserAssigned ...
153	SystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
154	// UserAssigned ...
155	UserAssigned ResourceIdentityType = "UserAssigned"
156)
157
158// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
159func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
160	return []ResourceIdentityType{None, SystemAssigned, SystemAssignedUserAssigned, UserAssigned}
161}
162
163// Scheme enumerates the values for scheme.
164type Scheme string
165
166const (
167	// HTTP ...
168	HTTP Scheme = "http"
169	// HTTPS ...
170	HTTPS Scheme = "https"
171)
172
173// PossibleSchemeValues returns an array of possible values for the Scheme const type.
174func PossibleSchemeValues() []Scheme {
175	return []Scheme{HTTP, HTTPS}
176}
177