1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  6. Datastore

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.apigee/v1.Datastore

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Create a Datastore for an org Auto-naming is currently not supported for this resource.

    Create Datastore Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Datastore(name: string, args: DatastoreArgs, opts?: CustomResourceOptions);
    @overload
    def Datastore(resource_name: str,
                  args: DatastoreArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Datastore(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  display_name: Optional[str] = None,
                  organization_id: Optional[str] = None,
                  datastore_config: Optional[GoogleCloudApigeeV1DatastoreConfigArgs] = None,
                  target_type: Optional[str] = None)
    func NewDatastore(ctx *Context, name string, args DatastoreArgs, opts ...ResourceOption) (*Datastore, error)
    public Datastore(string name, DatastoreArgs args, CustomResourceOptions? opts = null)
    public Datastore(String name, DatastoreArgs args)
    public Datastore(String name, DatastoreArgs args, CustomResourceOptions options)
    
    type: google-native:apigee/v1:Datastore
    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 DatastoreArgs
    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 DatastoreArgs
    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 DatastoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatastoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatastoreArgs
    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 datastoreResource = new GoogleNative.Apigee.V1.Datastore("datastoreResource", new()
    {
        DisplayName = "string",
        OrganizationId = "string",
        DatastoreConfig = new GoogleNative.Apigee.V1.Inputs.GoogleCloudApigeeV1DatastoreConfigArgs
        {
            Project = "string",
            BucketName = "string",
            DatasetName = "string",
            Path = "string",
            TablePrefix = "string",
        },
        TargetType = "string",
    });
    
    example, err := apigee.NewDatastore(ctx, "datastoreResource", &apigee.DatastoreArgs{
    	DisplayName:    pulumi.String("string"),
    	OrganizationId: pulumi.String("string"),
    	DatastoreConfig: &apigee.GoogleCloudApigeeV1DatastoreConfigArgs{
    		Project:     pulumi.String("string"),
    		BucketName:  pulumi.String("string"),
    		DatasetName: pulumi.String("string"),
    		Path:        pulumi.String("string"),
    		TablePrefix: pulumi.String("string"),
    	},
    	TargetType: pulumi.String("string"),
    })
    
    var datastoreResource = new Datastore("datastoreResource", DatastoreArgs.builder()
        .displayName("string")
        .organizationId("string")
        .datastoreConfig(GoogleCloudApigeeV1DatastoreConfigArgs.builder()
            .project("string")
            .bucketName("string")
            .datasetName("string")
            .path("string")
            .tablePrefix("string")
            .build())
        .targetType("string")
        .build());
    
    datastore_resource = google_native.apigee.v1.Datastore("datastoreResource",
        display_name="string",
        organization_id="string",
        datastore_config=google_native.apigee.v1.GoogleCloudApigeeV1DatastoreConfigArgs(
            project="string",
            bucket_name="string",
            dataset_name="string",
            path="string",
            table_prefix="string",
        ),
        target_type="string")
    
    const datastoreResource = new google_native.apigee.v1.Datastore("datastoreResource", {
        displayName: "string",
        organizationId: "string",
        datastoreConfig: {
            project: "string",
            bucketName: "string",
            datasetName: "string",
            path: "string",
            tablePrefix: "string",
        },
        targetType: "string",
    });
    
    type: google-native:apigee/v1:Datastore
    properties:
        datastoreConfig:
            bucketName: string
            datasetName: string
            path: string
            project: string
            tablePrefix: string
        displayName: string
        organizationId: string
        targetType: string
    

    Datastore Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Datastore resource accepts the following input properties:

    DisplayName string
    Display name in UI
    OrganizationId string
    DatastoreConfig Pulumi.GoogleNative.Apigee.V1.Inputs.GoogleCloudApigeeV1DatastoreConfig
    Datastore Configurations.
    TargetType string
    Destination storage type. Supported types gcs or bigquery.
    DisplayName string
    Display name in UI
    OrganizationId string
    DatastoreConfig GoogleCloudApigeeV1DatastoreConfigArgs
    Datastore Configurations.
    TargetType string
    Destination storage type. Supported types gcs or bigquery.
    displayName String
    Display name in UI
    organizationId String
    datastoreConfig GoogleCloudApigeeV1DatastoreConfig
    Datastore Configurations.
    targetType String
    Destination storage type. Supported types gcs or bigquery.
    displayName string
    Display name in UI
    organizationId string
    datastoreConfig GoogleCloudApigeeV1DatastoreConfig
    Datastore Configurations.
    targetType string
    Destination storage type. Supported types gcs or bigquery.
    display_name str
    Display name in UI
    organization_id str
    datastore_config GoogleCloudApigeeV1DatastoreConfigArgs
    Datastore Configurations.
    target_type str
    Destination storage type. Supported types gcs or bigquery.
    displayName String
    Display name in UI
    organizationId String
    datastoreConfig Property Map
    Datastore Configurations.
    targetType String
    Destination storage type. Supported types gcs or bigquery.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Datastore resource produces the following output properties:

    CreateTime string
    Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdateTime string
    Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    Org string
    Organization that the datastore belongs to
    Self string
    Resource link of Datastore. Example: /organizations/{org}/analytics/datastores/{uuid}
    CreateTime string
    Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdateTime string
    Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    Org string
    Organization that the datastore belongs to
    Self string
    Resource link of Datastore. Example: /organizations/{org}/analytics/datastores/{uuid}
    createTime String
    Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdateTime String
    Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    org String
    Organization that the datastore belongs to
    self String
    Resource link of Datastore. Example: /organizations/{org}/analytics/datastores/{uuid}
    createTime string
    Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdateTime string
    Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    org string
    Organization that the datastore belongs to
    self string
    Resource link of Datastore. Example: /organizations/{org}/analytics/datastores/{uuid}
    create_time str
    Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    id str
    The provider-assigned unique ID for this managed resource.
    last_update_time str
    Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    org str
    Organization that the datastore belongs to
    self str
    Resource link of Datastore. Example: /organizations/{org}/analytics/datastores/{uuid}
    createTime String
    Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdateTime String
    Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z
    org String
    Organization that the datastore belongs to
    self String
    Resource link of Datastore. Example: /organizations/{org}/analytics/datastores/{uuid}

    Supporting Types

    GoogleCloudApigeeV1DatastoreConfig, GoogleCloudApigeeV1DatastoreConfigArgs

    Project string
    GCP project in which the datastore exists
    BucketName string
    Name of the Cloud Storage bucket. Required for gcs target_type.
    DatasetName string
    BigQuery dataset name Required for bigquery target_type.
    Path string
    Path of Cloud Storage bucket Required for gcs target_type.
    TablePrefix string
    Prefix of BigQuery table Required for bigquery target_type.
    Project string
    GCP project in which the datastore exists
    BucketName string
    Name of the Cloud Storage bucket. Required for gcs target_type.
    DatasetName string
    BigQuery dataset name Required for bigquery target_type.
    Path string
    Path of Cloud Storage bucket Required for gcs target_type.
    TablePrefix string
    Prefix of BigQuery table Required for bigquery target_type.
    project String
    GCP project in which the datastore exists
    bucketName String
    Name of the Cloud Storage bucket. Required for gcs target_type.
    datasetName String
    BigQuery dataset name Required for bigquery target_type.
    path String
    Path of Cloud Storage bucket Required for gcs target_type.
    tablePrefix String
    Prefix of BigQuery table Required for bigquery target_type.
    project string
    GCP project in which the datastore exists
    bucketName string
    Name of the Cloud Storage bucket. Required for gcs target_type.
    datasetName string
    BigQuery dataset name Required for bigquery target_type.
    path string
    Path of Cloud Storage bucket Required for gcs target_type.
    tablePrefix string
    Prefix of BigQuery table Required for bigquery target_type.
    project str
    GCP project in which the datastore exists
    bucket_name str
    Name of the Cloud Storage bucket. Required for gcs target_type.
    dataset_name str
    BigQuery dataset name Required for bigquery target_type.
    path str
    Path of Cloud Storage bucket Required for gcs target_type.
    table_prefix str
    Prefix of BigQuery table Required for bigquery target_type.
    project String
    GCP project in which the datastore exists
    bucketName String
    Name of the Cloud Storage bucket. Required for gcs target_type.
    datasetName String
    BigQuery dataset name Required for bigquery target_type.
    path String
    Path of Cloud Storage bucket Required for gcs target_type.
    tablePrefix String
    Prefix of BigQuery table Required for bigquery target_type.

    GoogleCloudApigeeV1DatastoreConfigResponse, GoogleCloudApigeeV1DatastoreConfigResponseArgs

    BucketName string
    Name of the Cloud Storage bucket. Required for gcs target_type.
    DatasetName string
    BigQuery dataset name Required for bigquery target_type.
    Path string
    Path of Cloud Storage bucket Required for gcs target_type.
    Project string
    GCP project in which the datastore exists
    TablePrefix string
    Prefix of BigQuery table Required for bigquery target_type.
    BucketName string
    Name of the Cloud Storage bucket. Required for gcs target_type.
    DatasetName string
    BigQuery dataset name Required for bigquery target_type.
    Path string
    Path of Cloud Storage bucket Required for gcs target_type.
    Project string
    GCP project in which the datastore exists
    TablePrefix string
    Prefix of BigQuery table Required for bigquery target_type.
    bucketName String
    Name of the Cloud Storage bucket. Required for gcs target_type.
    datasetName String
    BigQuery dataset name Required for bigquery target_type.
    path String
    Path of Cloud Storage bucket Required for gcs target_type.
    project String
    GCP project in which the datastore exists
    tablePrefix String
    Prefix of BigQuery table Required for bigquery target_type.
    bucketName string
    Name of the Cloud Storage bucket. Required for gcs target_type.
    datasetName string
    BigQuery dataset name Required for bigquery target_type.
    path string
    Path of Cloud Storage bucket Required for gcs target_type.
    project string
    GCP project in which the datastore exists
    tablePrefix string
    Prefix of BigQuery table Required for bigquery target_type.
    bucket_name str
    Name of the Cloud Storage bucket. Required for gcs target_type.
    dataset_name str
    BigQuery dataset name Required for bigquery target_type.
    path str
    Path of Cloud Storage bucket Required for gcs target_type.
    project str
    GCP project in which the datastore exists
    table_prefix str
    Prefix of BigQuery table Required for bigquery target_type.
    bucketName String
    Name of the Cloud Storage bucket. Required for gcs target_type.
    datasetName String
    BigQuery dataset name Required for bigquery target_type.
    path String
    Path of Cloud Storage bucket Required for gcs target_type.
    project String
    GCP project in which the datastore exists
    tablePrefix String
    Prefix of BigQuery table Required for bigquery target_type.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi