[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Post Network Connectivity Checker

Description

ConnectivityValidationGroupResultWrapper will be available at task.params[’test_result’].

Request

Request

URL

URL


post
https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddc}/networking/connectivity-tests
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


string
sddc Required

Sddc identifier


Query Parameters

Query Parameters

string
action Required

If = ‘start’, start connectivity tests.


Request Body

Request Body

ConnectivityValidationGroup of type(s) application/json Required

request information

{
	"id": "HLM",
	"name": "string",
	"sub_groups": [
		{
			"help": "string",
			"id": "PRIMARY_DNS",
			"inputs": [
				{
					"id": "HOSTNAME",
					"label": "string",
					"value": "string"
				}
			],
			"label": "string",
			"tests": [
				{
					"path": "string",
					"pktsize": "string",
					"ports": [
						"string"
					],
					"source": "VCENTER",
					"type": "PING"
				}
			]
		}
	]
}
string
id Optional

test group id, currently, only HLM.

Possible values are: HLMDRAAS


string
name Optional

Name of the test group.


sub_groups Optional

List of sub groups.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

202 Accepted

Returns Task of type(s) application/json
This response body class contains all of the following: AbstractEntity, InlineTask1
Errors

Errors

ErrorResponse
400

Bad Request


401

Unauthorized


403

Forbidden

Code Samples

Code Samples

PowerCLI Client SDK Example

$ConnectivityValidationInput = Initialize-ConnectivityValidationInput -Id "HOSTNAME" -Value "MyValue" -Label "MyLabel"
$ConnectivityAgentValidation = Initialize-ConnectivityAgentValidation -Source "VCENTER" -Path "MyPath" -Type "PING" -Ports "MyPorts" -Pktsize "MyPktsize"
$ConnectivityValidationSubGroup = Initialize-ConnectivityValidationSubGroup -Inputs $ConnectivityValidationInput -Tests $ConnectivityAgentValidation -Label "MyLabel" -Help "MyHelp" -Id "PRIMARY_DNS"
$ConnectivityValidationGroup = Initialize-ConnectivityValidationGroup -Id "HLM" -Name "MyName" -SubGroups $ConnectivityValidationSubGroup
Invoke-OrgsOrgSddcsSddcNetworkingConnectivityTestsPost -Org "MyOrg" -Sddc "MySddc" -Action "MyAction" -RequestInfo $RequestInfo

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"id":"HLM","name":"string","sub_groups":[{"help":"string","id":"PRIMARY_DNS","inputs":[{"id":"HOSTNAME","label":"string","value":"string"}],"label":"string","tests":[{"path":"string","pktsize":"string","ports":["string"],"source":"VCENTER","type":"PING"}]}]}' https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddc}/networking/connectivity-tests?action=string
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: network-connectivity-checker
x-vmw-vapi-methodname: post


Feedback

Was this page helpful?