1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. backupdisasterrecovery
  5. getDataSourceReferences
Google Cloud v9.6.0 published on Wednesday, Nov 26, 2025 by Pulumi
gcp logo
Google Cloud v9.6.0 published on Wednesday, Nov 26, 2025 by Pulumi

    A list of Backup and DR data source references.

    Using getDataSourceReferences

    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 getDataSourceReferences(args: GetDataSourceReferencesArgs, opts?: InvokeOptions): Promise<GetDataSourceReferencesResult>
    function getDataSourceReferencesOutput(args: GetDataSourceReferencesOutputArgs, opts?: InvokeOptions): Output<GetDataSourceReferencesResult>
    def get_data_source_references(location: Optional[str] = None,
                                   project: Optional[str] = None,
                                   resource_type: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDataSourceReferencesResult
    def get_data_source_references_output(location: Optional[pulumi.Input[str]] = None,
                                   project: Optional[pulumi.Input[str]] = None,
                                   resource_type: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDataSourceReferencesResult]
    func GetDataSourceReferences(ctx *Context, args *GetDataSourceReferencesArgs, opts ...InvokeOption) (*GetDataSourceReferencesResult, error)
    func GetDataSourceReferencesOutput(ctx *Context, args *GetDataSourceReferencesOutputArgs, opts ...InvokeOption) GetDataSourceReferencesResultOutput

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

    public static class GetDataSourceReferences 
    {
        public static Task<GetDataSourceReferencesResult> InvokeAsync(GetDataSourceReferencesArgs args, InvokeOptions? opts = null)
        public static Output<GetDataSourceReferencesResult> Invoke(GetDataSourceReferencesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataSourceReferencesResult> getDataSourceReferences(GetDataSourceReferencesArgs args, InvokeOptions options)
    public static Output<GetDataSourceReferencesResult> getDataSourceReferences(GetDataSourceReferencesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:backupdisasterrecovery/getDataSourceReferences:getDataSourceReferences
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    Project string
    • (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ResourceType string
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    Location string
    Project string
    • (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ResourceType string
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    location String
    project String
    • (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    resourceType String
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    location string
    project string
    • (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    resourceType string
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    location str
    project str
    • (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    resource_type str
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    location String
    project String
    • (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    resourceType String
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    getDataSourceReferences Result

    The following output properties are available:

    DataSourceReferences List<GetDataSourceReferencesDataSourceReference>
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    Project string
    ResourceType string

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    DataSourceReferences []GetDataSourceReferencesDataSourceReference
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    Project string
    ResourceType string

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    dataSourceReferences List<GetDataSourceReferencesDataSourceReference>
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    project String
    resourceType String

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    dataSourceReferences GetDataSourceReferencesDataSourceReference[]
    id string
    The provider-assigned unique ID for this managed resource.
    location string
    project string
    resourceType string

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    data_source_references Sequence[GetDataSourceReferencesDataSourceReference]
    id str
    The provider-assigned unique ID for this managed resource.
    location str
    project str
    resource_type str

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    dataSourceReferences List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    project String
    resourceType String

    Deprecated: resource_type is deprecated and will be removed in a future major release.

    Supporting Types

    GetDataSourceReferencesDataSourceReference

    BackupConfigState string
    The state of the backup config for the data source.
    BackupCount int
    The number of backups for the data source.
    DataSource string
    The underlying data source resource.
    GcpResourceName string
    The GCP resource name for the data source.
    LastBackupState string
    The state of the last backup.
    LastSuccessfulBackupTime string
    The last time a successful backup was made.
    Name string
    ResourceType string
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.
    BackupConfigState string
    The state of the backup config for the data source.
    BackupCount int
    The number of backups for the data source.
    DataSource string
    The underlying data source resource.
    GcpResourceName string
    The GCP resource name for the data source.
    LastBackupState string
    The state of the last backup.
    LastSuccessfulBackupTime string
    The last time a successful backup was made.
    Name string
    ResourceType string
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.
    backupConfigState String
    The state of the backup config for the data source.
    backupCount Integer
    The number of backups for the data source.
    dataSource String
    The underlying data source resource.
    gcpResourceName String
    The GCP resource name for the data source.
    lastBackupState String
    The state of the last backup.
    lastSuccessfulBackupTime String
    The last time a successful backup was made.
    name String
    resourceType String
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.
    backupConfigState string
    The state of the backup config for the data source.
    backupCount number
    The number of backups for the data source.
    dataSource string
    The underlying data source resource.
    gcpResourceName string
    The GCP resource name for the data source.
    lastBackupState string
    The state of the last backup.
    lastSuccessfulBackupTime string
    The last time a successful backup was made.
    name string
    resourceType string
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.
    backup_config_state str
    The state of the backup config for the data source.
    backup_count int
    The number of backups for the data source.
    data_source str
    The underlying data source resource.
    gcp_resource_name str
    The GCP resource name for the data source.
    last_backup_state str
    The state of the last backup.
    last_successful_backup_time str
    The last time a successful backup was made.
    name str
    resource_type str
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.
    backupConfigState String
    The state of the backup config for the data source.
    backupCount Number
    The number of backups for the data source.
    dataSource String
    The underlying data source resource.
    gcpResourceName String
    The GCP resource name for the data source.
    lastBackupState String
    The state of the last backup.
    lastSuccessfulBackupTime String
    The last time a successful backup was made.
    name String
    resourceType String
    The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "compute.googleapis.com/Instance". resource_type is deprecated and will be removed in a future major release.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud v9.6.0 published on Wednesday, Nov 26, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate