powered by
Gets information about any operation that returns an operation ID in the response, such as a create_service request.
create_service
To get a list of operations that match specified criteria, see list_operations.
list_operations
servicediscovery_get_operation(OperationId)
[required] The ID of the operation that you want to get more information about.
A list with the following syntax:
list( Operation = list( Id = "string", Type = "CREATE_NAMESPACE"|"DELETE_NAMESPACE"|"UPDATE_SERVICE"|"REGISTER_INSTANCE"|"DEREGISTER_INSTANCE", Status = "SUBMITTED"|"PENDING"|"SUCCESS"|"FAIL", ErrorMessage = "string", ErrorCode = "string", CreateDate = as.POSIXct( "2015-01-01" ), UpdateDate = as.POSIXct( "2015-01-01" ), Targets = list( "string" ) ) )
svc$get_operation( OperationId = "string" )
# NOT RUN { # Example: Get operation result svc$get_operation( OperationId = "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd" ) # } # NOT RUN { # }
Run the code above in your browser using DataLab