Share via


ComputeBatchModelFactory.BatchMetadataItem(String, String) Method

Definition

The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.

public static Azure.Compute.Batch.BatchMetadataItem BatchMetadataItem(string name = default, string value = default);
static member BatchMetadataItem : string * string -> Azure.Compute.Batch.BatchMetadataItem
Public Shared Function BatchMetadataItem (Optional name As String = Nothing, Optional value As String = Nothing) As BatchMetadataItem

Parameters

name
String

The name of the metadata item.

value
String

The value of the metadata item.

Returns

A new BatchMetadataItem instance for mocking.

Applies to