1package cdn
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// CustomDomainResourceState enumerates the values for custom domain resource state.
10type CustomDomainResourceState string
11
12const (
13	// Active ...
14	Active CustomDomainResourceState = "Active"
15	// Creating ...
16	Creating CustomDomainResourceState = "Creating"
17	// Deleting ...
18	Deleting CustomDomainResourceState = "Deleting"
19)
20
21// PossibleCustomDomainResourceStateValues returns an array of possible values for the CustomDomainResourceState const type.
22func PossibleCustomDomainResourceStateValues() []CustomDomainResourceState {
23	return []CustomDomainResourceState{Active, Creating, Deleting}
24}
25
26// CustomHTTPSProvisioningState enumerates the values for custom https provisioning state.
27type CustomHTTPSProvisioningState string
28
29const (
30	// Disabled ...
31	Disabled CustomHTTPSProvisioningState = "Disabled"
32	// Disabling ...
33	Disabling CustomHTTPSProvisioningState = "Disabling"
34	// Enabled ...
35	Enabled CustomHTTPSProvisioningState = "Enabled"
36	// Enabling ...
37	Enabling CustomHTTPSProvisioningState = "Enabling"
38	// Failed ...
39	Failed CustomHTTPSProvisioningState = "Failed"
40)
41
42// PossibleCustomHTTPSProvisioningStateValues returns an array of possible values for the CustomHTTPSProvisioningState const type.
43func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState {
44	return []CustomHTTPSProvisioningState{Disabled, Disabling, Enabled, Enabling, Failed}
45}
46
47// EndpointResourceState enumerates the values for endpoint resource state.
48type EndpointResourceState string
49
50const (
51	// EndpointResourceStateCreating ...
52	EndpointResourceStateCreating EndpointResourceState = "Creating"
53	// EndpointResourceStateDeleting ...
54	EndpointResourceStateDeleting EndpointResourceState = "Deleting"
55	// EndpointResourceStateRunning ...
56	EndpointResourceStateRunning EndpointResourceState = "Running"
57	// EndpointResourceStateStarting ...
58	EndpointResourceStateStarting EndpointResourceState = "Starting"
59	// EndpointResourceStateStopped ...
60	EndpointResourceStateStopped EndpointResourceState = "Stopped"
61	// EndpointResourceStateStopping ...
62	EndpointResourceStateStopping EndpointResourceState = "Stopping"
63)
64
65// PossibleEndpointResourceStateValues returns an array of possible values for the EndpointResourceState const type.
66func PossibleEndpointResourceStateValues() []EndpointResourceState {
67	return []EndpointResourceState{EndpointResourceStateCreating, EndpointResourceStateDeleting, EndpointResourceStateRunning, EndpointResourceStateStarting, EndpointResourceStateStopped, EndpointResourceStateStopping}
68}
69
70// GeoFilterActions enumerates the values for geo filter actions.
71type GeoFilterActions string
72
73const (
74	// Allow ...
75	Allow GeoFilterActions = "Allow"
76	// Block ...
77	Block GeoFilterActions = "Block"
78)
79
80// PossibleGeoFilterActionsValues returns an array of possible values for the GeoFilterActions const type.
81func PossibleGeoFilterActionsValues() []GeoFilterActions {
82	return []GeoFilterActions{Allow, Block}
83}
84
85// OptimizationType enumerates the values for optimization type.
86type OptimizationType string
87
88const (
89	// DynamicSiteAcceleration ...
90	DynamicSiteAcceleration OptimizationType = "DynamicSiteAcceleration"
91	// GeneralMediaStreaming ...
92	GeneralMediaStreaming OptimizationType = "GeneralMediaStreaming"
93	// GeneralWebDelivery ...
94	GeneralWebDelivery OptimizationType = "GeneralWebDelivery"
95	// LargeFileDownload ...
96	LargeFileDownload OptimizationType = "LargeFileDownload"
97	// VideoOnDemandMediaStreaming ...
98	VideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming"
99)
100
101// PossibleOptimizationTypeValues returns an array of possible values for the OptimizationType const type.
102func PossibleOptimizationTypeValues() []OptimizationType {
103	return []OptimizationType{DynamicSiteAcceleration, GeneralMediaStreaming, GeneralWebDelivery, LargeFileDownload, VideoOnDemandMediaStreaming}
104}
105
106// OriginResourceState enumerates the values for origin resource state.
107type OriginResourceState string
108
109const (
110	// OriginResourceStateActive ...
111	OriginResourceStateActive OriginResourceState = "Active"
112	// OriginResourceStateCreating ...
113	OriginResourceStateCreating OriginResourceState = "Creating"
114	// OriginResourceStateDeleting ...
115	OriginResourceStateDeleting OriginResourceState = "Deleting"
116)
117
118// PossibleOriginResourceStateValues returns an array of possible values for the OriginResourceState const type.
119func PossibleOriginResourceStateValues() []OriginResourceState {
120	return []OriginResourceState{OriginResourceStateActive, OriginResourceStateCreating, OriginResourceStateDeleting}
121}
122
123// ProfileResourceState enumerates the values for profile resource state.
124type ProfileResourceState string
125
126const (
127	// ProfileResourceStateActive ...
128	ProfileResourceStateActive ProfileResourceState = "Active"
129	// ProfileResourceStateCreating ...
130	ProfileResourceStateCreating ProfileResourceState = "Creating"
131	// ProfileResourceStateDeleting ...
132	ProfileResourceStateDeleting ProfileResourceState = "Deleting"
133	// ProfileResourceStateDisabled ...
134	ProfileResourceStateDisabled ProfileResourceState = "Disabled"
135)
136
137// PossibleProfileResourceStateValues returns an array of possible values for the ProfileResourceState const type.
138func PossibleProfileResourceStateValues() []ProfileResourceState {
139	return []ProfileResourceState{ProfileResourceStateActive, ProfileResourceStateCreating, ProfileResourceStateDeleting, ProfileResourceStateDisabled}
140}
141
142// QueryStringCachingBehavior enumerates the values for query string caching behavior.
143type QueryStringCachingBehavior string
144
145const (
146	// BypassCaching ...
147	BypassCaching QueryStringCachingBehavior = "BypassCaching"
148	// IgnoreQueryString ...
149	IgnoreQueryString QueryStringCachingBehavior = "IgnoreQueryString"
150	// NotSet ...
151	NotSet QueryStringCachingBehavior = "NotSet"
152	// UseQueryString ...
153	UseQueryString QueryStringCachingBehavior = "UseQueryString"
154)
155
156// PossibleQueryStringCachingBehaviorValues returns an array of possible values for the QueryStringCachingBehavior const type.
157func PossibleQueryStringCachingBehaviorValues() []QueryStringCachingBehavior {
158	return []QueryStringCachingBehavior{BypassCaching, IgnoreQueryString, NotSet, UseQueryString}
159}
160
161// ResourceType enumerates the values for resource type.
162type ResourceType string
163
164const (
165	// MicrosoftCdnProfilesEndpoints ...
166	MicrosoftCdnProfilesEndpoints ResourceType = "Microsoft.Cdn/Profiles/Endpoints"
167)
168
169// PossibleResourceTypeValues returns an array of possible values for the ResourceType const type.
170func PossibleResourceTypeValues() []ResourceType {
171	return []ResourceType{MicrosoftCdnProfilesEndpoints}
172}
173
174// SkuName enumerates the values for sku name.
175type SkuName string
176
177const (
178	// CustomVerizon ...
179	CustomVerizon SkuName = "Custom_Verizon"
180	// PremiumVerizon ...
181	PremiumVerizon SkuName = "Premium_Verizon"
182	// StandardAkamai ...
183	StandardAkamai SkuName = "Standard_Akamai"
184	// StandardChinaCdn ...
185	StandardChinaCdn SkuName = "Standard_ChinaCdn"
186	// StandardVerizon ...
187	StandardVerizon SkuName = "Standard_Verizon"
188)
189
190// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
191func PossibleSkuNameValues() []SkuName {
192	return []SkuName{CustomVerizon, PremiumVerizon, StandardAkamai, StandardChinaCdn, StandardVerizon}
193}
194