Source code for jdcloud_sdk.services.clouddnsservice.models.AddView

# 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 AddView(object): def __init__(self, domainId, domainName, viewName, ipRanges, ): """ :param domainId: 主域名ID,请使用getDomains接口获取 :param domainName: 主域名 :param viewName: 自定义线路名称, 最多64个字符 :param ipRanges: 用户输入的此线路的ip段。 IPv4地址段支持1.2.3.4-5.6.7.8和1.2.3.4/16两种格式。 IPv6地址段支持CIDR格式,例如:11:22:33:44:55::99/64 """ self.domainId = domainId self.domainName = domainName self.viewName = viewName self.ipRanges = ipRanges