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,56 @@
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
+ # One property of operation, include metric specifications.
10
+ #
11
+ class ServiceSpecification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<MetricSpecification>] Metric specifications of
16
+ # operation.
17
+ attr_accessor :metric_specifications
18
+
19
+
20
+ #
21
+ # Mapper for ServiceSpecification class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'ServiceSpecification',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ServiceSpecification',
32
+ model_properties: {
33
+ metric_specifications: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'metricSpecifications',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'MetricSpecificationElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'MetricSpecification'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,150 @@
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
+ # Snapshot of a Volume
10
+ #
11
+ class Snapshot
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] snapshotId. UUID v4 used to identify the Snapshot
31
+ attr_accessor :snapshot_id
32
+
33
+ # @return [String] fileSystemId. UUID v4 used to identify the FileSystem
34
+ attr_accessor :file_system_id
35
+
36
+ # @return [DateTime] name. The creation date of the snapshot
37
+ attr_accessor :creation_date
38
+
39
+ # @return [String] Azure lifecycle management
40
+ attr_accessor :provisioning_state
41
+
42
+
43
+ #
44
+ # Mapper for Snapshot class as Ruby Hash.
45
+ # This will be used for serialization/deserialization.
46
+ #
47
+ def self.mapper()
48
+ {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'snapshot',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'Snapshot',
55
+ model_properties: {
56
+ location: {
57
+ client_side_validation: true,
58
+ required: true,
59
+ serialized_name: 'location',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ id: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'id',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ name: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'name',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ type: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'type',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ tags: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'tags',
95
+ type: {
96
+ name: 'Object'
97
+ }
98
+ },
99
+ snapshot_id: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ read_only: true,
103
+ serialized_name: 'properties.snapshotId',
104
+ constraints: {
105
+ MaxLength: 36,
106
+ MinLength: 36,
107
+ 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}$'
108
+ },
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ file_system_id: {
114
+ client_side_validation: true,
115
+ required: true,
116
+ serialized_name: 'properties.fileSystemId',
117
+ constraints: {
118
+ MaxLength: 36,
119
+ MinLength: 36,
120
+ 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}$'
121
+ },
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ creation_date: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ read_only: true,
130
+ serialized_name: 'properties.creationDate',
131
+ type: {
132
+ name: 'DateTime'
133
+ }
134
+ },
135
+ provisioning_state: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ read_only: true,
139
+ serialized_name: 'properties.provisioningState',
140
+ type: {
141
+ name: 'String'
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ end
148
+ end
149
+ end
150
+ end
@@ -0,0 +1,46 @@
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
+ # Snapshot patch
10
+ #
11
+ class SnapshotPatch
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Resource tags
16
+ attr_accessor :tags
17
+
18
+
19
+ #
20
+ # Mapper for SnapshotPatch 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: 'snapshotPatch',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'SnapshotPatch',
31
+ model_properties: {
32
+ tags: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'tags',
36
+ type: {
37
+ name: 'Object'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ 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 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,179 @@
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
+ # 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', 'Extreme'.
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. Default value:
45
+ # 107374182400 .
46
+ attr_accessor :usage_threshold
47
+
48
+ # @return [String] Azure lifecycle management
49
+ attr_accessor :provisioning_state
50
+
51
+ # @return [String] The Azure Resource URI for a delegated subnet. Must
52
+ # have the delegation Microsoft.NetApp/volumes
53
+ attr_accessor :subnet_id
54
+
55
+
56
+ #
57
+ # Mapper for Volume class as Ruby Hash.
58
+ # This will be used for serialization/deserialization.
59
+ #
60
+ def self.mapper()
61
+ {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'volume',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'Volume',
68
+ model_properties: {
69
+ location: {
70
+ client_side_validation: true,
71
+ required: true,
72
+ serialized_name: 'location',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ id: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'id',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ name: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'name',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ type: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'type',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ tags: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'tags',
108
+ type: {
109
+ name: 'Object'
110
+ }
111
+ },
112
+ file_system_id: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ read_only: true,
116
+ serialized_name: 'properties.fileSystemId',
117
+ constraints: {
118
+ MaxLength: 36,
119
+ MinLength: 36,
120
+ 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}$'
121
+ },
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ creation_token: {
127
+ client_side_validation: true,
128
+ required: true,
129
+ serialized_name: 'properties.creationToken',
130
+ type: {
131
+ name: 'String'
132
+ }
133
+ },
134
+ service_level: {
135
+ client_side_validation: true,
136
+ required: true,
137
+ serialized_name: 'properties.serviceLevel',
138
+ default_value: 'Premium',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ usage_threshold: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ serialized_name: 'properties.usageThreshold',
147
+ default_value: 107374182400,
148
+ constraints: {
149
+ InclusiveMaximum: 109951162777600,
150
+ InclusiveMinimum: 107374182400
151
+ },
152
+ type: {
153
+ name: 'Number'
154
+ }
155
+ },
156
+ provisioning_state: {
157
+ client_side_validation: true,
158
+ required: false,
159
+ read_only: true,
160
+ serialized_name: 'properties.provisioningState',
161
+ type: {
162
+ name: 'String'
163
+ }
164
+ },
165
+ subnet_id: {
166
+ client_side_validation: true,
167
+ required: false,
168
+ serialized_name: 'properties.subnetId',
169
+ type: {
170
+ name: 'String'
171
+ }
172
+ }
173
+ }
174
+ }
175
+ }
176
+ end
177
+ end
178
+ end
179
+ end