Get Network Allocation Constraint

Get Network Allocation Constraint

Get allocation constraint for the network

Request
URI
POST
https://{api_host}/iaas-proxy-provider/api/services/{serviceId}/network/networks-allocation-constraints
COPY
Path Parameters
string
serviceId
Required

The ID of the IaaS service as registered in the component registry service.

Query Parameters
string
relatedCompTypeId
Optional

The related CompTypeId


Request Body

The network containing the allocation constraint

network of type(s) application/json
Required
This request body class requires all of the following: networkObject , Inlinenetwork1
{
    "name": "string",
    "tenantId": "string",
    "description": "string",
    "externalId": "string",
    "id": "string",
    "extensionData": {
        "entries": [
            {
                "key": "string"
            }
        ]
    },
    "networkBackings": [
        {
            "computeResourceName": "string",
            "externalId": "string",
            "computeResourceNetworkId": "string",
            "id": "string",
            "computeResourceId": "string",
            "extensionData": {
                "entries": [
                    {
                        "key": "string"
                    }
                ]
            }
        }
    ],
    "machineIdCollection": [
        "string"
    ],
    "networkProfileType": "string",
    "networkTypeId": "string",
    "natRules": [
        {
            "networkInterfaceId": "string",
            "translatedAddress": "string",
            "componentId": "string",
            "userDefined": false,
            "externalId": "string",
            "description": "string",
            "targetType": "string",
            "type": "string",
            "enabled": false,
            "protocol": "string",
            "edgeId": "string",
            "machineId": "string",
            "originalAddress": "string",
            "name": "string",
            "peerInterfaceIndex": 0,
            "action": "string",
            "translatedPort": "string",
            "interfaceIndex": 0,
            "id": "string",
            "tag": "string",
            "componentName": "string",
            "order": 0,
            "originalPort": "string"
        }
    ]
}
Responses
200

Successful operation.

Returns allocationConstraint of type(s) */*
{
    "filter": "string"
}
string
filter
Optional

filter