azure_mgmt_netapp 0.20.2 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) 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.rb +104 -0
  12. data/lib/2020-07-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
  13. data/lib/2020-07-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
  14. data/lib/2020-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
  15. data/lib/2020-07-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
  16. data/lib/2020-07-01/generated/azure_mgmt_netapp/backups.rb +747 -0
  17. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/active_directory.rb +253 -0
  18. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
  19. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
  20. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup.rb +158 -0
  21. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_patch.rb +130 -0
  22. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
  23. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
  24. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
  25. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
  26. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
  27. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
  28. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
  29. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  30. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
  31. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
  32. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
  33. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
  34. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
  35. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  36. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
  37. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
  38. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
  39. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
  40. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  41. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
  42. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
  43. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
  44. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
  45. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
  46. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  47. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
  48. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  49. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  50. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  51. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
  52. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
  53. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
  54. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
  55. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
  56. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
  57. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
  58. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
  59. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
  60. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  61. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  62. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
  63. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
  64. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
  65. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
  66. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
  67. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
  68. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  69. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
  70. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
  71. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb +382 -0
  72. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
  73. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
  74. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  75. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
  76. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
  77. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
  78. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
  79. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
  80. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
  81. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
  82. data/lib/2020-07-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
  83. data/lib/2020-07-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  84. data/lib/2020-07-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
  85. data/lib/2020-07-01/generated/azure_mgmt_netapp/operations.rb +115 -0
  86. data/lib/2020-07-01/generated/azure_mgmt_netapp/pools.rb +737 -0
  87. data/lib/2020-07-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
  88. data/lib/2020-07-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
  89. data/lib/2020-07-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
  90. data/lib/2020-07-01/generated/azure_mgmt_netapp/volumes.rb +2023 -0
  91. data/lib/azure_mgmt_netapp.rb +6 -5
  92. data/lib/profiles/latest/modules/netapp_profile_module.rb +153 -153
  93. data/lib/version.rb +1 -1
  94. metadata +83 -3
@@ -0,0 +1,185 @@
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_07_01
7
+ module Models
8
+ #
9
+ # Snapshot policy Details for create and update
10
+ #
11
+ class SnapshotPolicyPatch
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] Snapshot policy name
31
+ attr_accessor :name1
32
+
33
+ # @return [HourlySchedule] hourlySchedule. Schedule for hourly snapshots
34
+ attr_accessor :hourly_schedule
35
+
36
+ # @return [DailySchedule] dailySchedule. Schedule for daily snapshots
37
+ attr_accessor :daily_schedule
38
+
39
+ # @return [WeeklySchedule] weeklySchedule. Schedule for weekly snapshots
40
+ attr_accessor :weekly_schedule
41
+
42
+ # @return [MonthlySchedule] monthlySchedule. Schedule for monthly
43
+ # snapshots
44
+ attr_accessor :monthly_schedule
45
+
46
+ # @return [Boolean] The property to decide policy is enabled or not
47
+ attr_accessor :enabled
48
+
49
+ # @return [String] Azure lifecycle management
50
+ attr_accessor :provisioning_state
51
+
52
+
53
+ #
54
+ # Mapper for SnapshotPolicyPatch class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'snapshotPolicyPatch',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'SnapshotPolicyPatch',
65
+ model_properties: {
66
+ location: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'location',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ id: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'id',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ name: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'name',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ type: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'type',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ tags: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'tags',
105
+ type: {
106
+ name: 'Dictionary',
107
+ value: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ serialized_name: 'StringElementType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ }
115
+ }
116
+ },
117
+ name1: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ read_only: true,
121
+ serialized_name: 'properties.name',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ hourly_schedule: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'properties.hourlySchedule',
130
+ type: {
131
+ name: 'Composite',
132
+ class_name: 'HourlySchedule'
133
+ }
134
+ },
135
+ daily_schedule: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ serialized_name: 'properties.dailySchedule',
139
+ type: {
140
+ name: 'Composite',
141
+ class_name: 'DailySchedule'
142
+ }
143
+ },
144
+ weekly_schedule: {
145
+ client_side_validation: true,
146
+ required: false,
147
+ serialized_name: 'properties.weeklySchedule',
148
+ type: {
149
+ name: 'Composite',
150
+ class_name: 'WeeklySchedule'
151
+ }
152
+ },
153
+ monthly_schedule: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: 'properties.monthlySchedule',
157
+ type: {
158
+ name: 'Composite',
159
+ class_name: 'MonthlySchedule'
160
+ }
161
+ },
162
+ enabled: {
163
+ client_side_validation: true,
164
+ required: false,
165
+ serialized_name: 'properties.enabled',
166
+ type: {
167
+ name: 'Boolean'
168
+ }
169
+ },
170
+ provisioning_state: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ read_only: true,
174
+ serialized_name: 'properties.provisioningState',
175
+ type: {
176
+ name: 'String'
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ end
183
+ end
184
+ end
185
+ end
@@ -0,0 +1,54 @@
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_07_01
7
+ module Models
8
+ #
9
+ # Volumes associated with snapshot policy
10
+ #
11
+ class SnapshotPolicyVolumeList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return List of volumes
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for SnapshotPolicyVolumeList 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: 'snapshotPolicyVolumeList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'SnapshotPolicyVolumeList',
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: 'ObjectElementType',
42
+ type: {
43
+ name: 'Object'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ 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_07_01
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,93 @@
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_07_01
7
+ module Models
8
+ #
9
+ # Vault information
10
+ #
11
+ class Vault
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] Vault Name
28
+ attr_accessor :vault_name
29
+
30
+
31
+ #
32
+ # Mapper for Vault class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'vault',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Vault',
43
+ model_properties: {
44
+ location: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'location',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ id: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'id',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ name: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'name',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ type: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'type',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ vault_name: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'properties.vaultName',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ end
91
+ end
92
+ end
93
+ 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_07_01
7
+ module Models
8
+ #
9
+ # List of Vaults
10
+ #
11
+ class VaultList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Vault>] A list of vaults
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for VaultList 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: 'vaultList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'VaultList',
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: 'VaultElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Vault'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,382 @@
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_07_01
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 [Hash{String => String}] 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', 'Ultra'.
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. Specified in bytes.
45
+ # Default value: 107374182400 .
46
+ attr_accessor :usage_threshold
47
+
48
+ # @return [VolumePropertiesExportPolicy] exportPolicy. Set of export
49
+ # policy rules
50
+ attr_accessor :export_policy
51
+
52
+ # @return [Array<String>] protocolTypes. Set of protocol types
53
+ attr_accessor :protocol_types
54
+
55
+ # @return [String] Azure lifecycle management
56
+ attr_accessor :provisioning_state
57
+
58
+ # @return [String] Snapshot ID. UUID v4 or resource identifier used to
59
+ # identify the Snapshot.
60
+ attr_accessor :snapshot_id
61
+
62
+ # @return [String] Backup ID. UUID v4 or resource identifier used to
63
+ # identify the Backup.
64
+ attr_accessor :backup_id
65
+
66
+ # @return [String] Baremetal Tenant ID. Unique Baremetal Tenant
67
+ # Identifier.
68
+ attr_accessor :baremetal_tenant_id
69
+
70
+ # @return [String] The Azure Resource URI for a delegated subnet. Must
71
+ # have the delegation Microsoft.NetApp/volumes
72
+ attr_accessor :subnet_id
73
+
74
+ # @return [Array<MountTargetProperties>] mountTargets. List of mount
75
+ # targets
76
+ attr_accessor :mount_targets
77
+
78
+ # @return [String] What type of volume is this
79
+ attr_accessor :volume_type
80
+
81
+ # @return [VolumePropertiesDataProtection] DataProtection. DataProtection
82
+ # type volumes include an object containing details of the replication
83
+ attr_accessor :data_protection
84
+
85
+ # @return [Boolean] Restoring
86
+ attr_accessor :is_restoring
87
+
88
+ # @return [Boolean] If enabled (true) the volume will contain a read-only
89
+ # .snapshot directory which provides access to each of the volume's
90
+ # snapshots (default to true).
91
+ attr_accessor :snapshot_directory_visible
92
+
93
+ # @return [Boolean] Describe if a volume is KerberosEnabled. To be use
94
+ # with swagger version 2020-05-01 or later. Default value: false .
95
+ attr_accessor :kerberos_enabled
96
+
97
+ # @return [SecurityStyle] The security style of volume. Possible values
98
+ # include: 'ntfs', 'unix'
99
+ attr_accessor :security_style
100
+
101
+ # @return [Float] Maximum throughput in Mibps that can be achieved by
102
+ # this volume.
103
+ attr_accessor :throughput_mibps
104
+
105
+
106
+ #
107
+ # Mapper for Volume class as Ruby Hash.
108
+ # This will be used for serialization/deserialization.
109
+ #
110
+ def self.mapper()
111
+ {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'volume',
115
+ type: {
116
+ name: 'Composite',
117
+ class_name: 'Volume',
118
+ model_properties: {
119
+ location: {
120
+ client_side_validation: true,
121
+ required: true,
122
+ serialized_name: 'location',
123
+ type: {
124
+ name: 'String'
125
+ }
126
+ },
127
+ id: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ read_only: true,
131
+ serialized_name: 'id',
132
+ type: {
133
+ name: 'String'
134
+ }
135
+ },
136
+ name: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ read_only: true,
140
+ serialized_name: 'name',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ },
145
+ type: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ read_only: true,
149
+ serialized_name: 'type',
150
+ type: {
151
+ name: 'String'
152
+ }
153
+ },
154
+ tags: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ serialized_name: 'tags',
158
+ type: {
159
+ name: 'Dictionary',
160
+ value: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ serialized_name: 'StringElementType',
164
+ type: {
165
+ name: 'String'
166
+ }
167
+ }
168
+ }
169
+ },
170
+ file_system_id: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ read_only: true,
174
+ serialized_name: 'properties.fileSystemId',
175
+ constraints: {
176
+ MaxLength: 36,
177
+ MinLength: 36,
178
+ 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}$'
179
+ },
180
+ type: {
181
+ name: 'String'
182
+ }
183
+ },
184
+ creation_token: {
185
+ client_side_validation: true,
186
+ required: true,
187
+ serialized_name: 'properties.creationToken',
188
+ constraints: {
189
+ MaxLength: 80,
190
+ MinLength: 1,
191
+ Pattern: '^[a-zA-Z][a-zA-Z0-9\-]{0,79}$'
192
+ },
193
+ type: {
194
+ name: 'String'
195
+ }
196
+ },
197
+ service_level: {
198
+ client_side_validation: true,
199
+ required: false,
200
+ serialized_name: 'properties.serviceLevel',
201
+ default_value: 'Premium',
202
+ type: {
203
+ name: 'String'
204
+ }
205
+ },
206
+ usage_threshold: {
207
+ client_side_validation: true,
208
+ required: true,
209
+ serialized_name: 'properties.usageThreshold',
210
+ default_value: 107374182400,
211
+ constraints: {
212
+ InclusiveMaximum: 109951162777600,
213
+ InclusiveMinimum: 107374182400
214
+ },
215
+ type: {
216
+ name: 'Number'
217
+ }
218
+ },
219
+ export_policy: {
220
+ client_side_validation: true,
221
+ required: false,
222
+ serialized_name: 'properties.exportPolicy',
223
+ type: {
224
+ name: 'Composite',
225
+ class_name: 'VolumePropertiesExportPolicy'
226
+ }
227
+ },
228
+ protocol_types: {
229
+ client_side_validation: true,
230
+ required: false,
231
+ serialized_name: 'properties.protocolTypes',
232
+ type: {
233
+ name: 'Sequence',
234
+ element: {
235
+ client_side_validation: true,
236
+ required: false,
237
+ serialized_name: 'StringElementType',
238
+ type: {
239
+ name: 'String'
240
+ }
241
+ }
242
+ }
243
+ },
244
+ provisioning_state: {
245
+ client_side_validation: true,
246
+ required: false,
247
+ read_only: true,
248
+ serialized_name: 'properties.provisioningState',
249
+ type: {
250
+ name: 'String'
251
+ }
252
+ },
253
+ snapshot_id: {
254
+ client_side_validation: true,
255
+ required: false,
256
+ serialized_name: 'properties.snapshotId',
257
+ constraints: {
258
+ MaxLength: 36,
259
+ MinLength: 36,
260
+ 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}|(\\?([^\/]*[\/])*)([^\/]+)$'
261
+ },
262
+ type: {
263
+ name: 'String'
264
+ }
265
+ },
266
+ backup_id: {
267
+ client_side_validation: true,
268
+ required: false,
269
+ serialized_name: 'properties.backupId',
270
+ constraints: {
271
+ MaxLength: 36,
272
+ MinLength: 36,
273
+ 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}|(\\?([^\/]*[\/])*)([^\/]+)$'
274
+ },
275
+ type: {
276
+ name: 'String'
277
+ }
278
+ },
279
+ baremetal_tenant_id: {
280
+ client_side_validation: true,
281
+ required: false,
282
+ read_only: true,
283
+ serialized_name: 'properties.baremetalTenantId',
284
+ type: {
285
+ name: 'String'
286
+ }
287
+ },
288
+ subnet_id: {
289
+ client_side_validation: true,
290
+ required: true,
291
+ serialized_name: 'properties.subnetId',
292
+ type: {
293
+ name: 'String'
294
+ }
295
+ },
296
+ mount_targets: {
297
+ client_side_validation: true,
298
+ required: false,
299
+ serialized_name: 'properties.mountTargets',
300
+ type: {
301
+ name: 'Sequence',
302
+ element: {
303
+ client_side_validation: true,
304
+ required: false,
305
+ serialized_name: 'MountTargetPropertiesElementType',
306
+ type: {
307
+ name: 'Composite',
308
+ class_name: 'MountTargetProperties'
309
+ }
310
+ }
311
+ }
312
+ },
313
+ volume_type: {
314
+ client_side_validation: true,
315
+ required: false,
316
+ serialized_name: 'properties.volumeType',
317
+ type: {
318
+ name: 'String'
319
+ }
320
+ },
321
+ data_protection: {
322
+ client_side_validation: true,
323
+ required: false,
324
+ serialized_name: 'properties.dataProtection',
325
+ type: {
326
+ name: 'Composite',
327
+ class_name: 'VolumePropertiesDataProtection'
328
+ }
329
+ },
330
+ is_restoring: {
331
+ client_side_validation: true,
332
+ required: false,
333
+ serialized_name: 'properties.isRestoring',
334
+ type: {
335
+ name: 'Boolean'
336
+ }
337
+ },
338
+ snapshot_directory_visible: {
339
+ client_side_validation: true,
340
+ required: false,
341
+ serialized_name: 'properties.snapshotDirectoryVisible',
342
+ type: {
343
+ name: 'Boolean'
344
+ }
345
+ },
346
+ kerberos_enabled: {
347
+ client_side_validation: true,
348
+ required: false,
349
+ serialized_name: 'properties.kerberosEnabled',
350
+ default_value: false,
351
+ type: {
352
+ name: 'Boolean'
353
+ }
354
+ },
355
+ security_style: {
356
+ client_side_validation: true,
357
+ required: false,
358
+ serialized_name: 'properties.securityStyle',
359
+ type: {
360
+ name: 'String'
361
+ }
362
+ },
363
+ throughput_mibps: {
364
+ client_side_validation: true,
365
+ required: false,
366
+ serialized_name: 'properties.throughputMibps',
367
+ constraints: {
368
+ InclusiveMaximum: 4500,
369
+ InclusiveMinimum: 1,
370
+ MultipleOf: 0.001
371
+ },
372
+ type: {
373
+ name: 'Double'
374
+ }
375
+ }
376
+ }
377
+ }
378
+ }
379
+ end
380
+ end
381
+ end
382
+ end