class Azure::BatchAI::Mgmt::V2018_05_01::Models::FileServerCreateParameters

File Server creation parameters.

Attributes

data_disks[RW]

@return [DataDisks] Data disks. Settings for the data disks which will be created for the File Server.

ssh_configuration[RW]

@return [SshConfiguration] SSH configuration. SSH configuration for the File Server node.

subnet[RW]

@return [ResourceId] Subnet identifier. Identifier of an existing virtual network subnet to put the File Server in. If not provided, a new virtual network and subnet will be created.

vm_size[RW]

@return [String] VM size. The size of the virtual machine for the File Server. For information about available VM sizes from the Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux).

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-05-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileServerCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'FileServerCreateParameters',
      model_properties: {
        vm_size: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.vmSize',
          type: {
            name: 'String'
          }
        },
        ssh_configuration: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sshConfiguration',
          type: {
            name: 'Composite',
            class_name: 'SshConfiguration'
          }
        },
        data_disks: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.dataDisks',
          type: {
            name: 'Composite',
            class_name: 'DataDisks'
          }
        },
        subnet: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subnet',
          type: {
            name: 'Composite',
            class_name: 'ResourceId'
          }
        }
      }
    }
  }
end