list-networks¶
- subtitle
Lists the available networks for a cloud credential.
- version
0.9.165-dirty
Description¶
Lists the available networks and their associated subnets for a given cloud credential and region.
Synopsis¶
list-networks
--credential <value>
[--region <value>]
[--platform-variant <value>]
[--availability-zone <value>]
[--network-id <value>]
[--subnet-ids <value>]
[--shared-project-id <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--credential (string)
The name or CRN of the credential.
--region (string)
The region of the networks.
--platform-variant (string)
The variant of the cloud platform.
--availability-zone (string)
The availability zone.
--network-id (string)
Filter by specific network ID.
--subnet-ids (string)
Comma-separated list of subnet IDs to filter by.
--shared-project-id (string)
Shared project ID (for GCP).
--cli-input-json (string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton (boolean)
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
--cli-input-json.
Output¶
networks -> (array)
List of network entries per cloud platform.
item -> (object)
Network information for a single cloud platform.
platform -> (string)
The cloud platform name (e.g. AWS, AZURE, GCP).
networks -> (array)
The list of available networks for this platform.
item -> (object)
A cloud network resource.
name -> (string)
The name of the network.
id -> (string)
The ID of the network.
subnets -> (map)
A mapping of subnet IDs to subnet names.
key -> (string)
value -> (string)
properties -> (map)
Additional platform-specific properties.
key -> (string)
value -> (string)
Form Factors¶
public, private