class Azure::NetApp::Mgmt::V2020_07_01::Models::Volume
Volume
resource
Attributes
@return [String] Baremetal Tenant ID. Unique Baremetal Tenant Identifier.
@return [String] Creation Token or File Path. A unique file path for the volume. Used when creating mount targets
@return [VolumePropertiesDataProtection] DataProtection. DataProtection type volumes include an object containing details of the replication
@return [VolumePropertiesExportPolicy] exportPolicy. Set of export policy rules
@return [String] FileSystem ID. Unique FileSystem Identifier.
@return [String] Resource Id
@return [Boolean] Restoring
@return [Boolean] Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. Default value: false .
@return [String] Resource location
@return [Array<MountTargetProperties>] mountTargets. List of mount targets
@return [String] Resource name
@return [Array<String>] protocolTypes. Set of protocol types
@return [String] Azure
lifecycle management
@return [SecurityStyle] The security style of volume. Possible values include: 'ntfs', 'unix'
@return [ServiceLevel] serviceLevel. The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: 'Premium' .
@return [Boolean] If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true).
@return [String] The Azure
Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes
@return [Float] Maximum throughput in Mibps that can be achieved by this volume.
@return [String] Resource type
@return [Integer] usageThreshold. Maximum storage quota allowed for a 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 .
@return [String] What type of volume is this
Public Class Methods
Mapper for Volume
class as Ruby Hash. This will be used for serialization/deserialization.
# 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