1// Copyright 2016-2020 The Libsacloud Authors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package sacloud
16
17// SiteToSiteConnectionDetail サイト間VPN接続詳細情報
18type SiteToSiteConnectionDetail struct {
19	ESP struct {
20		AuthenticationProtocol string
21		DHGroup                string
22		EncryptionProtocol     string
23		Lifetime               string
24		Mode                   string
25		PerfectForwardSecrecy  string
26	}
27	IKE struct {
28		AuthenticationProtocol string
29		EncryptionProtocol     string
30		Lifetime               string
31		Mode                   string
32		PerfectForwardSecrecy  string
33		PreSharedSecret        string
34	}
35	Peer struct {
36		ID               string
37		InsideNetworks   []string
38		OutsideIPAddress string
39	}
40	VPCRouter struct {
41		ID               string
42		InsideNetworks   []string
43		OutsideIPAddress string
44	}
45}
46
47// SiteToSiteConnectionInfo サイト間VPN接続情報
48type SiteToSiteConnectionInfo struct {
49	Details struct {
50		Config []SiteToSiteConnectionDetail
51	}
52}
53