EC2 / Client / disable_instance_sql_ha_standby_detections
disable_instance_sql_ha_standby_detections¶
- EC2.Client.disable_instance_sql_ha_standby_detections(**kwargs)¶
Disable Amazon EC2 instances running in an SQL Server High Availability cluster from SQL Server High Availability instance standby detection monitoring. Once disabled, Amazon Web Services no longer monitors the metadata for the instances to determine whether they are active or standby nodes in the SQL Server High Availability cluster.
See also: AWS API Documentation
Request Syntax
response = client.disable_instance_sql_ha_standby_detections( InstanceIds=[ 'string', ], DryRun=True|False )
- Parameters:
InstanceIds (list) –
[REQUIRED]
The IDs of the instances to disable from SQL Server High Availability standby detection monitoring.
(string) –
DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
- Return type:
dict
- Returns:
Response Syntax
{ 'Instances': [ { 'InstanceId': 'string', 'SqlServerLicenseUsage': 'full'|'waived', 'HaStatus': 'processing'|'active'|'standby'|'invalid', 'ProcessingStatus': 'string', 'LastUpdatedTime': datetime(2015, 1, 1), 'SqlServerCredentials': 'string', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }, ] }
Response Structure
(dict) –
Instances (list) –
Information about the instances that were disabled from SQL Server High Availability standby detection monitoring.
(dict) –
Describes an Amazon EC2 instance that is enabled for SQL Server High Availability standby detection monitoring.
InstanceId (string) –
The ID of the SQL Server High Availability instance.
SqlServerLicenseUsage (string) –
The license type for the SQL Server license. Valid values include:
full- The SQL Server High Availability instance is using a full SQL Server license.waived- The SQL Server High Availability instance is waived from the SQL Server license.
HaStatus (string) –
The SQL Server High Availability status of the instance. Valid values are:
processing- The SQL Server High Availability status for the SQL Server High Availability instance is being updated.active- The SQL Server High Availability instance is an active node in an SQL Server High Availability cluster.standby- The SQL Server High Availability instance is a standby failover node in an SQL Server High Availability cluster.invalid- An error occurred due to misconfigured permissions, or unable to dertemine SQL Server High Availability status for the SQL Server High Availability instance.
ProcessingStatus (string) –
A brief description of the SQL Server High Availability status. If the instance is in the
invalidHigh Availability status, this parameter includes the error message.LastUpdatedTime (datetime) –
The date and time when the instance’s SQL Server High Availability status was last updated, in the ISO 8601 format in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ).SqlServerCredentials (string) –
The ARN of the Secrets Manager secret containing the SQL Server access credentials for the SQL Server High Availability instance. If not specified, deafult local user credentials will be used by the Amazon Web Services Systems Manager agent.
Tags (list) –
The tags assigned to the SQL Server High Availability instance.
(dict) –
Describes a tag.
Key (string) –
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with
aws:.Value (string) –
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.