gcp.dataplex.EntryType
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EntryType resource accepts the following input properties:
- Description string
- Description of the EntryType.
- Display
Name string - User friendly display name.
- Entry
Type stringId - 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.
- Required
Aspects List<EntryType Required Aspect> - AspectInfo for the entry type. Structure is documented below.
- System string
- The system that Entries of this type belongs to.
- Type
Aliases List<string> - Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
- Description string
- Description of the EntryType.
- Display
Name string - User friendly display name.
- Entry
Type stringId - 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.
- Required
Aspects []EntryType Required Aspect Args - AspectInfo for the entry type. Structure is documented below.
- System string
- The system that Entries of this type belongs to.
- Type
Aliases []string - Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
- description String
- Description of the EntryType.
- display
Name String - User friendly display name.
- entry
Type StringId - 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.
- required
Aspects List<EntryType Required Aspect> - AspectInfo for the entry type. Structure is documented below.
- system String
- The system that Entries of this type belongs to.
- type
Aliases List<String> - Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.
- description string
- Description of the EntryType.
- display
Name string - User friendly display name.
- entry
Type stringId - 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.
- required
Aspects EntryType Required Aspect[] - AspectInfo for the entry type. Structure is documented below.
- system string
- The system that Entries of this type belongs to.
- type
Aliases 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_ strid - 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[EntryType Required Aspect Args] - 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.
- display
Name String - User friendly display name.
- entry
Type StringId - 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.
- required
Aspects List<Property Map> - AspectInfo for the entry type. Structure is documented below.
- system String
- The system that Entries of this type belongs to.
- type
Aliases 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:
- Create
Time string - The time when the EntryType was created.
- Effective
Labels 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}
- Pulumi
Labels 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.
- Update
Time string - The time when the EntryType was last updated.
- Create
Time string - The time when the EntryType was created.
- Effective
Labels 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}
- Pulumi
Labels 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.
- Update
Time string - The time when the EntryType was last updated.
- create
Time String - The time when the EntryType was created.
- effective
Labels 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}
- pulumi
Labels 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.
- update
Time String - The time when the EntryType was last updated.
- create
Time string - The time when the EntryType was created.
- effective
Labels {[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}
- pulumi
Labels {[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.
- update
Time 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.
- create
Time String - The time when the EntryType was created.
- effective
Labels 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}
- pulumi
Labels 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.
- update
Time 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.
- Create
Time string - The time when the EntryType was created.
- Description string
- Description of the EntryType.
- Display
Name string - User friendly display name.
- Effective
Labels 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.
- Entry
Type stringId - 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.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Required
Aspects List<EntryType Required Aspect> - AspectInfo for the entry type. Structure is documented below.
- System string
- The system that Entries of this type belongs to.
- Type
Aliases 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.
- Update
Time string - The time when the EntryType was last updated.
- Create
Time string - The time when the EntryType was created.
- Description string
- Description of the EntryType.
- Display
Name string - User friendly display name.
- Effective
Labels 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.
- Entry
Type stringId - 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.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Required
Aspects []EntryType Required Aspect Args - AspectInfo for the entry type. Structure is documented below.
- System string
- The system that Entries of this type belongs to.
- Type
Aliases []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.
- Update
Time string - The time when the EntryType was last updated.
- create
Time String - The time when the EntryType was created.
- description String
- Description of the EntryType.
- display
Name String - User friendly display name.
- effective
Labels 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.
- entry
Type StringId - 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.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- required
Aspects List<EntryType Required Aspect> - AspectInfo for the entry type. Structure is documented below.
- system String
- The system that Entries of this type belongs to.
- type
Aliases 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.
- update
Time String - The time when the EntryType was last updated.
- create
Time string - The time when the EntryType was created.
- description string
- Description of the EntryType.
- display
Name string - User friendly display name.
- effective
Labels {[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.
- entry
Type stringId - 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.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- required
Aspects EntryType Required Aspect[] - AspectInfo for the entry type. Structure is documented below.
- system string
- The system that Entries of this type belongs to.
- type
Aliases 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.
- update
Time 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_ strid - 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[EntryType Required Aspect Args] - 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.
- create
Time String - The time when the EntryType was created.
- description String
- Description of the EntryType.
- display
Name String - User friendly display name.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entry
Type StringId - 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.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- required
Aspects List<Property Map> - AspectInfo for the entry type. Structure is documented below.
- system String
- The system that Entries of this type belongs to.
- type
Aliases 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.
- update
Time 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.