getContentitem

Get a content resource.

Using getContentitem

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getContentitem(args: GetContentitemArgs, opts?: InvokeOptions): Promise<GetContentitemResult>
function getContentitemOutput(args: GetContentitemOutputArgs, opts?: InvokeOptions): Output<GetContentitemResult>
def get_contentitem(contentitem_id: Optional[str] = None,
                    lake_id: Optional[str] = None,
                    location: Optional[str] = None,
                    project: Optional[str] = None,
                    view: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetContentitemResult
def get_contentitem_output(contentitem_id: Optional[pulumi.Input[str]] = None,
                    lake_id: Optional[pulumi.Input[str]] = None,
                    location: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    view: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetContentitemResult]
func LookupContentitem(ctx *Context, args *LookupContentitemArgs, opts ...InvokeOption) (*LookupContentitemResult, error)
func LookupContentitemOutput(ctx *Context, args *LookupContentitemOutputArgs, opts ...InvokeOption) LookupContentitemResultOutput

> Note: This function is named LookupContentitem in the Go SDK.

public static class GetContentitem 
{
    public static Task<GetContentitemResult> InvokeAsync(GetContentitemArgs args, InvokeOptions? opts = null)
    public static Output<GetContentitemResult> Invoke(GetContentitemInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContentitemResult> getContentitem(GetContentitemArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:dataplex/v1:getContentitem
  arguments:
    # arguments dictionary

The following arguments are supported:

ContentitemId string
LakeId string
Location string
Project string
View string
ContentitemId string
LakeId string
Location string
Project string
View string
contentitemId String
lakeId String
location String
project String
view String
contentitemId string
lakeId string
location string
project string
view string
contentitemId String
lakeId String
location String
project String
view String

getContentitem Result

The following output properties are available:

CreateTime string

Content creation time.

DataText string

Content data in string format.

Description string

Optional. Description of the content.

Labels Dictionary<string, string>

Optional. User defined labels for the content.

Name string

The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}

Notebook Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1ContentNotebookResponse

Notebook related configurations.

Path string

The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

SqlScript Pulumi.GoogleNative.Dataplex.V1.Outputs.GoogleCloudDataplexV1ContentSqlScriptResponse

Sql Script related configurations.

Uid string

System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.

UpdateTime string

The time when the content was last updated.

CreateTime string

Content creation time.

DataText string

Content data in string format.

Description string

Optional. Description of the content.

Labels map[string]string

Optional. User defined labels for the content.

Name string

The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}

Notebook GoogleCloudDataplexV1ContentNotebookResponse

Notebook related configurations.

Path string

The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

SqlScript GoogleCloudDataplexV1ContentSqlScriptResponse

Sql Script related configurations.

Uid string

System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.

UpdateTime string

The time when the content was last updated.

createTime String

Content creation time.

dataText String

Content data in string format.

description String

Optional. Description of the content.

labels Map<String,String>

Optional. User defined labels for the content.

name String

The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}

notebook GoogleCloudDataplexV1ContentNotebookResponse

Notebook related configurations.

path String

The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

sqlScript GoogleCloudDataplexV1ContentSqlScriptResponse

Sql Script related configurations.

uid String

System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.

updateTime String

The time when the content was last updated.

createTime string

Content creation time.

dataText string

Content data in string format.

description string

Optional. Description of the content.

labels {[key: string]: string}

Optional. User defined labels for the content.

name string

The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}

notebook GoogleCloudDataplexV1ContentNotebookResponse

Notebook related configurations.

path string

The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

sqlScript GoogleCloudDataplexV1ContentSqlScriptResponse

Sql Script related configurations.

uid string

System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.

updateTime string

The time when the content was last updated.

create_time str

Content creation time.

data_text str

Content data in string format.

description str

Optional. Description of the content.

labels Mapping[str, str]

Optional. User defined labels for the content.

name str

The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}

notebook GoogleCloudDataplexV1ContentNotebookResponse

Notebook related configurations.

path str

The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

sql_script GoogleCloudDataplexV1ContentSqlScriptResponse

Sql Script related configurations.

uid str

System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.

update_time str

The time when the content was last updated.

createTime String

Content creation time.

dataText String

Content data in string format.

description String

Optional. Description of the content.

labels Map<String>

Optional. User defined labels for the content.

name String

The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}

notebook Property Map

Notebook related configurations.

path String

The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

sqlScript Property Map

Sql Script related configurations.

uid String

System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.

updateTime String

The time when the content was last updated.

Supporting Types

GoogleCloudDataplexV1ContentNotebookResponse

KernelType string

Kernel Type of the notebook.

KernelType string

Kernel Type of the notebook.

kernelType String

Kernel Type of the notebook.

kernelType string

Kernel Type of the notebook.

kernel_type str

Kernel Type of the notebook.

kernelType String

Kernel Type of the notebook.

GoogleCloudDataplexV1ContentSqlScriptResponse

Engine string

Query Engine to be used for the Sql Query.

Engine string

Query Engine to be used for the Sql Query.

engine String

Query Engine to be used for the Sql Query.

engine string

Query Engine to be used for the Sql Query.

engine str

Query Engine to be used for the Sql Query.

engine String

Query Engine to be used for the Sql Query.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0