2026/11/29 - AWS Backup External - 31 new api methods
Changes AWS Backup adds support for on-premises and self-managed workloads.
Updates the name or backup configuration of the specified resource target.
See also: AWS API Documentation
Request Syntax
client.update_resource_target(
Arn='string',
Name='string',
TargetConfiguration={
'MssqlDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupStreamCount': 123,
'IsCopyOnlyFull': True|False,
'LogBackupFrequencyInMinutes': 123
},
'NasFilesystem': {
'AllowUnencryptedDataTransfer': True|False
},
'OracledbDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupChannelCount': 123,
'BackupNodeHostName': 'string',
'LogBackupFrequencyInMinutes': 123,
'LogRetentionOnHostInHours': 123
},
'ServerFilesystem': {
'BackupConsistency': 'NON_CONSISTENT'|'CRASH_CONSISTENT'|'CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT',
'PostBackupScript': {
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
},
'PreBackupScript': {
'ContinueBackupOnScriptFailure': True|False,
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
}
},
'VmwareVm': {
'BackupConsistency': 'APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT'|'APP_CONSISTENT'|'CRASH_CONSISTENT'
}
},
TargetConfigurationSource='PROVIDER'|'TARGET'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource target.
string
The name of the resource target.
dict
The backup configuration for the resource target.
MssqlDatabase (dict) --
The backup configuration for a Microsoft SQL Server database.
FullBackupAfterDays (integer) -- [REQUIRED]
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupStreamCount (integer) --
Number of parallel streams to use for the backup.
IsCopyOnlyFull (boolean) -- [REQUIRED]
Whether to take a copy-only backup, which does not disturb the normal backup sequence (it does not reset the differential base or truncate the transaction log). Used during migration from another backup solution.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
NasFilesystem (dict) --
The backup configuration for a network-attached storage (NAS) filesystem.
AllowUnencryptedDataTransfer (boolean) -- [REQUIRED]
Specifies whether unencrypted data transfer is allowed for the network-attached storage (NAS) filesystem.
OracledbDatabase (dict) --
The backup configuration for an Oracle database.
FullBackupAfterDays (integer) -- [REQUIRED]
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupChannelCount (integer) --
The number of backup channels to use for the Oracle database.
BackupNodeHostName (string) --
Hostname of the node to use as the backup leader.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
LogRetentionOnHostInHours (integer) --
The log retention period for the host in hours.
ServerFilesystem (dict) --
The backup configuration for a server filesystem.
BackupConsistency (string) --
Backup consistency behavior for a server filesystem backup. CRASH_CONSISTENT_* is only applicable to Windows servers.
PostBackupScript (dict) --
Script to run after a backup.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) -- [REQUIRED]
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
PreBackupScript (dict) --
Script to run before a backup.
ContinueBackupOnScriptFailure (boolean) -- [REQUIRED]
Specifies whether to continue the backup if the pre-backup script fails.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) -- [REQUIRED]
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
VmwareVm (dict) --
The backup configuration for a VMware virtual machine.
BackupConsistency (string) --
The consistency behavior for the VMware virtual machine backup.
string
The source of the resource target's backup configuration.
dict
Response Syntax
{}
Response Structure
(dict) --
Starts migration of the specified resource provider to another appliance. Returns the date and time that migration started.
See also: AWS API Documentation
Request Syntax
client.start_resource_provider_migration(
Arn='string',
DestinationApplianceArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource provider.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance to which the resource provider is migrated.
dict
Response Syntax
{
'MigrationStartedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
MigrationStartedAt (datetime) --
The date and time that migration of the resource provider started.
Returns a list of appliances. Use the pagination token to retrieve additional results.
See also: AWS API Documentation
Request Syntax
client.list_appliances(
MaxResults=123,
NextToken='string'
)
integer
The maximum number of results to return in a single response.
string
The token returned by a previous call to retrieve the next page of results.
dict
Response Syntax
{
'Appliances': [
{
'ApplianceArn': 'string',
'ApplianceName': 'string',
'EnvironmentType': 'EC2'|'VMWARE',
'ApplianceManagementStatus': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'|'UPDATING'|'DELETE_FAILED'|'DISCONNECTED'|'SUSPENDED',
'ApplianceOperationMode': 'PENDING'|'RUNNING'|'PAUSED',
'HealthStatus': 'UNKNOWN'|'HEALTHY'|'WARNING'|'CRITICAL',
'Notifications': [
{
'Message': 'string'
},
],
'CreatedAt': datetime(2015, 1, 1),
'DeletedAt': datetime(2015, 1, 1),
'PatchedAt': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Appliances (list) --
The list of appliance summaries.
(dict) --
Contains summary information about an appliance.
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
ApplianceName (string) --
The name of the appliance.
EnvironmentType (string) --
The environment in which the appliance runs.
ApplianceManagementStatus (string) --
The management status of the appliance.
ApplianceOperationMode (string) --
The operation mode of the appliance.
HealthStatus (string) --
The health status of the appliance.
Notifications (list) --
The notifications for the appliance.
(dict) --
Contains a notification about an appliance or node.
Message (string) --
The notification message.
CreatedAt (datetime) --
The date and time that the appliance was created.
DeletedAt (datetime) --
The date and time that the appliance was deleted.
PatchedAt (datetime) --
The date and time that the appliance was last patched.
NextToken (string) --
The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
Returns configuration, metadata, and status information for the specified resource target.
See also: AWS API Documentation
Request Syntax
client.get_resource_target(
Arn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource target.
dict
Response Syntax
{
'Arn': 'string',
'CreatedAt': datetime(2015, 1, 1),
'ExternalIdentifier': 'string',
'ExternalName': 'string',
'LastSyncedAt': datetime(2015, 1, 1),
'Name': 'string',
'ProviderArn': 'string',
'ProviderType': 'MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER',
'Status': 'AVAILABLE'|'UNAVAILABLE'|'NOT_FOUND'|'DELETING'|'MIGRATING',
'StatusMessage': 'string',
'TargetConfiguration': {
'MssqlDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupStreamCount': 123,
'IsCopyOnlyFull': True|False,
'LogBackupFrequencyInMinutes': 123
},
'NasFilesystem': {
'AllowUnencryptedDataTransfer': True|False
},
'OracledbDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupChannelCount': 123,
'BackupNodeHostName': 'string',
'LogBackupFrequencyInMinutes': 123,
'LogRetentionOnHostInHours': 123
},
'ServerFilesystem': {
'BackupConsistency': 'NON_CONSISTENT'|'CRASH_CONSISTENT'|'CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT',
'PostBackupScript': {
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
},
'PreBackupScript': {
'ContinueBackupOnScriptFailure': True|False,
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
}
},
'VmwareVm': {
'BackupConsistency': 'APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT'|'APP_CONSISTENT'|'CRASH_CONSISTENT'
}
},
'TargetConfigurationSource': 'PROVIDER'|'TARGET',
'TargetMetadata': {
'MssqlDatabase': {
'CompatibilityLevel': 'string',
'DatabaseName': 'string',
'DatabaseIdentifier': 'string',
'FilestreamStatus': 'string',
'InstanceName': 'string',
'IsSystemDb': True|False,
'LogicalSizeInBytes': 123,
'RecoveryModel': 'SIMPLE'|'FULL'|'BULK_LOGGED',
'SoftwareVersion': 'string',
'TransparentDataEncryptionEnabled': True|False
},
'NasFilesystem': {},
'OracledbDatabase': {
'DatabaseName': 'string',
'DatabaseIdentifier': 'string',
'LogicalSizeInBytes': 123,
'SoftwareVersion': 'string',
'TransparentDataEncryptionEnabled': True|False
},
'ServerFilesystem': {},
'VmwareVm': {
'GuestOsType': 'string',
'IpAddress': 'string',
'LogicalSizeInBytes': 123,
'ResourcePoolPath': 'string',
'VirtualHardwareVersion': 'string',
'VmFolderPath': 'string',
'VmName': 'string',
'VmMoId': 'string',
'VmwareToolsStatus': 'string'
}
},
'TargetType': 'MSSQL_DATABASE'|'NAS_FILESYSTEM'|'ORACLEDB_DATABASE'|'SERVER_FILESYSTEM'|'VMWARE_VM',
'UpdatedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
Arn (string) --
The Amazon Resource Name (ARN) of the resource target.
CreatedAt (datetime) --
The date and time that the resource target was created.
ExternalIdentifier (string) --
The identifier of the resource target in the external system.
ExternalName (string) --
The name of the resource target in the external system.
LastSyncedAt (datetime) --
The date and time that the resource target was last synchronized with its resource provider.
Name (string) --
The name of the resource target.
ProviderArn (string) --
The Amazon Resource Name (ARN) of the resource target's provider.
ProviderType (string) --
The type of resource provider.
Status (string) --
The status of the resource target.
StatusMessage (string) --
The message describing the status of the resource target.
TargetConfiguration (dict) --
The backup configuration for the resource target.
MssqlDatabase (dict) --
The backup configuration for a Microsoft SQL Server database.
FullBackupAfterDays (integer) --
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupStreamCount (integer) --
Number of parallel streams to use for the backup.
IsCopyOnlyFull (boolean) --
Whether to take a copy-only backup, which does not disturb the normal backup sequence (it does not reset the differential base or truncate the transaction log). Used during migration from another backup solution.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
NasFilesystem (dict) --
The backup configuration for a network-attached storage (NAS) filesystem.
AllowUnencryptedDataTransfer (boolean) --
Specifies whether unencrypted data transfer is allowed for the network-attached storage (NAS) filesystem.
OracledbDatabase (dict) --
The backup configuration for an Oracle database.
FullBackupAfterDays (integer) --
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupChannelCount (integer) --
The number of backup channels to use for the Oracle database.
BackupNodeHostName (string) --
Hostname of the node to use as the backup leader.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
LogRetentionOnHostInHours (integer) --
The log retention period for the host in hours.
ServerFilesystem (dict) --
The backup configuration for a server filesystem.
BackupConsistency (string) --
Backup consistency behavior for a server filesystem backup. CRASH_CONSISTENT_* is only applicable to Windows servers.
PostBackupScript (dict) --
Script to run after a backup.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) --
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
PreBackupScript (dict) --
Script to run before a backup.
ContinueBackupOnScriptFailure (boolean) --
Specifies whether to continue the backup if the pre-backup script fails.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) --
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
VmwareVm (dict) --
The backup configuration for a VMware virtual machine.
BackupConsistency (string) --
The consistency behavior for the VMware virtual machine backup.
TargetConfigurationSource (string) --
The source of the resource target's backup configuration.
TargetMetadata (dict) --
The metadata describing the resource target.
MssqlDatabase (dict) --
The metadata for a Microsoft SQL Server database.
CompatibilityLevel (string) --
The compatibility level of the Microsoft SQL Server database.
DatabaseName (string) --
The name of the database.
DatabaseIdentifier (string) --
The identifier of the database.
FilestreamStatus (string) --
The FILESTREAM status of the Microsoft SQL Server database.
InstanceName (string) --
The name of the Microsoft SQL Server instance that contains the database.
IsSystemDb (boolean) --
Specifies whether the database is a system database.
LogicalSizeInBytes (integer) --
The logical size of the database, in bytes.
RecoveryModel (string) --
The recovery model of the Microsoft SQL Server database.
SoftwareVersion (string) --
The software version of Microsoft SQL Server.
TransparentDataEncryptionEnabled (boolean) --
Specifies whether transparent data encryption is enabled for the database.
NasFilesystem (dict) --
The metadata for a network-attached storage (NAS) filesystem.
OracledbDatabase (dict) --
The metadata for an Oracle database.
DatabaseName (string) --
The name of the database.
DatabaseIdentifier (string) --
The identifier of the database.
LogicalSizeInBytes (integer) --
The logical size of the database, in bytes.
SoftwareVersion (string) --
The software version of the Oracle database.
TransparentDataEncryptionEnabled (boolean) --
Specifies whether transparent data encryption is enabled for the database.
ServerFilesystem (dict) --
The metadata for a server filesystem.
VmwareVm (dict) --
The metadata for a VMware virtual machine.
GuestOsType (string) --
The type of guest operating system on the virtual machine.
IpAddress (string) --
The IP address of the virtual machine.
LogicalSizeInBytes (integer) --
The logical size of the virtual machine, in bytes.
ResourcePoolPath (string) --
The path of the resource pool that contains the virtual machine.
VirtualHardwareVersion (string) --
The virtual hardware version of the virtual machine.
VmFolderPath (string) --
The path of the folder that contains the virtual machine.
VmName (string) --
The name of the virtual machine.
VmMoId (string) --
VMware managed object ID (e.g., host-1, vm-1, etc.)
VmwareToolsStatus (string) --
The status of VMware Tools on the virtual machine.
TargetType (string) --
The type of resource target.
UpdatedAt (datetime) --
The date and time that the resource target was last updated.
Configures per-appliance daily auto-upgrade settings.
When EnableAutoUpgrade is true, StartHourUtc and EndHourUtc are required and define the daily UTC window during which the appliance may be upgraded automatically. The upgrade fires once daily at a random time within the configured window.
Validation rules:
If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be provided.
If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means 10pm-4am UTC).
Window must be ≥1 hour (StartHourUtc != EndHourUtc).
See also: AWS API Documentation
Request Syntax
client.put_agent_upgrade_settings(
ApplianceArn='string',
EnableAutoUpgrade=True|False,
StartHourUtc=123,
EndHourUtc=123
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
boolean
[REQUIRED]
Specifies whether automatic agent upgrades are enabled for the appliance.
integer
Hour of day in UTC (0-23 inclusive).
integer
Hour of day in UTC (0-23 inclusive).
dict
Response Syntax
{}
Response Structure
(dict) --
Deletes the specified resource target.
See also: AWS API Documentation
Request Syntax
client.delete_resource_target(
Arn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource target.
dict
Response Syntax
{}
Response Structure
(dict) --
Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.
See also: AWS API Documentation
Request Syntax
client.list_disks(
ApplianceArn='string',
NodeArn='string',
MaxResults=123,
NextToken='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance node.
integer
The maximum number of results to return in a single response.
string
The token returned by a previous call to retrieve the next page of results.
dict
Response Syntax
{
'Disks': [
{
'DiskIdentifier': 'string',
'DevicePath': 'string',
'SizeInBytes': 123,
'Status': 'AVAILABLE'|'ASSOCIATED',
'AssociatedAt': datetime(2015, 1, 1),
'DiskType': 'DATA'|'METADATA'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Disks (list) --
The list of disks attached to the appliance node.
(dict) --
Contains information about a disk attached to an appliance node.
DiskIdentifier (string) --
The identifier of the disk attached to the appliance node.
DevicePath (string) --
The device path of the disk on the appliance node.
SizeInBytes (integer) --
The size of the disk, in bytes.
Status (string) --
The association status of the disk.
AssociatedAt (datetime) --
The date and time that the disk was associated with the appliance node.
DiskType (string) --
The type of storage provided by the disk.
NextToken (string) --
The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
Returns the tags associated with the specified resource.
See also: AWS API Documentation
Request Syntax
client.list_tags(
ResourceArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
dict
Response Syntax
{
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
Tags (dict) --
The tags associated with the resource.
(string) --
(string) --
Returns information about the specified appliance node.
See also: AWS API Documentation
Request Syntax
client.get_node(
ApplianceArn='string',
NodeArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance node.
dict
Response Syntax
{
'ApplianceArn': 'string',
'NodeArn': 'string',
'IpAddress': 'string',
'EnvironmentType': 'EC2'|'VMWARE',
'NodeManagementStatus': 'PENDING_VERIFICATION'|'PENDING_NODE_ADDITION'|'AVAILABLE'|'FAILED'|'UPDATING'|'DELETING'|'DELETED',
'HealthStatus': 'UNKNOWN'|'HEALTHY'|'WARNING'|'CRITICAL',
'Notifications': [
{
'Message': 'string'
},
],
'CreatedAt': datetime(2015, 1, 1),
'DeletedAt': datetime(2015, 1, 1),
'SoftwareVersion': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
NodeArn (string) --
The Amazon Resource Name (ARN) of the appliance node.
IpAddress (string) --
The IP address of the appliance node.
EnvironmentType (string) --
The environment in which the appliance runs.
NodeManagementStatus (string) --
The management status of the appliance node.
HealthStatus (string) --
The health status of the appliance node.
Notifications (list) --
The notifications for the appliance node.
(dict) --
Contains a notification about an appliance or node.
Message (string) --
The notification message.
CreatedAt (datetime) --
The date and time that the appliance node was created.
DeletedAt (datetime) --
The date and time that the appliance node was deleted.
SoftwareVersion (string) --
The software version of the appliance node.
Tags (dict) --
The tags associated with the resource.
(string) --
(string) --
Removes the specified tags from a resource.
See also: AWS API Documentation
Request Syntax
client.untag_resource(
ResourceArn='string',
TagKeys=[
'string',
]
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
list
[REQUIRED]
The keys of the tags to remove from the resource.
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Updates the name, configuration, or operation mode of the specified appliance.
See also: AWS API Documentation
Request Syntax
client.update_appliance(
ApplianceArn='string',
ApplianceName='string',
ApplianceIamRoleArn='string',
NodeFaultTolerance=123,
NetworkConfiguration={
'DomainName': 'string',
'SearchDomains': [
'string',
],
'DnsServers': [
'string',
],
'NtpServers': [
'string',
]
},
ApplianceOperationMode='RUNNING'|'PAUSED'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
string
The name of the appliance.
string
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.
integer
The number of node failures that the appliance can tolerate.
dict
The network configuration of the appliance.
DomainName (string) --
The domain name for the appliance.
SearchDomains (list) --
The domain search list for the appliance.
(string) --
DnsServers (list) --
The Domain Name System (DNS) servers for the appliance.
(string) --
NtpServers (list) --
The Network Time Protocol (NTP) servers for the appliance.
(string) --
string
The operation mode of the appliance.
dict
Response Syntax
{
'ApplianceArn': 'string',
'ApplianceName': 'string',
'ApplianceOperationMode': 'PENDING'|'RUNNING'|'PAUSED'
}
Response Structure
(dict) --
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
ApplianceName (string) --
The name of the appliance.
ApplianceOperationMode (string) --
The operation mode of the appliance.
Returns the agent installer download URL and version for the specified appliance and platform.
See also: AWS API Documentation
Request Syntax
client.get_agent_download(
ApplianceArn='string',
Platform='WINDOWS'|'LINUX_RPM'|'LINUX_SUSE_RPM'|'LINUX_DEB'|'LINUX_SCRIPT'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
string
[REQUIRED]
The platform and installation format for the agent download.
dict
Response Syntax
{
'AgentDownloadUrl': 'string',
'AgentVersion': 'string',
'SigningCertificateDownloadUrl': 'string',
'AgentCertificateBundleDownloadUrl': 'string'
}
Response Structure
(dict) --
AgentDownloadUrl (string) --
The URL to download the agent installer.
AgentVersion (string) --
The version of the agent available for download.
SigningCertificateDownloadUrl (string) --
Public URL of the certificate that signed the installer.
AgentCertificateBundleDownloadUrl (string) --
Presigned URL for this appliance's agent certificate bundle, passed to the agent installer. Valid for 15 minutes.
Deletes the specified resource provider.
See also: AWS API Documentation
Request Syntax
client.delete_resource_provider(
Arn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource provider.
dict
Response Syntax
{}
Response Structure
(dict) --
Associates a disk with the specified appliance node for data or metadata storage.
See also: AWS API Documentation
Request Syntax
client.associate_disk(
ApplianceArn='string',
NodeArn='string',
DiskIdentifier='string',
DiskType='DATA'|'METADATA'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance node.
string
[REQUIRED]
The identifier of the disk attached to the appliance node.
string
[REQUIRED]
The type of storage provided by the disk.
dict
Response Syntax
{}
Response Structure
(dict) --
Returns activation credentials and image information for the specified appliance.
See also: AWS API Documentation
Request Syntax
client.get_activation_credentials(
ApplianceArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
dict
Response Syntax
{
'Image': 'string',
'AwsOvaImageRootCertificateDownloadUrl': 'string',
'ActivationTokenExpiresAt': datetime(2015, 1, 1),
'ActivationToken': 'string'
}
Response Structure
(dict) --
Image (string) --
The appliance image to deploy: the Amazon Machine Image (AMI) ID for an EC2 appliance, or the URL to download the Open Virtual Appliance (OVA) image for a VMWARE appliance.
AwsOvaImageRootCertificateDownloadUrl (string) --
The URL to download the root certificate for the appliance's Open Virtual Appliance (OVA) image.
ActivationTokenExpiresAt (datetime) --
The date and time that the activation token expires.
ActivationToken (string) --
The token used to activate the appliance.
Returns appliance sizing recommendations for the specified workloads and projection period.
See also: AWS API Documentation
Request Syntax
client.get_appliance_sizing_recommendation(
Workloads=[
{
'InitialSizeTiB': 123.0,
'ChangeRatePercent': 123.0,
'AnnualGrowthRatePercent': 123.0,
'CompletionWindowMinutes': 123,
'EnableCopyToCloud': True|False,
'BackupConfiguration': {
'VmwareVm': {
'BackupRules': [
{
'Frequency': 123,
'FrequencyUnit': 'HOURS'|'DAYS'|'WEEKS'|'MONTHS'|'YEARS',
'DeleteAfterDays': 123,
'EnableContinuousBackup': True|False,
'LogBackupFrequencyInMinutes': 123
},
]
},
'MssqlDatabase': {
'BackupRules': [
{
'Frequency': 123,
'FrequencyUnit': 'HOURS'|'DAYS'|'WEEKS'|'MONTHS'|'YEARS',
'DeleteAfterDays': 123,
'EnableContinuousBackup': True|False,
'LogBackupFrequencyInMinutes': 123
},
],
'FullBackupAfterDays': 123,
'LogChangeRatePercent': 123.0
},
'OracleDatabase': {
'BackupRules': [
{
'Frequency': 123,
'FrequencyUnit': 'HOURS'|'DAYS'|'WEEKS'|'MONTHS'|'YEARS',
'DeleteAfterDays': 123,
'EnableContinuousBackup': True|False,
'LogBackupFrequencyInMinutes': 123
},
],
'FullBackupAfterDays': 123,
'LogChangeRatePercent': 123.0
},
'Nas': {
'DataProfile': 'STANDARD'|'STRUCTURED'|'NON_DEDUPABLE',
'InitialFileCountInMillions': 123.0,
'BackupRules': [
{
'Frequency': 123,
'FrequencyUnit': 'HOURS'|'DAYS'|'WEEKS'|'MONTHS'|'YEARS',
'DeleteAfterDays': 123,
'EnableContinuousBackup': True|False,
'LogBackupFrequencyInMinutes': 123
},
]
},
'PhysicalServer': {
'BackupRules': [
{
'Frequency': 123,
'FrequencyUnit': 'HOURS'|'DAYS'|'WEEKS'|'MONTHS'|'YEARS',
'DeleteAfterDays': 123,
'EnableContinuousBackup': True|False,
'LogBackupFrequencyInMinutes': 123
},
]
}
}
},
],
ProjectionYears=123,
NodeFaultTolerance=123,
NodeType='EC2'|'VMWARE'
)
list
[REQUIRED]
The workloads for which to calculate appliance sizing recommendations.
(dict) --
Describes a workload used to calculate appliance sizing recommendations.
InitialSizeTiB (float) -- [REQUIRED]
The initial size of the workload, in tebibytes (TiB).
ChangeRatePercent (float) -- [REQUIRED]
The percentage of the workload's data that changes each day.
AnnualGrowthRatePercent (float) -- [REQUIRED]
The annual growth rate of the workload, as a percentage.
CompletionWindowMinutes (integer) --
The backup completion window for the workload, in minutes.
EnableCopyToCloud (boolean) --
Specifies whether copying backups to the cloud is included in the sizing calculation.
BackupConfiguration (dict) -- [REQUIRED]
The backup configuration for the workload used in the sizing calculation.
VmwareVm (dict) --
The backup configuration for a VMware virtual machine workload.
BackupRules (list) -- [REQUIRED]
The backup rules used in the sizing calculation.
(dict) --
Describes a backup rule used to calculate appliance sizing recommendations.
Frequency (integer) --
The interval between backups, in the units specified by FrequencyUnit. Specify Frequency and FrequencyUnit together.
FrequencyUnit (string) --
The unit of the backup frequency specified by Frequency.
DeleteAfterDays (integer) --
The backup retention period used in the sizing calculation, in days.
EnableContinuousBackup (boolean) --
Specifies whether continuous backup is included in the sizing calculation.
LogBackupFrequencyInMinutes (integer) --
The interval between log backups used in the sizing calculation, in minutes.
MssqlDatabase (dict) --
The backup configuration for a Microsoft SQL Server database workload.
BackupRules (list) -- [REQUIRED]
The backup rules used in the sizing calculation.
(dict) --
Describes a backup rule used to calculate appliance sizing recommendations.
Frequency (integer) --
The interval between backups, in the units specified by FrequencyUnit. Specify Frequency and FrequencyUnit together.
FrequencyUnit (string) --
The unit of the backup frequency specified by Frequency.
DeleteAfterDays (integer) --
The backup retention period used in the sizing calculation, in days.
EnableContinuousBackup (boolean) --
Specifies whether continuous backup is included in the sizing calculation.
LogBackupFrequencyInMinutes (integer) --
The interval between log backups used in the sizing calculation, in minutes.
FullBackupAfterDays (integer) -- [REQUIRED]
The full backup threshold used in the sizing calculation, in days.
LogChangeRatePercent (float) --
The amount of transaction log data that the database generates each day, as a percentage of the database size. Required when a backup rule has EnableContinuousBackup set to true, and not allowed otherwise.
OracleDatabase (dict) --
The backup configuration for an Oracle database workload.
BackupRules (list) -- [REQUIRED]
The backup rules used in the sizing calculation.
(dict) --
Describes a backup rule used to calculate appliance sizing recommendations.
Frequency (integer) --
The interval between backups, in the units specified by FrequencyUnit. Specify Frequency and FrequencyUnit together.
FrequencyUnit (string) --
The unit of the backup frequency specified by Frequency.
DeleteAfterDays (integer) --
The backup retention period used in the sizing calculation, in days.
EnableContinuousBackup (boolean) --
Specifies whether continuous backup is included in the sizing calculation.
LogBackupFrequencyInMinutes (integer) --
The interval between log backups used in the sizing calculation, in minutes.
FullBackupAfterDays (integer) -- [REQUIRED]
The full backup threshold used in the sizing calculation, in days.
LogChangeRatePercent (float) --
The amount of transaction log data that the database generates each day, as a percentage of the database size. Required when a backup rule has EnableContinuousBackup set to true, and not allowed otherwise.
Nas (dict) --
The backup configuration for a network-attached storage (NAS) workload.
DataProfile (string) -- [REQUIRED]
The data profile of the network-attached storage (NAS) workload used in the sizing calculation.
InitialFileCountInMillions (float) -- [REQUIRED]
The initial number of files in the network-attached storage (NAS) workload, in millions.
BackupRules (list) -- [REQUIRED]
The backup rules used in the sizing calculation.
(dict) --
Describes a backup rule used to calculate appliance sizing recommendations.
Frequency (integer) --
The interval between backups, in the units specified by FrequencyUnit. Specify Frequency and FrequencyUnit together.
FrequencyUnit (string) --
The unit of the backup frequency specified by Frequency.
DeleteAfterDays (integer) --
The backup retention period used in the sizing calculation, in days.
EnableContinuousBackup (boolean) --
Specifies whether continuous backup is included in the sizing calculation.
LogBackupFrequencyInMinutes (integer) --
The interval between log backups used in the sizing calculation, in minutes.
PhysicalServer (dict) --
The backup configuration for a physical server workload.
BackupRules (list) -- [REQUIRED]
The backup rules used in the sizing calculation.
(dict) --
Describes a backup rule used to calculate appliance sizing recommendations.
Frequency (integer) --
The interval between backups, in the units specified by FrequencyUnit. Specify Frequency and FrequencyUnit together.
FrequencyUnit (string) --
The unit of the backup frequency specified by Frequency.
DeleteAfterDays (integer) --
The backup retention period used in the sizing calculation, in days.
EnableContinuousBackup (boolean) --
Specifies whether continuous backup is included in the sizing calculation.
LogBackupFrequencyInMinutes (integer) --
The interval between log backups used in the sizing calculation, in minutes.
integer
[REQUIRED]
The number of years for which to calculate appliance sizing projections.
integer
The number of node failures that the appliance can tolerate.
string
[REQUIRED]
The type of appliance node to use in the sizing calculation.
dict
Response Syntax
{
'Projections': [
{
'Year': 123,
'RequiredNodeCount': 123,
'DataStorageSizeTiBPerNode': 123.0,
'MetadataStorageSizeTiBPerNode': 123.0
},
]
}
Response Structure
(dict) --
Projections (list) --
The yearly appliance sizing projections for the specified workloads.
(dict) --
Contains the recommended node count and storage capacity for one year of a sizing projection.
Year (integer) --
The year of the projection period that this projection describes, numbered from 1 to the value of ProjectionYears.
RequiredNodeCount (integer) --
The recommended number of appliance nodes for the projection year.
DataStorageSizeTiBPerNode (float) --
The recommended data storage capacity per node, in tebibytes (TiB).
MetadataStorageSizeTiBPerNode (float) --
The recommended metadata storage capacity per node, in tebibytes (TiB).
Returns the configuration and status of the specified appliance. To retrieve the nodes belonging to the appliance, use ListNodes.
See also: AWS API Documentation
Request Syntax
client.get_appliance(
ApplianceArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
dict
Response Syntax
{
'ApplianceArn': 'string',
'ApplianceName': 'string',
'EnvironmentType': 'EC2'|'VMWARE',
'ApplianceIamRoleArn': 'string',
'NodeFaultTolerance': 123,
'NetworkConfiguration': {
'DomainName': 'string',
'SearchDomains': [
'string',
],
'DnsServers': [
'string',
],
'NtpServers': [
'string',
],
'SubnetGateway': 'string',
'SubnetMask': 'string'
},
'ApplianceManagementStatus': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'|'UPDATING'|'DELETE_FAILED'|'DISCONNECTED'|'SUSPENDED',
'ApplianceOperationMode': 'PENDING'|'RUNNING'|'PAUSED',
'HealthStatus': 'UNKNOWN'|'HEALTHY'|'WARNING'|'CRITICAL',
'Notifications': [
{
'Message': 'string'
},
],
'CreatedAt': datetime(2015, 1, 1),
'DeletedAt': datetime(2015, 1, 1),
'PatchedAt': datetime(2015, 1, 1),
'SoftwareVersion': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
ApplianceName (string) --
The name of the appliance.
EnvironmentType (string) --
The environment in which the appliance runs.
ApplianceIamRoleArn (string) --
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.
NodeFaultTolerance (integer) --
The number of node failures that the appliance can tolerate.
NetworkConfiguration (dict) --
The network configuration of the appliance.
DomainName (string) --
The domain name for the appliance.
SearchDomains (list) --
The domain search list for the appliance.
(string) --
DnsServers (list) --
The Domain Name System (DNS) servers for the appliance.
(string) --
NtpServers (list) --
The Network Time Protocol (NTP) servers for the appliance.
(string) --
SubnetGateway (string) --
The subnet gateway for the appliance.
SubnetMask (string) --
The subnet mask for the appliance.
ApplianceManagementStatus (string) --
The management status of the appliance.
ApplianceOperationMode (string) --
The operation mode of the appliance.
HealthStatus (string) --
The health status of the appliance.
Notifications (list) --
The notifications for the appliance.
(dict) --
Contains a notification about an appliance or node.
Message (string) --
The notification message.
CreatedAt (datetime) --
The date and time that the appliance was created.
DeletedAt (datetime) --
The date and time that the appliance was deleted.
PatchedAt (datetime) --
The date and time that the appliance was last patched.
SoftwareVersion (string) --
The software version of the appliance.
Tags (dict) --
The tags associated with the resource.
(string) --
(string) --
Starts synchronization of the resource targets for the specified resource provider. Returns the date and time that synchronization started.
See also: AWS API Documentation
Request Syntax
client.start_resource_provider_sync(
Arn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource provider.
dict
Response Syntax
{
'SyncStartedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
SyncStartedAt (datetime) --
The date and time that synchronization of the resource provider's resource targets started.
Returns configuration, metadata, and status information for the specified resource provider.
See also: AWS API Documentation
Request Syntax
client.get_resource_provider(
Arn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource provider.
dict
Response Syntax
{
'AgentComplianceStatus': 'NON_COMPLIANT'|'UP_TO_DATE'|'UPGRADE_AVAILABLE',
'AgentUpgradeStatus': 'PENDING'|'RUNNING'|'COMPLETED'|'FAILED',
'AgentUpgradeStatusMessage': 'string',
'AgentVersionCurrent': 'string',
'AgentVersionLatest': 'string',
'ApplianceArn': 'string',
'Arn': 'string',
'CreatedAt': datetime(2015, 1, 1),
'LastSyncStartedAt': datetime(2015, 1, 1),
'LastSyncCompletedAt': datetime(2015, 1, 1),
'Name': 'string',
'ProviderConfiguration': {
'MssqlServer': {
'Endpoint': 'string'
},
'NasShare': {
'SharePath': 'string',
'Protocol': 'NFS_3'|'NFS_4_1'|'SMB'
},
'OracledbServer': {
'Endpoint': 'string'
},
'OracledbCluster': {
'AlternativeEndpoint': 'string',
'Endpoint': 'string'
},
'ServerHost': {
'Endpoint': 'string'
},
'VmwareEsxi': {
'Endpoint': 'string',
'MaxConcurrentStreamsPerDatastore': 123,
'MinFreeDatastoreSpaceForBackupPercentage': 123.0,
'MinFreeDatastoreSpaceForBackupGB': 123.0
},
'VmwareVcenter': {
'Endpoint': 'string',
'MaxConcurrentStreamsPerDatastore': 123,
'MinFreeDatastoreSpaceForBackupPercentage': 123.0,
'MinFreeDatastoreSpaceForBackupGB': 123.0,
'MaxConcurrentVmBackups': 123
}
},
'ProviderMetadata': {
'MssqlServer': {
'DatabaseCount': 123,
'InstanceCount': 123,
'OsName': 'string',
'OsType': 'string'
},
'NasShare': {},
'OracledbServer': {
'DatabaseCount': 123,
'OsName': 'string',
'SoftwareVersion': 'string'
},
'OracledbCluster': {
'ClusterNodeCount': 123,
'DatabaseCount': 123
},
'ServerHost': {
'LogicalSizeInBytes': 123,
'OsName': 'string',
'OsType': 'string'
},
'VmwareEsxi': {},
'VmwareVcenter': {}
},
'ProviderType': 'MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER',
'SecretConfigurationArn': 'string',
'Status': 'DELETING'|'DELETION_FAILED'|'MIGRATING'|'MIGRATION_FAILED'|'SYNCING'|'SYNC_COMPLETED'|'SYNC_FAILED',
'StatusMessage': 'string',
'TargetConfiguration': {
'MssqlDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupStreamCount': 123,
'IsCopyOnlyFull': True|False,
'LogBackupFrequencyInMinutes': 123
},
'NasFilesystem': {
'AllowUnencryptedDataTransfer': True|False
},
'OracledbDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupChannelCount': 123,
'BackupNodeHostName': 'string',
'LogBackupFrequencyInMinutes': 123,
'LogRetentionOnHostInHours': 123
},
'ServerFilesystem': {
'BackupConsistency': 'NON_CONSISTENT'|'CRASH_CONSISTENT'|'CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT',
'PostBackupScript': {
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
},
'PreBackupScript': {
'ContinueBackupOnScriptFailure': True|False,
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
}
},
'VmwareVm': {
'BackupConsistency': 'APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT'|'APP_CONSISTENT'|'CRASH_CONSISTENT'
}
},
'TargetTagsOnCreate': {
'string': 'string'
},
'TargetTagKeysToSync': [
'string',
],
'AutoDeleteNotFoundTargetsAfterDays': 123,
'UpdatedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
AgentComplianceStatus (string) --
The compliance status of the resource provider's agent version.
AgentUpgradeStatus (string) --
The status of the resource provider's agent upgrade.
AgentUpgradeStatusMessage (string) --
The message describing the status of the resource provider's agent upgrade.
AgentVersionCurrent (string) --
The current version of the resource provider's agent.
AgentVersionLatest (string) --
The latest version of the agent available for the resource provider.
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
Arn (string) --
The Amazon Resource Name (ARN) of the resource provider.
CreatedAt (datetime) --
The date and time that the resource provider was created.
LastSyncStartedAt (datetime) --
The date and time that the resource provider's most recent synchronization started.
LastSyncCompletedAt (datetime) --
The date and time that the resource provider's most recent synchronization completed.
Name (string) --
The name of the resource provider.
ProviderConfiguration (dict) --
The configuration of the resource provider.
MssqlServer (dict) --
The configuration for a Microsoft SQL Server.
Endpoint (string) --
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
NasShare (dict) --
The configuration for a network-attached storage (NAS) share.
SharePath (string) --
NAS share path (e.g., "10.0.0.1:/nfs_share" or "//10.0.0.1/smb_share").
Protocol (string) --
The network protocol used to access the network-attached storage (NAS) share.
OracledbServer (dict) --
The configuration for an Oracle database server.
Endpoint (string) --
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
OracledbCluster (dict) --
The configuration for an Oracle database cluster.
AlternativeEndpoint (string) --
Alternative endpoint used if the SCAN endpoint is not directly reachable.
Endpoint (string) --
SCAN endpoint used to connect to the cluster.
ServerHost (dict) --
The configuration for a server host.
Endpoint (string) --
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
VmwareEsxi (dict) --
The configuration for a VMware ESXi host.
Endpoint (string) --
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
MaxConcurrentStreamsPerDatastore (integer) --
Maximum number of concurrent backup streams per datastore.
MinFreeDatastoreSpaceForBackupPercentage (float) --
Minimum percentage of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MinFreeDatastoreSpaceForBackupGB (float) --
Minimum GB of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
VmwareVcenter (dict) --
The configuration for a VMware vCenter Server.
Endpoint (string) --
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
MaxConcurrentStreamsPerDatastore (integer) --
Maximum number of concurrent backup streams per datastore.
MinFreeDatastoreSpaceForBackupPercentage (float) --
Minimum percentage of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MinFreeDatastoreSpaceForBackupGB (float) --
Minimum GB of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MaxConcurrentVmBackups (integer) --
Maximum number of VMs that can be backed up concurrently from a vCenter.
ProviderMetadata (dict) --
The metadata describing the resource provider.
MssqlServer (dict) --
The metadata for a Microsoft SQL Server.
DatabaseCount (integer) --
The number of databases on the resource provider.
InstanceCount (integer) --
The number of Microsoft SQL Server instances on the resource provider.
OsName (string) --
The name of the operating system on the resource provider.
OsType (string) --
The type of operating system on the resource provider.
NasShare (dict) --
The metadata for a network-attached storage (NAS) share.
OracledbServer (dict) --
The metadata for an Oracle database server.
DatabaseCount (integer) --
The number of databases on the resource provider.
OsName (string) --
The name of the operating system on the resource provider.
SoftwareVersion (string) --
The software version of the Oracle database.
OracledbCluster (dict) --
The metadata for an Oracle database cluster.
ClusterNodeCount (integer) --
The number of nodes in the Oracle database cluster.
DatabaseCount (integer) --
The number of databases on the resource provider.
ServerHost (dict) --
The metadata for a server host.
LogicalSizeInBytes (integer) --
The logical size of the server host, in bytes.
OsName (string) --
The name of the operating system on the resource provider.
OsType (string) --
The type of operating system on the resource provider.
VmwareEsxi (dict) --
The metadata for a VMware ESXi host.
VmwareVcenter (dict) --
The metadata for a VMware vCenter Server.
ProviderType (string) --
The type of resource provider.
SecretConfigurationArn (string) --
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.
Status (string) --
The status of the resource provider.
StatusMessage (string) --
The message describing the status of the resource provider.
TargetConfiguration (dict) --
The default backup configurations for the resource provider's resource targets, by target type.
MssqlDatabase (dict) --
The default backup configuration for a Microsoft SQL Server database.
FullBackupAfterDays (integer) --
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupStreamCount (integer) --
Number of parallel streams to use for the backup.
IsCopyOnlyFull (boolean) --
Whether to take a copy-only backup, which does not disturb the normal backup sequence (it does not reset the differential base or truncate the transaction log). Used during migration from another backup solution.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
NasFilesystem (dict) --
The default backup configuration for a network-attached storage (NAS) filesystem.
AllowUnencryptedDataTransfer (boolean) --
Specifies whether unencrypted data transfer is allowed for the network-attached storage (NAS) filesystem.
OracledbDatabase (dict) --
The default backup configuration for an Oracle database.
FullBackupAfterDays (integer) --
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupChannelCount (integer) --
The number of backup channels to use for the Oracle database.
BackupNodeHostName (string) --
Hostname of the node to use as the backup leader.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
LogRetentionOnHostInHours (integer) --
The log retention period for the host in hours.
ServerFilesystem (dict) --
The default backup configuration for a server filesystem.
BackupConsistency (string) --
Backup consistency behavior for a server filesystem backup. CRASH_CONSISTENT_* is only applicable to Windows servers.
PostBackupScript (dict) --
Script to run after a backup.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) --
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
PreBackupScript (dict) --
Script to run before a backup.
ContinueBackupOnScriptFailure (boolean) --
Specifies whether to continue the backup if the pre-backup script fails.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) --
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
VmwareVm (dict) --
The default backup configuration for a VMware virtual machine.
BackupConsistency (string) --
The consistency behavior for the VMware virtual machine backup.
TargetTagsOnCreate (dict) --
The tags to apply when the resource provider's resource targets are created.
(string) --
(string) --
TargetTagKeysToSync (list) --
The tag keys whose values are synchronized from external resources to their resource targets.
(string) --
AutoDeleteNotFoundTargetsAfterDays (integer) --
The number of days after which resource targets with a status of NOT_FOUND are automatically deleted.
UpdatedAt (datetime) --
The date and time that the resource provider was last updated.
Retrieves the current auto-upgrade settings for an appliance.
See also: AWS API Documentation
Request Syntax
client.get_agent_upgrade_settings(
ApplianceArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
dict
Response Syntax
{
'EnableAutoUpgrade': True|False,
'StartHourUtc': 123,
'EndHourUtc': 123
}
Response Structure
(dict) --
EnableAutoUpgrade (boolean) --
Specifies whether automatic agent upgrades are enabled for the appliance.
StartHourUtc (integer) --
Hour of day in UTC (0-23 inclusive).
EndHourUtc (integer) --
Hour of day in UTC (0-23 inclusive).
Returns a list of nodes belonging to the specified appliance. Use the pagination token to retrieve additional results.
See also: AWS API Documentation
Request Syntax
client.list_nodes(
ApplianceArn='string',
MaxResults=123,
NextToken='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
integer
The maximum number of results to return in a single response.
string
The token returned by a previous call to retrieve the next page of results.
dict
Response Syntax
{
'Nodes': [
{
'ApplianceArn': 'string',
'NodeArn': 'string',
'IpAddress': 'string',
'EnvironmentType': 'EC2'|'VMWARE',
'NodeManagementStatus': 'PENDING_VERIFICATION'|'PENDING_NODE_ADDITION'|'AVAILABLE'|'FAILED'|'UPDATING'|'DELETING'|'DELETED',
'HealthStatus': 'UNKNOWN'|'HEALTHY'|'WARNING'|'CRITICAL',
'Notifications': [
{
'Message': 'string'
},
],
'CreatedAt': datetime(2015, 1, 1),
'DeletedAt': datetime(2015, 1, 1),
'SoftwareVersion': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Nodes (list) --
The list of nodes belonging to the appliance.
(dict) --
Contains summary information about an appliance node.
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
NodeArn (string) --
The Amazon Resource Name (ARN) of the appliance node.
IpAddress (string) --
The IP address of the appliance node.
EnvironmentType (string) --
The environment in which the appliance runs.
NodeManagementStatus (string) --
The management status of the appliance node.
HealthStatus (string) --
The health status of the appliance node.
Notifications (list) --
The notifications for the appliance node.
(dict) --
Contains a notification about an appliance or node.
Message (string) --
The notification message.
CreatedAt (datetime) --
The date and time that the appliance node was created.
DeletedAt (datetime) --
The date and time that the appliance node was deleted.
SoftwareVersion (string) --
The software version of the appliance node.
NextToken (string) --
The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
Creates an appliance with the specified network configuration and returns its activation information.
See also: AWS API Documentation
Request Syntax
client.create_appliance(
ApplianceName='string',
EnvironmentType='EC2'|'VMWARE',
ApplianceIamRoleArn='string',
NodeFaultTolerance=123,
NetworkConfiguration={
'SubnetGateway': 'string',
'SubnetMask': 'string',
'DnsServers': [
'string',
],
'NtpServers': [
'string',
],
'DomainName': 'string',
'SearchDomains': [
'string',
]
},
ClientToken='string',
Tags={
'string': 'string'
}
)
string
[REQUIRED]
The name of the appliance.
string
[REQUIRED]
The environment in which the appliance runs.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.
integer
[REQUIRED]
The number of node failures that the appliance can tolerate.
dict
[REQUIRED]
The network configuration of the appliance.
SubnetGateway (string) -- [REQUIRED]
The subnet gateway for the appliance.
SubnetMask (string) -- [REQUIRED]
The subnet mask for the appliance.
DnsServers (list) -- [REQUIRED]
The Domain Name System (DNS) servers for the appliance.
(string) --
NtpServers (list) -- [REQUIRED]
The Network Time Protocol (NTP) servers for the appliance.
(string) --
DomainName (string) --
The domain name for the appliance.
SearchDomains (list) --
The domain search list for the appliance.
(string) --
string
A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.
This field is autopopulated if not provided.
dict
The tags to associate with the appliance.
(string) --
(string) --
dict
Response Syntax
{
'ApplianceArn': 'string',
'CreatedAt': datetime(2015, 1, 1),
'Image': 'string',
'AwsOvaImageRootCertificateDownloadUrl': 'string',
'ActivationToken': 'string',
'ActivationTokenExpiresAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
CreatedAt (datetime) --
The date and time that the appliance was created.
Image (string) --
The appliance image to deploy: the Amazon Machine Image (AMI) ID for an EC2 appliance, or the URL to download the Open Virtual Appliance (OVA) image for a VMWARE appliance.
AwsOvaImageRootCertificateDownloadUrl (string) --
The URL to download the root certificate for the appliance's Open Virtual Appliance (OVA) image.
ActivationToken (string) --
The token used to activate the appliance.
ActivationTokenExpiresAt (datetime) --
The date and time that the activation token expires.
Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination token to retrieve additional results.
See also: AWS API Documentation
Request Syntax
client.list_resource_targets(
MaxResults=123,
NextToken='string',
ResourceProviderArn='string',
ResourceTargetType='MSSQL_DATABASE'|'NAS_FILESYSTEM'|'ORACLEDB_DATABASE'|'SERVER_FILESYSTEM'|'VMWARE_VM'
)
integer
The maximum number of results to return in a single response.
string
The token returned by a previous call to retrieve the next page of results.
string
The Amazon Resource Name (ARN) of the resource provider by which to filter the results.
string
The resource target type by which to filter the results.
dict
Response Syntax
{
'Items': [
{
'Arn': 'string',
'CreatedAt': datetime(2015, 1, 1),
'ExternalIdentifier': 'string',
'ExternalName': 'string',
'LastSyncedAt': datetime(2015, 1, 1),
'Name': 'string',
'ProviderArn': 'string',
'ProviderType': 'MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER',
'Status': 'AVAILABLE'|'UNAVAILABLE'|'NOT_FOUND'|'DELETING'|'MIGRATING',
'StatusMessage': 'string',
'TargetType': 'MSSQL_DATABASE'|'NAS_FILESYSTEM'|'ORACLEDB_DATABASE'|'SERVER_FILESYSTEM'|'VMWARE_VM',
'UpdatedAt': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Items (list) --
The list of resource target summaries.
(dict) --
Contains summary information about a resource target.
Arn (string) --
The Amazon Resource Name (ARN) of the resource target.
CreatedAt (datetime) --
The date and time that the resource target was created.
ExternalIdentifier (string) --
The identifier of the resource target in the external system.
ExternalName (string) --
The name of the resource target in the external system.
LastSyncedAt (datetime) --
The date and time that the resource target was last synchronized with its resource provider.
Name (string) --
The name of the resource target.
ProviderArn (string) --
The Amazon Resource Name (ARN) of the resource target's provider.
ProviderType (string) --
The type of resource provider.
Status (string) --
The status of the resource target.
StatusMessage (string) --
The message describing the status of the resource target.
TargetType (string) --
The type of resource target.
UpdatedAt (datetime) --
The date and time that the resource target was last updated.
NextToken (string) --
The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
Verifies the specified nodes, which must have a status of PENDING_VERIFICATION, so that they can be added to the appliance. Returns the updated management status of each node.
See also: AWS API Documentation
Request Syntax
client.verify_nodes(
ApplianceArn='string',
NodeArns=[
'string',
]
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
list
[REQUIRED]
The Amazon Resource Names (ARNs) of the appliance nodes to verify.
(string) --
dict
Response Syntax
{
'VerifiedNodes': [
{
'NodeArn': 'string',
'NodeManagementStatus': 'PENDING_VERIFICATION'|'PENDING_NODE_ADDITION'|'AVAILABLE'|'FAILED'|'UPDATING'|'DELETING'|'DELETED'
},
]
}
Response Structure
(dict) --
VerifiedNodes (list) --
The verification results for the specified appliance nodes.
(dict) --
Contains the management status of a verified appliance node.
NodeArn (string) --
The Amazon Resource Name (ARN) of the appliance node.
NodeManagementStatus (string) --
The management status of the appliance node.
Starts an agent upgrade for the specified resource provider. Returns the date and time that the upgrade started.
See also: AWS API Documentation
Request Syntax
client.start_resource_provider_agent_upgrade(
Arn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource provider.
dict
Response Syntax
{
'UpgradeStartedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
UpgradeStartedAt (datetime) --
The date and time that the resource provider's agent upgrade started.
Deletes the specified node from an appliance.
See also: AWS API Documentation
Request Syntax
client.delete_node(
ApplianceArn='string',
NodeArn='string'
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance node.
dict
Response Syntax
{
'ApplianceArn': 'string',
'NodeArn': 'string',
'NodeManagementStatus': 'PENDING_VERIFICATION'|'PENDING_NODE_ADDITION'|'AVAILABLE'|'FAILED'|'UPDATING'|'DELETING'|'DELETED'
}
Response Structure
(dict) --
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
NodeArn (string) --
The Amazon Resource Name (ARN) of the appliance node.
NodeManagementStatus (string) --
The management status of the appliance node.
Updates the configuration of the specified resource provider.
See also: AWS API Documentation
Request Syntax
client.update_resource_provider(
Arn='string',
Name='string',
ProviderConfiguration={
'MssqlServer': {
'Endpoint': 'string'
},
'NasShare': {
'SharePath': 'string',
'Protocol': 'NFS_3'|'NFS_4_1'|'SMB'
},
'OracledbServer': {
'Endpoint': 'string'
},
'OracledbCluster': {
'AlternativeEndpoint': 'string',
'Endpoint': 'string'
},
'ServerHost': {
'Endpoint': 'string'
},
'VmwareEsxi': {
'Endpoint': 'string',
'MaxConcurrentStreamsPerDatastore': 123,
'MinFreeDatastoreSpaceForBackupPercentage': 123.0,
'MinFreeDatastoreSpaceForBackupGB': 123.0
},
'VmwareVcenter': {
'Endpoint': 'string',
'MaxConcurrentStreamsPerDatastore': 123,
'MinFreeDatastoreSpaceForBackupPercentage': 123.0,
'MinFreeDatastoreSpaceForBackupGB': 123.0,
'MaxConcurrentVmBackups': 123
}
},
SecretConfigurationArn='string',
TargetConfiguration={
'MssqlDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupStreamCount': 123,
'IsCopyOnlyFull': True|False,
'LogBackupFrequencyInMinutes': 123
},
'NasFilesystem': {
'AllowUnencryptedDataTransfer': True|False
},
'OracledbDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupChannelCount': 123,
'BackupNodeHostName': 'string',
'LogBackupFrequencyInMinutes': 123,
'LogRetentionOnHostInHours': 123
},
'ServerFilesystem': {
'BackupConsistency': 'NON_CONSISTENT'|'CRASH_CONSISTENT'|'CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT',
'PostBackupScript': {
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
},
'PreBackupScript': {
'ContinueBackupOnScriptFailure': True|False,
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
}
},
'VmwareVm': {
'BackupConsistency': 'APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT'|'APP_CONSISTENT'|'CRASH_CONSISTENT'
}
},
TargetTagsOnCreate={
'string': 'string'
},
TargetTagKeysToSync=[
'string',
],
AutoDeleteNotFoundTargetsAfterDays=123
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource provider.
string
The name of the resource provider.
dict
The configuration of the resource provider.
MssqlServer (dict) --
The configuration for a Microsoft SQL Server.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
NasShare (dict) --
The configuration for a network-attached storage (NAS) share.
SharePath (string) -- [REQUIRED]
NAS share path (e.g., "10.0.0.1:/nfs_share" or "//10.0.0.1/smb_share").
Protocol (string) -- [REQUIRED]
The network protocol used to access the network-attached storage (NAS) share.
OracledbServer (dict) --
The configuration for an Oracle database server.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
OracledbCluster (dict) --
The configuration for an Oracle database cluster.
AlternativeEndpoint (string) --
Alternative endpoint used if the SCAN endpoint is not directly reachable.
Endpoint (string) -- [REQUIRED]
SCAN endpoint used to connect to the cluster.
ServerHost (dict) --
The configuration for a server host.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
VmwareEsxi (dict) --
The configuration for a VMware ESXi host.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
MaxConcurrentStreamsPerDatastore (integer) --
Maximum number of concurrent backup streams per datastore.
MinFreeDatastoreSpaceForBackupPercentage (float) --
Minimum percentage of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MinFreeDatastoreSpaceForBackupGB (float) --
Minimum GB of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
VmwareVcenter (dict) --
The configuration for a VMware vCenter Server.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
MaxConcurrentStreamsPerDatastore (integer) --
Maximum number of concurrent backup streams per datastore.
MinFreeDatastoreSpaceForBackupPercentage (float) --
Minimum percentage of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MinFreeDatastoreSpaceForBackupGB (float) --
Minimum GB of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MaxConcurrentVmBackups (integer) --
Maximum number of VMs that can be backed up concurrently from a vCenter.
string
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.
dict
The default backup configurations for the resource provider's resource targets, by target type.
MssqlDatabase (dict) --
The default backup configuration for a Microsoft SQL Server database.
FullBackupAfterDays (integer) -- [REQUIRED]
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupStreamCount (integer) --
Number of parallel streams to use for the backup.
IsCopyOnlyFull (boolean) -- [REQUIRED]
Whether to take a copy-only backup, which does not disturb the normal backup sequence (it does not reset the differential base or truncate the transaction log). Used during migration from another backup solution.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
NasFilesystem (dict) --
The default backup configuration for a network-attached storage (NAS) filesystem.
AllowUnencryptedDataTransfer (boolean) -- [REQUIRED]
Specifies whether unencrypted data transfer is allowed for the network-attached storage (NAS) filesystem.
OracledbDatabase (dict) --
The default backup configuration for an Oracle database.
FullBackupAfterDays (integer) -- [REQUIRED]
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupChannelCount (integer) --
The number of backup channels to use for the Oracle database.
BackupNodeHostName (string) --
Hostname of the node to use as the backup leader.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
LogRetentionOnHostInHours (integer) --
The log retention period for the host in hours.
ServerFilesystem (dict) --
The default backup configuration for a server filesystem.
BackupConsistency (string) --
Backup consistency behavior for a server filesystem backup. CRASH_CONSISTENT_* is only applicable to Windows servers.
PostBackupScript (dict) --
Script to run after a backup.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) -- [REQUIRED]
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
PreBackupScript (dict) --
Script to run before a backup.
ContinueBackupOnScriptFailure (boolean) -- [REQUIRED]
Specifies whether to continue the backup if the pre-backup script fails.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) -- [REQUIRED]
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
VmwareVm (dict) --
The default backup configuration for a VMware virtual machine.
BackupConsistency (string) --
The consistency behavior for the VMware virtual machine backup.
dict
The tags to apply when the resource provider's resource targets are created.
(string) --
(string) --
list
The tag keys whose values are synchronized from external resources to their resource targets.
(string) --
integer
The number of days after which resource targets with a status of NOT_FOUND are automatically deleted. Specify -1 to disable automatic deletion.
dict
Response Syntax
{}
Response Structure
(dict) --
Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.
See also: AWS API Documentation
Request Syntax
client.list_resource_providers(
ApplianceArn='string',
MaxResults=123,
NextToken='string',
ResourceProviderType='MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER'
)
string
The Amazon Resource Name (ARN) of the appliance by which to filter the results.
integer
The maximum number of results to return in a single response.
string
The token returned by a previous call to retrieve the next page of results.
string
The resource provider type by which to filter the results.
dict
Response Syntax
{
'NextToken': 'string',
'Items': [
{
'AgentComplianceStatus': 'NON_COMPLIANT'|'UP_TO_DATE'|'UPGRADE_AVAILABLE',
'AgentUpgradeStatus': 'PENDING'|'RUNNING'|'COMPLETED'|'FAILED',
'AgentUpgradeStatusMessage': 'string',
'AgentVersionCurrent': 'string',
'AgentVersionLatest': 'string',
'ApplianceArn': 'string',
'Arn': 'string',
'CreatedAt': datetime(2015, 1, 1),
'LastSyncStartedAt': datetime(2015, 1, 1),
'LastSyncCompletedAt': datetime(2015, 1, 1),
'Name': 'string',
'ProviderType': 'MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER',
'SecretConfigurationArn': 'string',
'Status': 'DELETING'|'DELETION_FAILED'|'MIGRATING'|'MIGRATION_FAILED'|'SYNCING'|'SYNC_COMPLETED'|'SYNC_FAILED',
'StatusMessage': 'string',
'UpdatedAt': datetime(2015, 1, 1)
},
]
}
Response Structure
(dict) --
NextToken (string) --
The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
Items (list) --
The list of resource provider summaries.
(dict) --
Contains summary information about a resource provider.
AgentComplianceStatus (string) --
The compliance status of the resource provider's agent version.
AgentUpgradeStatus (string) --
The status of the resource provider's agent upgrade.
AgentUpgradeStatusMessage (string) --
The message describing the status of the resource provider's agent upgrade.
AgentVersionCurrent (string) --
The current version of the resource provider's agent.
AgentVersionLatest (string) --
The latest version of the agent available for the resource provider.
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
Arn (string) --
The Amazon Resource Name (ARN) of the resource provider.
CreatedAt (datetime) --
The date and time that the resource provider was created.
LastSyncStartedAt (datetime) --
The date and time that the resource provider's most recent synchronization started.
LastSyncCompletedAt (datetime) --
The date and time that the resource provider's most recent synchronization completed.
Name (string) --
The name of the resource provider.
ProviderType (string) --
The type of resource provider.
SecretConfigurationArn (string) --
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.
Status (string) --
The status of the resource provider.
StatusMessage (string) --
The message describing the status of the resource provider.
UpdatedAt (datetime) --
The date and time that the resource provider was last updated.
Deletes the specified appliance.
See also: AWS API Documentation
Request Syntax
client.delete_appliance(
ApplianceArn='string',
Force=True|False
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
boolean
Specifies whether to delete the appliance without waiting for the appliance to confirm the deletion. You can force deletion only when the appliance management status is DISCONNECTED or DELETE_FAILED.
dict
Response Syntax
{
'ApplianceArn': 'string',
'ApplianceManagementStatus': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'|'UPDATING'|'DELETE_FAILED'|'DISCONNECTED'|'SUSPENDED'
}
Response Structure
(dict) --
ApplianceArn (string) --
The Amazon Resource Name (ARN) of the appliance.
ApplianceManagementStatus (string) --
The management status of the appliance.
Adds or updates tags on the specified resource.
See also: AWS API Documentation
Request Syntax
client.tag_resource(
ResourceArn='string',
Tags={
'string': 'string'
}
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
dict
[REQUIRED]
The tags to add or update on the resource.
(string) --
(string) --
dict
Response Syntax
{}
Response Structure
(dict) --
Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.
See also: AWS API Documentation
Request Syntax
client.create_resource_provider(
ApplianceArn='string',
ClientToken='string',
Name='string',
ProviderConfiguration={
'MssqlServer': {
'Endpoint': 'string'
},
'NasShare': {
'SharePath': 'string',
'Protocol': 'NFS_3'|'NFS_4_1'|'SMB'
},
'OracledbServer': {
'Endpoint': 'string'
},
'OracledbCluster': {
'AlternativeEndpoint': 'string',
'Endpoint': 'string'
},
'ServerHost': {
'Endpoint': 'string'
},
'VmwareEsxi': {
'Endpoint': 'string',
'MaxConcurrentStreamsPerDatastore': 123,
'MinFreeDatastoreSpaceForBackupPercentage': 123.0,
'MinFreeDatastoreSpaceForBackupGB': 123.0
},
'VmwareVcenter': {
'Endpoint': 'string',
'MaxConcurrentStreamsPerDatastore': 123,
'MinFreeDatastoreSpaceForBackupPercentage': 123.0,
'MinFreeDatastoreSpaceForBackupGB': 123.0,
'MaxConcurrentVmBackups': 123
}
},
ProviderType='MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER',
SecretConfigurationArn='string',
Tags={
'string': 'string'
},
TargetConfiguration={
'MssqlDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupStreamCount': 123,
'IsCopyOnlyFull': True|False,
'LogBackupFrequencyInMinutes': 123
},
'NasFilesystem': {
'AllowUnencryptedDataTransfer': True|False
},
'OracledbDatabase': {
'FullBackupAfterDays': 123,
'FullBackupAfterScheduleExpression': 'string',
'BackupChannelCount': 123,
'BackupNodeHostName': 'string',
'LogBackupFrequencyInMinutes': 123,
'LogRetentionOnHostInHours': 123
},
'ServerFilesystem': {
'BackupConsistency': 'NON_CONSISTENT'|'CRASH_CONSISTENT'|'CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT',
'PostBackupScript': {
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
},
'PreBackupScript': {
'ContinueBackupOnScriptFailure': True|False,
'ScriptParams': 'string',
'ScriptPath': 'string',
'TimeoutInMinutes': 123
}
},
'VmwareVm': {
'BackupConsistency': 'APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT'|'APP_CONSISTENT'|'CRASH_CONSISTENT'
}
},
TargetTagsOnCreate={
'string': 'string'
},
TargetTagKeysToSync=[
'string',
],
AutoDeleteNotFoundTargetsAfterDays=123
)
string
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
string
A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.
This field is autopopulated if not provided.
string
The name of the resource provider.
dict
[REQUIRED]
The configuration of the resource provider.
MssqlServer (dict) --
The configuration for a Microsoft SQL Server.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
NasShare (dict) --
The configuration for a network-attached storage (NAS) share.
SharePath (string) -- [REQUIRED]
NAS share path (e.g., "10.0.0.1:/nfs_share" or "//10.0.0.1/smb_share").
Protocol (string) -- [REQUIRED]
The network protocol used to access the network-attached storage (NAS) share.
OracledbServer (dict) --
The configuration for an Oracle database server.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
OracledbCluster (dict) --
The configuration for an Oracle database cluster.
AlternativeEndpoint (string) --
Alternative endpoint used if the SCAN endpoint is not directly reachable.
Endpoint (string) -- [REQUIRED]
SCAN endpoint used to connect to the cluster.
ServerHost (dict) --
The configuration for a server host.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
VmwareEsxi (dict) --
The configuration for a VMware ESXi host.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
MaxConcurrentStreamsPerDatastore (integer) --
Maximum number of concurrent backup streams per datastore.
MinFreeDatastoreSpaceForBackupPercentage (float) --
Minimum percentage of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MinFreeDatastoreSpaceForBackupGB (float) --
Minimum GB of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
VmwareVcenter (dict) --
The configuration for a VMware vCenter Server.
Endpoint (string) -- [REQUIRED]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
MaxConcurrentStreamsPerDatastore (integer) --
Maximum number of concurrent backup streams per datastore.
MinFreeDatastoreSpaceForBackupPercentage (float) --
Minimum percentage of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MinFreeDatastoreSpaceForBackupGB (float) --
Minimum GB of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
MaxConcurrentVmBackups (integer) --
Maximum number of VMs that can be backed up concurrently from a vCenter.
string
[REQUIRED]
The type of resource provider.
string
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.
dict
The tags to associate with the resource provider.
(string) --
(string) --
dict
[REQUIRED]
The default backup configurations for the resource provider's resource targets, by target type.
MssqlDatabase (dict) --
The default backup configuration for a Microsoft SQL Server database.
FullBackupAfterDays (integer) -- [REQUIRED]
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupStreamCount (integer) --
Number of parallel streams to use for the backup.
IsCopyOnlyFull (boolean) -- [REQUIRED]
Whether to take a copy-only backup, which does not disturb the normal backup sequence (it does not reset the differential base or truncate the transaction log). Used during migration from another backup solution.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
NasFilesystem (dict) --
The default backup configuration for a network-attached storage (NAS) filesystem.
AllowUnencryptedDataTransfer (boolean) -- [REQUIRED]
Specifies whether unencrypted data transfer is allowed for the network-attached storage (NAS) filesystem.
OracledbDatabase (dict) --
The default backup configuration for an Oracle database.
FullBackupAfterDays (integer) -- [REQUIRED]
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
FullBackupAfterScheduleExpression (string) --
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
BackupChannelCount (integer) --
The number of backup channels to use for the Oracle database.
BackupNodeHostName (string) --
Hostname of the node to use as the backup leader.
LogBackupFrequencyInMinutes (integer) --
If log backup is enabled, the frequency for log backup in minutes
LogRetentionOnHostInHours (integer) --
The log retention period for the host in hours.
ServerFilesystem (dict) --
The default backup configuration for a server filesystem.
BackupConsistency (string) --
Backup consistency behavior for a server filesystem backup. CRASH_CONSISTENT_* is only applicable to Windows servers.
PostBackupScript (dict) --
Script to run after a backup.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) -- [REQUIRED]
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
PreBackupScript (dict) --
Script to run before a backup.
ContinueBackupOnScriptFailure (boolean) -- [REQUIRED]
Specifies whether to continue the backup if the pre-backup script fails.
ScriptParams (string) --
The parameters to pass to the backup script.
ScriptPath (string) -- [REQUIRED]
A relative path to a script within the user_scripts folder in the agent installation directory on the server.
TimeoutInMinutes (integer) --
The timeout for the backup script, in minutes.
VmwareVm (dict) --
The default backup configuration for a VMware virtual machine.
BackupConsistency (string) --
The consistency behavior for the VMware virtual machine backup.
dict
The tags to apply when the resource provider's resource targets are created.
(string) --
(string) --
list
The tag keys whose values are synchronized from external resources to their resource targets.
(string) --
integer
The number of days after which resource targets with a status of NOT_FOUND are automatically deleted.
dict
Response Syntax
{
'Arn': 'string'
}
Response Structure
(dict) --
Arn (string) --
The Amazon Resource Name (ARN) of the resource provider.