Update Domain For Infra

Update Domain For Infra

If a domain with the domain-id is not already present, create a new domain. If it already exists, update the domain including the nested groups. This is a full replace

Request
URI
POST
https://nsxmanager.your.domain/api/v1/infra/domains/{domain-id}
COPY
Path Parameters
string
domain-id
Required

Domain ID


Request Body
Domain of type(s) application/json
Required
This request body class requires all of the following: PolicyConfigResource , InlineDomain1
{
    "_self": {
        "rel": "string"
    },
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "_revision": 0,
    "_create_time": 0,
    "_system_owned": false,
    "display_name": "string",
    "description": "string",
    "tags": [
        {
            "scope": "string",
            "tag": "string"
        }
    ],
    "_last_modified_time": 0,
    "_create_user": "string",
    "_last_modified_user": "string",
    "id": "string",
    "resource_type": "string",
    "path": "string",
    "relative_path": "string",
    "communication_map": {
        "communication_entries": [
            {
                "_self": {
                    "rel": "string"
                },
                "_links": [
                    {
                        "action": "string",
                        "href": "string",
                        "rel": "string"
                    }
                ],
                "_schema": "string",
                "_revision": 0,
                "_create_time": 0,
                "_system_owned": false,
                "display_name": "string",
                "description": "string",
                "tags": [
                    {
                        "scope": "string",
                        "tag": "string"
                    }
                ],
                "_last_modified_time": 0,
                "_create_user": "string",
                "_last_modified_user": "string",
                "id": "string",
                "resource_type": "string",
                "path": "string",
                "relative_path": "string",
                "communication_profile_path": "string",
                "logged": false,
                "destination_groups": [
                    "string"
                ],
                "sequence_number": 0,
                "source_groups": [
                    "string"
                ]
            }
        ],
        "precedence": 0
    },
    "groups": [
        {
            "_self": {
                "rel": "string"
            },
            "_links": [
                {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                }
            ],
            "_schema": "string",
            "_revision": 0,
            "_create_time": 0,
            "_system_owned": false,
            "display_name": "string",
            "description": "string",
            "tags": [
                {
                    "scope": "string",
                    "tag": "string"
                }
            ],
            "_last_modified_time": 0,
            "_create_user": "string",
            "_last_modified_user": "string",
            "id": "string",
            "resource_type": "string",
            "path": "string",
            "relative_path": "string",
            "state": "string",
            "expression": [
                {
                    "resource_type": "string"
                }
            ]
        }
    ]
}
Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns Domain of type(s) application/json
This response body class contains all of the following: PolicyConfigResource , InlineDomain1
{
    "_self": {
        "rel": "string"
    },
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "_revision": 0,
    "_create_time": 0,
    "_system_owned": false,
    "display_name": "string",
    "description": "string",
    "tags": [
        {
            "scope": "string",
            "tag": "string"
        }
    ],
    "_last_modified_time": 0,
    "_create_user": "string",
    "_last_modified_user": "string",
    "id": "string",
    "resource_type": "string",
    "path": "string",
    "relative_path": "string",
    "communication_map": {
        "communication_entries": [
            {
                "_self": {
                    "rel": "string"
                },
                "_links": [
                    {
                        "action": "string",
                        "href": "string",
                        "rel": "string"
                    }
                ],
                "_schema": "string",
                "_revision": 0,
                "_create_time": 0,
                "_system_owned": false,
                "display_name": "string",
                "description": "string",
                "tags": [
                    {
                        "scope": "string",
                        "tag": "string"
                    }
                ],
                "_last_modified_time": 0,
                "_create_user": "string",
                "_last_modified_user": "string",
                "id": "string",
                "resource_type": "string",
                "path": "string",
                "relative_path": "string",
                "communication_profile_path": "string",
                "logged": false,
                "destination_groups": [
                    "string"
                ],
                "sequence_number": 0,
                "source_groups": [
                    "string"
                ]
            }
        ],
        "precedence": 0
    },
    "groups": [
        {
            "_self": {
                "rel": "string"
            },
            "_links": [
                {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                }
            ],
            "_schema": "string",
            "_revision": 0,
            "_create_time": 0,
            "_system_owned": false,
            "display_name": "string",
            "description": "string",
            "tags": [
                {
                    "scope": "string",
                    "tag": "string"
                }
            ],
            "_last_modified_time": 0,
            "_create_user": "string",
            "_last_modified_user": "string",
            "id": "string",
            "resource_type": "string",
            "path": "string",
            "relative_path": "string",
            "state": "string",
            "expression": [
                {
                    "resource_type": "string"
                }
            ]
        }
    ]
}

400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

404
Returns NotFound of type(s) application/json
Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
Operation doesn't return any data structure

500
Operation doesn't return any data structure

503
Returns ServiceUnavailable of type(s) application/json
Operation doesn't return any data structure

Policy Operations
POST
Create Or Update Domain Deployment Map For Infra
POST
Create Or Update Enforcement Point For Infra
POST
Create Or Update Template
DELETE
Delete Communication Entry
DELETE
Delete Communication Profile
DELETE
Delete Communication Profile Entry
DELETE
Delete Domain
DELETE
Delete Domain Deployment Map
DELETE
Delete Enforcement Point
DELETE
Delete Group
DELETE
Delete Service Entry
DELETE
Delete Service For Tenant
DELETE
Delete Template
POST
Deploy Template Deploy
GET
List Communication Entry
GET
List Communication Profile Entries
GET
List Communication Profiles
GET
List Deployment Zones For Infra
GET
List Domain Deployment Maps For Infra
GET
List Domain For Infra
GET
List Enforcement Point For Infra
GET
List Enforcement Point Realized States
GET
List Firewall Section Realized States
GET
List Group For Domain
GET
List NS Group Realized States
GET
List NS Service Realized States
GET
List Security Group Realized States
GET
List Service Entries
GET
List Services For Tenant
GET
List Templates
GET
Read Communication Entry
GET
Read Communication Map For Domain
GET
Read Communication Profile
GET
Read Communication Profile Entry
GET
Read Deployment Zone Infra
GET
Read Domain Deployment Map For Infra
GET
Read Domain For Infra
GET
Read Enforcement Point For Infra
GET
Read Enforcement Point Realized State
GET
Read Firewall Section Realized State
GET
Read Group For Domain
GET
Read Infra
GET
Read NS Group Realized State
GET
Read NS Service Realized State
GET
Read Security Group Realized State
GET
Read Service Entry
GET
Read Service For Tenant
GET
Read Template
POST
Update Communication Entry
POST
Update Communication Map For Domain
POST
Update Communication Profile
POST
Update Communication Profile Entry
POST
Update Domain For Infra
POST
Update Group For Domain
POST
Update Infra
POST
Update Service Entry
POST
Update Service For Tenant