Skip to content

Lists the address blocks that you have added to a directory

Description

Lists the address blocks that you have added to a directory.

Usage

directoryservice_list_ip_routes(DirectoryId, NextToken, Limit)

Arguments

  • DirectoryId

    [required] Identifier (ID) of the directory for which you want to retrieve the IP addresses.

  • NextToken

    The ListIpRoutes.NextToken value from a previous call to list_ip_routes. Pass null if this is the first call.

  • Limit

    Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.

Value

A list with the following syntax:

list(
  IpRoutesInfo = list(
    list(
      DirectoryId = "string",
      CidrIp = "string",
      CidrIpv6 = "string",
      IpRouteStatusMsg = "Adding"|"Added"|"Removing"|"Removed"|"AddFailed"|"RemoveFailed",
      AddedDateTime = as.POSIXct(
        "2015-01-01"
      ),
      IpRouteStatusReason = "string",
      Description = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_ip_routes(
  DirectoryId = "string",
  NextToken = "string",
  Limit = 123
)