Skip to content

Get Namespace

servicediscovery_get_namespace R Documentation

Gets information about a namespace

Description

Gets information about a namespace.

Usage

servicediscovery_get_namespace(Id)

Arguments

Id

[required] The ID of the namespace that you want to get information about.

Value

A list with the following syntax:

list(
  Namespace = list(
    Id = "string",
    Arn = "string",
    Name = "string",
    Type = "DNS_PUBLIC"|"DNS_PRIVATE"|"HTTP",
    Description = "string",
    ServiceCount = 123,
    Properties = list(
      DnsProperties = list(
        HostedZoneId = "string",
        SOA = list(
          TTL = 123
        )
      ),
      HttpProperties = list(
        HttpName = "string"
      )
    ),
    CreateDate = as.POSIXct(
      "2015-01-01"
    ),
    CreatorRequestId = "string"
  )
)

Request syntax

svc$get_namespace(
  Id = "string"
)

Examples

## Not run: 
# This example gets information about a specified namespace.
svc$get_namespace(
  Id = "ns-e4anhexample0004"
)

## End(Not run)