Get Instance
| servicediscovery_get_instance | R Documentation | 
Gets information about a specified instance¶
Description¶
Gets information about a specified instance.
Usage¶
servicediscovery_get_instance(ServiceId, InstanceId)
Arguments¶
| ServiceId | [required] The ID of the service that the instance is associated with. | 
| InstanceId | [required] The ID of the instance that you want to get information about. | 
Value¶
A list with the following syntax:
list(
  Instance = list(
    Id = "string",
    CreatorRequestId = "string",
    Attributes = list(
      "string"
    )
  )
)
Request syntax¶
svc$get_instance(
  ServiceId = "string",
  InstanceId = "string"
)
Examples¶
## Not run: 
# This example gets information about a specified instance.
svc$get_instance(
  InstanceId = "i-abcd1234",
  ServiceId = "srv-e4anhexample0004"
)
## End(Not run)