Skip to content

Get Ipam Discovered Resource Cidrs

ec2_get_ipam_discovered_resource_cidrs R Documentation

Returns the resource CIDRs that are monitored as part of a resource discovery

Description

Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses.

Usage

ec2_get_ipam_discovered_resource_cidrs(DryRun, IpamResourceDiscoveryId,
  ResourceRegion, Filters, NextToken, MaxResults)

Arguments

DryRun

A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IpamResourceDiscoveryId

[required] A resource discovery ID.

ResourceRegion

[required] A resource Region.

Filters

Filters.

NextToken

Specify the pagination token from a previous request to retrieve the next page of results.

MaxResults

The maximum number of discovered resource CIDRs to return in one page of results.

Value

A list with the following syntax:

list(
  IpamDiscoveredResourceCidrs = list(
    list(
      IpamResourceDiscoveryId = "string",
      ResourceRegion = "string",
      ResourceId = "string",
      ResourceOwnerId = "string",
      ResourceCidr = "string",
      IpSource = "amazon"|"byoip"|"none",
      ResourceType = "vpc"|"subnet"|"eip"|"public-ipv4-pool"|"ipv6-pool"|"eni",
      ResourceTags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      IpUsage = 123.0,
      VpcId = "string",
      NetworkInterfaceAttachmentStatus = "available"|"in-use",
      SampleTime = as.POSIXct(
        "2015-01-01"
      ),
      AvailabilityZoneId = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_ipam_discovered_resource_cidrs(
  DryRun = TRUE|FALSE,
  IpamResourceDiscoveryId = "string",
  ResourceRegion = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  NextToken = "string",
  MaxResults = 123
)