Class: Azure::BatchAI::Mgmt::V2018_03_01::Models::FileServer
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb
Overview
Contains information about the File Server.
Instance Attribute Summary collapse
-
#creation_time ⇒ DateTime
Time when the FileServer was created.
-
#data_disks ⇒ DataDisks
for the File Server.
-
#mount_settings ⇒ MountSettings
Details of the File Server.
-
#provisioning_state ⇒ FileServerProvisioningState
of the File Server.
-
#provisioning_state_transition_time ⇒ DateTime
Time when the status was changed.
-
#ssh_configuration ⇒ SshConfiguration
SSH settings for the File Server.
-
#subnet ⇒ ResourceId
Specifies the identifier of the subnet.
-
#vm_size ⇒ String
For information about available VM sizes for File Server from the Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux).
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FileServer class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#creation_time ⇒ DateTime
Returns Time when the FileServer was created.
37 38 39 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 37 def creation_time @creation_time end |
#data_disks ⇒ DataDisks
for the File Server.
25 26 27 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 25 def data_disks @data_disks end |
#mount_settings ⇒ MountSettings
Returns Details of the File Server.
31 32 33 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 31 def mount_settings @mount_settings end |
#provisioning_state ⇒ FileServerProvisioningState
of the File Server. Possible values: creating - The File Server is getting created. updating - The File Server creation has been accepted and it is getting updated. deleting - The user has requested that the File Server be deleted, and it is in the process of being deleted. failed - The File Server creation has failed with the specified errorCode. Details about the error code are specified in the message field. succeeded - The File Server creation has succeeded. Possible values include: ‘creating’, ‘updating’, ‘deleting’, ‘succeeded’, ‘failed’
49 50 51 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 49 def provisioning_state @provisioning_state end |
#provisioning_state_transition_time ⇒ DateTime
Returns Time when the status was changed.
34 35 36 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 34 def provisioning_state_transition_time @provisioning_state_transition_time end |
#ssh_configuration ⇒ SshConfiguration
Returns SSH settings for the File Server.
21 22 23 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 21 def ssh_configuration @ssh_configuration end |
#subnet ⇒ ResourceId
Returns Specifies the identifier of the subnet.
28 29 30 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 28 def subnet @subnet end |
#vm_size ⇒ String
For information about available VM sizes for File Server from the Virtual Machines Marketplace, see Sizes for Virtual Machines (Linux).
18 19 20 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 18 def vm_size @vm_size end |
Class Method Details
.mapper ⇒ Object
Mapper for FileServer class as Ruby Hash. This will be used for serialization/deserialization.
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 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/file_server.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FileServer', type: { name: 'Composite', class_name: 'FileServer', model_properties: { 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' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, read_only: true, 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: false, serialized_name: 'properties.vmSize', type: { name: 'String' } }, ssh_configuration: { client_side_validation: true, required: false, serialized_name: 'properties.sshConfiguration', type: { name: 'Composite', class_name: 'SshConfiguration' } }, data_disks: { client_side_validation: true, required: false, 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' } }, mount_settings: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.mountSettings', type: { name: 'Composite', class_name: 'MountSettings' } }, provisioning_state_transition_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningStateTransitionTime', type: { name: 'DateTime' } }, creation_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'FileServerProvisioningState' } } } } } end |