This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Create a DataTaxonomy resource. Auto-naming is currently not supported for this resource.
Create DataTaxonomy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataTaxonomy(name: string, args: DataTaxonomyArgs, opts?: CustomResourceOptions);@overload
def DataTaxonomy(resource_name: str,
args: DataTaxonomyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataTaxonomy(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_taxonomy_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
etag: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
project: Optional[str] = None)func NewDataTaxonomy(ctx *Context, name string, args DataTaxonomyArgs, opts ...ResourceOption) (*DataTaxonomy, error)public DataTaxonomy(string name, DataTaxonomyArgs args, CustomResourceOptions? opts = null)
public DataTaxonomy(String name, DataTaxonomyArgs args)
public DataTaxonomy(String name, DataTaxonomyArgs args, CustomResourceOptions options)
type: google-native:dataplex/v1:DataTaxonomy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_dataplex_v1_data_taxonomy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DataTaxonomyArgs
- 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 DataTaxonomyArgs
- 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 DataTaxonomyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataTaxonomyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataTaxonomyArgs
- 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 dataTaxonomyResource = new GoogleNative.Dataplex.V1.DataTaxonomy("dataTaxonomyResource", new()
{
DataTaxonomyId = "string",
Description = "string",
DisplayName = "string",
Etag = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Project = "string",
});
example, err := dataplex.NewDataTaxonomy(ctx, "dataTaxonomyResource", &dataplex.DataTaxonomyArgs{
DataTaxonomyId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Etag: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
resource "google-native_dataplex_v1_data_taxonomy" "dataTaxonomyResource" {
lifecycle {
create_before_destroy = true
}
data_taxonomy_id = "string"
description = "string"
display_name = "string"
etag = "string"
labels = {
"string" = "string"
}
location = "string"
project = "string"
}
var dataTaxonomyResource = new DataTaxonomy("dataTaxonomyResource", DataTaxonomyArgs.builder()
.dataTaxonomyId("string")
.description("string")
.displayName("string")
.etag("string")
.labels(Map.of("string", "string"))
.location("string")
.project("string")
.build());
data_taxonomy_resource = google_native.dataplex.v1.DataTaxonomy("dataTaxonomyResource",
data_taxonomy_id="string",
description="string",
display_name="string",
etag="string",
labels={
"string": "string",
},
location="string",
project="string")
const dataTaxonomyResource = new google_native.dataplex.v1.DataTaxonomy("dataTaxonomyResource", {
dataTaxonomyId: "string",
description: "string",
displayName: "string",
etag: "string",
labels: {
string: "string",
},
location: "string",
project: "string",
});
type: google-native:dataplex/v1:DataTaxonomy
properties:
dataTaxonomyId: string
description: string
displayName: string
etag: string
labels:
string: string
location: string
project: string
DataTaxonomy 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 DataTaxonomy resource accepts the following input properties:
- Data
Taxonomy stringId - Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
- Description string
- Optional. Description of the DataTaxonomy.
- Display
Name string - Optional. User friendly display name.
- Etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Labels Dictionary<string, string>
- Optional. User-defined labels for the DataTaxonomy.
- Location string
- Project string
- Data
Taxonomy stringId - Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
- Description string
- Optional. Description of the DataTaxonomy.
- Display
Name string - Optional. User friendly display name.
- Etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Labels map[string]string
- Optional. User-defined labels for the DataTaxonomy.
- Location string
- Project string
- data_
taxonomy_ stringid - Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
- description string
- Optional. Description of the DataTaxonomy.
- display_
name string - Optional. User friendly display name.
- etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels map(string)
- Optional. User-defined labels for the DataTaxonomy.
- location string
- project string
- data
Taxonomy StringId - Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
- description String
- Optional. Description of the DataTaxonomy.
- display
Name String - Optional. User friendly display name.
- etag String
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Map<String,String>
- Optional. User-defined labels for the DataTaxonomy.
- location String
- project String
- data
Taxonomy stringId - Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
- description string
- Optional. Description of the DataTaxonomy.
- display
Name string - Optional. User friendly display name.
- etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels {[key: string]: string}
- Optional. User-defined labels for the DataTaxonomy.
- location string
- project string
- data_
taxonomy_ strid - Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
- description str
- Optional. Description of the DataTaxonomy.
- display_
name str - Optional. User friendly display name.
- etag str
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Mapping[str, str]
- Optional. User-defined labels for the DataTaxonomy.
- location str
- project str
- data
Taxonomy StringId - Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
- description String
- Optional. Description of the DataTaxonomy.
- display
Name String - Optional. User friendly display name.
- etag String
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Map<String>
- Optional. User-defined labels for the DataTaxonomy.
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the DataTaxonomy resource produces the following output properties:
- Attribute
Count int - The number of attributes in the DataTaxonomy.
- Class
Count int - The number of classes in the DataTaxonomy.
- Create
Time string - The time when the DataTaxonomy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
- Uid string
- System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name.
- Update
Time string - The time when the DataTaxonomy was last updated.
- Attribute
Count int - The number of attributes in the DataTaxonomy.
- Class
Count int - The number of classes in the DataTaxonomy.
- Create
Time string - The time when the DataTaxonomy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
- Uid string
- System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name.
- Update
Time string - The time when the DataTaxonomy was last updated.
- attribute_
count number - The number of attributes in the DataTaxonomy.
- class_
count number - The number of classes in the DataTaxonomy.
- create_
time string - The time when the DataTaxonomy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
- uid string
- System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name.
- update_
time string - The time when the DataTaxonomy was last updated.
- attribute
Count Integer - The number of attributes in the DataTaxonomy.
- class
Count Integer - The number of classes in the DataTaxonomy.
- create
Time String - The time when the DataTaxonomy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
- uid String
- System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name.
- update
Time String - The time when the DataTaxonomy was last updated.
- attribute
Count number - The number of attributes in the DataTaxonomy.
- class
Count number - The number of classes in the DataTaxonomy.
- create
Time string - The time when the DataTaxonomy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
- uid string
- System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name.
- update
Time string - The time when the DataTaxonomy was last updated.
- attribute_
count int - The number of attributes in the DataTaxonomy.
- class_
count int - The number of classes in the DataTaxonomy.
- create_
time str - The time when the DataTaxonomy was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
- uid str
- System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name.
- update_
time str - The time when the DataTaxonomy was last updated.
- attribute
Count Number - The number of attributes in the DataTaxonomy.
- class
Count Number - The number of classes in the DataTaxonomy.
- create
Time String - The time when the DataTaxonomy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The relative resource name of the DataTaxonomy, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}.
- uid String
- System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name.
- update
Time String - The time when the DataTaxonomy was last updated.
Look up Existing DataTaxonomy Resource
Get an existing DataTaxonomy 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>, opts?: CustomResourceOptions): DataTaxonomy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> DataTaxonomyfunc GetDataTaxonomy(ctx *Context, name string, id IDInput, state *DataTaxonomyState, opts ...ResourceOption) (*DataTaxonomy, error)public static DataTaxonomy Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static DataTaxonomy get(String name, Output<String> id, CustomResourceOptions options)resources: existingDataTaxonomy: type: google-native:dataplex/v1:DataTaxonomy get: id: ${id}import {
to = google-native_dataplex_v1_data_taxonomy.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state DataTaxonomyState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi