azure_mgmt_netapp 0.22.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) 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/azure_net_app_files_management_client.rb +1 -1
  11. data/lib/2020-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  12. data/lib/2020-09-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
  13. data/lib/2020-11-01/generated/azure_mgmt_netapp.rb +108 -0
  14. data/lib/2020-11-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
  15. data/lib/2020-11-01/generated/azure_mgmt_netapp/accounts.rb +828 -0
  16. data/lib/2020-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
  17. data/lib/2020-11-01/generated/azure_mgmt_netapp/backup_policies.rb +701 -0
  18. data/lib/2020-11-01/generated/azure_mgmt_netapp/backups.rb +811 -0
  19. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/account_encryption.rb +47 -0
  20. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/active_directory.rb +288 -0
  21. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
  22. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  23. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup.rb +170 -0
  24. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_patch.rb +142 -0
  25. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
  26. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
  27. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
  28. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
  29. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
  30. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
  31. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
  32. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +98 -0
  33. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
  34. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
  35. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  36. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
  37. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/created_by_type.rb +18 -0
  38. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
  39. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  40. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  41. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
  42. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
  43. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  44. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/key_source.rb +15 -0
  45. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  46. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  47. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
  48. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
  49. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
  50. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account.rb +158 -0
  51. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +98 -0
  52. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +145 -0
  53. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  54. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  55. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  56. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
  57. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
  58. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
  59. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  60. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  61. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
  62. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  63. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  64. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
  65. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  66. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  67. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  68. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
  69. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
  70. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
  71. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
  72. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
  73. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  74. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/system_data.rb +105 -0
  75. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
  76. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
  77. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume.rb +427 -0
  78. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
  79. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
  80. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_list.rb +98 -0
  81. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
  82. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
  83. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  84. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
  85. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  86. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  87. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  88. data/lib/2020-11-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
  89. data/lib/2020-11-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  90. data/lib/2020-11-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
  91. data/lib/2020-11-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  92. data/lib/2020-11-01/generated/azure_mgmt_netapp/pools.rb +857 -0
  93. data/lib/2020-11-01/generated/azure_mgmt_netapp/snapshot_policies.rb +758 -0
  94. data/lib/2020-11-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  95. data/lib/2020-11-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
  96. data/lib/2020-11-01/generated/azure_mgmt_netapp/volumes.rb +2143 -0
  97. data/lib/azure_mgmt_netapp.rb +1 -0
  98. data/lib/profiles/latest/modules/netapp_profile_module.rb +187 -171
  99. data/lib/version.rb +1 -1
  100. metadata +86 -2
@@ -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_11_01
7
+ module Models
8
+ #
9
+ # Encryption settings
10
+ #
11
+ class AccountEncryption
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [KeySource] Encryption Key Source. Possible values are:
16
+ # 'Microsoft.NetApp'. Possible values include: 'Microsoft.NetApp'
17
+ attr_accessor :key_source
18
+
19
+
20
+ #
21
+ # Mapper for AccountEncryption 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: 'accountEncryption',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AccountEncryption',
32
+ model_properties: {
33
+ key_source: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'keySource',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,288 @@
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_11_01
7
+ module Models
8
+ #
9
+ # Active Directory
10
+ #
11
+ class ActiveDirectory
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Id of the Active Directory
16
+ attr_accessor :active_directory_id
17
+
18
+ # @return [String] Username of Active Directory domain administrator
19
+ attr_accessor :username
20
+
21
+ # @return [String] Plain text password of Active Directory domain
22
+ # administrator, value is masked in the response
23
+ attr_accessor :password
24
+
25
+ # @return [String] Name of the Active Directory domain
26
+ attr_accessor :domain
27
+
28
+ # @return [String] Comma separated list of DNS server IP addresses (IPv4
29
+ # only) for the Active Directory domain
30
+ attr_accessor :dns
31
+
32
+ # @return [ActiveDirectoryStatus] Status of the Active Directory.
33
+ # Possible values include: 'Created', 'InUse', 'Deleted', 'Error',
34
+ # 'Updating'
35
+ attr_accessor :status
36
+
37
+ # @return [String] Any details in regards to the Status of the Active
38
+ # Directory
39
+ attr_accessor :status_details
40
+
41
+ # @return [String] NetBIOS name of the SMB server. This name will be
42
+ # registered as a computer account in the AD and used to mount volumes
43
+ attr_accessor :smb_server_name
44
+
45
+ # @return [String] The Organizational Unit (OU) within the Windows Active
46
+ # Directory. Default value: 'CN=Computers' .
47
+ attr_accessor :organizational_unit
48
+
49
+ # @return [String] The Active Directory site the service will limit
50
+ # Domain Controller discovery to
51
+ attr_accessor :site
52
+
53
+ # @return [Array<String>] Users to be added to the Built-in Backup
54
+ # Operator active directory group. A list of unique usernames without
55
+ # domain specifier
56
+ attr_accessor :backup_operators
57
+
58
+ # @return [String] kdc server IP addresses for the active directory
59
+ # machine. This optional parameter is used only while creating kerberos
60
+ # volume.
61
+ attr_accessor :kdc_ip
62
+
63
+ # @return [String] Name of the active directory machine. This optional
64
+ # parameter is used only while creating kerberos volume
65
+ attr_accessor :ad_name
66
+
67
+ # @return [String] When LDAP over SSL/TLS is enabled, the LDAP client is
68
+ # required to have base64 encoded Active Directory Certificate Service's
69
+ # self-signed root CA certificate, this optional parameter is used only
70
+ # for dual protocol with LDAP user-mapping volumes.
71
+ attr_accessor :server_root_cacertificate
72
+
73
+ # @return [Boolean] If enabled, AES encryption will be enabled for SMB
74
+ # communication.
75
+ attr_accessor :aes_encryption
76
+
77
+ # @return [Boolean] Specifies whether or not the LDAP traffic needs to be
78
+ # signed.
79
+ attr_accessor :ldap_signing
80
+
81
+ # @return [Array<String>] Domain Users in the Active directory to be
82
+ # given SeSecurityPrivilege privilege (Needed for SMB Continuously
83
+ # available shares for SQL). A list of unique usernames without domain
84
+ # specifier
85
+ attr_accessor :security_operators
86
+
87
+ # @return [Boolean] Specifies whether or not the LDAP traffic needs to be
88
+ # secured via TLS.
89
+ attr_accessor :ldap_over_tls
90
+
91
+
92
+ #
93
+ # Mapper for ActiveDirectory class as Ruby Hash.
94
+ # This will be used for serialization/deserialization.
95
+ #
96
+ def self.mapper()
97
+ {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'activeDirectory',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'ActiveDirectory',
104
+ model_properties: {
105
+ active_directory_id: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'activeDirectoryId',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ username: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ serialized_name: 'username',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ },
121
+ password: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ serialized_name: 'password',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ domain: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ serialized_name: 'domain',
133
+ type: {
134
+ name: 'String'
135
+ }
136
+ },
137
+ dns: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'dns',
141
+ constraints: {
142
+ Pattern: '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$'
143
+ },
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ },
148
+ status: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ read_only: true,
152
+ serialized_name: 'status',
153
+ type: {
154
+ name: 'String'
155
+ }
156
+ },
157
+ status_details: {
158
+ client_side_validation: true,
159
+ required: false,
160
+ read_only: true,
161
+ serialized_name: 'statusDetails',
162
+ type: {
163
+ name: 'String'
164
+ }
165
+ },
166
+ smb_server_name: {
167
+ client_side_validation: true,
168
+ required: false,
169
+ serialized_name: 'smbServerName',
170
+ type: {
171
+ name: 'String'
172
+ }
173
+ },
174
+ organizational_unit: {
175
+ client_side_validation: true,
176
+ required: false,
177
+ serialized_name: 'organizationalUnit',
178
+ default_value: 'CN=Computers',
179
+ type: {
180
+ name: 'String'
181
+ }
182
+ },
183
+ site: {
184
+ client_side_validation: true,
185
+ required: false,
186
+ serialized_name: 'site',
187
+ type: {
188
+ name: 'String'
189
+ }
190
+ },
191
+ backup_operators: {
192
+ client_side_validation: true,
193
+ required: false,
194
+ serialized_name: 'backupOperators',
195
+ type: {
196
+ name: 'Sequence',
197
+ element: {
198
+ client_side_validation: true,
199
+ required: false,
200
+ serialized_name: 'StringElementType',
201
+ type: {
202
+ name: 'String'
203
+ }
204
+ }
205
+ }
206
+ },
207
+ kdc_ip: {
208
+ client_side_validation: true,
209
+ required: false,
210
+ serialized_name: 'kdcIP',
211
+ constraints: {
212
+ Pattern: '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$'
213
+ },
214
+ type: {
215
+ name: 'String'
216
+ }
217
+ },
218
+ ad_name: {
219
+ client_side_validation: true,
220
+ required: false,
221
+ serialized_name: 'adName',
222
+ constraints: {
223
+ MaxLength: 64,
224
+ MinLength: 1
225
+ },
226
+ type: {
227
+ name: 'String'
228
+ }
229
+ },
230
+ server_root_cacertificate: {
231
+ client_side_validation: true,
232
+ required: false,
233
+ serialized_name: 'serverRootCACertificate',
234
+ constraints: {
235
+ MaxLength: 10240,
236
+ MinLength: 1
237
+ },
238
+ type: {
239
+ name: 'String'
240
+ }
241
+ },
242
+ aes_encryption: {
243
+ client_side_validation: true,
244
+ required: false,
245
+ serialized_name: 'aesEncryption',
246
+ type: {
247
+ name: 'Boolean'
248
+ }
249
+ },
250
+ ldap_signing: {
251
+ client_side_validation: true,
252
+ required: false,
253
+ serialized_name: 'ldapSigning',
254
+ type: {
255
+ name: 'Boolean'
256
+ }
257
+ },
258
+ security_operators: {
259
+ client_side_validation: true,
260
+ required: false,
261
+ serialized_name: 'securityOperators',
262
+ type: {
263
+ name: 'Sequence',
264
+ element: {
265
+ client_side_validation: true,
266
+ required: false,
267
+ serialized_name: 'StringElementType',
268
+ type: {
269
+ name: 'String'
270
+ }
271
+ }
272
+ }
273
+ },
274
+ ldap_over_tls: {
275
+ client_side_validation: true,
276
+ required: false,
277
+ serialized_name: 'ldapOverTLS',
278
+ type: {
279
+ name: 'Boolean'
280
+ }
281
+ }
282
+ }
283
+ }
284
+ }
285
+ end
286
+ end
287
+ end
288
+ end
@@ -0,0 +1,19 @@
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_11_01
7
+ module Models
8
+ #
9
+ # Defines values for ActiveDirectoryStatus
10
+ #
11
+ module ActiveDirectoryStatus
12
+ Created = "Created"
13
+ InUse = "InUse"
14
+ Deleted = "Deleted"
15
+ Error = "Error"
16
+ Updating = "Updating"
17
+ end
18
+ end
19
+ 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::V2020_11_01
7
+ module Models
8
+ #
9
+ # Authorize request
10
+ #
11
+ class AuthorizeRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource id of the remote volume
16
+ attr_accessor :remote_volume_resource_id
17
+
18
+
19
+ #
20
+ # Mapper for AuthorizeRequest 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: 'authorizeRequest',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'AuthorizeRequest',
31
+ model_properties: {
32
+ remote_volume_resource_id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'remoteVolumeResourceId',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,170 @@
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_11_01
7
+ module Models
8
+ #
9
+ # Backup of a Volume
10
+ #
11
+ class Backup
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 [String] backupId. UUID v4 used to identify the Backup
28
+ attr_accessor :backup_id
29
+
30
+ # @return [DateTime] name. The creation date of the backup
31
+ attr_accessor :creation_date
32
+
33
+ # @return [String] Azure lifecycle management
34
+ attr_accessor :provisioning_state
35
+
36
+ # @return [Integer] Size of backup
37
+ attr_accessor :size
38
+
39
+ # @return [String] Label for backup
40
+ attr_accessor :label
41
+
42
+ # @return [String] Type of backup adhoc or scheduled
43
+ attr_accessor :backup_type
44
+
45
+ # @return [String] Failure reason
46
+ attr_accessor :failure_reason
47
+
48
+
49
+ #
50
+ # Mapper for Backup class as Ruby Hash.
51
+ # This will be used for serialization/deserialization.
52
+ #
53
+ def self.mapper()
54
+ {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'backup',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'Backup',
61
+ model_properties: {
62
+ location: {
63
+ client_side_validation: true,
64
+ required: true,
65
+ serialized_name: 'location',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ id: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'id',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ name: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ read_only: true,
83
+ serialized_name: 'name',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ type: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ read_only: true,
92
+ serialized_name: 'type',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ backup_id: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'properties.backupId',
102
+ constraints: {
103
+ MaxLength: 36,
104
+ MinLength: 36,
105
+ 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}$'
106
+ },
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ creation_date: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ read_only: true,
115
+ serialized_name: 'properties.creationDate',
116
+ type: {
117
+ name: 'DateTime'
118
+ }
119
+ },
120
+ provisioning_state: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ read_only: true,
124
+ serialized_name: 'properties.provisioningState',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ size: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ read_only: true,
133
+ serialized_name: 'properties.size',
134
+ type: {
135
+ name: 'Number'
136
+ }
137
+ },
138
+ label: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ serialized_name: 'properties.label',
142
+ type: {
143
+ name: 'String'
144
+ }
145
+ },
146
+ backup_type: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ read_only: true,
150
+ serialized_name: 'properties.backupType',
151
+ type: {
152
+ name: 'String'
153
+ }
154
+ },
155
+ failure_reason: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ read_only: true,
159
+ serialized_name: 'properties.failureReason',
160
+ type: {
161
+ name: 'String'
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ end
168
+ end
169
+ end
170
+ end