Class: Azure::NetApp::Mgmt::V2020_07_01::Models::Volume
- Inherits:
-
Object
- Object
- Azure::NetApp::Mgmt::V2020_07_01::Models::Volume
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb
Overview
Volume resource
Instance Attribute Summary collapse
-
#backup_id ⇒ String
identify the Backup.
-
#baremetal_tenant_id ⇒ String
Identifier.
-
#creation_token ⇒ String
the volume.
-
#data_protection ⇒ VolumePropertiesDataProtection
type volumes include an object containing details of the replication.
-
#export_policy ⇒ VolumePropertiesExportPolicy
policy rules.
-
#file_system_id ⇒ String
FileSystem ID.
-
#id ⇒ String
Resource Id.
-
#is_restoring ⇒ Boolean
Restoring.
-
#kerberos_enabled ⇒ Boolean
with swagger version 2020-05-01 or later.
-
#location ⇒ String
Resource location.
-
#mount_targets ⇒ Array<MountTargetProperties>
targets.
-
#name ⇒ String
Resource name.
-
#protocol_types ⇒ Array<String>
ProtocolTypes.
-
#provisioning_state ⇒ String
Azure lifecycle management.
-
#security_style ⇒ SecurityStyle
include: ‘ntfs’, ‘unix’.
-
#service_level ⇒ ServiceLevel
system.
-
#snapshot_directory_visible ⇒ Boolean
.snapshot directory which provides access to each of the volume’s snapshots (default to true).
-
#snapshot_id ⇒ String
identify the Snapshot.
-
#subnet_id ⇒ String
have the delegation Microsoft.NetApp/volumes.
-
#tags ⇒ Hash{String => String}
Resource tags.
-
#throughput_mibps ⇒ Float
this volume.
-
#type ⇒ String
Resource type.
-
#usage_threshold ⇒ Integer
file system in bytes.
-
#volume_type ⇒ String
What type of volume is this.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Volume class as Ruby Hash.
Instance Attribute Details
#backup_id ⇒ String
identify the Backup.
64 65 66 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 64 def backup_id @backup_id end |
#baremetal_tenant_id ⇒ String
Identifier.
68 69 70 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 68 def @baremetal_tenant_id end |
#creation_token ⇒ String
the volume. Used when creating mount targets
35 36 37 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 35 def creation_token @creation_token end |
#data_protection ⇒ VolumePropertiesDataProtection
type volumes include an object containing details of the replication
83 84 85 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 83 def data_protection @data_protection end |
#export_policy ⇒ VolumePropertiesExportPolicy
policy rules
50 51 52 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 50 def export_policy @export_policy end |
#file_system_id ⇒ String
Returns FileSystem ID. Unique FileSystem Identifier.
31 32 33 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 31 def file_system_id @file_system_id end |
#id ⇒ String
Returns Resource Id.
19 20 21 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 19 def id @id end |
#is_restoring ⇒ Boolean
Returns Restoring.
86 87 88 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 86 def is_restoring @is_restoring end |
#kerberos_enabled ⇒ Boolean
with swagger version 2020-05-01 or later. Default value: false .
95 96 97 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 95 def kerberos_enabled @kerberos_enabled end |
#location ⇒ String
Returns Resource location.
16 17 18 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 16 def location @location end |
#mount_targets ⇒ Array<MountTargetProperties>
targets
76 77 78 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 76 def mount_targets @mount_targets end |
#name ⇒ String
Returns Resource name.
22 23 24 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 22 def name @name end |
#protocol_types ⇒ Array<String>
Returns protocolTypes. Set of protocol types.
53 54 55 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 53 def protocol_types @protocol_types end |
#provisioning_state ⇒ String
Returns Azure lifecycle management.
56 57 58 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 56 def provisioning_state @provisioning_state end |
#security_style ⇒ SecurityStyle
include: ‘ntfs’, ‘unix’
99 100 101 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 99 def security_style @security_style end |
#service_level ⇒ ServiceLevel
system. Possible values include: ‘Standard’, ‘Premium’, ‘Ultra’. Default value: ‘Premium’ .
40 41 42 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 40 def service_level @service_level end |
#snapshot_directory_visible ⇒ Boolean
.snapshot directory which provides access to each of the volume’s snapshots (default to true).
91 92 93 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 91 def snapshot_directory_visible @snapshot_directory_visible end |
#snapshot_id ⇒ String
identify the Snapshot.
60 61 62 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 60 def snapshot_id @snapshot_id end |
#subnet_id ⇒ String
have the delegation Microsoft.NetApp/volumes
72 73 74 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 72 def subnet_id @subnet_id end |
#tags ⇒ Hash{String => String}
Returns Resource tags.
28 29 30 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 28 def @tags end |
#throughput_mibps ⇒ Float
this volume.
103 104 105 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 103 def throughput_mibps @throughput_mibps end |
#type ⇒ String
Returns Resource type.
25 26 27 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 25 def type @type end |
#usage_threshold ⇒ Integer
file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. Default value: 107374182400 .
46 47 48 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 46 def usage_threshold @usage_threshold end |
#volume_type ⇒ String
Returns What type of volume is this.
79 80 81 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 79 def volume_type @volume_type end |
Class Method Details
.mapper ⇒ Object
Mapper for Volume class as Ruby Hash. This will be used for serialization/deserialization.
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'lib/2020-07-01/generated/azure_mgmt_netapp/models/volume.rb', line 110 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'volume', type: { name: 'Composite', class_name: 'Volume', model_properties: { location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, file_system_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fileSystemId', constraints: { MaxLength: 36, MinLength: 36, 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}$' }, type: { name: 'String' } }, creation_token: { client_side_validation: true, required: true, serialized_name: 'properties.creationToken', constraints: { MaxLength: 80, MinLength: 1, Pattern: '^[a-zA-Z][a-zA-Z0-9\-]{0,79}$' }, type: { name: 'String' } }, service_level: { client_side_validation: true, required: false, serialized_name: 'properties.serviceLevel', default_value: 'Premium', type: { name: 'String' } }, usage_threshold: { client_side_validation: true, required: true, serialized_name: 'properties.usageThreshold', default_value: 107374182400, constraints: { InclusiveMaximum: 109951162777600, InclusiveMinimum: 107374182400 }, type: { name: 'Number' } }, export_policy: { client_side_validation: true, required: false, serialized_name: 'properties.exportPolicy', type: { name: 'Composite', class_name: 'VolumePropertiesExportPolicy' } }, protocol_types: { client_side_validation: true, required: false, serialized_name: 'properties.protocolTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, snapshot_id: { client_side_validation: true, required: false, serialized_name: 'properties.snapshotId', constraints: { MaxLength: 36, MinLength: 36, 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}|(\\?([^\/]*[\/])*)([^\/]+)$' }, type: { name: 'String' } }, backup_id: { client_side_validation: true, required: false, serialized_name: 'properties.backupId', constraints: { MaxLength: 36, MinLength: 36, 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}|(\\?([^\/]*[\/])*)([^\/]+)$' }, type: { name: 'String' } }, baremetal_tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.baremetalTenantId', type: { name: 'String' } }, subnet_id: { client_side_validation: true, required: true, serialized_name: 'properties.subnetId', type: { name: 'String' } }, mount_targets: { client_side_validation: true, required: false, serialized_name: 'properties.mountTargets', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MountTargetPropertiesElementType', type: { name: 'Composite', class_name: 'MountTargetProperties' } } } }, volume_type: { client_side_validation: true, required: false, serialized_name: 'properties.volumeType', type: { name: 'String' } }, data_protection: { client_side_validation: true, required: false, serialized_name: 'properties.dataProtection', type: { name: 'Composite', class_name: 'VolumePropertiesDataProtection' } }, is_restoring: { client_side_validation: true, required: false, serialized_name: 'properties.isRestoring', type: { name: 'Boolean' } }, snapshot_directory_visible: { client_side_validation: true, required: false, serialized_name: 'properties.snapshotDirectoryVisible', type: { name: 'Boolean' } }, kerberos_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.kerberosEnabled', default_value: false, type: { name: 'Boolean' } }, security_style: { client_side_validation: true, required: false, serialized_name: 'properties.securityStyle', type: { name: 'String' } }, throughput_mibps: { client_side_validation: true, required: false, serialized_name: 'properties.throughputMibps', constraints: { InclusiveMaximum: 4500, InclusiveMinimum: 1, MultipleOf: 0.001 }, type: { name: 'Double' } } } } } end |