DataExchange

class DataExchange : KotlinCustomResource

A Bigquery Analytics Hub data exchange To get more information about DataExchange, see:

Example Usage

Bigquery Analyticshub Data Exchange Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const dataExchange = new gcp.bigqueryanalyticshub.DataExchange("data_exchange", {
location: "US",
dataExchangeId: "my_data_exchange",
displayName: "my_data_exchange",
description: "example data exchange",
});
import pulumi
import pulumi_gcp as gcp
data_exchange = gcp.bigqueryanalyticshub.DataExchange("data_exchange",
location="US",
data_exchange_id="my_data_exchange",
display_name="my_data_exchange",
description="example data exchange")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var dataExchange = new Gcp.BigQueryAnalyticsHub.DataExchange("data_exchange", new()
{
Location = "US",
DataExchangeId = "my_data_exchange",
DisplayName = "my_data_exchange",
Description = "example data exchange",
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigqueryanalyticshub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bigqueryanalyticshub.NewDataExchange(ctx, "data_exchange", &bigqueryanalyticshub.DataExchangeArgs{
Location: pulumi.String("US"),
DataExchangeId: pulumi.String("my_data_exchange"),
DisplayName: pulumi.String("my_data_exchange"),
Description: pulumi.String("example data exchange"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.bigqueryanalyticshub.DataExchange;
import com.pulumi.gcp.bigqueryanalyticshub.DataExchangeArgs;
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 dataExchange = new DataExchange("dataExchange", DataExchangeArgs.builder()
.location("US")
.dataExchangeId("my_data_exchange")
.displayName("my_data_exchange")
.description("example data exchange")
.build());
}
}
resources:
dataExchange:
type: gcp:bigqueryanalyticshub:DataExchange
name: data_exchange
properties:
location: US
dataExchangeId: my_data_exchange
displayName: my_data_exchange
description: example data exchange

Import

DataExchange can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}

  • {{project}}/{{location}}/{{data_exchange_id}}

  • {{location}}/{{data_exchange_id}}

  • {{data_exchange_id}} When using the pulumi import command, DataExchange can be imported using one of the formats above. For example:

$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{project}}/{{location}}/{{data_exchange_id}}
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{location}}/{{data_exchange_id}}
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{data_exchange_id}}

Properties

Link copied to clipboard
val dataExchangeId: Output<String>

The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces.

Link copied to clipboard
val description: Output<String>?

Description of the data exchange.

Link copied to clipboard
val displayName: Output<String>

Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and must not start or end with spaces.

Link copied to clipboard
val documentation: Output<String>?

Documentation describing the data exchange.

Link copied to clipboard
val icon: Output<String>?

Base64 encoded image representing the data exchange.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val listingCount: Output<Int>

Number of listings contained in the data exchange.

Link copied to clipboard
val location: Output<String>

The name of the location this data exchange.

Link copied to clipboard
val name: Output<String>

The resource name of the data exchange, for example: "projects/myproject/locations/US/dataExchanges/123"

Link copied to clipboard
val primaryContact: Output<String>?

Email or URL of the primary point of contact of the data exchange.

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>