/
zz_generated_models.go
2055 lines (1540 loc) · 72.9 KB
/
zz_generated_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.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package armnetapp
import "time"
// Account - NetApp account resource
type Account struct {
// REQUIRED; Resource location
Location *string `json:"location,omitempty"`
// NetApp Account properties
Properties *AccountProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
Etag *string `json:"etag,omitempty" azure:"ro"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// AccountBackupsClientBeginDeleteOptions contains the optional parameters for the AccountBackupsClient.BeginDelete method.
type AccountBackupsClientBeginDeleteOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// AccountBackupsClientGetOptions contains the optional parameters for the AccountBackupsClient.Get method.
type AccountBackupsClientGetOptions struct {
// placeholder for future optional parameters
}
// AccountBackupsClientListOptions contains the optional parameters for the AccountBackupsClient.List method.
type AccountBackupsClientListOptions struct {
// placeholder for future optional parameters
}
// AccountEncryption - Encryption settings
type AccountEncryption struct {
// Encryption Key Source. Possible values are: 'Microsoft.NetApp'.
KeySource *string `json:"keySource,omitempty"`
}
// AccountList - List of NetApp account resources
type AccountList struct {
// URL to get the next set of results.
NextLink *string `json:"nextLink,omitempty"`
// Multiple NetApp accounts
Value []*Account `json:"value,omitempty"`
}
// AccountPatch - NetApp account patch resource
type AccountPatch struct {
// Resource location
Location *string `json:"location,omitempty"`
// NetApp Account properties
Properties *AccountProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// AccountProperties - NetApp account properties
type AccountProperties struct {
// Active Directories
ActiveDirectories []*ActiveDirectory `json:"activeDirectories,omitempty"`
// Encryption settings
Encryption *AccountEncryption `json:"encryption,omitempty"`
// READ-ONLY; Azure lifecycle management
ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
}
// AccountsClientBeginCreateOrUpdateOptions contains the optional parameters for the AccountsClient.BeginCreateOrUpdate method.
type AccountsClientBeginCreateOrUpdateOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// AccountsClientBeginDeleteOptions contains the optional parameters for the AccountsClient.BeginDelete method.
type AccountsClientBeginDeleteOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// AccountsClientBeginUpdateOptions contains the optional parameters for the AccountsClient.BeginUpdate method.
type AccountsClientBeginUpdateOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// AccountsClientGetOptions contains the optional parameters for the AccountsClient.Get method.
type AccountsClientGetOptions struct {
// placeholder for future optional parameters
}
// AccountsClientListBySubscriptionOptions contains the optional parameters for the AccountsClient.ListBySubscription method.
type AccountsClientListBySubscriptionOptions struct {
// placeholder for future optional parameters
}
// AccountsClientListOptions contains the optional parameters for the AccountsClient.List method.
type AccountsClientListOptions struct {
// placeholder for future optional parameters
}
// ActiveDirectory - Active Directory
type ActiveDirectory struct {
// Id of the Active Directory
ActiveDirectoryID *string `json:"activeDirectoryId,omitempty"`
// Name of the active directory machine. This optional parameter is used only while creating kerberos volume
AdName *string `json:"adName,omitempty"`
// Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier
Administrators []*string `json:"administrators,omitempty"`
// If enabled, AES encryption will be enabled for SMB communication.
AesEncryption *bool `json:"aesEncryption,omitempty"`
// If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.
AllowLocalNfsUsersWithLdap *bool `json:"allowLocalNfsUsersWithLdap,omitempty"`
// Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier
BackupOperators []*string `json:"backupOperators,omitempty"`
// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain
DNS *string `json:"dns,omitempty"`
// Name of the Active Directory domain
Domain *string `json:"domain,omitempty"`
// If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.
EncryptDCConnections *bool `json:"encryptDCConnections,omitempty"`
// kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos
// volume.
KdcIP *string `json:"kdcIP,omitempty"`
// Specifies whether or not the LDAP traffic needs to be secured via TLS.
LdapOverTLS *bool `json:"ldapOverTLS,omitempty"`
// LDAP Search scope options
LdapSearchScope *LdapSearchScopeOpt `json:"ldapSearchScope,omitempty"`
// Specifies whether or not the LDAP traffic needs to be signed.
LdapSigning *bool `json:"ldapSigning,omitempty"`
// The Organizational Unit (OU) within the Windows Active Directory
OrganizationalUnit *string `json:"organizationalUnit,omitempty"`
// Plain text password of Active Directory domain administrator, value is masked in the response
Password *string `json:"password,omitempty"`
// Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares
// for SQL). A list of unique usernames without domain specifier
SecurityOperators []*string `json:"securityOperators,omitempty"`
// When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's
// self-signed root CA certificate, this optional parameter is used only for
// dual protocol with LDAP user-mapping volumes.
ServerRootCACertificate *string `json:"serverRootCACertificate,omitempty"`
// The Active Directory site the service will limit Domain Controller discovery to
Site *string `json:"site,omitempty"`
// NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes
SmbServerName *string `json:"smbServerName,omitempty"`
// Username of Active Directory domain administrator
Username *string `json:"username,omitempty"`
// READ-ONLY; Status of the Active Directory
Status *ActiveDirectoryStatus `json:"status,omitempty" azure:"ro"`
// READ-ONLY; Any details in regards to the Status of the Active Directory
StatusDetails *string `json:"statusDetails,omitempty" azure:"ro"`
}
// AuthorizeRequest - Authorize request
type AuthorizeRequest struct {
// Resource id of the remote volume
RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty"`
}
// Backup of a Volume
type Backup struct {
// REQUIRED; Resource location
Location *string `json:"location,omitempty"`
// REQUIRED; Backup Properties
Properties *BackupProperties `json:"properties,omitempty"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// BackupPatch - Backup patch
type BackupPatch struct {
// Backup Properties
Properties *BackupProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
}
// BackupPoliciesClientBeginCreateOptions contains the optional parameters for the BackupPoliciesClient.BeginCreate method.
type BackupPoliciesClientBeginCreateOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// BackupPoliciesClientBeginDeleteOptions contains the optional parameters for the BackupPoliciesClient.BeginDelete method.
type BackupPoliciesClientBeginDeleteOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// BackupPoliciesClientBeginUpdateOptions contains the optional parameters for the BackupPoliciesClient.BeginUpdate method.
type BackupPoliciesClientBeginUpdateOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// BackupPoliciesClientGetOptions contains the optional parameters for the BackupPoliciesClient.Get method.
type BackupPoliciesClientGetOptions struct {
// placeholder for future optional parameters
}
// BackupPoliciesClientListOptions contains the optional parameters for the BackupPoliciesClient.List method.
type BackupPoliciesClientListOptions struct {
// placeholder for future optional parameters
}
// BackupPoliciesList - List of Backup Policies
type BackupPoliciesList struct {
// A list of backup policies
Value []*BackupPolicy `json:"value,omitempty"`
}
// BackupPolicy - Backup policy information
type BackupPolicy struct {
// REQUIRED; Resource location
Location *string `json:"location,omitempty"`
// REQUIRED; Backup policy Properties
Properties *BackupPolicyProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
Etag *string `json:"etag,omitempty" azure:"ro"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// BackupPolicyDetails - Backup policy properties
type BackupPolicyDetails struct {
// Resource location
Location *string `json:"location,omitempty"`
// Backup policy Properties
Properties *BackupPolicyProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// BackupPolicyPatch - Backup policy Details for create and update
type BackupPolicyPatch struct {
// Resource location
Location *string `json:"location,omitempty"`
// Backup policy Properties
Properties *BackupPolicyProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// BackupPolicyProperties - Backup policy properties
type BackupPolicyProperties struct {
// Daily backups count to keep
DailyBackupsToKeep *int32 `json:"dailyBackupsToKeep,omitempty"`
// The property to decide policy is enabled or not
Enabled *bool `json:"enabled,omitempty"`
// Monthly backups count to keep
MonthlyBackupsToKeep *int32 `json:"monthlyBackupsToKeep,omitempty"`
// Weekly backups count to keep
WeeklyBackupsToKeep *int32 `json:"weeklyBackupsToKeep,omitempty"`
// READ-ONLY; Backup Policy Resource ID
BackupPolicyID *string `json:"backupPolicyId,omitempty" azure:"ro"`
// READ-ONLY; Azure lifecycle management
ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
// READ-ONLY; A list of volumes assigned to this policy
VolumeBackups []*VolumeBackups `json:"volumeBackups,omitempty" azure:"ro"`
// READ-ONLY; Volumes using current backup policy
VolumesAssigned *int32 `json:"volumesAssigned,omitempty" azure:"ro"`
}
// BackupProperties - Backup properties
type BackupProperties struct {
// Label for backup
Label *string `json:"label,omitempty"`
// Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups
UseExistingSnapshot *bool `json:"useExistingSnapshot,omitempty"`
// READ-ONLY; UUID v4 used to identify the Backup
BackupID *string `json:"backupId,omitempty" azure:"ro"`
// READ-ONLY; Type of backup Manual or Scheduled
BackupType *BackupType `json:"backupType,omitempty" azure:"ro"`
// READ-ONLY; The creation date of the backup
CreationDate *time.Time `json:"creationDate,omitempty" azure:"ro"`
// READ-ONLY; Failure reason
FailureReason *string `json:"failureReason,omitempty" azure:"ro"`
// READ-ONLY; Azure lifecycle management
ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
// READ-ONLY; Size of backup
Size *int64 `json:"size,omitempty" azure:"ro"`
// READ-ONLY; Volume name
VolumeName *string `json:"volumeName,omitempty" azure:"ro"`
}
// BackupStatus - Backup status
type BackupStatus struct {
// READ-ONLY; Displays error message if the backup is in an error state
ErrorMessage *string `json:"errorMessage,omitempty" azure:"ro"`
// READ-ONLY; Backup health status
Healthy *bool `json:"healthy,omitempty" azure:"ro"`
// READ-ONLY; Displays the last transfer size
LastTransferSize *int64 `json:"lastTransferSize,omitempty" azure:"ro"`
// READ-ONLY; Displays the last transfer type
LastTransferType *string `json:"lastTransferType,omitempty" azure:"ro"`
// READ-ONLY; The status of the backup
MirrorState *MirrorState `json:"mirrorState,omitempty" azure:"ro"`
// READ-ONLY; Status of the backup mirror relationship
RelationshipStatus *RelationshipStatus `json:"relationshipStatus,omitempty" azure:"ro"`
// READ-ONLY; Displays the total bytes transferred
TotalTransferBytes *int64 `json:"totalTransferBytes,omitempty" azure:"ro"`
// READ-ONLY; Reason for the unhealthy backup relationship
UnhealthyReason *string `json:"unhealthyReason,omitempty" azure:"ro"`
}
// BackupsClientBeginCreateOptions contains the optional parameters for the BackupsClient.BeginCreate method.
type BackupsClientBeginCreateOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// BackupsClientBeginDeleteOptions contains the optional parameters for the BackupsClient.BeginDelete method.
type BackupsClientBeginDeleteOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// BackupsClientBeginUpdateOptions contains the optional parameters for the BackupsClient.BeginUpdate method.
type BackupsClientBeginUpdateOptions struct {
// Backup object supplied in the body of the operation.
Body *BackupPatch
// Resumes the LRO from the provided token.
ResumeToken string
}
// BackupsClientGetOptions contains the optional parameters for the BackupsClient.Get method.
type BackupsClientGetOptions struct {
// placeholder for future optional parameters
}
// BackupsClientGetStatusOptions contains the optional parameters for the BackupsClient.GetStatus method.
type BackupsClientGetStatusOptions struct {
// placeholder for future optional parameters
}
// BackupsClientGetVolumeRestoreStatusOptions contains the optional parameters for the BackupsClient.GetVolumeRestoreStatus
// method.
type BackupsClientGetVolumeRestoreStatusOptions struct {
// placeholder for future optional parameters
}
// BackupsClientListOptions contains the optional parameters for the BackupsClient.List method.
type BackupsClientListOptions struct {
// placeholder for future optional parameters
}
// BackupsList - List of Backups
type BackupsList struct {
// A list of Backups
Value []*Backup `json:"value,omitempty"`
}
// BreakReplicationRequest - Break replication request
type BreakReplicationRequest struct {
// If replication is in status transferring and you want to force break the replication, set to true
ForceBreakReplication *bool `json:"forceBreakReplication,omitempty"`
}
// CapacityPool - Capacity pool resource
type CapacityPool struct {
// REQUIRED; Resource location
Location *string `json:"location,omitempty"`
// REQUIRED; Capacity pool properties
Properties *PoolProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
Etag *string `json:"etag,omitempty" azure:"ro"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The system meta data relating to this resource.
SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// CapacityPoolList - List of capacity pool resources
type CapacityPoolList struct {
// URL to get the next set of results.
NextLink *string `json:"nextLink,omitempty"`
// List of Capacity pools
Value []*CapacityPool `json:"value,omitempty"`
}
// CapacityPoolPatch - Capacity pool patch resource
type CapacityPoolPatch struct {
// Resource location
Location *string `json:"location,omitempty"`
// Capacity pool properties
Properties *PoolPatchProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// CheckAvailabilityResponse - Information regarding availability of a resource.
type CheckAvailabilityResponse struct {
// true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.
IsAvailable *bool `json:"isAvailable,omitempty"`
// If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements
// so that the user can select a valid name. If reason == AlreadyExists,
// explain that resource name is already in use, and direct them to select a different name.
Message *string `json:"message,omitempty"`
// Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that
// the name is already in use and is therefore unavailable.
Reason *InAvailabilityReasonType `json:"reason,omitempty"`
}
// CloudError - An error response from the service.
type CloudError struct {
// Cloud error body.
Error *CloudErrorBody `json:"error,omitempty"`
}
// CloudErrorBody - An error response from the service.
type CloudErrorBody struct {
// An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Code *string `json:"code,omitempty"`
// A message describing the error, intended to be suitable for display in a user interface.
Message *string `json:"message,omitempty"`
}
// DailySchedule - Daily Schedule properties
type DailySchedule struct {
// Indicates which hour in UTC timezone a snapshot should be taken
Hour *int32 `json:"hour,omitempty"`
// Indicates which minute snapshot should be taken
Minute *int32 `json:"minute,omitempty"`
// Daily snapshot count to keep
SnapshotsToKeep *int32 `json:"snapshotsToKeep,omitempty"`
// Resource size in bytes, current storage usage for the volume in bytes
UsedBytes *int64 `json:"usedBytes,omitempty"`
}
// Dimension of blobs, possibly be blob type or access tier.
type Dimension struct {
// Display name of dimension.
DisplayName *string `json:"displayName,omitempty"`
// Display name of dimension.
Name *string `json:"name,omitempty"`
}
// ExportPolicyRule - Volume Export Policy Rule
type ExportPolicyRule struct {
// Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names
AllowedClients *string `json:"allowedClients,omitempty"`
// This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the
// ownership of the file. unrestricted - Non-root users can change ownership of
// files that they own.
ChownMode *ChownMode `json:"chownMode,omitempty"`
// Allows CIFS protocol
Cifs *bool `json:"cifs,omitempty"`
// Has root access to volume
HasRootAccess *bool `json:"hasRootAccess,omitempty"`
// Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later
Kerberos5IReadOnly *bool `json:"kerberos5iReadOnly,omitempty"`
// Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later
Kerberos5IReadWrite *bool `json:"kerberos5iReadWrite,omitempty"`
// Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later
Kerberos5PReadOnly *bool `json:"kerberos5pReadOnly,omitempty"`
// Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later
Kerberos5PReadWrite *bool `json:"kerberos5pReadWrite,omitempty"`
// Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later
Kerberos5ReadOnly *bool `json:"kerberos5ReadOnly,omitempty"`
// Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later
Kerberos5ReadWrite *bool `json:"kerberos5ReadWrite,omitempty"`
// Allows NFSv3 protocol. Enable only for NFSv3 type volumes
Nfsv3 *bool `json:"nfsv3,omitempty"`
// Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes
Nfsv41 *bool `json:"nfsv41,omitempty"`
// Order index
RuleIndex *int32 `json:"ruleIndex,omitempty"`
// Read only access
UnixReadOnly *bool `json:"unixReadOnly,omitempty"`
// Read and write access
UnixReadWrite *bool `json:"unixReadWrite,omitempty"`
}
// FilePathAvailabilityRequest - File path availability request content - availability is based on the name and the subnetId.
type FilePathAvailabilityRequest struct {
// REQUIRED; File path to verify.
Name *string `json:"name,omitempty"`
// REQUIRED; The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes
SubnetID *string `json:"subnetId,omitempty"`
}
// HourlySchedule - Hourly Schedule properties
type HourlySchedule struct {
// Indicates which minute snapshot should be taken
Minute *int32 `json:"minute,omitempty"`
// Hourly snapshot count to keep
SnapshotsToKeep *int32 `json:"snapshotsToKeep,omitempty"`
// Resource size in bytes, current storage usage for the volume in bytes
UsedBytes *int64 `json:"usedBytes,omitempty"`
}
// LdapSearchScopeOpt - LDAP search scope
type LdapSearchScopeOpt struct {
// This specifies the group DN, which overrides the base DN for group lookups.
GroupDN *string `json:"groupDN,omitempty"`
// This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.
GroupMembershipFilter *string `json:"groupMembershipFilter,omitempty"`
// This specifies the user DN, which overrides the base DN for user lookups.
UserDN *string `json:"userDN,omitempty"`
}
// LogSpecification - Log Definition of a single resource metric.
type LogSpecification struct {
// Display name of log specification.
DisplayName *string `json:"displayName,omitempty"`
// Name of log specification.
Name *string `json:"name,omitempty"`
}
// MetricSpecification - Metric specification of operation.
type MetricSpecification struct {
// Aggregation type could be Average.
AggregationType *string `json:"aggregationType,omitempty"`
// The category this metric specification belong to, could be Capacity.
Category *string `json:"category,omitempty"`
// Dimensions of blobs, including blob type and access tier.
Dimensions []*Dimension `json:"dimensions,omitempty"`
// Display description of metric specification.
DisplayDescription *string `json:"displayDescription,omitempty"`
// Display name of metric specification.
DisplayName *string `json:"displayName,omitempty"`
// Whether or not the service is using regional MDM accounts.
EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"`
// The property to decide fill gap with zero or not.
FillGapWithZero *bool `json:"fillGapWithZero,omitempty"`
// The internal metric name.
InternalMetricName *string `json:"internalMetricName,omitempty"`
// Whether the metric is internal.
IsInternal *bool `json:"isInternal,omitempty"`
// Name of metric specification.
Name *string `json:"name,omitempty"`
// Account Resource Id.
ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"`
// The source MDM account.
SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
// The source MDM namespace.
SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
// Support metric aggregation type.
SupportedAggregationTypes []*MetricAggregationType `json:"supportedAggregationTypes,omitempty"`
// The supported time grain types for the metrics.
SupportedTimeGrainTypes []*string `json:"supportedTimeGrainTypes,omitempty"`
// Unit could be Bytes or Count.
Unit *string `json:"unit,omitempty"`
}
// MonthlySchedule - Monthly Schedule properties
type MonthlySchedule struct {
// Indicates which days of the month snapshot should be taken. A comma delimited string.
DaysOfMonth *string `json:"daysOfMonth,omitempty"`
// Indicates which hour in UTC timezone a snapshot should be taken
Hour *int32 `json:"hour,omitempty"`
// Indicates which minute snapshot should be taken
Minute *int32 `json:"minute,omitempty"`
// Monthly snapshot count to keep
SnapshotsToKeep *int32 `json:"snapshotsToKeep,omitempty"`
// Resource size in bytes, current storage usage for the volume in bytes
UsedBytes *int64 `json:"usedBytes,omitempty"`
}
// MountTarget - Mount Target
type MountTarget struct {
// REQUIRED; Resource location
Location *string `json:"location,omitempty"`
// REQUIRED; Mount Target Properties
Properties *MountTargetProperties `json:"properties,omitempty"`
// Resource tags
Tags map[string]*string `json:"tags,omitempty"`
// READ-ONLY; Resource Id
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; Resource name
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; Resource type
Type *string `json:"type,omitempty" azure:"ro"`
}
// MountTargetProperties - Mount target properties
type MountTargetProperties struct {
// REQUIRED; UUID v4 used to identify the MountTarget
FileSystemID *string `json:"fileSystemId,omitempty"`
// The SMB server's Fully Qualified Domain Name, FQDN
SmbServerFqdn *string `json:"smbServerFqdn,omitempty"`
// READ-ONLY; The mount target's IPv4 address
IPAddress *string `json:"ipAddress,omitempty" azure:"ro"`
// READ-ONLY; UUID v4 used to identify the MountTarget
MountTargetID *string `json:"mountTargetId,omitempty" azure:"ro"`
}
// Operation - Microsoft.NetApp REST API operation definition.
type Operation struct {
// Display metadata associated with the operation.
Display *OperationDisplay `json:"display,omitempty"`
// Operation name: {provider}/{resource}/{operation}
Name *string `json:"name,omitempty"`
// The origin of operations.
Origin *string `json:"origin,omitempty"`
// Properties of operation, include metric specifications.
Properties *OperationProperties `json:"properties,omitempty"`
}
// OperationDisplay - Display metadata associated with the operation.
type OperationDisplay struct {
// Operation description.
Description *string `json:"description,omitempty"`
// Type of operation: get, read, delete, etc.
Operation *string `json:"operation,omitempty"`
// Service provider: Microsoft NetApp.
Provider *string `json:"provider,omitempty"`
// Resource on which the operation is performed etc.
Resource *string `json:"resource,omitempty"`
}
// OperationListResult - Result of the request to list Cloud Volume operations. It contains a list of operations and a URL
// link to get the next set of results.
type OperationListResult struct {
// List of Storage operations supported by the Storage resource provider.
Value []*Operation `json:"value,omitempty"`
}
// OperationProperties - Properties of operation, include metric specifications.
type OperationProperties struct {
// One property of operation, include metric specifications.
ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}
// OperationsClientListOptions contains the optional parameters for the OperationsClient.List method.
type OperationsClientListOptions struct {
// placeholder for future optional parameters
}
// PlacementKeyValuePairs - Application specific parameters for the placement of volumes in the volume group
type PlacementKeyValuePairs struct {
// REQUIRED; Key for an application specific parameter for the placement of volumes in the volume group
Key *string `json:"key,omitempty"`
// REQUIRED; Value for an application specific parameter for the placement of volumes in the volume group
Value *string `json:"value,omitempty"`
}
// PoolChangeRequest - Pool change request
type PoolChangeRequest struct {
// REQUIRED; Resource id of the pool to move volume to
NewPoolResourceID *string `json:"newPoolResourceId,omitempty"`
}
// PoolPatchProperties - Patchable pool properties
type PoolPatchProperties struct {
// The qos type of the pool
QosType *QosType `json:"qosType,omitempty"`
// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
Size *int64 `json:"size,omitempty"`
}
// PoolProperties - Pool properties
type PoolProperties struct {
// REQUIRED; The service level of the file system
ServiceLevel *ServiceLevel `json:"serviceLevel,omitempty"`
// REQUIRED; Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
Size *int64 `json:"size,omitempty"`
// If enabled (true) the pool can contain cool Access enabled volumes.
CoolAccess *bool `json:"coolAccess,omitempty"`
// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value
// can only be set when creating new pool.
EncryptionType *EncryptionType `json:"encryptionType,omitempty"`
// The qos type of the pool
QosType *QosType `json:"qosType,omitempty"`
// READ-ONLY; UUID v4 used to identify the Pool
PoolID *string `json:"poolId,omitempty" azure:"ro"`
// READ-ONLY; Azure lifecycle management
ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
// READ-ONLY; Total throughput of pool in Mibps
TotalThroughputMibps *float32 `json:"totalThroughputMibps,omitempty" azure:"ro"`
// READ-ONLY; Utilized throughput of pool in Mibps
UtilizedThroughputMibps *float32 `json:"utilizedThroughputMibps,omitempty" azure:"ro"`
}
// PoolsClientBeginCreateOrUpdateOptions contains the optional parameters for the PoolsClient.BeginCreateOrUpdate method.
type PoolsClientBeginCreateOrUpdateOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// PoolsClientBeginDeleteOptions contains the optional parameters for the PoolsClient.BeginDelete method.
type PoolsClientBeginDeleteOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// PoolsClientBeginUpdateOptions contains the optional parameters for the PoolsClient.BeginUpdate method.
type PoolsClientBeginUpdateOptions struct {
// Resumes the LRO from the provided token.
ResumeToken string
}
// PoolsClientGetOptions contains the optional parameters for the PoolsClient.Get method.
type PoolsClientGetOptions struct {
// placeholder for future optional parameters
}
// PoolsClientListOptions contains the optional parameters for the PoolsClient.List method.
type PoolsClientListOptions struct {
// placeholder for future optional parameters
}
// ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a
// location
type ProxyResource struct {
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string `json:"type,omitempty" azure:"ro"`
}
// QuotaAvailabilityRequest - Quota availability request content.
type QuotaAvailabilityRequest struct {
// REQUIRED; Name of the resource to verify.
Name *string `json:"name,omitempty"`
// REQUIRED; Resource group name.
ResourceGroup *string `json:"resourceGroup,omitempty"`
// REQUIRED; Resource type used for verification.
Type *CheckQuotaNameResourceTypes `json:"type,omitempty"`
}
// ReplicationObject - Replication properties
type ReplicationObject struct {
// REQUIRED; The resource ID of the remote volume.
RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty"`
// Indicates whether the local volume is the source or destination for the Volume Replication
EndpointType *EndpointType `json:"endpointType,omitempty"`
// The remote region for the other end of the Volume Replication.
RemoteVolumeRegion *string `json:"remoteVolumeRegion,omitempty"`
// Id
ReplicationID *string `json:"replicationId,omitempty"`
// Schedule
ReplicationSchedule *ReplicationSchedule `json:"replicationSchedule,omitempty"`
}
// ReplicationStatus - Replication status
type ReplicationStatus struct {
// Displays error message if the replication is in an error state
ErrorMessage *string `json:"errorMessage,omitempty"`
// Replication health check
Healthy *bool `json:"healthy,omitempty"`
// The status of the replication
MirrorState *MirrorState `json:"mirrorState,omitempty"`
// Status of the mirror relationship
RelationshipStatus *RelationshipStatus `json:"relationshipStatus,omitempty"`
// The progress of the replication
TotalProgress *string `json:"totalProgress,omitempty"`
}
// Resource - Common fields that are returned in the response for all Azure Resource Manager resources
type Resource struct {
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string `json:"id,omitempty" azure:"ro"`
// READ-ONLY; The name of the resource
Name *string `json:"name,omitempty" azure:"ro"`
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string `json:"type,omitempty" azure:"ro"`
}
// ResourceClientCheckFilePathAvailabilityOptions contains the optional parameters for the ResourceClient.CheckFilePathAvailability
// method.
type ResourceClientCheckFilePathAvailabilityOptions struct {
// placeholder for future optional parameters
}