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.sqladmin/v1.getBackupRun
Explore with Pulumi AI
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
Retrieves a resource containing information about a backup run.
Using getBackupRun
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 getBackupRun(args: GetBackupRunArgs, opts?: InvokeOptions): Promise<GetBackupRunResult>
function getBackupRunOutput(args: GetBackupRunOutputArgs, opts?: InvokeOptions): Output<GetBackupRunResult>def get_backup_run(id: Optional[str] = None,
                   instance: Optional[str] = None,
                   project: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetBackupRunResult
def get_backup_run_output(id: Optional[pulumi.Input[str]] = None,
                   instance: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetBackupRunResult]func LookupBackupRun(ctx *Context, args *LookupBackupRunArgs, opts ...InvokeOption) (*LookupBackupRunResult, error)
func LookupBackupRunOutput(ctx *Context, args *LookupBackupRunOutputArgs, opts ...InvokeOption) LookupBackupRunResultOutput> Note: This function is named LookupBackupRun in the Go SDK.
public static class GetBackupRun 
{
    public static Task<GetBackupRunResult> InvokeAsync(GetBackupRunArgs args, InvokeOptions? opts = null)
    public static Output<GetBackupRunResult> Invoke(GetBackupRunInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBackupRunResult> getBackupRun(GetBackupRunArgs args, InvokeOptions options)
public static Output<GetBackupRunResult> getBackupRun(GetBackupRunArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:sqladmin/v1:getBackupRun
  arguments:
    # arguments dictionaryThe following arguments are supported:
getBackupRun Result
The following output properties are available:
- BackupKind string
- Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- Description string
- The description of this run, only applicable to on-demand backups.
- DiskEncryption Pulumi.Configuration Google Native. SQLAdmin. V1. Outputs. Disk Encryption Configuration Response 
- Encryption configuration specific to a backup.
- DiskEncryption Pulumi.Status Google Native. SQLAdmin. V1. Outputs. Disk Encryption Status Response 
- Encryption status specific to a backup.
- EndTime string
- The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- EnqueuedTime string
- The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Error
Pulumi.Google Native. SQLAdmin. V1. Outputs. Operation Error Response 
- Information about why the backup operation failed. This is only present if the run has the FAILED status.
- Instance string
- Name of the database instance.
- Kind string
- This is always sql#backupRun.
- Location string
- Location of the backups.
- SelfLink string
- The URI of this resource.
- StartTime string
- The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Status string
- The status of this run.
- TimeZone string
- Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
- Type string
- The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
- WindowStart stringTime 
- The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- BackupKind string
- Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- Description string
- The description of this run, only applicable to on-demand backups.
- DiskEncryption DiskConfiguration Encryption Configuration Response 
- Encryption configuration specific to a backup.
- DiskEncryption DiskStatus Encryption Status Response 
- Encryption status specific to a backup.
- EndTime string
- The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- EnqueuedTime string
- The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Error
OperationError Response 
- Information about why the backup operation failed. This is only present if the run has the FAILED status.
- Instance string
- Name of the database instance.
- Kind string
- This is always sql#backupRun.
- Location string
- Location of the backups.
- SelfLink string
- The URI of this resource.
- StartTime string
- The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Status string
- The status of this run.
- TimeZone string
- Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
- Type string
- The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
- WindowStart stringTime 
- The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- backupKind String
- Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- description String
- The description of this run, only applicable to on-demand backups.
- diskEncryption DiskConfiguration Encryption Configuration Response 
- Encryption configuration specific to a backup.
- diskEncryption DiskStatus Encryption Status Response 
- Encryption status specific to a backup.
- endTime String
- The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- enqueuedTime String
- The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- error
OperationError Response 
- Information about why the backup operation failed. This is only present if the run has the FAILED status.
- instance String
- Name of the database instance.
- kind String
- This is always sql#backupRun.
- location String
- Location of the backups.
- selfLink String
- The URI of this resource.
- startTime String
- The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- status String
- The status of this run.
- timeZone String
- Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
- type String
- The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
- windowStart StringTime 
- The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- backupKind string
- Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- description string
- The description of this run, only applicable to on-demand backups.
- diskEncryption DiskConfiguration Encryption Configuration Response 
- Encryption configuration specific to a backup.
- diskEncryption DiskStatus Encryption Status Response 
- Encryption status specific to a backup.
- endTime string
- The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- enqueuedTime string
- The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- error
OperationError Response 
- Information about why the backup operation failed. This is only present if the run has the FAILED status.
- instance string
- Name of the database instance.
- kind string
- This is always sql#backupRun.
- location string
- Location of the backups.
- selfLink string
- The URI of this resource.
- startTime string
- The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- status string
- The status of this run.
- timeZone string
- Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
- type string
- The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
- windowStart stringTime 
- The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- backup_kind str
- Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- description str
- The description of this run, only applicable to on-demand backups.
- disk_encryption_ Diskconfiguration Encryption Configuration Response 
- Encryption configuration specific to a backup.
- disk_encryption_ Diskstatus Encryption Status Response 
- Encryption status specific to a backup.
- end_time str
- The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- enqueued_time str
- The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- error
OperationError Response 
- Information about why the backup operation failed. This is only present if the run has the FAILED status.
- instance str
- Name of the database instance.
- kind str
- This is always sql#backupRun.
- location str
- Location of the backups.
- self_link str
- The URI of this resource.
- start_time str
- The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- status str
- The status of this run.
- time_zone str
- Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
- type str
- The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
- window_start_ strtime 
- The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- backupKind String
- Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- description String
- The description of this run, only applicable to on-demand backups.
- diskEncryption Property MapConfiguration 
- Encryption configuration specific to a backup.
- diskEncryption Property MapStatus 
- Encryption status specific to a backup.
- endTime String
- The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- enqueuedTime String
- The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- error Property Map
- Information about why the backup operation failed. This is only present if the run has the FAILED status.
- instance String
- Name of the database instance.
- kind String
- This is always sql#backupRun.
- location String
- Location of the backups.
- selfLink String
- The URI of this resource.
- startTime String
- The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- status String
- The status of this run.
- timeZone String
- Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
- type String
- The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
- windowStart StringTime 
- The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
Supporting Types
DiskEncryptionConfigurationResponse   
- Kind string
- This is always sql#diskEncryptionConfiguration.
- KmsKey stringName 
- Resource name of KMS key for disk encryption
- Kind string
- This is always sql#diskEncryptionConfiguration.
- KmsKey stringName 
- Resource name of KMS key for disk encryption
- kind String
- This is always sql#diskEncryptionConfiguration.
- kmsKey StringName 
- Resource name of KMS key for disk encryption
- kind string
- This is always sql#diskEncryptionConfiguration.
- kmsKey stringName 
- Resource name of KMS key for disk encryption
- kind str
- This is always sql#diskEncryptionConfiguration.
- kms_key_ strname 
- Resource name of KMS key for disk encryption
- kind String
- This is always sql#diskEncryptionConfiguration.
- kmsKey StringName 
- Resource name of KMS key for disk encryption
DiskEncryptionStatusResponse   
- Kind string
- This is always sql#diskEncryptionStatus.
- KmsKey stringVersion Name 
- KMS key version used to encrypt the Cloud SQL instance resource
- Kind string
- This is always sql#diskEncryptionStatus.
- KmsKey stringVersion Name 
- KMS key version used to encrypt the Cloud SQL instance resource
- kind String
- This is always sql#diskEncryptionStatus.
- kmsKey StringVersion Name 
- KMS key version used to encrypt the Cloud SQL instance resource
- kind string
- This is always sql#diskEncryptionStatus.
- kmsKey stringVersion Name 
- KMS key version used to encrypt the Cloud SQL instance resource
- kind str
- This is always sql#diskEncryptionStatus.
- kms_key_ strversion_ name 
- KMS key version used to encrypt the Cloud SQL instance resource
- kind String
- This is always sql#diskEncryptionStatus.
- kmsKey StringVersion Name 
- KMS key version used to encrypt the Cloud SQL instance resource
OperationErrorResponse  
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