Get Normalizations

Get Normalizations

Returns the list of normalized resources based on the query parameters. Id and Type of the resource on which the normalizations is to be performed, are to be specified as query parameters in the URI. The target resource types to which normalization is to be done should also be specified as query parameter.

Request
URI
GET
https://nsxmanager.your.domain/api/v1/normalizations
COPY
Query Parameters
string
included_fields
Optional

Comma separated list of fields that should be included to result of query

string
resource_id
Required

Identifier of the resource on which normalization is to be performed

integer
page_size
Optional

Maximum number of results to return in this page (server may return fewer)

string
sort_by
Optional

Field by which records are sorted

string
cursor
Optional

Opaque cursor to be used for getting next page of records (supplied by current result page)

string
preferred_normalization_type
Required

Resource type valid for use as target in normalization API.

Possible values are : NSGroup, IPSet, MACSet, LogicalSwitch, LogicalPort,
boolean
sort_ascending
Optional

sort_ascending

string
resource_type
Required

Resource type valid for use as source in normalization API.


Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns NormalizedResourceListResult of type(s) application/json
This response body class contains all of the following: ListResult , InlineNormalizedResourceListResult1
{
    "_self": {
        "rel": "string"
    },
    "cursor": "string",
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "sort_ascending": false,
    "result_count": 0,
    "_schema": "string",
    "sort_by": "string",
    "results": [
        {
            "target_display_name": "string",
            "is_valid": false,
            "target_id": "string",
            "target_type": "string"
        }
    ]
}

default

Unexpected error

Returns ApiError of type(s) application/json
{
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
string
module_name
Optional

module_name

string
error_message
Optional

error_message

integer As int64 As int64
error_code
Optional

error_code