Class: Aws::BackupExternal::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::BackupExternal::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb
Overview
An API client for BackupExternal. To construct a client, you need to configure a :region and :credentials.
client = Aws::BackupExternal::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#associate_disk(params = {}) ⇒ Struct
Associates a disk with the specified appliance node for data or metadata storage.
-
#create_appliance(params = {}) ⇒ Types::CreateApplianceOutput
Creates an appliance with the specified network configuration and returns its activation information.
-
#create_resource_provider(params = {}) ⇒ Types::CreateResourceProviderOutput
Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.
-
#delete_appliance(params = {}) ⇒ Types::DeleteApplianceOutput
Deletes the specified appliance.
-
#delete_node(params = {}) ⇒ Types::DeleteNodeOutput
Deletes the specified node from an appliance.
-
#delete_resource_provider(params = {}) ⇒ Struct
Deletes the specified resource provider.
-
#delete_resource_target(params = {}) ⇒ Struct
Deletes the specified resource target.
-
#get_activation_credentials(params = {}) ⇒ Types::GetActivationCredentialsOutput
Returns activation credentials and image information for the specified appliance.
-
#get_agent_download(params = {}) ⇒ Types::GetAgentDownloadOutput
Returns the agent installer download URL and version for the specified appliance and platform.
-
#get_agent_upgrade_settings(params = {}) ⇒ Types::GetAgentUpgradeSettingsOutput
Retrieves the current auto-upgrade settings for an appliance.
-
#get_appliance(params = {}) ⇒ Types::GetApplianceOutput
Returns the configuration and status of the specified appliance.
-
#get_appliance_sizing_recommendation(params = {}) ⇒ Types::GetApplianceSizingRecommendationOutput
Returns appliance sizing recommendations for the specified workloads and projection period.
-
#get_node(params = {}) ⇒ Types::GetNodeOutput
Returns information about the specified appliance node.
-
#get_resource_provider(params = {}) ⇒ Types::GetResourceProviderOutput
Returns configuration, metadata, and status information for the specified resource provider.
-
#get_resource_target(params = {}) ⇒ Types::GetResourceTargetOutput
Returns configuration, metadata, and status information for the specified resource target.
-
#list_appliances(params = {}) ⇒ Types::ListAppliancesOutput
Returns a list of appliances.
-
#list_disks(params = {}) ⇒ Types::ListDisksOutput
Returns a list of disks attached to the specified appliance node.
-
#list_nodes(params = {}) ⇒ Types::ListNodesOutput
Returns a list of nodes belonging to the specified appliance.
-
#list_resource_providers(params = {}) ⇒ Types::ListResourceProvidersOutput
Returns a list of resource providers, optionally filtered by appliance or provider type.
-
#list_resource_targets(params = {}) ⇒ Types::ListResourceTargetsOutput
Returns a list of resource targets, optionally filtered by resource provider or target type.
-
#list_tags(params = {}) ⇒ Types::ListTagsOutput
Returns the tags associated with the specified resource.
-
#put_agent_upgrade_settings(params = {}) ⇒ Struct
Configures per-appliance daily auto-upgrade settings.
-
#start_resource_provider_agent_upgrade(params = {}) ⇒ Types::StartResourceProviderAgentUpgradeOutput
Starts an agent upgrade for the specified resource provider.
-
#start_resource_provider_migration(params = {}) ⇒ Types::StartResourceProviderMigrationOutput
Starts migration of the specified resource provider to another appliance.
-
#start_resource_provider_sync(params = {}) ⇒ Types::StartResourceProviderSyncOutput
Starts synchronization of the resource targets for the specified resource provider.
-
#tag_resource(params = {}) ⇒ Struct
Adds or updates tags on the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from a resource.
-
#update_appliance(params = {}) ⇒ Types::UpdateApplianceOutput
Updates the name, configuration, or operation mode of the specified appliance.
-
#update_resource_provider(params = {}) ⇒ Struct
Updates the configuration of the specified resource provider.
-
#update_resource_target(params = {}) ⇒ Struct
Updates the name or backup configuration of the specified resource target.
-
#verify_nodes(params = {}) ⇒ Types::VerifyNodesOutput
Verifies the specified nodes, which must have a status of
PENDING_VERIFICATION, so that they can be added to the appliance.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
479 480 481 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 479 def initialize(*args) super end |
Instance Method Details
#associate_disk(params = {}) ⇒ Struct
Associates a disk with the specified appliance node for data or metadata storage.
515 516 517 518 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 515 def associate_disk(params = {}, = {}) req = build_request(:associate_disk, params) req.send_request() end |
#create_appliance(params = {}) ⇒ Types::CreateApplianceOutput
Creates an appliance with the specified network configuration and returns its activation information.
592 593 594 595 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 592 def create_appliance(params = {}, = {}) req = build_request(:create_appliance, params) req.send_request() end |
#create_resource_provider(params = {}) ⇒ Types::CreateResourceProviderOutput
Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.
741 742 743 744 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 741 def create_resource_provider(params = {}, = {}) req = build_request(:create_resource_provider, params) req.send_request() end |
#delete_appliance(params = {}) ⇒ Types::DeleteApplianceOutput
Deletes the specified appliance.
777 778 779 780 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 777 def delete_appliance(params = {}, = {}) req = build_request(:delete_appliance, params) req.send_request() end |
#delete_node(params = {}) ⇒ Types::DeleteNodeOutput
Deletes the specified node from an appliance.
813 814 815 816 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 813 def delete_node(params = {}, = {}) req = build_request(:delete_node, params) req.send_request() end |
#delete_resource_provider(params = {}) ⇒ Struct
Deletes the specified resource provider.
835 836 837 838 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 835 def delete_resource_provider(params = {}, = {}) req = build_request(:delete_resource_provider, params) req.send_request() end |
#delete_resource_target(params = {}) ⇒ Struct
Deletes the specified resource target.
857 858 859 860 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 857 def delete_resource_target(params = {}, = {}) req = build_request(:delete_resource_target, params) req.send_request() end |
#get_activation_credentials(params = {}) ⇒ Types::GetActivationCredentialsOutput
Returns activation credentials and image information for the specified appliance.
892 893 894 895 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 892 def get_activation_credentials(params = {}, = {}) req = build_request(:get_activation_credentials, params) req.send_request() end |
#get_agent_download(params = {}) ⇒ Types::GetAgentDownloadOutput
Returns the agent installer download URL and version for the specified appliance and platform.
931 932 933 934 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 931 def get_agent_download(params = {}, = {}) req = build_request(:get_agent_download, params) req.send_request() end |
#get_agent_upgrade_settings(params = {}) ⇒ Types::GetAgentUpgradeSettingsOutput
Retrieves the current auto-upgrade settings for an appliance.
963 964 965 966 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 963 def get_agent_upgrade_settings(params = {}, = {}) req = build_request(:get_agent_upgrade_settings, params) req.send_request() end |
#get_appliance(params = {}) ⇒ Types::GetApplianceOutput
Returns the configuration and status of the specified appliance. To retrieve the nodes belonging to the appliance, use ListNodes.
1030 1031 1032 1033 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1030 def get_appliance(params = {}, = {}) req = build_request(:get_appliance, params) req.send_request() end |
#get_appliance_sizing_recommendation(params = {}) ⇒ Types::GetApplianceSizingRecommendationOutput
Returns appliance sizing recommendations for the specified workloads and projection period.
1147 1148 1149 1150 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1147 def get_appliance_sizing_recommendation(params = {}, = {}) req = build_request(:get_appliance_sizing_recommendation, params) req.send_request() end |
#get_node(params = {}) ⇒ Types::GetNodeOutput
Returns information about the specified appliance node.
1201 1202 1203 1204 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1201 def get_node(params = {}, = {}) req = build_request(:get_node, params) req.send_request() end |
#get_resource_provider(params = {}) ⇒ Types::GetResourceProviderOutput
Returns configuration, metadata, and status information for the specified resource provider.
1320 1321 1322 1323 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1320 def get_resource_provider(params = {}, = {}) req = build_request(:get_resource_provider, params) req.send_request() end |
#get_resource_target(params = {}) ⇒ Types::GetResourceTargetOutput
Returns configuration, metadata, and status information for the specified resource target.
1420 1421 1422 1423 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1420 def get_resource_target(params = {}, = {}) req = build_request(:get_resource_target, params) req.send_request() end |
#list_appliances(params = {}) ⇒ Types::ListAppliancesOutput
Returns a list of appliances. Use the pagination token to retrieve additional results.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1469 1470 1471 1472 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1469 def list_appliances(params = {}, = {}) req = build_request(:list_appliances, params) req.send_request() end |
#list_disks(params = {}) ⇒ Types::ListDisksOutput
Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1521 1522 1523 1524 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1521 def list_disks(params = {}, = {}) req = build_request(:list_disks, params) req.send_request() end |
#list_nodes(params = {}) ⇒ Types::ListNodesOutput
Returns a list of nodes belonging to the specified appliance. Use the pagination token to retrieve additional results.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1574 1575 1576 1577 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1574 def list_nodes(params = {}, = {}) req = build_request(:list_nodes, params) req.send_request() end |
#list_resource_providers(params = {}) ⇒ Types::ListResourceProvidersOutput
Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1638 1639 1640 1641 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1638 def list_resource_providers(params = {}, = {}) req = build_request(:list_resource_providers, params) req.send_request() end |
#list_resource_targets(params = {}) ⇒ Types::ListResourceTargetsOutput
Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination token to retrieve additional results.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1698 1699 1700 1701 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1698 def list_resource_targets(params = {}, = {}) req = build_request(:list_resource_targets, params) req.send_request() end |
#list_tags(params = {}) ⇒ Types::ListTagsOutput
Returns the tags associated with the specified resource.
1727 1728 1729 1730 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1727 def (params = {}, = {}) req = build_request(:list_tags, params) req.send_request() end |
#put_agent_upgrade_settings(params = {}) ⇒ Struct
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).
1776 1777 1778 1779 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1776 def put_agent_upgrade_settings(params = {}, = {}) req = build_request(:put_agent_upgrade_settings, params) req.send_request() end |
#start_resource_provider_agent_upgrade(params = {}) ⇒ Types::StartResourceProviderAgentUpgradeOutput
Starts an agent upgrade for the specified resource provider. Returns the date and time that the upgrade started.
1805 1806 1807 1808 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1805 def start_resource_provider_agent_upgrade(params = {}, = {}) req = build_request(:start_resource_provider_agent_upgrade, params) req.send_request() end |
#start_resource_provider_migration(params = {}) ⇒ Types::StartResourceProviderMigrationOutput
Starts migration of the specified resource provider to another appliance. Returns the date and time that migration started.
1839 1840 1841 1842 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1839 def start_resource_provider_migration(params = {}, = {}) req = build_request(:start_resource_provider_migration, params) req.send_request() end |
#start_resource_provider_sync(params = {}) ⇒ Types::StartResourceProviderSyncOutput
Starts synchronization of the resource targets for the specified resource provider. Returns the date and time that synchronization started.
1869 1870 1871 1872 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1869 def start_resource_provider_sync(params = {}, = {}) req = build_request(:start_resource_provider_sync, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or updates tags on the specified resource.
1897 1898 1899 1900 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1897 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from a resource.
1923 1924 1925 1926 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1923 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_appliance(params = {}) ⇒ Types::UpdateApplianceOutput
Updates the name, configuration, or operation mode of the specified appliance.
1982 1983 1984 1985 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1982 def update_appliance(params = {}, = {}) req = build_request(:update_appliance, params) req.send_request() end |
#update_resource_provider(params = {}) ⇒ Struct
Updates the configuration of the specified resource provider.
2107 2108 2109 2110 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 2107 def update_resource_provider(params = {}, = {}) req = build_request(:update_resource_provider, params) req.send_request() end |
#update_resource_target(params = {}) ⇒ Struct
Updates the name or backup configuration of the specified resource target.
2178 2179 2180 2181 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 2178 def update_resource_target(params = {}, = {}) req = build_request(:update_resource_target, params) req.send_request() end |
#verify_nodes(params = {}) ⇒ Types::VerifyNodesOutput
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.
2214 2215 2216 2217 |
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 2214 def verify_nodes(params = {}, = {}) req = build_request(:verify_nodes, params) req.send_request() end |