你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ComputeBatchModelFactory.BatchNodeFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BatchNodeFile.
public static Azure.Compute.Batch.BatchNodeFile BatchNodeFile (string name = default, string url = default, bool? isDirectory = default, Azure.Compute.Batch.FileProperties properties = default);
static member BatchNodeFile : string * string * Nullable<bool> * Azure.Compute.Batch.FileProperties -> Azure.Compute.Batch.BatchNodeFile
Public Shared Function BatchNodeFile (Optional name As String = Nothing, Optional url As String = Nothing, Optional isDirectory As Nullable(Of Boolean) = Nothing, Optional properties As FileProperties = Nothing) As BatchNodeFile
Parameters
- name
- String
The file path.
- url
- String
The URL of the file.
- properties
- FileProperties
The file properties.
Returns
A new BatchNodeFile instance for mocking.