Freigeben über


AtlasRelationship Class

Definition

Atlas relationship instance.

public class AtlasRelationship : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Purview.DataMap.AtlasRelationship>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Purview.DataMap.AtlasRelationship>
type AtlasRelationship = class
    interface IJsonModel<AtlasRelationship>
    interface IPersistableModel<AtlasRelationship>
Public Class AtlasRelationship
Implements IJsonModel(Of AtlasRelationship), IPersistableModel(Of AtlasRelationship)
Inheritance
AtlasRelationship
Implements

Constructors

AtlasRelationship()

Initializes a new instance of AtlasRelationship.

Properties

Attributes

The attributes of the struct.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

CreatedBy

The user who created the record.

CreateTime

The created time of the record.

End1

Reference to an object-instance of a type - like entity.

End2

Reference to an object-instance of a type - like entity.

Guid

The GUID of the relationship.

HomeId

The home ID of the relationship.

Label

The label of the relationship.

LastModifiedTS

ETag for concurrency control.

ProvenanceType

Used to record the provenance of an instance of an entity or relationship.

Status

The enum of relationship status.

TypeName

The name of the type.

UpdatedBy

The user who updated the record.

UpdateTime

The update time of the record.

Version

The version of the relationship.

Explicit Interface Implementations

IJsonModel<AtlasRelationship>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AtlasRelationship>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AtlasRelationship>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AtlasRelationship>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AtlasRelationship>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to