forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
997 lines (921 loc) · 45.8 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
package compute
// 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.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"encoding/json"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
"github.com/Azure/go-autorest/autorest/date"
"github.com/Azure/go-autorest/autorest/to"
"net/http"
)
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// AgentVMSizeTypes enumerates the values for agent vm size types.
type AgentVMSizeTypes string
const (
// StandardA0 ...
StandardA0 AgentVMSizeTypes = "Standard_A0"
// StandardA1 ...
StandardA1 AgentVMSizeTypes = "Standard_A1"
// StandardA10 ...
StandardA10 AgentVMSizeTypes = "Standard_A10"
// StandardA11 ...
StandardA11 AgentVMSizeTypes = "Standard_A11"
// StandardA2 ...
StandardA2 AgentVMSizeTypes = "Standard_A2"
// StandardA3 ...
StandardA3 AgentVMSizeTypes = "Standard_A3"
// StandardA4 ...
StandardA4 AgentVMSizeTypes = "Standard_A4"
// StandardA5 ...
StandardA5 AgentVMSizeTypes = "Standard_A5"
// StandardA6 ...
StandardA6 AgentVMSizeTypes = "Standard_A6"
// StandardA7 ...
StandardA7 AgentVMSizeTypes = "Standard_A7"
// StandardA8 ...
StandardA8 AgentVMSizeTypes = "Standard_A8"
// StandardA9 ...
StandardA9 AgentVMSizeTypes = "Standard_A9"
// StandardD1 ...
StandardD1 AgentVMSizeTypes = "Standard_D1"
// StandardD11 ...
StandardD11 AgentVMSizeTypes = "Standard_D11"
// StandardD11V2 ...
StandardD11V2 AgentVMSizeTypes = "Standard_D11_v2"
// StandardD12 ...
StandardD12 AgentVMSizeTypes = "Standard_D12"
// StandardD12V2 ...
StandardD12V2 AgentVMSizeTypes = "Standard_D12_v2"
// StandardD13 ...
StandardD13 AgentVMSizeTypes = "Standard_D13"
// StandardD13V2 ...
StandardD13V2 AgentVMSizeTypes = "Standard_D13_v2"
// StandardD14 ...
StandardD14 AgentVMSizeTypes = "Standard_D14"
// StandardD14V2 ...
StandardD14V2 AgentVMSizeTypes = "Standard_D14_v2"
// StandardD1V2 ...
StandardD1V2 AgentVMSizeTypes = "Standard_D1_v2"
// StandardD2 ...
StandardD2 AgentVMSizeTypes = "Standard_D2"
// StandardD2V2 ...
StandardD2V2 AgentVMSizeTypes = "Standard_D2_v2"
// StandardD3 ...
StandardD3 AgentVMSizeTypes = "Standard_D3"
// StandardD3V2 ...
StandardD3V2 AgentVMSizeTypes = "Standard_D3_v2"
// StandardD4 ...
StandardD4 AgentVMSizeTypes = "Standard_D4"
// StandardD4V2 ...
StandardD4V2 AgentVMSizeTypes = "Standard_D4_v2"
// StandardD5V2 ...
StandardD5V2 AgentVMSizeTypes = "Standard_D5_v2"
// StandardDS1 ...
StandardDS1 AgentVMSizeTypes = "Standard_DS1"
// StandardDS11 ...
StandardDS11 AgentVMSizeTypes = "Standard_DS11"
// StandardDS12 ...
StandardDS12 AgentVMSizeTypes = "Standard_DS12"
// StandardDS13 ...
StandardDS13 AgentVMSizeTypes = "Standard_DS13"
// StandardDS14 ...
StandardDS14 AgentVMSizeTypes = "Standard_DS14"
// StandardDS2 ...
StandardDS2 AgentVMSizeTypes = "Standard_DS2"
// StandardDS3 ...
StandardDS3 AgentVMSizeTypes = "Standard_DS3"
// StandardDS4 ...
StandardDS4 AgentVMSizeTypes = "Standard_DS4"
// StandardG1 ...
StandardG1 AgentVMSizeTypes = "Standard_G1"
// StandardG2 ...
StandardG2 AgentVMSizeTypes = "Standard_G2"
// StandardG3 ...
StandardG3 AgentVMSizeTypes = "Standard_G3"
// StandardG4 ...
StandardG4 AgentVMSizeTypes = "Standard_G4"
// StandardG5 ...
StandardG5 AgentVMSizeTypes = "Standard_G5"
// StandardGS1 ...
StandardGS1 AgentVMSizeTypes = "Standard_GS1"
// StandardGS2 ...
StandardGS2 AgentVMSizeTypes = "Standard_GS2"
// StandardGS3 ...
StandardGS3 AgentVMSizeTypes = "Standard_GS3"
// StandardGS4 ...
StandardGS4 AgentVMSizeTypes = "Standard_GS4"
// StandardGS5 ...
StandardGS5 AgentVMSizeTypes = "Standard_GS5"
)
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PossibleAgentVMSizeTypesValues returns an array of possible values for the AgentVMSizeTypes const type.
func PossibleAgentVMSizeTypesValues() []AgentVMSizeTypes {
return []AgentVMSizeTypes{StandardA0, StandardA1, StandardA10, StandardA11, StandardA2, StandardA3, StandardA4, StandardA5, StandardA6, StandardA7, StandardA8, StandardA9, StandardD1, StandardD11, StandardD11V2, StandardD12, StandardD12V2, StandardD13, StandardD13V2, StandardD14, StandardD14V2, StandardD1V2, StandardD2, StandardD2V2, StandardD3, StandardD3V2, StandardD4, StandardD4V2, StandardD5V2, StandardDS1, StandardDS11, StandardDS12, StandardDS13, StandardDS14, StandardDS2, StandardDS3, StandardDS4, StandardG1, StandardG2, StandardG3, StandardG4, StandardG5, StandardGS1, StandardGS2, StandardGS3, StandardGS4, StandardGS5}
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ClusterType enumerates the values for cluster type.
type ClusterType string
const (
// ACS ...
ACS ClusterType = "ACS"
// Local ...
Local ClusterType = "Local"
)
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PossibleClusterTypeValues returns an array of possible values for the ClusterType const type.
func PossibleClusterTypeValues() []ClusterType {
return []ClusterType{ACS, Local}
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OperationStatus enumerates the values for operation status.
type OperationStatus string
const (
// Canceled ...
Canceled OperationStatus = "Canceled"
// Creating ...
Creating OperationStatus = "Creating"
// Deleting ...
Deleting OperationStatus = "Deleting"
// Failed ...
Failed OperationStatus = "Failed"
// Succeeded ...
Succeeded OperationStatus = "Succeeded"
// Unknown ...
Unknown OperationStatus = "Unknown"
// Updating ...
Updating OperationStatus = "Updating"
)
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.
func PossibleOperationStatusValues() []OperationStatus {
return []OperationStatus{Canceled, Creating, Deleting, Failed, Succeeded, Unknown, Updating}
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OrchestratorType enumerates the values for orchestrator type.
type OrchestratorType string
const (
// Kubernetes ...
Kubernetes OrchestratorType = "Kubernetes"
// None ...
None OrchestratorType = "None"
)
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PossibleOrchestratorTypeValues returns an array of possible values for the OrchestratorType const type.
func PossibleOrchestratorTypeValues() []OrchestratorType {
return []OrchestratorType{Kubernetes, None}
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Status enumerates the values for status.
type Status string
const (
// Disabled ...
Disabled Status = "Disabled"
// Enabled ...
Enabled Status = "Enabled"
)
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PossibleStatusValues returns an array of possible values for the Status const type.
func PossibleStatusValues() []Status {
return []Status{Disabled, Enabled}
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// SystemServiceType enumerates the values for system service type.
type SystemServiceType string
const (
// SystemServiceTypeBatchFrontEnd ...
SystemServiceTypeBatchFrontEnd SystemServiceType = "BatchFrontEnd"
// SystemServiceTypeNone ...
SystemServiceTypeNone SystemServiceType = "None"
// SystemServiceTypeScoringFrontEnd ...
SystemServiceTypeScoringFrontEnd SystemServiceType = "ScoringFrontEnd"
)
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PossibleSystemServiceTypeValues returns an array of possible values for the SystemServiceType const type.
func PossibleSystemServiceTypeValues() []SystemServiceType {
return []SystemServiceType{SystemServiceTypeBatchFrontEnd, SystemServiceTypeNone, SystemServiceTypeScoringFrontEnd}
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// UpdatesAvailable enumerates the values for updates available.
type UpdatesAvailable string
const (
// No ...
No UpdatesAvailable = "No"
// Yes ...
Yes UpdatesAvailable = "Yes"
)
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PossibleUpdatesAvailableValues returns an array of possible values for the UpdatesAvailable const type.
func PossibleUpdatesAvailableValues() []UpdatesAvailable {
return []UpdatesAvailable{No, Yes}
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// AcsClusterProperties information about the container service backing the cluster
type AcsClusterProperties struct {
// ClusterFqdn - The FQDN of the cluster.
ClusterFqdn *string `json:"clusterFqdn,omitempty"`
// OrchestratorType - Type of orchestrator. It cannot be changed once the cluster is created. Possible values include: 'Kubernetes', 'None'
OrchestratorType OrchestratorType `json:"orchestratorType,omitempty"`
// OrchestratorProperties - Orchestrator specific properties
OrchestratorProperties *KubernetesClusterProperties `json:"orchestratorProperties,omitempty"`
// SystemServices - The system services deployed to the cluster
SystemServices *[]SystemService `json:"systemServices,omitempty"`
// MasterCount - The number of master nodes in the container service.
MasterCount *int32 `json:"masterCount,omitempty"`
// AgentCount - The number of agent nodes in the Container Service. This can be changed to scale the cluster.
AgentCount *int32 `json:"agentCount,omitempty"`
// AgentVMSize - The Azure VM size of the agent VM nodes. This cannot be changed once the cluster is created. This list is non exhaustive; refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes for the possible VM sizes. Possible values include: 'StandardA0', 'StandardA1', 'StandardA2', 'StandardA3', 'StandardA4', 'StandardA5', 'StandardA6', 'StandardA7', 'StandardA8', 'StandardA9', 'StandardA10', 'StandardA11', 'StandardD1', 'StandardD2', 'StandardD3', 'StandardD4', 'StandardD11', 'StandardD12', 'StandardD13', 'StandardD14', 'StandardD1V2', 'StandardD2V2', 'StandardD3V2', 'StandardD4V2', 'StandardD5V2', 'StandardD11V2', 'StandardD12V2', 'StandardD13V2', 'StandardD14V2', 'StandardG1', 'StandardG2', 'StandardG3', 'StandardG4', 'StandardG5', 'StandardDS1', 'StandardDS2', 'StandardDS3', 'StandardDS4', 'StandardDS11', 'StandardDS12', 'StandardDS13', 'StandardDS14', 'StandardGS1', 'StandardGS2', 'StandardGS3', 'StandardGS4', 'StandardGS5'
AgentVMSize AgentVMSizeTypes `json:"agentVmSize,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// AppInsightsCredentials appInsights credentials.
type AppInsightsCredentials struct {
// AppID - The AppInsights application ID.
AppID *string `json:"appId,omitempty"`
// InstrumentationKey - The AppInsights instrumentation key. This is not returned in response of GET/PUT on the resource. To see this please call listKeys API.
InstrumentationKey *string `json:"instrumentationKey,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// AppInsightsProperties properties of App Insights.
type AppInsightsProperties struct {
// ResourceID - ARM resource ID of the App Insights.
ResourceID *string `json:"resourceId,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// AutoScaleConfiguration autoScale configuration properties.
type AutoScaleConfiguration struct {
// Status - If auto-scale is enabled for all services. Each service can turn it off individually. Possible values include: 'Enabled', 'Disabled'
Status Status `json:"status,omitempty"`
// MinReplicas - The minimum number of replicas for each service.
MinReplicas *int32 `json:"minReplicas,omitempty"`
// MaxReplicas - The maximum number of replicas for each service.
MaxReplicas *int32 `json:"maxReplicas,omitempty"`
// TargetUtilization - The target utilization.
TargetUtilization *float64 `json:"targetUtilization,omitempty"`
// RefreshPeriodInSeconds - Refresh period in seconds.
RefreshPeriodInSeconds *int32 `json:"refreshPeriodInSeconds,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// AvailableOperations available operation list.
type AvailableOperations struct {
autorest.Response `json:"-"`
// Value - An array of available operations.
Value *[]ResourceOperation `json:"value,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// CheckSystemServicesUpdatesAvailableResponse information about updates available for system services in a
// cluster.
type CheckSystemServicesUpdatesAvailableResponse struct {
autorest.Response `json:"-"`
// UpdatesAvailable - Yes if updates are available for the system services, No if not. Possible values include: 'Yes', 'No'
UpdatesAvailable UpdatesAvailable `json:"updatesAvailable,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ContainerRegistryCredentials information about the Azure Container Registry which contains the images deployed
// to the cluster.
type ContainerRegistryCredentials struct {
// LoginServer - The ACR login server name. User name is the first part of the FQDN.
LoginServer *string `json:"loginServer,omitempty"`
// Password - The ACR primary password.
Password *string `json:"password,omitempty"`
// Password2 - The ACR secondary password.
Password2 *string `json:"password2,omitempty"`
// Username - The ACR login username.
Username *string `json:"username,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ContainerRegistryProperties properties of Azure Container Registry.
type ContainerRegistryProperties struct {
// ResourceID - ARM resource ID of the Azure Container Registry used to store Docker images for web services in the cluster. If not provided one will be created. This cannot be changed once the cluster is created.
ResourceID *string `json:"resourceId,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ContainerServiceCredentials information about the Azure Container Registry which contains the images deployed to
// the cluster.
type ContainerServiceCredentials struct {
// AcsKubeConfig - The ACS kube config file.
AcsKubeConfig *string `json:"acsKubeConfig,omitempty"`
// ServicePrincipalConfiguration - Service principal configuration used by Kubernetes.
ServicePrincipalConfiguration *ServicePrincipalProperties `json:"servicePrincipalConfiguration,omitempty"`
// ImagePullSecretName - The ACR image pull secret name which was created in Kubernetes.
ImagePullSecretName *string `json:"imagePullSecretName,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ErrorDetail error detail information.
type ErrorDetail struct {
// Code - Error code.
Code *string `json:"code,omitempty"`
// Message - Error message.
Message *string `json:"message,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ErrorResponse error response information.
type ErrorResponse struct {
// Code - Error code.
Code *string `json:"code,omitempty"`
// Message - Error message.
Message *string `json:"message,omitempty"`
// Details - An array of error detail objects.
Details *[]ErrorDetail `json:"details,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ErrorResponseWrapper wrapper for error response to follow ARM guidelines.
type ErrorResponseWrapper struct {
// Error - The error response.
Error *ErrorResponse `json:"error,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// GlobalServiceConfiguration global configuration for services in the cluster.
type GlobalServiceConfiguration struct {
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
AdditionalProperties map[string]interface{} `json:""`
// Etag - The configuartion ETag for updates.
Etag *string `json:"etag,omitempty"`
// Ssl - The SSL configuration properties
Ssl *SslConfiguration `json:"ssl,omitempty"`
// ServiceAuth - Optional global authorization keys for all user services deployed in cluster. These are used if the service does not have auth keys.
ServiceAuth *ServiceAuthConfiguration `json:"serviceAuth,omitempty"`
// AutoScale - The auto-scale configuration
AutoScale *AutoScaleConfiguration `json:"autoScale,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// MarshalJSON is the custom marshaler for GlobalServiceConfiguration.
func (gsc GlobalServiceConfiguration) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if gsc.Etag != nil {
objectMap["etag"] = gsc.Etag
}
if gsc.Ssl != nil {
objectMap["ssl"] = gsc.Ssl
}
if gsc.ServiceAuth != nil {
objectMap["serviceAuth"] = gsc.ServiceAuth
}
if gsc.AutoScale != nil {
objectMap["autoScale"] = gsc.AutoScale
}
for k, v := range gsc.AdditionalProperties {
objectMap[k] = v
}
return json.Marshal(objectMap)
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// KubernetesClusterProperties kubernetes cluster specific properties
type KubernetesClusterProperties struct {
// ServicePrincipal - The Azure Service Principal used by Kubernetes
ServicePrincipal *ServicePrincipalProperties `json:"servicePrincipal,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OperationalizationCluster instance of an Azure ML Operationalization Cluster resource.
type OperationalizationCluster struct {
autorest.Response `json:"-"`
// OperationalizationClusterProperties - Properties of an operationalization cluster.
*OperationalizationClusterProperties `json:"properties,omitempty"`
// ID - Specifies the resource ID.
ID *string `json:"id,omitempty"`
// Name - Specifies the name of the resource.
Name *string `json:"name,omitempty"`
// Location - Specifies the location of the resource.
Location *string `json:"location,omitempty"`
// Type - Specifies the type of the resource.
Type *string `json:"type,omitempty"`
// Tags - Contains resource tags defined as key/value pairs.
Tags map[string]*string `json:"tags"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// MarshalJSON is the custom marshaler for OperationalizationCluster.
func (oc OperationalizationCluster) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if oc.OperationalizationClusterProperties != nil {
objectMap["properties"] = oc.OperationalizationClusterProperties
}
if oc.ID != nil {
objectMap["id"] = oc.ID
}
if oc.Name != nil {
objectMap["name"] = oc.Name
}
if oc.Location != nil {
objectMap["location"] = oc.Location
}
if oc.Type != nil {
objectMap["type"] = oc.Type
}
if oc.Tags != nil {
objectMap["tags"] = oc.Tags
}
return json.Marshal(objectMap)
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// UnmarshalJSON is the custom unmarshaler for OperationalizationCluster struct.
func (oc *OperationalizationCluster) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
return err
}
for k, v := range m {
switch k {
case "properties":
if v != nil {
var operationalizationClusterProperties OperationalizationClusterProperties
err = json.Unmarshal(*v, &operationalizationClusterProperties)
if err != nil {
return err
}
oc.OperationalizationClusterProperties = &operationalizationClusterProperties
}
case "id":
if v != nil {
var ID string
err = json.Unmarshal(*v, &ID)
if err != nil {
return err
}
oc.ID = &ID
}
case "name":
if v != nil {
var name string
err = json.Unmarshal(*v, &name)
if err != nil {
return err
}
oc.Name = &name
}
case "location":
if v != nil {
var location string
err = json.Unmarshal(*v, &location)
if err != nil {
return err
}
oc.Location = &location
}
case "type":
if v != nil {
var typeVar string
err = json.Unmarshal(*v, &typeVar)
if err != nil {
return err
}
oc.Type = &typeVar
}
case "tags":
if v != nil {
var tags map[string]*string
err = json.Unmarshal(*v, &tags)
if err != nil {
return err
}
oc.Tags = tags
}
}
}
return nil
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OperationalizationClusterCredentials credentials to resources in the cluster.
type OperationalizationClusterCredentials struct {
autorest.Response `json:"-"`
// StorageAccount - Credentials for the Storage Account.
StorageAccount *StorageAccountCredentials `json:"storageAccount,omitempty"`
// ContainerRegistry - Credentials for Azure Container Registry.
ContainerRegistry *ContainerRegistryCredentials `json:"containerRegistry,omitempty"`
// ContainerService - Credentials for Azure Container Service.
ContainerService *ContainerServiceCredentials `json:"containerService,omitempty"`
// AppInsights - Credentials for Azure AppInsights.
AppInsights *AppInsightsCredentials `json:"appInsights,omitempty"`
// ServiceAuthConfiguration - Global authorization keys for all user services deployed in cluster. These are used if the service does not have auth keys.
ServiceAuthConfiguration *ServiceAuthConfiguration `json:"serviceAuthConfiguration,omitempty"`
// SslConfiguration - The SSL configuration for the services.
SslConfiguration *SslConfiguration `json:"sslConfiguration,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OperationalizationClusterProperties properties of an operationalization cluster
type OperationalizationClusterProperties struct {
// Description - The description of the cluster.
Description *string `json:"description,omitempty"`
// CreatedOn - The date and time when the cluster was created.
CreatedOn *date.Time `json:"createdOn,omitempty"`
// ModifiedOn - The date and time when the cluster was last modified.
ModifiedOn *date.Time `json:"modifiedOn,omitempty"`
// ProvisioningState - The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
ProvisioningState OperationStatus `json:"provisioningState,omitempty"`
// ProvisioningErrors - List of provisioning errors reported by the resource provider.
ProvisioningErrors *[]ErrorResponseWrapper `json:"provisioningErrors,omitempty"`
// ClusterType - The cluster type. Possible values include: 'ACS', 'Local'
ClusterType ClusterType `json:"clusterType,omitempty"`
// StorageAccount - Storage Account properties.
StorageAccount *StorageAccountProperties `json:"storageAccount,omitempty"`
// ContainerRegistry - Container Registry properties.
ContainerRegistry *ContainerRegistryProperties `json:"containerRegistry,omitempty"`
// ContainerService - Parameters for the Azure Container Service cluster.
ContainerService *AcsClusterProperties `json:"containerService,omitempty"`
// AppInsights - AppInsights configuration.
AppInsights *AppInsightsProperties `json:"appInsights,omitempty"`
// GlobalServiceConfiguration - Contains global configuration for the web services in the cluster.
GlobalServiceConfiguration *GlobalServiceConfiguration `json:"globalServiceConfiguration,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OperationalizationClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a
// long-running operation.
type OperationalizationClustersCreateOrUpdateFuture struct {
azure.Future
req *http.Request
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Result returns the result of the asynchronous operation.
// If the operation has not completed it will return an error.
func (future OperationalizationClustersCreateOrUpdateFuture) Result(client OperationalizationClustersClient) (oc OperationalizationCluster, err error) {
var done bool
done, err = future.Done(client)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersCreateOrUpdateFuture", "Result", future.Response(), "Polling failure")
return
}
if !done {
return oc, azure.NewAsyncOpIncompleteError("compute.OperationalizationClustersCreateOrUpdateFuture")
}
if future.PollingMethod() == azure.PollingLocation {
oc, err = client.CreateOrUpdateResponder(future.Response())
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersCreateOrUpdateFuture", "Result", future.Response(), "Failure responding to request")
}
return
}
var req *http.Request
var resp *http.Response
if future.PollingURL() != "" {
req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil)
if err != nil {
return
}
} else {
req = autorest.ChangeToGet(future.req)
}
resp, err = autorest.SendWithSender(client, req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersCreateOrUpdateFuture", "Result", resp, "Failure sending request")
return
}
oc, err = client.CreateOrUpdateResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersCreateOrUpdateFuture", "Result", resp, "Failure responding to request")
}
return
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OperationalizationClustersDeleteFuture an abstraction for monitoring and retrieving the results of a
// long-running operation.
type OperationalizationClustersDeleteFuture struct {
azure.Future
req *http.Request
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Result returns the result of the asynchronous operation.
// If the operation has not completed it will return an error.
func (future OperationalizationClustersDeleteFuture) Result(client OperationalizationClustersClient) (ar autorest.Response, err error) {
var done bool
done, err = future.Done(client)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersDeleteFuture", "Result", future.Response(), "Polling failure")
return
}
if !done {
return ar, azure.NewAsyncOpIncompleteError("compute.OperationalizationClustersDeleteFuture")
}
if future.PollingMethod() == azure.PollingLocation {
ar, err = client.DeleteResponder(future.Response())
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersDeleteFuture", "Result", future.Response(), "Failure responding to request")
}
return
}
var req *http.Request
var resp *http.Response
if future.PollingURL() != "" {
req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil)
if err != nil {
return
}
} else {
req = autorest.ChangeToGet(future.req)
}
resp, err = autorest.SendWithSender(client, req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersDeleteFuture", "Result", resp, "Failure sending request")
return
}
ar, err = client.DeleteResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersDeleteFuture", "Result", resp, "Failure responding to request")
}
return
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OperationalizationClustersUpdateSystemServicesFuture an abstraction for monitoring and retrieving the results of
// a long-running operation.
type OperationalizationClustersUpdateSystemServicesFuture struct {
azure.Future
req *http.Request
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Result returns the result of the asynchronous operation.
// If the operation has not completed it will return an error.
func (future OperationalizationClustersUpdateSystemServicesFuture) Result(client OperationalizationClustersClient) (ussr UpdateSystemServicesResponse, err error) {
var done bool
done, err = future.Done(client)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersUpdateSystemServicesFuture", "Result", future.Response(), "Polling failure")
return
}
if !done {
return ussr, azure.NewAsyncOpIncompleteError("compute.OperationalizationClustersUpdateSystemServicesFuture")
}
if future.PollingMethod() == azure.PollingLocation {
ussr, err = client.UpdateSystemServicesResponder(future.Response())
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersUpdateSystemServicesFuture", "Result", future.Response(), "Failure responding to request")
}
return
}
var req *http.Request
var resp *http.Response
if future.PollingURL() != "" {
req, err = http.NewRequest(http.MethodGet, future.PollingURL(), nil)
if err != nil {
return
}
} else {
req = autorest.ChangeToGet(future.req)
}
resp, err = autorest.SendWithSender(client, req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersUpdateSystemServicesFuture", "Result", resp, "Failure sending request")
return
}
ussr, err = client.UpdateSystemServicesResponder(resp)
if err != nil {
err = autorest.NewErrorWithError(err, "compute.OperationalizationClustersUpdateSystemServicesFuture", "Result", resp, "Failure responding to request")
}
return
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// OperationalizationClusterUpdateParameters parameters for PATCH operation on an operationalization cluster
type OperationalizationClusterUpdateParameters struct {
// Tags - Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.
Tags map[string]*string `json:"tags"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// MarshalJSON is the custom marshaler for OperationalizationClusterUpdateParameters.
func (ocup OperationalizationClusterUpdateParameters) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if ocup.Tags != nil {
objectMap["tags"] = ocup.Tags
}
return json.Marshal(objectMap)
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PaginatedOperationalizationClustersList paginated list of operationalization clusters.
type PaginatedOperationalizationClustersList struct {
autorest.Response `json:"-"`
// Value - An array of cluster objects.
Value *[]OperationalizationCluster `json:"value,omitempty"`
// NextLink - A continuation link (absolute URI) to the next page of results in the list.
NextLink *string `json:"nextLink,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PaginatedOperationalizationClustersListIterator provides access to a complete listing of
// OperationalizationCluster values.
type PaginatedOperationalizationClustersListIterator struct {
i int
page PaginatedOperationalizationClustersListPage
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Next advances to the next value. If there was an error making
// the request the iterator does not advance and the error is returned.
func (iter *PaginatedOperationalizationClustersListIterator) Next() error {
iter.i++
if iter.i < len(iter.page.Values()) {
return nil
}
err := iter.page.Next()
if err != nil {
iter.i--
return err
}
iter.i = 0
return nil
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PaginatedOperationalizationClustersListIterator) NotDone() bool {
return iter.page.NotDone() && iter.i < len(iter.page.Values())
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Response returns the raw server response from the last page request.
func (iter PaginatedOperationalizationClustersListIterator) Response() PaginatedOperationalizationClustersList {
return iter.page.Response()
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Value returns the current value or a zero-initialized value if the
// iterator has advanced beyond the end of the collection.
func (iter PaginatedOperationalizationClustersListIterator) Value() OperationalizationCluster {
if !iter.page.NotDone() {
return OperationalizationCluster{}
}
return iter.page.Values()[iter.i]
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// IsEmpty returns true if the ListResult contains no values.
func (pocl PaginatedOperationalizationClustersList) IsEmpty() bool {
return pocl.Value == nil || len(*pocl.Value) == 0
}
// paginatedOperationalizationClustersListPreparer prepares a request to retrieve the next set of results.
// It returns nil if no more results exist.
func (pocl PaginatedOperationalizationClustersList) paginatedOperationalizationClustersListPreparer() (*http.Request, error) {
if pocl.NextLink == nil || len(to.String(pocl.NextLink)) < 1 {
return nil, nil
}
return autorest.Prepare(&http.Request{},
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(pocl.NextLink)))
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// PaginatedOperationalizationClustersListPage contains a page of OperationalizationCluster values.
type PaginatedOperationalizationClustersListPage struct {
fn func(PaginatedOperationalizationClustersList) (PaginatedOperationalizationClustersList, error)
pocl PaginatedOperationalizationClustersList
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Next advances to the next page of values. If there was an error making
// the request the page does not advance and the error is returned.
func (page *PaginatedOperationalizationClustersListPage) Next() error {
next, err := page.fn(page.pocl)
if err != nil {
return err
}
page.pocl = next
return nil
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PaginatedOperationalizationClustersListPage) NotDone() bool {
return !page.pocl.IsEmpty()
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Response returns the raw server response from the last page request.
func (page PaginatedOperationalizationClustersListPage) Response() PaginatedOperationalizationClustersList {
return page.pocl
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Values returns the slice of values for the current page or nil if there are no values.
func (page PaginatedOperationalizationClustersListPage) Values() []OperationalizationCluster {
if page.pocl.IsEmpty() {
return nil
}
return *page.pocl.Value
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// Resource azure resource
type Resource struct {
// ID - Specifies the resource ID.
ID *string `json:"id,omitempty"`
// Name - Specifies the name of the resource.
Name *string `json:"name,omitempty"`
// Location - Specifies the location of the resource.
Location *string `json:"location,omitempty"`
// Type - Specifies the type of the resource.
Type *string `json:"type,omitempty"`
// Tags - Contains resource tags defined as key/value pairs.
Tags map[string]*string `json:"tags"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// MarshalJSON is the custom marshaler for Resource.
func (r Resource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if r.ID != nil {
objectMap["id"] = r.ID
}
if r.Name != nil {
objectMap["name"] = r.Name
}
if r.Location != nil {
objectMap["location"] = r.Location
}
if r.Type != nil {
objectMap["type"] = r.Type
}
if r.Tags != nil {
objectMap["tags"] = r.Tags
}
return json.Marshal(objectMap)
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ResourceOperation resource operation.
type ResourceOperation struct {
// Name - Name of this operation.
Name *string `json:"name,omitempty"`
// Display - Display of the operation.
Display *ResourceOperationDisplay `json:"display,omitempty"`
// Origin - The operation origin.
Origin *string `json:"origin,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ResourceOperationDisplay display of the operation.
type ResourceOperationDisplay struct {
// Provider - The resource provider name.
Provider *string `json:"provider,omitempty"`
// Resource - The resource name.
Resource *string `json:"resource,omitempty"`
// Operation - The operation.
Operation *string `json:"operation,omitempty"`
// Description - The description of the operation.
Description *string `json:"description,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ServiceAuthConfiguration global service auth configuration properties. These are the data-plane authorization
// keys and are used if a service doesn't define it's own.
type ServiceAuthConfiguration struct {
// PrimaryAuthKeyHash - The primary auth key hash. This is not returned in response of GET/PUT on the resource.. To see this please call listKeys API.
PrimaryAuthKeyHash *string `json:"primaryAuthKeyHash,omitempty"`
// SecondaryAuthKeyHash - The secondary auth key hash. This is not returned in response of GET/PUT on the resource.. To see this please call listKeys API.
SecondaryAuthKeyHash *string `json:"secondaryAuthKeyHash,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// ServicePrincipalProperties the Azure service principal used by Kubernetes for configuring load balancers
type ServicePrincipalProperties struct {
// ClientID - The service principal client ID
ClientID *string `json:"clientId,omitempty"`
// Secret - The service principal secret. This is not returned in response of GET/PUT on the resource. To see this please call listKeys.
Secret *string `json:"secret,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// SslConfiguration SSL configuration. If configured data-plane calls to user services will be exposed over SSL
// only.
type SslConfiguration struct {
// Status - SSL status. Allowed values are Enabled and Disabled. Possible values include: 'Enabled', 'Disabled'
Status Status `json:"status,omitempty"`
// Cert - The SSL cert data in PEM format.
Cert *string `json:"cert,omitempty"`
// Key - The SSL key data in PEM format. This is not returned in response of GET/PUT on the resource. To see this please call listKeys API.
Key *string `json:"key,omitempty"`
// Cname - The CName of the certificate.
Cname *string `json:"cname,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// StorageAccountCredentials access information for the storage account.
type StorageAccountCredentials struct {
// ResourceID - The ARM resource ID of the storage account.
ResourceID *string `json:"resourceId,omitempty"`
// PrimaryKey - The primary key of the storage account.
PrimaryKey *string `json:"primaryKey,omitempty"`
// SecondaryKey - The secondary key of the storage account.
SecondaryKey *string `json:"secondaryKey,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// StorageAccountProperties properties of Storage Account.
type StorageAccountProperties struct {
// ResourceID - ARM resource ID of the Azure Storage Account to store CLI specific files. If not provided one will be created. This cannot be changed once the cluster is created.
ResourceID *string `json:"resourceId,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// SystemService information about a system service deployed in the cluster
type SystemService struct {
// SystemServiceType - The system service type. Possible values include: 'SystemServiceTypeNone', 'SystemServiceTypeScoringFrontEnd', 'SystemServiceTypeBatchFrontEnd'
SystemServiceType SystemServiceType `json:"systemServiceType,omitempty"`
// PublicIPAddress - The public IP address of the system service
PublicIPAddress *string `json:"publicIpAddress,omitempty"`
// Version - The state of the system service
Version *string `json:"version,omitempty"`
}
// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-08-01-preview/compute instead.
// UpdateSystemServicesResponse response of the update system services API
type UpdateSystemServicesResponse struct {
autorest.Response `json:"-"`
// UpdateStatus - Update status. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
UpdateStatus OperationStatus `json:"updateStatus,omitempty"`
// UpdateStartedOn - The date and time when the last system services update was started.
UpdateStartedOn *date.Time `json:"updateStartedOn,omitempty"`
// UpdateCompletedOn - The date and time when the last system services update completed.
UpdateCompletedOn *date.Time `json:"updateCompletedOn,omitempty"`
}