azure_mgmt_netapp 0.17.3 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb +10 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/mount_targets.rb +2 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/operations.rb +2 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/pools.rb +10 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/snapshots.rb +10 -0
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb +10 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/accounts.rb +10 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +29 -25
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +2 -2
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +4 -4
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +4 -4
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume.rb +35 -5
- data/lib/2019-05-01/generated/azure_mgmt_netapp/models/volume_patch.rb +2 -2
- data/lib/2019-05-01/generated/azure_mgmt_netapp/mount_targets.rb +2 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/operations.rb +2 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/pools.rb +10 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/snapshots.rb +10 -0
- data/lib/2019-05-01/generated/azure_mgmt_netapp/volumes.rb +10 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/accounts.rb +651 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +419 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/active_directory.rb +127 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +153 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +125 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +113 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/mount_target.rb +210 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/net_app_account.rb +125 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +125 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/resource_name_availability.rb +78 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/snapshot.rb +150 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/snapshot_patch.rb +46 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume.rb +257 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_patch.rb +139 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/mount_targets.rb +136 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/pools.rb +675 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/snapshots.rb +708 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp/volumes.rb +694 -0
- data/lib/2019-06-01/generated/azure_mgmt_netapp.rb +62 -0
- data/lib/azure_mgmt_netapp.rb +1 -0
- data/lib/profiles/latest/modules/netapp_profile_module.rb +65 -65
- data/lib/version.rb +1 -1
- metadata +43 -5
@@ -0,0 +1,257 @@
|
|
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_06_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 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 mountTargets. List of mount targets
|
71
|
+
attr_accessor :mount_targets
|
72
|
+
|
73
|
+
|
74
|
+
#
|
75
|
+
# Mapper for Volume class as Ruby Hash.
|
76
|
+
# This will be used for serialization/deserialization.
|
77
|
+
#
|
78
|
+
def self.mapper()
|
79
|
+
{
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'volume',
|
83
|
+
type: {
|
84
|
+
name: 'Composite',
|
85
|
+
class_name: 'Volume',
|
86
|
+
model_properties: {
|
87
|
+
location: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: true,
|
90
|
+
serialized_name: 'location',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
id: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
read_only: true,
|
99
|
+
serialized_name: 'id',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
name: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
read_only: true,
|
108
|
+
serialized_name: 'name',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
type: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
read_only: true,
|
117
|
+
serialized_name: 'type',
|
118
|
+
type: {
|
119
|
+
name: 'String'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
tags: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'tags',
|
126
|
+
type: {
|
127
|
+
name: 'Object'
|
128
|
+
}
|
129
|
+
},
|
130
|
+
file_system_id: {
|
131
|
+
client_side_validation: true,
|
132
|
+
required: false,
|
133
|
+
read_only: true,
|
134
|
+
serialized_name: 'properties.fileSystemId',
|
135
|
+
constraints: {
|
136
|
+
MaxLength: 36,
|
137
|
+
MinLength: 36,
|
138
|
+
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}$'
|
139
|
+
},
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
creation_token: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: true,
|
147
|
+
serialized_name: 'properties.creationToken',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
service_level: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'properties.serviceLevel',
|
156
|
+
default_value: 'Premium',
|
157
|
+
type: {
|
158
|
+
name: 'String'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
usage_threshold: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: true,
|
164
|
+
serialized_name: 'properties.usageThreshold',
|
165
|
+
default_value: 107374182400,
|
166
|
+
constraints: {
|
167
|
+
InclusiveMaximum: 109951162777600,
|
168
|
+
InclusiveMinimum: 107374182400
|
169
|
+
},
|
170
|
+
type: {
|
171
|
+
name: 'Number'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
export_policy: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
serialized_name: 'properties.exportPolicy',
|
178
|
+
type: {
|
179
|
+
name: 'Composite',
|
180
|
+
class_name: 'VolumePropertiesExportPolicy'
|
181
|
+
}
|
182
|
+
},
|
183
|
+
protocol_types: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
serialized_name: 'properties.protocolTypes',
|
187
|
+
type: {
|
188
|
+
name: 'Sequence',
|
189
|
+
element: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
serialized_name: 'StringElementType',
|
193
|
+
type: {
|
194
|
+
name: 'String'
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
},
|
199
|
+
provisioning_state: {
|
200
|
+
client_side_validation: true,
|
201
|
+
required: false,
|
202
|
+
read_only: true,
|
203
|
+
serialized_name: 'properties.provisioningState',
|
204
|
+
type: {
|
205
|
+
name: 'String'
|
206
|
+
}
|
207
|
+
},
|
208
|
+
snapshot_id: {
|
209
|
+
client_side_validation: true,
|
210
|
+
required: false,
|
211
|
+
serialized_name: 'properties.snapshotId',
|
212
|
+
constraints: {
|
213
|
+
MaxLength: 36,
|
214
|
+
MinLength: 36,
|
215
|
+
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}|(\\?([^\/]*[\/])*)([^\/]+)$'
|
216
|
+
},
|
217
|
+
type: {
|
218
|
+
name: 'String'
|
219
|
+
}
|
220
|
+
},
|
221
|
+
baremetal_tenant_id: {
|
222
|
+
client_side_validation: true,
|
223
|
+
required: false,
|
224
|
+
read_only: true,
|
225
|
+
serialized_name: 'properties.baremetalTenantId',
|
226
|
+
constraints: {
|
227
|
+
MaxLength: 36,
|
228
|
+
MinLength: 36,
|
229
|
+
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}$'
|
230
|
+
},
|
231
|
+
type: {
|
232
|
+
name: 'String'
|
233
|
+
}
|
234
|
+
},
|
235
|
+
subnet_id: {
|
236
|
+
client_side_validation: true,
|
237
|
+
required: true,
|
238
|
+
serialized_name: 'properties.subnetId',
|
239
|
+
type: {
|
240
|
+
name: 'String'
|
241
|
+
}
|
242
|
+
},
|
243
|
+
mount_targets: {
|
244
|
+
client_side_validation: true,
|
245
|
+
required: false,
|
246
|
+
serialized_name: 'properties.mountTargets',
|
247
|
+
type: {
|
248
|
+
name: 'Object'
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
}
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
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_06_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,139 @@
|
|
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_06_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 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: 'Object'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
service_level: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'properties.serviceLevel',
|
106
|
+
default_value: 'Premium',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
usage_threshold: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'properties.usageThreshold',
|
115
|
+
default_value: 107374182400,
|
116
|
+
constraints: {
|
117
|
+
InclusiveMaximum: 109951162777600,
|
118
|
+
InclusiveMinimum: 107374182400
|
119
|
+
},
|
120
|
+
type: {
|
121
|
+
name: 'Number'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
export_policy: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: false,
|
127
|
+
serialized_name: 'properties.exportPolicy',
|
128
|
+
type: {
|
129
|
+
name: 'Composite',
|
130
|
+
class_name: 'VolumePatchPropertiesExportPolicy'
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
data/lib/2019-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb
ADDED
@@ -0,0 +1,58 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# exportPolicy
|
10
|
+
|
11
|
+
# Set of export policy rules
|
12
|
+
#
|
13
|
+
class VolumePatchPropertiesExportPolicy
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [Array<ExportPolicyRule>] Export policy rule. Export policy
|
18
|
+
# rule
|
19
|
+
attr_accessor :rules
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for VolumePatchPropertiesExportPolicy class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'volumePatchProperties_exportPolicy',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'VolumePatchPropertiesExportPolicy',
|
34
|
+
model_properties: {
|
35
|
+
rules: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'rules',
|
39
|
+
type: {
|
40
|
+
name: 'Sequence',
|
41
|
+
element: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'ExportPolicyRuleElementType',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'ExportPolicyRule'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,58 @@
|
|
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_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# exportPolicy
|
10
|
+
|
11
|
+
# Set of export policy rules
|
12
|
+
#
|
13
|
+
class VolumePropertiesExportPolicy
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [Array<ExportPolicyRule>] Export policy rule. Export policy
|
18
|
+
# rule
|
19
|
+
attr_accessor :rules
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for VolumePropertiesExportPolicy class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'volumeProperties_exportPolicy',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'VolumePropertiesExportPolicy',
|
34
|
+
model_properties: {
|
35
|
+
rules: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'rules',
|
39
|
+
type: {
|
40
|
+
name: 'Sequence',
|
41
|
+
element: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'ExportPolicyRuleElementType',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'ExportPolicyRule'
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,9 @@
|
|
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 end
|
7
|
+
module Azure::NetApp end
|
8
|
+
module Azure::NetApp::Mgmt end
|
9
|
+
module Azure::NetApp::Mgmt::V2019_06_01 end
|