1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataplex
  5. EntryLink
Google Cloud v9.4.0 published on Tuesday, Nov 4, 2025 by Pulumi

gcp.dataplex.EntryLink

Start a Neo task
Explain and create a gcp.dataplex.EntryLink resource
gcp logo
Google Cloud v9.4.0 published on Tuesday, Nov 4, 2025 by Pulumi

    EntryLink represents a link between two Entries.

    To get more information about EntryLink, see:

    Example Usage

    Dataplex Entry Link Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const entry_group_basic = new gcp.dataplex.EntryGroup("entry-group-basic", {
        location: "us-central1",
        entryGroupId: "tf-test-entry-group_64336",
        project: "1111111111111",
    });
    const entry_type_basic = new gcp.dataplex.EntryType("entry-type-basic", {
        entryTypeId: "tf-test-entry-type_74000",
        location: "us-central1",
        project: "1111111111111",
    });
    const source = new gcp.dataplex.Entry("source", {
        location: "us-central1",
        entryGroupId: entry_group_basic.entryGroupId,
        entryId: "tf-test-source-entry_34962",
        entryType: entry_type_basic.name,
        project: "1111111111111",
    });
    const target = new gcp.dataplex.Entry("target", {
        location: "us-central1",
        entryGroupId: entry_group_basic.entryGroupId,
        entryId: "tf-test-target-entry_75125",
        entryType: entry_type_basic.name,
        project: "1111111111111",
    });
    const basicEntryLink = new gcp.dataplex.EntryLink("basic_entry_link", {
        project: "1111111111111",
        location: "us-central1",
        entryGroupId: entry_group_basic.entryGroupId,
        entryLinkId: "tf-test-entry-link_88722",
        entryLinkType: "projects/655216118709/locations/global/entryLinkTypes/related",
        entryReferences: [
            {
                name: source.name,
            },
            {
                name: target.name,
            },
        ],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    entry_group_basic = gcp.dataplex.EntryGroup("entry-group-basic",
        location="us-central1",
        entry_group_id="tf-test-entry-group_64336",
        project="1111111111111")
    entry_type_basic = gcp.dataplex.EntryType("entry-type-basic",
        entry_type_id="tf-test-entry-type_74000",
        location="us-central1",
        project="1111111111111")
    source = gcp.dataplex.Entry("source",
        location="us-central1",
        entry_group_id=entry_group_basic.entry_group_id,
        entry_id="tf-test-source-entry_34962",
        entry_type=entry_type_basic.name,
        project="1111111111111")
    target = gcp.dataplex.Entry("target",
        location="us-central1",
        entry_group_id=entry_group_basic.entry_group_id,
        entry_id="tf-test-target-entry_75125",
        entry_type=entry_type_basic.name,
        project="1111111111111")
    basic_entry_link = gcp.dataplex.EntryLink("basic_entry_link",
        project="1111111111111",
        location="us-central1",
        entry_group_id=entry_group_basic.entry_group_id,
        entry_link_id="tf-test-entry-link_88722",
        entry_link_type="projects/655216118709/locations/global/entryLinkTypes/related",
        entry_references=[
            {
                "name": source.name,
            },
            {
                "name": target.name,
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/dataplex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		entry_group_basic, err := dataplex.NewEntryGroup(ctx, "entry-group-basic", &dataplex.EntryGroupArgs{
    			Location:     pulumi.String("us-central1"),
    			EntryGroupId: pulumi.String("tf-test-entry-group_64336"),
    			Project:      pulumi.String("1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		entry_type_basic, err := dataplex.NewEntryType(ctx, "entry-type-basic", &dataplex.EntryTypeArgs{
    			EntryTypeId: pulumi.String("tf-test-entry-type_74000"),
    			Location:    pulumi.String("us-central1"),
    			Project:     pulumi.String("1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		source, err := dataplex.NewEntry(ctx, "source", &dataplex.EntryArgs{
    			Location:     pulumi.String("us-central1"),
    			EntryGroupId: entry_group_basic.EntryGroupId,
    			EntryId:      pulumi.String("tf-test-source-entry_34962"),
    			EntryType:    entry_type_basic.Name,
    			Project:      pulumi.String("1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		target, err := dataplex.NewEntry(ctx, "target", &dataplex.EntryArgs{
    			Location:     pulumi.String("us-central1"),
    			EntryGroupId: entry_group_basic.EntryGroupId,
    			EntryId:      pulumi.String("tf-test-target-entry_75125"),
    			EntryType:    entry_type_basic.Name,
    			Project:      pulumi.String("1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dataplex.NewEntryLink(ctx, "basic_entry_link", &dataplex.EntryLinkArgs{
    			Project:       pulumi.String("1111111111111"),
    			Location:      pulumi.String("us-central1"),
    			EntryGroupId:  entry_group_basic.EntryGroupId,
    			EntryLinkId:   pulumi.String("tf-test-entry-link_88722"),
    			EntryLinkType: pulumi.String("projects/655216118709/locations/global/entryLinkTypes/related"),
    			EntryReferences: dataplex.EntryLinkEntryReferenceArray{
    				&dataplex.EntryLinkEntryReferenceArgs{
    					Name: source.Name,
    				},
    				&dataplex.EntryLinkEntryReferenceArgs{
    					Name: target.Name,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var entry_group_basic = new Gcp.DataPlex.EntryGroup("entry-group-basic", new()
        {
            Location = "us-central1",
            EntryGroupId = "tf-test-entry-group_64336",
            Project = "1111111111111",
        });
    
        var entry_type_basic = new Gcp.DataPlex.EntryType("entry-type-basic", new()
        {
            EntryTypeId = "tf-test-entry-type_74000",
            Location = "us-central1",
            Project = "1111111111111",
        });
    
        var source = new Gcp.DataPlex.Entry("source", new()
        {
            Location = "us-central1",
            EntryGroupId = entry_group_basic.EntryGroupId,
            EntryId = "tf-test-source-entry_34962",
            EntryType = entry_type_basic.Name,
            Project = "1111111111111",
        });
    
        var target = new Gcp.DataPlex.Entry("target", new()
        {
            Location = "us-central1",
            EntryGroupId = entry_group_basic.EntryGroupId,
            EntryId = "tf-test-target-entry_75125",
            EntryType = entry_type_basic.Name,
            Project = "1111111111111",
        });
    
        var basicEntryLink = new Gcp.DataPlex.EntryLink("basic_entry_link", new()
        {
            Project = "1111111111111",
            Location = "us-central1",
            EntryGroupId = entry_group_basic.EntryGroupId,
            EntryLinkId = "tf-test-entry-link_88722",
            EntryLinkType = "projects/655216118709/locations/global/entryLinkTypes/related",
            EntryReferences = new[]
            {
                new Gcp.DataPlex.Inputs.EntryLinkEntryReferenceArgs
                {
                    Name = source.Name,
                },
                new Gcp.DataPlex.Inputs.EntryLinkEntryReferenceArgs
                {
                    Name = target.Name,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.dataplex.EntryGroup;
    import com.pulumi.gcp.dataplex.EntryGroupArgs;
    import com.pulumi.gcp.dataplex.EntryType;
    import com.pulumi.gcp.dataplex.EntryTypeArgs;
    import com.pulumi.gcp.dataplex.Entry;
    import com.pulumi.gcp.dataplex.EntryArgs;
    import com.pulumi.gcp.dataplex.EntryLink;
    import com.pulumi.gcp.dataplex.EntryLinkArgs;
    import com.pulumi.gcp.dataplex.inputs.EntryLinkEntryReferenceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var entry_group_basic = new EntryGroup("entry-group-basic", EntryGroupArgs.builder()
                .location("us-central1")
                .entryGroupId("tf-test-entry-group_64336")
                .project("1111111111111")
                .build());
    
            var entry_type_basic = new EntryType("entry-type-basic", EntryTypeArgs.builder()
                .entryTypeId("tf-test-entry-type_74000")
                .location("us-central1")
                .project("1111111111111")
                .build());
    
            var source = new Entry("source", EntryArgs.builder()
                .location("us-central1")
                .entryGroupId(entry_group_basic.entryGroupId())
                .entryId("tf-test-source-entry_34962")
                .entryType(entry_type_basic.name())
                .project("1111111111111")
                .build());
    
            var target = new Entry("target", EntryArgs.builder()
                .location("us-central1")
                .entryGroupId(entry_group_basic.entryGroupId())
                .entryId("tf-test-target-entry_75125")
                .entryType(entry_type_basic.name())
                .project("1111111111111")
                .build());
    
            var basicEntryLink = new EntryLink("basicEntryLink", EntryLinkArgs.builder()
                .project("1111111111111")
                .location("us-central1")
                .entryGroupId(entry_group_basic.entryGroupId())
                .entryLinkId("tf-test-entry-link_88722")
                .entryLinkType("projects/655216118709/locations/global/entryLinkTypes/related")
                .entryReferences(            
                    EntryLinkEntryReferenceArgs.builder()
                        .name(source.name())
                        .build(),
                    EntryLinkEntryReferenceArgs.builder()
                        .name(target.name())
                        .build())
                .build());
    
        }
    }
    
    resources:
      entry-group-basic:
        type: gcp:dataplex:EntryGroup
        properties:
          location: us-central1
          entryGroupId: tf-test-entry-group_64336
          project: '1111111111111'
      source:
        type: gcp:dataplex:Entry
        properties:
          location: us-central1
          entryGroupId: ${["entry-group-basic"].entryGroupId}
          entryId: tf-test-source-entry_34962
          entryType: ${["entry-type-basic"].name}
          project: '1111111111111'
      entry-type-basic:
        type: gcp:dataplex:EntryType
        properties:
          entryTypeId: tf-test-entry-type_74000
          location: us-central1
          project: '1111111111111'
      target:
        type: gcp:dataplex:Entry
        properties:
          location: us-central1
          entryGroupId: ${["entry-group-basic"].entryGroupId}
          entryId: tf-test-target-entry_75125
          entryType: ${["entry-type-basic"].name}
          project: '1111111111111'
      basicEntryLink:
        type: gcp:dataplex:EntryLink
        name: basic_entry_link
        properties:
          project: '1111111111111'
          location: us-central1
          entryGroupId: ${["entry-group-basic"].entryGroupId}
          entryLinkId: tf-test-entry-link_88722
          entryLinkType: projects/655216118709/locations/global/entryLinkTypes/related
          entryReferences:
            - name: ${source.name}
            - name: ${target.name}
    

    Dataplex Entry Link Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const entry_group_full = new gcp.dataplex.EntryGroup("entry-group-full", {
        location: "us-central1",
        entryGroupId: "tf-test-entry-group-full_39249",
        project: "1111111111111",
    });
    const entry_type_full = new gcp.dataplex.EntryType("entry-type-full", {
        entryTypeId: "tf-test-entry-type-full_16511",
        location: "us-central1",
        project: "1111111111111",
    });
    const source = new gcp.dataplex.Entry("source", {
        location: "us-central1",
        entryGroupId: entry_group_full.entryGroupId,
        entryId: "tf-test-source-entry-full_74391",
        entryType: entry_type_full.name,
        project: "1111111111111",
    });
    const target = new gcp.dataplex.Entry("target", {
        location: "us-central1",
        entryGroupId: entry_group_full.entryGroupId,
        entryId: "tf-test-target-entry-full_8493",
        entryType: entry_type_full.name,
        project: "1111111111111",
    });
    const fullEntryLink = new gcp.dataplex.EntryLink("full_entry_link", {
        project: "1111111111111",
        location: "us-central1",
        entryGroupId: entry_group_full.entryGroupId,
        entryLinkId: "tf-test-entry-link-full_9106",
        entryLinkType: "projects/655216118709/locations/global/entryLinkTypes/related",
        entryReferences: [
            {
                name: source.name,
                path: "",
            },
            {
                name: target.name,
            },
        ],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    entry_group_full = gcp.dataplex.EntryGroup("entry-group-full",
        location="us-central1",
        entry_group_id="tf-test-entry-group-full_39249",
        project="1111111111111")
    entry_type_full = gcp.dataplex.EntryType("entry-type-full",
        entry_type_id="tf-test-entry-type-full_16511",
        location="us-central1",
        project="1111111111111")
    source = gcp.dataplex.Entry("source",
        location="us-central1",
        entry_group_id=entry_group_full.entry_group_id,
        entry_id="tf-test-source-entry-full_74391",
        entry_type=entry_type_full.name,
        project="1111111111111")
    target = gcp.dataplex.Entry("target",
        location="us-central1",
        entry_group_id=entry_group_full.entry_group_id,
        entry_id="tf-test-target-entry-full_8493",
        entry_type=entry_type_full.name,
        project="1111111111111")
    full_entry_link = gcp.dataplex.EntryLink("full_entry_link",
        project="1111111111111",
        location="us-central1",
        entry_group_id=entry_group_full.entry_group_id,
        entry_link_id="tf-test-entry-link-full_9106",
        entry_link_type="projects/655216118709/locations/global/entryLinkTypes/related",
        entry_references=[
            {
                "name": source.name,
                "path": "",
            },
            {
                "name": target.name,
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/dataplex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		entry_group_full, err := dataplex.NewEntryGroup(ctx, "entry-group-full", &dataplex.EntryGroupArgs{
    			Location:     pulumi.String("us-central1"),
    			EntryGroupId: pulumi.String("tf-test-entry-group-full_39249"),
    			Project:      pulumi.String("1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		entry_type_full, err := dataplex.NewEntryType(ctx, "entry-type-full", &dataplex.EntryTypeArgs{
    			EntryTypeId: pulumi.String("tf-test-entry-type-full_16511"),
    			Location:    pulumi.String("us-central1"),
    			Project:     pulumi.String("1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		source, err := dataplex.NewEntry(ctx, "source", &dataplex.EntryArgs{
    			Location:     pulumi.String("us-central1"),
    			EntryGroupId: entry_group_full.EntryGroupId,
    			EntryId:      pulumi.String("tf-test-source-entry-full_74391"),
    			EntryType:    entry_type_full.Name,
    			Project:      pulumi.String("1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		target, err := dataplex.NewEntry(ctx, "target", &dataplex.EntryArgs{
    			Location:     pulumi.String("us-central1"),
    			EntryGroupId: entry_group_full.EntryGroupId,
    			EntryId:      pulumi.String("tf-test-target-entry-full_8493"),
    			EntryType:    entry_type_full.Name,
    			Project:      pulumi.String("1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dataplex.NewEntryLink(ctx, "full_entry_link", &dataplex.EntryLinkArgs{
    			Project:       pulumi.String("1111111111111"),
    			Location:      pulumi.String("us-central1"),
    			EntryGroupId:  entry_group_full.EntryGroupId,
    			EntryLinkId:   pulumi.String("tf-test-entry-link-full_9106"),
    			EntryLinkType: pulumi.String("projects/655216118709/locations/global/entryLinkTypes/related"),
    			EntryReferences: dataplex.EntryLinkEntryReferenceArray{
    				&dataplex.EntryLinkEntryReferenceArgs{
    					Name: source.Name,
    					Path: pulumi.String(""),
    				},
    				&dataplex.EntryLinkEntryReferenceArgs{
    					Name: target.Name,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var entry_group_full = new Gcp.DataPlex.EntryGroup("entry-group-full", new()
        {
            Location = "us-central1",
            EntryGroupId = "tf-test-entry-group-full_39249",
            Project = "1111111111111",
        });
    
        var entry_type_full = new Gcp.DataPlex.EntryType("entry-type-full", new()
        {
            EntryTypeId = "tf-test-entry-type-full_16511",
            Location = "us-central1",
            Project = "1111111111111",
        });
    
        var source = new Gcp.DataPlex.Entry("source", new()
        {
            Location = "us-central1",
            EntryGroupId = entry_group_full.EntryGroupId,
            EntryId = "tf-test-source-entry-full_74391",
            EntryType = entry_type_full.Name,
            Project = "1111111111111",
        });
    
        var target = new Gcp.DataPlex.Entry("target", new()
        {
            Location = "us-central1",
            EntryGroupId = entry_group_full.EntryGroupId,
            EntryId = "tf-test-target-entry-full_8493",
            EntryType = entry_type_full.Name,
            Project = "1111111111111",
        });
    
        var fullEntryLink = new Gcp.DataPlex.EntryLink("full_entry_link", new()
        {
            Project = "1111111111111",
            Location = "us-central1",
            EntryGroupId = entry_group_full.EntryGroupId,
            EntryLinkId = "tf-test-entry-link-full_9106",
            EntryLinkType = "projects/655216118709/locations/global/entryLinkTypes/related",
            EntryReferences = new[]
            {
                new Gcp.DataPlex.Inputs.EntryLinkEntryReferenceArgs
                {
                    Name = source.Name,
                    Path = "",
                },
                new Gcp.DataPlex.Inputs.EntryLinkEntryReferenceArgs
                {
                    Name = target.Name,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.dataplex.EntryGroup;
    import com.pulumi.gcp.dataplex.EntryGroupArgs;
    import com.pulumi.gcp.dataplex.EntryType;
    import com.pulumi.gcp.dataplex.EntryTypeArgs;
    import com.pulumi.gcp.dataplex.Entry;
    import com.pulumi.gcp.dataplex.EntryArgs;
    import com.pulumi.gcp.dataplex.EntryLink;
    import com.pulumi.gcp.dataplex.EntryLinkArgs;
    import com.pulumi.gcp.dataplex.inputs.EntryLinkEntryReferenceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var entry_group_full = new EntryGroup("entry-group-full", EntryGroupArgs.builder()
                .location("us-central1")
                .entryGroupId("tf-test-entry-group-full_39249")
                .project("1111111111111")
                .build());
    
            var entry_type_full = new EntryType("entry-type-full", EntryTypeArgs.builder()
                .entryTypeId("tf-test-entry-type-full_16511")
                .location("us-central1")
                .project("1111111111111")
                .build());
    
            var source = new Entry("source", EntryArgs.builder()
                .location("us-central1")
                .entryGroupId(entry_group_full.entryGroupId())
                .entryId("tf-test-source-entry-full_74391")
                .entryType(entry_type_full.name())
                .project("1111111111111")
                .build());
    
            var target = new Entry("target", EntryArgs.builder()
                .location("us-central1")
                .entryGroupId(entry_group_full.entryGroupId())
                .entryId("tf-test-target-entry-full_8493")
                .entryType(entry_type_full.name())
                .project("1111111111111")
                .build());
    
            var fullEntryLink = new EntryLink("fullEntryLink", EntryLinkArgs.builder()
                .project("1111111111111")
                .location("us-central1")
                .entryGroupId(entry_group_full.entryGroupId())
                .entryLinkId("tf-test-entry-link-full_9106")
                .entryLinkType("projects/655216118709/locations/global/entryLinkTypes/related")
                .entryReferences(            
                    EntryLinkEntryReferenceArgs.builder()
                        .name(source.name())
                        .path("")
                        .build(),
                    EntryLinkEntryReferenceArgs.builder()
                        .name(target.name())
                        .build())
                .build());
    
        }
    }
    
    resources:
      entry-group-full:
        type: gcp:dataplex:EntryGroup
        properties:
          location: us-central1
          entryGroupId: tf-test-entry-group-full_39249
          project: '1111111111111'
      source:
        type: gcp:dataplex:Entry
        properties:
          location: us-central1
          entryGroupId: ${["entry-group-full"].entryGroupId}
          entryId: tf-test-source-entry-full_74391
          entryType: ${["entry-type-full"].name}
          project: '1111111111111'
      entry-type-full:
        type: gcp:dataplex:EntryType
        properties:
          entryTypeId: tf-test-entry-type-full_16511
          location: us-central1
          project: '1111111111111'
      target:
        type: gcp:dataplex:Entry
        properties:
          location: us-central1
          entryGroupId: ${["entry-group-full"].entryGroupId}
          entryId: tf-test-target-entry-full_8493
          entryType: ${["entry-type-full"].name}
          project: '1111111111111'
      fullEntryLink:
        type: gcp:dataplex:EntryLink
        name: full_entry_link
        properties:
          project: '1111111111111'
          location: us-central1
          entryGroupId: ${["entry-group-full"].entryGroupId}
          entryLinkId: tf-test-entry-link-full_9106
          entryLinkType: projects/655216118709/locations/global/entryLinkTypes/related
          entryReferences:
            - name: ${source.name}
              path: ""
            - name: ${target.name}
    

    Create EntryLink Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EntryLink(name: string, args: EntryLinkArgs, opts?: CustomResourceOptions);
    @overload
    def EntryLink(resource_name: str,
                  args: EntryLinkArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def EntryLink(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  entry_group_id: Optional[str] = None,
                  entry_link_id: Optional[str] = None,
                  entry_link_type: Optional[str] = None,
                  entry_references: Optional[Sequence[EntryLinkEntryReferenceArgs]] = None,
                  location: Optional[str] = None,
                  project: Optional[str] = None)
    func NewEntryLink(ctx *Context, name string, args EntryLinkArgs, opts ...ResourceOption) (*EntryLink, error)
    public EntryLink(string name, EntryLinkArgs args, CustomResourceOptions? opts = null)
    public EntryLink(String name, EntryLinkArgs args)
    public EntryLink(String name, EntryLinkArgs args, CustomResourceOptions options)
    
    type: gcp:dataplex:EntryLink
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EntryLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EntryLinkArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EntryLinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EntryLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EntryLinkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var entryLinkResource = new Gcp.DataPlex.EntryLink("entryLinkResource", new()
    {
        EntryGroupId = "string",
        EntryLinkId = "string",
        EntryLinkType = "string",
        EntryReferences = new[]
        {
            new Gcp.DataPlex.Inputs.EntryLinkEntryReferenceArgs
            {
                Name = "string",
                Path = "string",
                Type = "string",
            },
        },
        Location = "string",
        Project = "string",
    });
    
    example, err := dataplex.NewEntryLink(ctx, "entryLinkResource", &dataplex.EntryLinkArgs{
    	EntryGroupId:  pulumi.String("string"),
    	EntryLinkId:   pulumi.String("string"),
    	EntryLinkType: pulumi.String("string"),
    	EntryReferences: dataplex.EntryLinkEntryReferenceArray{
    		&dataplex.EntryLinkEntryReferenceArgs{
    			Name: pulumi.String("string"),
    			Path: pulumi.String("string"),
    			Type: pulumi.String("string"),
    		},
    	},
    	Location: pulumi.String("string"),
    	Project:  pulumi.String("string"),
    })
    
    var entryLinkResource = new EntryLink("entryLinkResource", EntryLinkArgs.builder()
        .entryGroupId("string")
        .entryLinkId("string")
        .entryLinkType("string")
        .entryReferences(EntryLinkEntryReferenceArgs.builder()
            .name("string")
            .path("string")
            .type("string")
            .build())
        .location("string")
        .project("string")
        .build());
    
    entry_link_resource = gcp.dataplex.EntryLink("entryLinkResource",
        entry_group_id="string",
        entry_link_id="string",
        entry_link_type="string",
        entry_references=[{
            "name": "string",
            "path": "string",
            "type": "string",
        }],
        location="string",
        project="string")
    
    const entryLinkResource = new gcp.dataplex.EntryLink("entryLinkResource", {
        entryGroupId: "string",
        entryLinkId: "string",
        entryLinkType: "string",
        entryReferences: [{
            name: "string",
            path: "string",
            type: "string",
        }],
        location: "string",
        project: "string",
    });
    
    type: gcp:dataplex:EntryLink
    properties:
        entryGroupId: string
        entryLinkId: string
        entryLinkType: string
        entryReferences:
            - name: string
              path: string
              type: string
        location: string
        project: string
    

    EntryLink Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EntryLink resource accepts the following input properties:

    EntryGroupId string
    The id of the entry group this entry link is in.
    EntryLinkId string
    The id of the entry link to create.
    EntryLinkType string
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    EntryReferences List<EntryLinkEntryReference>
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    Location string
    The location for the entry.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    EntryGroupId string
    The id of the entry group this entry link is in.
    EntryLinkId string
    The id of the entry link to create.
    EntryLinkType string
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    EntryReferences []EntryLinkEntryReferenceArgs
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    Location string
    The location for the entry.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    entryGroupId String
    The id of the entry group this entry link is in.
    entryLinkId String
    The id of the entry link to create.
    entryLinkType String
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    entryReferences List<EntryLinkEntryReference>
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    location String
    The location for the entry.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    entryGroupId string
    The id of the entry group this entry link is in.
    entryLinkId string
    The id of the entry link to create.
    entryLinkType string
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    entryReferences EntryLinkEntryReference[]
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    location string
    The location for the entry.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    entry_group_id str
    The id of the entry group this entry link is in.
    entry_link_id str
    The id of the entry link to create.
    entry_link_type str
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    entry_references Sequence[EntryLinkEntryReferenceArgs]
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    location str
    The location for the entry.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    entryGroupId String
    The id of the entry group this entry link is in.
    entryLinkId String
    The id of the entry link to create.
    entryLinkType String
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    entryReferences List<Property Map>
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    location String
    The location for the entry.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EntryLink resource produces the following output properties:

    CreateTime string
    The time when the Entry Link was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    UpdateTime string
    The time when the Entry Link was last updated.
    CreateTime string
    The time when the Entry Link was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    UpdateTime string
    The time when the Entry Link was last updated.
    createTime String
    The time when the Entry Link was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    updateTime String
    The time when the Entry Link was last updated.
    createTime string
    The time when the Entry Link was created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    updateTime string
    The time when the Entry Link was last updated.
    create_time str
    The time when the Entry Link was created.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    update_time str
    The time when the Entry Link was last updated.
    createTime String
    The time when the Entry Link was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    updateTime String
    The time when the Entry Link was last updated.

    Look up Existing EntryLink Resource

    Get an existing EntryLink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EntryLinkState, opts?: CustomResourceOptions): EntryLink
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            entry_group_id: Optional[str] = None,
            entry_link_id: Optional[str] = None,
            entry_link_type: Optional[str] = None,
            entry_references: Optional[Sequence[EntryLinkEntryReferenceArgs]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            update_time: Optional[str] = None) -> EntryLink
    func GetEntryLink(ctx *Context, name string, id IDInput, state *EntryLinkState, opts ...ResourceOption) (*EntryLink, error)
    public static EntryLink Get(string name, Input<string> id, EntryLinkState? state, CustomResourceOptions? opts = null)
    public static EntryLink get(String name, Output<String> id, EntryLinkState state, CustomResourceOptions options)
    resources:  _:    type: gcp:dataplex:EntryLink    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    The time when the Entry Link was created.
    EntryGroupId string
    The id of the entry group this entry link is in.
    EntryLinkId string
    The id of the entry link to create.
    EntryLinkType string
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    EntryReferences List<EntryLinkEntryReference>
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    Location string
    The location for the entry.
    Name string
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    UpdateTime string
    The time when the Entry Link was last updated.
    CreateTime string
    The time when the Entry Link was created.
    EntryGroupId string
    The id of the entry group this entry link is in.
    EntryLinkId string
    The id of the entry link to create.
    EntryLinkType string
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    EntryReferences []EntryLinkEntryReferenceArgs
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    Location string
    The location for the entry.
    Name string
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    UpdateTime string
    The time when the Entry Link was last updated.
    createTime String
    The time when the Entry Link was created.
    entryGroupId String
    The id of the entry group this entry link is in.
    entryLinkId String
    The id of the entry link to create.
    entryLinkType String
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    entryReferences List<EntryLinkEntryReference>
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    location String
    The location for the entry.
    name String
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    updateTime String
    The time when the Entry Link was last updated.
    createTime string
    The time when the Entry Link was created.
    entryGroupId string
    The id of the entry group this entry link is in.
    entryLinkId string
    The id of the entry link to create.
    entryLinkType string
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    entryReferences EntryLinkEntryReference[]
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    location string
    The location for the entry.
    name string
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    updateTime string
    The time when the Entry Link was last updated.
    create_time str
    The time when the Entry Link was created.
    entry_group_id str
    The id of the entry group this entry link is in.
    entry_link_id str
    The id of the entry link to create.
    entry_link_type str
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    entry_references Sequence[EntryLinkEntryReferenceArgs]
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    location str
    The location for the entry.
    name str
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    update_time str
    The time when the Entry Link was last updated.
    createTime String
    The time when the Entry Link was created.
    entryGroupId String
    The id of the entry group this entry link is in.
    entryLinkId String
    The id of the entry link to create.
    entryLinkType String
    Relative resource name of the Entry Link Type used to create this Entry Link. For example: projects/dataplex-types/locations/global/entryLinkTypes/definition
    entryReferences List<Property Map>
    Specifies the Entries referenced in the Entry Link. There should be exactly two entry references. Structure is documented below.
    location String
    The location for the entry.
    name String
    The relative resource name of the Entry Link, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    updateTime String
    The time when the Entry Link was last updated.

    Supporting Types

    EntryLinkEntryReference, EntryLinkEntryReferenceArgs

    Name string
    The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
    Path string
    The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.
    Type string
    The reference type of the Entry. Possible values are: SOURCE, TARGET.
    Name string
    The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
    Path string
    The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.
    Type string
    The reference type of the Entry. Possible values are: SOURCE, TARGET.
    name String
    The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
    path String
    The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.
    type String
    The reference type of the Entry. Possible values are: SOURCE, TARGET.
    name string
    The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
    path string
    The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.
    type string
    The reference type of the Entry. Possible values are: SOURCE, TARGET.
    name str
    The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
    path str
    The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.
    type str
    The reference type of the Entry. Possible values are: SOURCE, TARGET.
    name String
    The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}
    path String
    The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.
    type String
    The reference type of the Entry. Possible values are: SOURCE, TARGET.

    Import

    EntryLink can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/entryGroups/{{entry_group_id}}/entryLinks/{{entry_link_id}}

    • {{project}}/{{location}}/{{entry_group_id}}/{{entry_link_id}}

    • {{location}}/{{entry_group_id}}/{{entry_link_id}}

    When using the pulumi import command, EntryLink can be imported using one of the formats above. For example:

    $ pulumi import gcp:dataplex/entryLink:EntryLink default projects/{{project}}/locations/{{location}}/entryGroups/{{entry_group_id}}/entryLinks/{{entry_link_id}}
    
    $ pulumi import gcp:dataplex/entryLink:EntryLink default {{project}}/{{location}}/{{entry_group_id}}/{{entry_link_id}}
    
    $ pulumi import gcp:dataplex/entryLink:EntryLink default {{location}}/{{entry_group_id}}/{{entry_link_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud v9.4.0 published on Tuesday, Nov 4, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate