azure_mgmt_netapp 0.18.2 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  3. data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  4. data/lib/2019-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  5. data/lib/2019-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  6. data/lib/2019-08-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  7. data/lib/2019-10-01/generated/azure_mgmt_netapp.rb +71 -0
  8. data/lib/2019-10-01/generated/azure_mgmt_netapp/accounts.rb +651 -0
  9. data/lib/2019-10-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +157 -0
  10. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/active_directory.rb +127 -0
  11. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  12. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
  13. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  14. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
  15. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  16. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  17. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  18. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
  19. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  20. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  21. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  22. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/mount_target.rb +230 -0
  23. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
  24. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  25. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  26. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  27. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  28. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  29. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  30. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  31. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  32. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
  33. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  34. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
  35. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  36. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  37. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  38. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/snapshot.rb +158 -0
  39. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/snapshot_patch.rb +54 -0
  40. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  41. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume.rb +300 -0
  42. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  43. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
  44. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  45. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +50 -0
  46. data/lib/2019-10-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  47. data/lib/2019-10-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  48. data/lib/2019-10-01/generated/azure_mgmt_netapp/mount_targets.rb +136 -0
  49. data/lib/2019-10-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
  50. data/lib/2019-10-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  51. data/lib/2019-10-01/generated/azure_mgmt_netapp/pools.rb +675 -0
  52. data/lib/2019-10-01/generated/azure_mgmt_netapp/snapshots.rb +708 -0
  53. data/lib/2019-10-01/generated/azure_mgmt_netapp/volumes.rb +1228 -0
  54. data/lib/2019-11-01/generated/azure_mgmt_netapp.rb +70 -0
  55. data/lib/2019-11-01/generated/azure_mgmt_netapp/accounts.rb +651 -0
  56. data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +153 -0
  57. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/active_directory.rb +139 -0
  58. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  59. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
  60. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  61. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
  62. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  63. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  64. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  65. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
  66. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  67. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  68. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  69. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/mount_target.rb +218 -0
  70. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +152 -0
  71. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  72. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  73. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  74. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  75. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  76. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  77. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  78. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  79. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
  80. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  81. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
  82. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  83. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  84. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  85. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/snapshot.rb +139 -0
  86. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  87. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume.rb +315 -0
  88. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  89. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
  90. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  91. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +50 -0
  92. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  93. data/lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  94. data/lib/2019-11-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  95. data/lib/2019-11-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
  96. data/lib/2019-11-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  97. data/lib/2019-11-01/generated/azure_mgmt_netapp/pools.rb +737 -0
  98. data/lib/2019-11-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  99. data/lib/2019-11-01/generated/azure_mgmt_netapp/volumes.rb +1688 -0
  100. data/lib/2020-02-01/generated/azure_mgmt_netapp.rb +71 -0
  101. data/lib/2020-02-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
  102. data/lib/2020-02-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +153 -0
  103. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/active_directory.rb +160 -0
  104. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  105. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +161 -0
  106. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  107. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +133 -0
  108. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  109. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  110. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  111. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +115 -0
  112. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  113. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  114. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  115. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mount_target.rb +218 -0
  116. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +152 -0
  117. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  118. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  119. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  120. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  121. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  122. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  123. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  124. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  125. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
  126. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  127. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
  128. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  129. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  130. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  131. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  132. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  133. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume.rb +328 -0
  134. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  135. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch.rb +147 -0
  136. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  137. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +62 -0
  138. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  139. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  140. data/lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  141. data/lib/2020-02-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  142. data/lib/2020-02-01/generated/azure_mgmt_netapp/net_app_resource.rb +291 -0
  143. data/lib/2020-02-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  144. data/lib/2020-02-01/generated/azure_mgmt_netapp/pools.rb +737 -0
  145. data/lib/2020-02-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  146. data/lib/2020-02-01/generated/azure_mgmt_netapp/volumes.rb +1688 -0
  147. data/lib/azure_mgmt_netapp.rb +3 -0
  148. data/lib/profiles/latest/modules/netapp_profile_module.rb +120 -94
  149. data/lib/version.rb +1 -1
  150. metadata +144 -4
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # List of Snapshots
10
+ #
11
+ class SnapshotsList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Snapshot>] A list of Snapshots
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for SnapshotsList class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'snapshotsList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'SnapshotsList',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'SnapshotElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Snapshot'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,315 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # Volume resource
10
+ #
11
+ class Volume
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource location
16
+ attr_accessor :location
17
+
18
+ # @return [String] Resource Id
19
+ attr_accessor :id
20
+
21
+ # @return [String] Resource name
22
+ attr_accessor :name
23
+
24
+ # @return [String] Resource type
25
+ attr_accessor :type
26
+
27
+ # @return [Hash{String => String}] Resource tags
28
+ attr_accessor :tags
29
+
30
+ # @return [String] FileSystem ID. Unique FileSystem Identifier.
31
+ attr_accessor :file_system_id
32
+
33
+ # @return [String] Creation Token or File Path. A unique file path for
34
+ # the volume. Used when creating mount targets
35
+ attr_accessor :creation_token
36
+
37
+ # @return [ServiceLevel] serviceLevel. The service level of the file
38
+ # system. Possible values include: 'Standard', 'Premium', 'Ultra'.
39
+ # Default value: 'Premium' .
40
+ attr_accessor :service_level
41
+
42
+ # @return [Integer] usageThreshold. Maximum storage quota allowed for a
43
+ # file system in bytes. This is a soft quota used for alerting only.
44
+ # Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
45
+ # Default value: 107374182400 .
46
+ attr_accessor :usage_threshold
47
+
48
+ # @return [VolumePropertiesExportPolicy] exportPolicy. Set of export
49
+ # policy rules
50
+ attr_accessor :export_policy
51
+
52
+ # @return [Array<String>] protocolTypes. Set of protocol types
53
+ attr_accessor :protocol_types
54
+
55
+ # @return [String] Azure lifecycle management
56
+ attr_accessor :provisioning_state
57
+
58
+ # @return [String] Snapshot ID. UUID v4 or resource identifier used to
59
+ # identify the Snapshot.
60
+ attr_accessor :snapshot_id
61
+
62
+ # @return [String] Baremetal Tenant ID. Unique Baremetal Tenant
63
+ # Identifier.
64
+ attr_accessor :baremetal_tenant_id
65
+
66
+ # @return [String] The Azure Resource URI for a delegated subnet. Must
67
+ # have the delegation Microsoft.NetApp/volumes
68
+ attr_accessor :subnet_id
69
+
70
+ # @return [Array<MountTargetProperties>] mountTargets. List of mount
71
+ # targets
72
+ attr_accessor :mount_targets
73
+
74
+ # @return [String] What type of volume is this
75
+ attr_accessor :volume_type
76
+
77
+ # @return [VolumePropertiesDataProtection] DataProtection. DataProtection
78
+ # type volumes include an object containing details of the replication
79
+ attr_accessor :data_protection
80
+
81
+ # @return [Boolean] Restoring
82
+ attr_accessor :is_restoring
83
+
84
+
85
+ #
86
+ # Mapper for Volume class as Ruby Hash.
87
+ # This will be used for serialization/deserialization.
88
+ #
89
+ def self.mapper()
90
+ {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'volume',
94
+ type: {
95
+ name: 'Composite',
96
+ class_name: 'Volume',
97
+ model_properties: {
98
+ location: {
99
+ client_side_validation: true,
100
+ required: true,
101
+ serialized_name: 'location',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ id: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ read_only: true,
110
+ serialized_name: 'id',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ name: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ read_only: true,
119
+ serialized_name: 'name',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ },
124
+ type: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'type',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ tags: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ serialized_name: 'tags',
137
+ type: {
138
+ name: 'Dictionary',
139
+ value: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ serialized_name: 'StringElementType',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ }
147
+ }
148
+ },
149
+ file_system_id: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ read_only: true,
153
+ serialized_name: 'properties.fileSystemId',
154
+ constraints: {
155
+ MaxLength: 36,
156
+ MinLength: 36,
157
+ Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'
158
+ },
159
+ type: {
160
+ name: 'String'
161
+ }
162
+ },
163
+ creation_token: {
164
+ client_side_validation: true,
165
+ required: true,
166
+ serialized_name: 'properties.creationToken',
167
+ constraints: {
168
+ MaxLength: 80,
169
+ MinLength: 1,
170
+ Pattern: '^[a-zA-Z][a-zA-Z0-9\-]{0,79}$'
171
+ },
172
+ type: {
173
+ name: 'String'
174
+ }
175
+ },
176
+ service_level: {
177
+ client_side_validation: true,
178
+ required: false,
179
+ serialized_name: 'properties.serviceLevel',
180
+ default_value: 'Premium',
181
+ type: {
182
+ name: 'String'
183
+ }
184
+ },
185
+ usage_threshold: {
186
+ client_side_validation: true,
187
+ required: true,
188
+ serialized_name: 'properties.usageThreshold',
189
+ default_value: 107374182400,
190
+ constraints: {
191
+ InclusiveMaximum: 109951162777600,
192
+ InclusiveMinimum: 107374182400
193
+ },
194
+ type: {
195
+ name: 'Number'
196
+ }
197
+ },
198
+ export_policy: {
199
+ client_side_validation: true,
200
+ required: false,
201
+ serialized_name: 'properties.exportPolicy',
202
+ type: {
203
+ name: 'Composite',
204
+ class_name: 'VolumePropertiesExportPolicy'
205
+ }
206
+ },
207
+ protocol_types: {
208
+ client_side_validation: true,
209
+ required: false,
210
+ serialized_name: 'properties.protocolTypes',
211
+ type: {
212
+ name: 'Sequence',
213
+ element: {
214
+ client_side_validation: true,
215
+ required: false,
216
+ serialized_name: 'StringElementType',
217
+ type: {
218
+ name: 'String'
219
+ }
220
+ }
221
+ }
222
+ },
223
+ provisioning_state: {
224
+ client_side_validation: true,
225
+ required: false,
226
+ read_only: true,
227
+ serialized_name: 'properties.provisioningState',
228
+ type: {
229
+ name: 'String'
230
+ }
231
+ },
232
+ snapshot_id: {
233
+ client_side_validation: true,
234
+ required: false,
235
+ serialized_name: 'properties.snapshotId',
236
+ constraints: {
237
+ MaxLength: 36,
238
+ MinLength: 36,
239
+ Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$'
240
+ },
241
+ type: {
242
+ name: 'String'
243
+ }
244
+ },
245
+ baremetal_tenant_id: {
246
+ client_side_validation: true,
247
+ required: false,
248
+ read_only: true,
249
+ serialized_name: 'properties.baremetalTenantId',
250
+ constraints: {
251
+ MaxLength: 36,
252
+ MinLength: 36,
253
+ Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'
254
+ },
255
+ type: {
256
+ name: 'String'
257
+ }
258
+ },
259
+ subnet_id: {
260
+ client_side_validation: true,
261
+ required: true,
262
+ serialized_name: 'properties.subnetId',
263
+ type: {
264
+ name: 'String'
265
+ }
266
+ },
267
+ mount_targets: {
268
+ client_side_validation: true,
269
+ required: false,
270
+ serialized_name: 'properties.mountTargets',
271
+ type: {
272
+ name: 'Sequence',
273
+ element: {
274
+ client_side_validation: true,
275
+ required: false,
276
+ serialized_name: 'MountTargetPropertiesElementType',
277
+ type: {
278
+ name: 'Composite',
279
+ class_name: 'MountTargetProperties'
280
+ }
281
+ }
282
+ }
283
+ },
284
+ volume_type: {
285
+ client_side_validation: true,
286
+ required: false,
287
+ serialized_name: 'properties.volumeType',
288
+ type: {
289
+ name: 'String'
290
+ }
291
+ },
292
+ data_protection: {
293
+ client_side_validation: true,
294
+ required: false,
295
+ serialized_name: 'properties.dataProtection',
296
+ type: {
297
+ name: 'Composite',
298
+ class_name: 'VolumePropertiesDataProtection'
299
+ }
300
+ },
301
+ is_restoring: {
302
+ client_side_validation: true,
303
+ required: false,
304
+ serialized_name: 'properties.isRestoring',
305
+ type: {
306
+ name: 'Boolean'
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ end
313
+ end
314
+ end
315
+ end
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # List of volume resources
10
+ #
11
+ class VolumeList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Volume>] List of volumes
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for VolumeList class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'volumeList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'VolumeList',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'VolumeElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Volume'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,147 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::NetApp::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # Volume patch resource
10
+ #
11
+ class VolumePatch
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource location
16
+ attr_accessor :location
17
+
18
+ # @return [String] Resource Id
19
+ attr_accessor :id
20
+
21
+ # @return [String] Resource name
22
+ attr_accessor :name
23
+
24
+ # @return [String] Resource type
25
+ attr_accessor :type
26
+
27
+ # @return [Hash{String => String}] Resource tags
28
+ attr_accessor :tags
29
+
30
+ # @return [ServiceLevel] serviceLevel. The service level of the file
31
+ # system. Possible values include: 'Standard', 'Premium', 'Ultra'.
32
+ # Default value: 'Premium' .
33
+ attr_accessor :service_level
34
+
35
+ # @return [Integer] usageThreshold. Maximum storage quota allowed for a
36
+ # file system in bytes. This is a soft quota used for alerting only.
37
+ # Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
38
+ # Default value: 107374182400 .
39
+ attr_accessor :usage_threshold
40
+
41
+ # @return [VolumePatchPropertiesExportPolicy] exportPolicy. Set of export
42
+ # policy rules
43
+ attr_accessor :export_policy
44
+
45
+
46
+ #
47
+ # Mapper for VolumePatch class as Ruby Hash.
48
+ # This will be used for serialization/deserialization.
49
+ #
50
+ def self.mapper()
51
+ {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'volumePatch',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'VolumePatch',
58
+ model_properties: {
59
+ location: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'location',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ id: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'id',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ name: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'name',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ type: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'type',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ tags: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'tags',
98
+ type: {
99
+ name: 'Dictionary',
100
+ value: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ serialized_name: 'StringElementType',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ }
108
+ }
109
+ },
110
+ service_level: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ serialized_name: 'properties.serviceLevel',
114
+ default_value: 'Premium',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ usage_threshold: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'properties.usageThreshold',
123
+ default_value: 107374182400,
124
+ constraints: {
125
+ InclusiveMaximum: 109951162777600,
126
+ InclusiveMinimum: 107374182400
127
+ },
128
+ type: {
129
+ name: 'Number'
130
+ }
131
+ },
132
+ export_policy: {
133
+ client_side_validation: true,
134
+ required: false,
135
+ serialized_name: 'properties.exportPolicy',
136
+ type: {
137
+ name: 'Composite',
138
+ class_name: 'VolumePatchPropertiesExportPolicy'
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ end
145
+ end
146
+ end
147
+ end