Class: Azure::BatchAI::Mgmt::V2018_03_01::Models::FileServerCreateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb

Overview

Parameters supplied to the Create operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#data_disksDataDisks

for the file server.

Returns:

  • (DataDisks)

    Settings for the data disk which would be created



32
33
34
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb', line 32

def data_disks
  @data_disks
end

#locationString

Returns The region in which to create the File Server.

Returns:

  • (String)

    The region in which to create the File Server.



16
17
18
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb', line 16

def location
  @location
end

#ssh_configurationSshConfiguration

Returns SSH configuration for the file server.

Returns:



28
29
30
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb', line 28

def ssh_configuration
  @ssh_configuration
end

#subnetResourceId

Returns Specifies the identifier of the subnet.

Returns:

  • (ResourceId)

    Specifies the identifier of the subnet.



35
36
37
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb', line 35

def subnet
  @subnet
end

#tagsHash{String => String}

with the File Server.

Returns:

  • (Hash{String => String})

    The user specified tags associated



20
21
22
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb', line 20

def tags
  @tags
end

#vm_sizeString

For information about available VM sizes for fileservers from the Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux).

Returns:

  • (String)

    The size of the virtual machine of the file server.



25
26
27
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb', line 25

def vm_size
  @vm_size
end

Class Method Details

.mapperObject

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



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# 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