Skip to content

Deregister Instance

servicediscovery_deregister_instance R Documentation

Deletes the Amazon RouteĀ 53 DNS records and health check, if any, that Cloud Map created for the specified instance

Description

Deletes the Amazon RouteĀ 53 DNS records and health check, if any, that Cloud Map created for the specified instance.

Usage

servicediscovery_deregister_instance(ServiceId, InstanceId)

Arguments

ServiceId

[required] The ID of the service that the instance is associated with.

InstanceId

[required] The value that you specified for Id in the register_instance request.

Value

A list with the following syntax:

list(
  OperationId = "string"
)

Request syntax

svc$deregister_instance(
  ServiceId = "string",
  InstanceId = "string"
)

Examples

## Not run: 
# Example: Deregister a service instance
svc$deregister_instance(
  InstanceId = "myservice-53",
  ServiceId = "srv-p5zdwlg5uvvzjita"
)

## End(Not run)