1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataplex
  5. EntryType
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

gcp.dataplex.EntryType

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

    An Entry Type is a template for creating Entries.

    Example Usage

    Dataplex Entry Type Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const testEntryTypeBasic = new gcp.dataplex.EntryType("test_entry_type_basic", {
        entryTypeId: "entry-type-basic",
        project: "my-project-name",
        location: "us-central1",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    test_entry_type_basic = gcp.dataplex.EntryType("test_entry_type_basic",
        entry_type_id="entry-type-basic",
        project="my-project-name",
        location="us-central1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataplex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dataplex.NewEntryType(ctx, "test_entry_type_basic", &dataplex.EntryTypeArgs{
    			EntryTypeId: pulumi.String("entry-type-basic"),
    			Project:     pulumi.String("my-project-name"),
    			Location:    pulumi.String("us-central1"),
    		})
    		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 testEntryTypeBasic = new Gcp.DataPlex.EntryType("test_entry_type_basic", new()
        {
            EntryTypeId = "entry-type-basic",
            Project = "my-project-name",
            Location = "us-central1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.dataplex.EntryType;
    import com.pulumi.gcp.dataplex.EntryTypeArgs;
    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 testEntryTypeBasic = new EntryType("testEntryTypeBasic", EntryTypeArgs.builder()
                .entryTypeId("entry-type-basic")
                .project("my-project-name")
                .location("us-central1")
                .build());
    
        }
    }
    
    resources:
      testEntryTypeBasic:
        type: gcp:dataplex:EntryType
        name: test_entry_type_basic
        properties:
          entryTypeId: entry-type-basic
          project: my-project-name
          location: us-central1
    

    Dataplex Entry Type Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const testEntryTypeFull = new gcp.dataplex.AspectType("test_entry_type_full", {
        aspectTypeId: "tf-test-aspect-type_22811",
        location: "us-central1",
        project: "my-project-name",
        metadataTemplate: `{
      "name": "tf-test-template",
      "type": "record",
      "recordFields": [
        {
          "name": "type",
          "type": "enum",
          "annotations": {
            "displayName": "Type",
            "description": "Specifies the type of view represented by the entry."
          },
          "index": 1,
          "constraints": {
            "required": true
          },
          "enumValues": [
            {
              "name": "VIEW",
              "index": 1
            }
          ]
        }
      ]
    }
    `,
    });
    const testEntryTypeFullEntryType = new gcp.dataplex.EntryType("test_entry_type_full", {
        entryTypeId: "entry-type-full",
        project: "my-project-name",
        location: "us-central1",
        labels: {
            tag: "test-tf",
        },
        displayName: "terraform entry type",
        description: "entry type created by Terraform",
        typeAliases: [
            "TABLE",
            "DATABASE",
        ],
        platform: "GCS",
        system: "CloudSQL",
        requiredAspects: [{
            type: testEntryTypeFull.name,
        }],
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    test_entry_type_full = gcp.dataplex.AspectType("test_entry_type_full",
        aspect_type_id="tf-test-aspect-type_22811",
        location="us-central1",
        project="my-project-name",
        metadata_template="""{
      "name": "tf-test-template",
      "type": "record",
      "recordFields": [
        {
          "name": "type",
          "type": "enum",
          "annotations": {
            "displayName": "Type",
            "description": "Specifies the type of view represented by the entry."
          },
          "index": 1,
          "constraints": {
            "required": true
          },
          "enumValues": [
            {
              "name": "VIEW",
              "index": 1
            }
          ]
        }
      ]
    }
    """)
    test_entry_type_full_entry_type = gcp.dataplex.EntryType("test_entry_type_full",
        entry_type_id="entry-type-full",
        project="my-project-name",
        location="us-central1",
        labels={
            "tag": "test-tf",
        },
        display_name="terraform entry type",
        description="entry type created by Terraform",
        type_aliases=[
            "TABLE",
            "DATABASE",
        ],
        platform="GCS",
        system="CloudSQL",
        required_aspects=[{
            "type": test_entry_type_full.name,
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dataplex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		testEntryTypeFull, err := dataplex.NewAspectType(ctx, "test_entry_type_full", &dataplex.AspectTypeArgs{
    			AspectTypeId: pulumi.String("tf-test-aspect-type_22811"),
    			Location:     pulumi.String("us-central1"),
    			Project:      pulumi.String("my-project-name"),
    			MetadataTemplate: pulumi.String(`{
      "name": "tf-test-template",
      "type": "record",
      "recordFields": [
        {
          "name": "type",
          "type": "enum",
          "annotations": {
            "displayName": "Type",
            "description": "Specifies the type of view represented by the entry."
          },
          "index": 1,
          "constraints": {
            "required": true
          },
          "enumValues": [
            {
              "name": "VIEW",
              "index": 1
            }
          ]
        }
      ]
    }
    `),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dataplex.NewEntryType(ctx, "test_entry_type_full", &dataplex.EntryTypeArgs{
    			EntryTypeId: pulumi.String("entry-type-full"),
    			Project:     pulumi.String("my-project-name"),
    			Location:    pulumi.String("us-central1"),
    			Labels: pulumi.StringMap{
    				"tag": pulumi.String("test-tf"),
    			},
    			DisplayName: pulumi.String("terraform entry type"),
    			Description: pulumi.String("entry type created by Terraform"),
    			TypeAliases: pulumi.StringArray{
    				pulumi.String("TABLE"),
    				pulumi.String("DATABASE"),
    			},
    			Platform: pulumi.String("GCS"),
    			System:   pulumi.String("CloudSQL"),
    			RequiredAspects: dataplex.EntryTypeRequiredAspectArray{
    				&dataplex.EntryTypeRequiredAspectArgs{
    					Type: testEntryTypeFull.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 testEntryTypeFull = new Gcp.DataPlex.AspectType("test_entry_type_full", new()
        {
            AspectTypeId = "tf-test-aspect-type_22811",
            Location = "us-central1",
            Project = "my-project-name",
            MetadataTemplate = @"{
      ""name"": ""tf-test-template"",
      ""type"": ""record"",
      ""recordFields"": [
        {
          ""name"": ""type"",
          ""type"": ""enum"",
          ""annotations"": {
            ""displayName"": ""Type"",
            ""description"": ""Specifies the type of view represented by the entry.""
          },
          ""index"": 1,
          ""constraints"": {
            ""required"": true
          },
          ""enumValues"": [
            {
              ""name"": ""VIEW"",
              ""index"": 1
            }
          ]
        }
      ]
    }
    ",
        });
    
        var testEntryTypeFullEntryType = new Gcp.DataPlex.EntryType("test_entry_type_full", new()
        {
            EntryTypeId = "entry-type-full",
            Project = "my-project-name",
            Location = "us-central1",
            Labels = 
            {
                { "tag", "test-tf" },
            },
            DisplayName = "terraform entry type",
            Description = "entry type created by Terraform",
            TypeAliases = new[]
            {
                "TABLE",
                "DATABASE",
            },
            Platform = "GCS",
            System = "CloudSQL",
            RequiredAspects = new[]
            {
                new Gcp.DataPlex.Inputs.EntryTypeRequiredAspectArgs
                {
                    Type = testEntryTypeFull.Name,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.dataplex.AspectType;
    import com.pulumi.gcp.dataplex.AspectTypeArgs;
    import com.pulumi.gcp.dataplex.EntryType;
    import com.pulumi.gcp.dataplex.EntryTypeArgs;
    import com.pulumi.gcp.dataplex.inputs.EntryTypeRequiredAspectArgs;
    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 testEntryTypeFull = new AspectType("testEntryTypeFull", AspectTypeArgs.builder()
                .aspectTypeId("tf-test-aspect-type_22811")
                .location("us-central1")
                .project("my-project-name")
                .metadataTemplate("""
    {
      "name": "tf-test-template",
      "type": "record",
      "recordFields": [
        {
          "name": "type",
          "type": "enum",
          "annotations": {
            "displayName": "Type",
            "description": "Specifies the type of view represented by the entry."
          },
          "index": 1,
          "constraints": {
            "required": true
          },
          "enumValues": [
            {
              "name": "VIEW",
              "index": 1
            }
          ]
        }
      ]
    }
                """)
                .build());
    
            var testEntryTypeFullEntryType = new EntryType("testEntryTypeFullEntryType", EntryTypeArgs.builder()
                .entryTypeId("entry-type-full")
                .project("my-project-name")
                .location("us-central1")
                .labels(Map.of("tag", "test-tf"))
                .displayName("terraform entry type")
                .description("entry type created by Terraform")
                .typeAliases(            
                    "TABLE",
                    "DATABASE")
                .platform("GCS")
                .system("CloudSQL")
                .requiredAspects(EntryTypeRequiredAspectArgs.builder()
                    .type(testEntryTypeFull.name())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testEntryTypeFull:
        type: gcp:dataplex:AspectType
        name: test_entry_type_full
        properties:
          aspectTypeId: tf-test-aspect-type_22811
          location: us-central1
          project: my-project-name
          metadataTemplate: |
            {
              "name": "tf-test-template",
              "type": "record",
              "recordFields": [
                {
                  "name": "type",
                  "type": "enum",
                  "annotations": {
                    "displayName": "Type",
                    "description": "Specifies the type of view represented by the entry."
                  },
                  "index": 1,
                  "constraints": {
                    "required": true
                  },
                  "enumValues": [
                    {
                      "name": "VIEW",
                      "index": 1
                    }
                  ]
                }
              ]
            }        
      testEntryTypeFullEntryType:
        type: gcp:dataplex:EntryType
        name: test_entry_type_full
        properties:
          entryTypeId: entry-type-full
          project: my-project-name
          location: us-central1
          labels:
            tag: test-tf
          displayName: terraform entry type
          description: entry type created by Terraform
          typeAliases:
            - TABLE
            - DATABASE
          platform: GCS
          system: CloudSQL
          requiredAspects:
            - type: ${testEntryTypeFull.name}
    

    Create EntryType Resource

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

    Constructor syntax

    new EntryType(name: string, args?: EntryTypeArgs, opts?: CustomResourceOptions);
    @overload
    def EntryType(resource_name: str,
                  args: Optional[EntryTypeArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def EntryType(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  description: Optional[str] = None,
                  display_name: Optional[str] = None,
                  entry_type_id: Optional[str] = None,
                  labels: Optional[Mapping[str, str]] = None,
                  location: Optional[str] = None,
                  platform: Optional[str] = None,
                  project: Optional[str] = None,
                  required_aspects: Optional[Sequence[EntryTypeRequiredAspectArgs]] = None,
                  system: Optional[str] = None,
                  type_aliases: Optional[Sequence[str]] = None)
    func NewEntryType(ctx *Context, name string, args *EntryTypeArgs, opts ...ResourceOption) (*EntryType, error)
    public EntryType(string name, EntryTypeArgs? args = null, CustomResourceOptions? opts = null)
    public EntryType(String name, EntryTypeArgs args)
    public EntryType(String name, EntryTypeArgs args, CustomResourceOptions options)
    
    type: gcp:dataplex:EntryType
    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 EntryTypeArgs
    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 EntryTypeArgs
    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 EntryTypeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EntryTypeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EntryTypeArgs
    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 entryTypeResource = new Gcp.DataPlex.EntryType("entryTypeResource", new()
    {
        Description = "string",
        DisplayName = "string",
        EntryTypeId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Platform = "string",
        Project = "string",
        RequiredAspects = new[]
        {
            new Gcp.DataPlex.Inputs.EntryTypeRequiredAspectArgs
            {
                Type = "string",
            },
        },
        System = "string",
        TypeAliases = new[]
        {
            "string",
        },
    });
    
    example, err := dataplex.NewEntryType(ctx, "entryTypeResource", &dataplex.EntryTypeArgs{
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	EntryTypeId: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Platform: pulumi.String("string"),
    	Project:  pulumi.String("string"),
    	RequiredAspects: dataplex.EntryTypeRequiredAspectArray{
    		&dataplex.EntryTypeRequiredAspectArgs{
    			Type: pulumi.String("string"),
    		},
    	},
    	System: pulumi.String("string"),
    	TypeAliases: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var entryTypeResource = new EntryType("entryTypeResource", EntryTypeArgs.builder()
        .description("string")
        .displayName("string")
        .entryTypeId("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .platform("string")
        .project("string")
        .requiredAspects(EntryTypeRequiredAspectArgs.builder()
            .type("string")
            .build())
        .system("string")
        .typeAliases("string")
        .build());
    
    entry_type_resource = gcp.dataplex.EntryType("entryTypeResource",
        description="string",
        display_name="string",
        entry_type_id="string",
        labels={
            "string": "string",
        },
        location="string",
        platform="string",
        project="string",
        required_aspects=[{
            "type": "string",
        }],
        system="string",
        type_aliases=["string"])
    
    const entryTypeResource = new gcp.dataplex.EntryType("entryTypeResource", {
        description: "string",
        displayName: "string",
        entryTypeId: "string",
        labels: {
            string: "string",
        },
        location: "string",
        platform: "string",
        project: "string",
        requiredAspects: [{
            type: "string",
        }],
        system: "string",
        typeAliases: ["string"],
    });
    
    type: gcp:dataplex:EntryType
    properties:
        description: string
        displayName: string
        entryTypeId: string
        labels:
            string: string
        location: string
        platform: string
        project: string
        requiredAspects:
            - type: string
        system: string
        typeAliases:
            - string
    

    EntryType Resource Properties

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

    Inputs

    The EntryType resource accepts the following input properties:

    Description string
    Description of the EntryType.
    DisplayName string
    User friendly display name.
    EntryTypeId string
    The entry type id of the entry type.
    Labels Dictionary<string, string>

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Location string
    The location where entry type will be created in.
    Platform string
    The platform that Entries of this type belongs to.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RequiredAspects List<EntryTypeRequiredAspect>
    AspectInfo for the entry type. Structure is documented below.
    System string
    The system that Entries of this type belongs to.
    TypeAliases List<string>
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    Description string
    Description of the EntryType.
    DisplayName string
    User friendly display name.
    EntryTypeId string
    The entry type id of the entry type.
    Labels map[string]string

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Location string
    The location where entry type will be created in.
    Platform string
    The platform that Entries of this type belongs to.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RequiredAspects []EntryTypeRequiredAspectArgs
    AspectInfo for the entry type. Structure is documented below.
    System string
    The system that Entries of this type belongs to.
    TypeAliases []string
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    description String
    Description of the EntryType.
    displayName String
    User friendly display name.
    entryTypeId String
    The entry type id of the entry type.
    labels Map<String,String>

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    location String
    The location where entry type will be created in.
    platform String
    The platform that Entries of this type belongs to.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    requiredAspects List<EntryTypeRequiredAspect>
    AspectInfo for the entry type. Structure is documented below.
    system String
    The system that Entries of this type belongs to.
    typeAliases List<String>
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    description string
    Description of the EntryType.
    displayName string
    User friendly display name.
    entryTypeId string
    The entry type id of the entry type.
    labels {[key: string]: string}

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    location string
    The location where entry type will be created in.
    platform string
    The platform that Entries of this type belongs to.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    requiredAspects EntryTypeRequiredAspect[]
    AspectInfo for the entry type. Structure is documented below.
    system string
    The system that Entries of this type belongs to.
    typeAliases string[]
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    description str
    Description of the EntryType.
    display_name str
    User friendly display name.
    entry_type_id str
    The entry type id of the entry type.
    labels Mapping[str, str]

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    location str
    The location where entry type will be created in.
    platform str
    The platform that Entries of this type belongs to.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    required_aspects Sequence[EntryTypeRequiredAspectArgs]
    AspectInfo for the entry type. Structure is documented below.
    system str
    The system that Entries of this type belongs to.
    type_aliases Sequence[str]
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    description String
    Description of the EntryType.
    displayName String
    User friendly display name.
    entryTypeId String
    The entry type id of the entry type.
    labels Map<String>

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    location String
    The location where entry type will be created in.
    platform String
    The platform that Entries of this type belongs to.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    requiredAspects List<Property Map>
    AspectInfo for the entry type. Structure is documented below.
    system String
    The system that Entries of this type belongs to.
    typeAliases List<String>
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.

    Outputs

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

    CreateTime string
    The time when the EntryType was created.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    Uid string
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    UpdateTime string
    The time when the EntryType was last updated.
    CreateTime string
    The time when the EntryType was created.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    Uid string
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    UpdateTime string
    The time when the EntryType was last updated.
    createTime String
    The time when the EntryType was created.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    uid String
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    updateTime String
    The time when the EntryType was last updated.
    createTime string
    The time when the EntryType was created.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    uid string
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    updateTime string
    The time when the EntryType was last updated.
    create_time str
    The time when the EntryType was created.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    uid str
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    update_time str
    The time when the EntryType was last updated.
    createTime String
    The time when the EntryType was created.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    uid String
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    updateTime String
    The time when the EntryType was last updated.

    Look up Existing EntryType Resource

    Get an existing EntryType 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?: EntryTypeState, opts?: CustomResourceOptions): EntryType
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            entry_type_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            platform: Optional[str] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            required_aspects: Optional[Sequence[EntryTypeRequiredAspectArgs]] = None,
            system: Optional[str] = None,
            type_aliases: Optional[Sequence[str]] = None,
            uid: Optional[str] = None,
            update_time: Optional[str] = None) -> EntryType
    func GetEntryType(ctx *Context, name string, id IDInput, state *EntryTypeState, opts ...ResourceOption) (*EntryType, error)
    public static EntryType Get(string name, Input<string> id, EntryTypeState? state, CustomResourceOptions? opts = null)
    public static EntryType get(String name, Output<String> id, EntryTypeState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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 EntryType was created.
    Description string
    Description of the EntryType.
    DisplayName string
    User friendly display name.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EntryTypeId string
    The entry type id of the entry type.
    Labels Dictionary<string, string>

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Location string
    The location where entry type will be created in.
    Name string
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    Platform string
    The platform that Entries of this type belongs to.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    RequiredAspects List<EntryTypeRequiredAspect>
    AspectInfo for the entry type. Structure is documented below.
    System string
    The system that Entries of this type belongs to.
    TypeAliases List<string>
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    Uid string
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    UpdateTime string
    The time when the EntryType was last updated.
    CreateTime string
    The time when the EntryType was created.
    Description string
    Description of the EntryType.
    DisplayName string
    User friendly display name.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EntryTypeId string
    The entry type id of the entry type.
    Labels map[string]string

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Location string
    The location where entry type will be created in.
    Name string
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    Platform string
    The platform that Entries of this type belongs to.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    RequiredAspects []EntryTypeRequiredAspectArgs
    AspectInfo for the entry type. Structure is documented below.
    System string
    The system that Entries of this type belongs to.
    TypeAliases []string
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    Uid string
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    UpdateTime string
    The time when the EntryType was last updated.
    createTime String
    The time when the EntryType was created.
    description String
    Description of the EntryType.
    displayName String
    User friendly display name.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entryTypeId String
    The entry type id of the entry type.
    labels Map<String,String>

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    location String
    The location where entry type will be created in.
    name String
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    platform String
    The platform that Entries of this type belongs to.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    requiredAspects List<EntryTypeRequiredAspect>
    AspectInfo for the entry type. Structure is documented below.
    system String
    The system that Entries of this type belongs to.
    typeAliases List<String>
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    uid String
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    updateTime String
    The time when the EntryType was last updated.
    createTime string
    The time when the EntryType was created.
    description string
    Description of the EntryType.
    displayName string
    User friendly display name.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entryTypeId string
    The entry type id of the entry type.
    labels {[key: string]: string}

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    location string
    The location where entry type will be created in.
    name string
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    platform string
    The platform that Entries of this type belongs to.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    requiredAspects EntryTypeRequiredAspect[]
    AspectInfo for the entry type. Structure is documented below.
    system string
    The system that Entries of this type belongs to.
    typeAliases string[]
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    uid string
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    updateTime string
    The time when the EntryType was last updated.
    create_time str
    The time when the EntryType was created.
    description str
    Description of the EntryType.
    display_name str
    User friendly display name.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entry_type_id str
    The entry type id of the entry type.
    labels Mapping[str, str]

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    location str
    The location where entry type will be created in.
    name str
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    platform str
    The platform that Entries of this type belongs to.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    required_aspects Sequence[EntryTypeRequiredAspectArgs]
    AspectInfo for the entry type. Structure is documented below.
    system str
    The system that Entries of this type belongs to.
    type_aliases Sequence[str]
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    uid str
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    update_time str
    The time when the EntryType was last updated.
    createTime String
    The time when the EntryType was created.
    description String
    Description of the EntryType.
    displayName String
    User friendly display name.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entryTypeId String
    The entry type id of the entry type.
    labels Map<String>

    User-defined labels for the EntryType.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    location String
    The location where entry type will be created in.
    name String
    The relative resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id}/entryTypes/{entry_type_id}
    platform String
    The platform that Entries of this type belongs to.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    requiredAspects List<Property Map>
    AspectInfo for the entry type. Structure is documented below.
    system String
    The system that Entries of this type belongs to.
    typeAliases List<String>
    Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
    uid String
    System generated globally unique ID for the EntryType. This ID will be different if the EntryType is deleted and re-created with the same name.
    updateTime String
    The time when the EntryType was last updated.

    Supporting Types

    EntryTypeRequiredAspect, EntryTypeRequiredAspectArgs

    Type string
    Required aspect type for the entry type.
    Type string
    Required aspect type for the entry type.
    type String
    Required aspect type for the entry type.
    type string
    Required aspect type for the entry type.
    type str
    Required aspect type for the entry type.
    type String
    Required aspect type for the entry type.

    Import

    EntryType can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/entryTypes/{{entry_type_id}}

    • {{project}}/{{location}}/{{entry_type_id}}

    • {{location}}/{{entry_type_id}}

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

    $ pulumi import gcp:dataplex/entryType:EntryType default projects/{{project}}/locations/{{location}}/entryTypes/{{entry_type_id}}
    
    $ pulumi import gcp:dataplex/entryType:EntryType default {{project}}/{{location}}/{{entry_type_id}}
    
    $ pulumi import gcp:dataplex/entryType:EntryType default {{location}}/{{entry_type_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 Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi