Download OpenAPI specification:Download
Console Core is a reselling platform used to resell various partner network services using a unified set of APIs (currently supported services are ports, layer 2 connections, and Internet exchange).
Step 1. Get credentials and API key We have a production and demo/sandbox environments available. All testing should be done on the demo/sandbox environments. To get access to either of these environments contact your Account Executive.
Step 2. Obtain an authentication token Use HTTP POST /partners/login endpoint with the credentials mentioned in the previous step, and it will return an authentication token.
Step 3. Use the token and API key When using the API from a client code, set the token in the header authentication and x-api-key.
Here you can find API scenarios that explain how to use the APIs step by step.
GET providers
endpoint.GET locations
endpoint.GET ports by their SKUS
endpoint. GET port prices
endpoint. POST ports
endpoint with payload. GET orders by order ID
endpoint.GET ports
endpoint. Delete a port by ID using the DELETE a port
endpoint.
Verify that the port is deleted using the GET port details
endpoint.
Query source/destination ports by location and get VLAN IDs that are in use using the GET ports
endpoint.
Query all layer 2 connection SKUs, using the GET layer 2 connections by their SKUS
endpoint.
Query layer 2 connection prices by SKU ID, source location, and destination location using the GET layer 2 connection prices
endpoint.
Order a layer 2 connection using the POST layer 2 connection
endpoint.
Query layer 2 connection status by order ID using the GET orders by order ID
endpoint.
Get a layer 2 connection when order status is Completed using the GET connections
endpoint.
Check the valid bandwidth for the update using the Get available max bandwidth
endpoint.
Request to update bandwidth using the POST update bandwidth
endpoint.
Query layer 2 connection update using the GET orders by order ID
endpoint.
Delete a layer 2 connection by ID using the [DELETE connections by connection ID
]#operation/deleteL2Connection) endpoint.
Verify that the layer 2 connection is deleted using the GET connection details
endpoint.
"string"
{- "app": "string",
- "code": 0,
- "payload": { },
- "destination": "string",
- "type": "string",
- "message": { },
- "properties": {
- "property1": { },
- "property2": { }
}, - "transactionId": "string"
}
connectionId required | string ID of the layer 2 connection |
bandWidth required | integer <int32> New bandwidth value this layer 2 connection is to be updated to |
{- "code": 0,
- "data": { },
- "message": "string"
}
provider | string Provider of the port |
speed | string Bandwidth value of the port |
unit | string Bandwidth value unit, in Mbps or Gbps |
Connector | string Physical attribute of the port, e.g., RJ45 |
Interface | string Physical attribute of the port, e.g., 1000Base-T |
noPrices | boolean Default: true Whether prices are displayed |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of ports displayed on a page |
{- "total": 0,
- "data": [
- {
- "updatedBy": "string",
- "keyName": "string",
- "externalId": "string",
- "isActive": true,
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "external": { },
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "name": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "attributes": [
- {
- "serviceAttributeValue": "string",
- "serviceAttributeKeyId": "string",
- "serviceAttributeKey": "string",
- "serviceAttributeValueId": "string"
}
], - "id": "string",
- "prices": [
- {
- "description": "string",
- "isActive": true,
- "deletedBy": "string",
- "contractTermUnit": "HOUR",
- "createdAt": "2019-08-24T14:15:22Z",
- "recurringFee": 0,
- "terminateFee": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "currency": "USD",
- "setupFee": 0,
- "id": "string",
- "sku": { },
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "productId": "string",
- "recurringUnit": "HOUR",
- "keyName": "string",
- "srcLocation": "string",
- "externalId": "string",
- "external": { },
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "service": {
- "serviceType": "string",
- "unit": "string",
- "provider": "string",
- "id": "string",
- "capacity": "string"
}, - "contractTerm": 0,
- "name": "string",
- "destLocation": "string"
}
], - "serviceId": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
portId required | string ID of the port |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of port logs displayed on a page |
{- "code": 0,
- "data": {
- "total": 0,
- "data": [
- {
- "request": { },
- "deletedBy": "string",
- "duration": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "endpoint": "string",
- "requestUrl": "string",
- "appId": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "correlationId": "string",
- "id": "string",
- "event": "BEFORE",
- "updatedAt": "2019-08-24T14:15:22Z",
- "remoteAddr": "string",
- "updatedBy": "string",
- "method": "string",
- "keyName": "string",
- "queryString": "string",
- "userId": "string",
- "version": "string",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "service": "string",
- "response": { },
- "statusCode": 0
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}, - "message": "string"
}
locationId | string ID of this NNI port location |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of NNI ports displayed on a page |
{- "total": 0,
- "data": [
- {
- "activedAt": "2019-08-24T14:15:22Z",
- "code": "string",
- "orderId": "string",
- "description": "string",
- "used": "string",
- "isBandwidthSoldInTiers": true,
- "interface": "1000BASE-T",
- "speed": 0,
- "deletedBy": "string",
- "productCategory": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "maxBandwidth": 0,
- "provider": "string",
- "locationId": "string",
- "acceptableVlanRanges": [
- {
- "start": 0,
- "end": 0
}
], - "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "connections": [
- "string"
], - "bandwidthTiers": [
- 0
], - "updatedAt": "2019-08-24T14:15:22Z",
- "allocatedAt": "2019-08-24T14:15:22Z",
- "utilisation": "string",
- "isNNI": true,
- "portMode": "TRUNK",
- "updatedBy": "string",
- "productId": "string",
- "contract": {
- "autoRenew": true,
- "term": {
- "unit": "D",
- "value": 0
}, - "priceId": "string"
}, - "keyName": "string",
- "externalId": "string",
- "freeVlanRanges": [
- {
- "start": 0,
- "end": 0
}
], - "portType": "SMF",
- "unit": "string",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "productCode": "string",
- "connector": "LC",
- "createdBy": "string",
- "name": "string",
- "siteId": "string",
- "minBandwidth": 0
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
{- "activedAt": "2019-08-24T14:15:22Z",
- "code": "string",
- "orderId": "string",
- "description": "string",
- "used": "string",
- "isBandwidthSoldInTiers": true,
- "interface": "1000BASE-T",
- "speed": 0,
- "deletedBy": "string",
- "productCategory": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "maxBandwidth": 0,
- "provider": "string",
- "locationId": "string",
- "acceptableVlanRanges": [
- {
- "start": 0,
- "end": 0
}
], - "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "connections": [
- "string"
], - "bandwidthTiers": [
- 0
], - "updatedAt": "2019-08-24T14:15:22Z",
- "allocatedAt": "2019-08-24T14:15:22Z",
- "utilisation": "string",
- "isNNI": true,
- "portMode": "TRUNK",
- "updatedBy": "string",
- "productId": "string",
- "contract": {
- "autoRenew": true,
- "term": {
- "unit": "D",
- "value": 0
}, - "priceId": "string"
}, - "keyName": "string",
- "externalId": "string",
- "freeVlanRanges": [
- {
- "start": 0,
- "end": 0
}
], - "portType": "SMF",
- "unit": "string",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "productCode": "string",
- "connector": "LC",
- "createdBy": "string",
- "name": "string",
- "siteId": "string",
- "minBandwidth": 0
}
id required | string ID of the order |
{- "resourceId": "string",
- "companyName": "string",
- "customerInfo": "string",
- "productKey": "string",
- "orderItems": [
- {
- "completedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "keyName": "string",
- "pricePlanId": "string",
- "deletedBy": "string",
- "serviceCategory": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "action": "NEW",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "serviceKey": "string",
- "orderItemPrices": [
- {
- "sellingPrice": 0,
- "chargeType": "string",
- "id": "string",
- "priceId": "string"
}
], - "serviceSpec": { },
- "status": "ACKNOWLEDGED",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "provider": "string",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "action": "NEW",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "productType": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "productId": "string",
- "keyName": "string",
- "externalId": "string",
- "message": "string",
- "stateChanges": [
- {
- "updatedBy": "string",
- "changeReason": "string",
- "keyName": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "changedBy": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "status": "ACKNOWLEDGED",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "external": { },
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "status": "ACKNOWLEDGED",
- "resourceType": "PORT"
}
portMode | string Mode of the requested port |
name required | string Name of the requested port |
autoRenew | boolean Whether the contract renews itself automatically when contract duration finishes for this port |
customerInfo | string Information on customer for whom this port is ordered |
priceId required | string ID of the price for the requested port |
vlan | string when provider is eunetworks or other support mef mode,vlan is mandatory.format:start-end ,for example:10-15 |
shieldId | string ID of the console connect order for the requested port |
{- "portMode": "TRUNK",
- "name": "string",
- "autoRenew": true,
- "customerInfo": "string",
- "priceId": "string",
- "vlan": "string",
- "shieldId": "string"
}
{- "resourceId": "string",
- "companyName": "string",
- "customerInfo": "string",
- "productKey": "string",
- "orderItems": [
- {
- "completedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "keyName": "string",
- "pricePlanId": "string",
- "deletedBy": "string",
- "serviceCategory": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "action": "NEW",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "serviceKey": "string",
- "orderItemPrices": [
- {
- "sellingPrice": 0,
- "chargeType": "string",
- "id": "string",
- "priceId": "string"
}
], - "serviceSpec": { },
- "status": "ACKNOWLEDGED",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "provider": "string",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "action": "NEW",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "productType": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "productId": "string",
- "keyName": "string",
- "externalId": "string",
- "message": "string",
- "stateChanges": [
- {
- "updatedBy": "string",
- "changeReason": "string",
- "keyName": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "changedBy": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "status": "ACKNOWLEDGED",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "external": { },
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "status": "ACKNOWLEDGED",
- "resourceType": "PORT"
}
connectionId required | string ID of the layer 2 connection |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of layer 2 connection logs displayed on a page |
{- "code": 0,
- "data": {
- "total": 0,
- "data": [
- {
- "request": { },
- "deletedBy": "string",
- "duration": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "endpoint": "string",
- "requestUrl": "string",
- "appId": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "correlationId": "string",
- "id": "string",
- "event": "BEFORE",
- "updatedAt": "2019-08-24T14:15:22Z",
- "remoteAddr": "string",
- "updatedBy": "string",
- "method": "string",
- "keyName": "string",
- "queryString": "string",
- "userId": "string",
- "version": "string",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "service": "string",
- "response": { },
- "statusCode": 0
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}, - "message": "string"
}
orderId | string ID of the port |
isNNI | boolean Whether the port is a NNI port |
provider | string Name of the port provider |
locationId | string ID of the port location |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of allocated ports displayed on a page |
{- "total": 0,
- "data": [
- {
- "activedAt": "2019-08-24T14:15:22Z",
- "code": "string",
- "orderId": "string",
- "description": "string",
- "used": "string",
- "isBandwidthSoldInTiers": true,
- "interface": "1000BASE-T",
- "speed": 0,
- "deletedBy": "string",
- "productCategory": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "maxBandwidth": 0,
- "provider": "string",
- "locationId": "string",
- "acceptableVlanRanges": [
- {
- "start": 0,
- "end": 0
}
], - "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "connections": [
- "string"
], - "bandwidthTiers": [
- 0
], - "updatedAt": "2019-08-24T14:15:22Z",
- "allocatedAt": "2019-08-24T14:15:22Z",
- "utilisation": "string",
- "isNNI": true,
- "portMode": "TRUNK",
- "updatedBy": "string",
- "productId": "string",
- "contract": {
- "autoRenew": true,
- "term": {
- "unit": "D",
- "value": 0
}, - "priceId": "string"
}, - "keyName": "string",
- "externalId": "string",
- "freeVlanRanges": [
- {
- "start": 0,
- "end": 0
}
], - "portType": "SMF",
- "unit": "string",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "productCode": "string",
- "connector": "LC",
- "createdBy": "string",
- "name": "string",
- "siteId": "string",
- "minBandwidth": 0
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
skuId | string ID of the port SKU |
location | string Port location |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of port prices displayed on a page |
{- "total": 0,
- "data": [
- {
- "billingFrequency": "MONTHLY",
- "productId": "string",
- "recurringUnit": "HOUR",
- "srcLocation": "string",
- "contractTermUnit": "HOUR",
- "capacity": "string",
- "unit": "string",
- "recurringFee": 0,
- "terminateFee": 0,
- "provider": "string",
- "contractTerm": 0,
- "currency": "USD",
- "setupFee": 0,
- "attributes": [
- {
- "serviceAttributeValue": "string",
- "serviceAttributeKeyId": "string",
- "serviceAttributeKey": "string",
- "serviceAttributeValueId": "string"
}
], - "priceId": "string",
- "destLocation": "string"
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
skuId | string ID of the connection SKU |
srcLocationId | string ID of the connection source location |
destLocationId | string ID of the connection destination location |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of layer 2 connection prices displayed on a page |
{- "total": 0,
- "data": [
- {
- "billingFrequency": "MONTHLY",
- "productId": "string",
- "recurringUnit": "HOUR",
- "srcLocation": "string",
- "contractTermUnit": "HOUR",
- "capacity": "string",
- "unit": "string",
- "recurringFee": 0,
- "terminateFee": 0,
- "provider": "string",
- "contractTerm": 0,
- "currency": "USD",
- "setupFee": 0,
- "attributes": [
- {
- "serviceAttributeValue": "string",
- "serviceAttributeKeyId": "string",
- "serviceAttributeKey": "string",
- "serviceAttributeValueId": "string"
}
], - "priceId": "string",
- "destLocation": "string"
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
orderId | string ID of the layer 2 connection order |
portId | string ID of the port |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of layer 2 connections displayed on a page |
{- "total": 0,
- "data": [
- {
- "activedAt": "2019-08-24T14:15:22Z",
- "destPortId": "string",
- "code": "string",
- "description": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "provider": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "updatedAt": "2019-08-24T14:15:22Z",
- "allocatedAt": "2019-08-24T14:15:22Z",
- "srcPortId": "string",
- "updatedBy": "string",
- "bandwidth": 0,
- "contract": {
- "autoRenew": true,
- "term": {
- "unit": "D",
- "value": 0
}, - "priceId": "string"
}, - "keyName": "string",
- "externalId": "string",
- "unit": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "destCompanyId": "string",
- "deleted": true,
- "srcCompanyId": "string",
- "createdBy": "string",
- "destVlan": 0,
- "srcVlan": 0,
- "name": "string"
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
id required | string ID of the layer 2 connection |
{- "activedAt": "2019-08-24T14:15:22Z",
- "destPortId": "string",
- "code": "string",
- "description": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "provider": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "updatedAt": "2019-08-24T14:15:22Z",
- "allocatedAt": "2019-08-24T14:15:22Z",
- "srcPortId": "string",
- "updatedBy": "string",
- "bandwidth": 0,
- "contract": {
- "autoRenew": true,
- "term": {
- "unit": "D",
- "value": 0
}, - "priceId": "string"
}, - "keyName": "string",
- "externalId": "string",
- "unit": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "destCompanyId": "string",
- "deleted": true,
- "srcCompanyId": "string",
- "createdBy": "string",
- "destVlan": 0,
- "srcVlan": 0,
- "name": "string"
}
connectionId | string ID of the layer 2 connection |
{- "isUnlimited": true,
- "allowOver": 0,
- "updateBandwidth": [
- 0
], - "externalId": "string",
- "connectionId": "string",
- "currentBandwidth": 0,
- "maxFreeBandwidth": 0,
- "isPermitOverLimit": true,
- "status": "ALLOCATED",
- "totalMaxBandwidth": 0
}
destPortId required | string ID of the destination port for this layer 2 connection |
srcPortId required | string ID of the source port for this layer 2 connection |
bandwidth required | integer <int32> Bandwidth value for this layer 2 connection |
destVlan | integer <int32> Destination VLAN for this layer 2 connection |
srcVlan | integer <int32> Source VLAN for this layer 2 connection |
name required | string Name of the layer 2 connection that is to be created |
autoRenew | boolean Whether the contract renews itself automatically when contract duration finishes |
customerInfo | string Information on the customer for whom this layer 2 connection was requested |
object (1.0.0_Contract) Represents contract details | |
priceId required | string ID of the price for this layer 2 connection |
{- "destPortId": "string",
- "srcPortId": "string",
- "bandwidth": 0,
- "destVlan": 0,
- "srcVlan": 0,
- "name": "string",
- "autoRenew": true,
- "customerInfo": "string",
- "term": {
- "autoRenew": true,
- "term": {
- "unit": "D",
- "value": 0
}, - "priceId": "string"
}, - "priceId": "string"
}
{- "resourceId": "string",
- "companyName": "string",
- "customerInfo": "string",
- "productKey": "string",
- "orderItems": [
- {
- "completedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "keyName": "string",
- "pricePlanId": "string",
- "deletedBy": "string",
- "serviceCategory": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "action": "NEW",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "serviceKey": "string",
- "orderItemPrices": [
- {
- "sellingPrice": 0,
- "chargeType": "string",
- "id": "string",
- "priceId": "string"
}
], - "serviceSpec": { },
- "status": "ACKNOWLEDGED",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "failedAt": "2019-08-24T14:15:22Z",
- "provider": "string",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "action": "NEW",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "productType": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "productId": "string",
- "keyName": "string",
- "externalId": "string",
- "message": "string",
- "stateChanges": [
- {
- "updatedBy": "string",
- "changeReason": "string",
- "keyName": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "changedBy": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "status": "ACKNOWLEDGED",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "external": { },
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "status": "ACKNOWLEDGED",
- "resourceType": "PORT"
}
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of providers displayed on a page |
{- "total": 0,
- "data": [
- {
- "updatedBy": "string",
- "keyName": "string",
- "description": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "name": "string",
- "logo": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "status": "ENABLED",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
provider | string Name of the service provider |
bandwidth | string Bandwidth value of the layer 2 connection |
unit | string Bandwidth value unit, in Mbps or Gbps |
noPrices | boolean Default: true Whether prices are displayed |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of layer 2 connections displayed on a page |
{- "total": 0,
- "data": [
- {
- "updatedBy": "string",
- "keyName": "string",
- "externalId": "string",
- "isActive": true,
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "external": { },
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "name": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "attributes": [
- {
- "serviceAttributeValue": "string",
- "serviceAttributeKeyId": "string",
- "serviceAttributeKey": "string",
- "serviceAttributeValueId": "string"
}
], - "id": "string",
- "prices": [
- {
- "description": "string",
- "isActive": true,
- "deletedBy": "string",
- "contractTermUnit": "HOUR",
- "createdAt": "2019-08-24T14:15:22Z",
- "recurringFee": 0,
- "terminateFee": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "currency": "USD",
- "setupFee": 0,
- "id": "string",
- "sku": { },
- "updatedAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "productId": "string",
- "recurringUnit": "HOUR",
- "keyName": "string",
- "srcLocation": "string",
- "externalId": "string",
- "external": { },
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "service": {
- "serviceType": "string",
- "unit": "string",
- "provider": "string",
- "id": "string",
- "capacity": "string"
}, - "contractTerm": 0,
- "name": "string",
- "destLocation": "string"
}
], - "serviceId": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
country | string Country in which the Data Center is located |
city | string City in which the Data Center is located |
metro | string The Metropolitan Area Network of the Data Center |
provider | string Name of the service provider who provides service in this Data Center |
isOnNet | boolean Default: true Whether this Data Center can be automatically processesed |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of Data Centers displayed on a page |
{- "total": 0,
- "data": [
- {
- "country": {
- "updatedBy": "string",
- "cities": [
- {
- "updatedBy": "string",
- "lng": "string",
- "keyName": "string",
- "description": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "name": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "region": "string",
- "lat": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "keyName": "string",
- "description": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "countryCode": "string",
- "name": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "PENDING",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "description": "string",
- "sites": [
- {
- "code": "string",
- "visible": "PUBLIC",
- "updatedBy": "string",
- "keyName": "string",
- "externalId": "string",
- "description": "string",
- "services": [
- "string"
], - "deletedBy": "string",
- "buildingFloor": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "provider": "string",
- "createdBy": "string",
- "name": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "ACKNOWLEDGED",
- "updatedAt": "2019-08-24T14:15:22Z",
- "buildingRoom": "string"
}
], - "isOnNet": true,
- "operator": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "logo": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "state": "ACKNOWLEDGED",
- "updatedAt": "2019-08-24T14:15:22Z",
- "address": {
- "country": "string",
- "stateOrProvince": "string",
- "city": "string",
- "addrLine2": "string",
- "addrLine1": "string",
- "locality": "string",
- "postcode": "string"
}, - "visible": "PUBLIC",
- "updatedBy": "string",
- "keyName": "string",
- "externalId": "string",
- "services": [
- "string"
], - "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "name": "string",
- "region": {
- "code": "string",
- "updatedBy": "string",
- "keyName": "string",
- "externalId": "string",
- "description": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "name": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "latlng": {
- "lng": "string",
- "lat": "string"
}, - "providers": [
- "string"
]
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}
srcPortId | string ID os the source port |
destPortId | string ID of the destination port |
{- "isUnlimited": true,
- "validBandwidth": [
- 0
], - "allowOver": 0,
- "maxFreeBandwidth": 0,
- "isPermitOverLimit": true,
- "totalMaxBandwidth": 0
}
orderId required | string ID of the order |
page | integer <int32> Default: 1 The nth page of the results |
size | integer <int32> Default: 20 The number of order logs displayed on a page |
{- "code": 0,
- "data": {
- "total": 0,
- "data": [
- {
- "request": { },
- "deletedBy": "string",
- "duration": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "endpoint": "string",
- "requestUrl": "string",
- "appId": "string",
- "links": {
- "property1": { },
- "property2": { }
}, - "correlationId": "string",
- "id": "string",
- "event": "BEFORE",
- "updatedAt": "2019-08-24T14:15:22Z",
- "remoteAddr": "string",
- "updatedBy": "string",
- "method": "string",
- "keyName": "string",
- "queryString": "string",
- "userId": "string",
- "version": "string",
- "companyId": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deleted": true,
- "createdBy": "string",
- "service": "string",
- "response": { },
- "statusCode": 0
}
], - "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}, - "page": 0
}, - "message": "string"
}
uid required | string The Ali account uid. |
ruleName | string The name of the rule. |
{ "code": 200, "data": { "requestId": "116C12ED-98B1-3829-8567-E2285F22168F", "schedulerRules": [ { "cname": "1st6cdo1ah42e671.pccwglobalddos001.com", "param": { "paramData": {} }, "ruleName": "testRule2", "ruleType": "3", "rules": [ { "priority": 100, "regionId": "", "restoreDelay": 0, "status": 1, "type": "A", "value": "63.222.160.95", "valueType": 1 }, { "priority": 100, "regionId": "", "restoreDelay": 0, "status": 1, "type": "A", "value": "63.222.160.95", "valueType": 1 }, { "priority": 50, "regionId": "", "restoreDelay": 0, "status": 0, "type": "A", "value": "170.33.2.244", "valueType": 3 } ] } ], "totalCount": "8" } }
uid required | string The Ali account uid. |
resourceGroupId | string The ID of the resource group to which the instance belongs in Resource Management. |
required | Array of objects (3.2.7_Rule) The details of the scheduling rule. This parameter is a JSON string. |
ruleName required | string The name of the rule. |
ruleType required | integer <int32> The type of the rule. Fixed Value:3 |
object (3.2.7_Param) |
{- "ruleName": "your rule name",
- "ruleType": 3,
- "rules": [
- {
- "type": "A(fixed)",
- "value": "63.222.160.212(instance IP)",
- "valueType": "1(fixed)",
- "priority": "100(fixed)",
- "restoreDelay": 120,
- "line": "default(fixed)",
- "regionId": ""
}, - {
- "type": "A(fixed)",
- "value": "63.222.160.212",
- "valueType": "1(fixed)",
- "priority": "100(fixed)",
- "restoreDelay": 120,
- "line": "oversea(fixed)",
- "regionId": ""
}, - {
- "type": "A(fixed)",
- "value": "170.33.0.10",
- "valueType": "3(fixed)",
- "priority": "50(fixed)",
- "restoreDelay": 120,
- "line": "default(fixed)",
- "regionId": ""
}
]
}
uid required | string The Ali account uid. |
ruleName required | string The name of the scheduling rule to manage. |
ruleType required | integer <int32> The type of the scheduling rule. |
required | Array of objects (3.2.7_SwitchData) The configuration that is used to switch service traffic. This parameter is a string that consists of JSON arrays. |
{- "ruleName": "string",
- "ruleType": 0,
- "switchData": [
- {
- "value": "string",
- "state": 0,
- "interval": 0
}
]
}
uid required | string The Ali account uid. |
resourceGroupId | string The ID of the resource group to which the instance belongs in Resource Management. |
required | Array of objects (3.2.7_Rule) |
ruleName required | string The name of the rule. |
ruleType required | integer <int32> The type of the rule. Fixed Value:3 |
object (3.2.7_Param) |
{- "resourceGroupId": "string",
- "rules": [
- {
- "type": "string",
- "value": "string",
- "priority": 0,
- "valueType": 0,
- "regionId": "string",
- "line": "string",
- "restoreDelay": 0
}
], - "ruleName": "string",
- "ruleType": 0,
- "param": {
- "paramType": "string",
- "paramData": {
- "domain": "string",
- "cname": "string",
- "accessQps": 0,
- "upstreamQps": 0
}
}
}
{ "code": 200, "data": [ { "id": "c8e5ced0-3812-43e2-8b5e-7e37748c7e55", "type": "INSURANCE", "cleanBandWidth": [ { "label": "100 Mbps", "value": "100", "enable": true } ], "percentile": [ { "label": "Disable", "value": "false", "enable": true } ], "functionPlan": [ { "label": "Standard", "value": "standard", "enable": true } ], "cleanQPS": { "min": 500, "max": 150000, "step": 100 }, "domains": { "min": 10, "max": 2000, "step": 10 }, "ports": { "min": 5, "max": 1000, "step": 50 } } ] }
id | string |
name | string |
provider | string |
customerId | string |
ip | string |
uid | string |
status | string Default: "ENABLED" Enum: "ALLOCATED" "ENABLING" "ENABLED" "DISABLING" "DISABLED" "DELETING" "DELETED" "UPDATING" "FAILED" |
deleted | boolean Default: false |
page | integer <int32> Default: 1 |
size | integer <int32> Default: 20 |
{- "code": 0,
- "message": "string",
- "data": {
- "data": [
- {
- "id": "string",
- "name": "string",
- "state": "string",
- "uid": "string",
- "autoRenewal": true,
- "subscription": 0,
- "instanceType": {
- "migrationPlan": "string",
- "protectionPackage": "string",
- "normalBandwidth": 0,
- "cleanBandwidth": 0,
- "cleanQPS": 0,
- "newConnections": 0,
- "concurrentConnections": 0
}, - "customer": {
- "id": "string",
- "name": "string",
- "logo": "string"
}, - "provider": {
- "id": "string",
- "name": "string",
- "logo": "string"
}, - "externalId": "string",
- "externalIp": "string",
- "status": "ALLOCATED",
- "expiredAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByName": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedByName": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "protected": {
- "protectedPorts": {
- "usedNumber": 0,
- "maxNumber": 0
}, - "protectedDomains": {
- "usedNumber": 0,
- "maxNumber": 0
}, - "protectedSites": {
- "usedNumber": 0,
- "maxNumber": 0
}, - "singleProtectBandwidthLimit": 0,
- "availableAdvancedMigrationSessionThisMonth": 0
}
}
], - "total": 0,
- "page": 0,
- "size": 0,
- "links": {
- "property1": { },
- "property2": { }
}
}
}
name | string |
plan required | integer <int32> |
cleanBandwidth required | integer <int32> |
percentile95th | boolean |
cleanQps | integer <int32> |
customerId | string |
companyId | string |
functionVersion | integer <int32> |
portCount | integer <int32> |
domainCount | integer <int32> |
subscription | integer <int32> |
autoRenewal | boolean |
renewPeriod | integer <int32> |
productType | string |
provider | string |
uid required | string |
totalPrice required | number <double> |
createdBy | string |
{- "name": "string",
- "plan": 0,
- "cleanBandwidth": 0,
- "percentile95th": true,
- "cleanQps": 0,
- "customerId": "string",
- "companyId": "string",
- "functionVersion": 0,
- "portCount": 0,
- "domainCount": 0,
- "subscription": 0,
- "autoRenewal": true,
- "renewPeriod": 0,
- "productType": "string",
- "provider": "string",
- "uid": "string",
- "totalPrice": 0,
- "createdBy": "string"
}
{- "code": 0,
- "message": "string",
- "data": {
- "instanceId": "string",
- "externalId": "string",
- "orderId": "string",
- "externalOrderId": "string",
- "status": "ALLOCATED"
}
}
content required | string |
webhook required | string |
{- "content": "string",
- "webhook": "string"
}
{- "code": 0,
- "message": "string",
- "data": "string"
}
companyIds | Array of strings |
domains | Array of strings |
startTime | string |
endTime | string |
interval | integer <int64> |
region | string |
queryType | string |
uid | string |
pageSize | integer <int32> |
pageNumber | integer <int32> |
{- "companyIds": [
- "string"
], - "domains": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "region": "string",
- "queryType": "string",
- "uid": "string",
- "pageSize": 0,
- "pageNumber": 0
}
companyIds | Array of strings |
instanceIds | Array of strings |
startTime | string |
endTime | string |
interval | integer <int32> |
uid | string |
{- "companyIds": [
- "string"
], - "instanceIds": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "uid": "string"
}
companyIds | Array of strings |
instanceIds | Array of strings |
startTime | string |
endTime | string |
interval | integer <int32> |
uid | string |
{- "companyIds": [
- "string"
], - "instanceIds": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "uid": "string"
}
companyIds | Array of strings |
instanceIds | Array of strings |
startTime | string |
endTime | string |
interval | integer <int32> |
uid | string |
{- "companyIds": [
- "string"
], - "instanceIds": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "uid": "string"
}
companyIds | Array of strings |
instanceIds | Array of strings |
startTime | string |
endTime | string |
interval | integer <int32> |
uid | string |
{- "companyIds": [
- "string"
], - "instanceIds": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "uid": "string"
}
companyIds | Array of strings |
instanceIds | Array of strings |
startTime | string |
endTime | string |
interval | integer <int32> |
uid | string |
{- "companyIds": [
- "string"
], - "instanceIds": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "uid": "string"
}
companyIds | Array of strings |
domains | Array of strings |
startTime | string |
endTime | string |
interval | integer <int64> |
region | string |
queryType | string |
uid | string |
pageSize | integer <int32> |
pageNumber | integer <int32> |
{- "companyIds": [
- "string"
], - "domains": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "region": "string",
- "queryType": "string",
- "uid": "string",
- "pageSize": 0,
- "pageNumber": 0
}
companyIds | Array of strings |
domains | Array of strings |
startTime | string |
endTime | string |
interval | integer <int64> |
region | string |
queryType | string |
uid | string |
{- "companyIds": [
- "string"
], - "domains": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "region": "string",
- "queryType": "string",
- "uid": "string"
}
companyIds | Array of strings |
domains | Array of strings |
startTime | string |
endTime | string |
interval | integer <int64> |
region | string |
queryType | string |
uid | string |
pageSize | integer <int32> |
pageNumber | integer <int32> |
{- "companyIds": [
- "string"
], - "domains": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "region": "string",
- "queryType": "string",
- "uid": "string",
- "pageSize": 0,
- "pageNumber": 0
}
companyIds | Array of strings |
domains | Array of strings |
startTime | string |
endTime | string |
interval | integer <int64> |
region | string |
queryType | string |
uid | string |
pageSize | integer <int32> |
pageNumber | integer <int32> |
{- "companyIds": [
- "string"
], - "domains": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "region": "string",
- "queryType": "string",
- "uid": "string",
- "pageSize": 0,
- "pageNumber": 0
}
companyIds | Array of strings |
instanceIds | Array of strings |
startTime | string |
endTime | string |
interval | integer <int32> |
uid | string |
pageSize | integer <int32> |
pageNumber | integer <int32> |
{- "companyIds": [
- "string"
], - "instanceIds": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "interval": 0,
- "uid": "string",
- "pageSize": 0,
- "pageNumber": 0
}
productType | string |
plan required | integer <int32> |
cleanBandwidth | integer <int32> |
percentile95th | boolean |
cleanQps | integer <int32> |
functionVersion | integer <int32> |
portCount | integer <int32> |
domainCount | integer <int32> |
subscription required | integer <int32> |
autoRenewal | boolean |
uid required | string |
{- "productType": "string",
- "plan": 0,
- "cleanBandwidth": 0,
- "percentile95th": true,
- "cleanQps": 0,
- "functionVersion": 0,
- "portCount": 0,
- "domainCount": 0,
- "subscription": 0,
- "autoRenewal": true,
- "uid": "string"
}
uid required | string |
forwardProtocol | string |
frontendPort | integer <int32> |
healthCheck | string |
instanceId | string |
{- "forwardProtocol": "string",
- "frontendPort": 0,
- "healthCheck": "string",
- "instanceId": "string"
}
uid required | string |
forwardProtocol | string |
frontendPort | integer <int32> |
instanceId | string |
pageNumber | integer <int32> |
pageSize | integer <int32> |
{- "forwardProtocol": "string",
- "frontendPort": 0,
- "instanceId": "string",
- "pageNumber": 0,
- "pageSize": 0
}
uid required | string |
config | string |
forwardProtocol | string |
frontendPort | integer <int32> |
instanceId | string |
{- "config": "string",
- "forwardProtocol": "string",
- "frontendPort": 0,
- "instanceId": "string"
}
uid required | string |
instanceIDs | string |
ownerId | integer <int64> |
productCode | string |
productType | string |
renewalPeriod | integer <int32> |
renewalPeriodUnit | string |
renewalStatus | string |
subscriptionType | string |
{- "instanceIDs": "string",
- "ownerId": 0,
- "productCode": "string",
- "productType": "string",
- "renewalPeriod": 0,
- "renewalPeriodUnit": "string",
- "renewalStatus": "string",
- "subscriptionType": "string"
}
{- "code": 0,
- "message": "string",
- "data": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "statusCode": 0,
- "body": {
- "code": "string",
- "message": "string",
- "requestId": "string",
- "success": true
}
}
}
uid required | string |
instanceIDs | string |
ownerId | integer <int64> |
productCode | string |
productType | string |
renewalPeriod | integer <int32> |
renewalPeriodUnit | string |
renewalStatus | string |
subscriptionType | string |
totalPrice | number <double> |
{- "instanceIDs": "string",
- "ownerId": 0,
- "productCode": "string",
- "productType": "string",
- "renewalPeriod": 0,
- "renewalPeriodUnit": "string",
- "renewalStatus": "string",
- "subscriptionType": "string",
- "totalPrice": 0
}
{- "code": 0,
- "message": "string",
- "data": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "ACKNOWLEDGED",
- "companyId": "string",
- "companyName": "string",
- "productId": "string",
- "productKey": "string",
- "productType": "string",
- "provider": "string",
- "orderItems": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "ACKNOWLEDGED",
- "companyId": "string",
- "serviceKey": "string",
- "serviceCategory": "string",
- "serviceSpec": { },
- "pricePlanId": "string",
- "orderItemPrices": [
- {
- "id": "string",
- "priceId": "string",
- "chargeType": "string",
- "sellingPrice": 0,
- "terminateFee": 0,
- "setUpFee": 0,
- "recurringFee": 0,
- "recurringUnit": "HOUR"
}
], - "action": "NEW",
- "failedAt": "2019-08-24T14:15:22Z",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "stateChanges": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "changedBy": "string",
- "changeReason": "string",
- "status": "ACKNOWLEDGED"
}
], - "externalId": "string",
- "external": { },
- "serviceType": "string",
- "priceId": "string",
- "skuId": "string",
- "locationPrice": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "sku": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "serviceId": "string",
- "attributes": [
- {
- "serviceAttributeKeyId": null,
- "serviceAttributeKey": null,
- "serviceAttributeValueId": null,
- "serviceAttributeValue": null
}
], - "isActive": true,
- "prices": [
- { }
], - "externalId": "string",
- "external": { }
}, - "currency": "USD",
- "isActive": true,
- "srcLocation": "string",
- "destLocation": "string",
- "recurringFee": 0,
- "recurringUnit": "HOUR",
- "setupFee": 0,
- "terminateFee": 0,
- "externalId": "string",
- "external": { },
- "service": {
- "id": "string",
- "serviceType": "string",
- "provider": "string",
- "capacity": "string",
- "unit": "string"
}, - "contractTerm": 0,
- "contractTermUnit": "HOUR",
- "productId": "string",
- "serviceKey": "string",
- "pricePlanId": "string",
- "serviceSpec": { },
- "billingFrequency": "string",
- "billingFrequencyUnit": "MONTHLY",
- "isProrated": true,
- "isPrepay": true,
- "chargeItems": [
- {
- "priceId": "string",
- "entityId": "string",
- "chargeName": "string",
- "baseChargeType": "RECURRING",
- "chargeMode": "FIXED_AMOUNT",
- "chargeUnitPrice": 0,
- "chargeUnitCostPrice": 0,
- "chargeGuaranteeAmount": 0,
- "chargeUOM": "HOUR",
- "recurringFee": 0,
- "recurringUnit": "HOUR"
}
]
}
}
], - "action": "NEW",
- "failedAt": "2019-08-24T14:15:22Z",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "stateChanges": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "changedBy": "string",
- "changeReason": "string",
- "status": "ACKNOWLEDGED"
}
], - "externalId": "string",
- "external": { },
- "customerInfo": "string",
- "totalPrice": 0,
- "instanceId": "string",
- "response": "string",
- "startBillingDate": "2019-08-24T14:15:22Z",
- "inused": "string"
}
}
uid required | string |
clientToken | string |
instanceId | string |
ownerId | integer <int64> |
productCode | string |
productType | string |
renewPeriod | integer <int32> |
{- "clientToken": "string",
- "instanceId": "string",
- "ownerId": 0,
- "productCode": "string",
- "productType": "string",
- "renewPeriod": 0
}
{- "code": 0,
- "message": "string",
- "data": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "statusCode": 0,
- "body": {
- "code": "string",
- "data": {
- "orderId": "string"
}, - "message": "string",
- "requestId": "string",
- "success": true
}
}
}
uid required | string |
clientToken | string |
instanceId | string |
ownerId | integer <int64> |
productCode | string |
productType | string |
renewPeriod | integer <int32> |
totalPrice | number <double> |
{- "clientToken": "string",
- "instanceId": "string",
- "ownerId": 0,
- "productCode": "string",
- "productType": "string",
- "renewPeriod": 0,
- "totalPrice": 0
}
{- "code": 0,
- "message": "string",
- "data": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "ACKNOWLEDGED",
- "companyId": "string",
- "companyName": "string",
- "productId": "string",
- "productKey": "string",
- "productType": "string",
- "provider": "string",
- "orderItems": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "ACKNOWLEDGED",
- "companyId": "string",
- "serviceKey": "string",
- "serviceCategory": "string",
- "serviceSpec": { },
- "pricePlanId": "string",
- "orderItemPrices": [
- {
- "id": "string",
- "priceId": "string",
- "chargeType": "string",
- "sellingPrice": 0,
- "terminateFee": 0,
- "setUpFee": 0,
- "recurringFee": 0,
- "recurringUnit": "HOUR"
}
], - "action": "NEW",
- "failedAt": "2019-08-24T14:15:22Z",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "stateChanges": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "changedBy": "string",
- "changeReason": "string",
- "status": "ACKNOWLEDGED"
}
], - "externalId": "string",
- "external": { },
- "serviceType": "string",
- "priceId": "string",
- "skuId": "string",
- "locationPrice": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "sku": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "serviceId": "string",
- "attributes": [
- {
- "serviceAttributeKeyId": null,
- "serviceAttributeKey": null,
- "serviceAttributeValueId": null,
- "serviceAttributeValue": null
}
], - "isActive": true,
- "prices": [
- { }
], - "externalId": "string",
- "external": { }
}, - "currency": "USD",
- "isActive": true,
- "srcLocation": "string",
- "destLocation": "string",
- "recurringFee": 0,
- "recurringUnit": "HOUR",
- "setupFee": 0,
- "terminateFee": 0,
- "externalId": "string",
- "external": { },
- "service": {
- "id": "string",
- "serviceType": "string",
- "provider": "string",
- "capacity": "string",
- "unit": "string"
}, - "contractTerm": 0,
- "contractTermUnit": "HOUR",
- "productId": "string",
- "serviceKey": "string",
- "pricePlanId": "string",
- "serviceSpec": { },
- "billingFrequency": "string",
- "billingFrequencyUnit": "MONTHLY",
- "isProrated": true,
- "isPrepay": true,
- "chargeItems": [
- {
- "priceId": "string",
- "entityId": "string",
- "chargeName": "string",
- "baseChargeType": "RECURRING",
- "chargeMode": "FIXED_AMOUNT",
- "chargeUnitPrice": 0,
- "chargeUnitCostPrice": 0,
- "chargeGuaranteeAmount": 0,
- "chargeUOM": "HOUR",
- "recurringFee": 0,
- "recurringUnit": "HOUR"
}
]
}
}
], - "action": "NEW",
- "failedAt": "2019-08-24T14:15:22Z",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "stateChanges": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "changedBy": "string",
- "changeReason": "string",
- "status": "ACKNOWLEDGED"
}
], - "externalId": "string",
- "external": { },
- "customerInfo": "string",
- "totalPrice": 0,
- "instanceId": "string",
- "response": "string",
- "startBillingDate": "2019-08-24T14:15:22Z",
- "inused": "string"
}
}
name | string |
plan required | integer <int32> |
cleanBandwidth required | integer <int32> |
percentile95th | boolean |
cleanQps | integer <int32> |
customerId | string |
companyId | string |
functionVersion | integer <int32> |
portCount | integer <int32> |
domainCount | integer <int32> |
subscription | integer <int32> |
autoRenewal | boolean |
renewPeriod | integer <int32> |
productType | string |
provider | string |
uid required | string |
totalPrice required | number <double> |
createdBy | string |
{- "name": "string",
- "plan": 0,
- "cleanBandwidth": 0,
- "percentile95th": true,
- "cleanQps": 0,
- "customerId": "string",
- "companyId": "string",
- "functionVersion": 0,
- "portCount": 0,
- "domainCount": 0,
- "subscription": 0,
- "autoRenewal": true,
- "renewPeriod": 0,
- "productType": "string",
- "provider": "string",
- "uid": "string",
- "totalPrice": 0,
- "createdBy": "string"
}
{- "code": 0,
- "message": "string",
- "data": {
- "instanceId": "string",
- "externalId": "string",
- "orderId": "string",
- "externalOrderId": "string",
- "status": "ALLOCATED"
}
}
uid required | string |
domain | string |
httpsExt | string |
instanceIds | Array of strings |
proxyTypes | string |
realServers | Array of strings |
resourceGroupId | string |
rsType | integer <int32> |
object | |
ocsp | integer <int32> |
cname | string |
cnameReused | boolean |
{- "domain": "string",
- "httpsExt": "string",
- "instanceIds": [
- "string"
], - "proxyTypes": "string",
- "realServers": [
- "string"
], - "resourceGroupId": "string",
- "rsType": 0,
- "customHeaders": {
- "property1": "string",
- "property2": "string"
}, - "ocsp": 0,
- "cname": "string",
- "cnameReused": true
}
uid required | string |
domain | string |
realServers | Array of strings |
resourceGroupId | string |
{- "domain": "string",
- "realServers": [
- "string"
], - "resourceGroupId": "string"
}
uid required | string |
domain | string |
resourceGroupId | string |
rsType | integer <int32> |
Array of objects (3.2.7_Rule) | |
object (3.2.7_HttpsExt) | |
defenseId | string |
instanceIds | Array of strings |
object | |
ocsp | integer <int32> |
cnameReused | boolean |
{- "domain": "string",
- "resourceGroupId": "string",
- "rsType": 0,
- "rules": [
- {
- "type": "string",
- "value": "string",
- "priority": 0,
- "valueType": 0,
- "regionId": "string",
- "line": "string",
- "restoreDelay": 0
}
], - "httpsExt": {
- "Http2": 0,
- "Http2https": 0,
- "Https2http": 0
}, - "defenseId": "string",
- "instanceIds": [
- "string"
], - "customHeaders": {
- "property1": "string",
- "property2": "string"
}, - "ocsp": 0,
- "cnameReused": true
}
uid required | string |
cert | string |
certId | integer <int32> |
certName | string |
domain | string |
key | string |
resourceGroupId | string |
{- "cert": "string",
- "certId": 0,
- "certName": "string",
- "domain": "string",
- "key": "string",
- "resourceGroupId": "string"
}
{- "code": 0,
- "message": "string",
- "data": { }
}
{- "code": 0,
- "message": "string",
- "data": {
- "id": "string",
- "name": "string",
- "state": "string",
- "uid": "string",
- "autoRenewal": true,
- "subscription": 0,
- "instanceType": {
- "migrationPlan": "string",
- "protectionPackage": "string",
- "normalBandwidth": 0,
- "cleanBandwidth": 0,
- "cleanQPS": 0,
- "newConnections": 0,
- "concurrentConnections": 0
}, - "customer": {
- "id": "string",
- "name": "string",
- "logo": "string"
}, - "provider": {
- "id": "string",
- "name": "string",
- "logo": "string"
}, - "externalId": "string",
- "externalIp": "string",
- "status": "ALLOCATED",
- "expiredAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "createdByName": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedBy": "string",
- "updatedByName": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "listPrice": 0,
- "tradePrice": 0,
- "deduction": 0,
- "orderId": "string",
- "protected": {
- "protectedPorts": {
- "usedNumber": 0,
- "maxNumber": 0
}, - "protectedDomains": {
- "usedNumber": 0,
- "maxNumber": 0
}, - "protectedSites": {
- "usedNumber": 0,
- "maxNumber": 0
}, - "singleProtectBandwidthLimit": 0,
- "availableAdvancedMigrationSessionThisMonth": 0
}
}
}
uid required | string |
subUid required | string |
{- "code": 0,
- "message": "string",
- "data": {
- "accountInfo": {
- "accountNickname": "string",
- "aliyunId": "string",
- "associationSuccessTime": "string",
- "cid": 0,
- "email": "string",
- "mobile": "string",
- "remark": "string",
- "subAccountType": 0,
- "uid": 0
}, - "creditInfo": {
- "accountStatus": "string",
- "alarmThreshold": "string",
- "availableCredit": "string",
- "consumedUndeductedValue": "string",
- "creditLine": "string",
- "outstandingBalance": "string",
- "zeroCreditShutdownPolicy": "string",
- "newBuyStatus": "string"
}
}
}
uid required | string |
id required | string |
{- "code": 0,
- "message": "string",
- "data": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "ACKNOWLEDGED",
- "companyId": "string",
- "companyName": "string",
- "productId": "string",
- "productKey": "string",
- "productType": "string",
- "provider": "string",
- "orderItems": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "status": "ACKNOWLEDGED",
- "companyId": "string",
- "serviceKey": "string",
- "serviceCategory": "string",
- "serviceSpec": { },
- "pricePlanId": "string",
- "orderItemPrices": [
- {
- "id": "string",
- "priceId": "string",
- "chargeType": "string",
- "sellingPrice": 0,
- "terminateFee": 0,
- "setUpFee": 0,
- "recurringFee": 0,
- "recurringUnit": "HOUR"
}
], - "action": "NEW",
- "failedAt": "2019-08-24T14:15:22Z",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "stateChanges": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "changedBy": "string",
- "changeReason": "string",
- "status": "ACKNOWLEDGED"
}
], - "externalId": "string",
- "external": { },
- "serviceType": "string",
- "priceId": "string",
- "skuId": "string",
- "locationPrice": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "sku": {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "serviceId": "string",
- "attributes": [
- {
- "serviceAttributeKeyId": null,
- "serviceAttributeKey": null,
- "serviceAttributeValueId": null,
- "serviceAttributeValue": null
}
], - "isActive": true,
- "prices": [
- { }
], - "externalId": "string",
- "external": { }
}, - "currency": "USD",
- "isActive": true,
- "srcLocation": "string",
- "destLocation": "string",
- "recurringFee": 0,
- "recurringUnit": "HOUR",
- "setupFee": 0,
- "terminateFee": 0,
- "externalId": "string",
- "external": { },
- "service": {
- "id": "string",
- "serviceType": "string",
- "provider": "string",
- "capacity": "string",
- "unit": "string"
}, - "contractTerm": 0,
- "contractTermUnit": "HOUR",
- "productId": "string",
- "serviceKey": "string",
- "pricePlanId": "string",
- "serviceSpec": { },
- "billingFrequency": "string",
- "billingFrequencyUnit": "MONTHLY",
- "isProrated": true,
- "isPrepay": true,
- "chargeItems": [
- {
- "priceId": "string",
- "entityId": "string",
- "chargeName": "string",
- "baseChargeType": "RECURRING",
- "chargeMode": "FIXED_AMOUNT",
- "chargeUnitPrice": 0,
- "chargeUnitCostPrice": 0,
- "chargeGuaranteeAmount": 0,
- "chargeUOM": "HOUR",
- "recurringFee": 0,
- "recurringUnit": "HOUR"
}
]
}
}
], - "action": "NEW",
- "failedAt": "2019-08-24T14:15:22Z",
- "rejectedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z",
- "stateChanges": [
- {
- "id": "string",
- "keyName": "string",
- "name": "string",
- "description": "string",
- "deleted": true,
- "createdBy": "string",
- "updatedBy": "string",
- "deletedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "changedBy": "string",
- "changeReason": "string",
- "status": "ACKNOWLEDGED"
}
], - "externalId": "string",
- "external": { },
- "customerInfo": "string",
- "totalPrice": 0,
- "instanceId": "string",
- "response": "string",
- "startBillingDate": "2019-08-24T14:15:22Z",
- "inused": "string"
}
}
{- "code": 0,
- "message": "string",
- "data": {
- "name": "string",
- "plan": 0,
- "functionVersion": 0,
- "cleanBandwidth": 0,
- "percentile95th": true,
- "funcPlan": "string",
- "cleanQps": 0,
- "portCount": 0,
- "domainCount": 0,
- "subscription": 0,
- "autoRenewal": true,
- "productType": "string",
- "provider": "string",
- "customerId": "string",
- "uid": "string",
- "companyId": "string",
- "companyName": "string",
- "externalId": "string",
- "status": "ALLOCATED",
- "id": "string",
- "useOfStatus": "NORMAL",
- "ip": "string",
- "normalBandwidth": 0,
- "newConnections": 0,
- "concurrentConnections": 0,
- "protectedPort": 0,
- "protectedDomain": 0,
- "protectedSite": 0,
- "protectedPortMax": 0,
- "protectedDomainMax": 0,
- "protectedSiteMax": 0,
- "protectedBandwidth": 0,
- "defenseCount": 0,
- "expireDate": "2019-08-24T14:15:22Z",
- "ddosStatus": "string",
- "createdBy": "string",
- "updatedBy": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deleted": true
}
}