List Services
| servicediscovery_list_services | R Documentation |
Lists summary information for all the services that are associated with one or more namespaces¶
Description¶
Lists summary information for all the services that are associated with one or more namespaces.
Usage¶
Arguments¶
NextTokenFor the first
list_servicesrequest, omit this value.If the response contains
NextToken, submit anotherlist_servicesrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.Cloud Map gets
MaxResultsservices and then filters them based on the specified criteria. It's possible that no services in the firstMaxResultsservices matched the specified criteria but that subsequent groups ofMaxResultsservices do contain services that match the criteria.MaxResultsThe maximum number of services that you want Cloud Map to return in the response to a
list_servicesrequest. If you don't specify a value forMaxResults, Cloud Map returns up to 100 services.FiltersA complex type that contains specifications for the namespaces that you want to list services for.
If you specify more than one filter, an operation must match all filters to be returned by
list_services.
Value¶
A list with the following syntax:
list(
Services = list(
list(
Id = "string",
Arn = "string",
Name = "string",
Type = "HTTP"|"DNS_HTTP"|"DNS",
Description = "string",
InstanceCount = 123,
DnsConfig = list(
NamespaceId = "string",
RoutingPolicy = "MULTIVALUE"|"WEIGHTED",
DnsRecords = list(
list(
Type = "SRV"|"A"|"AAAA"|"CNAME",
TTL = 123
)
)
),
HealthCheckConfig = list(
Type = "HTTP"|"HTTPS"|"TCP",
ResourcePath = "string",
FailureThreshold = 123
),
HealthCheckCustomConfig = list(
FailureThreshold = 123
),
CreateDate = as.POSIXct(
"2015-01-01"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$list_services(
NextToken = "string",
MaxResults = 123,
Filters = list(
list(
Name = "NAMESPACE_ID",
Values = list(
"string"
),
Condition = "EQ"|"IN"|"BETWEEN"|"BEGINS_WITH"
)
)
)