published on Tuesday, Oct 20, 2026 by Pulumi
published on Tuesday, Oct 20, 2026 by Pulumi
Enrolls a BigQuery Data Transfer Service data source in a project, making it available
for use by gcp.bigquery.DataTransferConfig. Some data sources, notably Google Cloud
Carbon Footprint exports, must be enrolled before a transfer config can be created against
them.
Enrollment is project-wide: a data source enrolled in a project is available in every location that offers it.
Enrollment is eventually consistent, so a newly created or recreated enrollment may briefly read as absent before it settles.
To get more information about DataSourceEnrollment, see:
Example Usage
Bigquerydatatransfer Data Source Enrollment Carbon
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const carbon = new gcp.bigquery.DataTransferDataSourceEnrollment("carbon", {
project: "my-project-name",
dataSourceId: "61cede5a-0000-2440-ad42-883d24f8f7b8",
unenrollLocation: "us",
});
import pulumi
import pulumi_gcp as gcp
carbon = gcp.bigquery.DataTransferDataSourceEnrollment("carbon",
project="my-project-name",
data_source_id="61cede5a-0000-2440-ad42-883d24f8f7b8",
unenroll_location="us")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/bigquery"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bigquery.NewDataTransferDataSourceEnrollment(ctx, "carbon", &bigquery.DataTransferDataSourceEnrollmentArgs{
Project: pulumi.String("my-project-name"),
DataSourceId: pulumi.String("61cede5a-0000-2440-ad42-883d24f8f7b8"),
UnenrollLocation: pulumi.String("us"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var carbon = new Gcp.BigQuery.DataTransferDataSourceEnrollment("carbon", new()
{
Project = "my-project-name",
DataSourceId = "61cede5a-0000-2440-ad42-883d24f8f7b8",
UnenrollLocation = "us",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.bigquery.DataTransferDataSourceEnrollment;
import com.pulumi.gcp.bigquery.DataTransferDataSourceEnrollmentArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 carbon = new DataTransferDataSourceEnrollment("carbon", DataTransferDataSourceEnrollmentArgs.builder()
.project("my-project-name")
.dataSourceId("61cede5a-0000-2440-ad42-883d24f8f7b8")
.unenrollLocation("us")
.build());
}
}
resources:
carbon:
type: gcp:bigquery:DataTransferDataSourceEnrollment
properties:
project: my-project-name
dataSourceId: 61cede5a-0000-2440-ad42-883d24f8f7b8
unenrollLocation: us
terraform {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
resource "gcp_bigquery_data_transfer_data_source_enrollment" "carbon" {
lifecycle {
create_before_destroy = true
}
project = "my-project-name"
data_source_id = "61cede5a-0000-2440-ad42-883d24f8f7b8"
unenroll_location = "us"
}
Create DataTransferDataSourceEnrollment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataTransferDataSourceEnrollment(name: string, args: DataTransferDataSourceEnrollmentArgs, opts?: CustomResourceOptions);@overload
def DataTransferDataSourceEnrollment(resource_name: str,
args: DataTransferDataSourceEnrollmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataTransferDataSourceEnrollment(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_source_id: Optional[str] = None,
deletion_policy: Optional[str] = None,
project: Optional[str] = None,
unenroll_location: Optional[str] = None)func NewDataTransferDataSourceEnrollment(ctx *Context, name string, args DataTransferDataSourceEnrollmentArgs, opts ...ResourceOption) (*DataTransferDataSourceEnrollment, error)public DataTransferDataSourceEnrollment(string name, DataTransferDataSourceEnrollmentArgs args, CustomResourceOptions? opts = null)
public DataTransferDataSourceEnrollment(String name, DataTransferDataSourceEnrollmentArgs args)
public DataTransferDataSourceEnrollment(String name, DataTransferDataSourceEnrollmentArgs args, CustomResourceOptions options)
type: gcp:bigquery:DataTransferDataSourceEnrollment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "gcp_bigquery_data_transfer_data_source_enrollment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DataTransferDataSourceEnrollmentArgs
- 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 DataTransferDataSourceEnrollmentArgs
- 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 DataTransferDataSourceEnrollmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataTransferDataSourceEnrollmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataTransferDataSourceEnrollmentArgs
- 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 dataTransferDataSourceEnrollmentResource = new Gcp.BigQuery.DataTransferDataSourceEnrollment("dataTransferDataSourceEnrollmentResource", new()
{
DataSourceId = "string",
DeletionPolicy = "string",
Project = "string",
UnenrollLocation = "string",
});
example, err := bigquery.NewDataTransferDataSourceEnrollment(ctx, "dataTransferDataSourceEnrollmentResource", &bigquery.DataTransferDataSourceEnrollmentArgs{
DataSourceId: pulumi.String("string"),
DeletionPolicy: pulumi.String("string"),
Project: pulumi.String("string"),
UnenrollLocation: pulumi.String("string"),
})
resource "gcp_bigquery_data_transfer_data_source_enrollment" "dataTransferDataSourceEnrollmentResource" {
lifecycle {
create_before_destroy = true
}
data_source_id = "string"
deletion_policy = "string"
project = "string"
unenroll_location = "string"
}
var dataTransferDataSourceEnrollmentResource = new DataTransferDataSourceEnrollment("dataTransferDataSourceEnrollmentResource", DataTransferDataSourceEnrollmentArgs.builder()
.dataSourceId("string")
.deletionPolicy("string")
.project("string")
.unenrollLocation("string")
.build());
data_transfer_data_source_enrollment_resource = gcp.bigquery.DataTransferDataSourceEnrollment("dataTransferDataSourceEnrollmentResource",
data_source_id="string",
deletion_policy="string",
project="string",
unenroll_location="string")
const dataTransferDataSourceEnrollmentResource = new gcp.bigquery.DataTransferDataSourceEnrollment("dataTransferDataSourceEnrollmentResource", {
dataSourceId: "string",
deletionPolicy: "string",
project: "string",
unenrollLocation: "string",
});
type: gcp:bigquery:DataTransferDataSourceEnrollment
properties:
dataSourceId: string
deletionPolicy: string
project: string
unenrollLocation: string
DataTransferDataSourceEnrollment 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 DataTransferDataSourceEnrollment resource accepts the following input properties:
- Data
Source stringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Unenroll
Location string - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy.
- Data
Source stringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Unenroll
Location string - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy.
- data_
source_ stringid - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - deletion_
policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- unenroll_
location string - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy.
- data
Source StringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- unenroll
Location String - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy.
- data
Source stringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- unenroll
Location string - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy.
- data_
source_ strid - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - deletion_
policy str - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- unenroll_
location str - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy.
- data
Source StringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- unenroll
Location String - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataTransferDataSourceEnrollment resource produces the following output properties:
- string
- Indicates the type of authorization.
- Client
Id string - Data source client id which should be used to receive refresh token.
- Data
Refresh stringType - Data refresh type.
- Default
Data intRefresh Window Days - Default data refresh window on days.
- Default
Schedule string - Default data transfer schedule.
- Description string
- (Output) Parameter description.
- Display
Name string - (Output) User friendly parameter name.
- Help
Url string - Url to the documentation about the data source.
- Id string
- The provider-assigned unique ID for this managed resource.
- Manual
Runs boolDisabled - Disables support for manual transfer runs.
- Minimum
Schedule stringInterval - The minimum interval between two scheduled runs.
- Name string
- The resource name of the data source.
- Parameters
List<Data
Transfer Data Source Enrollment Parameter> - Data source parameters. Structure is documented below.
- Scopes List<string>
- Api auth scopes for which refresh token needs to be obtained.
- Supports
Custom boolSchedule - Specifies whether the data source supports a user defined schedule.
- Update
Deadline intSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
- string
- Indicates the type of authorization.
- Client
Id string - Data source client id which should be used to receive refresh token.
- Data
Refresh stringType - Data refresh type.
- Default
Data intRefresh Window Days - Default data refresh window on days.
- Default
Schedule string - Default data transfer schedule.
- Description string
- (Output) Parameter description.
- Display
Name string - (Output) User friendly parameter name.
- Help
Url string - Url to the documentation about the data source.
- Id string
- The provider-assigned unique ID for this managed resource.
- Manual
Runs boolDisabled - Disables support for manual transfer runs.
- Minimum
Schedule stringInterval - The minimum interval between two scheduled runs.
- Name string
- The resource name of the data source.
- Parameters
[]Data
Transfer Data Source Enrollment Parameter - Data source parameters. Structure is documented below.
- Scopes []string
- Api auth scopes for which refresh token needs to be obtained.
- Supports
Custom boolSchedule - Specifies whether the data source supports a user defined schedule.
- Update
Deadline intSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
- string
- Indicates the type of authorization.
- client_
id string - Data source client id which should be used to receive refresh token.
- data_
refresh_ stringtype - Data refresh type.
- default_
data_ numberrefresh_ window_ days - Default data refresh window on days.
- default_
schedule string - Default data transfer schedule.
- description string
- (Output) Parameter description.
- display_
name string - (Output) User friendly parameter name.
- help_
url string - Url to the documentation about the data source.
- id string
- The provider-assigned unique ID for this managed resource.
- manual_
runs_ booldisabled - Disables support for manual transfer runs.
- minimum_
schedule_ stringinterval - The minimum interval between two scheduled runs.
- name string
- The resource name of the data source.
- parameters list(object)
- Data source parameters. Structure is documented below.
- scopes list(string)
- Api auth scopes for which refresh token needs to be obtained.
- supports_
custom_ boolschedule - Specifies whether the data source supports a user defined schedule.
- update_
deadline_ numberseconds - The number of seconds to wait for a transfer to start before declaring the failure.
- String
- Indicates the type of authorization.
- client
Id String - Data source client id which should be used to receive refresh token.
- data
Refresh StringType - Data refresh type.
- default
Data IntegerRefresh Window Days - Default data refresh window on days.
- default
Schedule String - Default data transfer schedule.
- description String
- (Output) Parameter description.
- display
Name String - (Output) User friendly parameter name.
- help
Url String - Url to the documentation about the data source.
- id String
- The provider-assigned unique ID for this managed resource.
- manual
Runs BooleanDisabled - Disables support for manual transfer runs.
- minimum
Schedule StringInterval - The minimum interval between two scheduled runs.
- name String
- The resource name of the data source.
- parameters
List<Data
Transfer Data Source Enrollment Parameter> - Data source parameters. Structure is documented below.
- scopes List<String>
- Api auth scopes for which refresh token needs to be obtained.
- supports
Custom BooleanSchedule - Specifies whether the data source supports a user defined schedule.
- update
Deadline IntegerSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
- string
- Indicates the type of authorization.
- client
Id string - Data source client id which should be used to receive refresh token.
- data
Refresh stringType - Data refresh type.
- default
Data numberRefresh Window Days - Default data refresh window on days.
- default
Schedule string - Default data transfer schedule.
- description string
- (Output) Parameter description.
- display
Name string - (Output) User friendly parameter name.
- help
Url string - Url to the documentation about the data source.
- id string
- The provider-assigned unique ID for this managed resource.
- manual
Runs booleanDisabled - Disables support for manual transfer runs.
- minimum
Schedule stringInterval - The minimum interval between two scheduled runs.
- name string
- The resource name of the data source.
- parameters
Data
Transfer Data Source Enrollment Parameter[] - Data source parameters. Structure is documented below.
- scopes string[]
- Api auth scopes for which refresh token needs to be obtained.
- supports
Custom booleanSchedule - Specifies whether the data source supports a user defined schedule.
- update
Deadline numberSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
- str
- Indicates the type of authorization.
- client_
id str - Data source client id which should be used to receive refresh token.
- data_
refresh_ strtype - Data refresh type.
- default_
data_ intrefresh_ window_ days - Default data refresh window on days.
- default_
schedule str - Default data transfer schedule.
- description str
- (Output) Parameter description.
- display_
name str - (Output) User friendly parameter name.
- help_
url str - Url to the documentation about the data source.
- id str
- The provider-assigned unique ID for this managed resource.
- manual_
runs_ booldisabled - Disables support for manual transfer runs.
- minimum_
schedule_ strinterval - The minimum interval between two scheduled runs.
- name str
- The resource name of the data source.
- parameters
Sequence[Data
Transfer Data Source Enrollment Parameter] - Data source parameters. Structure is documented below.
- scopes Sequence[str]
- Api auth scopes for which refresh token needs to be obtained.
- supports_
custom_ boolschedule - Specifies whether the data source supports a user defined schedule.
- update_
deadline_ intseconds - The number of seconds to wait for a transfer to start before declaring the failure.
- String
- Indicates the type of authorization.
- client
Id String - Data source client id which should be used to receive refresh token.
- data
Refresh StringType - Data refresh type.
- default
Data NumberRefresh Window Days - Default data refresh window on days.
- default
Schedule String - Default data transfer schedule.
- description String
- (Output) Parameter description.
- display
Name String - (Output) User friendly parameter name.
- help
Url String - Url to the documentation about the data source.
- id String
- The provider-assigned unique ID for this managed resource.
- manual
Runs BooleanDisabled - Disables support for manual transfer runs.
- minimum
Schedule StringInterval - The minimum interval between two scheduled runs.
- name String
- The resource name of the data source.
- parameters List<Property Map>
- Data source parameters. Structure is documented below.
- scopes List<String>
- Api auth scopes for which refresh token needs to be obtained.
- supports
Custom BooleanSchedule - Specifies whether the data source supports a user defined schedule.
- update
Deadline NumberSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
Look up Existing DataTransferDataSourceEnrollment Resource
Get an existing DataTransferDataSourceEnrollment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DataTransferDataSourceEnrollmentState, opts?: CustomResourceOptions): DataTransferDataSourceEnrollment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authorization_type: Optional[str] = None,
client_id: Optional[str] = None,
data_refresh_type: Optional[str] = None,
data_source_id: Optional[str] = None,
default_data_refresh_window_days: Optional[int] = None,
default_schedule: Optional[str] = None,
deletion_policy: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
help_url: Optional[str] = None,
manual_runs_disabled: Optional[bool] = None,
minimum_schedule_interval: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[Sequence[DataTransferDataSourceEnrollmentParameterArgs]] = None,
project: Optional[str] = None,
scopes: Optional[Sequence[str]] = None,
supports_custom_schedule: Optional[bool] = None,
unenroll_location: Optional[str] = None,
update_deadline_seconds: Optional[int] = None) -> DataTransferDataSourceEnrollmentfunc GetDataTransferDataSourceEnrollment(ctx *Context, name string, id IDInput, state *DataTransferDataSourceEnrollmentState, opts ...ResourceOption) (*DataTransferDataSourceEnrollment, error)public static DataTransferDataSourceEnrollment Get(string name, Input<string> id, DataTransferDataSourceEnrollmentState? state, CustomResourceOptions? opts = null)public static DataTransferDataSourceEnrollment get(String name, Output<String> id, DataTransferDataSourceEnrollmentState state, CustomResourceOptions options)resources: _: type: gcp:bigquery:DataTransferDataSourceEnrollment get: id: ${id}import {
to = gcp_bigquery_data_transfer_data_source_enrollment.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- string
- Indicates the type of authorization.
- Client
Id string - Data source client id which should be used to receive refresh token.
- Data
Refresh stringType - Data refresh type.
- Data
Source stringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - Default
Data intRefresh Window Days - Default data refresh window on days.
- Default
Schedule string - Default data transfer schedule.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- (Output) Parameter description.
- Display
Name string - (Output) User friendly parameter name.
- Help
Url string - Url to the documentation about the data source.
- Manual
Runs boolDisabled - Disables support for manual transfer runs.
- Minimum
Schedule stringInterval - The minimum interval between two scheduled runs.
- Name string
- The resource name of the data source.
- Parameters
List<Data
Transfer Data Source Enrollment Parameter> - Data source parameters. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Scopes List<string>
- Api auth scopes for which refresh token needs to be obtained.
- Supports
Custom boolSchedule - Specifies whether the data source supports a user defined schedule.
- Unenroll
Location string - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy. - Update
Deadline intSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
- string
- Indicates the type of authorization.
- Client
Id string - Data source client id which should be used to receive refresh token.
- Data
Refresh stringType - Data refresh type.
- Data
Source stringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - Default
Data intRefresh Window Days - Default data refresh window on days.
- Default
Schedule string - Default data transfer schedule.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- (Output) Parameter description.
- Display
Name string - (Output) User friendly parameter name.
- Help
Url string - Url to the documentation about the data source.
- Manual
Runs boolDisabled - Disables support for manual transfer runs.
- Minimum
Schedule stringInterval - The minimum interval between two scheduled runs.
- Name string
- The resource name of the data source.
- Parameters
[]Data
Transfer Data Source Enrollment Parameter Args - Data source parameters. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Scopes []string
- Api auth scopes for which refresh token needs to be obtained.
- Supports
Custom boolSchedule - Specifies whether the data source supports a user defined schedule.
- Unenroll
Location string - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy. - Update
Deadline intSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
- string
- Indicates the type of authorization.
- client_
id string - Data source client id which should be used to receive refresh token.
- data_
refresh_ stringtype - Data refresh type.
- data_
source_ stringid - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - default_
data_ numberrefresh_ window_ days - Default data refresh window on days.
- default_
schedule string - Default data transfer schedule.
- deletion_
policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- (Output) Parameter description.
- display_
name string - (Output) User friendly parameter name.
- help_
url string - Url to the documentation about the data source.
- manual_
runs_ booldisabled - Disables support for manual transfer runs.
- minimum_
schedule_ stringinterval - The minimum interval between two scheduled runs.
- name string
- The resource name of the data source.
- parameters list(object)
- Data source parameters. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scopes list(string)
- Api auth scopes for which refresh token needs to be obtained.
- supports_
custom_ boolschedule - Specifies whether the data source supports a user defined schedule.
- unenroll_
location string - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy. - update_
deadline_ numberseconds - The number of seconds to wait for a transfer to start before declaring the failure.
- String
- Indicates the type of authorization.
- client
Id String - Data source client id which should be used to receive refresh token.
- data
Refresh StringType - Data refresh type.
- data
Source StringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - default
Data IntegerRefresh Window Days - Default data refresh window on days.
- default
Schedule String - Default data transfer schedule.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- (Output) Parameter description.
- display
Name String - (Output) User friendly parameter name.
- help
Url String - Url to the documentation about the data source.
- manual
Runs BooleanDisabled - Disables support for manual transfer runs.
- minimum
Schedule StringInterval - The minimum interval between two scheduled runs.
- name String
- The resource name of the data source.
- parameters
List<Data
Transfer Data Source Enrollment Parameter> - Data source parameters. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scopes List<String>
- Api auth scopes for which refresh token needs to be obtained.
- supports
Custom BooleanSchedule - Specifies whether the data source supports a user defined schedule.
- unenroll
Location String - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy. - update
Deadline IntegerSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
- string
- Indicates the type of authorization.
- client
Id string - Data source client id which should be used to receive refresh token.
- data
Refresh stringType - Data refresh type.
- data
Source stringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - default
Data numberRefresh Window Days - Default data refresh window on days.
- default
Schedule string - Default data transfer schedule.
- deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- (Output) Parameter description.
- display
Name string - (Output) User friendly parameter name.
- help
Url string - Url to the documentation about the data source.
- manual
Runs booleanDisabled - Disables support for manual transfer runs.
- minimum
Schedule stringInterval - The minimum interval between two scheduled runs.
- name string
- The resource name of the data source.
- parameters
Data
Transfer Data Source Enrollment Parameter[] - Data source parameters. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scopes string[]
- Api auth scopes for which refresh token needs to be obtained.
- supports
Custom booleanSchedule - Specifies whether the data source supports a user defined schedule.
- unenroll
Location string - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy. - update
Deadline numberSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
- str
- Indicates the type of authorization.
- client_
id str - Data source client id which should be used to receive refresh token.
- data_
refresh_ strtype - Data refresh type.
- data_
source_ strid - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - default_
data_ intrefresh_ window_ days - Default data refresh window on days.
- default_
schedule str - Default data transfer schedule.
- deletion_
policy str - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description str
- (Output) Parameter description.
- display_
name str - (Output) User friendly parameter name.
- help_
url str - Url to the documentation about the data source.
- manual_
runs_ booldisabled - Disables support for manual transfer runs.
- minimum_
schedule_ strinterval - The minimum interval between two scheduled runs.
- name str
- The resource name of the data source.
- parameters
Sequence[Data
Transfer Data Source Enrollment Parameter Args] - Data source parameters. Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scopes Sequence[str]
- Api auth scopes for which refresh token needs to be obtained.
- supports_
custom_ boolschedule - Specifies whether the data source supports a user defined schedule.
- unenroll_
location str - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy. - update_
deadline_ intseconds - The number of seconds to wait for a transfer to start before declaring the failure.
- String
- Indicates the type of authorization.
- client
Id String - Data source client id which should be used to receive refresh token.
- data
Refresh StringType - Data refresh type.
- data
Source StringId - The ID of the data source to enroll. For Google Cloud Carbon Footprint exports this is
61cede5a-0000-2440-ad42-883d24f8f7b8. Callprojects.dataSources.listto see the data sources currently enrolled in a project. - default
Data NumberRefresh Window Days - Default data refresh window on days.
- default
Schedule String - Default data transfer schedule.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- (Output) Parameter description.
- display
Name String - (Output) User friendly parameter name.
- help
Url String - Url to the documentation about the data source.
- manual
Runs BooleanDisabled - Disables support for manual transfer runs.
- minimum
Schedule StringInterval - The minimum interval between two scheduled runs.
- name String
- The resource name of the data source.
- parameters List<Property Map>
- Data source parameters. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- scopes List<String>
- Api auth scopes for which refresh token needs to be obtained.
- supports
Custom BooleanSchedule - Specifies whether the data source supports a user defined schedule.
- unenroll
Location String - The location whose
unenrollDataSourcesendpoint is called when this resource is destroyed. Enrollment itself is project-wide and unenrolling through any location removes it everywhere; this only exists because the API offers no project-level unenroll method. Override it only ifusis not routable for the project, for example under a data-residency organization policy. - update
Deadline NumberSeconds - The number of seconds to wait for a transfer to start before declaring the failure.
Supporting Types
DataTransferDataSourceEnrollmentParameter, DataTransferDataSourceEnrollmentParameterArgs
- Allowed
Values List<string> - (Output) All possible values for parameters with fixed list of options.
- Deprecated bool
- (Output) If true, it should not be used in new transfers, and it should not be visible to users.
- Description string
- (Output) Parameter description.
- Display
Name string - (Output) User friendly parameter name.
- Immutable bool
- (Output) Cannot be changed after initial transfer config creation. Applies only to custom data sources.
- Max
List intSize - (Output) For list parameters, the max size of the list.
- Max
Value double - (Output) For integer and double values specifies maximum allowed value.
- Min
Value double - (Output) For integer and double values specifies minimum allowed value.
- Param
Id string - (Output) Parameter identifier.
- Required bool
- (Output) Is parameter required.
- Type string
- (Output) Parameter type.
- Validation
Description string - (Output) Description of the requirements for this field, in case the user input does not fulfill the regex.
- Validation
Help stringUrl - (Output) URL to a help document to further explain the naming requirements.
- Validation
Regex string - (Output) Regular expression which can be used for parameter validation.
- Allowed
Values []string - (Output) All possible values for parameters with fixed list of options.
- Deprecated bool
- (Output) If true, it should not be used in new transfers, and it should not be visible to users.
- Description string
- (Output) Parameter description.
- Display
Name string - (Output) User friendly parameter name.
- Immutable bool
- (Output) Cannot be changed after initial transfer config creation. Applies only to custom data sources.
- Max
List intSize - (Output) For list parameters, the max size of the list.
- Max
Value float64 - (Output) For integer and double values specifies maximum allowed value.
- Min
Value float64 - (Output) For integer and double values specifies minimum allowed value.
- Param
Id string - (Output) Parameter identifier.
- Required bool
- (Output) Is parameter required.
- Type string
- (Output) Parameter type.
- Validation
Description string - (Output) Description of the requirements for this field, in case the user input does not fulfill the regex.
- Validation
Help stringUrl - (Output) URL to a help document to further explain the naming requirements.
- Validation
Regex string - (Output) Regular expression which can be used for parameter validation.
- allowed_
values list(string) - (Output) All possible values for parameters with fixed list of options.
- deprecated bool
- (Output) If true, it should not be used in new transfers, and it should not be visible to users.
- description string
- (Output) Parameter description.
- display_
name string - (Output) User friendly parameter name.
- immutable bool
- (Output) Cannot be changed after initial transfer config creation. Applies only to custom data sources.
- max_
list_ numbersize - (Output) For list parameters, the max size of the list.
- max_
value number - (Output) For integer and double values specifies maximum allowed value.
- min_
value number - (Output) For integer and double values specifies minimum allowed value.
- param_
id string - (Output) Parameter identifier.
- required bool
- (Output) Is parameter required.
- type string
- (Output) Parameter type.
- validation_
description string - (Output) Description of the requirements for this field, in case the user input does not fulfill the regex.
- validation_
help_ stringurl - (Output) URL to a help document to further explain the naming requirements.
- validation_
regex string - (Output) Regular expression which can be used for parameter validation.
- allowed
Values List<String> - (Output) All possible values for parameters with fixed list of options.
- deprecated Boolean
- (Output) If true, it should not be used in new transfers, and it should not be visible to users.
- description String
- (Output) Parameter description.
- display
Name String - (Output) User friendly parameter name.
- immutable Boolean
- (Output) Cannot be changed after initial transfer config creation. Applies only to custom data sources.
- max
List IntegerSize - (Output) For list parameters, the max size of the list.
- max
Value Double - (Output) For integer and double values specifies maximum allowed value.
- min
Value Double - (Output) For integer and double values specifies minimum allowed value.
- param
Id String - (Output) Parameter identifier.
- required Boolean
- (Output) Is parameter required.
- type String
- (Output) Parameter type.
- validation
Description String - (Output) Description of the requirements for this field, in case the user input does not fulfill the regex.
- validation
Help StringUrl - (Output) URL to a help document to further explain the naming requirements.
- validation
Regex String - (Output) Regular expression which can be used for parameter validation.
- allowed
Values string[] - (Output) All possible values for parameters with fixed list of options.
- deprecated boolean
- (Output) If true, it should not be used in new transfers, and it should not be visible to users.
- description string
- (Output) Parameter description.
- display
Name string - (Output) User friendly parameter name.
- immutable boolean
- (Output) Cannot be changed after initial transfer config creation. Applies only to custom data sources.
- max
List numberSize - (Output) For list parameters, the max size of the list.
- max
Value number - (Output) For integer and double values specifies maximum allowed value.
- min
Value number - (Output) For integer and double values specifies minimum allowed value.
- param
Id string - (Output) Parameter identifier.
- required boolean
- (Output) Is parameter required.
- type string
- (Output) Parameter type.
- validation
Description string - (Output) Description of the requirements for this field, in case the user input does not fulfill the regex.
- validation
Help stringUrl - (Output) URL to a help document to further explain the naming requirements.
- validation
Regex string - (Output) Regular expression which can be used for parameter validation.
- allowed_
values Sequence[str] - (Output) All possible values for parameters with fixed list of options.
- deprecated bool
- (Output) If true, it should not be used in new transfers, and it should not be visible to users.
- description str
- (Output) Parameter description.
- display_
name str - (Output) User friendly parameter name.
- immutable bool
- (Output) Cannot be changed after initial transfer config creation. Applies only to custom data sources.
- max_
list_ intsize - (Output) For list parameters, the max size of the list.
- max_
value float - (Output) For integer and double values specifies maximum allowed value.
- min_
value float - (Output) For integer and double values specifies minimum allowed value.
- param_
id str - (Output) Parameter identifier.
- required bool
- (Output) Is parameter required.
- type str
- (Output) Parameter type.
- validation_
description str - (Output) Description of the requirements for this field, in case the user input does not fulfill the regex.
- validation_
help_ strurl - (Output) URL to a help document to further explain the naming requirements.
- validation_
regex str - (Output) Regular expression which can be used for parameter validation.
- allowed
Values List<String> - (Output) All possible values for parameters with fixed list of options.
- deprecated Boolean
- (Output) If true, it should not be used in new transfers, and it should not be visible to users.
- description String
- (Output) Parameter description.
- display
Name String - (Output) User friendly parameter name.
- immutable Boolean
- (Output) Cannot be changed after initial transfer config creation. Applies only to custom data sources.
- max
List NumberSize - (Output) For list parameters, the max size of the list.
- max
Value Number - (Output) For integer and double values specifies maximum allowed value.
- min
Value Number - (Output) For integer and double values specifies minimum allowed value.
- param
Id String - (Output) Parameter identifier.
- required Boolean
- (Output) Is parameter required.
- type String
- (Output) Parameter type.
- validation
Description String - (Output) Description of the requirements for this field, in case the user input does not fulfill the regex.
- validation
Help StringUrl - (Output) URL to a help document to further explain the naming requirements.
- validation
Regex String - (Output) Regular expression which can be used for parameter validation.
Import
DataSourceEnrollment can be imported using any of these accepted formats:
projects/{{project}}/dataSources/{{data_source_id}}{{project}}/{{data_source_id}}{{data_source_id}}
When using the pulumi import command, DataSourceEnrollment can be imported using one of the formats above. For example:
$ pulumi import gcp:bigquery/dataTransferDataSourceEnrollment:DataTransferDataSourceEnrollment default projects/{{project}}/dataSources/{{data_source_id}}
$ pulumi import gcp:bigquery/dataTransferDataSourceEnrollment:DataTransferDataSourceEnrollment default {{project}}/{{data_source_id}}
$ pulumi import gcp:bigquery/dataTransferDataSourceEnrollment:DataTransferDataSourceEnrollment default {{data_source_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Tuesday, Oct 20, 2026 by Pulumi