Class: Aws::EC2::Types::FailoverVolumesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::FailoverVolumesRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#instance_id ⇒ String
The ID of the instance.
-
#source_active_availability_zone ⇒ String
The name of the Availability Zone that the volume's active replica is in, or that the instance is in.
-
#source_active_availability_zone_id ⇒ String
The ID of the Availability Zone that the volume's active replica is in, or that the instance is in.
-
#volume_id ⇒ String
The ID of the Multi-AZ volume to fail over.
Instance Attribute Details
#dry_run ⇒ 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 is UnauthorizedOperation.
47829 47830 47831 47832 47833 47834 47835 47836 47837 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47829 class FailoverVolumesRequest < Struct.new( :volume_id, :instance_id, :source_active_availability_zone, :source_active_availability_zone_id, :dry_run) SENSITIVE = [] include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance. The instance must be in the Availability
Zone specified by SourceActiveAvailabilityZone or
SourceActiveAvailabilityZoneId. EBS fails over all Multi-AZ
volumes that are attached to the instance and have their active
replica in the specified Availability Zone.
Either VolumeId or InstanceId must be specified, but not both.
47829 47830 47831 47832 47833 47834 47835 47836 47837 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47829 class FailoverVolumesRequest < Struct.new( :volume_id, :instance_id, :source_active_availability_zone, :source_active_availability_zone_id, :dry_run) SENSITIVE = [] include Aws::Structure end |
#source_active_availability_zone ⇒ String
The name of the Availability Zone that the volume's active replica
is in, or that the instance is in. For example, us-east-1a.
Either SourceActiveAvailabilityZone or
SourceActiveAvailabilityZoneId must be specified, but not both.
47829 47830 47831 47832 47833 47834 47835 47836 47837 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47829 class FailoverVolumesRequest < Struct.new( :volume_id, :instance_id, :source_active_availability_zone, :source_active_availability_zone_id, :dry_run) SENSITIVE = [] include Aws::Structure end |
#source_active_availability_zone_id ⇒ String
The ID of the Availability Zone that the volume's active replica is
in, or that the instance is in. For example, use1-az1.
Either SourceActiveAvailabilityZone or
SourceActiveAvailabilityZoneId must be specified, but not both.
47829 47830 47831 47832 47833 47834 47835 47836 47837 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47829 class FailoverVolumesRequest < Struct.new( :volume_id, :instance_id, :source_active_availability_zone, :source_active_availability_zone_id, :dry_run) SENSITIVE = [] include Aws::Structure end |
#volume_id ⇒ String
The ID of the Multi-AZ volume to fail over. The Multi-AZ volume's
active replica must be in the Availability Zone specified by
SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId.
Either VolumeId or InstanceId must be specified, but not both.
47829 47830 47831 47832 47833 47834 47835 47836 47837 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 47829 class FailoverVolumesRequest < Struct.new( :volume_id, :instance_id, :source_active_availability_zone, :source_active_availability_zone_id, :dry_run) SENSITIVE = [] include Aws::Structure end |