List Network Labels
API retrieves by filtering on the network type (if specified) that may be suitable for configuration with a desktop pool/farm's network interface card.
At least one of the listed privileges is required -
Privileges | Description |
---|---|
GLOBAL_CONFIG_VIEW | Caller should have permission to this privilege, to perform this operation. |
VC_CONFIG_VIEW | Caller should have permission to this privilege, to perform this operation. |
Request
URI
GET
https://{api_host}//localhost/rest/external/v1/network-labels
COPY
Query Parameters
string
host_or_cluster_id
Required
Host or Cluster ID
string
network_type
Optional
Network Type
- NETWORK: Standard network.
- OPAQUE_NETWORK: Opaque network.
- DISTRUBUTED_VIRTUAL_PORT_GROUP: DVS Port group.
Possible values are : NETWORK, OPAQUE_NETWORK, DISTRUBUTED_VIRTUAL_PORT_GROUP,
string
vcenter_id
Required
Virtual Center ID
Responses
200
OK
[
{
"available_ports": 0,
"id": "network-1",
"incompatible_reasons": [
"string"
],
"label_type": "EARLY_BINDING",
"max_ports": 0,
"name": "VM Network",
"switch_type": "STANDARD_SWITCH"
}
]
401
User is not authenticated
Operation doesn't return any data structure
403
Access to the resource is forbidden
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure
External Operations
POST
Add Auxiliary Accounts
GET
Audit Events Extended Attributes
POST
Bind
POST
Bulk Hold User Or Group
POST
Bulk Release Hold User Or Group
POST
Change User Password
POST
Compute Space Requirements
POST
Delete Auxiliary Accounts
GET
Get AD User Or Group Info
GET
List AD Containers
GET
List AD Domains
GET
List AD Domains V2
GET
List AD Domains V3
GET
List AD User Or Group Summary
GET
List Audit Events
GET
List Base Snapshots
GET
List Base Snapshots V2
GET
List Base V Ms
GET
List Customization Specs
GET
List Datacenters
GET
List Datastore Clusters
GET
List Datastore Paths
GET
Listdatastores
GET
List Held Users Or Groups
GET
List Hosts Or Clusters
GET
List Network Interface Cards
GET
List Network Interface Cards V2
GET
List Network Labels
GET
List Resource Pools
GET
List Virtual Machines
GET
List VM Folders
GET
List VM Templates
POST
Unbind
POST
Update
POST
Update Auxiliary Accounts
POST
Validate AD User Encrypted Credentials