Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

getContent

Get a content resource.

Using getContent

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 getContent(args: GetContentArgs, opts?: InvokeOptions): Promise<GetContentResult>
function getContentOutput(args: GetContentOutputArgs, opts?: InvokeOptions): Output<GetContentResult>
def get_content(content_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) -> GetContentResult
def get_content_output(content_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[GetContentResult]
func LookupContent(ctx *Context, args *LookupContentArgs, opts ...InvokeOption) (*LookupContentResult, error)
func LookupContentOutput(ctx *Context, args *LookupContentOutputArgs, opts ...InvokeOption) LookupContentResultOutput

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

public static class GetContent 
{
    public static Task<GetContentResult> InvokeAsync(GetContentArgs args, InvokeOptions? opts = null)
    public static Output<GetContentResult> Invoke(GetContentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContentResult> getContent(GetContentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:dataplex/v1:getContent
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ContentId string
LakeId string
Location string
Project string
View string
ContentId string
LakeId string
Location string
Project string
View string
contentId String
lakeId String
location String
project String
view String
contentId string
lakeId string
location string
project string
view string
contentId String
lakeId String
location String
project String
view String

getContent 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