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.
- checksums.yaml +4 -4
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-10-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-02-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-07-01/generated/azure_mgmt_netapp.rb +104 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/backups.rb +747 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/active_directory.rb +253 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup.rb +158 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_patch.rb +130 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb +382 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/pools.rb +737 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
- data/lib/2020-07-01/generated/azure_mgmt_netapp/volumes.rb +2023 -0
- data/lib/azure_mgmt_netapp.rb +6 -5
- data/lib/profiles/latest/modules/netapp_profile_module.rb +153 -153
- data/lib/version.rb +1 -1
- metadata +83 -3
@@ -0,0 +1,212 @@
|
|
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
|
+
# 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] 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] Name of backup policy
|
31
|
+
attr_accessor :name1
|
32
|
+
|
33
|
+
# @return [String] Azure lifecycle management
|
34
|
+
attr_accessor :provisioning_state
|
35
|
+
|
36
|
+
# @return [Integer] Daily backups count to keep
|
37
|
+
attr_accessor :daily_backups_to_keep
|
38
|
+
|
39
|
+
# @return [Integer] Weekly backups count to keep
|
40
|
+
attr_accessor :weekly_backups_to_keep
|
41
|
+
|
42
|
+
# @return [Integer] Monthly backups count to keep
|
43
|
+
attr_accessor :monthly_backups_to_keep
|
44
|
+
|
45
|
+
# @return [Integer] Yearly backups count to keep
|
46
|
+
attr_accessor :yearly_backups_to_keep
|
47
|
+
|
48
|
+
# @return [Integer] Volumes using current backup policy
|
49
|
+
attr_accessor :volumes_assigned
|
50
|
+
|
51
|
+
# @return [Boolean] The property to decide policy is enabled or not
|
52
|
+
attr_accessor :enabled
|
53
|
+
|
54
|
+
# @return [Array<VolumeBackups>] A list of volumes assigned to this
|
55
|
+
# policy
|
56
|
+
attr_accessor :volume_backups
|
57
|
+
|
58
|
+
|
59
|
+
#
|
60
|
+
# Mapper for BackupPolicyPatch class as Ruby Hash.
|
61
|
+
# This will be used for serialization/deserialization.
|
62
|
+
#
|
63
|
+
def self.mapper()
|
64
|
+
{
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'backupPolicyPatch',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'BackupPolicyPatch',
|
71
|
+
model_properties: {
|
72
|
+
location: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'location',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
id: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
read_only: true,
|
84
|
+
serialized_name: 'id',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
name: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
read_only: true,
|
93
|
+
serialized_name: 'name',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
type: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'type',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
tags: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'tags',
|
111
|
+
type: {
|
112
|
+
name: 'Dictionary',
|
113
|
+
value: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'StringElementType',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
},
|
123
|
+
name1: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'properties.name',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
provisioning_state: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
read_only: true,
|
136
|
+
serialized_name: 'properties.provisioningState',
|
137
|
+
type: {
|
138
|
+
name: 'String'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
daily_backups_to_keep: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'properties.dailyBackupsToKeep',
|
145
|
+
type: {
|
146
|
+
name: 'Number'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
weekly_backups_to_keep: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'properties.weeklyBackupsToKeep',
|
153
|
+
type: {
|
154
|
+
name: 'Number'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
monthly_backups_to_keep: {
|
158
|
+
client_side_validation: true,
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'properties.monthlyBackupsToKeep',
|
161
|
+
type: {
|
162
|
+
name: 'Number'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
yearly_backups_to_keep: {
|
166
|
+
client_side_validation: true,
|
167
|
+
required: false,
|
168
|
+
serialized_name: 'properties.yearlyBackupsToKeep',
|
169
|
+
type: {
|
170
|
+
name: 'Number'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
volumes_assigned: {
|
174
|
+
client_side_validation: true,
|
175
|
+
required: false,
|
176
|
+
serialized_name: 'properties.volumesAssigned',
|
177
|
+
type: {
|
178
|
+
name: 'Number'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
enabled: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
serialized_name: 'properties.enabled',
|
185
|
+
type: {
|
186
|
+
name: 'Boolean'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
volume_backups: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
serialized_name: 'properties.volumeBackups',
|
193
|
+
type: {
|
194
|
+
name: 'Sequence',
|
195
|
+
element: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
serialized_name: 'VolumeBackupsElementType',
|
199
|
+
type: {
|
200
|
+
name: 'Composite',
|
201
|
+
class_name: 'VolumeBackups'
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
212
|
+
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 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_07_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,198 @@
|
|
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
|
+
# 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
|
+
type: {
|
171
|
+
name: 'Double'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
utilized_throughput_mibps: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
read_only: true,
|
178
|
+
serialized_name: 'properties.utilizedThroughputMibps',
|
179
|
+
type: {
|
180
|
+
name: 'Double'
|
181
|
+
}
|
182
|
+
},
|
183
|
+
qos_type: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
serialized_name: 'properties.qosType',
|
187
|
+
default_value: 'Auto',
|
188
|
+
type: {
|
189
|
+
name: 'String'
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
end
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|