Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.sqladmin/v1beta4.getBackupRun
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:sqladmin/v1beta4:getBackupRun
arguments:
# arguments dictionary
The following arguments are supported:
getBackupRun Result
The following output properties are available:
- Backup
Kind string Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- Description string
The description of this run, only applicable to on-demand backups.
- Disk
Encryption Pulumi.Configuration Google Native. SQLAdmin. V1Beta4. Outputs. Disk Encryption Configuration Response Encryption configuration specific to a backup.
- Disk
Encryption Pulumi.Status Google Native. SQLAdmin. V1Beta4. Outputs. Disk Encryption Status Response Encryption status specific to a backup.
- End
Time string The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Enqueued
Time 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. V1Beta4. 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.
- Self
Link string The URI of this resource.
- Start
Time 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.
- Time
Zone 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.
- Window
Start 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 string Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- Description string
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 string The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Enqueued
Time string The time the run was enqueued in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Error
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.
- Self
Link string The URI of this resource.
- Start
Time 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.
- Time
Zone 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.
- Window
Start 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 String Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- description String
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 String The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- enqueued
Time String The time the run was enqueued in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- error
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.
- self
Link String The URI of this resource.
- start
Time 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.
- time
Zone 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.
- window
Start 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 string Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- description string
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 string The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- enqueued
Time string The time the run was enqueued in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- error
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.
- self
Link string The URI of this resource.
- start
Time 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.
- time
Zone 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.
- window
Start 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
Operation
Error 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
.
- backup
Kind String Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- description String
The description of this run, only applicable to on-demand backups.
- disk
Encryption Property MapConfiguration Encryption configuration specific to a backup.
- disk
Encryption Property MapStatus Encryption status specific to a backup.
- end
Time String The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- enqueued
Time 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.
- self
Link String The URI of this resource.
- start
Time 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.
- time
Zone 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.
- window
Start 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
.- Kms
Key stringName Resource name of KMS key for disk encryption
- Kind string
This is always
sql#diskEncryptionConfiguration
.- Kms
Key stringName Resource name of KMS key for disk encryption
- kind String
This is always
sql#diskEncryptionConfiguration
.- kms
Key StringName Resource name of KMS key for disk encryption
- kind string
This is always
sql#diskEncryptionConfiguration
.- kms
Key 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
.- kms
Key StringName Resource name of KMS key for disk encryption
DiskEncryptionStatusResponse
- Kind string
This is always
sql#diskEncryptionStatus
.- Kms
Key stringVersion Name KMS key version used to encrypt the Cloud SQL instance resource
- Kind string
This is always
sql#diskEncryptionStatus
.- Kms
Key stringVersion Name KMS key version used to encrypt the Cloud SQL instance resource
- kind String
This is always
sql#diskEncryptionStatus
.- kms
Key StringVersion Name KMS key version used to encrypt the Cloud SQL instance resource
- kind string
This is always
sql#diskEncryptionStatus
.- kms
Key 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
.- kms
Key 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.