From 5590ecdce036f7a2b11ff440dfd4eb637180abcc Mon Sep 17 00:00:00 2001 From: Lingxian Kong Date: Mon, 2 Aug 2021 13:15:56 +1200 Subject: Show user network ID for getting instance Change-Id: Ia1e9112ae69e04f8c3e9e9d1b4a0189c743d7448 --- api-ref/source/parameters.yaml | 4 +++- api-ref/source/samples/instance-list-detail-response.json | 3 ++- api-ref/source/samples/instance-mgmt-list-response.json | 3 ++- api-ref/source/samples/instance-mgmt-show-response.json | 3 ++- api-ref/source/samples/instance-show-response.json | 3 ++- 5 files changed, 11 insertions(+), 5 deletions(-) (limited to 'api-ref') diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index a2c6c910..9709a199 100755 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -516,7 +516,9 @@ instance_ip_address: type: string instance_ip_addresses: description: | - The IP addresses of an instance, including the address type and IP. + The IP addresses of an instance, including the address type("private" or + "public") and IP. "network" field is added since Xena when the address type + is "private". in: body require: false type: array diff --git a/api-ref/source/samples/instance-list-detail-response.json b/api-ref/source/samples/instance-list-detail-response.json index b938de88..4f924697 100644 --- a/api-ref/source/samples/instance-list-detail-response.json +++ b/api-ref/source/samples/instance-list-detail-response.json @@ -4,7 +4,8 @@ "addresses": [ { "address": "10.1.0.62", - "type": "private" + "type": "private", + "network": "3dc8f3c2-f335-11eb-878c-00224d6b7bc1" }, { "address": "172.24.5.114", diff --git a/api-ref/source/samples/instance-mgmt-list-response.json b/api-ref/source/samples/instance-mgmt-list-response.json index 071e610c..c412df28 100644 --- a/api-ref/source/samples/instance-mgmt-list-response.json +++ b/api-ref/source/samples/instance-mgmt-list-response.json @@ -4,7 +4,8 @@ "addresses": [ { "address": "10.1.0.62", - "type": "private" + "type": "private", + "network": "3dc8f3c2-f335-11eb-878c-00224d6b7bc1" }, { "address": "172.24.5.114", diff --git a/api-ref/source/samples/instance-mgmt-show-response.json b/api-ref/source/samples/instance-mgmt-show-response.json index 23ce592c..5a6f908f 100644 --- a/api-ref/source/samples/instance-mgmt-show-response.json +++ b/api-ref/source/samples/instance-mgmt-show-response.json @@ -3,7 +3,8 @@ "addresses": [ { "address": "10.1.0.62", - "type": "private" + "type": "private", + "network": "3dc8f3c2-f335-11eb-878c-00224d6b7bc1" }, { "address": "172.24.5.114", diff --git a/api-ref/source/samples/instance-show-response.json b/api-ref/source/samples/instance-show-response.json index 49579242..aac49d8f 100644 --- a/api-ref/source/samples/instance-show-response.json +++ b/api-ref/source/samples/instance-show-response.json @@ -3,7 +3,8 @@ "addresses": [ { "address": "10.1.0.62", - "type": "private" + "type": "private", + "network": "3dc8f3c2-f335-11eb-878c-00224d6b7bc1" }, { "address": "172.24.5.114", -- cgit v1.2.1