Language

AddDataAnnotationRequest Class

Definition

Request body for adding a data annotation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.AddDataAnnotationRequestTypeConverter))]
public class AddDataAnnotationRequest : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IAddDataAnnotationRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.AddDataAnnotationRequestTypeConverter))>]
type AddDataAnnotationRequest = class
    interface IAddDataAnnotationRequest
    interface IJsonSerializable
Public Class AddDataAnnotationRequest
Implements IAddDataAnnotationRequest
Inheritance
AddDataAnnotationRequest
Attributes
Implements

Constructors

Name Description
AddDataAnnotationRequest()

Creates an new AddDataAnnotationRequest 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.

Description

Optional description of the annotation

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AddDataAnnotationRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AddDataAnnotationRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IAddDataAnnotationRequest.

FromJsonString(String)

Creates a new instance of AddDataAnnotationRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AddDataAnnotationRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to