BackupRunArgs class
The set of arguments for BackupRun. The set of arguments for BackupRun.
Constructors
-
BackupRunArgs({Input<
BackupRunBackupKind> ? backupKind, Input<String> ? description, Input<DiskEncryptionConfiguration> ? diskEncryptionConfiguration, Input<DiskEncryptionStatus> ? diskEncryptionStatus, Input<String> ? endTime, Input<String> ? enqueuedTime, Input<OperationError> ? error, Input<String> ? id, required Input<String> instance, Input<String> ? kind, Input<String> ? location, Input<String> ? project, Input<String> ? selfLink, Input<String> ? startTime, Input<String> ? timeZone, Input<BackupRunType> ? type, Input<String> ? windowStartTime}) -
Creates a new BackupRunArgs.
backupKindSpecifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.descriptionThe description of this run, only applicable to on-demand backups.diskEncryptionConfigurationEncryption configuration specific to a backup.diskEncryptionStatusEncryption status specific to a backup.endTimeThe time the backup operation completed in UTC timezone in RFC 3339 format, for example2012-11-15T16:19:00.094Z.enqueuedTimeThe time the run was enqueued in UTC timezone in RFC 3339 format, for example2012-11-15T16:19:00.094Z.errorInformation about why the backup operation failed. This is only present if the run has the FAILED status.idThe identifier for this backup run. Unique only for a specific Cloud SQL instance.instanceName of the database instance.kindThis is alwayssql#backupRun.locationLocation of the backups.projectOptional.selfLinkThe URI of this resource.startTimeThe time the backup operation actually started in UTC timezone in RFC 3339 format, for example2012-11-15T16:19:00.094Z.timeZoneBackup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.typeThe 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.windowStartTimeThe start time of the backup window during which this the backup was attempted in RFC 3339 format, for example2012-11-15T16:19:00.094Z.const -
BackupRunArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backupKind
→ Input<
BackupRunBackupKind> ? -
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
final
-
description
→ Input<
String> ? -
The description of this run, only applicable to on-demand backups.
final
-
diskEncryptionConfiguration
→ Input<
DiskEncryptionConfiguration> ? -
Encryption configuration specific to a backup.
final
-
diskEncryptionStatus
→ Input<
DiskEncryptionStatus> ? -
Encryption status specific to a backup.
final
-
endTime
→ Input<
String> ? -
The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.final -
enqueuedTime
→ Input<
String> ? -
The time the run was enqueued in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.final -
error
→ Input<
OperationError> ? -
Information about why the backup operation failed. This is only present if the run has the FAILED status.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Input<
String> ? -
The identifier for this backup run. Unique only for a specific Cloud SQL instance.
final
-
instance
→ Input<
String> -
Name of the database instance.
final
-
kind
→ Input<
String> ? -
This is always
sql#backupRun.final -
location
→ Input<
String> ? -
Location of the backups.
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selfLink
→ Input<
String> ? -
The URI of this resource.
final
-
startTime
→ Input<
String> ? -
The time the backup operation actually started in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.final -
timeZone
→ Input<
String> ? -
Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
final
-
type
→ Input<
BackupRunType> ? -
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.
final
-
windowStartTime
→ Input<
String> ? -
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.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited