Class: Azure::BatchAI::Mgmt::V2018_03_01::Models::FileServerCreateParameters
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2018_03_01::Models::FileServerCreateParameters
- 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
-
#data_disks ⇒ DataDisks
for the file server.
-
#location ⇒ String
The region in which to create the File Server.
-
#ssh_configuration ⇒ SshConfiguration
SSH configuration for the file server.
-
#subnet ⇒ ResourceId
Specifies the identifier of the subnet.
-
#tags ⇒ Hash{String => String}
with the File Server.
-
#vm_size ⇒ String
For information about available VM sizes for fileservers from the Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FileServerCreateParameters class as Ruby Hash.
Instance Attribute Details
#data_disks ⇒ DataDisks
for the file server.
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 |
#location ⇒ String
Returns 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_configuration ⇒ SshConfiguration
Returns SSH configuration for the file server.
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 |
#subnet ⇒ ResourceId
Returns 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 |
#tags ⇒ Hash{String => String}
with the File Server.
20 21 22 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server_create_parameters.rb', line 20 def @tags end |
#vm_size ⇒ String
For information about available VM sizes for fileservers from the Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux).
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
.mapper ⇒ Object
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 |