转换警告
- python: command should begin with "curl" but instead begins with "http://localhost:8080/zstac..."
http://localhost:8080/zstack/v1/instance-offerings/nfvinst
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- javascript: command should begin with "curl" but instead begins with "http://localhost:8080/zstac..."
http://localhost:8080/zstack/v1/instance-offerings/nfvinst
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- java: command should begin with "curl" but instead begins with "http://localhost:8080/zstac..."
http://localhost:8080/zstack/v1/instance-offerings/nfvinst
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- go: command should begin with "curl" but instead begins with "http://localhost:8080/zstac..."
http://localhost:8080/zstack/v1/instance-offerings/nfvinst
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
curl -X POST '{host}/zstack/v1/instance-offerings/nfvinst' \
-H 'Authorization: Bearer {token}' \
-H 'Content-Type: application/json' \
-d '{
"paramsstructure": {
"zoneUuid": "{zoneUuid}",
"managementNetworkUuid": "{managementNetworkUuid}",
"imageUuid": "{imageUuid}",
"name": "{name}",
"description": "{description}",
"cpuNum": "{cpuNum}",
"memorySize": "{memorySize}",
"allocatorStrategy": "{allocatorStrategy}",
"sortKey": "{sortKey}",
"type": "{type}",
"resourceUuid": "{resourceUuid}",
"tagUuids": [
"{tagUuids}"
],
"reservedMemorySize": "{reservedMemorySize}"
},
"systemTags": [
"{systemTags}"
],
"userTags": [
"{userTags}"
]
}'