Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.Datastore
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Datastore resource accepts the following input properties:
- Display
Name string - Display name in UI
- Organization
Id string - Datastore
Config Pulumi.Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Datastore Config - Datastore Configurations.
- Target
Type string - Destination storage type. Supported types
gcs
orbigquery
.
- Display
Name string - Display name in UI
- Organization
Id string - Datastore
Config GoogleCloud Apigee V1Datastore Config Args - Datastore Configurations.
- Target
Type string - Destination storage type. Supported types
gcs
orbigquery
.
- display
Name String - Display name in UI
- organization
Id String - datastore
Config GoogleCloud Apigee V1Datastore Config - Datastore Configurations.
- target
Type String - Destination storage type. Supported types
gcs
orbigquery
.
- display
Name string - Display name in UI
- organization
Id string - datastore
Config GoogleCloud Apigee V1Datastore Config - Datastore Configurations.
- target
Type string - Destination storage type. Supported types
gcs
orbigquery
.
- display_
name str - Display name in UI
- organization_
id str - datastore_
config GoogleCloud Apigee V1Datastore Config Args - Datastore Configurations.
- target_
type str - Destination storage type. Supported types
gcs
orbigquery
.
- display
Name String - Display name in UI
- organization
Id String - datastore
Config Property Map - Datastore Configurations.
- target
Type String - Destination storage type. Supported types
gcs
orbigquery
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Datastore resource produces the following output properties:
- Create
Time 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.
- Last
Update stringTime - 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 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.
- Last
Update stringTime - 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 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.
- last
Update StringTime - 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 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.
- last
Update stringTime - 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_ strtime - 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}
- create
Time 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.
- last
Update StringTime - 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
- Bucket
Name string - Name of the Cloud Storage bucket. Required for
gcs
target_type. - Dataset
Name string - BigQuery dataset name Required for
bigquery
target_type. - Path string
- Path of Cloud Storage bucket Required for
gcs
target_type. - Table
Prefix string - Prefix of BigQuery table Required for
bigquery
target_type.
- Project string
- GCP project in which the datastore exists
- Bucket
Name string - Name of the Cloud Storage bucket. Required for
gcs
target_type. - Dataset
Name string - BigQuery dataset name Required for
bigquery
target_type. - Path string
- Path of Cloud Storage bucket Required for
gcs
target_type. - Table
Prefix string - Prefix of BigQuery table Required for
bigquery
target_type.
- project String
- GCP project in which the datastore exists
- bucket
Name String - Name of the Cloud Storage bucket. Required for
gcs
target_type. - dataset
Name String - BigQuery dataset name Required for
bigquery
target_type. - path String
- Path of Cloud Storage bucket Required for
gcs
target_type. - table
Prefix String - Prefix of BigQuery table Required for
bigquery
target_type.
- project string
- GCP project in which the datastore exists
- bucket
Name string - Name of the Cloud Storage bucket. Required for
gcs
target_type. - dataset
Name string - BigQuery dataset name Required for
bigquery
target_type. - path string
- Path of Cloud Storage bucket Required for
gcs
target_type. - table
Prefix 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
- bucket
Name String - Name of the Cloud Storage bucket. Required for
gcs
target_type. - dataset
Name String - BigQuery dataset name Required for
bigquery
target_type. - path String
- Path of Cloud Storage bucket Required for
gcs
target_type. - table
Prefix String - Prefix of BigQuery table Required for
bigquery
target_type.
GoogleCloudApigeeV1DatastoreConfigResponse, GoogleCloudApigeeV1DatastoreConfigResponseArgs
- Bucket
Name string - Name of the Cloud Storage bucket. Required for
gcs
target_type. - Dataset
Name 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
- Table
Prefix string - Prefix of BigQuery table Required for
bigquery
target_type.
- Bucket
Name string - Name of the Cloud Storage bucket. Required for
gcs
target_type. - Dataset
Name 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
- Table
Prefix string - Prefix of BigQuery table Required for
bigquery
target_type.
- bucket
Name String - Name of the Cloud Storage bucket. Required for
gcs
target_type. - dataset
Name 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
- table
Prefix String - Prefix of BigQuery table Required for
bigquery
target_type.
- bucket
Name string - Name of the Cloud Storage bucket. Required for
gcs
target_type. - dataset
Name 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
- table
Prefix 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.
- bucket
Name String - Name of the Cloud Storage bucket. Required for
gcs
target_type. - dataset
Name 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
- table
Prefix 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 Cloud Native is in preview. Google Cloud Classic is fully supported.