PurviewRelationships.Create(RequestContent, RequestContext) Method
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.
Create a new relationship between entities.
public virtual Azure.Response Create (Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member Create : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.Create : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function Create (content As RequestContent, Optional context As RequestContext = Nothing) As Response
Parameters
- content
- RequestContent
The content to send as the body of the request.
- context
- RequestContext
The request context, which can override default behaviors on the request on a per-call basis.
Returns
Exceptions
content
is null.
Remarks
Schema for Request Body
:
{
attributes: Dictionary<string, AnyObject>,
typeName: string,
lastModifiedTS: string,
createTime: number,
createdBy: string,
end1: {
guid: string,
typeName: string,
uniqueAttributes: Dictionary<string, AnyObject>
},
end2: AtlasObjectId,
guid: string,
homeId: string,
label: string,
provenanceType: number,
status: "ACTIVE" | "DELETED",
updateTime: number,
updatedBy: string,
version: number
}
Schema for Response Body
:
{
attributes: Dictionary<string, AnyObject>,
typeName: string,
lastModifiedTS: string,
createTime: number,
createdBy: string,
end1: {
guid: string,
typeName: string,
uniqueAttributes: Dictionary<string, AnyObject>
},
end2: AtlasObjectId,
guid: string,
homeId: string,
label: string,
provenanceType: number,
status: "ACTIVE" | "DELETED",
updateTime: number,
updatedBy: string,
version: number
}
Schema for Response Error
:
{
requestId: string,
errorCode: string,
errorMessage: string
}
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET