3
// Copyright (c) Microsoft and contributors. All rights reserved.
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
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.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
17
// Code generated by Microsoft (R) AutoRest Code Generator 0.12.0.0
18
// Changes may cause incorrect behavior and will be lost if the code is
22
"github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest"
23
"github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/date"
24
"github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/to"
28
// AccessControlEntryAction enumerates the values for access control entry
30
type AccessControlEntryAction string
33
// Deny specifies the deny state for access control entry action.
34
Deny AccessControlEntryAction = "Deny"
35
// Permit specifies the permit state for access control entry action.
36
Permit AccessControlEntryAction = "Permit"
39
// AutoHealActionType enumerates the values for auto heal action type.
40
type AutoHealActionType string
43
// CustomAction specifies the custom action state for auto heal action
45
CustomAction AutoHealActionType = "CustomAction"
46
// LogEvent specifies the log event state for auto heal action type.
47
LogEvent AutoHealActionType = "LogEvent"
48
// Recycle specifies the recycle state for auto heal action type.
49
Recycle AutoHealActionType = "Recycle"
52
// AzureResourceType enumerates the values for azure resource type.
53
type AzureResourceType string
56
// TrafficManager specifies the traffic manager state for azure resource
58
TrafficManager AzureResourceType = "TrafficManager"
59
// Website specifies the website state for azure resource type.
60
Website AzureResourceType = "Website"
63
// BackupItemStatus enumerates the values for backup item status.
64
type BackupItemStatus string
67
// Created specifies the created state for backup item status.
68
Created BackupItemStatus = "Created"
69
// Deleted specifies the deleted state for backup item status.
70
Deleted BackupItemStatus = "Deleted"
71
// DeleteFailed specifies the delete failed state for backup item status.
72
DeleteFailed BackupItemStatus = "DeleteFailed"
73
// DeleteInProgress specifies the delete in progress state for backup item
75
DeleteInProgress BackupItemStatus = "DeleteInProgress"
76
// Failed specifies the failed state for backup item status.
77
Failed BackupItemStatus = "Failed"
78
// InProgress specifies the in progress state for backup item status.
79
InProgress BackupItemStatus = "InProgress"
80
// PartiallySucceeded specifies the partially succeeded state for backup
82
PartiallySucceeded BackupItemStatus = "PartiallySucceeded"
83
// Skipped specifies the skipped state for backup item status.
84
Skipped BackupItemStatus = "Skipped"
85
// Succeeded specifies the succeeded state for backup item status.
86
Succeeded BackupItemStatus = "Succeeded"
87
// TimedOut specifies the timed out state for backup item status.
88
TimedOut BackupItemStatus = "TimedOut"
91
// BackupRestoreOperationType enumerates the values for backup restore
93
type BackupRestoreOperationType string
96
// Clone specifies the clone state for backup restore operation type.
97
Clone BackupRestoreOperationType = "Clone"
98
// Default specifies the default state for backup restore operation type.
99
Default BackupRestoreOperationType = "Default"
100
// Relocation specifies the relocation state for backup restore operation
102
Relocation BackupRestoreOperationType = "Relocation"
105
// BuiltInAuthenticationProvider enumerates the values for built in
106
// authentication provider.
107
type BuiltInAuthenticationProvider string
110
// AzureActiveDirectory specifies the azure active directory state for
111
// built in authentication provider.
112
AzureActiveDirectory BuiltInAuthenticationProvider = "AzureActiveDirectory"
113
// Facebook specifies the facebook state for built in authentication
115
Facebook BuiltInAuthenticationProvider = "Facebook"
116
// Google specifies the google state for built in authentication provider.
117
Google BuiltInAuthenticationProvider = "Google"
118
// MicrosoftAccount specifies the microsoft account state for built in
119
// authentication provider.
120
MicrosoftAccount BuiltInAuthenticationProvider = "MicrosoftAccount"
121
// Twitter specifies the twitter state for built in authentication
123
Twitter BuiltInAuthenticationProvider = "Twitter"
126
// CertificateAction enumerates the values for certificate action.
127
type CertificateAction string
130
// Rekey specifies the rekey state for certificate action.
131
Rekey CertificateAction = "Rekey"
132
// Renew specifies the renew state for certificate action.
133
Renew CertificateAction = "Renew"
136
// CertificateOrderStatus enumerates the values for certificate order status.
137
type CertificateOrderStatus string
140
// Canceled specifies the canceled state for certificate order status.
141
Canceled CertificateOrderStatus = "Canceled"
142
// Denied specifies the denied state for certificate order status.
143
Denied CertificateOrderStatus = "Denied"
144
// Expired specifies the expired state for certificate order status.
145
Expired CertificateOrderStatus = "Expired"
146
// Issued specifies the issued state for certificate order status.
147
Issued CertificateOrderStatus = "Issued"
148
// NotSubmitted specifies the not submitted state for certificate order
150
NotSubmitted CertificateOrderStatus = "NotSubmitted"
151
// Pendingissuance specifies the pendingissuance state for certificate
153
Pendingissuance CertificateOrderStatus = "Pendingissuance"
154
// PendingRekey specifies the pending rekey state for certificate order
156
PendingRekey CertificateOrderStatus = "PendingRekey"
157
// Pendingrevocation specifies the pendingrevocation state for certificate
159
Pendingrevocation CertificateOrderStatus = "Pendingrevocation"
160
// Revoked specifies the revoked state for certificate order status.
161
Revoked CertificateOrderStatus = "Revoked"
162
// Unused specifies the unused state for certificate order status.
163
Unused CertificateOrderStatus = "Unused"
166
// CertificateProductType enumerates the values for certificate product type.
167
type CertificateProductType string
170
// StandardDomainValidatedSsl specifies the standard domain validated ssl
171
// state for certificate product type.
172
StandardDomainValidatedSsl CertificateProductType = "StandardDomainValidatedSsl"
173
// StandardDomainValidatedWildCardSsl specifies the standard domain
174
// validated wild card ssl state for certificate product type.
175
StandardDomainValidatedWildCardSsl CertificateProductType = "StandardDomainValidatedWildCardSsl"
178
// ComputeModeOptions enumerates the values for compute mode options.
179
type ComputeModeOptions string
182
// Dedicated specifies the dedicated state for compute mode options.
183
Dedicated ComputeModeOptions = "Dedicated"
184
// Shared specifies the shared state for compute mode options.
185
Shared ComputeModeOptions = "Shared"
188
// CustomHostNameDNSRecordType enumerates the values for custom host name dns
190
type CustomHostNameDNSRecordType string
193
// A specifies the a state for custom host name dns record type.
194
A CustomHostNameDNSRecordType = "A"
195
// CName specifies the c name state for custom host name dns record type.
196
CName CustomHostNameDNSRecordType = "CName"
199
// DatabaseServerType enumerates the values for database server type.
200
type DatabaseServerType string
203
// Custom specifies the custom state for database server type.
204
Custom DatabaseServerType = "Custom"
205
// MySQL specifies the my sql state for database server type.
206
MySQL DatabaseServerType = "MySql"
207
// SQLAzure specifies the sql azure state for database server type.
208
SQLAzure DatabaseServerType = "SQLAzure"
209
// SQLServer specifies the sql server state for database server type.
210
SQLServer DatabaseServerType = "SQLServer"
213
// DomainStatus enumerates the values for domain status.
214
type DomainStatus string
217
// DomainStatusActive specifies the domain status active state for domain
219
DomainStatusActive DomainStatus = "Active"
220
// DomainStatusAwaiting specifies the domain status awaiting state for
222
DomainStatusAwaiting DomainStatus = "Awaiting"
223
// DomainStatusCancelled specifies the domain status cancelled state for
225
DomainStatusCancelled DomainStatus = "Cancelled"
226
// DomainStatusConfiscated specifies the domain status confiscated state
227
// for domain status.
228
DomainStatusConfiscated DomainStatus = "Confiscated"
229
// DomainStatusDisabled specifies the domain status disabled state for
231
DomainStatusDisabled DomainStatus = "Disabled"
232
// DomainStatusExcluded specifies the domain status excluded state for
234
DomainStatusExcluded DomainStatus = "Excluded"
235
// DomainStatusExpired specifies the domain status expired state for
237
DomainStatusExpired DomainStatus = "Expired"
238
// DomainStatusFailed specifies the domain status failed state for domain
240
DomainStatusFailed DomainStatus = "Failed"
241
// DomainStatusHeld specifies the domain status held state for domain
243
DomainStatusHeld DomainStatus = "Held"
244
// DomainStatusJSONConverterFailed specifies the domain status json
245
// converter failed state for domain status.
246
DomainStatusJSONConverterFailed DomainStatus = "JsonConverterFailed"
247
// DomainStatusLocked specifies the domain status locked state for domain
249
DomainStatusLocked DomainStatus = "Locked"
250
// DomainStatusParked specifies the domain status parked state for domain
252
DomainStatusParked DomainStatus = "Parked"
253
// DomainStatusPending specifies the domain status pending state for
255
DomainStatusPending DomainStatus = "Pending"
256
// DomainStatusReserved specifies the domain status reserved state for
258
DomainStatusReserved DomainStatus = "Reserved"
259
// DomainStatusReverted specifies the domain status reverted state for
261
DomainStatusReverted DomainStatus = "Reverted"
262
// DomainStatusSuspended specifies the domain status suspended state for
264
DomainStatusSuspended DomainStatus = "Suspended"
265
// DomainStatusTransferred specifies the domain status transferred state
266
// for domain status.
267
DomainStatusTransferred DomainStatus = "Transferred"
268
// DomainStatusUnknown specifies the domain status unknown state for
270
DomainStatusUnknown DomainStatus = "Unknown"
271
// DomainStatusUnlocked specifies the domain status unlocked state for
273
DomainStatusUnlocked DomainStatus = "Unlocked"
274
// DomainStatusUnparked specifies the domain status unparked state for
276
DomainStatusUnparked DomainStatus = "Unparked"
277
// DomainStatusUpdated specifies the domain status updated state for
279
DomainStatusUpdated DomainStatus = "Updated"
282
// DomainType enumerates the values for domain type.
283
type DomainType string
286
// Regular specifies the regular state for domain type.
287
Regular DomainType = "Regular"
288
// SoftDeleted specifies the soft deleted state for domain type.
289
SoftDeleted DomainType = "SoftDeleted"
292
// FrequencyUnit enumerates the values for frequency unit.
293
type FrequencyUnit string
296
// Day specifies the day state for frequency unit.
297
Day FrequencyUnit = "Day"
298
// Hour specifies the hour state for frequency unit.
299
Hour FrequencyUnit = "Hour"
302
// HostingEnvironmentStatus enumerates the values for hosting environment
304
type HostingEnvironmentStatus string
307
// Deleting specifies the deleting state for hosting environment status.
308
Deleting HostingEnvironmentStatus = "Deleting"
309
// Preparing specifies the preparing state for hosting environment status.
310
Preparing HostingEnvironmentStatus = "Preparing"
311
// Ready specifies the ready state for hosting environment status.
312
Ready HostingEnvironmentStatus = "Ready"
313
// Scaling specifies the scaling state for hosting environment status.
314
Scaling HostingEnvironmentStatus = "Scaling"
317
// HostNameType enumerates the values for host name type.
318
type HostNameType string
321
// Managed specifies the managed state for host name type.
322
Managed HostNameType = "Managed"
323
// Verified specifies the verified state for host name type.
324
Verified HostNameType = "Verified"
327
// InternalLoadBalancingMode enumerates the values for internal load balancing
329
type InternalLoadBalancingMode string
332
// None specifies the none state for internal load balancing mode.
333
None InternalLoadBalancingMode = "None"
334
// Publishing specifies the publishing state for internal load balancing
336
Publishing InternalLoadBalancingMode = "Publishing"
337
// Web specifies the web state for internal load balancing mode.
338
Web InternalLoadBalancingMode = "Web"
341
// KeyVaultSecretStatus enumerates the values for key vault secret status.
342
type KeyVaultSecretStatus string
345
// KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault specifies
346
// the key vault secret status azure service unauthorized to access key
347
// vault state for key vault secret status.
348
KeyVaultSecretStatusAzureServiceUnauthorizedToAccessKeyVault KeyVaultSecretStatus = "AzureServiceUnauthorizedToAccessKeyVault"
349
// KeyVaultSecretStatusCertificateOrderFailed specifies the key vault
350
// secret status certificate order failed state for key vault secret
352
KeyVaultSecretStatusCertificateOrderFailed KeyVaultSecretStatus = "CertificateOrderFailed"
353
// KeyVaultSecretStatusInitialized specifies the key vault secret status
354
// initialized state for key vault secret status.
355
KeyVaultSecretStatusInitialized KeyVaultSecretStatus = "Initialized"
356
// KeyVaultSecretStatusKeyVaultDoesNotExist specifies the key vault secret
357
// status key vault does not exist state for key vault secret status.
358
KeyVaultSecretStatusKeyVaultDoesNotExist KeyVaultSecretStatus = "KeyVaultDoesNotExist"
359
// KeyVaultSecretStatusKeyVaultSecretDoesNotExist specifies the key vault
360
// secret status key vault secret does not exist state for key vault
362
KeyVaultSecretStatusKeyVaultSecretDoesNotExist KeyVaultSecretStatus = "KeyVaultSecretDoesNotExist"
363
// KeyVaultSecretStatusOperationNotPermittedOnKeyVault specifies the key
364
// vault secret status operation not permitted on key vault state for key
365
// vault secret status.
366
KeyVaultSecretStatusOperationNotPermittedOnKeyVault KeyVaultSecretStatus = "OperationNotPermittedOnKeyVault"
367
// KeyVaultSecretStatusSucceeded specifies the key vault secret status
368
// succeeded state for key vault secret status.
369
KeyVaultSecretStatusSucceeded KeyVaultSecretStatus = "Succeeded"
370
// KeyVaultSecretStatusUnknown specifies the key vault secret status
371
// unknown state for key vault secret status.
372
KeyVaultSecretStatusUnknown KeyVaultSecretStatus = "Unknown"
373
// KeyVaultSecretStatusUnknownError specifies the key vault secret status
374
// unknown error state for key vault secret status.
375
KeyVaultSecretStatusUnknownError KeyVaultSecretStatus = "UnknownError"
376
// KeyVaultSecretStatusWaitingOnCertificateOrder specifies the key vault
377
// secret status waiting on certificate order state for key vault secret
379
KeyVaultSecretStatusWaitingOnCertificateOrder KeyVaultSecretStatus = "WaitingOnCertificateOrder"
382
// LogLevel enumerates the values for log level.
386
// Error specifies the error state for log level.
387
Error LogLevel = "Error"
388
// Information specifies the information state for log level.
389
Information LogLevel = "Information"
390
// Off specifies the off state for log level.
392
// Verbose specifies the verbose state for log level.
393
Verbose LogLevel = "Verbose"
394
// Warning specifies the warning state for log level.
395
Warning LogLevel = "Warning"
398
// ManagedHostingEnvironmentStatus enumerates the values for managed hosting
399
// environment status.
400
type ManagedHostingEnvironmentStatus string
403
// ManagedHostingEnvironmentStatusDeleting specifies the managed hosting
404
// environment status deleting state for managed hosting environment
406
ManagedHostingEnvironmentStatusDeleting ManagedHostingEnvironmentStatus = "Deleting"
407
// ManagedHostingEnvironmentStatusPreparing specifies the managed hosting
408
// environment status preparing state for managed hosting environment
410
ManagedHostingEnvironmentStatusPreparing ManagedHostingEnvironmentStatus = "Preparing"
411
// ManagedHostingEnvironmentStatusReady specifies the managed hosting
412
// environment status ready state for managed hosting environment status.
413
ManagedHostingEnvironmentStatusReady ManagedHostingEnvironmentStatus = "Ready"
416
// ManagedPipelineMode enumerates the values for managed pipeline mode.
417
type ManagedPipelineMode string
420
// Classic specifies the classic state for managed pipeline mode.
421
Classic ManagedPipelineMode = "Classic"
422
// Integrated specifies the integrated state for managed pipeline mode.
423
Integrated ManagedPipelineMode = "Integrated"
426
// SiteAvailabilityState enumerates the values for site availability state.
427
type SiteAvailabilityState string
430
// DisasterRecoveryMode specifies the disaster recovery mode state for
431
// site availability state.
432
DisasterRecoveryMode SiteAvailabilityState = "DisasterRecoveryMode"
433
// Limited specifies the limited state for site availability state.
434
Limited SiteAvailabilityState = "Limited"
435
// Normal specifies the normal state for site availability state.
436
Normal SiteAvailabilityState = "Normal"
439
// SiteLoadBalancing enumerates the values for site load balancing.
440
type SiteLoadBalancing string
443
// LeastRequests specifies the least requests state for site load
445
LeastRequests SiteLoadBalancing = "LeastRequests"
446
// LeastResponseTime specifies the least response time state for site load
448
LeastResponseTime SiteLoadBalancing = "LeastResponseTime"
449
// RequestHash specifies the request hash state for site load balancing.
450
RequestHash SiteLoadBalancing = "RequestHash"
451
// WeightedRoundRobin specifies the weighted round robin state for site
453
WeightedRoundRobin SiteLoadBalancing = "WeightedRoundRobin"
454
// WeightedTotalTraffic specifies the weighted total traffic state for
455
// site load balancing.
456
WeightedTotalTraffic SiteLoadBalancing = "WeightedTotalTraffic"
459
// SslState enumerates the values for ssl state.
463
// Disabled specifies the disabled state for ssl state.
464
Disabled SslState = "Disabled"
465
// IPBasedEnabled specifies the ip based enabled state for ssl state.
466
IPBasedEnabled SslState = "IpBasedEnabled"
467
// SniEnabled specifies the sni enabled state for ssl state.
468
SniEnabled SslState = "SniEnabled"
471
// StatusOptions enumerates the values for status options.
472
type StatusOptions string
475
// StatusOptionsPending specifies the status options pending state for
477
StatusOptionsPending StatusOptions = "Pending"
478
// StatusOptionsReady specifies the status options ready state for status
480
StatusOptionsReady StatusOptions = "Ready"
483
// UnauthenticatedClientAction enumerates the values for unauthenticated
485
type UnauthenticatedClientAction string
488
// AllowAnonymous specifies the allow anonymous state for unauthenticated
490
AllowAnonymous UnauthenticatedClientAction = "AllowAnonymous"
491
// RedirectToLoginPage specifies the redirect to login page state for
492
// unauthenticated client action.
493
RedirectToLoginPage UnauthenticatedClientAction = "RedirectToLoginPage"
496
// UsageState enumerates the values for usage state.
497
type UsageState string
500
// UsageStateExceeded specifies the usage state exceeded state for usage
502
UsageStateExceeded UsageState = "Exceeded"
503
// UsageStateNormal specifies the usage state normal state for usage state.
504
UsageStateNormal UsageState = "Normal"
507
// WorkerSizeOptions enumerates the values for worker size options.
508
type WorkerSizeOptions string
511
// Large specifies the large state for worker size options.
512
Large WorkerSizeOptions = "Large"
513
// Medium specifies the medium state for worker size options.
514
Medium WorkerSizeOptions = "Medium"
515
// Small specifies the small state for worker size options.
516
Small WorkerSizeOptions = "Small"
519
// Address is address information for domain registration
520
type Address struct {
521
Address1 *string `json:"address1,omitempty"`
522
Address2 *string `json:"address2,omitempty"`
523
City *string `json:"city,omitempty"`
524
Country *string `json:"country,omitempty"`
525
PostalCode *string `json:"postalCode,omitempty"`
526
State *string `json:"state,omitempty"`
529
// AddressResponse is describes main public ip address and any extra vips
530
type AddressResponse struct {
531
autorest.Response `json:"-"`
532
ServiceIPAddress *string `json:"serviceIpAddress,omitempty"`
533
InternalIPAddress *string `json:"internalIpAddress,omitempty"`
534
OutboundIPAddresses *[]string `json:"outboundIpAddresses,omitempty"`
535
VipMappings *[]VirtualIPMapping `json:"vipMappings,omitempty"`
538
// ApplicationLogsConfig is application logs configuration
539
type ApplicationLogsConfig struct {
540
FileSystem *FileSystemApplicationLogsConfig `json:"fileSystem,omitempty"`
541
AzureTableStorage *AzureTableStorageApplicationLogsConfig `json:"azureTableStorage,omitempty"`
542
AzureBlobStorage *AzureBlobStorageApplicationLogsConfig `json:"azureBlobStorage,omitempty"`
545
// ArmPlan is the plan object in an ARM, represents a marketplace plan
546
type ArmPlan struct {
547
Name *string `json:"name,omitempty"`
548
Publisher *string `json:"publisher,omitempty"`
549
Product *string `json:"product,omitempty"`
550
PromotionCode *string `json:"promotionCode,omitempty"`
551
Version *string `json:"version,omitempty"`
554
// AutoHealActions is autoHealActions - Describes the actions which can be
555
// taken by the auto-heal module when a rule is triggered.
556
type AutoHealActions struct {
557
ActionType AutoHealActionType `json:"actionType,omitempty"`
558
CustomAction *AutoHealCustomAction `json:"customAction,omitempty"`
561
// AutoHealCustomAction is autoHealCustomAction - Describes the custom action
563
// when an auto heal rule is triggered.
564
type AutoHealCustomAction struct {
565
Exe *string `json:"exe,omitempty"`
566
Parameters *string `json:"parameters,omitempty"`
569
// AutoHealRules is autoHealRules - describes the rules which can be defined
571
type AutoHealRules struct {
572
Triggers *AutoHealTriggers `json:"triggers,omitempty"`
573
Actions *AutoHealActions `json:"actions,omitempty"`
576
// AutoHealTriggers is autoHealTriggers - describes the triggers for auto-heal.
577
type AutoHealTriggers struct {
578
Requests *RequestsBasedTrigger `json:"requests,omitempty"`
579
PrivateBytesInKB *int `json:"privateBytesInKB,omitempty"`
580
StatusCodes *[]StatusCodesBasedTrigger `json:"statusCodes,omitempty"`
581
SlowRequests *SlowRequestsBasedTrigger `json:"slowRequests,omitempty"`
584
// AzureBlobStorageApplicationLogsConfig is application logs azure blob
585
// storage configuration
586
type AzureBlobStorageApplicationLogsConfig struct {
587
Level LogLevel `json:"level,omitempty"`
588
SasURL *string `json:"sasUrl,omitempty"`
589
RetentionInDays *int `json:"retentionInDays,omitempty"`
592
// AzureBlobStorageHTTPLogsConfig is http logs to azure blob storage
594
type AzureBlobStorageHTTPLogsConfig struct {
595
SasURL *string `json:"sasUrl,omitempty"`
596
RetentionInDays *int `json:"retentionInDays,omitempty"`
597
Enabled *bool `json:"enabled,omitempty"`
600
// AzureTableStorageApplicationLogsConfig is application logs to azure table
601
// storage configuration
602
type AzureTableStorageApplicationLogsConfig struct {
603
Level LogLevel `json:"level,omitempty"`
604
SasURL *string `json:"sasUrl,omitempty"`
607
// BackupItem is backup description
608
type BackupItem struct {
609
autorest.Response `json:"-"`
610
ID *string `json:"id,omitempty"`
611
Name *string `json:"name,omitempty"`
612
Location *string `json:"location,omitempty"`
613
Type *string `json:"type,omitempty"`
614
Tags *map[string]*string `json:"tags,omitempty"`
615
Properties *BackupItemProperties `json:"properties,omitempty"`
618
// BackupItemCollection is collection of Backup Items
619
type BackupItemCollection struct {
620
autorest.Response `json:"-"`
621
Value *[]BackupItem `json:"value,omitempty"`
622
NextLink *string `json:"nextLink,omitempty"`
625
// BackupItemProperties is
626
type BackupItemProperties struct {
627
StorageAccountURL *string `json:"storageAccountUrl,omitempty"`
628
BlobName *string `json:"blobName,omitempty"`
629
Name *string `json:"name,omitempty"`
630
Status BackupItemStatus `json:"status,omitempty"`
631
SizeInBytes *int32 `json:"sizeInBytes,omitempty"`
632
Created *date.Time `json:"created,omitempty"`
633
Log *string `json:"log,omitempty"`
634
Databases *[]DatabaseBackupSetting `json:"databases,omitempty"`
635
Scheduled *bool `json:"scheduled,omitempty"`
636
LastRestoreTimeStamp *date.Time `json:"lastRestoreTimeStamp,omitempty"`
637
FinishedTimeStamp *date.Time `json:"finishedTimeStamp,omitempty"`
638
CorrelationID *string `json:"correlationId,omitempty"`
639
WebsiteSizeInBytes *int32 `json:"websiteSizeInBytes,omitempty"`
642
// BackupRequest is description of a backup which will be performed
643
type BackupRequest struct {
644
autorest.Response `json:"-"`
645
ID *string `json:"id,omitempty"`
646
Name *string `json:"name,omitempty"`
647
Location *string `json:"location,omitempty"`
648
Type *string `json:"type,omitempty"`
649
Tags *map[string]*string `json:"tags,omitempty"`
650
Properties *BackupRequestProperties `json:"properties,omitempty"`
653
// BackupRequestProperties is
654
type BackupRequestProperties struct {
655
Name *string `json:"name,omitempty"`
656
Enabled *bool `json:"enabled,omitempty"`
657
StorageAccountURL *string `json:"storageAccountUrl,omitempty"`
658
BackupSchedule *BackupSchedule `json:"backupSchedule,omitempty"`
659
Databases *[]DatabaseBackupSetting `json:"databases,omitempty"`
660
Type BackupRestoreOperationType `json:"type,omitempty"`
663
// BackupSchedule is description of a backup schedule. Describes how often
664
// should be the backup performed and what should be the retention policy.
665
type BackupSchedule struct {
666
FrequencyInterval *int `json:"frequencyInterval,omitempty"`
667
FrequencyUnit FrequencyUnit `json:"frequencyUnit,omitempty"`
668
KeepAtLeastOneBackup *bool `json:"keepAtLeastOneBackup,omitempty"`
669
RetentionPeriodInDays *int `json:"retentionPeriodInDays,omitempty"`
670
StartTime *date.Time `json:"startTime,omitempty"`
671
LastExecutionTime *date.Time `json:"lastExecutionTime,omitempty"`
674
// Certificate is app certificate
675
type Certificate struct {
676
autorest.Response `json:"-"`
677
ID *string `json:"id,omitempty"`
678
Name *string `json:"name,omitempty"`
679
Location *string `json:"location,omitempty"`
680
Type *string `json:"type,omitempty"`
681
Tags *map[string]*string `json:"tags,omitempty"`
682
Properties *CertificateProperties `json:"properties,omitempty"`
685
// CertificateCollection is collection of certificates
686
type CertificateCollection struct {
687
autorest.Response `json:"-"`
688
Value *[]Certificate `json:"value,omitempty"`
689
NextLink *string `json:"nextLink,omitempty"`
692
// CertificateOrder is certificate purchase order
693
type CertificateOrder struct {
694
autorest.Response `json:"-"`
695
ID *string `json:"id,omitempty"`
696
Name *string `json:"name,omitempty"`
697
Location *string `json:"location,omitempty"`
698
Type *string `json:"type,omitempty"`
699
Tags *map[string]*string `json:"tags,omitempty"`
700
Properties *CertificateOrderProperties `json:"properties,omitempty"`
703
// CertificateOrderCertificate is class representing the Key Vault container
704
// for certificate purchased through Azure
705
type CertificateOrderCertificate struct {
706
autorest.Response `json:"-"`
707
ID *string `json:"id,omitempty"`
708
Name *string `json:"name,omitempty"`
709
Location *string `json:"location,omitempty"`
710
Type *string `json:"type,omitempty"`
711
Tags *map[string]*string `json:"tags,omitempty"`
712
Properties *CertificateOrderCertificateProperties `json:"properties,omitempty"`
715
// CertificateOrderCertificateCollection is collection of ceritificateorder
717
type CertificateOrderCertificateCollection struct {
718
autorest.Response `json:"-"`
719
Value *[]CertificateOrderCertificate `json:"value,omitempty"`
720
NextLink *string `json:"nextLink,omitempty"`
723
// CertificateOrderCertificateProperties is
724
type CertificateOrderCertificateProperties struct {
725
KeyVaultCsmID *string `json:"keyVaultCsmId,omitempty"`
726
KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`
727
ProvisioningState KeyVaultSecretStatus `json:"provisioningState,omitempty"`
728
Thumbprint *string `json:"thumbprint,omitempty"`
731
// CertificateOrderCollection is collection of ceritificate orders
732
type CertificateOrderCollection struct {
733
autorest.Response `json:"-"`
734
Value *[]CertificateOrder `json:"value,omitempty"`
735
NextLink *string `json:"nextLink,omitempty"`
738
// CertificateOrderProperties is
739
type CertificateOrderProperties struct {
740
Certificates *map[string]*CertificateOrderCertificate `json:"certificates,omitempty"`
741
DistinguishedName *string `json:"distinguishedName,omitempty"`
742
DomainVerificationToken *string `json:"domainVerificationToken,omitempty"`
743
ValidityInYears *int `json:"validityInYears,omitempty"`
744
KeySize *int `json:"keySize,omitempty"`
745
ProductType CertificateProductType `json:"productType,omitempty"`
746
Status CertificateOrderStatus `json:"status,omitempty"`
747
SignedCertificate *string `json:"signedCertificate,omitempty"`
748
Csr *string `json:"csr,omitempty"`
749
Intermediate *string `json:"intermediate,omitempty"`
750
Root *string `json:"root,omitempty"`
751
SerialNumber *string `json:"serialNumber,omitempty"`
752
Action CertificateAction `json:"action,omitempty"`
753
KeyVaultCsmID *string `json:"keyVaultCsmId,omitempty"`
754
DelayExistingRevokeInHours *int `json:"delayExistingRevokeInHours,omitempty"`
757
// CertificateProperties is
758
type CertificateProperties struct {
759
FriendlyName *string `json:"friendlyName,omitempty"`
760
SubjectName *string `json:"subjectName,omitempty"`
761
HostNames *[]string `json:"hostNames,omitempty"`
762
PfxBlob *string `json:"pfxBlob,omitempty"`
763
SiteName *string `json:"siteName,omitempty"`
764
SelfLink *string `json:"selfLink,omitempty"`
765
Issuer *string `json:"issuer,omitempty"`
766
IssueDate *date.Time `json:"issueDate,omitempty"`
767
ExpirationDate *date.Time `json:"expirationDate,omitempty"`
768
Password *string `json:"password,omitempty"`
769
Thumbprint *string `json:"thumbprint,omitempty"`
770
Valid *bool `json:"valid,omitempty"`
771
CerBlob *string `json:"cerBlob,omitempty"`
772
PublicKeyHash *string `json:"publicKeyHash,omitempty"`
773
HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`
774
KeyVaultCsmID *string `json:"keyVaultCsmId,omitempty"`
775
KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`
778
// ClassicMobileService is a mobile service
779
type ClassicMobileService struct {
780
autorest.Response `json:"-"`
781
ID *string `json:"id,omitempty"`
782
Name *string `json:"name,omitempty"`
783
Location *string `json:"location,omitempty"`
784
Type *string `json:"type,omitempty"`
785
Tags *map[string]*string `json:"tags,omitempty"`
786
Properties *ClassicMobileServiceProperties `json:"properties,omitempty"`
789
// ClassicMobileServiceCollection is collection of Classic Mobile Services
790
type ClassicMobileServiceCollection struct {
791
autorest.Response `json:"-"`
792
Value *[]ClassicMobileService `json:"value,omitempty"`
793
NextLink *string `json:"nextLink,omitempty"`
796
// ClassicMobileServiceProperties is
797
type ClassicMobileServiceProperties struct {
798
Name *string `json:"name,omitempty"`
801
// CloningInfo is represents information needed for cloning operation
802
type CloningInfo struct {
803
CorrelationID *string `json:"correlationId,omitempty"`
804
Overwrite *bool `json:"overwrite,omitempty"`
805
CloneCustomHostNames *bool `json:"cloneCustomHostNames,omitempty"`
806
CloneSourceControl *bool `json:"cloneSourceControl,omitempty"`
807
SourceWebAppID *string `json:"sourceWebAppId,omitempty"`
808
HostingEnvironment *string `json:"hostingEnvironment,omitempty"`
809
AppSettingsOverrides *map[string]*string `json:"appSettingsOverrides,omitempty"`
810
ConfigureLoadBalancing *bool `json:"configureLoadBalancing,omitempty"`
811
TrafficManagerProfileID *string `json:"trafficManagerProfileId,omitempty"`
812
TrafficManagerProfileName *string `json:"trafficManagerProfileName,omitempty"`
815
// ConnectionStringDictionary is string dictionary resource
816
type ConnectionStringDictionary struct {
817
autorest.Response `json:"-"`
818
ID *string `json:"id,omitempty"`
819
Name *string `json:"name,omitempty"`
820
Location *string `json:"location,omitempty"`
821
Type *string `json:"type,omitempty"`
822
Tags *map[string]*string `json:"tags,omitempty"`
823
Properties *map[string]*ConnStringValueTypePair `json:"properties,omitempty"`
826
// ConnStringInfo is represents database connection string information
827
type ConnStringInfo struct {
828
Name *string `json:"name,omitempty"`
829
ConnectionString *string `json:"connectionString,omitempty"`
830
Type DatabaseServerType `json:"type,omitempty"`
833
// ConnStringValueTypePair is database connection string value to type pair
834
type ConnStringValueTypePair struct {
835
Value *string `json:"value,omitempty"`
836
Type DatabaseServerType `json:"type,omitempty"`
839
// Contact is contact information for domain registration. If 'Domain Privacy'
840
// option is not selected then the contact information will be be made
841
// publicly available through the Whois directories as per ICANN requirements.
842
type Contact struct {
843
AddressMailing *Address `json:"addressMailing,omitempty"`
844
Email *string `json:"email,omitempty"`
845
Fax *string `json:"fax,omitempty"`
846
JobTitle *string `json:"jobTitle,omitempty"`
847
NameFirst *string `json:"nameFirst,omitempty"`
848
NameLast *string `json:"nameLast,omitempty"`
849
NameMiddle *string `json:"nameMiddle,omitempty"`
850
Organization *string `json:"organization,omitempty"`
851
Phone *string `json:"phone,omitempty"`
854
// CsmMoveResourceEnvelope is class containing a list of the resources that
855
// need to be moved and the resource group they should be moved to
856
type CsmMoveResourceEnvelope struct {
857
TargetResourceGroup *string `json:"targetResourceGroup,omitempty"`
858
Resources *[]string `json:"resources,omitempty"`
861
// CsmPublishingProfileOptions is publishing options for requested profile
862
type CsmPublishingProfileOptions struct {
863
Format *string `json:"format,omitempty"`
866
// CsmSiteRecoveryEntity is class containting details about site recovery
868
type CsmSiteRecoveryEntity struct {
869
SnapshotTime *date.Time `json:"snapshotTime,omitempty"`
870
SiteName *string `json:"siteName,omitempty"`
871
SlotName *string `json:"slotName,omitempty"`
874
// CsmSlotEntity is class containing deployment slot parameters
875
type CsmSlotEntity struct {
876
TargetSlot *string `json:"targetSlot,omitempty"`
877
PreserveVnet *bool `json:"preserveVnet,omitempty"`
880
// CsmUsageQuota is usage of the quota resource
881
type CsmUsageQuota struct {
882
Unit *string `json:"unit,omitempty"`
883
NextResetTime *date.Time `json:"nextResetTime,omitempty"`
884
CurrentValue *int32 `json:"currentValue,omitempty"`
885
Limit *int32 `json:"limit,omitempty"`
886
Name *LocalizableString `json:"name,omitempty"`
889
// CsmUsageQuotaCollection is collection of csm usage quotas
890
type CsmUsageQuotaCollection struct {
891
autorest.Response `json:"-"`
892
Value *[]CsmUsageQuota `json:"value,omitempty"`
893
NextLink *string `json:"nextLink,omitempty"`
896
// Csr is certificate signing request object
898
autorest.Response `json:"-"`
899
ID *string `json:"id,omitempty"`
900
Name *string `json:"name,omitempty"`
901
Location *string `json:"location,omitempty"`
902
Type *string `json:"type,omitempty"`
903
Tags *map[string]*string `json:"tags,omitempty"`
904
Properties *CsrProperties `json:"properties,omitempty"`
908
type CsrList struct {
909
autorest.Response `json:"-"`
910
Value *[]Csr `json:"value,omitempty"`
914
type CsrProperties struct {
915
Name *string `json:"name,omitempty"`
916
DistinguishedName *string `json:"distinguishedName,omitempty"`
917
CsrString *string `json:"csrString,omitempty"`
918
PfxBlob *string `json:"pfxBlob,omitempty"`
919
Password *string `json:"password,omitempty"`
920
PublicKeyHash *string `json:"publicKeyHash,omitempty"`
921
HostingEnvironment *string `json:"hostingEnvironment,omitempty"`
924
// DatabaseBackupSetting is note: properties are serialized in JSON format and
926
// if new properties are added they might not be in the previous
928
// so please handle nulls
929
type DatabaseBackupSetting struct {
930
DatabaseType *string `json:"databaseType,omitempty"`
931
Name *string `json:"name,omitempty"`
932
ConnectionStringName *string `json:"connectionStringName,omitempty"`
933
ConnectionString *string `json:"connectionString,omitempty"`
936
// DeletedSite is reports deleted site including the timestamp of operation
937
type DeletedSite struct {
938
ID *string `json:"id,omitempty"`
939
Name *string `json:"name,omitempty"`
940
Location *string `json:"location,omitempty"`
941
Type *string `json:"type,omitempty"`
942
Tags *map[string]*string `json:"tags,omitempty"`
943
Properties *DeletedSiteProperties `json:"properties,omitempty"`
946
// DeletedSiteCollection is collection of deleted sites
947
type DeletedSiteCollection struct {
948
autorest.Response `json:"-"`
949
Value *[]DeletedSite `json:"value,omitempty"`
950
NextLink *string `json:"nextLink,omitempty"`
953
// DeletedSiteProperties is
954
type DeletedSiteProperties struct {
955
DeletedTimestamp *date.Time `json:"deletedTimestamp,omitempty"`
956
Name *string `json:"name,omitempty"`
957
State *string `json:"state,omitempty"`
958
HostNames *[]string `json:"hostNames,omitempty"`
959
RepositorySiteName *string `json:"repositorySiteName,omitempty"`
960
UsageState UsageState `json:"usageState,omitempty"`
961
Enabled *bool `json:"enabled,omitempty"`
962
EnabledHostNames *[]string `json:"enabledHostNames,omitempty"`
963
AvailabilityState SiteAvailabilityState `json:"availabilityState,omitempty"`
964
HostNameSslStates *[]HostNameSslState `json:"hostNameSslStates,omitempty"`
965
ServerFarmID *string `json:"serverFarmId,omitempty"`
966
LastModifiedTimeUtc *date.Time `json:"lastModifiedTimeUtc,omitempty"`
967
SiteConfig *SiteConfig `json:"siteConfig,omitempty"`
968
TrafficManagerHostNames *[]string `json:"trafficManagerHostNames,omitempty"`
969
PremiumAppDeployed *bool `json:"premiumAppDeployed,omitempty"`
970
ScmSiteAlsoStopped *bool `json:"scmSiteAlsoStopped,omitempty"`
971
TargetSwapSlot *string `json:"targetSwapSlot,omitempty"`
972
HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`
973
MicroService *string `json:"microService,omitempty"`
974
GatewaySiteName *string `json:"gatewaySiteName,omitempty"`
975
ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty"`
976
ClientCertEnabled *bool `json:"clientCertEnabled,omitempty"`
977
OutboundIPAddresses *string `json:"outboundIpAddresses,omitempty"`
978
CloningInfo *CloningInfo `json:"cloningInfo,omitempty"`
981
// Domain is represents a domain
983
autorest.Response `json:"-"`
984
ID *string `json:"id,omitempty"`
985
Name *string `json:"name,omitempty"`
986
Location *string `json:"location,omitempty"`
987
Type *string `json:"type,omitempty"`
988
Tags *map[string]*string `json:"tags,omitempty"`
989
Properties *DomainProperties `json:"properties,omitempty"`
992
// DomainAvailablilityCheckResult is domain availablility check result
993
type DomainAvailablilityCheckResult struct {
994
autorest.Response `json:"-"`
995
Name *string `json:"name,omitempty"`
996
Available *bool `json:"available,omitempty"`
997
DomainType DomainType `json:"domainType,omitempty"`
1000
// DomainCollection is collection of domains
1001
type DomainCollection struct {
1002
autorest.Response `json:"-"`
1003
Value *[]Domain `json:"value,omitempty"`
1004
NextLink *string `json:"nextLink,omitempty"`
1007
// DomainControlCenterSsoRequest is single sign on request information for
1008
// domain management
1009
type DomainControlCenterSsoRequest struct {
1010
autorest.Response `json:"-"`
1011
URL *string `json:"url,omitempty"`
1012
PostParameterKey *string `json:"postParameterKey,omitempty"`
1013
PostParameterValue *string `json:"postParameterValue,omitempty"`
1016
// DomainProperties is
1017
type DomainProperties struct {
1018
ContactAdmin *Contact `json:"contactAdmin,omitempty"`
1019
ContactBilling *Contact `json:"contactBilling,omitempty"`
1020
ContactRegistrant *Contact `json:"contactRegistrant,omitempty"`
1021
ContactTech *Contact `json:"contactTech,omitempty"`
1022
RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"`
1023
NameServers *[]string `json:"nameServers,omitempty"`
1024
Privacy *bool `json:"privacy,omitempty"`
1025
CreatedTime *date.Time `json:"createdTime,omitempty"`
1026
ExpirationTime *date.Time `json:"expirationTime,omitempty"`
1027
LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"`
1028
AutoRenew *bool `json:"autoRenew,omitempty"`
1029
ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"`
1030
ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"`
1031
Consent *DomainPurchaseConsent `json:"consent,omitempty"`
1034
// DomainPurchaseConsent is domain purchase consent object representing
1035
// acceptance of applicable legal agreements
1036
type DomainPurchaseConsent struct {
1037
AgreementKeys *[]string `json:"agreementKeys,omitempty"`
1038
AgreedBy *string `json:"agreedBy,omitempty"`
1039
AgreedAt *date.Time `json:"agreedAt,omitempty"`
1042
// DomainRecommendationSearchParameters is domain recommendation search
1044
type DomainRecommendationSearchParameters struct {
1045
Keywords *string `json:"keywords,omitempty"`
1046
MaxDomainRecommendations *int `json:"maxDomainRecommendations,omitempty"`
1049
// DomainRegistrationInput is domain registration input for validation Api
1050
type DomainRegistrationInput struct {
1051
ID *string `json:"id,omitempty"`
1052
Name *string `json:"name,omitempty"`
1053
Location *string `json:"location,omitempty"`
1054
Type *string `json:"type,omitempty"`
1055
Tags *map[string]*string `json:"tags,omitempty"`
1056
Properties *DomainRegistrationInputProperties `json:"properties,omitempty"`
1059
// DomainRegistrationInputProperties is
1060
type DomainRegistrationInputProperties struct {
1061
Name *string `json:"name,omitempty"`
1062
ContactAdmin *Contact `json:"contactAdmin,omitempty"`
1063
ContactBilling *Contact `json:"contactBilling,omitempty"`
1064
ContactRegistrant *Contact `json:"contactRegistrant,omitempty"`
1065
ContactTech *Contact `json:"contactTech,omitempty"`
1066
RegistrationStatus DomainStatus `json:"registrationStatus,omitempty"`
1067
NameServers *[]string `json:"nameServers,omitempty"`
1068
Privacy *bool `json:"privacy,omitempty"`
1069
CreatedTime *date.Time `json:"createdTime,omitempty"`
1070
ExpirationTime *date.Time `json:"expirationTime,omitempty"`
1071
LastRenewedTime *date.Time `json:"lastRenewedTime,omitempty"`
1072
AutoRenew *bool `json:"autoRenew,omitempty"`
1073
ReadyForDNSRecordManagement *bool `json:"readyForDnsRecordManagement,omitempty"`
1074
ManagedHostNames *[]HostName `json:"managedHostNames,omitempty"`
1075
Consent *DomainPurchaseConsent `json:"consent,omitempty"`
1078
// EnabledConfig is enabled configuration
1079
type EnabledConfig struct {
1080
Enabled *bool `json:"enabled,omitempty"`
1083
// Experiments is class containing Routing in production experiments
1084
type Experiments struct {
1085
RampUpRules *[]RampUpRule `json:"rampUpRules,omitempty"`
1088
// FileSystemApplicationLogsConfig is application logs to file system
1090
type FileSystemApplicationLogsConfig struct {
1091
Level LogLevel `json:"level,omitempty"`
1094
// FileSystemHTTPLogsConfig is http logs to file system configuration
1095
type FileSystemHTTPLogsConfig struct {
1096
RetentionInMb *int `json:"retentionInMb,omitempty"`
1097
RetentionInDays *int `json:"retentionInDays,omitempty"`
1098
Enabled *bool `json:"enabled,omitempty"`
1101
// GeoRegion is geographical region
1102
type GeoRegion struct {
1103
ID *string `json:"id,omitempty"`
1104
Name *string `json:"name,omitempty"`
1105
Location *string `json:"location,omitempty"`
1106
Type *string `json:"type,omitempty"`
1107
Tags *map[string]*string `json:"tags,omitempty"`
1108
Properties *GeoRegionProperties `json:"properties,omitempty"`
1111
// GeoRegionCollection is collection of geo regions
1112
type GeoRegionCollection struct {
1113
autorest.Response `json:"-"`
1114
Value *[]GeoRegion `json:"value,omitempty"`
1115
NextLink *string `json:"nextLink,omitempty"`
1118
// GeoRegionProperties is
1119
type GeoRegionProperties struct {
1120
Name *string `json:"name,omitempty"`
1121
Description *string `json:"description,omitempty"`
1122
DisplayName *string `json:"displayName,omitempty"`
1125
// HandlerMapping is the IIS handler mappings used to define which handler
1126
// processes HTTP requests with certain extension.
1127
// For example it is used to configure php-cgi.exe process to
1128
// handle all HTTP requests with *.php extension.
1129
type HandlerMapping struct {
1130
Extension *string `json:"extension,omitempty"`
1131
ScriptProcessor *string `json:"scriptProcessor,omitempty"`
1132
Arguments *string `json:"arguments,omitempty"`
1135
// HostingEnvironment is description of an hostingEnvironment (App Service
1137
type HostingEnvironment struct {
1138
autorest.Response `json:"-"`
1139
ID *string `json:"id,omitempty"`
1140
Name *string `json:"name,omitempty"`
1141
Location *string `json:"location,omitempty"`
1142
Type *string `json:"type,omitempty"`
1143
Tags *map[string]*string `json:"tags,omitempty"`
1144
Properties *HostingEnvironmentProperties `json:"properties,omitempty"`
1147
// HostingEnvironmentCollection is collection of hosting environments (App
1148
// Service Environments)
1149
type HostingEnvironmentCollection struct {
1150
autorest.Response `json:"-"`
1151
Value *[]HostingEnvironment `json:"value,omitempty"`
1152
NextLink *string `json:"nextLink,omitempty"`
1155
// HostingEnvironmentDiagnostics is diagnostics for a hosting environment (App
1156
// Service Environment)
1157
type HostingEnvironmentDiagnostics struct {
1158
autorest.Response `json:"-"`
1159
Name *string `json:"name,omitempty"`
1160
DiagnosicsOutput *string `json:"diagnosicsOutput,omitempty"`
1163
// HostingEnvironmentDiagnosticsList is
1164
type HostingEnvironmentDiagnosticsList struct {
1165
autorest.Response `json:"-"`
1166
Value *[]HostingEnvironmentDiagnostics `json:"value,omitempty"`
1169
// HostingEnvironmentProfile is specification for a hostingEnvironment (App
1170
// Service Environment) to use for this resource
1171
type HostingEnvironmentProfile struct {
1172
ID *string `json:"id,omitempty"`
1173
Name *string `json:"name,omitempty"`
1174
Type *string `json:"type,omitempty"`
1177
// HostingEnvironmentProperties is
1178
type HostingEnvironmentProperties struct {
1179
Name *string `json:"name,omitempty"`
1180
Location *string `json:"location,omitempty"`
1181
Status HostingEnvironmentStatus `json:"status,omitempty"`
1182
VnetName *string `json:"vnetName,omitempty"`
1183
VnetResourceGroupName *string `json:"vnetResourceGroupName,omitempty"`
1184
VnetSubnetName *string `json:"vnetSubnetName,omitempty"`
1185
VirtualNetwork *VirtualNetworkProfile `json:"virtualNetwork,omitempty"`
1186
InternalLoadBalancingMode InternalLoadBalancingMode `json:"internalLoadBalancingMode,omitempty"`
1187
MultiSize *string `json:"multiSize,omitempty"`
1188
MultiRoleCount *int `json:"multiRoleCount,omitempty"`
1189
WorkerPools *[]WorkerPool `json:"workerPools,omitempty"`
1190
IpsslAddressCount *int `json:"ipsslAddressCount,omitempty"`
1191
DatabaseEdition *string `json:"databaseEdition,omitempty"`
1192
DatabaseServiceObjective *string `json:"databaseServiceObjective,omitempty"`
1193
UpgradeDomains *int `json:"upgradeDomains,omitempty"`
1194
SubscriptionID *string `json:"subscriptionId,omitempty"`
1195
DNSSuffix *string `json:"dnsSuffix,omitempty"`
1196
LastAction *string `json:"lastAction,omitempty"`
1197
LastActionResult *string `json:"lastActionResult,omitempty"`
1198
AllowedMultiSizes *string `json:"allowedMultiSizes,omitempty"`
1199
AllowedWorkerSizes *string `json:"allowedWorkerSizes,omitempty"`
1200
MaximumNumberOfMachines *int `json:"maximumNumberOfMachines,omitempty"`
1201
VipMappings *[]VirtualIPMapping `json:"vipMappings,omitempty"`
1202
EnvironmentCapacities *[]StampCapacity `json:"environmentCapacities,omitempty"`
1203
NetworkAccessControlList *[]NetworkAccessControlEntry `json:"networkAccessControlList,omitempty"`
1204
EnvironmentIsHealthy *bool `json:"environmentIsHealthy,omitempty"`
1205
EnvironmentStatus *string `json:"environmentStatus,omitempty"`
1206
ResourceGroup *string `json:"resourceGroup,omitempty"`
1207
APIManagementAccountID *string `json:"apiManagementAccountId,omitempty"`
1208
Suspended *bool `json:"suspended,omitempty"`
1211
// HostName is details of a hostname derived from a domain
1212
type HostName struct {
1213
Name *string `json:"name,omitempty"`
1214
SiteNames *[]string `json:"siteNames,omitempty"`
1215
AzureResourceName *string `json:"azureResourceName,omitempty"`
1216
AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"`
1217
CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"`
1218
HostNameType HostNameType `json:"hostNameType,omitempty"`
1221
// HostNameBinding is a host name binding object
1222
type HostNameBinding struct {
1223
autorest.Response `json:"-"`
1224
ID *string `json:"id,omitempty"`
1225
Name *string `json:"name,omitempty"`
1226
Location *string `json:"location,omitempty"`
1227
Type *string `json:"type,omitempty"`
1228
Tags *map[string]*string `json:"tags,omitempty"`
1229
Properties *HostNameBindingProperties `json:"properties,omitempty"`
1232
// HostNameBindingCollection is collection of host name bindings
1233
type HostNameBindingCollection struct {
1234
autorest.Response `json:"-"`
1235
Value *[]HostNameBinding `json:"value,omitempty"`
1236
NextLink *string `json:"nextLink,omitempty"`
1239
// HostNameBindingProperties is
1240
type HostNameBindingProperties struct {
1241
Name *string `json:"name,omitempty"`
1242
SiteName *string `json:"siteName,omitempty"`
1243
DomainID *string `json:"domainId,omitempty"`
1244
AzureResourceName *string `json:"azureResourceName,omitempty"`
1245
AzureResourceType AzureResourceType `json:"azureResourceType,omitempty"`
1246
CustomHostNameDNSRecordType CustomHostNameDNSRecordType `json:"customHostNameDnsRecordType,omitempty"`
1247
HostNameType HostNameType `json:"hostNameType,omitempty"`
1250
// HostNameSslState is object that represents a SSL-enabled host name.
1251
type HostNameSslState struct {
1252
Name *string `json:"name,omitempty"`
1253
SslState SslState `json:"sslState,omitempty"`
1254
VirtualIP *string `json:"virtualIP,omitempty"`
1255
Thumbprint *string `json:"thumbprint,omitempty"`
1256
ToUpdate *bool `json:"toUpdate,omitempty"`
1257
ToUpdateIPBasedSsl *bool `json:"toUpdateIpBasedSsl,omitempty"`
1260
// HTTPLogsConfig is http logs configuration
1261
type HTTPLogsConfig struct {
1262
FileSystem *FileSystemHTTPLogsConfig `json:"fileSystem,omitempty"`
1263
AzureBlobStorage *AzureBlobStorageHTTPLogsConfig `json:"azureBlobStorage,omitempty"`
1266
// KeyValuePairStringString is
1267
type KeyValuePairStringString struct {
1268
Key *string `json:"key,omitempty"`
1269
Value *string `json:"value,omitempty"`
1272
// LocalizableString is localizableString object containing the name and a
1274
type LocalizableString struct {
1275
Value *string `json:"value,omitempty"`
1276
LocalizedValue *string `json:"localizedValue,omitempty"`
1279
// ManagedHostingEnvironment is description of a managed hosting environment
1280
type ManagedHostingEnvironment struct {
1281
autorest.Response `json:"-"`
1282
ID *string `json:"id,omitempty"`
1283
Name *string `json:"name,omitempty"`
1284
Location *string `json:"location,omitempty"`
1285
Type *string `json:"type,omitempty"`
1286
Tags *map[string]*string `json:"tags,omitempty"`
1287
Properties *ManagedHostingEnvironmentProperties `json:"properties,omitempty"`
1290
// ManagedHostingEnvironmentCollection is collection of managed hosting
1292
type ManagedHostingEnvironmentCollection struct {
1293
autorest.Response `json:"-"`
1294
Value *[]ManagedHostingEnvironment `json:"value,omitempty"`
1295
NextLink *string `json:"nextLink,omitempty"`
1298
// ManagedHostingEnvironmentProperties is
1299
type ManagedHostingEnvironmentProperties struct {
1300
Name *string `json:"name,omitempty"`
1301
Location *string `json:"location,omitempty"`
1302
Status ManagedHostingEnvironmentStatus `json:"status,omitempty"`
1303
VirtualNetwork *VirtualNetworkProfile `json:"virtualNetwork,omitempty"`
1304
IpsslAddressCount *int `json:"ipsslAddressCount,omitempty"`
1305
DNSSuffix *string `json:"dnsSuffix,omitempty"`
1306
SubscriptionID *string `json:"subscriptionId,omitempty"`
1307
ResourceGroup *string `json:"resourceGroup,omitempty"`
1308
EnvironmentIsHealthy *bool `json:"environmentIsHealthy,omitempty"`
1309
EnvironmentStatus *string `json:"environmentStatus,omitempty"`
1310
Suspended *bool `json:"suspended,omitempty"`
1313
// MetricAvailabilily is class repesenting metrics availability and retention
1314
type MetricAvailabilily struct {
1315
TimeGrain *string `json:"timeGrain,omitempty"`
1316
Retention *string `json:"retention,omitempty"`
1319
// MetricDefinition is class repesenting metadata for the metrics
1320
type MetricDefinition struct {
1321
autorest.Response `json:"-"`
1322
ID *string `json:"id,omitempty"`
1323
Name *string `json:"name,omitempty"`
1324
Location *string `json:"location,omitempty"`
1325
Type *string `json:"type,omitempty"`
1326
Tags *map[string]*string `json:"tags,omitempty"`
1327
Properties *MetricDefinitionProperties `json:"properties,omitempty"`
1330
// MetricDefinitionCollection is collection of metric defintions
1331
type MetricDefinitionCollection struct {
1332
autorest.Response `json:"-"`
1333
Value *[]MetricDefinition `json:"value,omitempty"`
1334
NextLink *string `json:"nextLink,omitempty"`
1337
// MetricDefinitionProperties is
1338
type MetricDefinitionProperties struct {
1339
Name *string `json:"name,omitempty"`
1340
Unit *string `json:"unit,omitempty"`
1341
PrimaryAggregationType *string `json:"primaryAggregationType,omitempty"`
1342
MetricAvailabilities *[]MetricAvailabilily `json:"metricAvailabilities,omitempty"`
1343
DisplayName *string `json:"displayName,omitempty"`
1346
// NameIdentifier is identifies an object
1347
type NameIdentifier struct {
1348
Name *string `json:"name,omitempty"`
1351
// NameIdentifierCollection is collection of domain name identifiers
1352
type NameIdentifierCollection struct {
1353
autorest.Response `json:"-"`
1354
Value *[]NameIdentifier `json:"value,omitempty"`
1355
NextLink *string `json:"nextLink,omitempty"`
1358
// NameValuePair is name value pair
1359
type NameValuePair struct {
1360
Name *string `json:"name,omitempty"`
1361
Value *string `json:"value,omitempty"`
1364
// NetworkAccessControlEntry is
1365
type NetworkAccessControlEntry struct {
1366
Action AccessControlEntryAction `json:"action,omitempty"`
1367
Description *string `json:"description,omitempty"`
1368
Order *int `json:"order,omitempty"`
1369
RemoteSubnet *string `json:"remoteSubnet,omitempty"`
1372
// NetworkFeatures is this is an object used to store a full view of network
1373
// features (presently VNET integration and Hybrid Connections)
1375
type NetworkFeatures struct {
1376
autorest.Response `json:"-"`
1377
ID *string `json:"id,omitempty"`
1378
Name *string `json:"name,omitempty"`
1379
Location *string `json:"location,omitempty"`
1380
Type *string `json:"type,omitempty"`
1381
Tags *map[string]*string `json:"tags,omitempty"`
1382
Properties *NetworkFeaturesProperties `json:"properties,omitempty"`
1385
// NetworkFeaturesProperties is
1386
type NetworkFeaturesProperties struct {
1387
VirtualNetworkName *string `json:"virtualNetworkName,omitempty"`
1388
VirtualNetworkConnection *VnetInfo `json:"virtualNetworkConnection,omitempty"`
1389
HybridConnections *[]RelayServiceConnectionEntity `json:"hybridConnections,omitempty"`
1393
type ObjectSet struct {
1394
autorest.Response `json:"-"`
1395
Value *map[string]interface{} `json:"value,omitempty"`
1398
// PremierAddOnRequest is
1399
type PremierAddOnRequest struct {
1400
Location *string `json:"location,omitempty"`
1401
Tags *map[string]*string `json:"tags,omitempty"`
1402
Plan *ArmPlan `json:"plan,omitempty"`
1403
Properties *map[string]interface{} `json:"properties,omitempty"`
1404
Sku *SkuDescription `json:"sku,omitempty"`
1407
// RampUpRule is routing rules for ramp up testing. This rule allows to
1408
// redirect static traffic % to a slot or to gradually change routing % based
1410
type RampUpRule struct {
1411
ActionHostName *string `json:"actionHostName,omitempty"`
1412
ReroutePercentage *float64 `json:"reroutePercentage,omitempty"`
1413
ChangeStep *float64 `json:"changeStep,omitempty"`
1414
ChangeIntervalInMinutes *int `json:"changeIntervalInMinutes,omitempty"`
1415
MinReroutePercentage *float64 `json:"minReroutePercentage,omitempty"`
1416
MaxReroutePercentage *float64 `json:"maxReroutePercentage,omitempty"`
1417
ChangeDecisionCallbackURL *string `json:"changeDecisionCallbackUrl,omitempty"`
1418
Name *string `json:"name,omitempty"`
1421
// RelayServiceConnectionEntity is class that represents a Biztalk Hybrid
1423
type RelayServiceConnectionEntity struct {
1424
autorest.Response `json:"-"`
1425
ID *string `json:"id,omitempty"`
1426
Name *string `json:"name,omitempty"`
1427
Location *string `json:"location,omitempty"`
1428
Type *string `json:"type,omitempty"`
1429
Tags *map[string]*string `json:"tags,omitempty"`
1430
Properties *RelayServiceConnectionEntityProperties `json:"properties,omitempty"`
1433
// RelayServiceConnectionEntityProperties is
1434
type RelayServiceConnectionEntityProperties struct {
1435
EntityName *string `json:"entityName,omitempty"`
1436
EntityConnectionString *string `json:"entityConnectionString,omitempty"`
1437
ResourceType *string `json:"resourceType,omitempty"`
1438
ResourceConnectionString *string `json:"resourceConnectionString,omitempty"`
1439
Hostname *string `json:"hostname,omitempty"`
1440
Port *int `json:"port,omitempty"`
1441
BiztalkURI *string `json:"biztalkUri,omitempty"`
1444
// RequestsBasedTrigger is requestsBasedTrigger
1445
type RequestsBasedTrigger struct {
1446
Count *int `json:"count,omitempty"`
1447
TimeInterval *string `json:"timeInterval,omitempty"`
1451
type Resource struct {
1452
ID *string `json:"id,omitempty"`
1453
Name *string `json:"name,omitempty"`
1454
Location *string `json:"location,omitempty"`
1455
Type *string `json:"type,omitempty"`
1456
Tags *map[string]*string `json:"tags,omitempty"`
1459
// ResourceMetric is object representing a metric for any resource
1460
type ResourceMetric struct {
1461
Name *ResourceMetricName `json:"name,omitempty"`
1462
Unit *string `json:"unit,omitempty"`
1463
TimeGrain *string `json:"timeGrain,omitempty"`
1464
StartTime *date.Time `json:"startTime,omitempty"`
1465
EndTime *date.Time `json:"endTime,omitempty"`
1466
ResourceID *string `json:"resourceId,omitempty"`
1467
MetricValues *[]ResourceMetricValue `json:"metricValues,omitempty"`
1468
Properties *[]KeyValuePairStringString `json:"properties,omitempty"`
1471
// ResourceMetricCollection is collection of metric responses
1472
type ResourceMetricCollection struct {
1473
autorest.Response `json:"-"`
1474
Value *[]ResourceMetric `json:"value,omitempty"`
1475
NextLink *string `json:"nextLink,omitempty"`
1478
// ResourceMetricName is name of a metric for any resource
1479
type ResourceMetricName struct {
1480
Value *string `json:"value,omitempty"`
1481
LocalizedValue *string `json:"localizedValue,omitempty"`
1484
// ResourceMetricValue is value of resource metric
1485
type ResourceMetricValue struct {
1486
TimeStamp *string `json:"timeStamp,omitempty"`
1487
Average *float64 `json:"average,omitempty"`
1488
Minimum *float64 `json:"minimum,omitempty"`
1489
Maximum *float64 `json:"maximum,omitempty"`
1490
Total *float64 `json:"total,omitempty"`
1491
Count *float64 `json:"count,omitempty"`
1494
// ResourceNameAvailability is describes if a resource name is available
1495
type ResourceNameAvailability struct {
1496
autorest.Response `json:"-"`
1497
NameAvailable *bool `json:"nameAvailable,omitempty"`
1498
Reason *string `json:"reason,omitempty"`
1499
Message *string `json:"message,omitempty"`
1502
// ResourceNameAvailabilityRequest is resource name availability request
1504
type ResourceNameAvailabilityRequest struct {
1505
Name *string `json:"name,omitempty"`
1506
Type *string `json:"type,omitempty"`
1507
IsFqdn *bool `json:"isFqdn,omitempty"`
1510
// RestoreRequest is description of a restore request
1511
type RestoreRequest struct {
1512
autorest.Response `json:"-"`
1513
ID *string `json:"id,omitempty"`
1514
Name *string `json:"name,omitempty"`
1515
Location *string `json:"location,omitempty"`
1516
Type *string `json:"type,omitempty"`
1517
Tags *map[string]*string `json:"tags,omitempty"`
1518
Properties *RestoreRequestProperties `json:"properties,omitempty"`
1521
// RestoreRequestProperties is
1522
type RestoreRequestProperties struct {
1523
StorageAccountURL *string `json:"storageAccountUrl,omitempty"`
1524
BlobName *string `json:"blobName,omitempty"`
1525
Overwrite *bool `json:"overwrite,omitempty"`
1526
SiteName *string `json:"siteName,omitempty"`
1527
Databases *[]DatabaseBackupSetting `json:"databases,omitempty"`
1528
IgnoreConflictingHostNames *bool `json:"ignoreConflictingHostNames,omitempty"`
1529
OperationType BackupRestoreOperationType `json:"operationType,omitempty"`
1530
AdjustConnectionStrings *bool `json:"adjustConnectionStrings,omitempty"`
1531
HostingEnvironment *string `json:"hostingEnvironment,omitempty"`
1534
// RestoreResponse is response for a restore site request
1535
type RestoreResponse struct {
1536
autorest.Response `json:"-"`
1537
ID *string `json:"id,omitempty"`
1538
Name *string `json:"name,omitempty"`
1539
Location *string `json:"location,omitempty"`
1540
Type *string `json:"type,omitempty"`
1541
Tags *map[string]*string `json:"tags,omitempty"`
1542
Properties *RestoreResponseProperties `json:"properties,omitempty"`
1545
// RestoreResponseProperties is
1546
type RestoreResponseProperties struct {
1547
OperationID *string `json:"operationId,omitempty"`
1550
// RoutingRule is routing rules for TiP
1551
type RoutingRule struct {
1552
Name *string `json:"name,omitempty"`
1555
// ServerFarmCollection is collection of serverfarms
1556
type ServerFarmCollection struct {
1557
autorest.Response `json:"-"`
1558
Value *[]ServerFarmWithRichSku `json:"value,omitempty"`
1559
NextLink *string `json:"nextLink,omitempty"`
1562
// ServerFarmWithRichSku is app Service Plan Model
1563
type ServerFarmWithRichSku struct {
1564
autorest.Response `json:"-"`
1565
ID *string `json:"id,omitempty"`
1566
Name *string `json:"name,omitempty"`
1567
Location *string `json:"location,omitempty"`
1568
Type *string `json:"type,omitempty"`
1569
Tags *map[string]*string `json:"tags,omitempty"`
1570
Properties *ServerFarmWithRichSkuProperties `json:"properties,omitempty"`
1571
Sku *SkuDescription `json:"sku,omitempty"`
1574
// ServerFarmWithRichSkuProperties is
1575
type ServerFarmWithRichSkuProperties struct {
1576
Name *string `json:"name,omitempty"`
1577
Status StatusOptions `json:"status,omitempty"`
1578
Subscription *string `json:"subscription,omitempty"`
1579
AdminSiteName *string `json:"adminSiteName,omitempty"`
1580
HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`
1581
MaximumNumberOfWorkers *int `json:"maximumNumberOfWorkers,omitempty"`
1582
GeoRegion *string `json:"geoRegion,omitempty"`
1583
PerSiteScaling *bool `json:"perSiteScaling,omitempty"`
1584
NumberOfSites *int `json:"numberOfSites,omitempty"`
1585
ResourceGroup *string `json:"resourceGroup,omitempty"`
1588
// Site is represents a web app
1590
autorest.Response `json:"-"`
1591
ID *string `json:"id,omitempty"`
1592
Name *string `json:"name,omitempty"`
1593
Location *string `json:"location,omitempty"`
1594
Type *string `json:"type,omitempty"`
1595
Tags *map[string]*string `json:"tags,omitempty"`
1596
Properties *SiteProperties `json:"properties,omitempty"`
1599
// SiteAuthSettings is configuration settings for the Azure App Service
1600
// Authentication / Authorization feature.
1601
type SiteAuthSettings struct {
1602
autorest.Response `json:"-"`
1603
Enabled *bool `json:"enabled,omitempty"`
1604
HTTPAPIPrefixPath *string `json:"httpApiPrefixPath,omitempty"`
1605
UnauthenticatedClientAction UnauthenticatedClientAction `json:"unauthenticatedClientAction,omitempty"`
1606
TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty"`
1607
AllowedExternalRedirectUrls *[]string `json:"allowedExternalRedirectUrls,omitempty"`
1608
DefaultProvider BuiltInAuthenticationProvider `json:"defaultProvider,omitempty"`
1609
ClientID *string `json:"clientId,omitempty"`
1610
ClientSecret *string `json:"clientSecret,omitempty"`
1611
Issuer *string `json:"issuer,omitempty"`
1612
AllowedAudiences *[]string `json:"allowedAudiences,omitempty"`
1613
AadClientID *string `json:"aadClientId,omitempty"`
1614
OpenIDIssuer *string `json:"openIdIssuer,omitempty"`
1615
GoogleClientID *string `json:"googleClientId,omitempty"`
1616
GoogleClientSecret *string `json:"googleClientSecret,omitempty"`
1617
GoogleOAuthScopes *[]string `json:"googleOAuthScopes,omitempty"`
1618
FacebookAppID *string `json:"facebookAppId,omitempty"`
1619
FacebookAppSecret *string `json:"facebookAppSecret,omitempty"`
1620
FacebookOAuthScopes *[]string `json:"facebookOAuthScopes,omitempty"`
1621
TwitterConsumerKey *string `json:"twitterConsumerKey,omitempty"`
1622
TwitterConsumerSecret *string `json:"twitterConsumerSecret,omitempty"`
1623
MicrosoftAccountClientID *string `json:"microsoftAccountClientId,omitempty"`
1624
MicrosoftAccountClientSecret *string `json:"microsoftAccountClientSecret,omitempty"`
1625
MicrosoftAccountOAuthScopes *[]string `json:"microsoftAccountOAuthScopes,omitempty"`
1628
// SiteCollection is collection of sites
1629
type SiteCollection struct {
1630
autorest.Response `json:"-"`
1631
Value *[]Site `json:"value,omitempty"`
1632
NextLink *string `json:"nextLink,omitempty"`
1635
// SiteCollectionPreparer prepares a request to retrieve the next set of results. It returns
1636
// nil if no more results exist.
1637
func (client SiteCollection) SiteCollectionPreparer() (*http.Request, error) {
1638
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
1641
return autorest.Prepare(&http.Request{},
1644
autorest.WithBaseURL(to.String(client.NextLink)))
1647
// SiteConfig is configuration of Azure web site
1648
type SiteConfig struct {
1649
autorest.Response `json:"-"`
1650
ID *string `json:"id,omitempty"`
1651
Name *string `json:"name,omitempty"`
1652
Location *string `json:"location,omitempty"`
1653
Type *string `json:"type,omitempty"`
1654
Tags *map[string]*string `json:"tags,omitempty"`
1655
Properties *SiteConfigProperties `json:"properties,omitempty"`
1658
// SiteConfigProperties is
1659
type SiteConfigProperties struct {
1660
NumberOfWorkers *int `json:"numberOfWorkers,omitempty"`
1661
DefaultDocuments *[]string `json:"defaultDocuments,omitempty"`
1662
NetFrameworkVersion *string `json:"netFrameworkVersion,omitempty"`
1663
PhpVersion *string `json:"phpVersion,omitempty"`
1664
PythonVersion *string `json:"pythonVersion,omitempty"`
1665
RequestTracingEnabled *bool `json:"requestTracingEnabled,omitempty"`
1666
RequestTracingExpirationTime *date.Time `json:"requestTracingExpirationTime,omitempty"`
1667
RemoteDebuggingEnabled *bool `json:"remoteDebuggingEnabled,omitempty"`
1668
RemoteDebuggingVersion *string `json:"remoteDebuggingVersion,omitempty"`
1669
HTTPLoggingEnabled *bool `json:"httpLoggingEnabled,omitempty"`
1670
LogsDirectorySizeLimit *int `json:"logsDirectorySizeLimit,omitempty"`
1671
DetailedErrorLoggingEnabled *bool `json:"detailedErrorLoggingEnabled,omitempty"`
1672
PublishingUsername *string `json:"publishingUsername,omitempty"`
1673
PublishingPassword *string `json:"publishingPassword,omitempty"`
1674
AppSettings *[]NameValuePair `json:"appSettings,omitempty"`
1675
Metadata *[]NameValuePair `json:"metadata,omitempty"`
1676
ConnectionStrings *[]ConnStringInfo `json:"connectionStrings,omitempty"`
1677
HandlerMappings *[]HandlerMapping `json:"handlerMappings,omitempty"`
1678
DocumentRoot *string `json:"documentRoot,omitempty"`
1679
ScmType *string `json:"scmType,omitempty"`
1680
Use32BitWorkerProcess *bool `json:"use32BitWorkerProcess,omitempty"`
1681
WebSocketsEnabled *bool `json:"webSocketsEnabled,omitempty"`
1682
AlwaysOn *bool `json:"alwaysOn,omitempty"`
1683
JavaVersion *string `json:"javaVersion,omitempty"`
1684
JavaContainer *string `json:"javaContainer,omitempty"`
1685
JavaContainerVersion *string `json:"javaContainerVersion,omitempty"`
1686
ManagedPipelineMode ManagedPipelineMode `json:"managedPipelineMode,omitempty"`
1687
VirtualApplications *[]VirtualApplication `json:"virtualApplications,omitempty"`
1688
LoadBalancing SiteLoadBalancing `json:"loadBalancing,omitempty"`
1689
Experiments *Experiments `json:"experiments,omitempty"`
1690
Limits *SiteLimits `json:"limits,omitempty"`
1691
AutoHealEnabled *bool `json:"autoHealEnabled,omitempty"`
1692
AutoHealRules *AutoHealRules `json:"autoHealRules,omitempty"`
1693
TracingOptions *string `json:"tracingOptions,omitempty"`
1694
VnetName *string `json:"vnetName,omitempty"`
1695
AutoSwapSlotName *string `json:"autoSwapSlotName,omitempty"`
1698
// SiteInstance is instance of a web app
1699
type SiteInstance struct {
1700
ID *string `json:"id,omitempty"`
1701
Name *string `json:"name,omitempty"`
1702
Location *string `json:"location,omitempty"`
1703
Type *string `json:"type,omitempty"`
1704
Tags *map[string]*string `json:"tags,omitempty"`
1705
Properties *SiteInstanceProperties `json:"properties,omitempty"`
1708
// SiteInstanceCollection is collection of site instances
1709
type SiteInstanceCollection struct {
1710
autorest.Response `json:"-"`
1711
Value *[]SiteInstance `json:"value,omitempty"`
1712
NextLink *string `json:"nextLink,omitempty"`
1715
// SiteInstanceProperties is
1716
type SiteInstanceProperties struct {
1717
Name *string `json:"name,omitempty"`
1720
// SiteLimits is represents metric limits set on a web app.
1721
type SiteLimits struct {
1722
MaxPercentageCPU *float64 `json:"maxPercentageCpu,omitempty"`
1723
MaxMemoryInMb *int32 `json:"maxMemoryInMb,omitempty"`
1724
MaxDiskSizeInMb *int32 `json:"maxDiskSizeInMb,omitempty"`
1727
// SiteLogsConfig is configuration of Azure web site
1728
type SiteLogsConfig struct {
1729
autorest.Response `json:"-"`
1730
ID *string `json:"id,omitempty"`
1731
Name *string `json:"name,omitempty"`
1732
Location *string `json:"location,omitempty"`
1733
Type *string `json:"type,omitempty"`
1734
Tags *map[string]*string `json:"tags,omitempty"`
1735
Properties *SiteLogsConfigProperties `json:"properties,omitempty"`
1738
// SiteLogsConfigProperties is
1739
type SiteLogsConfigProperties struct {
1740
ApplicationLogs *ApplicationLogsConfig `json:"applicationLogs,omitempty"`
1741
HTTPLogs *HTTPLogsConfig `json:"httpLogs,omitempty"`
1742
FailedRequestsTracing *EnabledConfig `json:"failedRequestsTracing,omitempty"`
1743
DetailedErrorMessages *EnabledConfig `json:"detailedErrorMessages,omitempty"`
1746
// SiteProperties is
1747
type SiteProperties struct {
1748
Name *string `json:"name,omitempty"`
1749
State *string `json:"state,omitempty"`
1750
HostNames *[]string `json:"hostNames,omitempty"`
1751
RepositorySiteName *string `json:"repositorySiteName,omitempty"`
1752
UsageState UsageState `json:"usageState,omitempty"`
1753
Enabled *bool `json:"enabled,omitempty"`
1754
EnabledHostNames *[]string `json:"enabledHostNames,omitempty"`
1755
AvailabilityState SiteAvailabilityState `json:"availabilityState,omitempty"`
1756
HostNameSslStates *[]HostNameSslState `json:"hostNameSslStates,omitempty"`
1757
ServerFarmID *string `json:"serverFarmId,omitempty"`
1758
LastModifiedTimeUtc *date.Time `json:"lastModifiedTimeUtc,omitempty"`
1759
SiteConfig *SiteConfig `json:"siteConfig,omitempty"`
1760
TrafficManagerHostNames *[]string `json:"trafficManagerHostNames,omitempty"`
1761
PremiumAppDeployed *bool `json:"premiumAppDeployed,omitempty"`
1762
ScmSiteAlsoStopped *bool `json:"scmSiteAlsoStopped,omitempty"`
1763
TargetSwapSlot *string `json:"targetSwapSlot,omitempty"`
1764
HostingEnvironmentProfile *HostingEnvironmentProfile `json:"hostingEnvironmentProfile,omitempty"`
1765
MicroService *string `json:"microService,omitempty"`
1766
GatewaySiteName *string `json:"gatewaySiteName,omitempty"`
1767
ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty"`
1768
ClientCertEnabled *bool `json:"clientCertEnabled,omitempty"`
1769
OutboundIPAddresses *string `json:"outboundIpAddresses,omitempty"`
1770
CloningInfo *CloningInfo `json:"cloningInfo,omitempty"`
1773
// SitePropertiesModel is
1774
type SitePropertiesModel struct {
1775
Metadata *[]NameValuePair `json:"metadata,omitempty"`
1776
Properties *[]NameValuePair `json:"properties,omitempty"`
1777
AppSettings *[]NameValuePair `json:"appSettings,omitempty"`
1780
// SiteSourceControl is describes the source control configuration for web app
1781
type SiteSourceControl struct {
1782
autorest.Response `json:"-"`
1783
ID *string `json:"id,omitempty"`
1784
Name *string `json:"name,omitempty"`
1785
Location *string `json:"location,omitempty"`
1786
Type *string `json:"type,omitempty"`
1787
Tags *map[string]*string `json:"tags,omitempty"`
1788
Properties *SiteSourceControlProperties `json:"properties,omitempty"`
1791
// SiteSourceControlProperties is
1792
type SiteSourceControlProperties struct {
1793
RepoURL *string `json:"repoUrl,omitempty"`
1794
Branch *string `json:"branch,omitempty"`
1795
IsManualIntegration *bool `json:"isManualIntegration,omitempty"`
1796
DeploymentRollbackEnabled *bool `json:"deploymentRollbackEnabled,omitempty"`
1797
IsMercurial *bool `json:"isMercurial,omitempty"`
1800
// SkuCapacity is description of the App Service Plan scale options
1801
type SkuCapacity struct {
1802
Minimum *int `json:"minimum,omitempty"`
1803
Maximum *int `json:"maximum,omitempty"`
1804
Default *int `json:"default,omitempty"`
1805
ScaleType *string `json:"scaleType,omitempty"`
1808
// SkuDescription is describes a sku for a scalable resource
1809
type SkuDescription struct {
1810
Name *string `json:"name,omitempty"`
1811
Tier *string `json:"tier,omitempty"`
1812
Size *string `json:"size,omitempty"`
1813
Family *string `json:"family,omitempty"`
1814
Capacity *int `json:"capacity,omitempty"`
1817
// SkuInfo is sku discovery information
1818
type SkuInfo struct {
1819
ResourceType *string `json:"resourceType,omitempty"`
1820
Sku *SkuDescription `json:"sku,omitempty"`
1821
Capacity *SkuCapacity `json:"capacity,omitempty"`
1824
// SkuInfoCollection is collection of SkuInfos
1825
type SkuInfoCollection struct {
1826
autorest.Response `json:"-"`
1827
Value *[]SkuInfo `json:"value,omitempty"`
1828
NextLink *string `json:"nextLink,omitempty"`
1831
// SlotConfigNames is class containing names for connection strings and
1832
// application settings to be marked as sticky to the slot
1833
// and not moved during swap operation
1834
// This is valid for all deployment slots under the site
1835
type SlotConfigNames struct {
1836
ConnectionStringNames *[]string `json:"connectionStringNames,omitempty"`
1837
AppSettingNames *[]string `json:"appSettingNames,omitempty"`
1840
// SlotConfigNamesResource is slot Config names azure resource
1841
type SlotConfigNamesResource struct {
1842
autorest.Response `json:"-"`
1843
ID *string `json:"id,omitempty"`
1844
Name *string `json:"name,omitempty"`
1845
Location *string `json:"location,omitempty"`
1846
Type *string `json:"type,omitempty"`
1847
Tags *map[string]*string `json:"tags,omitempty"`
1848
Properties *SlotConfigNamesResourceProperties `json:"properties,omitempty"`
1851
// SlotConfigNamesResourceProperties is
1852
type SlotConfigNamesResourceProperties struct {
1853
ConnectionStringNames *[]string `json:"connectionStringNames,omitempty"`
1854
AppSettingNames *[]string `json:"appSettingNames,omitempty"`
1857
// SlotDifference is an object describing the difference in setting values
1858
// between two web app slots
1859
type SlotDifference struct {
1860
ID *string `json:"id,omitempty"`
1861
Name *string `json:"name,omitempty"`
1862
Location *string `json:"location,omitempty"`
1863
Type *string `json:"type,omitempty"`
1864
Tags *map[string]*string `json:"tags,omitempty"`
1865
Properties *SlotDifferenceProperties `json:"properties,omitempty"`
1868
// SlotDifferenceCollection is collection of Slot Differences
1869
type SlotDifferenceCollection struct {
1870
autorest.Response `json:"-"`
1871
Value *[]SlotDifference `json:"value,omitempty"`
1872
NextLink *string `json:"nextLink,omitempty"`
1875
// SlotDifferenceProperties is
1876
type SlotDifferenceProperties struct {
1877
Type *string `json:"type,omitempty"`
1878
SettingType *string `json:"settingType,omitempty"`
1879
DiffRule *string `json:"diffRule,omitempty"`
1880
SettingName *string `json:"settingName,omitempty"`
1881
ValueInCurrentSlot *string `json:"valueInCurrentSlot,omitempty"`
1882
ValueInTargetSlot *string `json:"valueInTargetSlot,omitempty"`
1883
Description *string `json:"description,omitempty"`
1886
// SlowRequestsBasedTrigger is slowRequestsBasedTrigger
1887
type SlowRequestsBasedTrigger struct {
1888
TimeTaken *string `json:"timeTaken,omitempty"`
1889
Count *int `json:"count,omitempty"`
1890
TimeInterval *string `json:"timeInterval,omitempty"`
1893
// SourceControl is describes the Source Control OAuth Token
1894
type SourceControl struct {
1895
autorest.Response `json:"-"`
1896
ID *string `json:"id,omitempty"`
1897
Name *string `json:"name,omitempty"`
1898
Location *string `json:"location,omitempty"`
1899
Type *string `json:"type,omitempty"`
1900
Tags *map[string]*string `json:"tags,omitempty"`
1901
Properties *SourceControlProperties `json:"properties,omitempty"`
1904
// SourceControlCollection is collection of soure controls
1905
type SourceControlCollection struct {
1906
autorest.Response `json:"-"`
1907
Value *[]SourceControl `json:"value,omitempty"`
1908
NextLink *string `json:"nextLink,omitempty"`
1911
// SourceControlProperties is
1912
type SourceControlProperties struct {
1913
Name *string `json:"name,omitempty"`
1914
Token *string `json:"token,omitempty"`
1915
TokenSecret *string `json:"tokenSecret,omitempty"`
1916
RefreshToken *string `json:"refreshToken,omitempty"`
1917
ExpirationTime *date.Time `json:"expirationTime,omitempty"`
1920
// StampCapacity is class containing stamp capacity information
1921
type StampCapacity struct {
1922
Name *string `json:"name,omitempty"`
1923
AvailableCapacity *int32 `json:"availableCapacity,omitempty"`
1924
TotalCapacity *int32 `json:"totalCapacity,omitempty"`
1925
Unit *string `json:"unit,omitempty"`
1926
ComputeMode ComputeModeOptions `json:"computeMode,omitempty"`
1927
WorkerSize WorkerSizeOptions `json:"workerSize,omitempty"`
1928
WorkerSizeID *int `json:"workerSizeId,omitempty"`
1929
ExcludeFromCapacityAllocation *bool `json:"excludeFromCapacityAllocation,omitempty"`
1930
IsApplicableForAllComputeModes *bool `json:"isApplicableForAllComputeModes,omitempty"`
1931
SiteMode *string `json:"siteMode,omitempty"`
1934
// StampCapacityCollection is collection of stamp capacities
1935
type StampCapacityCollection struct {
1936
autorest.Response `json:"-"`
1937
Value *[]StampCapacity `json:"value,omitempty"`
1938
NextLink *string `json:"nextLink,omitempty"`
1941
// StatusCodesBasedTrigger is statusCodeBasedTrigger
1942
type StatusCodesBasedTrigger struct {
1943
Status *int `json:"status,omitempty"`
1944
SubStatus *int `json:"subStatus,omitempty"`
1945
Win32Status *int `json:"win32Status,omitempty"`
1946
Count *int `json:"count,omitempty"`
1947
TimeInterval *string `json:"timeInterval,omitempty"`
1950
// StringDictionary is string dictionary resource
1951
type StringDictionary struct {
1952
autorest.Response `json:"-"`
1953
ID *string `json:"id,omitempty"`
1954
Name *string `json:"name,omitempty"`
1955
Location *string `json:"location,omitempty"`
1956
Type *string `json:"type,omitempty"`
1957
Tags *map[string]*string `json:"tags,omitempty"`
1958
Properties *map[string]*string `json:"properties,omitempty"`
1961
// TldLegalAgreement is represents a legal agreement for top level domain
1962
type TldLegalAgreement struct {
1963
AgreementKey *string `json:"agreementKey,omitempty"`
1964
Title *string `json:"title,omitempty"`
1965
Content *string `json:"content,omitempty"`
1966
URL *string `json:"url,omitempty"`
1969
// TldLegalAgreementCollection is collection of Tld Legal Agreements
1970
type TldLegalAgreementCollection struct {
1971
autorest.Response `json:"-"`
1972
Value *[]TldLegalAgreement `json:"value,omitempty"`
1973
NextLink *string `json:"nextLink,omitempty"`
1976
// TopLevelDomain is a top level domain object
1977
type TopLevelDomain struct {
1978
autorest.Response `json:"-"`
1979
ID *string `json:"id,omitempty"`
1980
Name *string `json:"name,omitempty"`
1981
Location *string `json:"location,omitempty"`
1982
Type *string `json:"type,omitempty"`
1983
Tags *map[string]*string `json:"tags,omitempty"`
1984
Properties *TopLevelDomainProperties `json:"properties,omitempty"`
1987
// TopLevelDomainAgreementOption is options for retrieving the list of top
1988
// level domain legal agreements
1989
type TopLevelDomainAgreementOption struct {
1990
IncludePrivacy *bool `json:"includePrivacy,omitempty"`
1993
// TopLevelDomainCollection is collection of Top Level Domains
1994
type TopLevelDomainCollection struct {
1995
autorest.Response `json:"-"`
1996
Value *[]TopLevelDomain `json:"value,omitempty"`
1997
NextLink *string `json:"nextLink,omitempty"`
2000
// TopLevelDomainProperties is
2001
type TopLevelDomainProperties struct {
2002
Name *string `json:"name,omitempty"`
2003
Privacy *bool `json:"privacy,omitempty"`
2006
// Usage is class that represents usage of the quota resource.
2008
ID *string `json:"id,omitempty"`
2009
Name *string `json:"name,omitempty"`
2010
Location *string `json:"location,omitempty"`
2011
Type *string `json:"type,omitempty"`
2012
Tags *map[string]*string `json:"tags,omitempty"`
2013
Properties *UsageProperties `json:"properties,omitempty"`
2016
// UsageCollection is collection of usages
2017
type UsageCollection struct {
2018
autorest.Response `json:"-"`
2019
Value *[]Usage `json:"value,omitempty"`
2020
NextLink *string `json:"nextLink,omitempty"`
2023
// UsageProperties is
2024
type UsageProperties struct {
2025
DisplayName *string `json:"displayName,omitempty"`
2026
Name *string `json:"name,omitempty"`
2027
ResourceName *string `json:"resourceName,omitempty"`
2028
Unit *string `json:"unit,omitempty"`
2029
CurrentValue *int32 `json:"currentValue,omitempty"`
2030
Limit *int32 `json:"limit,omitempty"`
2031
NextResetTime *date.Time `json:"nextResetTime,omitempty"`
2032
ComputeMode ComputeModeOptions `json:"computeMode,omitempty"`
2033
SiteMode *string `json:"siteMode,omitempty"`
2036
// User is represents user crendentials used for publishing activity
2038
autorest.Response `json:"-"`
2039
ID *string `json:"id,omitempty"`
2040
Name *string `json:"name,omitempty"`
2041
Location *string `json:"location,omitempty"`
2042
Type *string `json:"type,omitempty"`
2043
Tags *map[string]*string `json:"tags,omitempty"`
2044
Properties *UserProperties `json:"properties,omitempty"`
2047
// UserProperties is
2048
type UserProperties struct {
2049
Name *string `json:"name,omitempty"`
2050
PublishingUserName *string `json:"publishingUserName,omitempty"`
2051
PublishingPassword *string `json:"publishingPassword,omitempty"`
2052
LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
2053
Metadata *string `json:"metadata,omitempty"`
2054
IsDeleted *bool `json:"isDeleted,omitempty"`
2055
ScmURI *string `json:"scmUri,omitempty"`
2058
// VirtualApplication is
2059
type VirtualApplication struct {
2060
VirtualPath *string `json:"virtualPath,omitempty"`
2061
PhysicalPath *string `json:"physicalPath,omitempty"`
2062
PreloadEnabled *bool `json:"preloadEnabled,omitempty"`
2063
VirtualDirectories *[]VirtualDirectory `json:"virtualDirectories,omitempty"`
2066
// VirtualDirectory is
2067
type VirtualDirectory struct {
2068
VirtualPath *string `json:"virtualPath,omitempty"`
2069
PhysicalPath *string `json:"physicalPath,omitempty"`
2072
// VirtualIPMapping is class that represents a VIP mapping
2073
type VirtualIPMapping struct {
2074
VirtualIP *string `json:"virtualIP,omitempty"`
2075
InternalHTTPPort *int `json:"internalHttpPort,omitempty"`
2076
InternalHTTPSPort *int `json:"internalHttpsPort,omitempty"`
2077
InUse *bool `json:"inUse,omitempty"`
2080
// VirtualNetworkProfile is specification for using a virtual network
2081
type VirtualNetworkProfile struct {
2082
ID *string `json:"id,omitempty"`
2083
Name *string `json:"name,omitempty"`
2084
Type *string `json:"type,omitempty"`
2085
Subnet *string `json:"subnet,omitempty"`
2088
// VnetGateway is the VnetGateway contract. This is used to give the vnet
2089
// gateway access to the VPN package.
2090
type VnetGateway struct {
2091
autorest.Response `json:"-"`
2092
ID *string `json:"id,omitempty"`
2093
Name *string `json:"name,omitempty"`
2094
Location *string `json:"location,omitempty"`
2095
Type *string `json:"type,omitempty"`
2096
Tags *map[string]*string `json:"tags,omitempty"`
2097
Properties *VnetGatewayProperties `json:"properties,omitempty"`
2100
// VnetGatewayProperties is
2101
type VnetGatewayProperties struct {
2102
VnetName *string `json:"vnetName,omitempty"`
2103
VpnPackageURI *string `json:"vpnPackageUri,omitempty"`
2106
// VnetInfo is vNETInfo contract. This contract is public and is a stripped
2107
// down version of VNETInfoInternal
2108
type VnetInfo struct {
2109
autorest.Response `json:"-"`
2110
ID *string `json:"id,omitempty"`
2111
Name *string `json:"name,omitempty"`
2112
Location *string `json:"location,omitempty"`
2113
Type *string `json:"type,omitempty"`
2114
Tags *map[string]*string `json:"tags,omitempty"`
2115
Properties *VnetInfoProperties `json:"properties,omitempty"`
2119
type VnetInfoList struct {
2120
autorest.Response `json:"-"`
2121
Value *[]VnetInfo `json:"value,omitempty"`
2124
// VnetInfoProperties is
2125
type VnetInfoProperties struct {
2126
VnetResourceID *string `json:"vnetResourceId,omitempty"`
2127
CertThumbprint *string `json:"certThumbprint,omitempty"`
2128
CertBlob *string `json:"certBlob,omitempty"`
2129
Routes *[]VnetRoute `json:"routes,omitempty"`
2132
// VnetRoute is vnetRoute contract used to pass routing information for a vnet.
2133
type VnetRoute struct {
2134
autorest.Response `json:"-"`
2135
ID *string `json:"id,omitempty"`
2136
Name *string `json:"name,omitempty"`
2137
Location *string `json:"location,omitempty"`
2138
Type *string `json:"type,omitempty"`
2139
Tags *map[string]*string `json:"tags,omitempty"`
2140
Properties *VnetRouteProperties `json:"properties,omitempty"`
2144
type VnetRouteList struct {
2145
autorest.Response `json:"-"`
2146
Value *[]VnetRoute `json:"value,omitempty"`
2149
// VnetRouteProperties is
2150
type VnetRouteProperties struct {
2151
Name *string `json:"name,omitempty"`
2152
StartAddress *string `json:"startAddress,omitempty"`
2153
EndAddress *string `json:"endAddress,omitempty"`
2154
RouteType *string `json:"routeType,omitempty"`
2157
// WorkerPool is worker pool of a hostingEnvironment (App Service Environment)
2158
type WorkerPool struct {
2159
autorest.Response `json:"-"`
2160
ID *string `json:"id,omitempty"`
2161
Name *string `json:"name,omitempty"`
2162
Location *string `json:"location,omitempty"`
2163
Type *string `json:"type,omitempty"`
2164
Tags *map[string]*string `json:"tags,omitempty"`
2165
Properties *WorkerPoolProperties `json:"properties,omitempty"`
2166
Sku *SkuDescription `json:"sku,omitempty"`
2169
// WorkerPoolCollection is collection of worker pools
2170
type WorkerPoolCollection struct {
2171
autorest.Response `json:"-"`
2172
Value *[]WorkerPool `json:"value,omitempty"`
2173
NextLink *string `json:"nextLink,omitempty"`
2176
// WorkerPoolProperties is
2177
type WorkerPoolProperties struct {
2178
WorkerSizeID *int `json:"workerSizeId,omitempty"`
2179
ComputeMode ComputeModeOptions `json:"computeMode,omitempty"`
2180
WorkerSize *string `json:"workerSize,omitempty"`
2181
WorkerCount *int `json:"workerCount,omitempty"`
2182
InstanceNames *[]string `json:"instanceNames,omitempty"`