Skip to content

Update Private Dns Namespace

servicediscovery_update_private_dns_namespace R Documentation

Updates a private DNS namespace

Description

Updates a private DNS namespace.

Usage

servicediscovery_update_private_dns_namespace(Id, UpdaterRequestId,
  Namespace)

Arguments

Id

[required] The ID of the namespace that you want to update.

UpdaterRequestId

A unique string that identifies the request and that allows failed update_private_dns_namespace requests to be retried without the risk of running the operation twice. UpdaterRequestId can be any unique string (for example, a date/timestamp).

Namespace

[required] Updated properties for the private DNS namespace.

Value

A list with the following syntax:

list(
  OperationId = "string"
)

Request syntax

svc$update_private_dns_namespace(
  Id = "string",
  UpdaterRequestId = "string",
  Namespace = list(
    Description = "string",
    Properties = list(
      DnsProperties = list(
        SOA = list(
          TTL = 123
        )
      )
    )
  )
)

Examples

## Not run: 
# The following example updates the description of a private DNS
# namespace.
svc$update_private_dns_namespace(
  Id = "ns-bk3aEXAMPLE",
  Namespace = list(
    Description = "The updated namespace description."
  ),
  UpdaterRequestId = ""
)

# The following example updates the description of a public DNS namespace.
svc$update_private_dns_namespace(
  Id = "ns-bk3aEXAMPLE",
  Namespace = list(
    Description = "The updated namespace description."
  ),
  UpdaterRequestId = ""
)

## End(Not run)