DataAnnotation 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.
A single data annotation on an entity
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DataAnnotationTypeConverter))]
public class DataAnnotation : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDataAnnotation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DataAnnotationTypeConverter))>]
type DataAnnotation = class
interface IDataAnnotation
interface IJsonSerializable
Public Class DataAnnotation
Implements IDataAnnotation
- Inheritance
-
DataAnnotation
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| DataAnnotation() |
Creates an new DataAnnotation instance. |
Properties
| Name | Description |
|---|---|
| AnnotationDetail |
Annotation details as a dynamic key-value pair bag. Service-enforced limits: a maximum of 10 entries per annotation and a maximum value length of 256 characters. Requests exceeding these limits will be rejected with a 400 response. |
| AnnotationId |
Auto-assigned identifier for the annotation |
| CreatedAt |
Timestamp when the annotation was created |
| Description |
Optional description of the annotation |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DataAnnotation. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DataAnnotation. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDataAnnotation. |
| FromJsonString(String) |
Creates a new instance of DataAnnotation, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of DataAnnotation into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |