class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::File
Properties of the file.
Attributes
content_length[RW]
@return [Integer] The file size. The file size.
download_url[RW]
@return [String] file download url, example: mystg.blob.core.windows.net/mycontainer/myModel_1.dnn. This will be returned only if the model has been archived. During job run, this won't be returned and customers can use SSH tunneling to download. Users can use Get Remote Login Information API to get the IP address and port information of all the compute nodes running the job.
last_modified[RW]
@return [DateTime] The time at which the file was last modified. The time at which the file was last modified.
name[RW]
@return [String] file name
Public Class Methods
mapper()
click to toggle source
Mapper for File
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/file.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'File', type: { name: 'Composite', class_name: 'File', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, download_url: { client_side_validation: true, required: true, serialized_name: 'downloadUrl', type: { name: 'String' } }, last_modified: { client_side_validation: true, required: false, serialized_name: 'properties.lastModified', type: { name: 'DateTime' } }, content_length: { client_side_validation: true, required: false, serialized_name: 'properties.contentLength', type: { name: 'Number' } } } } } end