This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

List Ports

1 - 1.2

scpcli vpc port list
[--with_count <value>]
[--limit <value>]
[--marker <value>]
[--sort <value>]
[--name <value>]
[--subnet_id <value>]
[--subnet_name <value>]
[--id <value>]
[--attached_resource_id <value>]
[--fixed_ip_address <value>]
[--mac_address <value>]
[--state <value>]
[--security_groups <value>]
[--attached_resource_types <value>]

Description

Get port list.

State ACTIVE (CURRENT)

VersionNot Before
1.2-

Parameters

NameTypeDescriptionExample
with_count
optional
stringwith counttrue
limit
optional
integerPort Limit-
marker
optional
stringPort Marker-
sort
optional
stringPort Sort-
name
optional
stringPort NameportName
subnet_id
optional
stringSubnet Id023c57b14f11483689338d085e061492
subnet_name
optional
stringSubnet NamesubnetName
id
optional
stringPort ID023c57b1-4f11-4836-8933-8d085e061492
attached_resource_id
optional
stringConnected resource ID9387e8f51de04a03994de8a9c3524935
fixed_ip_address
optional
stringFixed IP192.168.1.100
mac_address
optional
stringMAC Addressfa:16:3e:00:00:01
state
optional
stringState-
security_groups
optional
stringSecurity Group List-
attached_resource_types
optional
****Attached Resource Type-

Responses

NameDescriptionExample
idPort ID023c57b1-4f11-4836-8933-8d085e061492
account_idAccount IDf1e6c81a2b054582878cb9724dc2ce9f
attached_resource_idConnected resource ID9387e8f51de04a03994de8a9c3524935
attached_resource_typeConnected resource Type
created_atCreated date
descriptionDescriptionPort Description
fixed_ip_addressFixed IP192.168.1.100
mac_addressMAC Addressfa:16:3e:00:00:01
modified_atModified date
namePort NameportName
stateState
subnet_idSubnet Id023c57b14f11483689338d085e061492
subnet_nameSubnet NamesubnetName
vpc_idVPC Id071bc63b767444c9afaab1c972d302d5
vpc_nameVPC NamevpcName

2 - 1.1

scpcli vpc port list
[--with_count <value>]
[--limit <value>]
[--marker <value>]
[--sort <value>]
[--name <value>]
[--subnet_id <value>]
[--subnet_name <value>]
[--id <value>]
[--attached_resource_id <value>]
[--fixed_ip_address <value>]
[--mac_address <value>]
[--state <value>]
[--security_groups <value>]
[--attached_resource_types <value>]

Description

Get port list.

State ACTIVE (SUPPORTED)

VersionNot Before
1.120261130

Parameters

NameTypeDescriptionExample
with_count
optional
stringwith counttrue
limit
optional
integerPort Limit-
marker
optional
stringPort Marker-
sort
optional
stringPort Sort-
name
optional
stringPort NameportName
subnet_id
optional
stringSubnet Id023c57b14f11483689338d085e061492
subnet_name
optional
stringSubnet NamesubnetName
id
optional
stringPort ID023c57b1-4f11-4836-8933-8d085e061492
attached_resource_id
optional
stringConnected resource ID9387e8f51de04a03994de8a9c3524935
fixed_ip_address
optional
stringFixed IP192.168.1.100
mac_address
optional
stringMAC Addressfa:16:3e:00:00:01
state
optional
stringState-
security_groups
optional
stringSecurity Group List-
attached_resource_types
optional
****Attached Resource Type-

Responses

NameDescriptionExample
idPort ID023c57b1-4f11-4836-8933-8d085e061492
account_idAccount IDf1e6c81a2b054582878cb9724dc2ce9f
attached_resource_idConnected resource ID9387e8f51de04a03994de8a9c3524935
attached_resource_typeConnected resource Type
created_atCreated date
descriptionDescriptionPort Description
fixed_ip_addressFixed IP192.168.1.100
mac_addressMAC Addressfa:16:3e:00:00:01
modified_atModified date
namePort NameportName
stateState
subnet_idSubnet Id023c57b14f11483689338d085e061492
subnet_nameSubnet NamesubnetName
vpc_idVPC Id071bc63b767444c9afaab1c972d302d5
vpc_nameVPC NamevpcName

3 - 1.0

scpcli vpc port list
[--with_count <value>]
[--limit <value>]
[--marker <value>]
[--sort <value>]
[--name <value>]
[--subnet_id <value>]
[--subnet_name <value>]
[--id <value>]
[--attached_resource_id <value>]
[--fixed_ip_address <value>]
[--mac_address <value>]
[--state <value>]
[--security_groups <value>]
[--attached_resource_types <value>]

Description

Get port list.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
with_count
optional
stringwith counttrue
limit
optional
integerPort Limit-
marker
optional
stringPort Marker-
sort
optional
stringPort Sort-
name
optional
stringPort NameportName
subnet_id
optional
stringSubnet Id023c57b14f11483689338d085e061492
subnet_name
optional
stringSubnet NamesubnetName
id
optional
stringPort ID023c57b1-4f11-4836-8933-8d085e061492
attached_resource_id
optional
stringConnected resource ID9387e8f51de04a03994de8a9c3524935
fixed_ip_address
optional
stringFixed IP192.168.1.100
mac_address
optional
stringMAC Addressfa:16:3e:00:00:01
state
optional
stringState-
security_groups
optional
stringSecurity Group List-
attached_resource_types
optional
****Attached Resource Type-

Responses

NameDescriptionExample
idPort ID023c57b1-4f11-4836-8933-8d085e061492
account_idAccount IDf1e6c81a2b054582878cb9724dc2ce9f
attached_resource_idConnected resource ID9387e8f51de04a03994de8a9c3524935
attached_resource_typeConnected resource Type
created_atCreated date
descriptionDescriptionPort Description
fixed_ip_addressFixed IP192.168.1.100
mac_addressMAC Addressfa:16:3e:00:00:01
modified_atModified date
namePort NameportName
stateState
subnet_idSubnet Id023c57b14f11483689338d085e061492
subnet_nameSubnet NamesubnetName
vpc_idVPC Id071bc63b767444c9afaab1c972d302d5
vpc_nameVPC NamevpcName