This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getRelationshipLink.go
58 lines (53 loc) · 2.26 KB
/
getRelationshipLink.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20170101
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupRelationshipLink(ctx *pulumi.Context, args *LookupRelationshipLinkArgs, opts ...pulumi.InvokeOption) (*LookupRelationshipLinkResult, error) {
var rv LookupRelationshipLinkResult
err := ctx.Invoke("azure-nextgen:customerinsights/v20170101:getRelationshipLink", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupRelationshipLinkArgs struct {
// The name of the hub.
HubName string `pulumi:"hubName"`
// The name of the relationship link.
RelationshipLinkName string `pulumi:"relationshipLinkName"`
// The name of the resource group.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// The relationship link resource format.
type LookupRelationshipLinkResult struct {
// Localized descriptions for the Relationship Link.
Description map[string]string `pulumi:"description"`
// Localized display name for the Relationship Link.
DisplayName map[string]string `pulumi:"displayName"`
// Resource ID.
Id string `pulumi:"id"`
// The InteractionType associated with the Relationship Link.
InteractionType string `pulumi:"interactionType"`
// The name of the Relationship Link.
LinkName string `pulumi:"linkName"`
// The mappings between Interaction and Relationship fields.
Mappings []RelationshipLinkFieldMappingResponse `pulumi:"mappings"`
// Resource name.
Name string `pulumi:"name"`
// The property references for the Profile of the Relationship.
ProfilePropertyReferences []ParticipantPropertyReferenceResponse `pulumi:"profilePropertyReferences"`
// Provisioning state.
ProvisioningState string `pulumi:"provisioningState"`
// The property references for the Related Profile of the Relationship.
RelatedProfilePropertyReferences []ParticipantPropertyReferenceResponse `pulumi:"relatedProfilePropertyReferences"`
// The relationship guid id.
RelationshipGuidId string `pulumi:"relationshipGuidId"`
// The Relationship associated with the Link.
RelationshipName string `pulumi:"relationshipName"`
// The hub name.
TenantId string `pulumi:"tenantId"`
// Resource type.
Type string `pulumi:"type"`
}