Source code for jdcloud_sdk.services.vpc.models.VpcPeering

# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


[docs]class VpcPeering(object): def __init__(self, vpcPeeringId=None, vpcPeeringName=None, vpcPeeringState=None, description=None, vpcInfo=None, azType=None, az=None, remoteVpcInfo=None, createdTime=None): """ :param vpcPeeringId: (Optional) VpcPeering的Id :param vpcPeeringName: (Optional) VpcPeering名称,同账号下不允许重名,取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 :param vpcPeeringState: (Optional) 状态,取值为Connected,Disconnected,Initiated :param description: (Optional) VpcPeering 描述,可为空值,取值范围:0-256个中文、英文大小写的字母、数字和下划线分隔符 :param vpcInfo: (Optional) 发起VpcPeering的Vpc信息 :param azType: (Optional) VPC az类型,取值:standard(标准VPC),edge(边缘VPC) :param az: (Optional) VPC可用区,边缘VPC非空,标准VPC为"" :param remoteVpcInfo: (Optional) 对端的Vpc信息 :param createdTime: (Optional) VpcPeering创建时间 """ self.vpcPeeringId = vpcPeeringId self.vpcPeeringName = vpcPeeringName self.vpcPeeringState = vpcPeeringState self.description = description self.vpcInfo = vpcInfo self.azType = azType self.az = az self.remoteVpcInfo = remoteVpcInfo self.createdTime = createdTime