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,229 @@
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
+ # 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
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
+
74
+ #
75
+ # Mapper for ActiveDirectory 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: 'activeDirectory',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'ActiveDirectory',
86
+ model_properties: {
87
+ active_directory_id: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'activeDirectoryId',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ username: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'username',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ password: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'password',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ domain: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'domain',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ dns: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'dns',
123
+ constraints: {
124
+ 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]?))*$'
125
+ },
126
+ type: {
127
+ name: 'String'
128
+ }
129
+ },
130
+ status: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ read_only: true,
134
+ serialized_name: 'status',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ },
139
+ status_details: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ read_only: true,
143
+ serialized_name: 'statusDetails',
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ },
148
+ smb_server_name: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ serialized_name: 'smbServerName',
152
+ type: {
153
+ name: 'String'
154
+ }
155
+ },
156
+ organizational_unit: {
157
+ client_side_validation: true,
158
+ required: false,
159
+ serialized_name: 'organizationalUnit',
160
+ type: {
161
+ name: 'String'
162
+ }
163
+ },
164
+ site: {
165
+ client_side_validation: true,
166
+ required: false,
167
+ serialized_name: 'site',
168
+ type: {
169
+ name: 'String'
170
+ }
171
+ },
172
+ backup_operators: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ serialized_name: 'backupOperators',
176
+ type: {
177
+ name: 'Sequence',
178
+ element: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ serialized_name: 'StringElementType',
182
+ type: {
183
+ name: 'String'
184
+ }
185
+ }
186
+ }
187
+ },
188
+ kdc_ip: {
189
+ client_side_validation: true,
190
+ required: false,
191
+ serialized_name: 'kdcIP',
192
+ constraints: {
193
+ 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]?))*$'
194
+ },
195
+ type: {
196
+ name: 'String'
197
+ }
198
+ },
199
+ ad_name: {
200
+ client_side_validation: true,
201
+ required: false,
202
+ serialized_name: 'adName',
203
+ constraints: {
204
+ MaxLength: 64,
205
+ MinLength: 1
206
+ },
207
+ type: {
208
+ name: 'String'
209
+ }
210
+ },
211
+ server_root_cacertificate: {
212
+ client_side_validation: true,
213
+ required: false,
214
+ serialized_name: 'serverRootCACertificate',
215
+ constraints: {
216
+ MaxLength: 10240,
217
+ MinLength: 1
218
+ },
219
+ type: {
220
+ name: 'String'
221
+ }
222
+ }
223
+ }
224
+ }
225
+ }
226
+ end
227
+ end
228
+ end
229
+ 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_06_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_06_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,141 @@
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 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 [DateTime] name. The creation date of the backup
28
+ attr_accessor :creation_date
29
+
30
+ # @return [String] Azure lifecycle management
31
+ attr_accessor :provisioning_state
32
+
33
+ # @return [Integer] Size of backup
34
+ attr_accessor :size
35
+
36
+ # @return [String] Label for backup
37
+ attr_accessor :label
38
+
39
+ # @return [String] Type of backup adhoc or scheduled
40
+ attr_accessor :backup_type
41
+
42
+
43
+ #
44
+ # Mapper for Backup 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: 'backup',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'Backup',
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
+ creation_date: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'properties.creationDate',
96
+ type: {
97
+ name: 'DateTime'
98
+ }
99
+ },
100
+ provisioning_state: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ read_only: true,
104
+ serialized_name: 'properties.provisioningState',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
109
+ size: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ read_only: true,
113
+ serialized_name: 'properties.size',
114
+ type: {
115
+ name: 'Number'
116
+ }
117
+ },
118
+ label: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'properties.label',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ backup_type: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ read_only: true,
130
+ serialized_name: 'properties.backupType',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+ end
139
+ end
140
+ end
141
+ end
@@ -0,0 +1,113 @@
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 patch
10
+ #
11
+ class BackupPatch
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Resource tags
16
+ attr_accessor :tags
17
+
18
+ # @return [DateTime] name. The creation date of the backup
19
+ attr_accessor :creation_date
20
+
21
+ # @return [String] Azure lifecycle management
22
+ attr_accessor :provisioning_state
23
+
24
+ # @return [Integer] Size of backup
25
+ attr_accessor :size
26
+
27
+ # @return [String] Label for backup
28
+ attr_accessor :label
29
+
30
+ # @return [String] Type of backup adhoc or scheduled
31
+ attr_accessor :backup_type
32
+
33
+
34
+ #
35
+ # Mapper for BackupPatch class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'backupPatch',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'BackupPatch',
46
+ model_properties: {
47
+ tags: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'tags',
51
+ type: {
52
+ name: 'Dictionary',
53
+ value: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'StringElementType',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ }
61
+ }
62
+ },
63
+ creation_date: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'properties.creationDate',
68
+ type: {
69
+ name: 'DateTime'
70
+ }
71
+ },
72
+ provisioning_state: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'properties.provisioningState',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ size: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ read_only: true,
85
+ serialized_name: 'properties.size',
86
+ type: {
87
+ name: 'Number'
88
+ }
89
+ },
90
+ label: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'properties.label',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ backup_type: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ read_only: true,
102
+ serialized_name: 'properties.backupType',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ end
111
+ end
112
+ end
113
+ end