/
models.go
1757 lines (1293 loc) · 53.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 armnetapp
import "time"
// Account - NetApp account resource
type Account struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// The identity used for the resource.
Identity *ManagedServiceIdentity
// NetApp Account properties
Properties *AccountProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
Etag *string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// AccountEncryption - Encryption settings
type AccountEncryption struct {
// Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.
Identity *EncryptionIdentity
// The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault
KeySource *KeySource
// Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'.
KeyVaultProperties *KeyVaultProperties
}
// AccountList - List of NetApp account resources
type AccountList struct {
// URL to get the next set of results.
NextLink *string
// Multiple NetApp accounts
Value []*Account
}
// AccountPatch - NetApp account patch resource
type AccountPatch struct {
// The identity used for the resource.
Identity *ManagedServiceIdentity
// Resource location
Location *string
// NetApp Account properties
Properties *AccountProperties
// Resource tags
Tags map[string]*string
// READ-ONLY; Resource Id
ID *string
// READ-ONLY; Resource name
Name *string
// READ-ONLY; Resource type
Type *string
}
// AccountProperties - NetApp account properties
type AccountProperties struct {
// Active Directories
ActiveDirectories []*ActiveDirectory
// Encryption settings
Encryption *AccountEncryption
// READ-ONLY; Shows the status of disableShowmount for all volumes under the subscription, null equals false
DisableShowmount *bool
// READ-ONLY; Azure lifecycle management
ProvisioningState *string
}
// ActiveDirectory - Active Directory
type ActiveDirectory struct {
// Id of the Active Directory
ActiveDirectoryID *string
// Name of the active directory machine. This optional parameter is used only while creating kerberos volume
AdName *string
// Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier
Administrators []*string
// If enabled, AES encryption will be enabled for SMB communication.
AesEncryption *bool
// If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.
AllowLocalNfsUsersWithLdap *bool
// Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier
BackupOperators []*string
// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain
DNS *string
// Name of the Active Directory domain
Domain *string
// If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.
EncryptDCConnections *bool
// kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos
// volume.
KdcIP *string
// Specifies whether or not the LDAP traffic needs to be secured via TLS.
LdapOverTLS *bool
// LDAP Search scope options
LdapSearchScope *LdapSearchScopeOpt
// Specifies whether or not the LDAP traffic needs to be signed.
LdapSigning *bool
// The Organizational Unit (OU) within the Windows Active Directory
OrganizationalUnit *string
// Plain text password of Active Directory domain administrator, value is masked in the response
Password *string
// Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses
// can be passed.
PreferredServersForLdapClient *string
// 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
// 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
// The Active Directory site the service will limit Domain Controller discovery to
Site *string
// 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
// A domain user account with permission to create machine accounts
Username *string
// READ-ONLY; Status of the Active Directory
Status *ActiveDirectoryStatus
// READ-ONLY; Any details in regards to the Status of the Active Directory
StatusDetails *string
}
// AuthorizeRequest - Authorize request
type AuthorizeRequest struct {
// Resource id of the remote volume
RemoteVolumeResourceID *string
}
// BackupPoliciesList - List of Backup Policies
type BackupPoliciesList struct {
// A list of backup policies
Value []*BackupPolicy
}
// BackupPolicy - Backup policy information
type BackupPolicy struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; Backup policy Properties
Properties *BackupPolicyProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
Etag *string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// BackupPolicyPatch - Backup policy Details for create and update
type BackupPolicyPatch struct {
// Resource location
Location *string
// Backup policy Properties
Properties *BackupPolicyProperties
// Resource tags
Tags map[string]*string
// READ-ONLY; Resource Id
ID *string
// READ-ONLY; Resource name
Name *string
// READ-ONLY; Resource type
Type *string
}
// BackupPolicyProperties - Backup policy properties
type BackupPolicyProperties struct {
// Daily backups count to keep
DailyBackupsToKeep *int32
// The property to decide policy is enabled or not
Enabled *bool
// Monthly backups count to keep
MonthlyBackupsToKeep *int32
// Weekly backups count to keep
WeeklyBackupsToKeep *int32
// READ-ONLY; Backup Policy Resource ID
BackupPolicyID *string
// READ-ONLY; Azure lifecycle management
ProvisioningState *string
// READ-ONLY; A list of volumes assigned to this policy
VolumeBackups []*VolumeBackups
// READ-ONLY; Volumes using current backup policy
VolumesAssigned *int32
}
// BreakFileLocksRequest - Break file locks request
type BreakFileLocksRequest struct {
// To clear file locks on a volume for a particular client
ClientIP *string
// Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process,
// set to true.
ConfirmRunningDisruptiveOperation *bool
}
// 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
}
// CapacityPool - Capacity pool resource
type CapacityPool struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; Capacity pool properties
Properties *PoolProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
Etag *string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// CapacityPoolList - List of capacity pool resources
type CapacityPoolList struct {
// URL to get the next set of results.
NextLink *string
// List of Capacity pools
Value []*CapacityPool
}
// CapacityPoolPatch - Capacity pool patch resource
type CapacityPoolPatch struct {
// Resource location
Location *string
// Capacity pool properties
Properties *PoolPatchProperties
// Resource tags
Tags map[string]*string
// READ-ONLY; Resource Id
ID *string
// READ-ONLY; Resource name
Name *string
// READ-ONLY; Resource type
Type *string
}
// 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
// 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
// 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
}
// DailySchedule - Daily Schedule properties
type DailySchedule struct {
// Indicates which hour in UTC timezone a snapshot should be taken
Hour *int32
// Indicates which minute snapshot should be taken
Minute *int32
// Daily snapshot count to keep
SnapshotsToKeep *int32
// Resource size in bytes, current storage usage for the volume in bytes
UsedBytes *int64
}
// Dimension of blobs, possibly be blob type or access tier.
type Dimension struct {
// Display name of dimension.
DisplayName *string
// Display name of dimension.
Name *string
}
// EncryptionIdentity - Identity used to authenticate with key vault.
type EncryptionIdentity struct {
// The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type
// has 'UserAssigned'. It should match key of identity.userAssignedIdentities.
UserAssignedIdentity *string
// READ-ONLY; The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.
PrincipalID *string
}
// 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
// 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
// Allows CIFS protocol
Cifs *bool
// Has root access to volume
HasRootAccess *bool
// Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later
Kerberos5IReadOnly *bool
// Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later
Kerberos5IReadWrite *bool
// Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later
Kerberos5PReadOnly *bool
// Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later
Kerberos5PReadWrite *bool
// Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later
Kerberos5ReadOnly *bool
// Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later
Kerberos5ReadWrite *bool
// Allows NFSv3 protocol. Enable only for NFSv3 type volumes
Nfsv3 *bool
// Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes
Nfsv41 *bool
// Order index
RuleIndex *int32
// Read only access
UnixReadOnly *bool
// Read and write access
UnixReadWrite *bool
}
// 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
// REQUIRED; The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes
SubnetID *string
}
// GetGroupIDListForLDAPUserRequest - Get group Id list for LDAP User request
type GetGroupIDListForLDAPUserRequest struct {
// REQUIRED; username is required to fetch the group to which user is part of
Username *string
}
// GetGroupIDListForLDAPUserResponse - Group Id list for Ldap user
type GetGroupIDListForLDAPUserResponse struct {
// Group Id list
GroupIDsForLdapUser []*string
}
// HourlySchedule - Hourly Schedule properties
type HourlySchedule struct {
// Indicates which minute snapshot should be taken
Minute *int32
// Hourly snapshot count to keep
SnapshotsToKeep *int32
// Resource size in bytes, current storage usage for the volume in bytes
UsedBytes *int64
}
// KeyVaultProperties - Properties of key vault.
type KeyVaultProperties struct {
// REQUIRED; The name of KeyVault key.
KeyName *string
// REQUIRED; The resource ID of KeyVault.
KeyVaultResourceID *string
// REQUIRED; The Uri of KeyVault.
KeyVaultURI *string
// READ-ONLY; UUID v4 used to identify the Azure Key Vault configuration
KeyVaultID *string
// READ-ONLY; Status of the KeyVault connection.
Status *KeyVaultStatus
}
// LdapSearchScopeOpt - LDAP search scope
type LdapSearchScopeOpt struct {
// This specifies the group DN, which overrides the base DN for group lookups.
GroupDN *string
// This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.
GroupMembershipFilter *string
// This specifies the user DN, which overrides the base DN for user lookups.
UserDN *string
}
// ListReplications - List Replications
type ListReplications struct {
// A list of replications
Value []*Replication
}
// LogSpecification - Log Definition of a single resource metric.
type LogSpecification struct {
// Display name of log specification.
DisplayName *string
// Name of log specification.
Name *string
}
// ManagedServiceIdentity - Managed service identity (system assigned and/or user assigned identities)
type ManagedServiceIdentity struct {
// REQUIRED; Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
Type *ManagedServiceIdentityType
// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM
// resource ids in the form:
// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
// The dictionary values can be empty objects ({}) in
// requests.
UserAssignedIdentities map[string]*UserAssignedIdentity
// READ-ONLY; The service principal ID of the system assigned identity. This property will only be provided for a system assigned
// identity.
PrincipalID *string
// READ-ONLY; The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantID *string
}
// MetricSpecification - Metric specification of operation.
type MetricSpecification struct {
// Aggregation type could be Average.
AggregationType *string
// The category this metric specification belong to, could be Capacity.
Category *string
// Dimensions of blobs, including blob type and access tier.
Dimensions []*Dimension
// Display description of metric specification.
DisplayDescription *string
// Display name of metric specification.
DisplayName *string
// Whether or not the service is using regional MDM accounts.
EnableRegionalMdmAccount *bool
// The property to decide fill gap with zero or not.
FillGapWithZero *bool
// The internal metric name.
InternalMetricName *string
// Whether the metric is internal.
IsInternal *bool
// Name of metric specification.
Name *string
// Account Resource Id.
ResourceIDDimensionNameOverride *string
// The source MDM account.
SourceMdmAccount *string
// The source MDM namespace.
SourceMdmNamespace *string
// Support metric aggregation type.
SupportedAggregationTypes []*MetricAggregationType
// The supported time grain types for the metrics.
SupportedTimeGrainTypes []*string
// Unit could be Bytes or Count.
Unit *string
}
// MonthlySchedule - Monthly Schedule properties
type MonthlySchedule struct {
// Indicates which days of the month snapshot should be taken. A comma delimited string.
DaysOfMonth *string
// Indicates which hour in UTC timezone a snapshot should be taken
Hour *int32
// Indicates which minute snapshot should be taken
Minute *int32
// Monthly snapshot count to keep
SnapshotsToKeep *int32
// Resource size in bytes, current storage usage for the volume in bytes
UsedBytes *int64
}
// MountTargetProperties - Mount target properties
type MountTargetProperties struct {
// REQUIRED; UUID v4 used to identify the MountTarget
FileSystemID *string
// The SMB server's Fully Qualified Domain Name, FQDN
SmbServerFqdn *string
// READ-ONLY; The mount target's IPv4 address
IPAddress *string
// READ-ONLY; UUID v4 used to identify the MountTarget
MountTargetID *string
}
// NetworkSiblingSet - Describes the contents of a network sibling set.
type NetworkSiblingSet struct {
// Network features available to the volume, or current state of update.
NetworkFeatures *NetworkFeatures
// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.
NetworkSiblingSetID *string
// Network sibling set state Id identifying the current state of the sibling set.
NetworkSiblingSetStateID *string
// List of NIC information
NicInfoList []*NicInfo
// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example
// /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}
SubnetID *string
// READ-ONLY; Gets the status of the NetworkSiblingSet at the time the operation was called.
ProvisioningState *NetworkSiblingSetProvisioningState
}
// NicInfo - NIC information and list of volumes for which the NIC has the primary mount ip address.
type NicInfo struct {
// Volume resource Ids
VolumeResourceIDs []*string
// READ-ONLY; ipAddress
IPAddress *string
}
// Operation - Microsoft.NetApp REST API operation definition.
type Operation struct {
// Display metadata associated with the operation.
Display *OperationDisplay
// Operation name: {provider}/{resource}/{operation}
Name *string
// The origin of operations.
Origin *string
// Properties of operation, include metric specifications.
Properties *OperationProperties
}
// OperationDisplay - Display metadata associated with the operation.
type OperationDisplay struct {
// Operation description.
Description *string
// Type of operation: get, read, delete, etc.
Operation *string
// Service provider: Microsoft NetApp.
Provider *string
// Resource on which the operation is performed etc.
Resource *string
}
// 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
}
// OperationProperties - Properties of operation, include metric specifications.
type OperationProperties struct {
// One property of operation, include metric specifications.
ServiceSpecification *ServiceSpecification
}
// 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
// REQUIRED; Value for an application specific parameter for the placement of volumes in the volume group
Value *string
}
// PoolChangeRequest - Pool change request
type PoolChangeRequest struct {
// REQUIRED; Resource id of the pool to move volume to
NewPoolResourceID *string
}
// PoolPatchProperties - Patchable pool properties
type PoolPatchProperties struct {
// If enabled (true) the pool can contain cool Access enabled volumes.
CoolAccess *bool
// The qos type of the pool
QosType *QosType
// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
Size *int64
}
// PoolProperties - Pool properties
type PoolProperties struct {
// REQUIRED; The service level of the file system
ServiceLevel *ServiceLevel
// REQUIRED; Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
Size *int64
// If enabled (true) the pool can contain cool Access enabled volumes.
CoolAccess *bool
// 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
// The qos type of the pool
QosType *QosType
// READ-ONLY; UUID v4 used to identify the Pool
PoolID *string
// READ-ONLY; Azure lifecycle management
ProvisioningState *string
// READ-ONLY; Total throughput of pool in MiB/s
TotalThroughputMibps *float32
// READ-ONLY; Utilized throughput of pool in MiB/s
UtilizedThroughputMibps *float32
}
// QueryNetworkSiblingSetRequest - Network sibling set query.
type QueryNetworkSiblingSetRequest struct {
// REQUIRED; Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.
NetworkSiblingSetID *string
// REQUIRED; The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example
// /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}
SubnetID *string
}
// QuotaAvailabilityRequest - Quota availability request content.
type QuotaAvailabilityRequest struct {
// REQUIRED; Name of the resource to verify.
Name *string
// REQUIRED; Resource group name.
ResourceGroup *string
// REQUIRED; Resource type used for verification.
Type *CheckQuotaNameResourceTypes
}
// ReestablishReplicationRequest - Re-establish request object supplied in the body of the operation.
type ReestablishReplicationRequest struct {
// Resource id of the source volume for the replication
SourceVolumeID *string
}
// RegionInfo - Provides region specific information.
type RegionInfo struct {
// Provides logical availability zone mappings for the subscription for a region.
AvailabilityZoneMappings []*RegionInfoAvailabilityZoneMappingsItem
// Provides storage to network proximity information in the region.
StorageToNetworkProximity *RegionStorageToNetworkProximity
}
type RegionInfoAvailabilityZoneMappingsItem struct {
// Logical availability zone.
AvailabilityZone *string
// Available availability zone
IsAvailable *bool
}
// RelocateVolumeRequest - Relocate volume request
type RelocateVolumeRequest struct {
// New creation token for the volume that controls the mount point name
CreationToken *string
}
// Replication properties
type Replication struct {
// REQUIRED; The resource ID of the remote volume.
RemoteVolumeResourceID *string
// Indicates whether the local volume is the source or destination for the Volume Replication
EndpointType *EndpointType
// The remote region for the other end of the Volume Replication.
RemoteVolumeRegion *string
// Schedule
ReplicationSchedule *ReplicationSchedule
}
// ReplicationObject - Replication properties
type ReplicationObject struct {
// REQUIRED; The resource ID of the remote volume.
RemoteVolumeResourceID *string
// Indicates whether the local volume is the source or destination for the Volume Replication
EndpointType *EndpointType
// The remote region for the other end of the Volume Replication.
RemoteVolumeRegion *string
// Schedule
ReplicationSchedule *ReplicationSchedule
// READ-ONLY; Id
ReplicationID *string
}
// ReplicationStatus - Replication status
type ReplicationStatus struct {
// Displays error message if the replication is in an error state
ErrorMessage *string
// Replication health check
Healthy *bool
// The status of the replication
MirrorState *MirrorState
// Status of the mirror relationship
RelationshipStatus *RelationshipStatus
// The progress of the replication
TotalProgress *string
}
// ResourceNameAvailabilityRequest - Resource name availability request content.
type ResourceNameAvailabilityRequest struct {
// REQUIRED; Resource name to verify.
Name *string
// REQUIRED; Resource group name.
ResourceGroup *string
// REQUIRED; Resource type used for verification.
Type *CheckNameResourceTypes
}
// RestoreStatus - Restore status
type RestoreStatus struct {
// READ-ONLY; Displays error message if the restore is in an error state
ErrorMessage *string
// READ-ONLY; Restore health status
Healthy *bool
// READ-ONLY; The status of the restore
MirrorState *MirrorState
// READ-ONLY; Status of the restore SnapMirror relationship
RelationshipStatus *RelationshipStatus
// READ-ONLY; Displays the total bytes transferred
TotalTransferBytes *int64
// READ-ONLY; Reason for the unhealthy restore relationship
UnhealthyReason *string
}
// ServiceSpecification - One property of operation, include metric specifications.
type ServiceSpecification struct {
// Log specification of operation.
LogSpecifications []*LogSpecification
// Metric specifications of operation.
MetricSpecifications []*MetricSpecification
}
// Snapshot of a Volume
type Snapshot struct {
// REQUIRED; Resource location
Location *string
// Snapshot Properties
Properties *SnapshotProperties
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// SnapshotPoliciesList - List of Snapshot Policies
type SnapshotPoliciesList struct {
// A list of snapshot policies
Value []*SnapshotPolicy
}
// SnapshotPolicy - Snapshot policy information
type SnapshotPolicy struct {
// REQUIRED; The geo-location where the resource lives
Location *string
// REQUIRED; Snapshot policy Properties
Properties *SnapshotPolicyProperties
// Resource tags.
Tags map[string]*string
// READ-ONLY; A unique read-only string that changes whenever the resource is updated.
Etag *string
// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
ID *string
// READ-ONLY; The name of the resource
Name *string
// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData
// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string
}
// SnapshotPolicyPatch - Snapshot policy Details for create and update
type SnapshotPolicyPatch struct {
// Resource location
Location *string
// Snapshot Policy properties
Properties *SnapshotPolicyProperties
// Resource tags
Tags map[string]*string
// READ-ONLY; Resource Id
ID *string
// READ-ONLY; Resource name
Name *string
// READ-ONLY; Resource type
Type *string
}
// SnapshotPolicyProperties - Snapshot policy properties
type SnapshotPolicyProperties struct {
// Schedule for daily snapshots
DailySchedule *DailySchedule
// The property to decide policy is enabled or not
Enabled *bool
// Schedule for hourly snapshots
HourlySchedule *HourlySchedule
// Schedule for monthly snapshots
MonthlySchedule *MonthlySchedule
// Schedule for weekly snapshots
WeeklySchedule *WeeklySchedule
// READ-ONLY; Azure lifecycle management
ProvisioningState *string
}
// SnapshotPolicyVolumeList - Volumes associated with snapshot policy
type SnapshotPolicyVolumeList struct {
// List of volumes
Value []*Volume
}
// SnapshotProperties - Snapshot properties
type SnapshotProperties struct {