Get Network Config Profiles

Get Network Config Profiles

Get network profiles compatible with the storage type and hosts subject to installation.

Request
URI
POST
https://{api_host}/v1/sddcs/network-config-profiles
COPY
Request Body
SddcNetworkConfigProfileSpec of type(s) application/json
Required

Show optional properties

{
    "storageType": "string",
    "hostSpecs": [
        {
            "hostname": "esx-1"
        }
    ]
}
{
    "storageType": "string",
    "hostSpecs": [
        {
            "hostname": "esx-1",
            "credentials": {
                "username": "root",
                "password": "string"
            },
            "sshThumbprint": "SHA256:rVPNWOKE2tZjvmYvKPhtc3ghJ41Vc0G3MwASf4+8+yc",
            "sslThumbprint": "3D:D0:EE:B5:A0:CC:45:08:5C:4F:84:51:CD:00:B6:41:BB:4A:A2:9A:77:1C:A6:4C:6D:84:5A:D0:4F:68:7A:B8"
        }
    ],
    "subdomain": "vcf.vmware.com",
    "nsxConfigType": "One among: NSX_SEPARATION, NO_NSX_SEPARATION"
}
string
storageType
Required

Storage type of the Management Domain

Possible values are : VSAN, VSAN_ESA, NFS, FC,
array of object
hostSpecs
Required

List of hosts which will be used for the Management Domain

string
subdomain
Optional

Tenant Sub domain. Includes the full domain suffix

string As (NSX_SEPARATION|NO_NSX_SEPARATION)
nsxConfigType
Optional

NSX Config Type

Responses
200

OK

Returns SddcNetworkConfigProfileResponse of type(s) application/json
"SddcNetworkConfigProfileResponse Object"
array of object
commonPhysicalNics
Optional

List of physical NICs common to all hosts.

array of object
profiles
Optional

List of pre-configured network profiles


500

InternalServerError

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
label
Optional

The localized label message

string
remediationUrl
Optional

The URL string for remediation documentation link


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"hostSpecs":["object"],"storageType:"string"}' https://{api_host}/v1/sddcs/network-config-profiles