Skip to content

Get Network Resource Counts

networkmanager_get_network_resource_counts R Documentation

Gets the count of network resources, by resource type, for the specified global network

Description

Gets the count of network resources, by resource type, for the specified global network.

Usage

networkmanager_get_network_resource_counts(GlobalNetworkId,
  ResourceType, MaxResults, NextToken)

Arguments

GlobalNetworkId

[required] The ID of the global network.

ResourceType

The resource type.

The following are the supported resource types for Direct Connect:

  • dxcon

  • dx-gateway

  • dx-vif

The following are the supported resource types for Network Manager:

  • attachment

  • connect-peer

  • connection

  • core-network

  • device

  • link

  • peering

  • site

The following are the supported resource types for Amazon VPC:

  • customer-gateway

  • transit-gateway

  • transit-gateway-attachment

  • transit-gateway-connect-peer

  • transit-gateway-route-table

  • vpn-connection

MaxResults

The maximum number of results to return.

NextToken

The token for the next page of results.

Value

A list with the following syntax:

list(
  NetworkResourceCounts = list(
    list(
      ResourceType = "string",
      Count = 123
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_network_resource_counts(
  GlobalNetworkId = "string",
  ResourceType = "string",
  MaxResults = 123,
  NextToken = "string"
)