forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 1
/
models.go
executable file
·3673 lines (3302 loc) · 168 KB
/
models.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package web
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
import (
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/date"
"github.com/Azure/go-autorest/autorest/to"
"github.com/satori/uuid"
"io"
"net/http"
)
// AccessControlEntryAction enumerates the values for access control entry
// action.
type AccessControlEntryAction string
const (
// Deny specifies the deny state for access control entry action.
Deny AccessControlEntryAction = "Deny"
// Permit specifies the permit state for access control entry action.
Permit AccessControlEntryAction = "Permit"
)
// AppServicePlanRestrictions enumerates the values for app service plan
// restrictions.
type AppServicePlanRestrictions string
const (
// Basic specifies the basic state for app service plan restrictions.
Basic AppServicePlanRestrictions = "Basic"
// Free specifies the free state for app service plan restrictions.
Free AppServicePlanRestrictions = "Free"
// None specifies the none state for app service plan restrictions.
None AppServicePlanRestrictions = "None"
// Premium specifies the premium state for app service plan restrictions.
Premium AppServicePlanRestrictions = "Premium"
// Shared specifies the shared state for app service plan restrictions.
Shared AppServicePlanRestrictions = "Shared"
// Standard specifies the standard state for app service plan restrictions.
Standard AppServicePlanRestrictions = "Standard"
)
// AutoHealActionType enumerates the values for auto heal action type.
type AutoHealActionType string
const (
// CustomAction specifies the custom action state for auto heal action
// type.
CustomAction AutoHealActionType = "CustomAction"
// LogEvent specifies the log event state for auto heal action type.
LogEvent AutoHealActionType = "LogEvent"
// Recycle specifies the recycle state for auto heal action type.
Recycle AutoHealActionType = "Recycle"
)
// AzureResourceType enumerates the values for azure resource type.
type AzureResourceType string
const (
// TrafficManager specifies the traffic manager state for azure resource
// type.
TrafficManager AzureResourceType = "TrafficManager"
// Website specifies the website state for azure resource type.
Website AzureResourceType = "Website"
)
// BackupItemStatus enumerates the values for backup item status.
type BackupItemStatus string
const (
// Created specifies the created state for backup item status.
Created BackupItemStatus = "Created"
// Deleted specifies the deleted state for backup item status.
Deleted BackupItemStatus = "Deleted"
// DeleteFailed specifies the delete failed state for backup item status.
DeleteFailed BackupItemStatus = "DeleteFailed"
// DeleteInProgress specifies the delete in progress state for backup item
// status.
DeleteInProgress BackupItemStatus = "DeleteInProgress"
// Failed specifies the failed state for backup item status.
Failed BackupItemStatus = "Failed"
// InProgress specifies the in progress state for backup item status.
InProgress BackupItemStatus = "InProgress"
// PartiallySucceeded specifies the partially succeeded state for backup
// item status.
PartiallySucceeded BackupItemStatus = "PartiallySucceeded"
// Skipped specifies the skipped state for backup item status.
Skipped BackupItemStatus = "Skipped"
// Succeeded specifies the succeeded state for backup item status.
Succeeded BackupItemStatus = "Succeeded"
// TimedOut specifies the timed out state for backup item status.
TimedOut BackupItemStatus = "TimedOut"
)
// BackupRestoreOperationType enumerates the values for backup restore
// operation type.
type BackupRestoreOperationType string
const (
// Clone specifies the clone state for backup restore operation type.
Clone BackupRestoreOperationType = "Clone"
// Default specifies the default state for backup restore operation type.
Default BackupRestoreOperationType = "Default"
// Relocation specifies the relocation state for backup restore operation
// type.
Relocation BackupRestoreOperationType = "Relocation"
)
// BuiltInAuthenticationProvider enumerates the values for built in
// authentication provider.
type BuiltInAuthenticationProvider string
const (
// AzureActiveDirectory specifies the azure active directory state for
// built in authentication provider.
AzureActiveDirectory BuiltInAuthenticationProvider = "AzureActiveDirectory"
// Facebook specifies the facebook state for built in authentication
// provider.
Facebook BuiltInAuthenticationProvider = "Facebook"
// Google specifies the google state for built in authentication provider.
Google BuiltInAuthenticationProvider = "Google"
// MicrosoftAccount specifies the microsoft account state for built in
// authentication provider.
MicrosoftAccount BuiltInAuthenticationProvider = "MicrosoftAccount"
// Twitter specifies the twitter state for built in authentication
// provider.
Twitter BuiltInAuthenticationProvider = "Twitter"
)
// CertificateOrderActionType enumerates the values for certificate order
// action type.
type CertificateOrderActionType string
const (
// CertificateExpirationWarning specifies the certificate expiration
// warning state for certificate order action type.
CertificateExpirationWarning CertificateOrderActionType = "CertificateExpirationWarning"
// CertificateExpired specifies the certificate expired state for
// certificate order action type.
CertificateExpired CertificateOrderActionType = "CertificateExpired"
// CertificateIssued specifies the certificate issued state for certificate
// order action type.
CertificateIssued CertificateOrderActionType = "CertificateIssued"
// CertificateOrderCanceled specifies the certificate order canceled state
// for certificate order action type.
CertificateOrderCanceled CertificateOrderActionType = "CertificateOrderCanceled"
// CertificateOrderCreated specifies the certificate order created state
// for certificate order action type.
CertificateOrderCreated CertificateOrderActionType = "CertificateOrderCreated"
// CertificateRevoked specifies the certificate revoked state for
// certificate order action type.
CertificateRevoked CertificateOrderActionType = "CertificateRevoked"
// DomainValidationComplete specifies the domain validation complete state
// for certificate order action type.
DomainValidationComplete CertificateOrderActionType = "DomainValidationComplete"
// FraudCleared specifies the fraud cleared state for certificate order
// action type.
FraudCleared CertificateOrderActionType = "FraudCleared"
// FraudDetected specifies the fraud detected state for certificate order
// action type.
FraudDetected CertificateOrderActionType = "FraudDetected"
// FraudDocumentationRequired specifies the fraud documentation required
// state for certificate order action type.
FraudDocumentationRequired CertificateOrderActionType = "FraudDocumentationRequired"
// OrgNameChange specifies the org name change state for certificate order
// action type.
OrgNameChange CertificateOrderActionType = "OrgNameChange"
// OrgValidationComplete specifies the org validation complete state for
// certificate order action type.
OrgValidationComplete CertificateOrderActionType = "OrgValidationComplete"
// SanDrop specifies the san drop state for certificate order action type.
SanDrop CertificateOrderActionType = "SanDrop"
// Unknown specifies the unknown state for certificate order action type.
Unknown CertificateOrderActionType = "Unknown"
)
// CertificateOrderStatus enumerates the values for certificate order status.
type CertificateOrderStatus string
const (
// Canceled specifies the canceled state for certificate order status.
Canceled CertificateOrderStatus = "Canceled"
// Denied specifies the denied state for certificate order status.
Denied CertificateOrderStatus = "Denied"
// Expired specifies the expired state for certificate order status.
Expired CertificateOrderStatus = "Expired"
// Issued specifies the issued state for certificate order status.
Issued CertificateOrderStatus = "Issued"
// NotSubmitted specifies the not submitted state for certificate order
// status.
NotSubmitted CertificateOrderStatus = "NotSubmitted"
// Pendingissuance specifies the pendingissuance state for certificate
// order status.
Pendingissuance CertificateOrderStatus = "Pendingissuance"
// PendingRekey specifies the pending rekey state for certificate order
// status.
PendingRekey CertificateOrderStatus = "PendingRekey"
// Pendingrevocation specifies the pendingrevocation state for certificate
// order status.
Pendingrevocation CertificateOrderStatus = "Pendingrevocation"
// Revoked specifies the revoked state for certificate order status.
Revoked CertificateOrderStatus = "Revoked"
// Unused specifies the unused state for certificate order status.
Unused CertificateOrderStatus = "Unused"
)
// CertificateProductType enumerates the values for certificate product type.
type CertificateProductType string
const (
// StandardDomainValidatedSsl specifies the standard domain validated ssl
// state for certificate product type.
StandardDomainValidatedSsl CertificateProductType = "StandardDomainValidatedSsl"
// StandardDomainValidatedWildCardSsl specifies the standard domain
// validated wild card ssl state for certificate product type.
StandardDomainValidatedWildCardSsl CertificateProductType = "StandardDomainValidatedWildCardSsl"
)
// Channels enumerates the values for channels.
type Channels string
const (
// All specifies the all state for channels.
All Channels = "All"
// API specifies the api state for channels.
API Channels = "Api"
// Email specifies the email state for channels.
Email Channels = "Email"
// Notification specifies the notification state for channels.
Notification Channels = "Notification"
// Webhook specifies the webhook state for channels.
Webhook Channels = "Webhook"
)
// CheckNameResourceTypes enumerates the values for check name resource types.
type CheckNameResourceTypes string
const (
// CheckNameResourceTypesHostingEnvironment specifies the check name
// resource types hosting environment state for check name resource types.
CheckNameResourceTypesHostingEnvironment CheckNameResourceTypes = "HostingEnvironment"
// CheckNameResourceTypesSite specifies the check name resource types site
// state for check name resource types.
CheckNameResourceTypesSite CheckNameResourceTypes = "Site"
// CheckNameResourceTypesSlot specifies the check name resource types slot
// state for check name resource types.
CheckNameResourceTypesSlot CheckNameResourceTypes = "Slot"
)
// CloneAbilityResult enumerates the values for clone ability result.
type CloneAbilityResult string
const (
// Cloneable specifies the cloneable state for clone ability result.
Cloneable CloneAbilityResult = "Cloneable"
// NotCloneable specifies the not cloneable state for clone ability result.
NotCloneable CloneAbilityResult = "NotCloneable"
// PartiallyCloneable specifies the partially cloneable state for clone
// ability result.
PartiallyCloneable CloneAbilityResult = "PartiallyCloneable"
)
// ComputeModeOptions enumerates the values for compute mode options.
type ComputeModeOptions string
const (
// ComputeModeOptionsDedicated specifies the compute mode options dedicated
// state for compute mode options.
ComputeModeOptionsDedicated ComputeModeOptions = "Dedicated"
// ComputeModeOptionsDynamic specifies the compute mode options dynamic
// state for compute mode options.
ComputeModeOptionsDynamic ComputeModeOptions = "Dynamic"
// ComputeModeOptionsShared specifies the compute mode options shared state
// for compute mode options.
ComputeModeOptionsShared ComputeModeOptions = "Shared"
)
// ConnectionStringType enumerates the values for connection string type.
type ConnectionStringType string
const (
// APIHub specifies the api hub state for connection string type.
APIHub ConnectionStringType = "ApiHub"
// Custom specifies the custom state for connection string type.
Custom ConnectionStringType = "Custom"
// DocDb specifies the doc db state for connection string type.
DocDb ConnectionStringType = "DocDb"
// EventHub specifies the event hub state for connection string type.
EventHub ConnectionStringType = "EventHub"
// MySQL specifies the my sql state for connection string type.
MySQL ConnectionStringType = "MySql"
// NotificationHub specifies the notification hub state for connection
// string type.
NotificationHub ConnectionStringType = "NotificationHub"
// PostgreSQL specifies the postgre sql state for connection string type.
PostgreSQL ConnectionStringType = "PostgreSQL"
// RedisCache specifies the redis cache state for connection string type.
RedisCache ConnectionStringType = "RedisCache"
// ServiceBus specifies the service bus state for connection string type.
ServiceBus ConnectionStringType = "ServiceBus"
// SQLAzure specifies the sql azure state for connection string type.
SQLAzure ConnectionStringType = "SQLAzure"
// SQLServer specifies the sql server state for connection string type.
SQLServer ConnectionStringType = "SQLServer"
)
// CustomHostNameDNSRecordType enumerates the values for custom host name dns
// record type.
type CustomHostNameDNSRecordType string
const (
// A specifies the a state for custom host name dns record type.
A CustomHostNameDNSRecordType = "A"
// CName specifies the c name state for custom host name dns record type.
CName CustomHostNameDNSRecordType = "CName"
)
// DatabaseType enumerates the values for database type.
type DatabaseType string
const (
// DatabaseTypeLocalMySQL specifies the database type local my sql state
// for database type.
DatabaseTypeLocalMySQL DatabaseType = "LocalMySql"
// DatabaseTypeMySQL specifies the database type my sql state for database
// type.
DatabaseTypeMySQL DatabaseType = "MySql"
// DatabaseTypePostgreSQL specifies the database type postgre sql state for
// database type.
DatabaseTypePostgreSQL DatabaseType = "PostgreSql"
// DatabaseTypeSQLAzure specifies the database type sql azure state for
// database type.
DatabaseTypeSQLAzure DatabaseType = "SqlAzure"
)
// DNSType enumerates the values for dns type.
type DNSType string
const (
// AzureDNS specifies the azure dns state for dns type.
AzureDNS DNSType = "AzureDns"
// DefaultDomainRegistrarDNS specifies the default domain registrar dns
// state for dns type.
DefaultDomainRegistrarDNS DNSType = "DefaultDomainRegistrarDns"
)
// DNSVerificationTestResult enumerates the values for dns verification test
// result.
type DNSVerificationTestResult string
const (
// DNSVerificationTestResultFailed specifies the dns verification test
// result failed state for dns verification test result.
DNSVerificationTestResultFailed DNSVerificationTestResult = "Failed"
// DNSVerificationTestResultPassed specifies the dns verification test
// result passed state for dns verification test result.
DNSVerificationTestResultPassed DNSVerificationTestResult = "Passed"
// DNSVerificationTestResultSkipped specifies the dns verification test
// result skipped state for dns verification test result.
DNSVerificationTestResultSkipped DNSVerificationTestResult = "Skipped"
)
// DomainStatus enumerates the values for domain status.
type DomainStatus string
const (
// DomainStatusActive specifies the domain status active state for domain
// status.
DomainStatusActive DomainStatus = "Active"
// DomainStatusAwaiting specifies the domain status awaiting state for
// domain status.
DomainStatusAwaiting DomainStatus = "Awaiting"
// DomainStatusCancelled specifies the domain status cancelled state for
// domain status.
DomainStatusCancelled DomainStatus = "Cancelled"
// DomainStatusConfiscated specifies the domain status confiscated state
// for domain status.
DomainStatusConfiscated DomainStatus = "Confiscated"
// DomainStatusDisabled specifies the domain status disabled state for
// domain status.
DomainStatusDisabled DomainStatus = "Disabled"
// DomainStatusExcluded specifies the domain status excluded state for
// domain status.
DomainStatusExcluded DomainStatus = "Excluded"
// DomainStatusExpired specifies the domain status expired state for domain
// status.
DomainStatusExpired DomainStatus = "Expired"
// DomainStatusFailed specifies the domain status failed state for domain
// status.
DomainStatusFailed DomainStatus = "Failed"
// DomainStatusHeld specifies the domain status held state for domain
// status.
DomainStatusHeld DomainStatus = "Held"
// DomainStatusJSONConverterFailed specifies the domain status json
// converter failed state for domain status.
DomainStatusJSONConverterFailed DomainStatus = "JsonConverterFailed"
// DomainStatusLocked specifies the domain status locked state for domain
// status.
DomainStatusLocked DomainStatus = "Locked"
// DomainStatusParked specifies the domain status parked state for domain
// status.
DomainStatusParked DomainStatus = "Parked"
// DomainStatusPending specifies the domain status pending state for domain
// status.
DomainStatusPending DomainStatus = "Pending"
// DomainStatusReserved specifies the domain status reserved state for
// domain status.
DomainStatusReserved DomainStatus = "Reserved"
// DomainStatusReverted specifies the domain status reverted state for
// domain status.
DomainStatusReverted DomainStatus = "Reverted"
// DomainStatusSuspended specifies the domain status suspended state for
// domain status.
DomainStatusSuspended DomainStatus = "Suspended"
// DomainStatusTransferred specifies the domain status transferred state
// for domain status.
DomainStatusTransferred DomainStatus = "Transferred"
// DomainStatusUnknown specifies the domain status unknown state for domain
// status.
DomainStatusUnknown DomainStatus = "Unknown"
// DomainStatusUnlocked specifies the domain status unlocked state for
// domain status.
DomainStatusUnlocked DomainStatus = "Unlocked"
// DomainStatusUnparked specifies the domain status unparked state for
// domain status.
DomainStatusUnparked DomainStatus = "Unparked"
// DomainStatusUpdated specifies the domain status updated state for domain
// status.
DomainStatusUpdated DomainStatus = "Updated"
)
// DomainType enumerates the values for domain type.
type DomainType string
const (
// Regular specifies the regular state for domain type.
Regular DomainType = "Regular"
// SoftDeleted specifies the soft deleted state for domain type.
SoftDeleted DomainType = "SoftDeleted"
)
// FrequencyUnit enumerates the values for frequency unit.
type FrequencyUnit string
const (
// Day specifies the day state for frequency unit.
Day FrequencyUnit = "Day"
// Hour specifies the hour state for frequency unit.
Hour FrequencyUnit = "Hour"
)
// HostingEnvironmentStatus enumerates the values for hosting environment
// status.
type HostingEnvironmentStatus string
const (
// Deleting specifies the deleting state for hosting environment status.
Deleting HostingEnvironmentStatus = "Deleting"
// Preparing specifies the preparing state for hosting environment status.
Preparing HostingEnvironmentStatus = "Preparing"
// Ready specifies the ready state for hosting environment status.
Ready HostingEnvironmentStatus = "Ready"
// Scaling specifies the scaling state for hosting environment status.
Scaling HostingEnvironmentStatus = "Scaling"
)
// HostNameType enumerates the values for host name type.
type HostNameType string
const (
// Managed specifies the managed state for host name type.
Managed HostNameType = "Managed"
// Verified specifies the verified state for host name type.
Verified HostNameType = "Verified"
)
// HostType enumerates the values for host type.
type HostType string
const (
// HostTypeRepository specifies the host type repository state for host
// type.
HostTypeRepository HostType = "Repository"
// HostTypeStandard specifies the host type standard state for host type.
HostTypeStandard HostType = "Standard"
)
// InAvailabilityReasonType enumerates the values for in availability reason
// type.
type InAvailabilityReasonType string
const (
// AlreadyExists specifies the already exists state for in availability
// reason type.
AlreadyExists InAvailabilityReasonType = "AlreadyExists"
// Invalid specifies the invalid state for in availability reason type.
Invalid InAvailabilityReasonType = "Invalid"
)
// InternalLoadBalancingMode enumerates the values for internal load balancing
// mode.
type InternalLoadBalancingMode string
const (
// InternalLoadBalancingModeNone specifies the internal load balancing mode
// none state for internal load balancing mode.
InternalLoadBalancingModeNone InternalLoadBalancingMode = "None"
// InternalLoadBalancingModePublishing specifies the internal load
// balancing mode publishing state for internal load balancing mode.
InternalLoadBalancingModePublishing InternalLoadBalancingMode = "Publishing"
// InternalLoadBalancingModeWeb specifies the internal load balancing mode
// web state for internal load balancing mode.
InternalLoadBalancingModeWeb InternalLoadBalancingMode = "Web"
)
// KeyVaultSecretStatus enumerates the values for key vault secret status.
type KeyVaultSecretStatus string
const (
// KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault specifies
// the key vault secret status azure service unauthorized to access key
// vault state for key vault secret status.
KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault KeyVaultSecretStatus = "AzureServiceUnauthorizedToAccessKeyVault"
// KeyVaultSecretStatusCertificateOrderFailed specifies the key vault
// secret status certificate order failed state for key vault secret
// status.
KeyVaultSecretStatusCertificateOrderFailed KeyVaultSecretStatus = "CertificateOrderFailed"
// KeyVaultSecretStatusExternalPrivateKey specifies the key vault secret
// status external private key state for key vault secret status.
KeyVaultSecretStatusExternalPrivateKey KeyVaultSecretStatus = "ExternalPrivateKey"
// KeyVaultSecretStatusInitialized specifies the key vault secret status
// initialized state for key vault secret status.
KeyVaultSecretStatusInitialized KeyVaultSecretStatus = "Initialized"
// KeyVaultSecretStatusKeyVaultDoesNotExist specifies the key vault secret
// status key vault does not exist state for key vault secret status.
KeyVaultSecretStatusKeyVaultDoesNotExist KeyVaultSecretStatus = "KeyVaultDoesNotExist"
// KeyVaultSecretStatusKeyVaultSecretDoesNotExist specifies the key vault
// secret status key vault secret does not exist state for key vault secret
// status.
KeyVaultSecretStatusKeyVaultSecretDoesNotExist KeyVaultSecretStatus = "KeyVaultSecretDoesNotExist"
// KeyVaultSecretStatusOperationNotPermittedOnKeyVault specifies the key
// vault secret status operation not permitted on key vault state for key
// vault secret status.
KeyVaultSecretStatusOperationNotPermittedOnKeyVault KeyVaultSecretStatus = "OperationNotPermittedOnKeyVault"
// KeyVaultSecretStatusSucceeded specifies the key vault secret status
// succeeded state for key vault secret status.
KeyVaultSecretStatusSucceeded KeyVaultSecretStatus = "Succeeded"
// KeyVaultSecretStatusUnknown specifies the key vault secret status
// unknown state for key vault secret status.
KeyVaultSecretStatusUnknown KeyVaultSecretStatus = "Unknown"
// KeyVaultSecretStatusUnknownError specifies the key vault secret status
// unknown error state for key vault secret status.
KeyVaultSecretStatusUnknownError KeyVaultSecretStatus = "UnknownError"
// KeyVaultSecretStatusWaitingOnCertificateOrder specifies the key vault
// secret status waiting on certificate order state for key vault secret
// status.
KeyVaultSecretStatusWaitingOnCertificateOrder KeyVaultSecretStatus = "WaitingOnCertificateOrder"
)
// LogLevel enumerates the values for log level.
type LogLevel string
const (
// Error specifies the error state for log level.
Error LogLevel = "Error"
// Information specifies the information state for log level.
Information LogLevel = "Information"
// Off specifies the off state for log level.
Off LogLevel = "Off"
// Verbose specifies the verbose state for log level.
Verbose LogLevel = "Verbose"
// Warning specifies the warning state for log level.
Warning LogLevel = "Warning"
)
// ManagedPipelineMode enumerates the values for managed pipeline mode.
type ManagedPipelineMode string
const (
// Classic specifies the classic state for managed pipeline mode.
Classic ManagedPipelineMode = "Classic"
// Integrated specifies the integrated state for managed pipeline mode.
Integrated ManagedPipelineMode = "Integrated"
)
// NotificationLevel enumerates the values for notification level.
type NotificationLevel string
const (
// NotificationLevelCritical specifies the notification level critical
// state for notification level.
NotificationLevelCritical NotificationLevel = "Critical"
// NotificationLevelInformation specifies the notification level
// information state for notification level.
NotificationLevelInformation NotificationLevel = "Information"
// NotificationLevelNonUrgentSuggestion specifies the notification level
// non urgent suggestion state for notification level.
NotificationLevelNonUrgentSuggestion NotificationLevel = "NonUrgentSuggestion"
// NotificationLevelWarning specifies the notification level warning state
// for notification level.
NotificationLevelWarning NotificationLevel = "Warning"
)
// OperationStatus enumerates the values for operation status.
type OperationStatus string
const (
// OperationStatusCreated specifies the operation status created state for
// operation status.
OperationStatusCreated OperationStatus = "Created"
// OperationStatusFailed specifies the operation status failed state for
// operation status.
OperationStatusFailed OperationStatus = "Failed"
// OperationStatusInProgress specifies the operation status in progress
// state for operation status.
OperationStatusInProgress OperationStatus = "InProgress"
// OperationStatusSucceeded specifies the operation status succeeded state
// for operation status.
OperationStatusSucceeded OperationStatus = "Succeeded"
// OperationStatusTimedOut specifies the operation status timed out state
// for operation status.
OperationStatusTimedOut OperationStatus = "TimedOut"
)
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// ProvisioningStateCanceled specifies the provisioning state canceled
// state for provisioning state.
ProvisioningStateCanceled ProvisioningState = "Canceled"
// ProvisioningStateDeleting specifies the provisioning state deleting
// state for provisioning state.
ProvisioningStateDeleting ProvisioningState = "Deleting"
// ProvisioningStateFailed specifies the provisioning state failed state
// for provisioning state.
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateInProgress specifies the provisioning state in progress
// state for provisioning state.
ProvisioningStateInProgress ProvisioningState = "InProgress"
// ProvisioningStateSucceeded specifies the provisioning state succeeded
// state for provisioning state.
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)
// PublishingProfileFormat enumerates the values for publishing profile format.
type PublishingProfileFormat string
const (
// FileZilla3 specifies the file zilla 3 state for publishing profile
// format.
FileZilla3 PublishingProfileFormat = "FileZilla3"
// Ftp specifies the ftp state for publishing profile format.
Ftp PublishingProfileFormat = "Ftp"
// WebDeploy specifies the web deploy state for publishing profile format.
WebDeploy PublishingProfileFormat = "WebDeploy"
)
// ResourceScopeType enumerates the values for resource scope type.
type ResourceScopeType string
const (
// ServerFarm specifies the server farm state for resource scope type.
ServerFarm ResourceScopeType = "ServerFarm"
// Subscription specifies the subscription state for resource scope type.
Subscription ResourceScopeType = "Subscription"
// WebSite specifies the web site state for resource scope type.
WebSite ResourceScopeType = "WebSite"
)
// RouteType enumerates the values for route type.
type RouteType string
const (
// DEFAULT specifies the default state for route type.
DEFAULT RouteType = "DEFAULT"
// INHERITED specifies the inherited state for route type.
INHERITED RouteType = "INHERITED"
// STATIC specifies the static state for route type.
STATIC RouteType = "STATIC"
)
// ScmType enumerates the values for scm type.
type ScmType string
const (
// ScmTypeBitbucketGit specifies the scm type bitbucket git state for scm
// type.
ScmTypeBitbucketGit ScmType = "BitbucketGit"
// ScmTypeBitbucketHg specifies the scm type bitbucket hg state for scm
// type.
ScmTypeBitbucketHg ScmType = "BitbucketHg"
// ScmTypeCodePlexGit specifies the scm type code plex git state for scm
// type.
ScmTypeCodePlexGit ScmType = "CodePlexGit"
// ScmTypeCodePlexHg specifies the scm type code plex hg state for scm
// type.
ScmTypeCodePlexHg ScmType = "CodePlexHg"
// ScmTypeDropbox specifies the scm type dropbox state for scm type.
ScmTypeDropbox ScmType = "Dropbox"
// ScmTypeExternalGit specifies the scm type external git state for scm
// type.
ScmTypeExternalGit ScmType = "ExternalGit"
// ScmTypeExternalHg specifies the scm type external hg state for scm type.
ScmTypeExternalHg ScmType = "ExternalHg"
// ScmTypeGitHub specifies the scm type git hub state for scm type.
ScmTypeGitHub ScmType = "GitHub"
// ScmTypeLocalGit specifies the scm type local git state for scm type.
ScmTypeLocalGit ScmType = "LocalGit"
// ScmTypeNone specifies the scm type none state for scm type.
ScmTypeNone ScmType = "None"
// ScmTypeOneDrive specifies the scm type one drive state for scm type.
ScmTypeOneDrive ScmType = "OneDrive"
// ScmTypeTfs specifies the scm type tfs state for scm type.
ScmTypeTfs ScmType = "Tfs"
// ScmTypeVSO specifies the scm type vso state for scm type.
ScmTypeVSO ScmType = "VSO"
)
// SiteAvailabilityState enumerates the values for site availability state.
type SiteAvailabilityState string
const (
// DisasterRecoveryMode specifies the disaster recovery mode state for site
// availability state.
DisasterRecoveryMode SiteAvailabilityState = "DisasterRecoveryMode"
// Limited specifies the limited state for site availability state.
Limited SiteAvailabilityState = "Limited"
// Normal specifies the normal state for site availability state.
Normal SiteAvailabilityState = "Normal"
)
// SiteLoadBalancing enumerates the values for site load balancing.
type SiteLoadBalancing string
const (
// LeastRequests specifies the least requests state for site load
// balancing.
LeastRequests SiteLoadBalancing = "LeastRequests"
// LeastResponseTime specifies the least response time state for site load
// balancing.
LeastResponseTime SiteLoadBalancing = "LeastResponseTime"
// RequestHash specifies the request hash state for site load balancing.
RequestHash SiteLoadBalancing = "RequestHash"
// WeightedRoundRobin specifies the weighted round robin state for site
// load balancing.
WeightedRoundRobin SiteLoadBalancing = "WeightedRoundRobin"
// WeightedTotalTraffic specifies the weighted total traffic state for site
// load balancing.
WeightedTotalTraffic SiteLoadBalancing = "WeightedTotalTraffic"
)
// SkuName enumerates the values for sku name.
type SkuName string
const (
// SkuNameBasic specifies the sku name basic state for sku name.
SkuNameBasic SkuName = "Basic"
// SkuNameDynamic specifies the sku name dynamic state for sku name.
SkuNameDynamic SkuName = "Dynamic"
// SkuNameFree specifies the sku name free state for sku name.
SkuNameFree SkuName = "Free"
// SkuNameIsolated specifies the sku name isolated state for sku name.
SkuNameIsolated SkuName = "Isolated"
// SkuNamePremium specifies the sku name premium state for sku name.
SkuNamePremium SkuName = "Premium"
// SkuNameShared specifies the sku name shared state for sku name.
SkuNameShared SkuName = "Shared"
// SkuNameStandard specifies the sku name standard state for sku name.
SkuNameStandard SkuName = "Standard"
)
// SslState enumerates the values for ssl state.
type SslState string
const (
// Disabled specifies the disabled state for ssl state.
Disabled SslState = "Disabled"
// IPBasedEnabled specifies the ip based enabled state for ssl state.
IPBasedEnabled SslState = "IpBasedEnabled"
// SniEnabled specifies the sni enabled state for ssl state.
SniEnabled SslState = "SniEnabled"
)
// StatusOptions enumerates the values for status options.
type StatusOptions string
const (
// StatusOptionsPending specifies the status options pending state for
// status options.
StatusOptionsPending StatusOptions = "Pending"
// StatusOptionsReady specifies the status options ready state for status
// options.
StatusOptionsReady StatusOptions = "Ready"
)
// UnauthenticatedClientAction enumerates the values for unauthenticated client
// action.
type UnauthenticatedClientAction string
const (
// AllowAnonymous specifies the allow anonymous state for unauthenticated
// client action.
AllowAnonymous UnauthenticatedClientAction = "AllowAnonymous"
// RedirectToLoginPage specifies the redirect to login page state for
// unauthenticated client action.
RedirectToLoginPage UnauthenticatedClientAction = "RedirectToLoginPage"
)
// UsageState enumerates the values for usage state.
type UsageState string
const (
// UsageStateExceeded specifies the usage state exceeded state for usage
// state.
UsageStateExceeded UsageState = "Exceeded"
// UsageStateNormal specifies the usage state normal state for usage state.
UsageStateNormal UsageState = "Normal"
)
// ValidateResourceTypes enumerates the values for validate resource types.
type ValidateResourceTypes string
const (
// ValidateResourceTypesServerFarm specifies the validate resource types
// server farm state for validate resource types.
ValidateResourceTypesServerFarm ValidateResourceTypes = "ServerFarm"
// ValidateResourceTypesSite specifies the validate resource types site
// state for validate resource types.
ValidateResourceTypesSite ValidateResourceTypes = "Site"
)
// WorkerSizeOptions enumerates the values for worker size options.
type WorkerSizeOptions string
const (
// WorkerSizeOptionsDefault specifies the worker size options default state
// for worker size options.
WorkerSizeOptionsDefault WorkerSizeOptions = "Default"
// WorkerSizeOptionsLarge specifies the worker size options large state for
// worker size options.
WorkerSizeOptionsLarge WorkerSizeOptions = "Large"
// WorkerSizeOptionsMedium specifies the worker size options medium state
// for worker size options.
WorkerSizeOptionsMedium WorkerSizeOptions = "Medium"
// WorkerSizeOptionsSmall specifies the worker size options small state for
// worker size options.
WorkerSizeOptionsSmall WorkerSizeOptions = "Small"
)
// Address is address information for domain registration.
type Address struct {
Address1 *string `json:"address1,omitempty"`
Address2 *string `json:"address2,omitempty"`
City *string `json:"city,omitempty"`
Country *string `json:"country,omitempty"`
PostalCode *string `json:"postalCode,omitempty"`
State *string `json:"state,omitempty"`
}
// AddressResponse is describes main public IP address and any extra virtual
// IPs.
type AddressResponse struct {
autorest.Response `json:"-"`
ServiceIPAddress *string `json:"serviceIpAddress,omitempty"`
InternalIPAddress *string `json:"internalIpAddress,omitempty"`
OutboundIPAddresses *[]string `json:"outboundIpAddresses,omitempty"`
VipMappings *[]VirtualIPMapping `json:"vipMappings,omitempty"`
}
// APIDefinitionInfo is information about the formal API definition for the
// app.
type APIDefinitionInfo struct {
URL *string `json:"url,omitempty"`
}
// AppCollection is collection of App Service apps.
type AppCollection struct {
autorest.Response `json:"-"`
Value *[]Site `json:"value,omitempty"`
NextLink *string `json:"nextLink,omitempty"`
}
// AppCollectionPreparer prepares a request to retrieve the next set of results. It returns
// nil if no more results exist.
func (client AppCollection) AppCollectionPreparer() (*http.Request, error) {
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
return nil, nil
}
return autorest.Prepare(&http.Request{},
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(client.NextLink)))
}
// AppInstanceCollection is collection of app instances.
type AppInstanceCollection struct {
autorest.Response `json:"-"`
Value *[]SiteInstance `json:"value,omitempty"`
NextLink *string `json:"nextLink,omitempty"`
}
// AppInstanceCollectionPreparer prepares a request to retrieve the next set of results. It returns
// nil if no more results exist.
func (client AppInstanceCollection) AppInstanceCollectionPreparer() (*http.Request, error) {
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
return nil, nil
}
return autorest.Prepare(&http.Request{},
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(client.NextLink)))
}
// ApplicationLogsConfig is application logs configuration.
type ApplicationLogsConfig struct {
FileSystem *FileSystemApplicationLogsConfig `json:"fileSystem,omitempty"`
AzureTableStorage *AzureTableStorageApplicationLogsConfig `json:"azureTableStorage,omitempty"`
AzureBlobStorage *AzureBlobStorageApplicationLogsConfig `json:"azureBlobStorage,omitempty"`
}
// AppServiceCertificate is key Vault container for a certificate that is
// purchased through Azure.
type AppServiceCertificate struct {
KeyVaultID *string `json:"keyVaultId,omitempty"`
KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`
ProvisioningState KeyVaultSecretStatus `json:"provisioningState,omitempty"`
}
// AppServiceCertificateCollection is collection of certitificateorder
// certificates.
type AppServiceCertificateCollection struct {
autorest.Response `json:"-"`
Value *[]AppServiceCertificateResource `json:"value,omitempty"`
NextLink *string `json:"nextLink,omitempty"`
}
// AppServiceCertificateCollectionPreparer prepares a request to retrieve the next set of results. It returns
// nil if no more results exist.
func (client AppServiceCertificateCollection) AppServiceCertificateCollectionPreparer() (*http.Request, error) {
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
return nil, nil
}
return autorest.Prepare(&http.Request{},
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(client.NextLink)))
}
// AppServiceCertificateOrder is sSL certificate purchase order.
type AppServiceCertificateOrder struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Kind *string `json:"kind,omitempty"`
Location *string `json:"location,omitempty"`
Type *string `json:"type,omitempty"`
Tags *map[string]*string `json:"tags,omitempty"`
*AppServiceCertificateOrderProperties `json:"properties,omitempty"`
}
// AppServiceCertificateOrderProperties is appServiceCertificateOrder resource
// specific properties
type AppServiceCertificateOrderProperties struct {
Certificates *map[string]*AppServiceCertificate `json:"certificates,omitempty"`
DistinguishedName *string `json:"distinguishedName,omitempty"`
DomainVerificationToken *string `json:"domainVerificationToken,omitempty"`
ValidityInYears *int32 `json:"validityInYears,omitempty"`
KeySize *int32 `json:"keySize,omitempty"`
ProductType CertificateProductType `json:"productType,omitempty"`
AutoRenew *bool `json:"autoRenew,omitempty"`
ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
Status CertificateOrderStatus `json:"status,omitempty"`
SignedCertificate *CertificateDetails `json:"signedCertificate,omitempty"`
Csr *string `json:"csr,omitempty"`
Intermediate *CertificateDetails `json:"intermediate,omitempty"`
Root *CertificateDetails `json:"root,omitempty"`
SerialNumber *string `json:"serialNumber,omitempty"`
LastCertificateIssuanceTime *date.Time `json:"lastCertificateIssuanceTime,omitempty"`
ExpirationTime *date.Time `json:"expirationTime,omitempty"`
IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty"`
AppServiceCertificateNotRenewableReasons *[]string `json:"appServiceCertificateNotRenewableReasons,omitempty"`
NextAutoRenewalTimeStamp *date.Time `json:"nextAutoRenewalTimeStamp,omitempty"`