class Azure::NetApp::Mgmt::V2020_09_01::Models::Volume

Volume resource

Attributes

backup_id[RW]

@return [String] Backup ID. UUID v4 or resource identifier used to identify the Backup.

baremetal_tenant_id[RW]

@return [String] Baremetal Tenant ID. Unique Baremetal Tenant Identifier.

creation_token[RW]

@return [String] Creation Token or File Path. A unique file path for the volume. Used when creating mount targets

data_protection[RW]

@return [VolumePropertiesDataProtection] DataProtection. DataProtection type volumes include an object containing details of the replication

export_policy[RW]

@return [VolumePropertiesExportPolicy] exportPolicy. Set of export policy rules

file_system_id[RW]

@return [String] FileSystem ID. Unique FileSystem Identifier.

id[RW]

@return [String] Resource Id

is_restoring[RW]

@return [Boolean] Restoring

kerberos_enabled[RW]

@return [Boolean] Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. Default value: false .

location[RW]

@return [String] Resource location

mount_targets[RW]

@return [Array<MountTargetProperties>] mountTargets. List of mount targets

name[RW]

@return [String] Resource name

protocol_types[RW]

@return [Array<String>] protocolTypes. Set of protocol types

provisioning_state[RW]

@return [String] Azure lifecycle management

security_style[RW]

@return [SecurityStyle] The security style of volume. Possible values include: 'ntfs', 'unix'

service_level[RW]

@return [ServiceLevel] serviceLevel. The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: 'Premium' .

smb_continuously_available[RW]

@return [Boolean] Enables continuously available share property for smb volume. Only applicable for SMB volume. Default value: false .

smb_encryption[RW]

@return [Boolean] Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. Default value: false .

snapshot_directory_visible[RW]

@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).

snapshot_id[RW]

@return [String] Snapshot ID. UUID v4 or resource identifier used to identify the Snapshot.

subnet_id[RW]

@return [String] The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes

tags[RW]

@return [Hash{String => String}] Resource tags

throughput_mibps[RW]

@return [Float] Maximum throughput in Mibps that can be achieved by this volume.

type[RW]

@return [String] Resource type

usage_threshold[RW]

@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 .

volume_type[RW]

@return [String] What type of volume is this

Public Class Methods

mapper() click to toggle source

Mapper for Volume class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-09-01/generated/azure_mgmt_netapp/models/volume.rb, line 119
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'
          }
        },
        smb_encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.smbEncryption',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        smb_continuously_available: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.smbContinuouslyAvailable',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        throughput_mibps: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.throughputMibps',
          constraints: {
            InclusiveMaximum: 4500,
            InclusiveMinimum: 1,
            MultipleOf: 0.001
          },
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end