Partilhar via


ComputeBatchModelFactory.BatchNodeFile Method

Definition

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.

isDirectory
Nullable<Boolean>

Whether the object represents a directory.

properties
FileProperties

The file properties.

Returns

A new BatchNodeFile instance for mocking.

Applies to