ImageMetadataProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ImageMetadataProfile
- com.
Implements
public final class ImageMetadataProfile
implements JsonSerializable<ImageMetadataProfile>
Describes the metadata profile of an image.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Image |
fromJson(JsonReader jsonReader)
Reads an instance of Image |
|
List<Metadata |
internalMetadataList()
Get the internal |
|
List<Metadata |
publicMetadataList()
Get the public |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Metadata |
type()
Get the type property: The type of metadata. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ImageMetadataProfile fromJson(JsonReader jsonReader)
Reads an instance of ImageMetadataProfile from the JsonReader.
Parameters:
Returns:
Throws:
internalMetadataList
public List<MetadataKeyValue> internalMetadataList()
Get the internalMetadataList property: The list of internal metadata key-value pairs. Contains non-sensitive service-internal metadata for diagnostics and tracking. No secret material is emitted in this list.
Returns:
publicMetadataList
public List<MetadataKeyValue> publicMetadataList()
Get the publicMetadataList property: The list of public metadata key-value pairs. Contains non-sensitive image capability metadata such as supported OS, component names, and versions. No secret material is emitted in this list.
Returns:
toJson
type
public MetadataType type()
Get the type property: The type of metadata.
Returns:
validate
public void validate()
Validates the instance.