class Azure::BatchAI::Mgmt::V2018_03_01::Models::FileServerCreateParameters

Parameters supplied to the Create operation.

Attributes

data_disks[RW]

@return [DataDisks] Settings for the data disk which would be created for the file server.

location[RW]

@return [String] The region in which to create the File Server.

ssh_configuration[RW]

@return [SshConfiguration] SSH configuration for the file server.

subnet[RW]

@return [ResourceId] Specifies the identifier of the subnet.

tags[RW]

@return [Hash{String => String}] The user specified tags associated with the File Server.

vm_size[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb, line 42
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileServerCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'FileServerCreateParameters',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          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'
                }
            }
          }
        },
        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