Create CS Gs

Create CS Gs

This API is to be used for creating the specified CSGs.

Request
URI
POST
https://{api_host}/hybridity/api/ztp/v1/csgs
COPY
Request Body

The request payload for Create CSGs API.

InlineZtpV1CsgsRequestBody of type(s) application/json
Required
{
    "domains": [
        {
            "id": "string",
            "version": 0,
            "name": "cdc1-csg1",
            "type": "string",
            "enabled": false,
            "preDeployed": {
                "preDeployed": false
            },
            "parentDomainId": "string",
            "switches": [
                {
                    "name": "string",
                    "uplinks": [
                        {
                            "pnic": "string",
                            "name": "string"
                        }
                    ]
                }
            ],
            "networks": [
                {
                    "type": "string",
                    "name": "string",
                    "switch": "string",
                    "segmentType": "string",
                    "vlan": 0,
                    "mac_learning_enabled": false,
                    "uplinkTeamingPolicy": {
                        "uplinkPortOrder": {
                            "active": [
                                "string"
                            ],
                            "standby": [
                                "string"
                            ],
                            "unused": [
                                "string"
                            ]
                        }
                    }
                }
            ],
            "settings": {
                "dns": {
                    "suffix": "string",
                    "servers": [
                        "string"
                    ]
                },
                "ntp": {
                    "servers": [
                        "string"
                    ]
                },
                "csiTagging": {
                    "enableCsiZoning": false,
                    "clusterCsiZoneTagNamingScheme": "string",
                    "hostCsiZoneTagNamingScheme": "string"
                },
                "disableDatastoreCustomization": false
            },
            "csiTags": {
                "csiZoneTag": "string"
            },
            "csiCategories": {
                "useExisting": false,
                "zone": "string"
            },
            "hcpId": "string"
        }
    ]
}
array of object
domains
Required

domains

Authentication
This operation uses the following authentication methods.
Responses
201

The submitted CSGs have been created successfully.

Returns InlineZtpV1Csgs201Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


301

API endpoint has permanently moved.

Returns InlineZtpV1Csgs301Response of type(s) application/json
{
    "redirectURL": "string"
}
string
redirectURL
Optional

redirectURL

Response Headers

string
Location

URI where the client will find the new endpoint.


400

Response may include details of why the request is bad.

Returns InlineZtpV1Csgs400Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


401

User is not authenticated to invoke this endpoint.

Operation doesn't return any data structure

403

User is not authorized to invoke this endpoint.

Operation doesn't return any data structure

422

The request payload couldn't be processed by the server.

Returns InlineZtpV1Csgs422Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


500

An internal server error has occurred.

Returns InlineZtpV1Csgs500Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.