You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ServiceDiscovery::Types::DiscoverInstancesRequestWhen passing DiscoverInstancesRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
namespace_name: "NamespaceName", service_name: "ServiceName", max_results: 1,
query_parameters: {
"AttrKey" => "AttrValue",
},
optional_parameters: {
"AttrKey" => "AttrValue",
},
health_status: "HEALTHY", }
Instance Attribute Summary collapse
The health status of the instances that you want to discover.
The maximum number of instances that you want AWS Cloud Map to return in the response to a DiscoverInstances
request.
The name of the namespace that you specified when you registered the instance.
Opportunistic filters to scope the results based on custom attributes.
Filters to scope the results based on custom attributes for the instance.
The name of the service that you specified when you registered the instance.
The health status of the instances that you want to discover.
Possible values:
The maximum number of instances that you want AWS Cloud Map to return in the response to a DiscoverInstances
request. If you don\'t specify a value for MaxResults
, AWS Cloud Map returns up to 100 instances.
The name of the namespace that you specified when you registered the instance.
#optional_parameters ⇒ Hash<String,String>Opportunistic filters to scope the results based on custom attributes. If there are instances that match both the filters specified in both the QueryParameters
parameter and this parameter, they are returned. Otherwise, these filters are ignored and only instances that match the filters specified in the QueryParameters
parameter are returned.
Filters to scope the results based on custom attributes for the instance. For example, {version=v1, az=1a}
. Only instances that match all the specified key-value pairs will be returned.
The name of the service that you specified when you registered the instance.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4