# NOT RUN {
# This example submits a request to replace the DnsConfig and
# HealthCheckConfig settings of a specified service.
svc$update_service(
Id = "srv-e4anhexample0004",
Service = list(
DnsConfig = list(
DnsRecords = list(
list(
TTL = 60L,
Type = "A"
)
)
),
HealthCheckConfig = list(
FailureThreshold = 2L,
ResourcePath = "/",
Type = "HTTP"
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab