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.bigtableadmin/v2.getBackup
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
Gets metadata on a pending or completed Cloud Bigtable Backup.
Using getBackup
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 getBackup(args: GetBackupArgs, opts?: InvokeOptions): Promise<GetBackupResult>
function getBackupOutput(args: GetBackupOutputArgs, opts?: InvokeOptions): Output<GetBackupResult>def get_backup(backup_id: Optional[str] = None,
cluster_id: Optional[str] = None,
instance_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupResult
def get_backup_output(backup_id: Optional[pulumi.Input[str]] = None,
cluster_id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupResult]func LookupBackup(ctx *Context, args *LookupBackupArgs, opts ...InvokeOption) (*LookupBackupResult, error)
func LookupBackupOutput(ctx *Context, args *LookupBackupOutputArgs, opts ...InvokeOption) LookupBackupResultOutput> Note: This function is named LookupBackup in the Go SDK.
public static class GetBackup
{
public static Task<GetBackupResult> InvokeAsync(GetBackupArgs args, InvokeOptions? opts = null)
public static Output<GetBackupResult> Invoke(GetBackupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBackupResult> getBackup(GetBackupArgs args, InvokeOptions options)
public static Output<GetBackupResult> getBackup(GetBackupArgs args, InvokeOptions options)
fn::invoke:
function: google-native:bigtableadmin/v2:getBackup
arguments:
# arguments dictionaryThe following arguments are supported:
- Backup
Id string - Cluster
Id string - Instance
Id string - Project string
- Backup
Id string - Cluster
Id string - Instance
Id string - Project string
- backup
Id String - cluster
Id String - instance
Id String - project String
- backup
Id string - cluster
Id string - instance
Id string - project string
- backup_
id str - cluster_
id str - instance_
id str - project str
- backup
Id String - cluster
Id String - instance
Id String - project String
getBackup Result
The following output properties are available:
- Encryption
Info Pulumi.Google Native. Bigtable Admin. V2. Outputs. Encryption Info Response - The encryption information for the backup.
- End
Time string end_timeis the time that the backup was finished. The row data in the backup will be no newer than this timestamp.- Expire
Time string - The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the
expire_timehas passed, Cloud Bigtable will delete the backup and free the resources used by the backup. - Name string
- A globally unique identifier for the backup which cannot be changed. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the formprojects/{project}/instances/{instance}/clusters/{cluster}. - Size
Bytes string - Size of the backup in bytes.
- Source
Backup string - Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//backups/.
- Source
Table string - Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form
projects/{project}/instances/{instance}/tables/{source_table}. - Start
Time string start_timeis the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.- State string
- The current state of the backup.
- Encryption
Info EncryptionInfo Response - The encryption information for the backup.
- End
Time string end_timeis the time that the backup was finished. The row data in the backup will be no newer than this timestamp.- Expire
Time string - The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the
expire_timehas passed, Cloud Bigtable will delete the backup and free the resources used by the backup. - Name string
- A globally unique identifier for the backup which cannot be changed. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the formprojects/{project}/instances/{instance}/clusters/{cluster}. - Size
Bytes string - Size of the backup in bytes.
- Source
Backup string - Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//backups/.
- Source
Table string - Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form
projects/{project}/instances/{instance}/tables/{source_table}. - Start
Time string start_timeis the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.- State string
- The current state of the backup.
- encryption
Info EncryptionInfo Response - The encryption information for the backup.
- end
Time String end_timeis the time that the backup was finished. The row data in the backup will be no newer than this timestamp.- expire
Time String - The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the
expire_timehas passed, Cloud Bigtable will delete the backup and free the resources used by the backup. - name String
- A globally unique identifier for the backup which cannot be changed. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the formprojects/{project}/instances/{instance}/clusters/{cluster}. - size
Bytes String - Size of the backup in bytes.
- source
Backup String - Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//backups/.
- source
Table String - Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form
projects/{project}/instances/{instance}/tables/{source_table}. - start
Time String start_timeis the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.- state String
- The current state of the backup.
- encryption
Info EncryptionInfo Response - The encryption information for the backup.
- end
Time string end_timeis the time that the backup was finished. The row data in the backup will be no newer than this timestamp.- expire
Time string - The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the
expire_timehas passed, Cloud Bigtable will delete the backup and free the resources used by the backup. - name string
- A globally unique identifier for the backup which cannot be changed. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the formprojects/{project}/instances/{instance}/clusters/{cluster}. - size
Bytes string - Size of the backup in bytes.
- source
Backup string - Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//backups/.
- source
Table string - Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form
projects/{project}/instances/{instance}/tables/{source_table}. - start
Time string start_timeis the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.- state string
- The current state of the backup.
- encryption_
info EncryptionInfo Response - The encryption information for the backup.
- end_
time str end_timeis the time that the backup was finished. The row data in the backup will be no newer than this timestamp.- expire_
time str - The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the
expire_timehas passed, Cloud Bigtable will delete the backup and free the resources used by the backup. - name str
- A globally unique identifier for the backup which cannot be changed. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the formprojects/{project}/instances/{instance}/clusters/{cluster}. - size_
bytes str - Size of the backup in bytes.
- source_
backup str - Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//backups/.
- source_
table str - Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form
projects/{project}/instances/{instance}/tables/{source_table}. - start_
time str start_timeis the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.- state str
- The current state of the backup.
- encryption
Info Property Map - The encryption information for the backup.
- end
Time String end_timeis the time that the backup was finished. The row data in the backup will be no newer than this timestamp.- expire
Time String - The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 90 days from the time the request is received. Once the
expire_timehas passed, Cloud Bigtable will delete the backup and free the resources used by the backup. - name String
- A globally unique identifier for the backup which cannot be changed. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the formprojects/{project}/instances/{instance}/clusters/{cluster}. - size
Bytes String - Size of the backup in bytes.
- source
Backup String - Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//backups/.
- source
Table String - Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form
projects/{project}/instances/{instance}/tables/{source_table}. - start
Time String start_timeis the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.- state String
- The current state of the backup.
Supporting Types
EncryptionInfoResponse
- Encryption
Status Pulumi.Google Native. Bigtable Admin. V2. Inputs. Status Response - The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
- Encryption
Type string - The type of encryption used to protect this resource.
- Kms
Key stringVersion - The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
- Encryption
Status StatusResponse - The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
- Encryption
Type string - The type of encryption used to protect this resource.
- Kms
Key stringVersion - The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
- encryption
Status StatusResponse - The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
- encryption
Type String - The type of encryption used to protect this resource.
- kms
Key StringVersion - The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
- encryption
Status StatusResponse - The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
- encryption
Type string - The type of encryption used to protect this resource.
- kms
Key stringVersion - The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
- encryption_
status StatusResponse - The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
- encryption_
type str - The type of encryption used to protect this resource.
- kms_
key_ strversion - The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
- encryption
Status Property Map - The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.
- encryption
Type String - The type of encryption used to protect this resource.
- kms
Key StringVersion - The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.
StatusResponse
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<Immutable
Dictionary<string, string>> - A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
