azure_mgmt_netapp 0.20.1 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) 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/azure_net_app_files_management_client.rb +1 -1
  8. data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  9. data/lib/2020-02-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  10. data/lib/2020-06-01/generated/azure_mgmt_netapp.rb +104 -0
  11. data/lib/2020-06-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
  12. data/lib/2020-06-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
  13. data/lib/2020-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
  14. data/lib/2020-06-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
  15. data/lib/2020-06-01/generated/azure_mgmt_netapp/backups.rb +747 -0
  16. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/active_directory.rb +229 -0
  17. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
  18. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  19. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup.rb +141 -0
  20. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_patch.rb +113 -0
  21. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
  22. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
  23. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
  24. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +157 -0
  25. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
  26. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
  27. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +204 -0
  28. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  29. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
  30. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
  31. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  32. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
  33. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
  34. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  35. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  36. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
  37. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
  38. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  39. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  40. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  41. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
  42. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
  43. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
  44. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  45. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  46. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  47. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  48. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  49. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  50. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
  51. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
  52. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
  53. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  54. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  55. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +19 -0
  56. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  57. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  58. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
  59. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  60. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  61. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  62. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
  63. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +156 -0
  64. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +156 -0
  65. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +156 -0
  66. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
  67. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  68. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
  69. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
  70. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume.rb +387 -0
  71. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
  72. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
  73. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  74. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
  75. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
  76. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  77. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
  78. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  79. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  80. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  81. data/lib/2020-06-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
  82. data/lib/2020-06-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  83. data/lib/2020-06-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
  84. data/lib/2020-06-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  85. data/lib/2020-06-01/generated/azure_mgmt_netapp/pools.rb +737 -0
  86. data/lib/2020-06-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
  87. data/lib/2020-06-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  88. data/lib/2020-06-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
  89. data/lib/2020-06-01/generated/azure_mgmt_netapp/volumes.rb +2023 -0
  90. data/lib/azure_mgmt_netapp.rb +1 -0
  91. data/lib/profiles/latest/modules/netapp_profile_module.rb +229 -107
  92. data/lib/version.rb +1 -1
  93. metadata +82 -2
@@ -0,0 +1,157 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Backup policy Details for create and update
10
+ #
11
+ class BackupPolicyPatch
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource location
16
+ attr_accessor :location
17
+
18
+ # @return [String] Name of backup policy
19
+ attr_accessor :name
20
+
21
+ # @return [String] Azure lifecycle management
22
+ attr_accessor :provisioning_state
23
+
24
+ # @return [Integer] Daily backups count to keep
25
+ attr_accessor :daily_backups_to_keep
26
+
27
+ # @return [Integer] Weekly backups count to keep
28
+ attr_accessor :weekly_backups_to_keep
29
+
30
+ # @return [Integer] Monthly backups count to keep
31
+ attr_accessor :monthly_backups_to_keep
32
+
33
+ # @return [Integer] Yearly backups count to keep
34
+ attr_accessor :yearly_backups_to_keep
35
+
36
+ # @return [Integer] Volumes using current backup policy
37
+ attr_accessor :volumes_assigned
38
+
39
+ # @return [Boolean] The property to decide policy is enabled or not
40
+ attr_accessor :enabled
41
+
42
+ # @return [Array<VolumeBackups>] A list of volumes assigned to this
43
+ # policy
44
+ attr_accessor :volume_backups
45
+
46
+
47
+ #
48
+ # Mapper for BackupPolicyPatch class as Ruby Hash.
49
+ # This will be used for serialization/deserialization.
50
+ #
51
+ def self.mapper()
52
+ {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'backupPolicyPatch',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'BackupPolicyPatch',
59
+ model_properties: {
60
+ location: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'location',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ name: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'properties.name',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ provisioning_state: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'properties.provisioningState',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ daily_backups_to_keep: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'properties.dailyBackupsToKeep',
90
+ type: {
91
+ name: 'Number'
92
+ }
93
+ },
94
+ weekly_backups_to_keep: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'properties.weeklyBackupsToKeep',
98
+ type: {
99
+ name: 'Number'
100
+ }
101
+ },
102
+ monthly_backups_to_keep: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'properties.monthlyBackupsToKeep',
106
+ type: {
107
+ name: 'Number'
108
+ }
109
+ },
110
+ yearly_backups_to_keep: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ serialized_name: 'properties.yearlyBackupsToKeep',
114
+ type: {
115
+ name: 'Number'
116
+ }
117
+ },
118
+ volumes_assigned: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'properties.volumesAssigned',
122
+ type: {
123
+ name: 'Number'
124
+ }
125
+ },
126
+ enabled: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'properties.enabled',
130
+ type: {
131
+ name: 'Boolean'
132
+ }
133
+ },
134
+ volume_backups: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'properties.volumeBackups',
138
+ type: {
139
+ name: 'Sequence',
140
+ element: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ serialized_name: 'VolumeBackupsElementType',
144
+ type: {
145
+ name: 'Composite',
146
+ class_name: 'VolumeBackups'
147
+ }
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ end
155
+ end
156
+ end
157
+ 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::V2020_06_01
7
+ module Models
8
+ #
9
+ # List of Backups
10
+ #
11
+ class BackupsList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Backup>] A list of Backups
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for BackupsList 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: 'backupsList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'BackupsList',
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: 'BackupElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Backup'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,47 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Break replication request
10
+ #
11
+ class BreakReplicationRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] If replication is in status transferring and you want
16
+ # to force break the replication, set to true
17
+ attr_accessor :force_break_replication
18
+
19
+
20
+ #
21
+ # Mapper for BreakReplicationRequest 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: 'breakReplicationRequest',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'BreakReplicationRequest',
32
+ model_properties: {
33
+ force_break_replication: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'forceBreakReplication',
37
+ type: {
38
+ name: 'Boolean'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,204 @@
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::V2020_06_01
7
+ module Models
8
+ #
9
+ # Capacity pool resource
10
+ #
11
+ class CapacityPool
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] poolId. UUID v4 used to identify the Pool
31
+ attr_accessor :pool_id
32
+
33
+ # @return [Integer] size. Provisioned size of the pool (in bytes).
34
+ # Allowed values are in 4TiB chunks (value must be multiply of
35
+ # 4398046511104).
36
+ attr_accessor :size
37
+
38
+ # @return [ServiceLevel] serviceLevel. The service level of the file
39
+ # system. Possible values include: 'Standard', 'Premium', 'Ultra'.
40
+ # Default value: 'Premium' .
41
+ attr_accessor :service_level
42
+
43
+ # @return [String] Azure lifecycle management
44
+ attr_accessor :provisioning_state
45
+
46
+ # @return [Float] Total throughput of pool in Mibps
47
+ attr_accessor :total_throughput_mibps
48
+
49
+ # @return [Float] Utilized throughput of pool in Mibps
50
+ attr_accessor :utilized_throughput_mibps
51
+
52
+ # @return [QosType] qosType. The qos type of the pool. Possible values
53
+ # include: 'Auto', 'Manual'. Default value: 'Auto' .
54
+ attr_accessor :qos_type
55
+
56
+
57
+ #
58
+ # Mapper for CapacityPool class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'capacityPool',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'CapacityPool',
69
+ model_properties: {
70
+ location: {
71
+ client_side_validation: true,
72
+ required: true,
73
+ serialized_name: 'location',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ id: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'id',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ name: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'name',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ type: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ read_only: true,
100
+ serialized_name: 'type',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ },
105
+ tags: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'tags',
109
+ type: {
110
+ name: 'Dictionary',
111
+ value: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'StringElementType',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ }
119
+ }
120
+ },
121
+ pool_id: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ read_only: true,
125
+ serialized_name: 'properties.poolId',
126
+ constraints: {
127
+ MaxLength: 36,
128
+ MinLength: 36,
129
+ 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}$'
130
+ },
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ },
135
+ size: {
136
+ client_side_validation: true,
137
+ required: true,
138
+ serialized_name: 'properties.size',
139
+ constraints: {
140
+ InclusiveMaximum: 549755813888000,
141
+ InclusiveMinimum: 4398046511104
142
+ },
143
+ type: {
144
+ name: 'Number'
145
+ }
146
+ },
147
+ service_level: {
148
+ client_side_validation: true,
149
+ required: true,
150
+ serialized_name: 'properties.serviceLevel',
151
+ default_value: 'Premium',
152
+ type: {
153
+ name: 'String'
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
+ total_throughput_mibps: {
166
+ client_side_validation: true,
167
+ required: false,
168
+ read_only: true,
169
+ serialized_name: 'properties.totalThroughputMibps',
170
+ constraints: {
171
+ MultipleOf: 0.001
172
+ },
173
+ type: {
174
+ name: 'Double'
175
+ }
176
+ },
177
+ utilized_throughput_mibps: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ read_only: true,
181
+ serialized_name: 'properties.utilizedThroughputMibps',
182
+ constraints: {
183
+ MultipleOf: 0.001
184
+ },
185
+ type: {
186
+ name: 'Double'
187
+ }
188
+ },
189
+ qos_type: {
190
+ client_side_validation: true,
191
+ required: false,
192
+ serialized_name: 'properties.qosType',
193
+ default_value: 'Auto',
194
+ type: {
195
+ name: 'String'
196
+ }
197
+ }
198
+ }
199
+ }
200
+ }
201
+ end
202
+ end
203
+ end
204
+ end