powered by
Gets information about a specified instance.
servicediscovery_get_instance(ServiceId, InstanceId)
[required] The ID of the service that the instance is associated with.
[required] The ID of the instance that you want to get information about.
A list with the following syntax:
list( Instance = list( Id = "string", CreatorRequestId = "string", Attributes = list( "string" ) ) )
svc$get_instance( ServiceId = "string", InstanceId = "string" )
# NOT RUN { # This example gets information about a specified instance. svc$get_instance( InstanceId = "i-abcd1234", ServiceId = "srv-e4anhexample0004" ) # } # NOT RUN { # }
Run the code above in your browser using DataLab