MetadataKeyValue Class
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.
Describes a key-value pair for image metadata.
public class MetadataKeyValue : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.MetadataKeyValue>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.MetadataKeyValue>
type MetadataKeyValue = class
interface IJsonModel<MetadataKeyValue>
interface IPersistableModel<MetadataKeyValue>
Public Class MetadataKeyValue
Implements IJsonModel(Of MetadataKeyValue), IPersistableModel(Of MetadataKeyValue)
- Inheritance
-
MetadataKeyValue
- Implements
Properties
| Name | Description |
|---|---|
| MetadataKey |
The metadata key. Known keys emitted by the service include 'Linux.AzureSecretsProvisioning.Enabled', 'OS.Name', and '{componentName}.Version' (e.g., 'AzureGuestAgent.Version'). All values are non-sensitive configuration; no secrets, credentials, or cryptographic material transit this field. |
| MetadataValue |
The metadata value. Contains non-sensitive configuration such as capability flags ('true'/'false'), OS names ('Linux', 'Windows'), and version strings (e.g., '1.0.0'). |