From e22d9861aa454f7a507877d5c8d32c948a675b09 Mon Sep 17 00:00:00 2001 From: "sangkyu.kim" Date: Tue, 6 Apr 2021 10:56:16 +0900 Subject: [PATCH] update modules --- go.mod | 2 +- go.sum | 1 - .../services/server/README.md | 19 +- .../services/server/access_control_group.go | 1 - .../services/server/access_control_rule.go | 1 - .../add_nas_volume_access_control_request.go | 1 - .../add_nas_volume_access_control_response.go | 1 - .../add_port_forwarding_rules_request.go | 1 - .../add_port_forwarding_rules_response.go | 1 - .../services/server/api_client.go | 124 +++----- .../services/server/api_response.go | 1 - ..._public_ip_with_server_instance_request.go | 1 - ...public_ip_with_server_instance_response.go | 1 - .../attach_block_storage_instance_request.go | 1 - .../attach_block_storage_instance_response.go | 1 - .../attach_network_interface_request.go | 1 - .../attach_network_interface_response.go | 1 - .../services/server/block_storage_instance.go | 1 - .../server/block_storage_snapshot_instance.go | 1 - .../server/change_nas_volume_size_request.go | 1 - .../server/change_nas_volume_size_response.go | 1 - .../change_server_instance_spec_request.go | 1 - .../change_server_instance_spec_response.go | 1 - .../services/server/common_code.go | 1 - .../services/server/configuration.go | 3 +- .../create_block_storage_instance_request.go | 1 - .../create_block_storage_instance_response.go | 1 - ...block_storage_snapshot_instance_request.go | 1 - ...lock_storage_snapshot_instance_response.go | 1 - .../server/create_instance_tags_request.go | 1 - .../server/create_instance_tags_response.go | 1 - .../server/create_login_key_request.go | 1 - .../server/create_login_key_response.go | 1 - .../create_member_server_image_request.go | 1 - .../create_member_server_image_response.go | 1 - .../create_nas_volume_instance_request.go | 1 - .../create_nas_volume_instance_response.go | 1 - .../create_network_interface_request.go | 1 - .../create_network_interface_response.go | 1 - .../create_public_ip_instance_request.go | 1 - .../create_public_ip_instance_response.go | 1 - .../server/create_server_instances_request.go | 7 +- .../create_server_instances_response.go | 1 - .../delete_block_storage_instances_request.go | 1 - ...delete_block_storage_instances_response.go | 1 - ...lock_storage_snapshot_instances_request.go | 1 - ...ock_storage_snapshot_instances_response.go | 1 - .../server/delete_instance_tags_request.go | 1 - .../server/delete_instance_tags_response.go | 1 - .../server/delete_login_key_request.go | 1 - .../server/delete_login_key_response.go | 1 - .../delete_member_server_images_request.go | 1 - .../delete_member_server_images_response.go | 1 - .../delete_nas_volume_instance_request.go | 1 - .../delete_nas_volume_instance_response.go | 1 - .../delete_network_interface_request.go | 1 - .../delete_network_interface_response.go | 1 - .../delete_port_forwarding_rules_request.go | 1 - .../delete_port_forwarding_rules_response.go | 1 - .../delete_public_ip_instances_request.go | 1 - .../delete_public_ip_instances_response.go | 1 - .../detach_block_storage_instances_request.go | 1 - ...detach_block_storage_instances_response.go | 1 - .../detach_network_interface_request.go | 1 - .../detach_network_interface_response.go | 1 - ..._public_ip_from_server_instance_request.go | 1 - ...public_ip_from_server_instance_response.go | 1 - .../get_access_control_group_list_request.go | 1 - .../get_access_control_group_list_response.go | 1 - ...trol_group_server_instance_list_request.go | 1 - ...rol_group_server_instance_list_response.go | 1 - .../get_access_control_rule_list_request.go | 1 - .../get_access_control_rule_list_response.go | 1 - ...get_block_storage_instance_list_request.go | 1 - ...et_block_storage_instance_list_response.go | 1 - ..._storage_snapshot_instance_list_request.go | 1 - ...storage_snapshot_instance_list_response.go | 1 - .../server/get_instance_tag_list_request.go | 1 - .../server/get_instance_tag_list_response.go | 1 - .../server/get_login_key_list_request.go | 1 - .../server/get_login_key_list_response.go | 1 - .../get_member_server_image_list_request.go | 1 - .../get_member_server_image_list_response.go | 1 - .../get_nas_volume_instance_list_request.go | 1 - .../get_nas_volume_instance_list_response.go | 1 - ...nas_volume_instance_rating_list_request.go | 1 - ...as_volume_instance_rating_list_response.go | 1 - .../get_network_interface_list_request.go | 1 - .../get_network_interface_list_response.go | 1 - .../get_port_forwarding_rule_list_request.go | 1 - .../get_port_forwarding_rule_list_response.go | 1 - ...et_private_subnet_instance_list_request.go | 1 - ...t_private_subnet_instance_list_response.go | 1 - .../get_public_ip_instance_list_request.go | 1 - .../get_public_ip_instance_list_response.go | 1 - ..._ip_target_server_instance_list_request.go | 1 - ...ip_target_server_instance_list_response.go | 1 - .../services/server/get_raid_list_request.go | 1 - .../services/server/get_raid_list_response.go | 1 - .../server/get_region_list_request.go | 1 - .../server/get_region_list_response.go | 1 - .../server/get_root_password_request.go | 1 - .../server/get_root_password_response.go | 1 - .../get_server_image_product_list_request.go | 1 - .../get_server_image_product_list_response.go | 1 - .../get_server_instance_list_request.go | 1 - .../get_server_instance_list_response.go | 1 - .../server/get_server_product_list_request.go | 4 +- .../get_server_product_list_response.go | 1 - .../services/server/get_zone_list_request.go | 1 - .../services/server/get_zone_list_response.go | 1 - .../server/import_login_key_request.go | 1 - .../server/import_login_key_response.go | 1 - .../services/server/instance_tag.go | 1 - .../services/server/instance_tag_parameter.go | 1 - .../services/server/login_key.go | 1 - .../services/server/member_server_image.go | 1 - .../services/server/nas_volume_instance.go | 1 - .../server/nas_volume_instance_custom_ip.go | 1 - .../server/nas_volume_instance_rating.go | 1 - .../services/server/network_interface.go | 1 - .../services/server/port_forwarding_rule.go | 1 - .../server/port_forwarding_rule_parameter.go | 1 - .../server/private_subnet_instance.go | 1 - .../services/server/product.go | 4 +- .../services/server/public_ip_instance.go | 1 - .../ncloud-sdk-go-v2/services/server/raid.go | 1 - .../server/reboot_server_instances_request.go | 1 - .../reboot_server_instances_response.go | 1 - .../recreate_server_instance_request.go | 4 +- .../recreate_server_instance_response.go | 1 - .../services/server/region.go | 1 - ...emove_nas_volume_access_control_request.go | 1 - ...move_nas_volume_access_control_response.go | 1 - .../services/server/server_instance.go | 3 +- .../set_nas_volume_access_control_request.go | 1 - .../set_nas_volume_access_control_response.go | 1 - .../server/start_server_instances_request.go | 1 - .../server/start_server_instances_response.go | 1 - .../server/stop_server_instances_request.go | 1 - .../server/stop_server_instances_response.go | 1 - .../terminate_server_instances_request.go | 1 - .../terminate_server_instances_response.go | 1 - .../services/server/v2_api.go | 297 +++++++++++++++++- .../ncloud-sdk-go-v2/services/server/zone.go | 1 - vendor/modules.txt | 4 +- 146 files changed, 384 insertions(+), 222 deletions(-) diff --git a/go.mod b/go.mod index dc7cc319b..6f0f5fcc5 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/Azure/go-autorest/autorest/to v0.3.0 github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022 github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7 - github.com/Telmate/proxmox-api-go v0.0.0-20200715182505-ec97c70ba887 + github.com/Telmate/proxmox-api-go v0.0.0-20210331182840-ff89a0cebcfa github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190418113227-25233c783f4e github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20170113022742-e6dbea820a9f github.com/antihax/optional v1.0.0 diff --git a/go.sum b/go.sum index 0c0fb8b78..0f13bd0c4 100644 --- a/go.sum +++ b/go.sum @@ -77,7 +77,6 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022 h1:y8Gs8CzNfDF5AZvjr+5UyGQvQEBL7pwo+v+wX6q9JI8= github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022/go.mod h1:nuWgzSkT5PnyOd+272uUmV0dnAnAn42Mk7PiQC5VzN4= github.com/DataDog/datadog-go v2.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.0 h1:0nxjOH7NurPGUWNG5BCrASWjB0uuhGbgJAKLqj2ZDTo= github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.0/go.mod h1:P+3VS0ETiQPyWOx3vB/oeC8J3qd7jnVZLYAFwWgGRt8= github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7 h1:Kpnbe19WkzVPpLLdAus4LkpNJ+pzLpfAViOUuvPcCqA= github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7/go.mod h1:P+3VS0ETiQPyWOx3vB/oeC8J3qd7jnVZLYAFwWgGRt8= diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/README.md b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/README.md index a9e86b6f7..6c016191c 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/README.md +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/README.md @@ -5,8 +5,8 @@ ## Overview This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. -- API version: 2018-10-18T06:16:13Z -- Package version: 1.1.0 +- API version: 2020-11-18T09:44:01Z +- Package version: 1.1.3 - Build package: io.swagger.codegen.languages.NcpGoForNcloudClientCodegen ## Installation @@ -26,6 +26,7 @@ Class | Method | HTTP request | Description *V2Api* | [**AssociatePublicIpWithServerInstance**](docs/V2Api.md#associatepublicipwithserverinstance) | **Post** /associatePublicIpWithServerInstance | *V2Api* | [**AttachBlockStorageInstance**](docs/V2Api.md#attachblockstorageinstance) | **Post** /attachBlockStorageInstance | *V2Api* | [**AttachNetworkInterface**](docs/V2Api.md#attachnetworkinterface) | **Post** /attachNetworkInterface | +*V2Api* | [**ChangeBlockStorageVolumeSize**](docs/V2Api.md#changeblockstoragevolumesize) | **Post** /changeBlockStorageVolumeSize | *V2Api* | [**ChangeNasVolumeSize**](docs/V2Api.md#changenasvolumesize) | **Post** /changeNasVolumeSize | *V2Api* | [**ChangeServerInstanceSpec**](docs/V2Api.md#changeserverinstancespec) | **Post** /changeServerInstanceSpec | *V2Api* | [**CreateBlockStorageInstance**](docs/V2Api.md#createblockstorageinstance) | **Post** /createBlockStorageInstance | @@ -54,6 +55,7 @@ Class | Method | HTTP request | Description *V2Api* | [**GetAccessControlRuleList**](docs/V2Api.md#getaccesscontrolrulelist) | **Post** /getAccessControlRuleList | *V2Api* | [**GetBlockStorageInstanceList**](docs/V2Api.md#getblockstorageinstancelist) | **Post** /getBlockStorageInstanceList | *V2Api* | [**GetBlockStorageSnapshotInstanceList**](docs/V2Api.md#getblockstoragesnapshotinstancelist) | **Post** /getBlockStorageSnapshotInstanceList | +*V2Api* | [**GetInitScriptList**](docs/V2Api.md#getinitscriptlist) | **Post** /getInitScriptList | *V2Api* | [**GetInstanceTagList**](docs/V2Api.md#getinstancetaglist) | **Post** /getInstanceTagList | *V2Api* | [**GetLoginKeyList**](docs/V2Api.md#getloginkeylist) | **Post** /getLoginKeyList | *V2Api* | [**GetMemberServerImageList**](docs/V2Api.md#getmemberserverimagelist) | **Post** /getMemberServerImageList | @@ -67,6 +69,7 @@ Class | Method | HTTP request | Description *V2Api* | [**GetRaidList**](docs/V2Api.md#getraidlist) | **Post** /getRaidList | *V2Api* | [**GetRegionList**](docs/V2Api.md#getregionlist) | **Post** /getRegionList | *V2Api* | [**GetRootPassword**](docs/V2Api.md#getrootpassword) | **Post** /getRootPassword | +*V2Api* | [**GetRootPasswordServerInstanceList**](docs/V2Api.md#getrootpasswordserverinstancelist) | **Post** /getRootPasswordServerInstanceList | *V2Api* | [**GetServerImageProductList**](docs/V2Api.md#getserverimageproductlist) | **Post** /getServerImageProductList | *V2Api* | [**GetServerInstanceList**](docs/V2Api.md#getserverinstancelist) | **Post** /getServerInstanceList | *V2Api* | [**GetServerProductList**](docs/V2Api.md#getserverproductlist) | **Post** /getServerProductList | @@ -75,6 +78,7 @@ Class | Method | HTTP request | Description *V2Api* | [**RebootServerInstances**](docs/V2Api.md#rebootserverinstances) | **Post** /rebootServerInstances | *V2Api* | [**RecreateServerInstance**](docs/V2Api.md#recreateserverinstance) | **Post** /recreateServerInstance | *V2Api* | [**RemoveNasVolumeAccessControl**](docs/V2Api.md#removenasvolumeaccesscontrol) | **Post** /removeNasVolumeAccessControl | +*V2Api* | [**ReplaceServerInstanceAssociatedWithPublicIp**](docs/V2Api.md#replaceserverinstanceassociatedwithpublicip) | **Post** /replaceServerInstanceAssociatedWithPublicIp | *V2Api* | [**SetNasVolumeAccessControl**](docs/V2Api.md#setnasvolumeaccesscontrol) | **Post** /setNasVolumeAccessControl | *V2Api* | [**StartServerInstances**](docs/V2Api.md#startserverinstances) | **Post** /startServerInstances | *V2Api* | [**StopServerInstances**](docs/V2Api.md#stopserverinstances) | **Post** /stopServerInstances | @@ -97,6 +101,8 @@ Class | Method | HTTP request | Description - [AttachNetworkInterfaceResponse](docs/AttachNetworkInterfaceResponse.md) - [BlockStorageInstance](docs/BlockStorageInstance.md) - [BlockStorageSnapshotInstance](docs/BlockStorageSnapshotInstance.md) + - [ChangeBlockStorageVolumeSizeRequest](docs/ChangeBlockStorageVolumeSizeRequest.md) + - [ChangeBlockStorageVolumeSizeResponse](docs/ChangeBlockStorageVolumeSizeResponse.md) - [ChangeNasVolumeSizeRequest](docs/ChangeNasVolumeSizeRequest.md) - [ChangeNasVolumeSizeResponse](docs/ChangeNasVolumeSizeResponse.md) - [ChangeServerInstanceSpecRequest](docs/ChangeServerInstanceSpecRequest.md) @@ -154,6 +160,8 @@ Class | Method | HTTP request | Description - [GetBlockStorageInstanceListResponse](docs/GetBlockStorageInstanceListResponse.md) - [GetBlockStorageSnapshotInstanceListRequest](docs/GetBlockStorageSnapshotInstanceListRequest.md) - [GetBlockStorageSnapshotInstanceListResponse](docs/GetBlockStorageSnapshotInstanceListResponse.md) + - [GetInitScriptListRequest](docs/GetInitScriptListRequest.md) + - [GetInitScriptListResponse](docs/GetInitScriptListResponse.md) - [GetInstanceTagListRequest](docs/GetInstanceTagListRequest.md) - [GetInstanceTagListResponse](docs/GetInstanceTagListResponse.md) - [GetLoginKeyListRequest](docs/GetLoginKeyListRequest.md) @@ -180,6 +188,8 @@ Class | Method | HTTP request | Description - [GetRegionListResponse](docs/GetRegionListResponse.md) - [GetRootPasswordRequest](docs/GetRootPasswordRequest.md) - [GetRootPasswordResponse](docs/GetRootPasswordResponse.md) + - [GetRootPasswordServerInstanceListRequest](docs/GetRootPasswordServerInstanceListRequest.md) + - [GetRootPasswordServerInstanceListResponse](docs/GetRootPasswordServerInstanceListResponse.md) - [GetServerImageProductListRequest](docs/GetServerImageProductListRequest.md) - [GetServerImageProductListResponse](docs/GetServerImageProductListResponse.md) - [GetServerInstanceListRequest](docs/GetServerInstanceListRequest.md) @@ -190,6 +200,7 @@ Class | Method | HTTP request | Description - [GetZoneListResponse](docs/GetZoneListResponse.md) - [ImportLoginKeyRequest](docs/ImportLoginKeyRequest.md) - [ImportLoginKeyResponse](docs/ImportLoginKeyResponse.md) + - [InitScript](docs/InitScript.md) - [InstanceTag](docs/InstanceTag.md) - [InstanceTagParameter](docs/InstanceTagParameter.md) - [LoginKey](docs/LoginKey.md) @@ -211,6 +222,10 @@ Class | Method | HTTP request | Description - [Region](docs/Region.md) - [RemoveNasVolumeAccessControlRequest](docs/RemoveNasVolumeAccessControlRequest.md) - [RemoveNasVolumeAccessControlResponse](docs/RemoveNasVolumeAccessControlResponse.md) + - [ReplaceServerInstanceAssociatedWithPublicIpRequest](docs/ReplaceServerInstanceAssociatedWithPublicIpRequest.md) + - [ReplaceServerInstanceAssociatedWithPublicIpResponse](docs/ReplaceServerInstanceAssociatedWithPublicIpResponse.md) + - [RootPasswordServerInstance](docs/RootPasswordServerInstance.md) + - [RootPasswordServerInstanceParameter](docs/RootPasswordServerInstanceParameter.md) - [ServerInstance](docs/ServerInstance.md) - [SetNasVolumeAccessControlRequest](docs/SetNasVolumeAccessControlRequest.md) - [SetNasVolumeAccessControlResponse](docs/SetNasVolumeAccessControlResponse.md) diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_group.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_group.go index 001ddadb6..9926c070c 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_group.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_group.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_rule.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_rule.go index ec2eb27e0..2441f6bff 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_rule.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/access_control_rule.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_request.go index 07e6540aa..718741576 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_response.go index e1e0ff73f..f94346a7b 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_nas_volume_access_control_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_request.go index 6f737fb7b..3b072937c 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_response.go index 13d3eeb8e..37aacf274 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/add_port_forwarding_rules_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_client.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_client.go index 45924823c..3664a2f05 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_client.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_client.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -37,7 +36,7 @@ var ( xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") ) -// APIClient manages communication with the server API v2018-10-18T06:16:13Z +// APIClient manages communication with the server API v2020-11-18T09:44:01Z // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *ncloud.Configuration @@ -315,90 +314,67 @@ func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err e bodyBuf = &bytes.Buffer{} } - result := "responseFormatType=json" + bodyBuf.WriteString("responseFormatType=json") s := reflect.ValueOf(body).Elem() - typeOfT := s.Type() - for i := 0; i < s.NumField(); i++ { - f := s.Field(i) - - if !f.IsNil() { - key := toLowerFirstChar(typeOfT.Field(i).Name) - if f.Kind() == reflect.Ptr { - switch f.Type().String() { - case "*string": - result += fmt.Sprintf("&%s=%s", key, url.QueryEscape(ncloud.StringValue(f.Interface().(*string)))) - case "*bool": - result += fmt.Sprintf("&%s=%t", key, ncloud.BoolValue(f.Interface().(*bool))) - case "*int": - result += fmt.Sprintf("&%s=%d", key, ncloud.IntValue(f.Interface().(*int))) - case "*int32": - result += fmt.Sprintf("&%s=%d", key, ncloud.Int32Value(f.Interface().(*int32))) - case "*int64": - result += fmt.Sprintf("&%s=%d", key, ncloud.Int64Value(f.Interface().(*int64))) - case "*float32": - result += fmt.Sprintf("&%s=%f", key, ncloud.Float32Value(f.Interface().(*float32))) - } - } else if f.Kind() == reflect.Slice { - for i := 0; i < f.Len(); i++ { - item := f.Index(i) - - if item.Elem().Kind() == reflect.Struct { - item := item.Elem() - typeOfSubItem := item.Type() - - for j := 0; j < item.NumField(); j++ { - subItem := item.Field(j) - subKey := toLowerFirstChar(typeOfSubItem.Field(j).Name) - - switch subItem.Type().String() { - case "*string": - result += fmt.Sprintf("&%s.%d.%s=%s", key, i+1, subKey, url.QueryEscape(ncloud.StringValue(subItem.Interface().(*string)))) - case "*bool": - result += fmt.Sprintf("&%s.%d.%s=%t", key, i+1, subKey, ncloud.BoolValue(subItem.Interface().(*bool))) - case "*int": - result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, subKey, ncloud.IntValue(subItem.Interface().(*int))) - case "*int32": - result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, subKey, ncloud.Int32Value(subItem.Interface().(*int32))) - case "*int64": - result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, subKey, ncloud.Int64Value(subItem.Interface().(*int64))) - case "*float32": - result += fmt.Sprintf("&%s.%d.%s=%f", key, i+1, subKey, ncloud.Float32Value(subItem.Interface().(*float32))) - } - } - } else { - switch item.Type().String() { - case "*string": - result += fmt.Sprintf("&%s.%d=%s", key, i+1, url.QueryEscape(*item.Interface().(*string))) - case "*bool": - result += fmt.Sprintf("&%s.%d.%s=%t", key, i+1, ncloud.BoolValue(item.Interface().(*bool))) - case "*int": - result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, item.Interface().(*int)) - case "*int32": - result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, item.Interface().(*int32)) - case "*int64": - result += fmt.Sprintf("&%s.%d.%s=%d", key, i+1, item.Interface().(*int64)) - case "*float32": - result += fmt.Sprintf("&%s.%d.%s=%f", key, i+1, item.Interface().(*float32)) - } - } - } - } - } - } + bodyBuf.WriteString(buildQueryString(s, "")) if err != nil { return nil, err } - bodyBuf.WriteString(result) - if bodyBuf.Len() == 0 { - err = fmt.Errorf("Invalid body type %s", contentType) + err = fmt.Errorf("invalid body type %s", contentType) return nil, err } return bodyBuf, nil } +func buildQueryString(s reflect.Value, prefix string) string { + bodyBuf := &bytes.Buffer{} + if s.Kind() == reflect.Struct { + for i := 0; i < s.NumField(); i++ { + f := s.Field(i) + if !f.IsNil() { + name := toLowerFirstChar(s.Type().Field(i).Name) + if len(prefix) > 0 { + bodyBuf.WriteString(buildQueryString(f, fmt.Sprintf("%s.%s", prefix, name))) + } else { + bodyBuf.WriteString(buildQueryString(f, name)) + } + } + } + } else if s.Kind() == reflect.Slice { + for i := 0; i < s.Len(); i++ { + item := s.Index(i) + bodyBuf.WriteString(buildQueryString(item.Elem(), fmt.Sprintf("%s.%d", prefix, i+1))) + } + } else if s.Kind() == reflect.Ptr { + bodyBuf.WriteString(fmt.Sprintf("&%s=%s", prefix, convertToString(s))) + } else if s.Kind() == reflect.String { + bodyBuf.WriteString(fmt.Sprintf("&%s=%s", prefix, s.Interface())) + } + + return bodyBuf.String() +} + +func convertToString(f reflect.Value) string { + switch f.Type().String() { + case "*string": + return url.QueryEscape(ncloud.StringValue(f.Interface().(*string))) + case "*bool": + return fmt.Sprintf("%t", *f.Interface().(*bool)) + case "*int": + return fmt.Sprintf("%d", *f.Interface().(*int)) + case "*int32": + return fmt.Sprintf("%d", *f.Interface().(*int32)) + case "*int64": + return fmt.Sprintf("%d", *f.Interface().(*int64)) + case "*float32": + return fmt.Sprintf("%f", *f.Interface().(*float32)) + } + return "" +} + // detectContentType method is used to figure out `Request.Body` content type for request header func detectContentType(body interface{}) string { contentType := "text/plain; charset=utf-8" diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_response.go index 923b00b44..96ba7e351 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/api_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_request.go index 473ff97ce..1c9808998 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_response.go index 3f4dfb459..a1a2a56c3 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/associate_public_ip_with_server_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_request.go index 003eb9f14..83d9ce660 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_response.go index 3d278fde4..fa57a6f14 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_block_storage_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_request.go index e92c035ae..cf96ec1f9 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_response.go index 9b0609313..700b0c997 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/attach_network_interface_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_instance.go index 9f0eeb912..ccd5bab73 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_instance.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_instance.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_snapshot_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_snapshot_instance.go index a9295d496..cae600e93 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_snapshot_instance.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/block_storage_snapshot_instance.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_request.go index e950be26c..218d0a69f 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_response.go index 8ed5df3a0..e6a2b2549 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_nas_volume_size_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_request.go index 8e8dba077..b2bb33222 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_response.go index 6d650f1a1..35674f751 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_server_instance_spec_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/common_code.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/common_code.go index 10fbd3438..3f1d59e29 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/common_code.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/common_code.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/configuration.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/configuration.go index b5951b186..ede319bc4 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/configuration.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/configuration.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -28,7 +27,7 @@ func NewConfiguration(apiKey *ncloud.APIKey) *ncloud.Configuration { cfg := &ncloud.Configuration{ BasePath: "https://ncloud.apigw.ntruss.com/server/v2", DefaultHeader: make(map[string]string), - UserAgent: "server/1.1.0/go", + UserAgent: "server/1.1.3/go", APIKey: apiKey, } if os.Getenv("NCLOUD_API_GW") != "" { diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_request.go index ab88a441e..2be7b89dd 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_response.go index d6c3e2995..2150e288e 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_request.go index 670825e6c..a1e85edde 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_response.go index c14fc00fc..09b117f75 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_block_storage_snapshot_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_request.go index 202eef78f..b4ae09cbe 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_response.go index 3ff1e5e23..b40ec21f1 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_instance_tags_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_request.go index 306387ed8..f89003af9 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_response.go index 7f24b48ab..1068a6cc4 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_login_key_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_request.go index 86699e939..5b946e492 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_response.go index eceaa0ca2..dbce679d2 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_member_server_image_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_request.go index c67f389a3..60b1fa09c 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_response.go index abce946fc..da22c4a8b 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_nas_volume_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_request.go index d3bc1b367..210ceccc3 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_response.go index 8a6eb49e0..c4dc189a6 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_network_interface_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_request.go index c0a6114ce..9bdeb8ec8 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_response.go index 29d511c42..e0e03f386 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_public_ip_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_request.go index fdcbdbb1e..d01f18d40 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -47,6 +46,9 @@ FeeSystemTypeCode *string `json:"feeSystemTypeCode,omitempty"` // 사용자데이터 UserData *string `json:"userData,omitempty"` + // 초기화스크립트번호 +InitScriptNo *string `json:"initScriptNo,omitempty"` + // ZONE번호 ZoneNo *string `json:"zoneNo,omitempty"` @@ -58,4 +60,7 @@ RaidTypeName *string `json:"raidTypeName,omitempty"` // 인스턴스태그리스트 InstanceTagList []*InstanceTagParameter `json:"instanceTagList,omitempty"` + + // 백신설치여부 +IsVaccineInstall *bool `json:"isVaccineInstall,omitempty"` } diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_response.go index 70e700062..c86028863 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/create_server_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_request.go index bd0840bf5..faaae5d50 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_response.go index 04b779821..6dd94ed5e 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_request.go index 20099c3d9..ebb4d9e78 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_response.go index acf19b1e7..893c1f5e9 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_block_storage_snapshot_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_request.go index 1f3e52b7e..e4005b56f 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_response.go index 9acaa4618..1ff959d37 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_instance_tags_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_request.go index 7f7c6a037..c7dec3214 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_response.go index 4bbf72c90..e4390ccb4 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_login_key_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_request.go index ca250875e..f0a5bb8b8 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_response.go index 3d80d546e..d18de8866 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_member_server_images_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_request.go index a511394f1..4fd8721be 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_response.go index 43913e6d9..abbf29828 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_nas_volume_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_request.go index cc80eaeac..440315465 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_response.go index 958f49635..de8e26cc1 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_network_interface_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_request.go index aa71def5c..126cd4118 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_response.go index 1e2ccf90c..542d1bb1f 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_port_forwarding_rules_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_request.go index 712da61c5..b0524d8b4 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_response.go index 0ee8e3b4e..2ce4ecfee 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/delete_public_ip_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_request.go index 2c85b7156..c6b7995d4 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_response.go index 4f3740a4d..0b54fa4e5 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_block_storage_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_request.go index 112180724..929887126 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_response.go index 4a0187266..c8c0b426e 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/detach_network_interface_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_request.go index 585c72822..e99300a0b 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_response.go index 42ba25f6a..f70d1fc4b 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/disassociate_public_ip_from_server_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_request.go index aab8176c1..96843c9c6 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_response.go index 5f56c9f9f..b2cd916bb 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_request.go index f48d17c21..8251141f3 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_response.go index 385e9aa8f..65da71700 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_group_server_instance_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_request.go index 263ce55ab..f3226887a 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_response.go index 875964d6c..1a4ccd296 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_access_control_rule_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_request.go index 3feceb7f8..47c58519e 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_response.go index 036130b29..3cf663200 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_instance_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_request.go index 3a8a86e69..23112a9e8 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_response.go index bbe5eec69..450969a16 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_block_storage_snapshot_instance_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_request.go index b9d53df0c..d4f7b34dd 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_response.go index a3bcd8af0..69d1ab013 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_instance_tag_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_request.go index cff138262..a39490529 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_response.go index c7c15ff06..43e579e85 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_login_key_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_request.go index 8326a6510..c1aff1560 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_response.go index 45db49c22..f9b31aacc 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_member_server_image_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_request.go index a6ad887dc..d79fed46f 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_response.go index 300e2309d..8a8f7b60e 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_request.go index e66d5df33..8a88c37fc 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_response.go index b339fbf51..7df79fba3 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_nas_volume_instance_rating_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_request.go index 242a129d8..aa8e3a56f 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_response.go index c86fd9770..af42fd9ec 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_network_interface_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_request.go index 4be87bf18..40a6a340d 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_response.go index bc4da3c51..d83673cd0 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_port_forwarding_rule_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_request.go index c684987ad..95bafe111 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_response.go index c791e7eee..7053f1218 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_private_subnet_instance_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_request.go index 75e5f99e2..80970b3c8 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_response.go index d8dde079b..025ee22e0 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_instance_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_request.go index 44afcd41f..9d15be2db 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_response.go index c9f38cf07..a000ca12d 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_public_ip_target_server_instance_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_request.go index f0b9350d0..9f1a69ebb 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_response.go index 6104a15a9..038a465df 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_raid_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_request.go index 8ccdc19e8..55d79b228 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_response.go index e8989df66..0858ea4dc 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_region_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_request.go index b10c6eebc..d77f105e9 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_response.go index fafeb8368..f33b96ea1 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_request.go index fbab8e083..44a55c92f 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_response.go index ef7bf85fe..d86e31e88 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_image_product_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_request.go index f7d8d5feb..fc41f1d35 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_response.go index 549c95c3e..53c2835c6 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_instance_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_request.go index e0f1e3dfa..f0a83c21e 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -20,6 +19,9 @@ InternetLineTypeCode *string `json:"internetLineTypeCode,omitempty"` // 조회할상품코드 ProductCode *string `json:"productCode,omitempty"` + // 세대코드 +GenerationCode *string `json:"generationCode,omitempty"` + // 리전번호 RegionNo *string `json:"regionNo,omitempty"` diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_response.go index 296ff6684..55af87f1d 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_server_product_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_request.go index 31cb23bde..9b4a4f648 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_response.go index 8c77fc482..65952de33 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_zone_list_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_request.go index b2fc8b39d..cd1512612 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_response.go index 2d03cbe2e..c4e876943 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/import_login_key_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag.go index cb9dfde4d..c222f77f2 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag_parameter.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag_parameter.go index e4207dc67..d5a3e4fe2 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag_parameter.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/instance_tag_parameter.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/login_key.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/login_key.go index 0262bd8e9..137c885f8 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/login_key.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/login_key.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/member_server_image.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/member_server_image.go index 1bf825d26..647c644f4 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/member_server_image.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/member_server_image.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance.go index 354bea756..e431e16e7 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_custom_ip.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_custom_ip.go index 02bf19927..e5b3bdf34 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_custom_ip.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_custom_ip.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_rating.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_rating.go index 73a3c89a4..9a36955a1 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_rating.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/nas_volume_instance_rating.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/network_interface.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/network_interface.go index 5ec529080..c7d4e9059 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/network_interface.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/network_interface.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule.go index 429f16310..53e3a0550 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule_parameter.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule_parameter.go index ebd3c05d8..b807a157e 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule_parameter.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/port_forwarding_rule_parameter.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/private_subnet_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/private_subnet_instance.go index 176bd706b..732d5e6b1 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/private_subnet_instance.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/private_subnet_instance.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/product.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/product.go index 312d086fd..9afbd242f 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/product.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/product.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -52,4 +51,7 @@ DbKindCode *string `json:"dbKindCode,omitempty"` // 추가블록스토리지사이즈 AddBlockStorageSize *int64 `json:"addBlockStorageSize,omitempty"` + + // 세대코드 +GenerationCode *string `json:"generationCode,omitempty"` } diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/public_ip_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/public_ip_instance.go index de3fe4239..810bf1e64 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/public_ip_instance.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/public_ip_instance.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/raid.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/raid.go index 511f46bdb..d95482229 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/raid.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/raid.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_request.go index b52489d01..356af5df4 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_response.go index a21cdb8a4..e8eccf700 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/reboot_server_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_request.go index b8baf6722..be5bc9448 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,4 +24,7 @@ UserData *string `json:"userData,omitempty"` // 인스턴스태그리스트 InstanceTagList []*InstanceTagParameter `json:"instanceTagList,omitempty"` + + // 백신설치여부 +IsVaccineInstall *bool `json:"isVaccineInstall,omitempty"` } diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_response.go index 3b1160706..0c3d2b592 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/recreate_server_instance_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/region.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/region.go index 2aa755c5e..c58deb0e6 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/region.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/region.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_request.go index 8077e0953..f77fd0f34 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_response.go index adbfcef80..74e05feff 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/remove_nas_volume_access_control_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/server_instance.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/server_instance.go index 318b37418..2939acf5f 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/server_instance.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/server_instance.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -90,7 +89,7 @@ Region *Region `json:"region,omitempty"` BaseBlockStorageDiskType *CommonCode `json:"baseBlockStorageDiskType,omitempty"` // 기본블록스토리지디스크상세유형 -BaseBlockStroageDiskDetailType *CommonCode `json:"baseBlockStroageDiskDetailType,omitempty"` +BaseBlockStorageDiskDetailType *CommonCode `json:"baseBlockStorageDiskDetailType,omitempty"` // 인터넷라인구분 InternetLineType *CommonCode `json:"internetLineType,omitempty"` diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_request.go index fdf5e2771..bd200b89a 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_response.go index c3ccd6d82..75b859beb 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/set_nas_volume_access_control_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_request.go index 1db9d3a03..bf882027e 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_response.go index 01e2e4c83..9606488ef 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/start_server_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_request.go index 55d28540f..53e4c5cfd 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_response.go index 8a3a02a66..b09a5d7cd 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/stop_server_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_request.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_request.go index 0b8112c2b..3c42c6ae3 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_request.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_request.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_response.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_response.go index e626df1e1..18ed2925d 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_response.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/terminate_server_instances_response.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/v2_api.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/v2_api.go index f023b2236..bacc04cd9 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/v2_api.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/v2_api.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -399,6 +398,80 @@ func (a *V2ApiService) AttachNetworkInterface(attachNetworkInterfaceRequest *Att return &successPayload, err } +/* V2ApiService + 블록스토리지볼륨사이즈변경 + @param changeBlockStorageVolumeSizeRequest changeBlockStorageVolumeSizeRequest + @return *ChangeBlockStorageVolumeSizeResponse*/ +func (a *V2ApiService) ChangeBlockStorageVolumeSize(changeBlockStorageVolumeSizeRequest *ChangeBlockStorageVolumeSizeRequest) (*ChangeBlockStorageVolumeSizeResponse, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload ChangeBlockStorageVolumeSizeResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/changeBlockStorageVolumeSize" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + } + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = changeBlockStorageVolumeSizeRequest + v := reflect.ValueOf(localVarPostBody).Elem().FieldByName("UserData") + if v.IsValid() && v.CanAddr() { + ptr := v.Addr().Interface().(**string) + if *ptr != nil { + **ptr = base64.StdEncoding.EncodeToString([]byte(**ptr)) + } + } + r, err := a.client.prepareRequest(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return &successPayload, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return &successPayload, err + } + defer localVarHttpResponse.Body.Close() + bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body) + + if localVarHttpResponse.StatusCode >= 300 || (localVarHttpResponse.StatusCode < 300 && !strings.HasPrefix(string(bodyBytes), `{`)) { + return &successPayload, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes) + } + + if !strings.Contains(string(bodyBytes), `{"error"`) && strings.HasPrefix(string(bodyBytes), `{`) { + if err = json.Unmarshal(bodyBytes[bytes.IndexAny(bytes.Trim(bodyBytes, "{"), "{"):len(bodyBytes)-1], &successPayload); err != nil { + return &successPayload, err + } + } + + + return &successPayload, err +} + /* V2ApiService NAS볼륨사이즈변경 @param changeNasVolumeSizeRequest changeNasVolumeSizeRequest @@ -2471,6 +2544,80 @@ func (a *V2ApiService) GetBlockStorageSnapshotInstanceList(getBlockStorageSnapsh return &successPayload, err } +/* V2ApiService + 초기화스크립트리스트조회 + @param getInitScriptListRqeust getInitScriptListRqeust + @return *GetInitScriptListResponse*/ +func (a *V2ApiService) GetInitScriptList(getInitScriptListRqeust *GetInitScriptListRequest) (*GetInitScriptListResponse, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetInitScriptListResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/getInitScriptList" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + } + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = getInitScriptListRqeust + v := reflect.ValueOf(localVarPostBody).Elem().FieldByName("UserData") + if v.IsValid() && v.CanAddr() { + ptr := v.Addr().Interface().(**string) + if *ptr != nil { + **ptr = base64.StdEncoding.EncodeToString([]byte(**ptr)) + } + } + r, err := a.client.prepareRequest(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return &successPayload, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return &successPayload, err + } + defer localVarHttpResponse.Body.Close() + bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body) + + if localVarHttpResponse.StatusCode >= 300 || (localVarHttpResponse.StatusCode < 300 && !strings.HasPrefix(string(bodyBytes), `{`)) { + return &successPayload, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes) + } + + if !strings.Contains(string(bodyBytes), `{"error"`) && strings.HasPrefix(string(bodyBytes), `{`) { + if err = json.Unmarshal(bodyBytes[bytes.IndexAny(bytes.Trim(bodyBytes, "{"), "{"):len(bodyBytes)-1], &successPayload); err != nil { + return &successPayload, err + } + } + + + return &successPayload, err +} + /* V2ApiService 인스턴스태그리스트조회 @param getInstanceTagListRequest getInstanceTagListRequest @@ -3433,6 +3580,80 @@ func (a *V2ApiService) GetRootPassword(getRootPasswordRequest *GetRootPasswordRe return &successPayload, err } +/* V2ApiService + 루트패스워드서버인스턴스리스트조회 + @param getRootPasswordServerInstanceListRequest getRootPasswordServerInstanceListRequest + @return *GetRootPasswordServerInstanceListResponse*/ +func (a *V2ApiService) GetRootPasswordServerInstanceList(getRootPasswordServerInstanceListRequest *GetRootPasswordServerInstanceListRequest) (*GetRootPasswordServerInstanceListResponse, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetRootPasswordServerInstanceListResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/getRootPasswordServerInstanceList" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + } + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = getRootPasswordServerInstanceListRequest + v := reflect.ValueOf(localVarPostBody).Elem().FieldByName("UserData") + if v.IsValid() && v.CanAddr() { + ptr := v.Addr().Interface().(**string) + if *ptr != nil { + **ptr = base64.StdEncoding.EncodeToString([]byte(**ptr)) + } + } + r, err := a.client.prepareRequest(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return &successPayload, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return &successPayload, err + } + defer localVarHttpResponse.Body.Close() + bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body) + + if localVarHttpResponse.StatusCode >= 300 || (localVarHttpResponse.StatusCode < 300 && !strings.HasPrefix(string(bodyBytes), `{`)) { + return &successPayload, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes) + } + + if !strings.Contains(string(bodyBytes), `{"error"`) && strings.HasPrefix(string(bodyBytes), `{`) { + if err = json.Unmarshal(bodyBytes[bytes.IndexAny(bytes.Trim(bodyBytes, "{"), "{"):len(bodyBytes)-1], &successPayload); err != nil { + return &successPayload, err + } + } + + + return &successPayload, err +} + /* V2ApiService 서버이미지상품리스트조회 @param getServerImageProductListRequest getServerImageProductListRequest @@ -4025,6 +4246,80 @@ func (a *V2ApiService) RemoveNasVolumeAccessControl(removeNasVolumeAccessControl return &successPayload, err } +/* V2ApiService + 공인IP서버인스턴스교체 + @param replaceServerInstanceAssociatedWithPublicIpRequest replaceServerInstanceAssociatedWithPublicIpRequest + @return *ReplaceServerInstanceAssociatedWithPublicIpResponse*/ +func (a *V2ApiService) ReplaceServerInstanceAssociatedWithPublicIp(replaceServerInstanceAssociatedWithPublicIpRequest *ReplaceServerInstanceAssociatedWithPublicIpRequest) (*ReplaceServerInstanceAssociatedWithPublicIpResponse, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload ReplaceServerInstanceAssociatedWithPublicIpResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/replaceServerInstanceAssociatedWithPublicIp" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + } + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = replaceServerInstanceAssociatedWithPublicIpRequest + v := reflect.ValueOf(localVarPostBody).Elem().FieldByName("UserData") + if v.IsValid() && v.CanAddr() { + ptr := v.Addr().Interface().(**string) + if *ptr != nil { + **ptr = base64.StdEncoding.EncodeToString([]byte(**ptr)) + } + } + r, err := a.client.prepareRequest(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return &successPayload, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return &successPayload, err + } + defer localVarHttpResponse.Body.Close() + bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body) + + if localVarHttpResponse.StatusCode >= 300 || (localVarHttpResponse.StatusCode < 300 && !strings.HasPrefix(string(bodyBytes), `{`)) { + return &successPayload, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes) + } + + if !strings.Contains(string(bodyBytes), `{"error"`) && strings.HasPrefix(string(bodyBytes), `{`) { + if err = json.Unmarshal(bodyBytes[bytes.IndexAny(bytes.Trim(bodyBytes, "{"), "{"):len(bodyBytes)-1], &successPayload); err != nil { + return &successPayload, err + } + } + + + return &successPayload, err +} + /* V2ApiService NAS볼륨인스턴스접근제어설정 @param setNasVolumeAccessControlRequest setNasVolumeAccessControlRequest diff --git a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/zone.go b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/zone.go index c954015aa..59acdcea9 100644 --- a/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/zone.go +++ b/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/zone.go @@ -3,7 +3,6 @@ * *
https://ncloud.apigw.ntruss.com/server/v2 * - * API version: 2018-10-18T06:16:13Z * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/vendor/modules.txt b/vendor/modules.txt index 218da3526..429715277 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -71,11 +71,13 @@ github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlbuilder github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlele github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlnode github.com/ChrisTrenkamp/goxpath/xconst -# github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.0 +# github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7 ## explicit github.com/NaverCloudPlatform/ncloud-sdk-go-v2/hmac github.com/NaverCloudPlatform/ncloud-sdk-go-v2/ncloud github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server +github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc +github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vserver # github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d github.com/StackExchange/wmi # github.com/Telmate/proxmox-api-go v0.0.0-20210331182840-ff89a0cebcfa