update ncloud-sdk-go-v2 vendor
This commit is contained in:
parent
fca92b1953
commit
af865b1591
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type ChangeBlockStorageVolumeSizeRequest struct {
|
||||
|
||||
// 블록스토리지인스턴스번호
|
||||
BlockStorageInstanceNo *string `json:"blockStorageInstanceNo"`
|
||||
|
||||
// 블록스토리지사이즈
|
||||
BlockStorageSize *int64 `json:"blockStorageSize"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/change_block_storage_volume_size_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type ChangeBlockStorageVolumeSizeResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
BlockStorageInstanceList []*BlockStorageInstance `json:"blockStorageInstanceList,omitempty"`
|
||||
}
|
12
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_request.go
generated
vendored
Normal file
12
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type GetInitScriptListRequest struct {
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_init_script_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type GetInitScriptListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
InitScriptList []*InitScript `json:"initScriptList,omitempty"`
|
||||
}
|
15
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_request.go
generated
vendored
Normal file
15
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type GetRootPasswordServerInstanceListRequest struct {
|
||||
|
||||
// 인스턴스태그리스트
|
||||
RootPasswordServerInstanceList []*RootPasswordServerInstanceParameter `json:"rootPasswordServerInstanceList"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/get_root_password_server_instance_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type GetRootPasswordServerInstanceListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
RootPasswordServerInstanceList []*RootPasswordServerInstance `json:"rootPasswordServerInstanceList,omitempty"`
|
||||
}
|
30
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/init_script.go
generated
vendored
Normal file
30
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/init_script.go
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type InitScript struct {
|
||||
|
||||
// 초기화스크립트번호
|
||||
InitScriptNo *string `json:"initScriptNo,omitempty"`
|
||||
|
||||
// 초기화스크립트명
|
||||
InitScriptName *string `json:"initScriptName,omitempty"`
|
||||
|
||||
// 생성일자
|
||||
CreateDate *string `json:"createDate,omitempty"`
|
||||
|
||||
// 초기화스크립트설명
|
||||
InitScriptDescription *string `json:"initScriptDescription,omitempty"`
|
||||
|
||||
// 초기화스크립트내용
|
||||
InitScriptContent *string `json:"initScriptContent,omitempty"`
|
||||
|
||||
// OS구분
|
||||
OsType *CommonCode `json:"osType,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type ReplaceServerInstanceAssociatedWithPublicIpRequest struct {
|
||||
|
||||
// 공인IP인스턴스번호
|
||||
PublicIpInstanceNo *string `json:"publicIpInstanceNo"`
|
||||
|
||||
// 서버인스턴스번호
|
||||
ServerInstanceNo *string `json:"serverInstanceNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/replace_server_instance_associated_with_public_ip_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type ReplaceServerInstanceAssociatedWithPublicIpResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
PublicIpInstanceList []*PublicIpInstance `json:"publicIpInstanceList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type RootPasswordServerInstance struct {
|
||||
|
||||
// 서버인스턴스번호
|
||||
ServerInstanceNo *string `json:"serverInstanceNo,omitempty"`
|
||||
|
||||
// 루트패스워드
|
||||
RootPassword *string `json:"rootPassword,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance_parameter.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server/root_password_server_instance_parameter.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* server
|
||||
*
|
||||
* <br/>https://ncloud.apigw.ntruss.com/server/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package server
|
||||
|
||||
type RootPasswordServerInstanceParameter struct {
|
||||
|
||||
// 서버인스턴스번호
|
||||
ServerInstanceNo *string `json:"serverInstanceNo,omitempty"`
|
||||
|
||||
// 사설키
|
||||
PrivateKey *string `json:"privateKey,omitempty"`
|
||||
}
|
8
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/.travis.yml
generated
vendored
Normal file
8
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/.travis.yml
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
language: go
|
||||
|
||||
install:
|
||||
- go get -d -v .
|
||||
|
||||
script:
|
||||
- go build -v ./
|
||||
|
7
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/LICENSE
generated
vendored
Normal file
7
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
Copyright 2018 NAVER BUSINESS PLATFORM Corp.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
163
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/README.md
generated
vendored
Normal file
163
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/README.md
generated
vendored
Normal file
|
@ -0,0 +1,163 @@
|
|||
# Go API client for vpc
|
||||
|
||||
VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
|
||||
## 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: 2020-09-17T10:29:55Z
|
||||
- Package version: 1.0.0
|
||||
- Build package: io.swagger.codegen.languages.NcpGoForNcloudClientCodegen
|
||||
|
||||
## Installation
|
||||
Put the package under your project folder and add the following in import:
|
||||
```
|
||||
"./vpc"
|
||||
```
|
||||
|
||||
## Documentation for API Endpoints
|
||||
|
||||
All URIs are relative to *https://ncloud.apigw.ntruss.com/vpc/v2*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
*V2Api* | [**AcceptOrRejectVpcPeering**](docs/V2Api.md#acceptorrejectvpcpeering) | **Post** /acceptOrRejectVpcPeering |
|
||||
*V2Api* | [**AddNetworkAclInboundRule**](docs/V2Api.md#addnetworkaclinboundrule) | **Post** /addNetworkAclInboundRule |
|
||||
*V2Api* | [**AddNetworkAclOutboundRule**](docs/V2Api.md#addnetworkacloutboundrule) | **Post** /addNetworkAclOutboundRule |
|
||||
*V2Api* | [**AddRoute**](docs/V2Api.md#addroute) | **Post** /addRoute |
|
||||
*V2Api* | [**AddRouteTableSubnet**](docs/V2Api.md#addroutetablesubnet) | **Post** /addRouteTableSubnet |
|
||||
*V2Api* | [**CreateNatGatewayInstance**](docs/V2Api.md#createnatgatewayinstance) | **Post** /createNatGatewayInstance |
|
||||
*V2Api* | [**CreateNetworkAcl**](docs/V2Api.md#createnetworkacl) | **Post** /createNetworkAcl |
|
||||
*V2Api* | [**CreateRouteTable**](docs/V2Api.md#createroutetable) | **Post** /createRouteTable |
|
||||
*V2Api* | [**CreateSubnet**](docs/V2Api.md#createsubnet) | **Post** /createSubnet |
|
||||
*V2Api* | [**CreateVpc**](docs/V2Api.md#createvpc) | **Post** /createVpc |
|
||||
*V2Api* | [**CreateVpcPeeringInstance**](docs/V2Api.md#createvpcpeeringinstance) | **Post** /createVpcPeeringInstance |
|
||||
*V2Api* | [**DeleteNatGatewayInstance**](docs/V2Api.md#deletenatgatewayinstance) | **Post** /deleteNatGatewayInstance |
|
||||
*V2Api* | [**DeleteNetworkAcl**](docs/V2Api.md#deletenetworkacl) | **Post** /deleteNetworkAcl |
|
||||
*V2Api* | [**DeleteRouteTable**](docs/V2Api.md#deleteroutetable) | **Post** /deleteRouteTable |
|
||||
*V2Api* | [**DeleteSubnet**](docs/V2Api.md#deletesubnet) | **Post** /deleteSubnet |
|
||||
*V2Api* | [**DeleteVpc**](docs/V2Api.md#deletevpc) | **Post** /deleteVpc |
|
||||
*V2Api* | [**DeleteVpcPeeringInstance**](docs/V2Api.md#deletevpcpeeringinstance) | **Post** /deleteVpcPeeringInstance |
|
||||
*V2Api* | [**GetNatGatewayInstanceDetail**](docs/V2Api.md#getnatgatewayinstancedetail) | **Post** /getNatGatewayInstanceDetail |
|
||||
*V2Api* | [**GetNatGatewayInstanceList**](docs/V2Api.md#getnatgatewayinstancelist) | **Post** /getNatGatewayInstanceList |
|
||||
*V2Api* | [**GetNetworkAclDetail**](docs/V2Api.md#getnetworkacldetail) | **Post** /getNetworkAclDetail |
|
||||
*V2Api* | [**GetNetworkAclList**](docs/V2Api.md#getnetworkacllist) | **Post** /getNetworkAclList |
|
||||
*V2Api* | [**GetNetworkAclRuleList**](docs/V2Api.md#getnetworkaclrulelist) | **Post** /getNetworkAclRuleList |
|
||||
*V2Api* | [**GetRouteList**](docs/V2Api.md#getroutelist) | **Post** /getRouteList |
|
||||
*V2Api* | [**GetRouteTableDetail**](docs/V2Api.md#getroutetabledetail) | **Post** /getRouteTableDetail |
|
||||
*V2Api* | [**GetRouteTableList**](docs/V2Api.md#getroutetablelist) | **Post** /getRouteTableList |
|
||||
*V2Api* | [**GetRouteTableSubnetList**](docs/V2Api.md#getroutetablesubnetlist) | **Post** /getRouteTableSubnetList |
|
||||
*V2Api* | [**GetSubnetDetail**](docs/V2Api.md#getsubnetdetail) | **Post** /getSubnetDetail |
|
||||
*V2Api* | [**GetSubnetList**](docs/V2Api.md#getsubnetlist) | **Post** /getSubnetList |
|
||||
*V2Api* | [**GetVpcDetail**](docs/V2Api.md#getvpcdetail) | **Post** /getVpcDetail |
|
||||
*V2Api* | [**GetVpcList**](docs/V2Api.md#getvpclist) | **Post** /getVpcList |
|
||||
*V2Api* | [**GetVpcPeeringInstanceDetail**](docs/V2Api.md#getvpcpeeringinstancedetail) | **Post** /getVpcPeeringInstanceDetail |
|
||||
*V2Api* | [**GetVpcPeeringInstanceList**](docs/V2Api.md#getvpcpeeringinstancelist) | **Post** /getVpcPeeringInstanceList |
|
||||
*V2Api* | [**RemoveNetworkAclInboundRule**](docs/V2Api.md#removenetworkaclinboundrule) | **Post** /removeNetworkAclInboundRule |
|
||||
*V2Api* | [**RemoveNetworkAclOutboundRule**](docs/V2Api.md#removenetworkacloutboundrule) | **Post** /removeNetworkAclOutboundRule |
|
||||
*V2Api* | [**RemoveRoute**](docs/V2Api.md#removeroute) | **Post** /removeRoute |
|
||||
*V2Api* | [**RemoveRouteTableSubnet**](docs/V2Api.md#removeroutetablesubnet) | **Post** /removeRouteTableSubnet |
|
||||
*V2Api* | [**SetNatGatewayDescription**](docs/V2Api.md#setnatgatewaydescription) | **Post** /setNatGatewayDescription |
|
||||
*V2Api* | [**SetNetworkAclDescription**](docs/V2Api.md#setnetworkacldescription) | **Post** /setNetworkAclDescription |
|
||||
*V2Api* | [**SetRouteTableDescription**](docs/V2Api.md#setroutetabledescription) | **Post** /setRouteTableDescription |
|
||||
*V2Api* | [**SetSubnetNetworkAcl**](docs/V2Api.md#setsubnetnetworkacl) | **Post** /setSubnetNetworkAcl |
|
||||
*V2Api* | [**SetVpcPeeringDescription**](docs/V2Api.md#setvpcpeeringdescription) | **Post** /setVpcPeeringDescription |
|
||||
|
||||
|
||||
## Documentation For Models
|
||||
|
||||
- [AcceptOrRejectVpcPeeringRequest](docs/AcceptOrRejectVpcPeeringRequest.md)
|
||||
- [AcceptOrRejectVpcPeeringResponse](docs/AcceptOrRejectVpcPeeringResponse.md)
|
||||
- [AddNetworkAclInboundRuleRequest](docs/AddNetworkAclInboundRuleRequest.md)
|
||||
- [AddNetworkAclInboundRuleResponse](docs/AddNetworkAclInboundRuleResponse.md)
|
||||
- [AddNetworkAclOutboundRuleRequest](docs/AddNetworkAclOutboundRuleRequest.md)
|
||||
- [AddNetworkAclOutboundRuleResponse](docs/AddNetworkAclOutboundRuleResponse.md)
|
||||
- [AddNetworkAclRuleParameter](docs/AddNetworkAclRuleParameter.md)
|
||||
- [AddRouteRequest](docs/AddRouteRequest.md)
|
||||
- [AddRouteResponse](docs/AddRouteResponse.md)
|
||||
- [AddRouteTableSubnetRequest](docs/AddRouteTableSubnetRequest.md)
|
||||
- [AddRouteTableSubnetResponse](docs/AddRouteTableSubnetResponse.md)
|
||||
- [CommonCode](docs/CommonCode.md)
|
||||
- [CreateNatGatewayInstanceRequest](docs/CreateNatGatewayInstanceRequest.md)
|
||||
- [CreateNatGatewayInstanceResponse](docs/CreateNatGatewayInstanceResponse.md)
|
||||
- [CreateNetworkAclRequest](docs/CreateNetworkAclRequest.md)
|
||||
- [CreateNetworkAclResponse](docs/CreateNetworkAclResponse.md)
|
||||
- [CreateRouteTableRequest](docs/CreateRouteTableRequest.md)
|
||||
- [CreateRouteTableResponse](docs/CreateRouteTableResponse.md)
|
||||
- [CreateSubnetRequest](docs/CreateSubnetRequest.md)
|
||||
- [CreateSubnetResponse](docs/CreateSubnetResponse.md)
|
||||
- [CreateVpcPeeringInstanceRequest](docs/CreateVpcPeeringInstanceRequest.md)
|
||||
- [CreateVpcPeeringInstanceResponse](docs/CreateVpcPeeringInstanceResponse.md)
|
||||
- [CreateVpcRequest](docs/CreateVpcRequest.md)
|
||||
- [CreateVpcResponse](docs/CreateVpcResponse.md)
|
||||
- [DeleteNatGatewayInstanceRequest](docs/DeleteNatGatewayInstanceRequest.md)
|
||||
- [DeleteNatGatewayInstanceResponse](docs/DeleteNatGatewayInstanceResponse.md)
|
||||
- [DeleteNetworkAclRequest](docs/DeleteNetworkAclRequest.md)
|
||||
- [DeleteNetworkAclResponse](docs/DeleteNetworkAclResponse.md)
|
||||
- [DeleteRouteTableRequest](docs/DeleteRouteTableRequest.md)
|
||||
- [DeleteRouteTableResponse](docs/DeleteRouteTableResponse.md)
|
||||
- [DeleteSubnetRequest](docs/DeleteSubnetRequest.md)
|
||||
- [DeleteSubnetResponse](docs/DeleteSubnetResponse.md)
|
||||
- [DeleteVpcPeeringInstanceRequest](docs/DeleteVpcPeeringInstanceRequest.md)
|
||||
- [DeleteVpcPeeringInstanceResponse](docs/DeleteVpcPeeringInstanceResponse.md)
|
||||
- [DeleteVpcRequest](docs/DeleteVpcRequest.md)
|
||||
- [DeleteVpcResponse](docs/DeleteVpcResponse.md)
|
||||
- [GetNatGatewayInstanceDetailRequest](docs/GetNatGatewayInstanceDetailRequest.md)
|
||||
- [GetNatGatewayInstanceDetailResponse](docs/GetNatGatewayInstanceDetailResponse.md)
|
||||
- [GetNatGatewayInstanceListRequest](docs/GetNatGatewayInstanceListRequest.md)
|
||||
- [GetNatGatewayInstanceListResponse](docs/GetNatGatewayInstanceListResponse.md)
|
||||
- [GetNetworkAclDetailRequest](docs/GetNetworkAclDetailRequest.md)
|
||||
- [GetNetworkAclDetailResponse](docs/GetNetworkAclDetailResponse.md)
|
||||
- [GetNetworkAclListRequest](docs/GetNetworkAclListRequest.md)
|
||||
- [GetNetworkAclListResponse](docs/GetNetworkAclListResponse.md)
|
||||
- [GetNetworkAclRuleListRequest](docs/GetNetworkAclRuleListRequest.md)
|
||||
- [GetNetworkAclRuleListResponse](docs/GetNetworkAclRuleListResponse.md)
|
||||
- [GetRouteListRequest](docs/GetRouteListRequest.md)
|
||||
- [GetRouteListResponse](docs/GetRouteListResponse.md)
|
||||
- [GetRouteTableDetailRequest](docs/GetRouteTableDetailRequest.md)
|
||||
- [GetRouteTableDetailResponse](docs/GetRouteTableDetailResponse.md)
|
||||
- [GetRouteTableListRequest](docs/GetRouteTableListRequest.md)
|
||||
- [GetRouteTableListResponse](docs/GetRouteTableListResponse.md)
|
||||
- [GetRouteTableSubnetListRequest](docs/GetRouteTableSubnetListRequest.md)
|
||||
- [GetRouteTableSubnetListResponse](docs/GetRouteTableSubnetListResponse.md)
|
||||
- [GetSubnetDetailRequest](docs/GetSubnetDetailRequest.md)
|
||||
- [GetSubnetDetailResponse](docs/GetSubnetDetailResponse.md)
|
||||
- [GetSubnetListRequest](docs/GetSubnetListRequest.md)
|
||||
- [GetSubnetListResponse](docs/GetSubnetListResponse.md)
|
||||
- [GetVpcDetailRequest](docs/GetVpcDetailRequest.md)
|
||||
- [GetVpcDetailResponse](docs/GetVpcDetailResponse.md)
|
||||
- [GetVpcListRequest](docs/GetVpcListRequest.md)
|
||||
- [GetVpcListResponse](docs/GetVpcListResponse.md)
|
||||
- [GetVpcPeeringInstanceDetailRequest](docs/GetVpcPeeringInstanceDetailRequest.md)
|
||||
- [GetVpcPeeringInstanceDetailResponse](docs/GetVpcPeeringInstanceDetailResponse.md)
|
||||
- [GetVpcPeeringInstanceListRequest](docs/GetVpcPeeringInstanceListRequest.md)
|
||||
- [GetVpcPeeringInstanceListResponse](docs/GetVpcPeeringInstanceListResponse.md)
|
||||
- [NatGatewayInstance](docs/NatGatewayInstance.md)
|
||||
- [NetworkAcl](docs/NetworkAcl.md)
|
||||
- [NetworkAclRule](docs/NetworkAclRule.md)
|
||||
- [RemoveNetworkAclInboundRuleRequest](docs/RemoveNetworkAclInboundRuleRequest.md)
|
||||
- [RemoveNetworkAclInboundRuleResponse](docs/RemoveNetworkAclInboundRuleResponse.md)
|
||||
- [RemoveNetworkAclOutboundRuleRequest](docs/RemoveNetworkAclOutboundRuleRequest.md)
|
||||
- [RemoveNetworkAclOutboundRuleResponse](docs/RemoveNetworkAclOutboundRuleResponse.md)
|
||||
- [RemoveNetworkAclRuleParameter](docs/RemoveNetworkAclRuleParameter.md)
|
||||
- [RemoveRouteRequest](docs/RemoveRouteRequest.md)
|
||||
- [RemoveRouteResponse](docs/RemoveRouteResponse.md)
|
||||
- [RemoveRouteTableSubnetRequest](docs/RemoveRouteTableSubnetRequest.md)
|
||||
- [RemoveRouteTableSubnetResponse](docs/RemoveRouteTableSubnetResponse.md)
|
||||
- [Route](docs/Route.md)
|
||||
- [RouteParameter](docs/RouteParameter.md)
|
||||
- [RouteTable](docs/RouteTable.md)
|
||||
- [SetNatGatewayDescriptionRequest](docs/SetNatGatewayDescriptionRequest.md)
|
||||
- [SetNatGatewayDescriptionResponse](docs/SetNatGatewayDescriptionResponse.md)
|
||||
- [SetNetworkAclDescriptionRequest](docs/SetNetworkAclDescriptionRequest.md)
|
||||
- [SetNetworkAclDescriptionResponse](docs/SetNetworkAclDescriptionResponse.md)
|
||||
- [SetRouteTableDescriptionRequest](docs/SetRouteTableDescriptionRequest.md)
|
||||
- [SetRouteTableDescriptionResponse](docs/SetRouteTableDescriptionResponse.md)
|
||||
- [SetSubnetNetworkAclRequest](docs/SetSubnetNetworkAclRequest.md)
|
||||
- [SetSubnetNetworkAclResponse](docs/SetSubnetNetworkAclResponse.md)
|
||||
- [SetVpcPeeringDescriptionRequest](docs/SetVpcPeeringDescriptionRequest.md)
|
||||
- [SetVpcPeeringDescriptionResponse](docs/SetVpcPeeringDescriptionResponse.md)
|
||||
- [Subnet](docs/Subnet.md)
|
||||
- [Vpc](docs/Vpc.md)
|
||||
- [VpcPeeringInstance](docs/VpcPeeringInstance.md)
|
||||
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/accept_or_reject_vpc_peering_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/accept_or_reject_vpc_peering_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AcceptOrRejectVpcPeeringRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPCPeering인스턴스번호
|
||||
VpcPeeringInstanceNo *string `json:"vpcPeeringInstanceNo"`
|
||||
|
||||
// 수락여부
|
||||
IsAccept *bool `json:"isAccept"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/accept_or_reject_vpc_peering_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/accept_or_reject_vpc_peering_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AcceptOrRejectVpcPeeringResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcPeeringInstanceList []*VpcPeeringInstance `json:"vpcPeeringInstanceList,omitempty"`
|
||||
}
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_inbound_rule_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_inbound_rule_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddNetworkAclInboundRuleRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo"`
|
||||
|
||||
// 네트워크ACLRule리스트
|
||||
NetworkAclRuleList []*AddNetworkAclRuleParameter `json:"networkAclRuleList"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_inbound_rule_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_inbound_rule_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddNetworkAclInboundRuleResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclRuleList []*NetworkAclRule `json:"networkAclRuleList,omitempty"`
|
||||
}
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_outbound_rule_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_outbound_rule_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddNetworkAclOutboundRuleRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo"`
|
||||
|
||||
// 네트워크ACLRule리스트
|
||||
NetworkAclRuleList []*AddNetworkAclRuleParameter `json:"networkAclRuleList"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_outbound_rule_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_outbound_rule_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddNetworkAclOutboundRuleResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclRuleList []*NetworkAclRule `json:"networkAclRuleList,omitempty"`
|
||||
}
|
30
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_rule_parameter.go
generated
vendored
Normal file
30
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_network_acl_rule_parameter.go
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddNetworkAclRuleParameter struct {
|
||||
|
||||
// 네트워크ACLRule설명
|
||||
NetworkAclRuleDescription *string `json:"networkAclRuleDescription,omitempty"`
|
||||
|
||||
// IP블록
|
||||
IpBlock *string `json:"ipBlock"`
|
||||
|
||||
// Rule액션코드
|
||||
RuleActionCode *string `json:"ruleActionCode"`
|
||||
|
||||
// 포트범위
|
||||
PortRange *string `json:"portRange,omitempty"`
|
||||
|
||||
// 우선순위
|
||||
Priority *int32 `json:"priority"`
|
||||
|
||||
// 프로토콜유형코드
|
||||
ProtocolTypeCode *string `json:"protocolTypeCode"`
|
||||
}
|
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_route_request.go
generated
vendored
Normal file
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_route_request.go
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddRouteRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트리스트
|
||||
RouteList []*RouteParameter `json:"routeList"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_route_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_route_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddRouteResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
RouteList []*Route `json:"routeList,omitempty"`
|
||||
}
|
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_route_table_subnet_request.go
generated
vendored
Normal file
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_route_table_subnet_request.go
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddRouteTableSubnetRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo"`
|
||||
|
||||
// 서브넷번호리스트
|
||||
SubnetNoList []*string `json:"subnetNoList"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_route_table_subnet_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/add_route_table_subnet_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type AddRouteTableSubnetResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
SubnetList []*Subnet `json:"subnetList,omitempty"`
|
||||
}
|
450
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/api_client.go
generated
vendored
Normal file
450
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/api_client.go
generated
vendored
Normal file
|
@ -0,0 +1,450 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"crypto"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"mime/multipart"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
"unicode"
|
||||
"unicode/utf8"
|
||||
|
||||
"github.com/NaverCloudPlatform/ncloud-sdk-go-v2/hmac"
|
||||
"github.com/NaverCloudPlatform/ncloud-sdk-go-v2/ncloud"
|
||||
)
|
||||
|
||||
var (
|
||||
jsonCheck = regexp.MustCompile("(?i:[application|text]/json)")
|
||||
xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)")
|
||||
)
|
||||
|
||||
// APIClient manages communication with the vpc API v2020-09-17T10:29:55Z
|
||||
// In most cases there should be only one, shared, APIClient.
|
||||
type APIClient struct {
|
||||
cfg *ncloud.Configuration
|
||||
common service // Reuse a single struct instead of allocating one for each service on the heap.
|
||||
|
||||
// API Services
|
||||
V2Api *V2ApiService
|
||||
}
|
||||
|
||||
type service struct {
|
||||
client *APIClient
|
||||
}
|
||||
|
||||
// NewAPIClient creates a new API client. Requires a userAgent string describing your application.
|
||||
// optionally a custom http.Client to allow for advanced features such as caching.
|
||||
func NewAPIClient(cfg *ncloud.Configuration) *APIClient {
|
||||
if cfg.HTTPClient == nil {
|
||||
cfg.HTTPClient = http.DefaultClient
|
||||
}
|
||||
|
||||
c := &APIClient{}
|
||||
c.cfg = cfg
|
||||
c.common.client = c
|
||||
|
||||
// API Services
|
||||
c.V2Api = (*V2ApiService)(&c.common)
|
||||
|
||||
return c
|
||||
}
|
||||
|
||||
func atoi(in string) (int, error) {
|
||||
return strconv.Atoi(in)
|
||||
}
|
||||
|
||||
// selectHeaderContentType select a content type from the available list.
|
||||
func selectHeaderContentType(contentTypes []string) string {
|
||||
if len(contentTypes) == 0 {
|
||||
return ""
|
||||
}
|
||||
if contains(contentTypes, "application/json") {
|
||||
return "application/json"
|
||||
}
|
||||
return contentTypes[0] // use the first content type specified in 'consumes'
|
||||
}
|
||||
|
||||
// selectHeaderAccept join all accept types and return
|
||||
func selectHeaderAccept(accepts []string) string {
|
||||
if len(accepts) == 0 {
|
||||
return ""
|
||||
}
|
||||
|
||||
if contains(accepts, "application/json") {
|
||||
return "application/json"
|
||||
}
|
||||
|
||||
return strings.Join(accepts, ",")
|
||||
}
|
||||
|
||||
// contains is a case insenstive match, finding needle in a haystack
|
||||
func contains(haystack []string, needle string) bool {
|
||||
for _, a := range haystack {
|
||||
if strings.ToLower(a) == strings.ToLower(needle) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Verify optional parameters are of the correct type.
|
||||
func typeCheckParameter(obj interface{}, expected string, name string) error {
|
||||
// Make sure there is an object.
|
||||
if obj == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Check the type is as expected.
|
||||
if reflect.TypeOf(obj).String() != expected {
|
||||
return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String())
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// parameterToString convert interface{} parameters to string, using a delimiter if format is provided.
|
||||
func parameterToString(obj interface{}, collectionFormat string) string {
|
||||
var delimiter string
|
||||
|
||||
switch collectionFormat {
|
||||
case "pipes":
|
||||
delimiter = "|"
|
||||
case "ssv":
|
||||
delimiter = " "
|
||||
case "tsv":
|
||||
delimiter = "\t"
|
||||
case "csv":
|
||||
delimiter = ","
|
||||
}
|
||||
|
||||
if reflect.TypeOf(obj).Kind() == reflect.Slice {
|
||||
return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]")
|
||||
}
|
||||
|
||||
return fmt.Sprintf("%v", obj)
|
||||
}
|
||||
|
||||
// callAPI do the request.
|
||||
func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) {
|
||||
return c.cfg.HTTPClient.Do(request)
|
||||
}
|
||||
|
||||
// Change base path to allow switching to mocks
|
||||
func (c *APIClient) ChangeBasePath(path string) {
|
||||
c.cfg.BasePath = path
|
||||
}
|
||||
|
||||
// prepareRequest build the request
|
||||
func (c *APIClient) prepareRequest(
|
||||
path string,
|
||||
method string,
|
||||
postBody interface{},
|
||||
headerParams map[string]string,
|
||||
queryParams url.Values,
|
||||
formParams url.Values,
|
||||
fileName string,
|
||||
fileBytes []byte) (localVarRequest *http.Request, err error) {
|
||||
|
||||
var body *bytes.Buffer
|
||||
|
||||
// Detect postBody type and post.
|
||||
if postBody != nil {
|
||||
contentType := headerParams["Content-Type"]
|
||||
if contentType == "" {
|
||||
contentType = detectContentType(postBody)
|
||||
headerParams["Content-Type"] = contentType
|
||||
}
|
||||
|
||||
body, err = setBody(postBody, contentType)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
// add form parameters and file if available.
|
||||
if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") {
|
||||
if body != nil {
|
||||
return nil, errors.New("Cannot specify postBody and multipart form at the same time.")
|
||||
}
|
||||
body = &bytes.Buffer{}
|
||||
w := multipart.NewWriter(body)
|
||||
|
||||
for k, v := range formParams {
|
||||
for _, iv := range v {
|
||||
if strings.HasPrefix(k, "@") { // file
|
||||
err = addFile(w, k[1:], iv)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
} else { // form value
|
||||
w.WriteField(k, iv)
|
||||
}
|
||||
}
|
||||
}
|
||||
if len(fileBytes) > 0 && fileName != "" {
|
||||
w.Boundary()
|
||||
//_, fileNm := filepath.Split(fileName)
|
||||
part, err := w.CreateFormFile("file", filepath.Base(fileName))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
_, err = part.Write(fileBytes)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// Set the Boundary in the Content-Type
|
||||
headerParams["Content-Type"] = w.FormDataContentType()
|
||||
}
|
||||
|
||||
// Set Content-Length
|
||||
headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len())
|
||||
w.Close()
|
||||
}
|
||||
|
||||
// Setup path and query parameters
|
||||
url, err := url.Parse(path)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Adding Query Param
|
||||
query := url.Query()
|
||||
for k, v := range queryParams {
|
||||
for _, iv := range v {
|
||||
query.Add(k, iv)
|
||||
}
|
||||
}
|
||||
|
||||
// Encode the parameters.
|
||||
url.RawQuery = query.Encode()
|
||||
|
||||
// Generate a new request
|
||||
if body != nil {
|
||||
localVarRequest, err = http.NewRequest(method, url.String(), body)
|
||||
} else {
|
||||
localVarRequest, err = http.NewRequest(method, url.String(), nil)
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// add header parameters, if any
|
||||
if len(headerParams) > 0 {
|
||||
headers := http.Header{}
|
||||
for h, v := range headerParams {
|
||||
headers.Set(h, v)
|
||||
}
|
||||
localVarRequest.Header = headers
|
||||
}
|
||||
|
||||
// Override request host, if applicable
|
||||
if c.cfg.Host != "" {
|
||||
localVarRequest.Host = c.cfg.Host
|
||||
}
|
||||
|
||||
// Add the user agent to the request.
|
||||
localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent)
|
||||
|
||||
// APIKey Authentication
|
||||
if auth := c.cfg.APIKey; auth != nil {
|
||||
timestamp := strconv.FormatInt(time.Now().UnixNano()/int64(time.Millisecond), 10)
|
||||
signer := hmac.NewSigner(auth.SecretKey, crypto.SHA256)
|
||||
signature, _ := signer.Sign(method, path, auth.AccessKey, timestamp)
|
||||
|
||||
localVarRequest.Header.Add("x-ncp-apigw-timestamp", timestamp)
|
||||
localVarRequest.Header.Add("x-ncp-iam-access-key", auth.AccessKey)
|
||||
localVarRequest.Header.Add("x-ncp-apigw-signature-v1", signature)
|
||||
}
|
||||
|
||||
for header, value := range c.cfg.DefaultHeader {
|
||||
localVarRequest.Header.Add(header, value)
|
||||
}
|
||||
|
||||
return localVarRequest, nil
|
||||
}
|
||||
|
||||
// Add a file to the multipart request
|
||||
func addFile(w *multipart.Writer, fieldName, path string) error {
|
||||
file, err := os.Open(path)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer file.Close()
|
||||
|
||||
part, err := w.CreateFormFile(fieldName, filepath.Base(path))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_, err = io.Copy(part, file)
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
// Prevent trying to import "fmt"
|
||||
func reportError(format string, a ...interface{}) error {
|
||||
return fmt.Errorf(format, a...)
|
||||
}
|
||||
|
||||
func toLowerFirstChar(s string) string {
|
||||
a := []rune(s)
|
||||
a[0] = unicode.ToLower(a[0])
|
||||
return string(a)
|
||||
}
|
||||
|
||||
// Set request body from an interface{}
|
||||
func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) {
|
||||
if bodyBuf == nil {
|
||||
bodyBuf = &bytes.Buffer{}
|
||||
}
|
||||
|
||||
bodyBuf.WriteString("responseFormatType=json")
|
||||
s := reflect.ValueOf(body).Elem()
|
||||
bodyBuf.WriteString(buildQueryString(s, ""))
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if bodyBuf.Len() == 0 {
|
||||
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"
|
||||
kind := reflect.TypeOf(body).Kind()
|
||||
|
||||
switch kind {
|
||||
case reflect.Struct, reflect.Map, reflect.Ptr:
|
||||
contentType = "application/json; charset=utf-8"
|
||||
case reflect.String:
|
||||
contentType = "text/plain; charset=utf-8"
|
||||
default:
|
||||
if b, ok := body.([]byte); ok {
|
||||
contentType = http.DetectContentType(b)
|
||||
} else if kind == reflect.Slice {
|
||||
contentType = "application/json; charset=utf-8"
|
||||
}
|
||||
}
|
||||
|
||||
return contentType
|
||||
}
|
||||
|
||||
// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go
|
||||
type cacheControl map[string]string
|
||||
|
||||
func parseCacheControl(headers http.Header) cacheControl {
|
||||
cc := cacheControl{}
|
||||
ccHeader := headers.Get("Cache-Control")
|
||||
for _, part := range strings.Split(ccHeader, ",") {
|
||||
part = strings.Trim(part, " ")
|
||||
if part == "" {
|
||||
continue
|
||||
}
|
||||
if strings.ContainsRune(part, '=') {
|
||||
keyval := strings.Split(part, "=")
|
||||
cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",")
|
||||
} else {
|
||||
cc[part] = ""
|
||||
}
|
||||
}
|
||||
return cc
|
||||
}
|
||||
|
||||
// CacheExpires helper function to determine remaining time before repeating a request.
|
||||
func CacheExpires(r *http.Response) time.Time {
|
||||
// Figure out when the cache expires.
|
||||
var expires time.Time
|
||||
now, err := time.Parse(time.RFC1123, r.Header.Get("date"))
|
||||
if err != nil {
|
||||
return time.Now()
|
||||
}
|
||||
respCacheControl := parseCacheControl(r.Header)
|
||||
|
||||
if maxAge, ok := respCacheControl["max-age"]; ok {
|
||||
lifetime, err := time.ParseDuration(maxAge + "s")
|
||||
if err != nil {
|
||||
expires = now
|
||||
}
|
||||
expires = now.Add(lifetime)
|
||||
} else {
|
||||
expiresHeader := r.Header.Get("Expires")
|
||||
if expiresHeader != "" {
|
||||
expires, err = time.Parse(time.RFC1123, expiresHeader)
|
||||
if err != nil {
|
||||
expires = now
|
||||
}
|
||||
}
|
||||
}
|
||||
return expires
|
||||
}
|
||||
|
||||
func strlen(s string) int {
|
||||
return utf8.RuneCountInString(s)
|
||||
}
|
42
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/api_response.go
generated
vendored
Normal file
42
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/api_response.go
generated
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
type APIResponse struct {
|
||||
*http.Response `json:"-"`
|
||||
Message string `json:"message,omitempty"`
|
||||
// Operation is the name of the swagger operation.
|
||||
Operation string `json:"operation,omitempty"`
|
||||
// RequestURL is the request URL. This value is always available, even if the
|
||||
// embedded *http.Response is nil.
|
||||
RequestURL string `json:"url,omitempty"`
|
||||
// Method is the HTTP method used for the request. This value is always
|
||||
// available, even if the embedded *http.Response is nil.
|
||||
Method string `json:"method,omitempty"`
|
||||
// Payload holds the contents of the response body (which may be nil or empty).
|
||||
// This is provided here as the raw response.Body() reader will have already
|
||||
// been drained.
|
||||
Payload []byte `json:"-"`
|
||||
}
|
||||
|
||||
func NewAPIResponse(r *http.Response) *APIResponse {
|
||||
|
||||
response := &APIResponse{Response: r}
|
||||
return response
|
||||
}
|
||||
|
||||
func NewAPIResponseWithError(errorMessage string) *APIResponse {
|
||||
|
||||
response := &APIResponse{Message: errorMessage}
|
||||
return response
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/common_code.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/common_code.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CommonCode struct {
|
||||
|
||||
// 코드
|
||||
Code *string `json:"code,omitempty"`
|
||||
|
||||
// 코드명
|
||||
CodeName *string `json:"codeName,omitempty"`
|
||||
}
|
37
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/configuration.go
generated
vendored
Normal file
37
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/configuration.go
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
import (
|
||||
"github.com/NaverCloudPlatform/ncloud-sdk-go-v2/ncloud"
|
||||
"os"
|
||||
)
|
||||
|
||||
// contextKeys are used to identify the type of value in the context.
|
||||
// Since these are string, it is possible to get a short description of the
|
||||
// context key for logging and debugging using key.String().
|
||||
|
||||
type contextKey string
|
||||
|
||||
func (c contextKey) String() string {
|
||||
return "auth " + string(c)
|
||||
}
|
||||
|
||||
func NewConfiguration(apiKey *ncloud.APIKey) *ncloud.Configuration {
|
||||
cfg := &ncloud.Configuration{
|
||||
BasePath: "https://ncloud.apigw.ntruss.com/vpc/v2",
|
||||
DefaultHeader: make(map[string]string),
|
||||
UserAgent: "vpc/1.0.0/go",
|
||||
APIKey: apiKey,
|
||||
}
|
||||
if os.Getenv("NCLOUD_API_GW") != "" {
|
||||
cfg.BasePath = os.Getenv("NCLOUD_API_GW") + "/vpc/v2"
|
||||
}
|
||||
return cfg
|
||||
}
|
27
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_nat_gateway_instance_request.go
generated
vendored
Normal file
27
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_nat_gateway_instance_request.go
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateNatGatewayInstanceRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// NATGateway설명
|
||||
NatGatewayDescription *string `json:"natGatewayDescription,omitempty"`
|
||||
|
||||
// NATGateway이름
|
||||
NatGatewayName *string `json:"natGatewayName,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
|
||||
// ZONE코드
|
||||
ZoneCode *string `json:"zoneCode"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_nat_gateway_instance_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_nat_gateway_instance_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateNatGatewayInstanceResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NatGatewayInstanceList []*NatGatewayInstance `json:"natGatewayInstanceList,omitempty"`
|
||||
}
|
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_network_acl_request.go
generated
vendored
Normal file
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_network_acl_request.go
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateNetworkAclRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL설명
|
||||
NetworkAclDescription *string `json:"networkAclDescription,omitempty"`
|
||||
|
||||
// 네트워크ACL이름
|
||||
NetworkAclName *string `json:"networkAclName,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_network_acl_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_network_acl_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateNetworkAclResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclList []*NetworkAcl `json:"networkAclList,omitempty"`
|
||||
}
|
27
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_route_table_request.go
generated
vendored
Normal file
27
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_route_table_request.go
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateRouteTableRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트테이블설명
|
||||
RouteTableDescription *string `json:"routeTableDescription,omitempty"`
|
||||
|
||||
// 지원하는서브넷유형코드
|
||||
SupportedSubnetTypeCode *string `json:"supportedSubnetTypeCode"`
|
||||
|
||||
// 라우트테이블이름
|
||||
RouteTableName *string `json:"routeTableName,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_route_table_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_route_table_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateRouteTableResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
RouteTableList []*RouteTable `json:"routeTableList,omitempty"`
|
||||
}
|
36
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_subnet_request.go
generated
vendored
Normal file
36
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_subnet_request.go
generated
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateSubnetRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 서브넷유형코드
|
||||
SubnetTypeCode *string `json:"subnetTypeCode"`
|
||||
|
||||
// 용도유형코드
|
||||
UsageTypeCode *string `json:"usageTypeCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo"`
|
||||
|
||||
// 서브넷
|
||||
Subnet *string `json:"subnet"`
|
||||
|
||||
// 서브넷이름
|
||||
SubnetName *string `json:"subnetName,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
|
||||
// ZONE코드
|
||||
ZoneCode *string `json:"zoneCode"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_subnet_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_subnet_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateSubnetResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
SubnetList []*Subnet `json:"subnetList,omitempty"`
|
||||
}
|
33
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_vpc_peering_instance_request.go
generated
vendored
Normal file
33
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_vpc_peering_instance_request.go
generated
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateVpcPeeringInstanceRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPCPeering설명
|
||||
VpcPeeringDescription *string `json:"vpcPeeringDescription,omitempty"`
|
||||
|
||||
// 요청VPC번호
|
||||
SourceVpcNo *string `json:"sourceVpcNo"`
|
||||
|
||||
// 수락VPC소유자ID
|
||||
TargetVpcLoginId *string `json:"targetVpcLoginId,omitempty"`
|
||||
|
||||
// 수락VPC이름
|
||||
TargetVpcName *string `json:"targetVpcName,omitempty"`
|
||||
|
||||
// 수락VPC번호
|
||||
TargetVpcNo *string `json:"targetVpcNo"`
|
||||
|
||||
// VPCPeering이름
|
||||
VpcPeeringName *string `json:"vpcPeeringName,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_vpc_peering_instance_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_vpc_peering_instance_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateVpcPeeringInstanceResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcPeeringInstanceList []*VpcPeeringInstance `json:"vpcPeeringInstanceList,omitempty"`
|
||||
}
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_vpc_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_vpc_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateVpcRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// IPv4 CIDR블록
|
||||
Ipv4CidrBlock *string `json:"ipv4CidrBlock"`
|
||||
|
||||
// VPC이름
|
||||
VpcName *string `json:"vpcName,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_vpc_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/create_vpc_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type CreateVpcResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcList []*Vpc `json:"vpcList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_nat_gateway_instance_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_nat_gateway_instance_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteNatGatewayInstanceRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// NATGateway인스턴스번호
|
||||
NatGatewayInstanceNo *string `json:"natGatewayInstanceNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_nat_gateway_instance_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_nat_gateway_instance_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteNatGatewayInstanceResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NatGatewayInstanceList []*NatGatewayInstance `json:"natGatewayInstanceList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_network_acl_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_network_acl_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteNetworkAclRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_network_acl_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_network_acl_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteNetworkAclResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclList []*NetworkAcl `json:"networkAclList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_route_table_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_route_table_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteRouteTableRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_route_table_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_route_table_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteRouteTableResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
RouteTableList []*RouteTable `json:"routeTableList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_subnet_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_subnet_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteSubnetRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 서브넷번호
|
||||
SubnetNo *string `json:"subnetNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_subnet_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_subnet_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteSubnetResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
SubnetList []*Subnet `json:"subnetList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_vpc_peering_instance_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_vpc_peering_instance_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteVpcPeeringInstanceRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPCPeering인스턴스번호
|
||||
VpcPeeringInstanceNo *string `json:"vpcPeeringInstanceNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_vpc_peering_instance_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_vpc_peering_instance_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteVpcPeeringInstanceResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcPeeringInstanceList []*VpcPeeringInstance `json:"vpcPeeringInstanceList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_vpc_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_vpc_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteVpcRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_vpc_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/delete_vpc_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type DeleteVpcResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcList []*Vpc `json:"VpcList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_nat_gateway_instance_detail_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_nat_gateway_instance_detail_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNatGatewayInstanceDetailRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// NATGatway인스턴스번호
|
||||
NatGatewayInstanceNo *string `json:"natGatewayInstanceNo,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_nat_gateway_instance_detail_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_nat_gateway_instance_detail_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNatGatewayInstanceDetailResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NatGatewayInstanceList []*NatGatewayInstance `json:"natGatewayInstanceList,omitempty"`
|
||||
}
|
39
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_nat_gateway_instance_list_request.go
generated
vendored
Normal file
39
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_nat_gateway_instance_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNatGatewayInstanceListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// ZONE코드
|
||||
ZoneCode *string `json:"zoneCode,omitempty"`
|
||||
|
||||
// NATGateway인스턴스번호리스트
|
||||
NatGatewayInstanceNoList []*string `json:"natGatewayInstanceNoList,omitempty"`
|
||||
|
||||
// 공인IP주소
|
||||
PublicIp *string `json:"publicIp,omitempty"`
|
||||
|
||||
// VPC이름
|
||||
VpcName *string `json:"vpcName,omitempty"`
|
||||
|
||||
// natGatewayName
|
||||
NatGatewayName *string `json:"natGatewayName,omitempty"`
|
||||
|
||||
// NATGateway인스턴스상태코드
|
||||
NatGatewayInstanceStatusCode *string `json:"natGatewayInstanceStatusCode,omitempty"`
|
||||
|
||||
// 페이지번호
|
||||
PageNo *int32 `json:"pageNo,omitempty"`
|
||||
|
||||
// 페이지사이즈
|
||||
PageSize *int32 `json:"pageSize,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_nat_gateway_instance_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_nat_gateway_instance_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNatGatewayInstanceListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NatGatewayInstanceList []*NatGatewayInstance `json:"natGatewayInstanceList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_detail_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_detail_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNetworkAclDetailRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_detail_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_detail_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNetworkAclDetailResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclList []*NetworkAcl `json:"networkAclList,omitempty"`
|
||||
}
|
33
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_list_request.go
generated
vendored
Normal file
33
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNetworkAclListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL이름
|
||||
NetworkAclName *string `json:"networkAclName,omitempty"`
|
||||
|
||||
// 네트워크ACL상태코드
|
||||
NetworkAclStatusCode *string `json:"networkAclStatusCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호리스트
|
||||
NetworkAclNoList []*string `json:"networkAclNoList,omitempty"`
|
||||
|
||||
// 페이지번호
|
||||
PageNo *int32 `json:"pageNo,omitempty"`
|
||||
|
||||
// 페이지사이즈
|
||||
PageSize *int32 `json:"pageSize,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNetworkAclListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclList []*NetworkAcl `json:"networkAclList,omitempty"`
|
||||
}
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_rule_list_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_rule_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNetworkAclRuleListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo"`
|
||||
|
||||
// 네트워크ACLRule유형코드
|
||||
NetworkAclRuleTypeCode *string `json:"networkAclRuleTypeCode,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_rule_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_network_acl_rule_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetNetworkAclRuleListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclRuleList []*NetworkAclRule `json:"networkAclRuleList,omitempty"`
|
||||
}
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_list_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetRouteListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetRouteListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
RouteList []*Route `json:"routeList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_detail_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_detail_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetRouteTableDetailRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_detail_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_detail_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetRouteTableDetailResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
RouteTableList []*RouteTable `json:"routeTableList,omitempty"`
|
||||
}
|
39
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_list_request.go
generated
vendored
Normal file
39
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetRouteTableListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트테이블번호리스트
|
||||
RouteTableNoList []*string `json:"routeTableNoList,omitempty"`
|
||||
|
||||
// 라우트테이블이름
|
||||
RouteTableName *string `json:"routeTableName,omitempty"`
|
||||
|
||||
// 지원하는서브넷유형코드
|
||||
SupportedSubnetTypeCode *string `json:"supportedSubnetTypeCode,omitempty"`
|
||||
|
||||
// 페이지번호
|
||||
PageNo *int32 `json:"pageNo,omitempty"`
|
||||
|
||||
// 페이지사이즈
|
||||
PageSize *int32 `json:"pageSize,omitempty"`
|
||||
|
||||
// 정렬대상
|
||||
SortedBy *string `json:"sortedBy,omitempty"`
|
||||
|
||||
// 정렬순서
|
||||
SortingOrder *string `json:"sortingOrder,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetRouteTableListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
RouteTableList []*RouteTable `json:"routeTableList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_subnet_list_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_subnet_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetRouteTableSubnetListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_subnet_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_route_table_subnet_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetRouteTableSubnetListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
SubnetList []*Subnet `json:"subnetList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_subnet_detail_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_subnet_detail_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetSubnetDetailRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 서브넷번호
|
||||
SubnetNo *string `json:"subnetNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_subnet_detail_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_subnet_detail_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetSubnetDetailResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
SubnetList []*Subnet `json:"subnetList,omitempty"`
|
||||
}
|
45
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_subnet_list_request.go
generated
vendored
Normal file
45
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_subnet_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetSubnetListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 서브넷번호리스트
|
||||
SubnetNoList []*string `json:"subnetNoList,omitempty"`
|
||||
|
||||
// 서브넷
|
||||
Subnet *string `json:"subnet,omitempty"`
|
||||
|
||||
// 서브넷유형코드
|
||||
SubnetTypeCode *string `json:"subnetTypeCode,omitempty"`
|
||||
|
||||
// 용도유형코드
|
||||
UsageTypeCode *string `json:"usageTypeCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo,omitempty"`
|
||||
|
||||
// 페이지번호
|
||||
PageNo *int32 `json:"pageNo,omitempty"`
|
||||
|
||||
// 페이지사이즈
|
||||
PageSize *int32 `json:"pageSize,omitempty"`
|
||||
|
||||
// 서브넷상태코드
|
||||
SubnetStatusCode *string `json:"subnetStatusCode,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo,omitempty"`
|
||||
|
||||
// ZONE코드
|
||||
ZoneCode *string `json:"zoneCode,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_subnet_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_subnet_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetSubnetListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
SubnetList []*Subnet `json:"subnetList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_detail_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_detail_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetVpcDetailRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_detail_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_detail_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetVpcDetailResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcList []*Vpc `json:"vpcList,omitempty"`
|
||||
}
|
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_list_request.go
generated
vendored
Normal file
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetVpcListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPC이름
|
||||
VpcName *string `json:"vpcName,omitempty"`
|
||||
|
||||
// VPC상태코드
|
||||
VpcStatusCode *string `json:"vpcStatusCode,omitempty"`
|
||||
|
||||
// VPC번호리스트
|
||||
VpcNoList []*string `json:"vpcNoList,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetVpcListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcList []*Vpc `json:"vpcList,omitempty"`
|
||||
}
|
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_peering_instance_detail_request.go
generated
vendored
Normal file
18
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_peering_instance_detail_request.go
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetVpcPeeringInstanceDetailRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPCPeering인스턴스번호
|
||||
VpcPeeringInstanceNo *string `json:"vpcPeeringInstanceNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_peering_instance_detail_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_peering_instance_detail_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetVpcPeeringInstanceDetailResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcPeeringInstanceList []*VpcPeeringInstance `json:"vpcPeeringInstanceList,omitempty"`
|
||||
}
|
42
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_peering_instance_list_request.go
generated
vendored
Normal file
42
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_peering_instance_list_request.go
generated
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetVpcPeeringInstanceListRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPCPeering인스턴스번호리스트
|
||||
VpcPeeringInstanceNoList []*string `json:"vpcPeeringInstanceNoList,omitempty"`
|
||||
|
||||
// 요청VPC이름
|
||||
SourceVpcName *string `json:"sourceVpcName,omitempty"`
|
||||
|
||||
// VPCPeering이름
|
||||
VpcPeeringName *string `json:"vpcPeeringName,omitempty"`
|
||||
|
||||
// 수락VPC이름
|
||||
TargetVpcName *string `json:"targetVpcName,omitempty"`
|
||||
|
||||
// VPCPeering인스턴스상태코드
|
||||
VpcPeeringInstanceStatusCode *string `json:"vpcPeeringInstanceStatusCode,omitempty"`
|
||||
|
||||
// 페이지번호
|
||||
PageNo *int32 `json:"pageNo,omitempty"`
|
||||
|
||||
// 페이지사이즈
|
||||
PageSize *int32 `json:"pageSize,omitempty"`
|
||||
|
||||
// 정렬대상
|
||||
SortedBy *string `json:"sortedBy,omitempty"`
|
||||
|
||||
// 정렬순서
|
||||
SortingOrder *string `json:"sortingOrder,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_peering_instance_list_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/get_vpc_peering_instance_list_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type GetVpcPeeringInstanceListResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
VpcPeeringInstanceList []*VpcPeeringInstance `json:"vpcPeeringInstanceList,omitempty"`
|
||||
}
|
45
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/nat_gateway_instance.go
generated
vendored
Normal file
45
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/nat_gateway_instance.go
generated
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type NatGatewayInstance struct {
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo,omitempty"`
|
||||
|
||||
// VPC이름
|
||||
VpcName *string `json:"vpcName,omitempty"`
|
||||
|
||||
// NATGateway인스턴스번호
|
||||
NatGatewayInstanceNo *string `json:"natGatewayInstanceNo,omitempty"`
|
||||
|
||||
// NATGateway이름
|
||||
NatGatewayName *string `json:"natGatewayName,omitempty"`
|
||||
|
||||
// 공인IP주소
|
||||
PublicIp *string `json:"publicIp,omitempty"`
|
||||
|
||||
// NATGateway인스턴스상태
|
||||
NatGatewayInstanceStatus *CommonCode `json:"natGatewayInstanceStatus,omitempty"`
|
||||
|
||||
// NATGateway인스턴스상태이름
|
||||
NatGatewayInstanceStatusName *string `json:"natGatewayInstanceStatusName,omitempty"`
|
||||
|
||||
// NATGateway인스턴스OP
|
||||
NatGatewayInstanceOperation *CommonCode `json:"natGatewayInstanceOperation,omitempty"`
|
||||
|
||||
// 생성일시
|
||||
CreateDate *string `json:"createDate,omitempty"`
|
||||
|
||||
// NATGateway설명
|
||||
NatGatewayDescription *string `json:"natGatewayDescription,omitempty"`
|
||||
|
||||
// ZONE코드
|
||||
ZoneCode *string `json:"zoneCode,omitempty"`
|
||||
}
|
33
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/network_acl.go
generated
vendored
Normal file
33
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/network_acl.go
generated
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type NetworkAcl struct {
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo,omitempty"`
|
||||
|
||||
// 네트워크ACL이름
|
||||
NetworkAclName *string `json:"networkAclName,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo,omitempty"`
|
||||
|
||||
// 네트워크ACL상태
|
||||
NetworkAclStatus *CommonCode `json:"networkAclStatus,omitempty"`
|
||||
|
||||
// 네트워크ACL설명
|
||||
NetworkAclDescription *string `json:"networkAclDescription,omitempty"`
|
||||
|
||||
// 생성일시
|
||||
CreateDate *string `json:"createDate,omitempty"`
|
||||
|
||||
// Default여부
|
||||
IsDefault *bool `json:"isDefault,omitempty"`
|
||||
}
|
39
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/network_acl_rule.go
generated
vendored
Normal file
39
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/network_acl_rule.go
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type NetworkAclRule struct {
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo,omitempty"`
|
||||
|
||||
// 우선순위
|
||||
Priority *int32 `json:"priority,omitempty"`
|
||||
|
||||
// 프로토콜유형
|
||||
ProtocolType *CommonCode `json:"protocolType,omitempty"`
|
||||
|
||||
// 포트범위
|
||||
PortRange *string `json:"portRange,omitempty"`
|
||||
|
||||
// Rule액션
|
||||
RuleAction *CommonCode `json:"ruleAction,omitempty"`
|
||||
|
||||
// 생성일시
|
||||
CreateDate *string `json:"createDate,omitempty"`
|
||||
|
||||
// IP블록
|
||||
IpBlock *string `json:"ipBlock,omitempty"`
|
||||
|
||||
// 네트워크ACLRule유형
|
||||
NetworkAclRuleType *CommonCode `json:"networkAclRuleType,omitempty"`
|
||||
|
||||
// 네트워크ACLRule설명
|
||||
NetworkAclRuleDescription *string `json:"networkAclRuleDescription,omitempty"`
|
||||
}
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_inbound_rule_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_inbound_rule_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveNetworkAclInboundRuleRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo"`
|
||||
|
||||
// 네트워크ACLRule리스트
|
||||
NetworkAclRuleList []*RemoveNetworkAclRuleParameter `json:"networkAclRuleList"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_inbound_rule_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_inbound_rule_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveNetworkAclInboundRuleResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclRuleList []*NetworkAclRule `json:"networkAclRuleList,omitempty"`
|
||||
}
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_outbound_rule_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_outbound_rule_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveNetworkAclOutboundRuleRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 네트워크ACL번호
|
||||
NetworkAclNo *string `json:"networkAclNo"`
|
||||
|
||||
// 네트워크ACLRule리스트
|
||||
NetworkAclRuleList []*RemoveNetworkAclRuleParameter `json:"networkAclRuleList"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_outbound_rule_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_outbound_rule_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveNetworkAclOutboundRuleResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NetworkAclRuleList []*NetworkAclRule `json:"networkAclRuleList,omitempty"`
|
||||
}
|
27
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_rule_parameter.go
generated
vendored
Normal file
27
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_network_acl_rule_parameter.go
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveNetworkAclRuleParameter struct {
|
||||
|
||||
// IP블록
|
||||
IpBlock *string `json:"ipBlock"`
|
||||
|
||||
// Rule액션코드
|
||||
RuleActionCode *string `json:"ruleActionCode"`
|
||||
|
||||
// 포트범위
|
||||
PortRange *string `json:"portRange,omitempty"`
|
||||
|
||||
// 우선순위
|
||||
Priority *int32 `json:"priority"`
|
||||
|
||||
// 프로토콜유형코드
|
||||
ProtocolTypeCode *string `json:"protocolTypeCode"`
|
||||
}
|
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_route_request.go
generated
vendored
Normal file
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_route_request.go
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveRouteRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트리스트
|
||||
RouteList []*RouteParameter `json:"routeList"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_route_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_route_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveRouteResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
RouteList []*Route `json:"routeList,omitempty"`
|
||||
}
|
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_route_table_subnet_request.go
generated
vendored
Normal file
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_route_table_subnet_request.go
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveRouteTableSubnetRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo"`
|
||||
|
||||
// 서브넷번호리스트
|
||||
SubnetNoList []*string `json:"subnetNoList"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_route_table_subnet_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/remove_route_table_subnet_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RemoveRouteTableSubnetResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
SubnetList []*Subnet `json:"subnetList,omitempty"`
|
||||
}
|
30
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/route.go
generated
vendored
Normal file
30
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/route.go
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type Route struct {
|
||||
|
||||
// 목적지CIDR블록
|
||||
DestinationCidrBlock *string `json:"destinationCidrBlock,omitempty"`
|
||||
|
||||
// 목적지이름
|
||||
TargetName *string `json:"targetName,omitempty"`
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo,omitempty"`
|
||||
|
||||
// 목적지유형
|
||||
TargetType *CommonCode `json:"targetType,omitempty"`
|
||||
|
||||
// 목적지번호
|
||||
TargetNo *string `json:"targetNo,omitempty"`
|
||||
|
||||
// Default여부
|
||||
IsDefault *bool `json:"isDefault,omitempty"`
|
||||
}
|
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/route_parameter.go
generated
vendored
Normal file
24
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/route_parameter.go
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RouteParameter struct {
|
||||
|
||||
// 목적지CIDR블록
|
||||
DestinationCidrBlock *string `json:"destinationCidrBlock"`
|
||||
|
||||
// 목적지유형코드
|
||||
TargetTypeCode *string `json:"targetTypeCode"`
|
||||
|
||||
// 목적지번호
|
||||
TargetNo *string `json:"targetNo,omitempty"`
|
||||
|
||||
// 목적지이름
|
||||
TargetName *string `json:"targetName,omitempty"`
|
||||
}
|
36
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/route_table.go
generated
vendored
Normal file
36
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/route_table.go
generated
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type RouteTable struct {
|
||||
|
||||
// 라우트테이블번호
|
||||
RouteTableNo *string `json:"routeTableNo,omitempty"`
|
||||
|
||||
// 라우트테이블이름
|
||||
RouteTableName *string `json:"routeTableName,omitempty"`
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// VPC번호
|
||||
VpcNo *string `json:"vpcNo,omitempty"`
|
||||
|
||||
// 지원하는서브넷유형
|
||||
SupportedSubnetType *CommonCode `json:"supportedSubnetType,omitempty"`
|
||||
|
||||
// Default여부
|
||||
IsDefault *bool `json:"isDefault,omitempty"`
|
||||
|
||||
// 라우트테이블상태
|
||||
RouteTableStatus *CommonCode `json:"routeTableStatus,omitempty"`
|
||||
|
||||
// 라우트테이블설명
|
||||
RouteTableDescription *string `json:"routeTableDescription,omitempty"`
|
||||
}
|
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/set_nat_gateway_description_request.go
generated
vendored
Normal file
21
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/set_nat_gateway_description_request.go
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type SetNatGatewayDescriptionRequest struct {
|
||||
|
||||
// REGION코드
|
||||
RegionCode *string `json:"regionCode,omitempty"`
|
||||
|
||||
// NATGateway인스턴스번호
|
||||
NatGatewayInstanceNo *string `json:"natGatewayInstanceNo"`
|
||||
|
||||
// NATGateway설명
|
||||
NatGatewayDescription *string `json:"natGatewayDescription,omitempty"`
|
||||
}
|
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/set_nat_gateway_description_response.go
generated
vendored
Normal file
22
vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/vpc/set_nat_gateway_description_response.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* vpc
|
||||
*
|
||||
* VPC Network 관련 API<br/>https://ncloud.apigw.ntruss.com/vpc/v2
|
||||
*
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
|
||||
package vpc
|
||||
|
||||
type SetNatGatewayDescriptionResponse struct {
|
||||
|
||||
RequestId *string `json:"requestId,omitempty"`
|
||||
|
||||
ReturnCode *string `json:"returnCode,omitempty"`
|
||||
|
||||
ReturnMessage *string `json:"returnMessage,omitempty"`
|
||||
|
||||
TotalRows *int32 `json:"totalRows,omitempty"`
|
||||
|
||||
NatGatewayInstanceList []*NatGatewayInstance `json:"natGatewayInstanceList,omitempty"`
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue