azure_mgmt_netapp 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp.rb +55 -0
  4. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb +597 -0
  5. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +153 -0
  6. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool.rb +154 -0
  7. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  8. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +46 -0
  9. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  10. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/error.rb +57 -0
  11. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  12. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/mount_target.rb +198 -0
  13. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
  14. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account.rb +105 -0
  15. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  16. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +46 -0
  17. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  18. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  19. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  20. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  21. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  22. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshot.rb +150 -0
  23. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshot_patch.rb +46 -0
  24. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  25. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume.rb +179 -0
  26. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  27. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume_patch.rb +126 -0
  28. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  29. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/mount_targets.rb +128 -0
  30. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/operations.rb +107 -0
  31. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/pools.rb +631 -0
  32. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/snapshots.rb +664 -0
  33. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb +650 -0
  34. data/lib/azure_mgmt_netapp.rb +6 -0
  35. data/lib/module_definition.rb +9 -0
  36. data/lib/profiles/latest/modules/netapp_profile_module.rb +159 -0
  37. data/lib/profiles/latest/netapp_latest_profile_client.rb +40 -0
  38. data/lib/profiles/latest/netapp_module_definition.rb +8 -0
  39. data/lib/version.rb +7 -0
  40. metadata +156 -0
@@ -0,0 +1,57 @@
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::V2017_08_15_preview
7
+ module Models
8
+ #
9
+ # Error response describing why the operation failed.
10
+ #
11
+ class Error
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Error code
16
+ attr_accessor :code
17
+
18
+ # @return [String] Detailed error message
19
+ attr_accessor :message
20
+
21
+
22
+ #
23
+ # Mapper for Error 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: 'error',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Error',
34
+ model_properties: {
35
+ code: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'code',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ message: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'message',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,145 @@
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::V2017_08_15_preview
7
+ module Models
8
+ #
9
+ # Metric specification of operation.
10
+ #
11
+ class MetricSpecification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of metric specification.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Display name of metric specification.
19
+ attr_accessor :display_name
20
+
21
+ # @return [String] Display description of metric specification.
22
+ attr_accessor :display_description
23
+
24
+ # @return [String] Unit could be Bytes or Count.
25
+ attr_accessor :unit
26
+
27
+ # @return [Array<Dimension>] Dimensions of blobs, including blob type and
28
+ # access tier.
29
+ attr_accessor :dimensions
30
+
31
+ # @return [String] Aggregation type could be Average.
32
+ attr_accessor :aggregation_type
33
+
34
+ # @return [Boolean] The property to decide fill gap with zero or not.
35
+ attr_accessor :fill_gap_with_zero
36
+
37
+ # @return [String] The category this metric specification belong to,
38
+ # could be Capacity.
39
+ attr_accessor :category
40
+
41
+ # @return [String] Account Resource Id.
42
+ attr_accessor :resource_id_dimension_name_override
43
+
44
+
45
+ #
46
+ # Mapper for MetricSpecification class as Ruby Hash.
47
+ # This will be used for serialization/deserialization.
48
+ #
49
+ def self.mapper()
50
+ {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'MetricSpecification',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'MetricSpecification',
57
+ model_properties: {
58
+ name: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'name',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ display_name: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'displayName',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ display_description: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'displayDescription',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ unit: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'unit',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ dimensions: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'dimensions',
94
+ type: {
95
+ name: 'Sequence',
96
+ element: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'DimensionElementType',
100
+ type: {
101
+ name: 'Composite',
102
+ class_name: 'Dimension'
103
+ }
104
+ }
105
+ }
106
+ },
107
+ aggregation_type: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ serialized_name: 'aggregationType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ fill_gap_with_zero: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ serialized_name: 'fillGapWithZero',
119
+ type: {
120
+ name: 'Boolean'
121
+ }
122
+ },
123
+ category: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'category',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ resource_id_dimension_name_override: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'resourceIdDimensionNameOverride',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ end
143
+ end
144
+ end
145
+ end
@@ -0,0 +1,198 @@
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::V2017_08_15_preview
7
+ module Models
8
+ #
9
+ # Mount Target
10
+ #
11
+ class MountTarget
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 Resource tags
25
+ attr_accessor :tags
26
+
27
+ # @return [String] mountTargetId. UUID v4 used to identify the
28
+ # MountTarget
29
+ attr_accessor :mount_target_id
30
+
31
+ # @return [String] fileSystemId. UUID v4 used to identify the MountTarget
32
+ attr_accessor :file_system_id
33
+
34
+ # @return [String] ipAddress. The mount target's IPv4 address
35
+ attr_accessor :ip_address
36
+
37
+ # @return [Integer] vlanid. Vlan Id
38
+ attr_accessor :vlan_id
39
+
40
+ # @return [String] startIp. The start of IPv4 address range to use when
41
+ # creating a new mount target
42
+ attr_accessor :start_ip
43
+
44
+ # @return [String] startIp. The end of IPv4 address range to use when
45
+ # creating a new mount target
46
+ attr_accessor :end_ip
47
+
48
+ # @return [String] gateway. The gateway of the IPv4 address range to use
49
+ # when creating a new mount target
50
+ attr_accessor :gateway
51
+
52
+ # @return [String] netmask. The netmask of the IPv4 address range to use
53
+ # when creating a new mount target
54
+ attr_accessor :netmask
55
+
56
+ # @return [String] Azure lifecycle management
57
+ attr_accessor :provisioning_state
58
+
59
+
60
+ #
61
+ # Mapper for MountTarget class as Ruby Hash.
62
+ # This will be used for serialization/deserialization.
63
+ #
64
+ def self.mapper()
65
+ {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'mountTarget',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'MountTarget',
72
+ model_properties: {
73
+ location: {
74
+ client_side_validation: true,
75
+ required: true,
76
+ serialized_name: 'location',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ id: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ read_only: true,
85
+ serialized_name: 'id',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ name: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ read_only: true,
94
+ serialized_name: 'name',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ },
99
+ tags: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ serialized_name: 'tags',
103
+ type: {
104
+ name: 'Object'
105
+ }
106
+ },
107
+ mount_target_id: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ read_only: true,
111
+ serialized_name: 'properties.mountTargetId',
112
+ constraints: {
113
+ MaxLength: 36,
114
+ MinLength: 36,
115
+ 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}$'
116
+ },
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ },
121
+ file_system_id: {
122
+ client_side_validation: true,
123
+ required: true,
124
+ serialized_name: 'properties.fileSystemId',
125
+ constraints: {
126
+ MaxLength: 36,
127
+ MinLength: 36,
128
+ 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}$'
129
+ },
130
+ type: {
131
+ name: 'String'
132
+ }
133
+ },
134
+ ip_address: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ read_only: true,
138
+ serialized_name: 'properties.ipAddress',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ vlan_id: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ serialized_name: 'properties.vlanId',
147
+ type: {
148
+ name: 'Number'
149
+ }
150
+ },
151
+ start_ip: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ serialized_name: 'properties.startIp',
155
+ type: {
156
+ name: 'String'
157
+ }
158
+ },
159
+ end_ip: {
160
+ client_side_validation: true,
161
+ required: false,
162
+ serialized_name: 'properties.endIp',
163
+ type: {
164
+ name: 'String'
165
+ }
166
+ },
167
+ gateway: {
168
+ client_side_validation: true,
169
+ required: false,
170
+ serialized_name: 'properties.gateway',
171
+ type: {
172
+ name: 'String'
173
+ }
174
+ },
175
+ netmask: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'properties.netmask',
179
+ type: {
180
+ name: 'String'
181
+ }
182
+ },
183
+ provisioning_state: {
184
+ client_side_validation: true,
185
+ required: false,
186
+ read_only: true,
187
+ serialized_name: 'properties.provisioningState',
188
+ type: {
189
+ name: 'String'
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+ end
196
+ end
197
+ end
198
+ 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::V2017_08_15_preview
7
+ module Models
8
+ #
9
+ # List of Mount Targets
10
+ #
11
+ class MountTargetList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<MountTarget>] A list of Mount targets
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for MountTargetList 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: 'mountTargetList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'MountTargetList',
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: 'MountTargetElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'MountTarget'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end