/
models.go
3500 lines (2582 loc) · 97.1 KB
/
models.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package armautomation
import "time"
// Account - Definition of the automation account type.
type Account struct {
// Gets or sets the etag of the resource.
Etag *string
// Identity for the resource.
Identity *Identity
// The Azure Region where the resource lives
Location *string
// Gets or sets the automation account properties.
Properties *AccountProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource Id for the resource
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Resource system metadata.
SystemData *SystemData
// READ-ONLY; The type of the resource.
Type *string
}
// AccountCreateOrUpdateParameters - The parameters supplied to the create or update automation account operation.
type AccountCreateOrUpdateParameters struct {
// Sets the identity property for automation account
Identity *Identity
// Gets or sets the location of the resource.
Location *string
// Gets or sets name of the resource.
Name *string
// Gets or sets account create or update properties.
Properties *AccountCreateOrUpdateProperties
// Gets or sets the tags attached to the resource.
Tags map[string]*string
}
// AccountCreateOrUpdateProperties - The parameters supplied to the create or update account properties.
type AccountCreateOrUpdateProperties struct {
// Indicates whether requests using non-AAD authentication are blocked
DisableLocalAuth *bool
// Set the encryption properties for the automation account
Encryption *EncryptionProperties
// Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet
PublicNetworkAccess *bool
// Gets or sets account SKU.
SKU *SKU
}
// AccountListResult - The response model for the list account operation.
type AccountListResult struct {
// Gets or sets the next link.
NextLink *string
// Gets or sets list of accounts.
Value []*Account
}
// AccountProperties - Definition of the account property.
type AccountProperties struct {
// URL of automation hybrid service which is used for hybrid worker on-boarding.
AutomationHybridServiceURL *string
// Gets or sets the description.
Description *string
// Indicates whether requests using non-AAD authentication are blocked
DisableLocalAuth *bool
// Encryption properties for the automation account
Encryption *EncryptionProperties
// Gets or sets the last modified by.
LastModifiedBy *string
// List of Automation operations supported by the Automation resource provider.
PrivateEndpointConnections []*PrivateEndpointConnection
// Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet
PublicNetworkAccess *bool
// Gets or sets the SKU of account.
SKU *SKU
// READ-ONLY; Gets the creation time.
CreationTime *time.Time
// READ-ONLY; Gets the last modified time.
LastModifiedTime *time.Time
// READ-ONLY; Gets status of account.
State *AutomationAccountState
}
// AccountUpdateParameters - The parameters supplied to the update automation account operation.
type AccountUpdateParameters struct {
// Sets the identity property for automation account
Identity *Identity
// Gets or sets the location of the resource.
Location *string
// Gets or sets the name of the resource.
Name *string
// Gets or sets account update properties.
Properties *AccountUpdateProperties
// Gets or sets the tags attached to the resource.
Tags map[string]*string
}
// AccountUpdateProperties - The parameters supplied to the update account properties.
type AccountUpdateProperties struct {
// Indicates whether requests using non-AAD authentication are blocked
DisableLocalAuth *bool
// Set the encryption properties for the automation account
Encryption *EncryptionProperties
// Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet
PublicNetworkAccess *bool
// Gets or sets account SKU.
SKU *SKU
}
// Activity - Definition of the activity.
type Activity struct {
// Gets or sets the id of the resource.
ID *string
// Gets or sets the properties of the activity.
Properties *ActivityProperties
// READ-ONLY; Gets the name of the activity.
Name *string
}
// ActivityListResult - The response model for the list activity operation.
type ActivityListResult struct {
// Gets or sets the next link.
NextLink *string
// Gets or sets a list of activities.
Value []*Activity
}
// ActivityOutputType - Definition of the activity output type.
type ActivityOutputType struct {
// Gets or sets the name of the activity output type.
Name *string
// Gets or sets the type of the activity output type.
Type *string
}
// ActivityParameter - Definition of the activity parameter.
type ActivityParameter struct {
// Gets or sets the description of the activity parameter.
Description *string
// Gets or sets a Boolean value that indicates true if the parameter is dynamic.
IsDynamic *bool
// Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is
// optional.
IsMandatory *bool
// Gets or sets the name of the activity parameter.
Name *string
// Gets or sets the position of the activity parameter.
Position *int64
// Gets or sets the type of the activity parameter.
Type *string
// Gets or sets the validation set of activity parameter.
ValidationSet []*ActivityParameterValidationSet
// Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This
// setting is used if the cmdlet must access the complete input object. false
// indicates that the parameter cannot take values from the complete input object.
ValueFromPipeline *bool
// Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline
// object that has the same name as this parameter. false indicates that the
// parameter cannot be filled from the incoming pipeline object property with the same name.
ValueFromPipelineByPropertyName *bool
// Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments
// that are associated with this parameter in the form of an array. false if the
// cmdlet parameter does not accept all the remaining argument values.
ValueFromRemainingArguments *bool
}
// ActivityParameterSet - Definition of the activity parameter set.
type ActivityParameterSet struct {
// Gets or sets the name of the activity parameter set.
Name *string
// Gets or sets the parameters of the activity parameter set.
Parameters []*ActivityParameter
}
// ActivityParameterValidationSet - Definition of the activity parameter validation set.
type ActivityParameterValidationSet struct {
// Gets or sets the name of the activity parameter validation set member.
MemberValue *string
}
// ActivityProperties - Properties of the activity.
type ActivityProperties struct {
// Gets or sets the creation time.
CreationTime *time.Time
// Gets or sets the user name of the activity.
Definition *string
// Gets or sets the description.
Description *string
// Gets or sets the last modified time.
LastModifiedTime *time.Time
// Gets or sets the output types of the activity.
OutputTypes []*ActivityOutputType
// Gets or sets the parameter sets of the activity.
ParameterSets []*ActivityParameterSet
}
// AdvancedSchedule - The properties of the create Advanced Schedule.
type AdvancedSchedule struct {
// Days of the month that the job should execute on. Must be between 1 and 31.
MonthDays []*int32
// Occurrences of days within a month.
MonthlyOccurrences []*AdvancedScheduleMonthlyOccurrence
// Days of the week that the job should execute on.
WeekDays []*string
}
// AdvancedScheduleMonthlyOccurrence - The properties of the create advanced schedule monthly occurrence.
type AdvancedScheduleMonthlyOccurrence struct {
// Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
Day *ScheduleDay
// Occurrence of the week within the month. Must be between 1 and 5
Occurrence *int32
}
// AgentRegistration - Definition of the agent registration information type.
type AgentRegistration struct {
// Gets or sets the dsc meta configuration.
DscMetaConfiguration *string
// Gets or sets the dsc server endpoint.
Endpoint *string
// Gets or sets the id.
ID *string
// Gets or sets the agent registration keys.
Keys *AgentRegistrationKeys
}
// AgentRegistrationKeys - Definition of the agent registration keys.
type AgentRegistrationKeys struct {
// Gets or sets the primary key.
Primary *string
// Gets or sets the secondary key.
Secondary *string
}
// AgentRegistrationRegenerateKeyParameter - The parameters supplied to the regenerate keys operation.
type AgentRegistrationRegenerateKeyParameter struct {
// REQUIRED; Gets or sets the agent registration key name - primary or secondary.
KeyName *AgentRegistrationKeyName
}
// AzureQueryProperties - Azure query for the update configuration.
type AzureQueryProperties struct {
// List of locations to scope the query to.
Locations []*string
// List of Subscription or Resource Group ARM Ids.
Scope []*string
// Tag settings for the VM.
TagSettings *TagSettingsProperties
}
// Certificate - Definition of the certificate.
type Certificate struct {
// Gets or sets the properties of the certificate.
Properties *CertificateProperties
// READ-ONLY; Fully qualified resource Id for the resource
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource.
Type *string
}
// CertificateCreateOrUpdateParameters - The parameters supplied to the create or update or replace certificate operation.
type CertificateCreateOrUpdateParameters struct {
// REQUIRED; Gets or sets the name of the certificate.
Name *string
// REQUIRED; Gets or sets the properties of the certificate.
Properties *CertificateCreateOrUpdateProperties
}
// CertificateCreateOrUpdateProperties - The properties of the create certificate operation.
type CertificateCreateOrUpdateProperties struct {
// REQUIRED; Gets or sets the base64 encoded value of the certificate.
Base64Value *string
// Gets or sets the description of the certificate.
Description *string
// Gets or sets the is exportable flag of the certificate.
IsExportable *bool
// Gets or sets the thumbprint of the certificate.
Thumbprint *string
}
// CertificateListResult - The response model for the list certificate operation.
type CertificateListResult struct {
// Gets or sets the next link.
NextLink *string
// Gets or sets a list of certificates.
Value []*Certificate
}
// CertificateProperties - Properties of the certificate.
type CertificateProperties struct {
// Gets or sets the description.
Description *string
// READ-ONLY; Gets the creation time.
CreationTime *time.Time
// READ-ONLY; Gets the expiry time of the certificate.
ExpiryTime *time.Time
// READ-ONLY; Gets the is exportable flag of the certificate.
IsExportable *bool
// READ-ONLY; Gets the last modified time.
LastModifiedTime *time.Time
// READ-ONLY; Gets the thumbprint of the certificate.
Thumbprint *string
}
// CertificateUpdateParameters - The parameters supplied to the update certificate operation.
type CertificateUpdateParameters struct {
// Gets or sets the name of the certificate.
Name *string
// Gets or sets the properties of the certificate.
Properties *CertificateUpdateProperties
}
// CertificateUpdateProperties - The properties of the update certificate operation
type CertificateUpdateProperties struct {
// Gets or sets the description of the certificate.
Description *string
}
type ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties struct {
// READ-ONLY; The client id of user assigned identity.
ClientID *string
// READ-ONLY; The principal id of user assigned identity.
PrincipalID *string
}
// Connection - Definition of the connection.
type Connection struct {
// Gets or sets the properties of the connection.
Properties *ConnectionProperties
// READ-ONLY; Fully qualified resource Id for the resource
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource.
Type *string
}
// ConnectionCreateOrUpdateParameters - The parameters supplied to the create or update connection operation.
type ConnectionCreateOrUpdateParameters struct {
// REQUIRED; Gets or sets the name of the connection.
Name *string
// REQUIRED; Gets or sets the properties of the connection.
Properties *ConnectionCreateOrUpdateProperties
}
// ConnectionCreateOrUpdateProperties - The properties of the create connection properties
type ConnectionCreateOrUpdateProperties struct {
// REQUIRED; Gets or sets the connectionType of the connection.
ConnectionType *ConnectionTypeAssociationProperty
// Gets or sets the description of the connection.
Description *string
// Gets or sets the field definition properties of the connection.
FieldDefinitionValues map[string]*string
}
// ConnectionListResult - The response model for the list connection operation.
type ConnectionListResult struct {
// Gets or sets the next link.
NextLink *string
// Gets or sets a list of connection.
Value []*Connection
}
// ConnectionProperties - Definition of the connection properties.
type ConnectionProperties struct {
// Gets or sets the connectionType of the connection.
ConnectionType *ConnectionTypeAssociationProperty
// Gets or sets the description.
Description *string
// READ-ONLY; Gets the creation time.
CreationTime *time.Time
// READ-ONLY; Gets the field definition values of the connection.
FieldDefinitionValues map[string]*string
// READ-ONLY; Gets the last modified time.
LastModifiedTime *time.Time
}
// ConnectionType - Definition of the connection type.
type ConnectionType struct {
// Gets or sets the properties of the connection type.
Properties *ConnectionTypeProperties
// READ-ONLY; Gets the id of the resource.
ID *string
// READ-ONLY; Gets the name of the connection type.
Name *string
// READ-ONLY; Resource type
Type *string
}
// ConnectionTypeAssociationProperty - The connection type property associated with the entity.
type ConnectionTypeAssociationProperty struct {
// Gets or sets the name of the connection type.
Name *string
}
// ConnectionTypeCreateOrUpdateParameters - The parameters supplied to the create or update connection type operation.
type ConnectionTypeCreateOrUpdateParameters struct {
// REQUIRED; Gets or sets the name of the connection type.
Name *string
// REQUIRED; Gets or sets the value of the connection type.
Properties *ConnectionTypeCreateOrUpdateProperties
}
// ConnectionTypeCreateOrUpdateProperties - The properties of the create connection type.
type ConnectionTypeCreateOrUpdateProperties struct {
// REQUIRED; Gets or sets the field definitions of the connection type.
FieldDefinitions map[string]*FieldDefinition
// Gets or sets a Boolean value to indicate if the connection type is global.
IsGlobal *bool
}
// ConnectionTypeListResult - The response model for the list connection type operation.
type ConnectionTypeListResult struct {
// Gets or sets the next link.
NextLink *string
// Gets or sets a list of connection types.
Value []*ConnectionType
}
// ConnectionTypeProperties - Properties of the connection type.
type ConnectionTypeProperties struct {
// Gets or sets the description.
Description *string
// Gets or sets a Boolean value to indicate if the connection type is global.
IsGlobal *bool
// Gets or sets the last modified time.
LastModifiedTime *time.Time
// READ-ONLY; Gets the creation time.
CreationTime *time.Time
// READ-ONLY; Gets the field definitions of the connection type.
FieldDefinitions map[string]*FieldDefinition
}
// ConnectionUpdateParameters - The parameters supplied to the update connection operation.
type ConnectionUpdateParameters struct {
// Gets or sets the name of the connection.
Name *string
// Gets or sets the properties of the connection.
Properties *ConnectionUpdateProperties
}
// ConnectionUpdateProperties - The properties of the update connection operation.
type ConnectionUpdateProperties struct {
// Gets or sets the description of the connection.
Description *string
// Gets or sets the field definition values of the connection.
FieldDefinitionValues map[string]*string
}
// ContentHash - Definition of the runbook property type.
type ContentHash struct {
// REQUIRED; Gets or sets the content hash algorithm used to hash the content.
Algorithm *string
// REQUIRED; Gets or sets expected hash value of the content.
Value *string
}
// ContentLink - Definition of the content link.
type ContentLink struct {
// Gets or sets the hash.
ContentHash *ContentHash
// Gets or sets the uri of the runbook content.
URI *string
// Gets or sets the version of the content.
Version *string
}
// ContentSource - Definition of the content source.
type ContentSource struct {
// Gets or sets the hash.
Hash *ContentHash
// Gets or sets the content source type.
Type *ContentSourceType
// Gets or sets the value of the content. This is based on the content source type.
Value *string
// Gets or sets the version of the content.
Version *string
}
// Credential - Definition of the credential.
type Credential struct {
// Gets or sets the properties of the credential.
Properties *CredentialProperties
// READ-ONLY; Fully qualified resource Id for the resource
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource.
Type *string
}
// CredentialCreateOrUpdateParameters - The parameters supplied to the create or update credential operation.
type CredentialCreateOrUpdateParameters struct {
// REQUIRED; Gets or sets the name of the credential.
Name *string
// REQUIRED; Gets or sets the properties of the credential.
Properties *CredentialCreateOrUpdateProperties
}
// CredentialCreateOrUpdateProperties - The properties of the create credential operation.
type CredentialCreateOrUpdateProperties struct {
// REQUIRED; Gets or sets the password of the credential.
Password *string
// REQUIRED; Gets or sets the user name of the credential.
UserName *string
// Gets or sets the description of the credential.
Description *string
}
// CredentialListResult - The response model for the list credential operation.
type CredentialListResult struct {
// Gets or sets the next link.
NextLink *string
// Gets or sets a list of credentials.
Value []*Credential
}
// CredentialProperties - Definition of the credential properties
type CredentialProperties struct {
// Gets or sets the description.
Description *string
// READ-ONLY; Gets the creation time.
CreationTime *time.Time
// READ-ONLY; Gets the last modified time.
LastModifiedTime *time.Time
// READ-ONLY; Gets the user name of the credential.
UserName *string
}
// CredentialUpdateParameters - The parameters supplied to the Update credential operation.
type CredentialUpdateParameters struct {
// Gets or sets the name of the credential.
Name *string
// Gets or sets the properties of the variable.
Properties *CredentialUpdateProperties
}
// CredentialUpdateProperties - The properties of the Update credential
type CredentialUpdateProperties struct {
// Gets or sets the description of the credential.
Description *string
// Gets or sets the password of the credential.
Password *string
// Gets or sets the user name of the credential.
UserName *string
}
// DeletedAutomationAccount - Definition of the deleted automation account type.
type DeletedAutomationAccount struct {
// The resource id.
ID *string
// Gets or sets the location of the resource.
Location *string
// Gets or sets name of the resource.
Name *string
// Gets or sets the automation account properties.
Properties *DeletedAutomationAccountProperties
// The resource type.
Type *string
}
// DeletedAutomationAccountListResult - The response model for the list deleted automation account.
type DeletedAutomationAccountListResult struct {
// Gets or sets the list of deleted automation accounts.
Value []*DeletedAutomationAccount
}
// DeletedAutomationAccountProperties - Definition of the deleted automation account properties.
type DeletedAutomationAccountProperties struct {
// Gets or sets the Automation Account Id.
AutomationAccountID *string
// Gets or sets the Automation Account Resource Id.
AutomationAccountResourceID *string
// Gets or sets the location of the resource.
Location *string
// READ-ONLY; Gets the deletion time.
DeletionTime *time.Time
}
// DscCompilationJob - Definition of the Dsc Compilation job.
type DscCompilationJob struct {
// Gets or sets the properties of the Dsc Compilation job.
Properties *DscCompilationJobProperties
// READ-ONLY; Fully qualified resource Id for the resource
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource.
Type *string
}
// DscCompilationJobCreateParameters - The parameters supplied to the create compilation job operation.
type DscCompilationJobCreateParameters struct {
// REQUIRED; Gets or sets the list of compilation job properties.
Properties *DscCompilationJobCreateProperties
// Gets or sets the location of the resource.
Location *string
// Gets or sets name of the resource.
Name *string
// Gets or sets the tags attached to the resource.
Tags map[string]*string
}
// DscCompilationJobCreateProperties - The parameters supplied to the create compilation job operation.
type DscCompilationJobCreateProperties struct {
// REQUIRED; Gets or sets the configuration.
Configuration *DscConfigurationAssociationProperty
// If a new build version of NodeConfiguration is required.
IncrementNodeConfigurationBuild *bool
// Gets or sets the parameters of the job.
Parameters map[string]*string
}
// DscCompilationJobListResult - The response model for the list job operation.
type DscCompilationJobListResult struct {
// Gets or sets the next link.
NextLink *string
// Gets or sets a list of Dsc Compilation jobs.
Value []*DscCompilationJob
}
// DscCompilationJobProperties - Definition of Dsc Compilation job properties.
type DscCompilationJobProperties struct {
// Gets or sets the configuration.
Configuration *DscConfigurationAssociationProperty
// Gets or sets the parameters of the job.
Parameters map[string]*string
// The current provisioning state of the job.
ProvisioningState *JobProvisioningState
// Gets or sets the runOn which specifies the group name where the job is to be executed.
RunOn *string
// Gets or sets the status of the job.
Status *JobStatus
// Gets or sets the status details of the job.
StatusDetails *string
// READ-ONLY; Gets the creation time of the job.
CreationTime *time.Time
// READ-ONLY; Gets the end time of the job.
EndTime *time.Time
// READ-ONLY; Gets the exception of the job.
Exception *string
// READ-ONLY; Gets the id of the job.
JobID *string
// READ-ONLY; Gets the last modified time of the job.
LastModifiedTime *time.Time
// READ-ONLY; Gets the last status modified time of the job.
LastStatusModifiedTime *time.Time
// READ-ONLY; Gets the start time of the job.
StartTime *time.Time
// READ-ONLY; Gets the compilation job started by.
StartedBy *string
}
// DscConfiguration - Definition of the configuration type.
type DscConfiguration struct {
// Gets or sets the etag of the resource.
Etag *string
// The Azure Region where the resource lives
Location *string
// Gets or sets the configuration properties.
Properties *DscConfigurationProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; Fully qualified resource Id for the resource
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource.
Type *string
}
// DscConfigurationAssociationProperty - The Dsc configuration property associated with the entity.
type DscConfigurationAssociationProperty struct {
// Gets or sets the name of the Dsc configuration.
Name *string
}
// DscConfigurationCreateOrUpdateParameters - The parameters supplied to the create or update configuration operation.
type DscConfigurationCreateOrUpdateParameters struct {
// REQUIRED; Gets or sets configuration create or update properties.
Properties *DscConfigurationCreateOrUpdateProperties
// Gets or sets the location of the resource.
Location *string
// Gets or sets name of the resource.
Name *string
// Gets or sets the tags attached to the resource.
Tags map[string]*string
}
// DscConfigurationCreateOrUpdateProperties - The properties to create or update configuration.
type DscConfigurationCreateOrUpdateProperties struct {
// REQUIRED; Gets or sets the source.
Source *ContentSource
// Gets or sets the description of the configuration.
Description *string
// Gets or sets progress log option.
LogProgress *bool
// Gets or sets verbose log option.
LogVerbose *bool
// Gets or sets the configuration parameters.
Parameters map[string]*DscConfigurationParameter
}
// DscConfigurationListResult - The response model for the list configuration operation.
type DscConfigurationListResult struct {
// Gets or sets the next link.
NextLink *string
// Gets the total number of configurations matching filter criteria.
TotalCount *int32
// Gets or sets a list of configurations.
Value []*DscConfiguration
}
// DscConfigurationParameter - Definition of the configuration parameter type.
type DscConfigurationParameter struct {
// Gets or sets the default value of parameter.
DefaultValue *string
// Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
IsMandatory *bool
// Get or sets the position of the parameter.
Position *int32
// Gets or sets the type of the parameter.
Type *string
}
// DscConfigurationProperties - Definition of the configuration property type.
type DscConfigurationProperties struct {
// Gets or sets the creation time.
CreationTime *time.Time
// Gets or sets the description.
Description *string
// Gets or sets the job count of the configuration.
JobCount *int32
// Gets or sets the last modified time.
LastModifiedTime *time.Time
// Gets or sets verbose log option.
LogVerbose *bool
// Gets the number of compiled node configurations.
NodeConfigurationCount *int32
// Gets or sets the configuration parameters.
Parameters map[string]*DscConfigurationParameter
// Gets or sets the provisioning state of the configuration.
ProvisioningState *string
// Gets or sets the source.
Source *ContentSource
// Gets or sets the state of the configuration.
State *DscConfigurationState
}
// DscConfigurationUpdateParameters - The parameters supplied to the create or update configuration operation.
type DscConfigurationUpdateParameters struct {
// Gets or sets name of the resource.
Name *string
// Gets or sets configuration create or update properties.
Properties *DscConfigurationCreateOrUpdateProperties
// Gets or sets the tags attached to the resource.
Tags map[string]*string
}
// DscMetaConfiguration - Definition of the DSC Meta Configuration.
type DscMetaConfiguration struct {
// Gets or sets the ActionAfterReboot value of the meta configuration.
ActionAfterReboot *string
// Gets or sets the AllowModuleOverwrite value of the meta configuration.
AllowModuleOverwrite *bool
// Gets or sets the CertificateId value of the meta configuration.
CertificateID *string
// Gets or sets the ConfigurationMode value of the meta configuration.
ConfigurationMode *string
// Gets or sets the ConfigurationModeFrequencyMins value of the meta configuration.
ConfigurationModeFrequencyMins *int32
// Gets or sets the RebootNodeIfNeeded value of the meta configuration.
RebootNodeIfNeeded *bool
// Gets or sets the RefreshFrequencyMins value of the meta configuration.
RefreshFrequencyMins *int32
}
// DscNode - Definition of a DscNode
type DscNode struct {
// The properties of a DscNode.
Properties *DscNodeProperties
// READ-ONLY; Fully qualified resource Id for the resource
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource.
Type *string
}
// DscNodeConfiguration - Definition of the dsc node configuration.
type DscNodeConfiguration struct {
// Gets or sets the configuration properties.
Properties *DscNodeConfigurationProperties
// READ-ONLY; Fully qualified resource Id for the resource
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; The type of the resource.
Type *string