apis

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBandwidthPackageIPRequest

type AddBandwidthPackageIPRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 共享带宽包ID  */
	BandwidthPackageId string `json:"bandwidthPackageId"`

	/* Ip列表  */
	BandwidthPackageIPSpecs []vpc.AddBandwidthPackageIPSpec `json:"bandwidthPackageIPSpecs"`
}

func NewAddBandwidthPackageIPRequest

func NewAddBandwidthPackageIPRequest(
	regionId string,
	bandwidthPackageId string,
	bandwidthPackageIPSpecs []vpc.AddBandwidthPackageIPSpec,
) *AddBandwidthPackageIPRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * param bandwidthPackageIPSpecs: Ip列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddBandwidthPackageIPRequestWithAllParams

func NewAddBandwidthPackageIPRequestWithAllParams(
	regionId string,
	bandwidthPackageId string,
	bandwidthPackageIPSpecs []vpc.AddBandwidthPackageIPSpec,
) *AddBandwidthPackageIPRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * param bandwidthPackageIPSpecs: Ip列表 (Required)

func NewAddBandwidthPackageIPRequestWithoutParam

func NewAddBandwidthPackageIPRequestWithoutParam() *AddBandwidthPackageIPRequest

This constructor has better compatible ability when API parameters changed

func (AddBandwidthPackageIPRequest) GetRegionId

func (r AddBandwidthPackageIPRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs

func (r *AddBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.AddBandwidthPackageIPSpec)

param bandwidthPackageIPSpecs: Ip列表(Required)

func (*AddBandwidthPackageIPRequest) SetBandwidthPackageId

func (r *AddBandwidthPackageIPRequest) SetBandwidthPackageId(bandwidthPackageId string)

param bandwidthPackageId: 共享带宽包ID(Required)

func (*AddBandwidthPackageIPRequest) SetRegionId

func (r *AddBandwidthPackageIPRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type AddBandwidthPackageIPResponse

type AddBandwidthPackageIPResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    AddBandwidthPackageIPResult `json:"result"`
}

type AddBandwidthPackageIPResult

type AddBandwidthPackageIPResult struct {
}

type AddNetworkAclRulesRequest

type AddNetworkAclRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkAclId ID  */
	NetworkAclId string `json:"networkAclId"`

	/* networkAcl规则列表  */
	NetworkAclRuleSpecs []vpc.AddNetworkAclRuleSpec `json:"networkAclRuleSpecs"`
}

func NewAddNetworkAclRulesRequest

func NewAddNetworkAclRulesRequest(
	regionId string,
	networkAclId string,
	networkAclRuleSpecs []vpc.AddNetworkAclRuleSpec,
) *AddNetworkAclRulesRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param networkAclRuleSpecs: networkAcl规则列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddNetworkAclRulesRequestWithAllParams

func NewAddNetworkAclRulesRequestWithAllParams(
	regionId string,
	networkAclId string,
	networkAclRuleSpecs []vpc.AddNetworkAclRuleSpec,
) *AddNetworkAclRulesRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param networkAclRuleSpecs: networkAcl规则列表 (Required)

func NewAddNetworkAclRulesRequestWithoutParam

func NewAddNetworkAclRulesRequestWithoutParam() *AddNetworkAclRulesRequest

This constructor has better compatible ability when API parameters changed

func (AddNetworkAclRulesRequest) GetRegionId

func (r AddNetworkAclRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddNetworkAclRulesRequest) SetNetworkAclId

func (r *AddNetworkAclRulesRequest) SetNetworkAclId(networkAclId string)

param networkAclId: networkAclId ID(Required)

func (*AddNetworkAclRulesRequest) SetNetworkAclRuleSpecs

func (r *AddNetworkAclRulesRequest) SetNetworkAclRuleSpecs(networkAclRuleSpecs []vpc.AddNetworkAclRuleSpec)

param networkAclRuleSpecs: networkAcl规则列表(Required)

func (*AddNetworkAclRulesRequest) SetRegionId

func (r *AddNetworkAclRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type AddNetworkAclRulesResponse

type AddNetworkAclRulesResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    AddNetworkAclRulesResult `json:"result"`
}

type AddNetworkAclRulesResult

type AddNetworkAclRulesResult struct {
}

type AddNetworkSecurityGroupRulesRequest

type AddNetworkSecurityGroupRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* NetworkSecurityGroup ID  */
	NetworkSecurityGroupId string `json:"networkSecurityGroupId"`

	/* 安全组规则信息  */
	NetworkSecurityGroupRuleSpecs []vpc.AddSecurityGroupRules `json:"networkSecurityGroupRuleSpecs"`
}

func NewAddNetworkSecurityGroupRulesRequest

func NewAddNetworkSecurityGroupRulesRequest(
	regionId string,
	networkSecurityGroupId string,
	networkSecurityGroupRuleSpecs []vpc.AddSecurityGroupRules,
) *AddNetworkSecurityGroupRulesRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * param networkSecurityGroupRuleSpecs: 安全组规则信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddNetworkSecurityGroupRulesRequestWithAllParams

func NewAddNetworkSecurityGroupRulesRequestWithAllParams(
	regionId string,
	networkSecurityGroupId string,
	networkSecurityGroupRuleSpecs []vpc.AddSecurityGroupRules,
) *AddNetworkSecurityGroupRulesRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * param networkSecurityGroupRuleSpecs: 安全组规则信息 (Required)

func NewAddNetworkSecurityGroupRulesRequestWithoutParam

func NewAddNetworkSecurityGroupRulesRequestWithoutParam() *AddNetworkSecurityGroupRulesRequest

This constructor has better compatible ability when API parameters changed

func (AddNetworkSecurityGroupRulesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId

func (r *AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)

param networkSecurityGroupId: NetworkSecurityGroup ID(Required)

func (*AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupRuleSpecs

func (r *AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupRuleSpecs(networkSecurityGroupRuleSpecs []vpc.AddSecurityGroupRules)

param networkSecurityGroupRuleSpecs: 安全组规则信息(Required)

func (*AddNetworkSecurityGroupRulesRequest) SetRegionId

func (r *AddNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type AddNetworkSecurityGroupRulesResponse

type AddNetworkSecurityGroupRulesResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    AddNetworkSecurityGroupRulesResult `json:"result"`
}

type AddNetworkSecurityGroupRulesResult

type AddNetworkSecurityGroupRulesResult struct {
}

type AddRouteTableRulesRequest

type AddRouteTableRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* RouteTable ID  */
	RouteTableId string `json:"routeTableId"`

	/* 路由表规则信息  */
	RouteTableRuleSpecs []vpc.AddRouteTableRules `json:"routeTableRuleSpecs"`
}

func NewAddRouteTableRulesRequest

func NewAddRouteTableRulesRequest(
	regionId string,
	routeTableId string,
	routeTableRuleSpecs []vpc.AddRouteTableRules,
) *AddRouteTableRulesRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param routeTableRuleSpecs: 路由表规则信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAddRouteTableRulesRequestWithAllParams

func NewAddRouteTableRulesRequestWithAllParams(
	regionId string,
	routeTableId string,
	routeTableRuleSpecs []vpc.AddRouteTableRules,
) *AddRouteTableRulesRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param routeTableRuleSpecs: 路由表规则信息 (Required)

func NewAddRouteTableRulesRequestWithoutParam

func NewAddRouteTableRulesRequestWithoutParam() *AddRouteTableRulesRequest

This constructor has better compatible ability when API parameters changed

func (AddRouteTableRulesRequest) GetRegionId

func (r AddRouteTableRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AddRouteTableRulesRequest) SetRegionId

func (r *AddRouteTableRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*AddRouteTableRulesRequest) SetRouteTableId

func (r *AddRouteTableRulesRequest) SetRouteTableId(routeTableId string)

param routeTableId: RouteTable ID(Required)

func (*AddRouteTableRulesRequest) SetRouteTableRuleSpecs

func (r *AddRouteTableRulesRequest) SetRouteTableRuleSpecs(routeTableRuleSpecs []vpc.AddRouteTableRules)

param routeTableRuleSpecs: 路由表规则信息(Required)

type AddRouteTableRulesResponse

type AddRouteTableRulesResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    AddRouteTableRulesResult `json:"result"`
}

type AddRouteTableRulesResult

type AddRouteTableRulesResult struct {
}

type AssignSecondaryIpsRequest

type AssignSecondaryIpsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`

	/* secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配;按网段分配时,默认非抢占重分配,指定IP或者个数时,默认抢占重分配。 (Optional) */
	Force *bool `json:"force"`

	/* 指定分配的secondaryIp地址 (Optional) */
	SecondaryIps []string `json:"secondaryIps"`

	/* 指定自动分配的secondaryIp个数 (Optional) */
	SecondaryIpCount *int `json:"secondaryIpCount"`

	/* 指定分配的网段掩码长度, 支持24-28位掩码长度,不能与secondaryIpCount或secondaryIps同时指定,不支持抢占重分配 (Optional) */
	SecondaryIpMaskLen *int `json:"secondaryIpMaskLen"`

	/* 指定分配的网段中第一个secondaryIp地址,不能与secondaryIpCount或secondaryIps同时指定,secondaryIpAddress与secondaryIpMaskLen需要保持一致,否则无法创建 (Optional) */
	SecondaryIpAddress *string `json:"secondaryIpAddress"`
}

func NewAssignSecondaryIpsRequest

func NewAssignSecondaryIpsRequest(
	regionId string,
	networkInterfaceId string,
) *AssignSecondaryIpsRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAssignSecondaryIpsRequestWithAllParams

func NewAssignSecondaryIpsRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
	force *bool,
	secondaryIps []string,
	secondaryIpCount *int,
	secondaryIpMaskLen *int,
	secondaryIpAddress *string,
) *AssignSecondaryIpsRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param force: secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配;按网段分配时,默认非抢占重分配,指定IP或者个数时,默认抢占重分配。 (Optional) * param secondaryIps: 指定分配的secondaryIp地址 (Optional) * param secondaryIpCount: 指定自动分配的secondaryIp个数 (Optional) * param secondaryIpMaskLen: 指定分配的网段掩码长度, 支持24-28位掩码长度,不能与secondaryIpCount或secondaryIps同时指定,不支持抢占重分配 (Optional) * param secondaryIpAddress: 指定分配的网段中第一个secondaryIp地址,不能与secondaryIpCount或secondaryIps同时指定,secondaryIpAddress与secondaryIpMaskLen需要保持一致,否则无法创建 (Optional)

func NewAssignSecondaryIpsRequestWithoutParam

func NewAssignSecondaryIpsRequestWithoutParam() *AssignSecondaryIpsRequest

This constructor has better compatible ability when API parameters changed

func (AssignSecondaryIpsRequest) GetRegionId

func (r AssignSecondaryIpsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AssignSecondaryIpsRequest) SetForce

func (r *AssignSecondaryIpsRequest) SetForce(force bool)

param force: secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配;按网段分配时,默认非抢占重分配,指定IP或者个数时,默认抢占重分配。(Optional)

func (*AssignSecondaryIpsRequest) SetNetworkInterfaceId

func (r *AssignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*AssignSecondaryIpsRequest) SetRegionId

func (r *AssignSecondaryIpsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*AssignSecondaryIpsRequest) SetSecondaryIpAddress

func (r *AssignSecondaryIpsRequest) SetSecondaryIpAddress(secondaryIpAddress string)

param secondaryIpAddress: 指定分配的网段中第一个secondaryIp地址,不能与secondaryIpCount或secondaryIps同时指定,secondaryIpAddress与secondaryIpMaskLen需要保持一致,否则无法创建(Optional)

func (*AssignSecondaryIpsRequest) SetSecondaryIpCount

func (r *AssignSecondaryIpsRequest) SetSecondaryIpCount(secondaryIpCount int)

param secondaryIpCount: 指定自动分配的secondaryIp个数(Optional)

func (*AssignSecondaryIpsRequest) SetSecondaryIpMaskLen

func (r *AssignSecondaryIpsRequest) SetSecondaryIpMaskLen(secondaryIpMaskLen int)

param secondaryIpMaskLen: 指定分配的网段掩码长度, 支持24-28位掩码长度,不能与secondaryIpCount或secondaryIps同时指定,不支持抢占重分配(Optional)

func (*AssignSecondaryIpsRequest) SetSecondaryIps

func (r *AssignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)

param secondaryIps: 指定分配的secondaryIp地址(Optional)

type AssignSecondaryIpsResponse

type AssignSecondaryIpsResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    AssignSecondaryIpsResult `json:"result"`
}

type AssignSecondaryIpsResult

type AssignSecondaryIpsResult struct {
}

type AssociateElasticIpRequest

type AssociateElasticIpRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`

	/* 绑定的弹性Ip Id (Optional) */
	ElasticIpId *string `json:"elasticIpId"`

	/* 绑定弹性Ip到指定的privateIp (Optional) */
	PrivateIpAddress *string `json:"privateIpAddress"`

	/* 绑定的弹性Ip地址 (Optional) */
	ElasticIpAddress *string `json:"elasticIpAddress"`
}

func NewAssociateElasticIpRequest

func NewAssociateElasticIpRequest(
	regionId string,
	networkInterfaceId string,
) *AssociateElasticIpRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAssociateElasticIpRequestWithAllParams

func NewAssociateElasticIpRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
	elasticIpId *string,
	privateIpAddress *string,
	elasticIpAddress *string,
) *AssociateElasticIpRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param elasticIpId: 绑定的弹性Ip Id (Optional) * param privateIpAddress: 绑定弹性Ip到指定的privateIp (Optional) * param elasticIpAddress: 绑定的弹性Ip地址 (Optional)

func NewAssociateElasticIpRequestWithoutParam

func NewAssociateElasticIpRequestWithoutParam() *AssociateElasticIpRequest

This constructor has better compatible ability when API parameters changed

func (AssociateElasticIpRequest) GetRegionId

func (r AssociateElasticIpRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AssociateElasticIpRequest) SetElasticIpAddress

func (r *AssociateElasticIpRequest) SetElasticIpAddress(elasticIpAddress string)

param elasticIpAddress: 绑定的弹性Ip地址(Optional)

func (*AssociateElasticIpRequest) SetElasticIpId

func (r *AssociateElasticIpRequest) SetElasticIpId(elasticIpId string)

param elasticIpId: 绑定的弹性Ip Id(Optional)

func (*AssociateElasticIpRequest) SetNetworkInterfaceId

func (r *AssociateElasticIpRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*AssociateElasticIpRequest) SetPrivateIpAddress

func (r *AssociateElasticIpRequest) SetPrivateIpAddress(privateIpAddress string)

param privateIpAddress: 绑定弹性Ip到指定的privateIp(Optional)

func (*AssociateElasticIpRequest) SetRegionId

func (r *AssociateElasticIpRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type AssociateElasticIpResponse

type AssociateElasticIpResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    AssociateElasticIpResult `json:"result"`
}

type AssociateElasticIpResult

type AssociateElasticIpResult struct {
}

type AssociateNetworkAclRequest

type AssociateNetworkAclRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkAclId ID  */
	NetworkAclId string `json:"networkAclId"`

	/* networkAcl要绑定的子网ID列表, subnet已被其他networkAcl绑定时,自动解绑  */
	SubnetIds []string `json:"subnetIds"`
}

func NewAssociateNetworkAclRequest

func NewAssociateNetworkAclRequest(
	regionId string,
	networkAclId string,
	subnetIds []string,
) *AssociateNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param subnetIds: networkAcl要绑定的子网ID列表, subnet已被其他networkAcl绑定时,自动解绑 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAssociateNetworkAclRequestWithAllParams

func NewAssociateNetworkAclRequestWithAllParams(
	regionId string,
	networkAclId string,
	subnetIds []string,
) *AssociateNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param subnetIds: networkAcl要绑定的子网ID列表, subnet已被其他networkAcl绑定时,自动解绑 (Required)

func NewAssociateNetworkAclRequestWithoutParam

func NewAssociateNetworkAclRequestWithoutParam() *AssociateNetworkAclRequest

This constructor has better compatible ability when API parameters changed

func (AssociateNetworkAclRequest) GetRegionId

func (r AssociateNetworkAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AssociateNetworkAclRequest) SetNetworkAclId

func (r *AssociateNetworkAclRequest) SetNetworkAclId(networkAclId string)

param networkAclId: networkAclId ID(Required)

func (*AssociateNetworkAclRequest) SetRegionId

func (r *AssociateNetworkAclRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*AssociateNetworkAclRequest) SetSubnetIds

func (r *AssociateNetworkAclRequest) SetSubnetIds(subnetIds []string)

param subnetIds: networkAcl要绑定的子网ID列表, subnet已被其他networkAcl绑定时,自动解绑(Required)

type AssociateNetworkAclResponse

type AssociateNetworkAclResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    AssociateNetworkAclResult `json:"result"`
}

type AssociateNetworkAclResult

type AssociateNetworkAclResult struct {
}

type AssociateRouteTableRequest

type AssociateRouteTableRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* RouteTable ID  */
	RouteTableId string `json:"routeTableId"`

	/* 路由表要绑定的子网ID列表, subnet已被其他路由表绑定时,自动解绑。路由表绑定的子网属性要相同,或者都是标准子网,或者都是相同边缘可用区的边缘子网。  */
	SubnetIds []string `json:"subnetIds"`
}

func NewAssociateRouteTableRequest

func NewAssociateRouteTableRequest(
	regionId string,
	routeTableId string,
	subnetIds []string,
) *AssociateRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param subnetIds: 路由表要绑定的子网ID列表, subnet已被其他路由表绑定时,自动解绑。路由表绑定的子网属性要相同,或者都是标准子网,或者都是相同边缘可用区的边缘子网。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAssociateRouteTableRequestWithAllParams

func NewAssociateRouteTableRequestWithAllParams(
	regionId string,
	routeTableId string,
	subnetIds []string,
) *AssociateRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param subnetIds: 路由表要绑定的子网ID列表, subnet已被其他路由表绑定时,自动解绑。路由表绑定的子网属性要相同,或者都是标准子网,或者都是相同边缘可用区的边缘子网。 (Required)

func NewAssociateRouteTableRequestWithoutParam

func NewAssociateRouteTableRequestWithoutParam() *AssociateRouteTableRequest

This constructor has better compatible ability when API parameters changed

func (AssociateRouteTableRequest) GetRegionId

func (r AssociateRouteTableRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AssociateRouteTableRequest) SetRegionId

func (r *AssociateRouteTableRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*AssociateRouteTableRequest) SetRouteTableId

func (r *AssociateRouteTableRequest) SetRouteTableId(routeTableId string)

param routeTableId: RouteTable ID(Required)

func (*AssociateRouteTableRequest) SetSubnetIds

func (r *AssociateRouteTableRequest) SetSubnetIds(subnetIds []string)

param subnetIds: 路由表要绑定的子网ID列表, subnet已被其他路由表绑定时,自动解绑。路由表绑定的子网属性要相同,或者都是标准子网,或者都是相同边缘可用区的边缘子网。(Required)

type AssociateRouteTableResponse

type AssociateRouteTableResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    AssociateRouteTableResult `json:"result"`
}

type AssociateRouteTableResult

type AssociateRouteTableResult struct {
}

type CreateBandwidthPackageRequest

type CreateBandwidthPackageRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符  */
	Name string `json:"name"`

	/* 描述,长度不超过256个字符 (Optional) */
	Description *string `json:"description"`

	/* 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,保底带宽 = 共享带宽包带宽上限 * 20%  */
	BandwidthMbps int `json:"bandwidthMbps"`

	/* 线路信息,默认bgp,目前只支持中心节点的BGP线路 (Optional) */
	Provider *string `json:"provider"`

	/* 计费配置。支持包年包月、按配置、按用量计费模式 (Optional) */
	ChargeSpec *charge.ChargeSpec `json:"chargeSpec"`

	/* 用户标签 (Optional) */
	UserTags []vpc.Tag `json:"userTags"`

	/* 资源所属资源组ID (Optional) */
	ResourceGroupId *string `json:"resourceGroupId"`
}

func NewCreateBandwidthPackageRequest

func NewCreateBandwidthPackageRequest(
	regionId string,
	name string,
	bandwidthMbps int,
) *CreateBandwidthPackageRequest

* param regionId: Region ID (Required) * param name: 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符 (Required) * param bandwidthMbps: 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,保底带宽 = 共享带宽包带宽上限 * 20% (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateBandwidthPackageRequestWithAllParams

func NewCreateBandwidthPackageRequestWithAllParams(
	regionId string,
	name string,
	description *string,
	bandwidthMbps int,
	provider *string,
	chargeSpec *charge.ChargeSpec,
	userTags []vpc.Tag,
	resourceGroupId *string,
) *CreateBandwidthPackageRequest

* param regionId: Region ID (Required) * param name: 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符 (Required) * param description: 描述,长度不超过256个字符 (Optional) * param bandwidthMbps: 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,保底带宽 = 共享带宽包带宽上限 * 20% (Required) * param provider: 线路信息,默认bgp,目前只支持中心节点的BGP线路 (Optional) * param chargeSpec: 计费配置。支持包年包月、按配置、按用量计费模式 (Optional) * param userTags: 用户标签 (Optional) * param resourceGroupId: 资源所属资源组ID (Optional)

func NewCreateBandwidthPackageRequestWithoutParam

func NewCreateBandwidthPackageRequestWithoutParam() *CreateBandwidthPackageRequest

This constructor has better compatible ability when API parameters changed

func (CreateBandwidthPackageRequest) GetRegionId

func (r CreateBandwidthPackageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateBandwidthPackageRequest) SetBandwidthMbps

func (r *CreateBandwidthPackageRequest) SetBandwidthMbps(bandwidthMbps int)

param bandwidthMbps: 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,保底带宽 = 共享带宽包带宽上限 * 20%(Required)

func (*CreateBandwidthPackageRequest) SetChargeSpec

func (r *CreateBandwidthPackageRequest) SetChargeSpec(chargeSpec *charge.ChargeSpec)

param chargeSpec: 计费配置。支持包年包月、按配置、按用量计费模式(Optional)

func (*CreateBandwidthPackageRequest) SetDescription

func (r *CreateBandwidthPackageRequest) SetDescription(description string)

param description: 描述,长度不超过256个字符(Optional)

func (*CreateBandwidthPackageRequest) SetName

func (r *CreateBandwidthPackageRequest) SetName(name string)

param name: 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符(Required)

func (*CreateBandwidthPackageRequest) SetProvider

func (r *CreateBandwidthPackageRequest) SetProvider(provider string)

param provider: 线路信息,默认bgp,目前只支持中心节点的BGP线路(Optional)

func (*CreateBandwidthPackageRequest) SetRegionId

func (r *CreateBandwidthPackageRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateBandwidthPackageRequest) SetResourceGroupId

func (r *CreateBandwidthPackageRequest) SetResourceGroupId(resourceGroupId string)

param resourceGroupId: 资源所属资源组ID(Optional)

func (*CreateBandwidthPackageRequest) SetUserTags

func (r *CreateBandwidthPackageRequest) SetUserTags(userTags []vpc.Tag)

param userTags: 用户标签(Optional)

type CreateBandwidthPackageResponse

type CreateBandwidthPackageResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    CreateBandwidthPackageResult `json:"result"`
}

type CreateBandwidthPackageResult

type CreateBandwidthPackageResult struct {
	BandwidthPackageId string `json:"bandwidthPackageId"`
	RequestId          string `json:"requestId"`
}

type CreateElasticIpsRequest

type CreateElasticIpsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 购买弹性ip数量;取值范围:[1,100]  */
	MaxCount int `json:"maxCount"`

	/* 指定弹性ip地址进行创建,当申请创建多个弹性ip时,必须为空 (Optional) */
	ElasticIpAddress *string `json:"elasticIpAddress"`

	/* 弹性ip规格  */
	ElasticIpSpec *vpc.ElasticIpSpec `json:"elasticIpSpec"`

	/* 用户标签 (Optional) */
	UserTags []vpc.Tag `json:"userTags"`

	/* 弹性ip类型,取值:standard(标准公网IP),edge(边缘公网IP),默认为standard (Optional) */
	IpType *string `json:"ipType"`

	/* 资源所属资源组ID (Optional) */
	ResourceGroupId *string `json:"resourceGroupId"`

	/* 预检标识,默认false,dryRun为true时只作检查,不做变更 (Optional) */
	DryRun *bool `json:"dryRun"`
}

func NewCreateElasticIpsRequest

func NewCreateElasticIpsRequest(
	regionId string,
	maxCount int,
	elasticIpSpec *vpc.ElasticIpSpec,
) *CreateElasticIpsRequest

* param regionId: Region ID (Required) * param maxCount: 购买弹性ip数量;取值范围:[1,100] (Required) * param elasticIpSpec: 弹性ip规格 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateElasticIpsRequestWithAllParams

func NewCreateElasticIpsRequestWithAllParams(
	regionId string,
	maxCount int,
	elasticIpAddress *string,
	elasticIpSpec *vpc.ElasticIpSpec,
	userTags []vpc.Tag,
	ipType *string,
	resourceGroupId *string,
	dryRun *bool,
) *CreateElasticIpsRequest

* param regionId: Region ID (Required) * param maxCount: 购买弹性ip数量;取值范围:[1,100] (Required) * param elasticIpAddress: 指定弹性ip地址进行创建,当申请创建多个弹性ip时,必须为空 (Optional) * param elasticIpSpec: 弹性ip规格 (Required) * param userTags: 用户标签 (Optional) * param ipType: 弹性ip类型,取值:standard(标准公网IP),edge(边缘公网IP),默认为standard (Optional) * param resourceGroupId: 资源所属资源组ID (Optional) * param dryRun: 预检标识,默认false,dryRun为true时只作检查,不做变更 (Optional)

func NewCreateElasticIpsRequestWithoutParam

func NewCreateElasticIpsRequestWithoutParam() *CreateElasticIpsRequest

This constructor has better compatible ability when API parameters changed

func (CreateElasticIpsRequest) GetRegionId

func (r CreateElasticIpsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateElasticIpsRequest) SetDryRun

func (r *CreateElasticIpsRequest) SetDryRun(dryRun bool)

param dryRun: 预检标识,默认false,dryRun为true时只作检查,不做变更(Optional)

func (*CreateElasticIpsRequest) SetElasticIpAddress

func (r *CreateElasticIpsRequest) SetElasticIpAddress(elasticIpAddress string)

param elasticIpAddress: 指定弹性ip地址进行创建,当申请创建多个弹性ip时,必须为空(Optional)

func (*CreateElasticIpsRequest) SetElasticIpSpec

func (r *CreateElasticIpsRequest) SetElasticIpSpec(elasticIpSpec *vpc.ElasticIpSpec)

param elasticIpSpec: 弹性ip规格(Required)

func (*CreateElasticIpsRequest) SetIpType

func (r *CreateElasticIpsRequest) SetIpType(ipType string)

param ipType: 弹性ip类型,取值:standard(标准公网IP),edge(边缘公网IP),默认为standard(Optional)

func (*CreateElasticIpsRequest) SetMaxCount

func (r *CreateElasticIpsRequest) SetMaxCount(maxCount int)

param maxCount: 购买弹性ip数量;取值范围:[1,100](Required)

func (*CreateElasticIpsRequest) SetRegionId

func (r *CreateElasticIpsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateElasticIpsRequest) SetResourceGroupId

func (r *CreateElasticIpsRequest) SetResourceGroupId(resourceGroupId string)

param resourceGroupId: 资源所属资源组ID(Optional)

func (*CreateElasticIpsRequest) SetUserTags

func (r *CreateElasticIpsRequest) SetUserTags(userTags []vpc.Tag)

param userTags: 用户标签(Optional)

type CreateElasticIpsResponse

type CreateElasticIpsResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CreateElasticIpsResult `json:"result"`
}

type CreateElasticIpsResult

type CreateElasticIpsResult struct {
	ElasticIpIds []string `json:"elasticIpIds"`
	RequestId    string   `json:"requestId"`
}

type CreateNetworkAclRequest

type CreateNetworkAclRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 私有网络id  */
	VpcId string `json:"vpcId"`

	/* networkAcl名称  */
	NetworkAclName string `json:"networkAclName"`

	/* 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */
	Description *string `json:"description"`
}

func NewCreateNetworkAclRequest

func NewCreateNetworkAclRequest(
	regionId string,
	vpcId string,
	networkAclName string,
) *CreateNetworkAclRequest

* param regionId: Region ID (Required) * param vpcId: 私有网络id (Required) * param networkAclName: networkAcl名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateNetworkAclRequestWithAllParams

func NewCreateNetworkAclRequestWithAllParams(
	regionId string,
	vpcId string,
	networkAclName string,
	description *string,
) *CreateNetworkAclRequest

* param regionId: Region ID (Required) * param vpcId: 私有网络id (Required) * param networkAclName: networkAcl名称 (Required) * param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional)

func NewCreateNetworkAclRequestWithoutParam

func NewCreateNetworkAclRequestWithoutParam() *CreateNetworkAclRequest

This constructor has better compatible ability when API parameters changed

func (CreateNetworkAclRequest) GetRegionId

func (r CreateNetworkAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateNetworkAclRequest) SetDescription

func (r *CreateNetworkAclRequest) SetDescription(description string)

param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符(Optional)

func (*CreateNetworkAclRequest) SetNetworkAclName

func (r *CreateNetworkAclRequest) SetNetworkAclName(networkAclName string)

param networkAclName: networkAcl名称(Required)

func (*CreateNetworkAclRequest) SetRegionId

func (r *CreateNetworkAclRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateNetworkAclRequest) SetVpcId

func (r *CreateNetworkAclRequest) SetVpcId(vpcId string)

param vpcId: 私有网络id(Required)

type CreateNetworkAclResponse

type CreateNetworkAclResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CreateNetworkAclResult `json:"result"`
}

type CreateNetworkAclResult

type CreateNetworkAclResult struct {
	NetworkAclId string `json:"networkAclId"`
}

type CreateNetworkInterfaceRequest

type CreateNetworkInterfaceRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 子网ID  */
	SubnetId string `json:"subnetId"`

	/* 可用区,用户的默认可用区,该参数无效,不建议使用 (Optional) */
	Az *string `json:"az"`

	/* 网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) */
	NetworkInterfaceName *string `json:"networkInterfaceName"`

	/* 网卡主IP,如果不指定,会自动从子网中分配 (Optional) */
	PrimaryIpAddress *string `json:"primaryIpAddress"`

	/* SecondaryIp列表 (Optional) */
	SecondaryIpAddresses []string `json:"secondaryIpAddresses"`

	/* 自动分配的SecondaryIp数量 (Optional) */
	SecondaryIpCount *int `json:"secondaryIpCount"`

	/* 要绑定的安全组ID列表,最多指定5个安全组 (Optional) */
	SecurityGroups []string `json:"securityGroups"`

	/* 源和目标IP地址校验,取值为0或者1,默认为1 (Optional) */
	SanityCheck *int `json:"sanityCheck"`

	/* 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */
	Description *string `json:"description"`
}

func NewCreateNetworkInterfaceRequest

func NewCreateNetworkInterfaceRequest(
	regionId string,
	subnetId string,
) *CreateNetworkInterfaceRequest

* param regionId: Region ID (Required) * param subnetId: 子网ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateNetworkInterfaceRequestWithAllParams

func NewCreateNetworkInterfaceRequestWithAllParams(
	regionId string,
	subnetId string,
	az *string,
	networkInterfaceName *string,
	primaryIpAddress *string,
	secondaryIpAddresses []string,
	secondaryIpCount *int,
	securityGroups []string,
	sanityCheck *int,
	description *string,
) *CreateNetworkInterfaceRequest

* param regionId: Region ID (Required) * param subnetId: 子网ID (Required) * param az: 可用区,用户的默认可用区,该参数无效,不建议使用 (Optional) * param networkInterfaceName: 网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) * param primaryIpAddress: 网卡主IP,如果不指定,会自动从子网中分配 (Optional) * param secondaryIpAddresses: SecondaryIp列表 (Optional) * param secondaryIpCount: 自动分配的SecondaryIp数量 (Optional) * param securityGroups: 要绑定的安全组ID列表,最多指定5个安全组 (Optional) * param sanityCheck: 源和目标IP地址校验,取值为0或者1,默认为1 (Optional) * param description: 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional)

func NewCreateNetworkInterfaceRequestWithoutParam

func NewCreateNetworkInterfaceRequestWithoutParam() *CreateNetworkInterfaceRequest

This constructor has better compatible ability when API parameters changed

func (CreateNetworkInterfaceRequest) GetRegionId

func (r CreateNetworkInterfaceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateNetworkInterfaceRequest) SetAz

param az: 可用区,用户的默认可用区,该参数无效,不建议使用(Optional)

func (*CreateNetworkInterfaceRequest) SetDescription

func (r *CreateNetworkInterfaceRequest) SetDescription(description string)

param description: 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符(Optional)

func (*CreateNetworkInterfaceRequest) SetNetworkInterfaceName

func (r *CreateNetworkInterfaceRequest) SetNetworkInterfaceName(networkInterfaceName string)

param networkInterfaceName: 网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Optional)

func (*CreateNetworkInterfaceRequest) SetPrimaryIpAddress

func (r *CreateNetworkInterfaceRequest) SetPrimaryIpAddress(primaryIpAddress string)

param primaryIpAddress: 网卡主IP,如果不指定,会自动从子网中分配(Optional)

func (*CreateNetworkInterfaceRequest) SetRegionId

func (r *CreateNetworkInterfaceRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateNetworkInterfaceRequest) SetSanityCheck

func (r *CreateNetworkInterfaceRequest) SetSanityCheck(sanityCheck int)

param sanityCheck: 源和目标IP地址校验,取值为0或者1,默认为1(Optional)

func (*CreateNetworkInterfaceRequest) SetSecondaryIpAddresses

func (r *CreateNetworkInterfaceRequest) SetSecondaryIpAddresses(secondaryIpAddresses []string)

param secondaryIpAddresses: SecondaryIp列表(Optional)

func (*CreateNetworkInterfaceRequest) SetSecondaryIpCount

func (r *CreateNetworkInterfaceRequest) SetSecondaryIpCount(secondaryIpCount int)

param secondaryIpCount: 自动分配的SecondaryIp数量(Optional)

func (*CreateNetworkInterfaceRequest) SetSecurityGroups

func (r *CreateNetworkInterfaceRequest) SetSecurityGroups(securityGroups []string)

param securityGroups: 要绑定的安全组ID列表,最多指定5个安全组(Optional)

func (*CreateNetworkInterfaceRequest) SetSubnetId

func (r *CreateNetworkInterfaceRequest) SetSubnetId(subnetId string)

param subnetId: 子网ID(Required)

type CreateNetworkInterfaceResponse

type CreateNetworkInterfaceResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    CreateNetworkInterfaceResult `json:"result"`
}

type CreateNetworkInterfaceResult

type CreateNetworkInterfaceResult struct {
	NetworkInterfaceId string `json:"networkInterfaceId"`
}

type CreateNetworkSecurityGroupRequest

type CreateNetworkSecurityGroupRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 私有网络ID  */
	VpcId string `json:"vpcId"`

	/* 安全组名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。  */
	NetworkSecurityGroupName string `json:"networkSecurityGroupName"`

	/* 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */
	Description *string `json:"description"`
}

func NewCreateNetworkSecurityGroupRequest

func NewCreateNetworkSecurityGroupRequest(
	regionId string,
	vpcId string,
	networkSecurityGroupName string,
) *CreateNetworkSecurityGroupRequest

* param regionId: Region ID (Required) * param vpcId: 私有网络ID (Required) * param networkSecurityGroupName: 安全组名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateNetworkSecurityGroupRequestWithAllParams

func NewCreateNetworkSecurityGroupRequestWithAllParams(
	regionId string,
	vpcId string,
	networkSecurityGroupName string,
	description *string,
) *CreateNetworkSecurityGroupRequest

* param regionId: Region ID (Required) * param vpcId: 私有网络ID (Required) * param networkSecurityGroupName: 安全组名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * param description: 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional)

func NewCreateNetworkSecurityGroupRequestWithoutParam

func NewCreateNetworkSecurityGroupRequestWithoutParam() *CreateNetworkSecurityGroupRequest

This constructor has better compatible ability when API parameters changed

func (CreateNetworkSecurityGroupRequest) GetRegionId

func (r CreateNetworkSecurityGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateNetworkSecurityGroupRequest) SetDescription

func (r *CreateNetworkSecurityGroupRequest) SetDescription(description string)

param description: 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符(Optional)

func (*CreateNetworkSecurityGroupRequest) SetNetworkSecurityGroupName

func (r *CreateNetworkSecurityGroupRequest) SetNetworkSecurityGroupName(networkSecurityGroupName string)

param networkSecurityGroupName: 安全组名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)

func (*CreateNetworkSecurityGroupRequest) SetRegionId

func (r *CreateNetworkSecurityGroupRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateNetworkSecurityGroupRequest) SetVpcId

func (r *CreateNetworkSecurityGroupRequest) SetVpcId(vpcId string)

param vpcId: 私有网络ID(Required)

type CreateNetworkSecurityGroupResponse

type CreateNetworkSecurityGroupResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    CreateNetworkSecurityGroupResult `json:"result"`
}

type CreateNetworkSecurityGroupResult

type CreateNetworkSecurityGroupResult struct {
	NetworkSecurityGroupId string `json:"networkSecurityGroupId"`
}

type CreateRouteTableRequest

type CreateRouteTableRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 路由表所属的私有网络ID  */
	VpcId string `json:"vpcId"`

	/* 路由表名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。  */
	RouteTableName string `json:"routeTableName"`

	/* 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */
	Description *string `json:"description"`
}

func NewCreateRouteTableRequest

func NewCreateRouteTableRequest(
	regionId string,
	vpcId string,
	routeTableName string,
) *CreateRouteTableRequest

* param regionId: Region ID (Required) * param vpcId: 路由表所属的私有网络ID (Required) * param routeTableName: 路由表名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateRouteTableRequestWithAllParams

func NewCreateRouteTableRequestWithAllParams(
	regionId string,
	vpcId string,
	routeTableName string,
	description *string,
) *CreateRouteTableRequest

* param regionId: Region ID (Required) * param vpcId: 路由表所属的私有网络ID (Required) * param routeTableName: 路由表名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * param description: 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional)

func NewCreateRouteTableRequestWithoutParam

func NewCreateRouteTableRequestWithoutParam() *CreateRouteTableRequest

This constructor has better compatible ability when API parameters changed

func (CreateRouteTableRequest) GetRegionId

func (r CreateRouteTableRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateRouteTableRequest) SetDescription

func (r *CreateRouteTableRequest) SetDescription(description string)

param description: 描述,​ 允许输入UTF-8编码下的全部字符,不超过256字符(Optional)

func (*CreateRouteTableRequest) SetRegionId

func (r *CreateRouteTableRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateRouteTableRequest) SetRouteTableName

func (r *CreateRouteTableRequest) SetRouteTableName(routeTableName string)

param routeTableName: 路由表名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)

func (*CreateRouteTableRequest) SetVpcId

func (r *CreateRouteTableRequest) SetVpcId(vpcId string)

param vpcId: 路由表所属的私有网络ID(Required)

type CreateRouteTableResponse

type CreateRouteTableResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CreateRouteTableResult `json:"result"`
}

type CreateRouteTableResult

type CreateRouteTableResult struct {
	RouteTableId string `json:"routeTableId"`
}

type CreateSubnetRequest

type CreateSubnetRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 子网所属vpc的Id  */
	VpcId string `json:"vpcId"`

	/* 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。  */
	SubnetName string `json:"subnetName"`

	/* 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果vpc含有cidr,则必须为vpc所在cidr的子网  */
	AddressPrefix string `json:"addressPrefix"`

	/* 子网关联的路由表Id, 默认为vpc的默认路由表,子网关联路由表需检查路由表中已绑定的子网与本子网类型是否一致(一致标准为:或者都为标准子网,或者都为相同边缘可用区的边缘子网) (Optional) */
	RouteTableId *string `json:"routeTableId"`

	/* 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) */
	Description *string `json:"description"`

	/* 子网内预留网段掩码长度,此网段IP地址按照单个申请,子网内其余部分IP地址以网段形式分配。此参数非必选,缺省值为0,代表子网内所有IP地址都按照单个申请 (Optional) */
	IpMaskLen *int `json:"ipMaskLen"`
}

func NewCreateSubnetRequest

func NewCreateSubnetRequest(
	regionId string,
	vpcId string,
	subnetName string,
	addressPrefix string,
) *CreateSubnetRequest

* param regionId: Region ID (Required) * param vpcId: 子网所属vpc的Id (Required) * param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * param addressPrefix: 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果vpc含有cidr,则必须为vpc所在cidr的子网 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateSubnetRequestWithAllParams

func NewCreateSubnetRequestWithAllParams(
	regionId string,
	vpcId string,
	subnetName string,
	addressPrefix string,
	routeTableId *string,
	description *string,
	ipMaskLen *int,
) *CreateSubnetRequest

* param regionId: Region ID (Required) * param vpcId: 子网所属vpc的Id (Required) * param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * param addressPrefix: 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果vpc含有cidr,则必须为vpc所在cidr的子网 (Required) * param routeTableId: 子网关联的路由表Id, 默认为vpc的默认路由表,子网关联路由表需检查路由表中已绑定的子网与本子网类型是否一致(一致标准为:或者都为标准子网,或者都为相同边缘可用区的边缘子网) (Optional) * param description: 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) * param ipMaskLen: 子网内预留网段掩码长度,此网段IP地址按照单个申请,子网内其余部分IP地址以网段形式分配。此参数非必选,缺省值为0,代表子网内所有IP地址都按照单个申请 (Optional)

func NewCreateSubnetRequestWithoutParam

func NewCreateSubnetRequestWithoutParam() *CreateSubnetRequest

This constructor has better compatible ability when API parameters changed

func (CreateSubnetRequest) GetRegionId

func (r CreateSubnetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateSubnetRequest) SetAddressPrefix

func (r *CreateSubnetRequest) SetAddressPrefix(addressPrefix string)

param addressPrefix: 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果vpc含有cidr,则必须为vpc所在cidr的子网(Required)

func (*CreateSubnetRequest) SetDescription

func (r *CreateSubnetRequest) SetDescription(description string)

param description: 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)

func (*CreateSubnetRequest) SetIpMaskLen

func (r *CreateSubnetRequest) SetIpMaskLen(ipMaskLen int)

param ipMaskLen: 子网内预留网段掩码长度,此网段IP地址按照单个申请,子网内其余部分IP地址以网段形式分配。此参数非必选,缺省值为0,代表子网内所有IP地址都按照单个申请(Optional)

func (*CreateSubnetRequest) SetRegionId

func (r *CreateSubnetRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateSubnetRequest) SetRouteTableId

func (r *CreateSubnetRequest) SetRouteTableId(routeTableId string)

param routeTableId: 子网关联的路由表Id, 默认为vpc的默认路由表,子网关联路由表需检查路由表中已绑定的子网与本子网类型是否一致(一致标准为:或者都为标准子网,或者都为相同边缘可用区的边缘子网)(Optional)

func (*CreateSubnetRequest) SetSubnetName

func (r *CreateSubnetRequest) SetSubnetName(subnetName string)

param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)

func (*CreateSubnetRequest) SetVpcId

func (r *CreateSubnetRequest) SetVpcId(vpcId string)

param vpcId: 子网所属vpc的Id(Required)

type CreateSubnetResponse

type CreateSubnetResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateSubnetResult `json:"result"`
}

type CreateSubnetResult

type CreateSubnetResult struct {
	SubnetId string `json:"subnetId"`
}

type CreateVpcPeeringRequest

type CreateVpcPeeringRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* VpcPeering的名字,不为空。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符  */
	VpcPeeringName string `json:"vpcPeeringName"`

	/* VpcPeering本端Vpc的Id  */
	VpcId string `json:"vpcId"`

	/* VpcPeering对端Vpc的Id  */
	RemoteVpcId string `json:"remoteVpcId"`

	/* VpcPeering 描述,取值范围:0-256个中文、英文大小写的字母、数字和下划线分隔符 (Optional) */
	Description *string `json:"description"`
}

func NewCreateVpcPeeringRequest

func NewCreateVpcPeeringRequest(
	regionId string,
	vpcPeeringName string,
	vpcId string,
	remoteVpcId string,
) *CreateVpcPeeringRequest

* param regionId: Region ID (Required) * param vpcPeeringName: VpcPeering的名字,不为空。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Required) * param vpcId: VpcPeering本端Vpc的Id (Required) * param remoteVpcId: VpcPeering对端Vpc的Id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateVpcPeeringRequestWithAllParams

func NewCreateVpcPeeringRequestWithAllParams(
	regionId string,
	vpcPeeringName string,
	vpcId string,
	remoteVpcId string,
	description *string,
) *CreateVpcPeeringRequest

* param regionId: Region ID (Required) * param vpcPeeringName: VpcPeering的名字,不为空。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Required) * param vpcId: VpcPeering本端Vpc的Id (Required) * param remoteVpcId: VpcPeering对端Vpc的Id (Required) * param description: VpcPeering 描述,取值范围:0-256个中文、英文大小写的字母、数字和下划线分隔符 (Optional)

func NewCreateVpcPeeringRequestWithoutParam

func NewCreateVpcPeeringRequestWithoutParam() *CreateVpcPeeringRequest

This constructor has better compatible ability when API parameters changed

func (CreateVpcPeeringRequest) GetRegionId

func (r CreateVpcPeeringRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateVpcPeeringRequest) SetDescription

func (r *CreateVpcPeeringRequest) SetDescription(description string)

param description: VpcPeering 描述,取值范围:0-256个中文、英文大小写的字母、数字和下划线分隔符(Optional)

func (*CreateVpcPeeringRequest) SetRegionId

func (r *CreateVpcPeeringRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateVpcPeeringRequest) SetRemoteVpcId

func (r *CreateVpcPeeringRequest) SetRemoteVpcId(remoteVpcId string)

param remoteVpcId: VpcPeering对端Vpc的Id(Required)

func (*CreateVpcPeeringRequest) SetVpcId

func (r *CreateVpcPeeringRequest) SetVpcId(vpcId string)

param vpcId: VpcPeering本端Vpc的Id(Required)

func (*CreateVpcPeeringRequest) SetVpcPeeringName

func (r *CreateVpcPeeringRequest) SetVpcPeeringName(vpcPeeringName string)

param vpcPeeringName: VpcPeering的名字,不为空。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符(Required)

type CreateVpcPeeringResponse

type CreateVpcPeeringResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CreateVpcPeeringResult `json:"result"`
}

type CreateVpcPeeringResult

type CreateVpcPeeringResult struct {
	VpcPeering vpc.VpcPeering `json:"vpcPeering"`
}

type CreateVpcRequest

type CreateVpcRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。  */
	VpcName string `json:"vpcName"`

	/* 如果为空,则不限制网段,如果不为空,10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间 (Optional) */
	AddressPrefix *string `json:"addressPrefix"`

	/* vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) */
	Description *string `json:"description"`

	/* VPC az类型,取值:standard(标准VPC),edge(边缘VPC) (Optional) */
	AzType *string `json:"azType"`

	/* VPC可用区,边缘VPC必须指定可用区 (Optional) */
	Az *string `json:"az"`
}

func NewCreateVpcRequest

func NewCreateVpcRequest(
	regionId string,
	vpcName string,
) *CreateVpcRequest

* param regionId: Region ID (Required) * param vpcName: 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateVpcRequestWithAllParams

func NewCreateVpcRequestWithAllParams(
	regionId string,
	vpcName string,
	addressPrefix *string,
	description *string,
	azType *string,
	az *string,
) *CreateVpcRequest

* param regionId: Region ID (Required) * param vpcName: 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * param addressPrefix: 如果为空,则不限制网段,如果不为空,10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间 (Optional) * param description: vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) * param azType: VPC az类型,取值:standard(标准VPC),edge(边缘VPC) (Optional) * param az: VPC可用区,边缘VPC必须指定可用区 (Optional)

func NewCreateVpcRequestWithoutParam

func NewCreateVpcRequestWithoutParam() *CreateVpcRequest

This constructor has better compatible ability when API parameters changed

func (CreateVpcRequest) GetRegionId

func (r CreateVpcRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateVpcRequest) SetAddressPrefix

func (r *CreateVpcRequest) SetAddressPrefix(addressPrefix string)

param addressPrefix: 如果为空,则不限制网段,如果不为空,10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间(Optional)

func (*CreateVpcRequest) SetAz

func (r *CreateVpcRequest) SetAz(az string)

param az: VPC可用区,边缘VPC必须指定可用区(Optional)

func (*CreateVpcRequest) SetAzType

func (r *CreateVpcRequest) SetAzType(azType string)

param azType: VPC az类型,取值:standard(标准VPC),edge(边缘VPC)(Optional)

func (*CreateVpcRequest) SetDescription

func (r *CreateVpcRequest) SetDescription(description string)

param description: vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)

func (*CreateVpcRequest) SetRegionId

func (r *CreateVpcRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*CreateVpcRequest) SetVpcName

func (r *CreateVpcRequest) SetVpcName(vpcName string)

param vpcName: 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)

type CreateVpcResponse

type CreateVpcResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateVpcResult    `json:"result"`
}

type CreateVpcResult

type CreateVpcResult struct {
	VpcId string `json:"vpcId"`
}

type DeleteBandwidthPackageRequest

type DeleteBandwidthPackageRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 共享带宽包ID  */
	BandwidthPackageId string `json:"bandwidthPackageId"`
}

func NewDeleteBandwidthPackageRequest

func NewDeleteBandwidthPackageRequest(
	regionId string,
	bandwidthPackageId string,
) *DeleteBandwidthPackageRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteBandwidthPackageRequestWithAllParams

func NewDeleteBandwidthPackageRequestWithAllParams(
	regionId string,
	bandwidthPackageId string,
) *DeleteBandwidthPackageRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required)

func NewDeleteBandwidthPackageRequestWithoutParam

func NewDeleteBandwidthPackageRequestWithoutParam() *DeleteBandwidthPackageRequest

This constructor has better compatible ability when API parameters changed

func (DeleteBandwidthPackageRequest) GetRegionId

func (r DeleteBandwidthPackageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteBandwidthPackageRequest) SetBandwidthPackageId

func (r *DeleteBandwidthPackageRequest) SetBandwidthPackageId(bandwidthPackageId string)

param bandwidthPackageId: 共享带宽包ID(Required)

func (*DeleteBandwidthPackageRequest) SetRegionId

func (r *DeleteBandwidthPackageRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DeleteBandwidthPackageResponse

type DeleteBandwidthPackageResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DeleteBandwidthPackageResult `json:"result"`
}

type DeleteBandwidthPackageResult

type DeleteBandwidthPackageResult struct {
}

type DeleteElasticIpRequest

type DeleteElasticIpRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* ElasticIp ID  */
	ElasticIpId string `json:"elasticIpId"`
}

func NewDeleteElasticIpRequest

func NewDeleteElasticIpRequest(
	regionId string,
	elasticIpId string,
) *DeleteElasticIpRequest

* param regionId: Region ID (Required) * param elasticIpId: ElasticIp ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteElasticIpRequestWithAllParams

func NewDeleteElasticIpRequestWithAllParams(
	regionId string,
	elasticIpId string,
) *DeleteElasticIpRequest

* param regionId: Region ID (Required) * param elasticIpId: ElasticIp ID (Required)

func NewDeleteElasticIpRequestWithoutParam

func NewDeleteElasticIpRequestWithoutParam() *DeleteElasticIpRequest

This constructor has better compatible ability when API parameters changed

func (DeleteElasticIpRequest) GetRegionId

func (r DeleteElasticIpRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteElasticIpRequest) SetElasticIpId

func (r *DeleteElasticIpRequest) SetElasticIpId(elasticIpId string)

param elasticIpId: ElasticIp ID(Required)

func (*DeleteElasticIpRequest) SetRegionId

func (r *DeleteElasticIpRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DeleteElasticIpResponse

type DeleteElasticIpResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DeleteElasticIpResult `json:"result"`
}

type DeleteElasticIpResult

type DeleteElasticIpResult struct {
}

type DeleteNetworkAclRequest

type DeleteNetworkAclRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkAclId ID  */
	NetworkAclId string `json:"networkAclId"`
}

func NewDeleteNetworkAclRequest

func NewDeleteNetworkAclRequest(
	regionId string,
	networkAclId string,
) *DeleteNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteNetworkAclRequestWithAllParams

func NewDeleteNetworkAclRequestWithAllParams(
	regionId string,
	networkAclId string,
) *DeleteNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required)

func NewDeleteNetworkAclRequestWithoutParam

func NewDeleteNetworkAclRequestWithoutParam() *DeleteNetworkAclRequest

This constructor has better compatible ability when API parameters changed

func (DeleteNetworkAclRequest) GetRegionId

func (r DeleteNetworkAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteNetworkAclRequest) SetNetworkAclId

func (r *DeleteNetworkAclRequest) SetNetworkAclId(networkAclId string)

param networkAclId: networkAclId ID(Required)

func (*DeleteNetworkAclRequest) SetRegionId

func (r *DeleteNetworkAclRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DeleteNetworkAclResponse

type DeleteNetworkAclResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DeleteNetworkAclResult `json:"result"`
}

type DeleteNetworkAclResult

type DeleteNetworkAclResult struct {
}

type DeleteNetworkInterfaceRequest

type DeleteNetworkInterfaceRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`
}

func NewDeleteNetworkInterfaceRequest

func NewDeleteNetworkInterfaceRequest(
	regionId string,
	networkInterfaceId string,
) *DeleteNetworkInterfaceRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteNetworkInterfaceRequestWithAllParams

func NewDeleteNetworkInterfaceRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
) *DeleteNetworkInterfaceRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required)

func NewDeleteNetworkInterfaceRequestWithoutParam

func NewDeleteNetworkInterfaceRequestWithoutParam() *DeleteNetworkInterfaceRequest

This constructor has better compatible ability when API parameters changed

func (DeleteNetworkInterfaceRequest) GetRegionId

func (r DeleteNetworkInterfaceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteNetworkInterfaceRequest) SetNetworkInterfaceId

func (r *DeleteNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*DeleteNetworkInterfaceRequest) SetRegionId

func (r *DeleteNetworkInterfaceRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DeleteNetworkInterfaceResponse

type DeleteNetworkInterfaceResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DeleteNetworkInterfaceResult `json:"result"`
}

type DeleteNetworkInterfaceResult

type DeleteNetworkInterfaceResult struct {
}

type DeleteNetworkSecurityGroupRequest

type DeleteNetworkSecurityGroupRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* NetworkSecurityGroup ID  */
	NetworkSecurityGroupId string `json:"networkSecurityGroupId"`
}

func NewDeleteNetworkSecurityGroupRequest

func NewDeleteNetworkSecurityGroupRequest(
	regionId string,
	networkSecurityGroupId string,
) *DeleteNetworkSecurityGroupRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteNetworkSecurityGroupRequestWithAllParams

func NewDeleteNetworkSecurityGroupRequestWithAllParams(
	regionId string,
	networkSecurityGroupId string,
) *DeleteNetworkSecurityGroupRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required)

func NewDeleteNetworkSecurityGroupRequestWithoutParam

func NewDeleteNetworkSecurityGroupRequestWithoutParam() *DeleteNetworkSecurityGroupRequest

This constructor has better compatible ability when API parameters changed

func (DeleteNetworkSecurityGroupRequest) GetRegionId

func (r DeleteNetworkSecurityGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteNetworkSecurityGroupRequest) SetNetworkSecurityGroupId

func (r *DeleteNetworkSecurityGroupRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)

param networkSecurityGroupId: NetworkSecurityGroup ID(Required)

func (*DeleteNetworkSecurityGroupRequest) SetRegionId

func (r *DeleteNetworkSecurityGroupRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DeleteNetworkSecurityGroupResponse

type DeleteNetworkSecurityGroupResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    DeleteNetworkSecurityGroupResult `json:"result"`
}

type DeleteNetworkSecurityGroupResult

type DeleteNetworkSecurityGroupResult struct {
}

type DeleteRouteTableRequest

type DeleteRouteTableRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* RouteTable ID  */
	RouteTableId string `json:"routeTableId"`
}

func NewDeleteRouteTableRequest

func NewDeleteRouteTableRequest(
	regionId string,
	routeTableId string,
) *DeleteRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteRouteTableRequestWithAllParams

func NewDeleteRouteTableRequestWithAllParams(
	regionId string,
	routeTableId string,
) *DeleteRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required)

func NewDeleteRouteTableRequestWithoutParam

func NewDeleteRouteTableRequestWithoutParam() *DeleteRouteTableRequest

This constructor has better compatible ability when API parameters changed

func (DeleteRouteTableRequest) GetRegionId

func (r DeleteRouteTableRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteRouteTableRequest) SetRegionId

func (r *DeleteRouteTableRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DeleteRouteTableRequest) SetRouteTableId

func (r *DeleteRouteTableRequest) SetRouteTableId(routeTableId string)

param routeTableId: RouteTable ID(Required)

type DeleteRouteTableResponse

type DeleteRouteTableResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DeleteRouteTableResult `json:"result"`
}

type DeleteRouteTableResult

type DeleteRouteTableResult struct {
}

type DeleteSubnetRequest

type DeleteSubnetRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Subnet ID  */
	SubnetId string `json:"subnetId"`
}

func NewDeleteSubnetRequest

func NewDeleteSubnetRequest(
	regionId string,
	subnetId string,
) *DeleteSubnetRequest

* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteSubnetRequestWithAllParams

func NewDeleteSubnetRequestWithAllParams(
	regionId string,
	subnetId string,
) *DeleteSubnetRequest

* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required)

func NewDeleteSubnetRequestWithoutParam

func NewDeleteSubnetRequestWithoutParam() *DeleteSubnetRequest

This constructor has better compatible ability when API parameters changed

func (DeleteSubnetRequest) GetRegionId

func (r DeleteSubnetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteSubnetRequest) SetRegionId

func (r *DeleteSubnetRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DeleteSubnetRequest) SetSubnetId

func (r *DeleteSubnetRequest) SetSubnetId(subnetId string)

param subnetId: Subnet ID(Required)

type DeleteSubnetResponse

type DeleteSubnetResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteSubnetResult `json:"result"`
}

type DeleteSubnetResult

type DeleteSubnetResult struct {
}

type DeleteVpcPeeringRequest

type DeleteVpcPeeringRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* vpcPeeringId ID  */
	VpcPeeringId string `json:"vpcPeeringId"`
}

func NewDeleteVpcPeeringRequest

func NewDeleteVpcPeeringRequest(
	regionId string,
	vpcPeeringId string,
) *DeleteVpcPeeringRequest

* param regionId: Region ID (Required) * param vpcPeeringId: vpcPeeringId ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteVpcPeeringRequestWithAllParams

func NewDeleteVpcPeeringRequestWithAllParams(
	regionId string,
	vpcPeeringId string,
) *DeleteVpcPeeringRequest

* param regionId: Region ID (Required) * param vpcPeeringId: vpcPeeringId ID (Required)

func NewDeleteVpcPeeringRequestWithoutParam

func NewDeleteVpcPeeringRequestWithoutParam() *DeleteVpcPeeringRequest

This constructor has better compatible ability when API parameters changed

func (DeleteVpcPeeringRequest) GetRegionId

func (r DeleteVpcPeeringRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteVpcPeeringRequest) SetRegionId

func (r *DeleteVpcPeeringRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DeleteVpcPeeringRequest) SetVpcPeeringId

func (r *DeleteVpcPeeringRequest) SetVpcPeeringId(vpcPeeringId string)

param vpcPeeringId: vpcPeeringId ID(Required)

type DeleteVpcPeeringResponse

type DeleteVpcPeeringResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DeleteVpcPeeringResult `json:"result"`
}

type DeleteVpcPeeringResult

type DeleteVpcPeeringResult struct {
}

type DeleteVpcRequest

type DeleteVpcRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Vpc ID  */
	VpcId string `json:"vpcId"`
}

func NewDeleteVpcRequest

func NewDeleteVpcRequest(
	regionId string,
	vpcId string,
) *DeleteVpcRequest

* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteVpcRequestWithAllParams

func NewDeleteVpcRequestWithAllParams(
	regionId string,
	vpcId string,
) *DeleteVpcRequest

* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required)

func NewDeleteVpcRequestWithoutParam

func NewDeleteVpcRequestWithoutParam() *DeleteVpcRequest

This constructor has better compatible ability when API parameters changed

func (DeleteVpcRequest) GetRegionId

func (r DeleteVpcRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteVpcRequest) SetRegionId

func (r *DeleteVpcRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DeleteVpcRequest) SetVpcId

func (r *DeleteVpcRequest) SetVpcId(vpcId string)

param vpcId: Vpc ID(Required)

type DeleteVpcResponse

type DeleteVpcResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteVpcResult    `json:"result"`
}

type DeleteVpcResult

type DeleteVpcResult struct {
}

type DescribeBandwidthPackageRequest

type DescribeBandwidthPackageRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 共享带宽包ID  */
	BandwidthPackageId string `json:"bandwidthPackageId"`
}

func NewDescribeBandwidthPackageRequest

func NewDescribeBandwidthPackageRequest(
	regionId string,
	bandwidthPackageId string,
) *DescribeBandwidthPackageRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBandwidthPackageRequestWithAllParams

func NewDescribeBandwidthPackageRequestWithAllParams(
	regionId string,
	bandwidthPackageId string,
) *DescribeBandwidthPackageRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required)

func NewDescribeBandwidthPackageRequestWithoutParam

func NewDescribeBandwidthPackageRequestWithoutParam() *DescribeBandwidthPackageRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBandwidthPackageRequest) GetRegionId

func (r DescribeBandwidthPackageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBandwidthPackageRequest) SetBandwidthPackageId

func (r *DescribeBandwidthPackageRequest) SetBandwidthPackageId(bandwidthPackageId string)

param bandwidthPackageId: 共享带宽包ID(Required)

func (*DescribeBandwidthPackageRequest) SetRegionId

func (r *DescribeBandwidthPackageRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeBandwidthPackageResponse

type DescribeBandwidthPackageResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeBandwidthPackageResult `json:"result"`
}

type DescribeBandwidthPackageResult

type DescribeBandwidthPackageResult struct {
	BandwidthPackage vpc.BandwidthPackage `json:"bandwidthPackage"`
}

type DescribeBandwidthPackagesRequest

type DescribeBandwidthPackagesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围为[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* bwpIds - 共享带宽包ID,支持多个进行精确搜索
	name - 共享带宽包名称,支持单个进行精确搜索
	 (Optional) */
	Filters []common.Filter `json:"filters"`

	/* Tag筛选条件 (Optional) */
	Tags []vpc.TagFilter `json:"tags"`

	/* 资源组筛选条件 (Optional) */
	ResourceGroupIds []string `json:"resourceGroupIds"`
}

func NewDescribeBandwidthPackagesRequest

func NewDescribeBandwidthPackagesRequest(
	regionId string,
) *DescribeBandwidthPackagesRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBandwidthPackagesRequestWithAllParams

func NewDescribeBandwidthPackagesRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
	tags []vpc.TagFilter,
	resourceGroupIds []string,
) *DescribeBandwidthPackagesRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围为[10,100] (Optional)
  • param filters: bwpIds - 共享带宽包ID,支持多个进行精确搜索

name - 共享带宽包名称,支持单个进行精确搜索

(Optional)
* param tags: Tag筛选条件 (Optional)
* param resourceGroupIds: 资源组筛选条件 (Optional)

func NewDescribeBandwidthPackagesRequestWithoutParam

func NewDescribeBandwidthPackagesRequestWithoutParam() *DescribeBandwidthPackagesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBandwidthPackagesRequest) GetRegionId

func (r DescribeBandwidthPackagesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBandwidthPackagesRequest) SetFilters

func (r *DescribeBandwidthPackagesRequest) SetFilters(filters []common.Filter)
param filters: bwpIds - 共享带宽包ID,支持多个进行精确搜索

name - 共享带宽包名称,支持单个进行精确搜索 (Optional)

func (*DescribeBandwidthPackagesRequest) SetPageNumber

func (r *DescribeBandwidthPackagesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeBandwidthPackagesRequest) SetPageSize

func (r *DescribeBandwidthPackagesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围为[10,100](Optional)

func (*DescribeBandwidthPackagesRequest) SetRegionId

func (r *DescribeBandwidthPackagesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeBandwidthPackagesRequest) SetResourceGroupIds

func (r *DescribeBandwidthPackagesRequest) SetResourceGroupIds(resourceGroupIds []string)

param resourceGroupIds: 资源组筛选条件(Optional)

func (*DescribeBandwidthPackagesRequest) SetTags

func (r *DescribeBandwidthPackagesRequest) SetTags(tags []vpc.TagFilter)

param tags: Tag筛选条件(Optional)

type DescribeBandwidthPackagesResponse

type DescribeBandwidthPackagesResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeBandwidthPackagesResult `json:"result"`
}

type DescribeBandwidthPackagesResult

type DescribeBandwidthPackagesResult struct {
	BandwidthPackages []vpc.BandwidthPackage `json:"bandwidthPackages"`
	TotalCount        int                    `json:"totalCount"`
}

type DescribeEdgeIpProvidersRequest

type DescribeEdgeIpProvidersRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* providers - 边缘公网IP的线路,命名规则:[线路接入区].[资源关联范围].[服务类型],示例如cn-n1-jinan1.ez.bgp,支持多个
	pointsOfAccess - 边缘公网IP的线路接入区,提供线路接入区具体位置信息,支持多个
	associationScope	- 边缘公网IP的资源关联范围,取值ez(边缘可用区)和az(中心可用区,暂不支持),支持单个
	serviceTypes - 边缘公网IP的服务类型,取值:bgp(动态),unicom(联通),telecom(电信),mobile(移动),支持多个
	azs - 边缘公网IP的可用区,分为全可用区(暂不支持)和边缘可用区ID(同线路接入区]),示例如cn-n1-sqxx1,支持多个
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeEdgeIpProvidersRequest

func NewDescribeEdgeIpProvidersRequest(
	regionId string,
) *DescribeEdgeIpProvidersRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeEdgeIpProvidersRequestWithAllParams

func NewDescribeEdgeIpProvidersRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeEdgeIpProvidersRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: providers - 边缘公网IP的线路,命名规则:[线路接入区].[资源关联范围].[服务类型],示例如cn-n1-jinan1.ez.bgp,支持多个

pointsOfAccess - 边缘公网IP的线路接入区,提供线路接入区具体位置信息,支持多个 associationScope - 边缘公网IP的资源关联范围,取值ez(边缘可用区)和az(中心可用区,暂不支持),支持单个 serviceTypes - 边缘公网IP的服务类型,取值:bgp(动态),unicom(联通),telecom(电信),mobile(移动),支持多个 azs - 边缘公网IP的可用区,分为全可用区(暂不支持)和边缘可用区ID(同线路接入区]),示例如cn-n1-sqxx1,支持多个

(Optional)

func NewDescribeEdgeIpProvidersRequestWithoutParam

func NewDescribeEdgeIpProvidersRequestWithoutParam() *DescribeEdgeIpProvidersRequest

This constructor has better compatible ability when API parameters changed

func (DescribeEdgeIpProvidersRequest) GetRegionId

func (r DescribeEdgeIpProvidersRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeEdgeIpProvidersRequest) SetFilters

func (r *DescribeEdgeIpProvidersRequest) SetFilters(filters []common.Filter)
param filters: providers - 边缘公网IP的线路,命名规则:[线路接入区].[资源关联范围].[服务类型],示例如cn-n1-jinan1.ez.bgp,支持多个

pointsOfAccess - 边缘公网IP的线路接入区,提供线路接入区具体位置信息,支持多个 associationScope - 边缘公网IP的资源关联范围,取值ez(边缘可用区)和az(中心可用区,暂不支持),支持单个 serviceTypes - 边缘公网IP的服务类型,取值:bgp(动态),unicom(联通),telecom(电信),mobile(移动),支持多个 azs - 边缘公网IP的可用区,分为全可用区(暂不支持)和边缘可用区ID(同线路接入区]),示例如cn-n1-sqxx1,支持多个 (Optional)

func (*DescribeEdgeIpProvidersRequest) SetPageNumber

func (r *DescribeEdgeIpProvidersRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeEdgeIpProvidersRequest) SetPageSize

func (r *DescribeEdgeIpProvidersRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeEdgeIpProvidersRequest) SetRegionId

func (r *DescribeEdgeIpProvidersRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeEdgeIpProvidersResponse

type DescribeEdgeIpProvidersResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    DescribeEdgeIpProvidersResult `json:"result"`
}

type DescribeEdgeIpProvidersResult

type DescribeEdgeIpProvidersResult struct {
	EdgeIpProviders []vpc.EdgeIpProvider `json:"edgeIpProviders"`
	TotalCount      int                  `json:"totalCount"`
}

type DescribeElasticIpRequest

type DescribeElasticIpRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* ElasticIp ID  */
	ElasticIpId string `json:"elasticIpId"`
}

func NewDescribeElasticIpRequest

func NewDescribeElasticIpRequest(
	regionId string,
	elasticIpId string,
) *DescribeElasticIpRequest

* param regionId: Region ID (Required) * param elasticIpId: ElasticIp ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeElasticIpRequestWithAllParams

func NewDescribeElasticIpRequestWithAllParams(
	regionId string,
	elasticIpId string,
) *DescribeElasticIpRequest

* param regionId: Region ID (Required) * param elasticIpId: ElasticIp ID (Required)

func NewDescribeElasticIpRequestWithoutParam

func NewDescribeElasticIpRequestWithoutParam() *DescribeElasticIpRequest

This constructor has better compatible ability when API parameters changed

func (DescribeElasticIpRequest) GetRegionId

func (r DescribeElasticIpRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeElasticIpRequest) SetElasticIpId

func (r *DescribeElasticIpRequest) SetElasticIpId(elasticIpId string)

param elasticIpId: ElasticIp ID(Required)

func (*DescribeElasticIpRequest) SetRegionId

func (r *DescribeElasticIpRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeElasticIpResponse

type DescribeElasticIpResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeElasticIpResult `json:"result"`
}

type DescribeElasticIpResult

type DescribeElasticIpResult struct {
	ElasticIp vpc.ElasticIp `json:"elasticIp"`
}

type DescribeElasticIpsRequest

type DescribeElasticIpsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* elasticIpIds - elasticip id数组条件,支持多个
	elasticIpAddress - eip的IP地址,支持单个
	chargeStatus	- eip的费用支付状态,normal(正常状态) or overdue(预付费已到期) or arrear(欠费状态),支持单个
	ipType - eip类型,取值:all(所有类型)、standard(标准弹性IP)、edge(边缘弹性IP),默认standard,支持单个
	azs - eip可用区,支持多个
	bandwidthPackageId - 共享带宽包ID,支持单个
	status - IP是否被绑定,取值:ASSOCIATED(被绑定)、NOT_ASSOCIATED(未被绑定)、ALL(全部)。支持单个
	 (Optional) */
	Filters []common.Filter `json:"filters"`

	/* Tag筛选条件 (Optional) */
	Tags []vpc.TagFilter `json:"tags"`

	/* 资源组筛选条件 (Optional) */
	ResourceGroupIds []string `json:"resourceGroupIds"`
}

func NewDescribeElasticIpsRequest

func NewDescribeElasticIpsRequest(
	regionId string,
) *DescribeElasticIpsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeElasticIpsRequestWithAllParams

func NewDescribeElasticIpsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
	tags []vpc.TagFilter,
	resourceGroupIds []string,
) *DescribeElasticIpsRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: elasticIpIds - elasticip id数组条件,支持多个

elasticIpAddress - eip的IP地址,支持单个 chargeStatus - eip的费用支付状态,normal(正常状态) or overdue(预付费已到期) or arrear(欠费状态),支持单个 ipType - eip类型,取值:all(所有类型)、standard(标准弹性IP)、edge(边缘弹性IP),默认standard,支持单个 azs - eip可用区,支持多个 bandwidthPackageId - 共享带宽包ID,支持单个 status - IP是否被绑定,取值:ASSOCIATED(被绑定)、NOT_ASSOCIATED(未被绑定)、ALL(全部)。支持单个

(Optional)
* param tags: Tag筛选条件 (Optional)
* param resourceGroupIds: 资源组筛选条件 (Optional)

func NewDescribeElasticIpsRequestWithoutParam

func NewDescribeElasticIpsRequestWithoutParam() *DescribeElasticIpsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeElasticIpsRequest) GetRegionId

func (r DescribeElasticIpsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeElasticIpsRequest) SetFilters

func (r *DescribeElasticIpsRequest) SetFilters(filters []common.Filter)
param filters: elasticIpIds - elasticip id数组条件,支持多个

elasticIpAddress - eip的IP地址,支持单个 chargeStatus - eip的费用支付状态,normal(正常状态) or overdue(预付费已到期) or arrear(欠费状态),支持单个 ipType - eip类型,取值:all(所有类型)、standard(标准弹性IP)、edge(边缘弹性IP),默认standard,支持单个 azs - eip可用区,支持多个 bandwidthPackageId - 共享带宽包ID,支持单个 status - IP是否被绑定,取值:ASSOCIATED(被绑定)、NOT_ASSOCIATED(未被绑定)、ALL(全部)。支持单个 (Optional)

func (*DescribeElasticIpsRequest) SetPageNumber

func (r *DescribeElasticIpsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeElasticIpsRequest) SetPageSize

func (r *DescribeElasticIpsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeElasticIpsRequest) SetRegionId

func (r *DescribeElasticIpsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeElasticIpsRequest) SetResourceGroupIds

func (r *DescribeElasticIpsRequest) SetResourceGroupIds(resourceGroupIds []string)

param resourceGroupIds: 资源组筛选条件(Optional)

func (*DescribeElasticIpsRequest) SetTags

func (r *DescribeElasticIpsRequest) SetTags(tags []vpc.TagFilter)

param tags: Tag筛选条件(Optional)

type DescribeElasticIpsResponse

type DescribeElasticIpsResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeElasticIpsResult `json:"result"`
}

type DescribeElasticIpsResult

type DescribeElasticIpsResult struct {
	ElasticIps []vpc.ElasticIp `json:"elasticIps"`
	TotalCount int             `json:"totalCount"`
}

type DescribeNetworkAclRequest

type DescribeNetworkAclRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkAclId ID  */
	NetworkAclId string `json:"networkAclId"`
}

func NewDescribeNetworkAclRequest

func NewDescribeNetworkAclRequest(
	regionId string,
	networkAclId string,
) *DescribeNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeNetworkAclRequestWithAllParams

func NewDescribeNetworkAclRequestWithAllParams(
	regionId string,
	networkAclId string,
) *DescribeNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required)

func NewDescribeNetworkAclRequestWithoutParam

func NewDescribeNetworkAclRequestWithoutParam() *DescribeNetworkAclRequest

This constructor has better compatible ability when API parameters changed

func (DescribeNetworkAclRequest) GetRegionId

func (r DescribeNetworkAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeNetworkAclRequest) SetNetworkAclId

func (r *DescribeNetworkAclRequest) SetNetworkAclId(networkAclId string)

param networkAclId: networkAclId ID(Required)

func (*DescribeNetworkAclRequest) SetRegionId

func (r *DescribeNetworkAclRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeNetworkAclResponse

type DescribeNetworkAclResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeNetworkAclResult `json:"result"`
}

type DescribeNetworkAclResult

type DescribeNetworkAclResult struct {
	NetworkAcl vpc.NetworkAcl `json:"networkAcl"`
}

type DescribeNetworkAclsRequest

type DescribeNetworkAclsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* networkAclIds - networkAcl ID列表,支持多个
	networkAclNames - networkAcl名称列表,支持多个
	vpcId - networkAcl所属vpc Id,支持单个
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeNetworkAclsRequest

func NewDescribeNetworkAclsRequest(
	regionId string,
) *DescribeNetworkAclsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeNetworkAclsRequestWithAllParams

func NewDescribeNetworkAclsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeNetworkAclsRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: networkAclIds - networkAcl ID列表,支持多个

networkAclNames - networkAcl名称列表,支持多个 vpcId - networkAcl所属vpc Id,支持单个

(Optional)

func NewDescribeNetworkAclsRequestWithoutParam

func NewDescribeNetworkAclsRequestWithoutParam() *DescribeNetworkAclsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeNetworkAclsRequest) GetRegionId

func (r DescribeNetworkAclsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeNetworkAclsRequest) SetFilters

func (r *DescribeNetworkAclsRequest) SetFilters(filters []common.Filter)
param filters: networkAclIds - networkAcl ID列表,支持多个

networkAclNames - networkAcl名称列表,支持多个 vpcId - networkAcl所属vpc Id,支持单个 (Optional)

func (*DescribeNetworkAclsRequest) SetPageNumber

func (r *DescribeNetworkAclsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeNetworkAclsRequest) SetPageSize

func (r *DescribeNetworkAclsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeNetworkAclsRequest) SetRegionId

func (r *DescribeNetworkAclsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeNetworkAclsResponse

type DescribeNetworkAclsResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeNetworkAclsResult `json:"result"`
}

type DescribeNetworkAclsResult

type DescribeNetworkAclsResult struct {
	NetworkAcls []vpc.NetworkAcl `json:"networkAcls"`
	TotalCount  int              `json:"totalCount"`
}

type DescribeNetworkInterfaceRequest

type DescribeNetworkInterfaceRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`
}

func NewDescribeNetworkInterfaceRequest

func NewDescribeNetworkInterfaceRequest(
	regionId string,
	networkInterfaceId string,
) *DescribeNetworkInterfaceRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeNetworkInterfaceRequestWithAllParams

func NewDescribeNetworkInterfaceRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
) *DescribeNetworkInterfaceRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required)

func NewDescribeNetworkInterfaceRequestWithoutParam

func NewDescribeNetworkInterfaceRequestWithoutParam() *DescribeNetworkInterfaceRequest

This constructor has better compatible ability when API parameters changed

func (DescribeNetworkInterfaceRequest) GetRegionId

func (r DescribeNetworkInterfaceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeNetworkInterfaceRequest) SetNetworkInterfaceId

func (r *DescribeNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*DescribeNetworkInterfaceRequest) SetRegionId

func (r *DescribeNetworkInterfaceRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeNetworkInterfaceResponse

type DescribeNetworkInterfaceResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeNetworkInterfaceResult `json:"result"`
}

type DescribeNetworkInterfaceResult

type DescribeNetworkInterfaceResult struct {
	NetworkInterface vpc.NetworkInterface `json:"networkInterface"`
}

type DescribeNetworkInterfacesRequest

type DescribeNetworkInterfacesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* networkInterfaceIds - 弹性网卡ID列表,支持多个
	networkInterfaceNames - 弹性网卡名称列表,支持多个
	vpcId - 弹性网卡所属vpc Id,支持单个
	subnetId	- 弹性网卡所属子网Id,支持单个
	role - 网卡角色,取值范围:Primary(主网卡)、Secondary(辅助网卡)、Managed (受管网卡),支持单个
	azType - 网卡 az类型,取值:all(全部类型),standard(标准Az网卡),edge(边缘Az网卡),默认为all,支持单个
	azs - 可用区 az名,支持多个
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeNetworkInterfacesRequest

func NewDescribeNetworkInterfacesRequest(
	regionId string,
) *DescribeNetworkInterfacesRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeNetworkInterfacesRequestWithAllParams

func NewDescribeNetworkInterfacesRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeNetworkInterfacesRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: networkInterfaceIds - 弹性网卡ID列表,支持多个

networkInterfaceNames - 弹性网卡名称列表,支持多个 vpcId - 弹性网卡所属vpc Id,支持单个 subnetId - 弹性网卡所属子网Id,支持单个 role - 网卡角色,取值范围:Primary(主网卡)、Secondary(辅助网卡)、Managed (受管网卡),支持单个 azType - 网卡 az类型,取值:all(全部类型),standard(标准Az网卡),edge(边缘Az网卡),默认为all,支持单个 azs - 可用区 az名,支持多个

(Optional)

func NewDescribeNetworkInterfacesRequestWithoutParam

func NewDescribeNetworkInterfacesRequestWithoutParam() *DescribeNetworkInterfacesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeNetworkInterfacesRequest) GetRegionId

func (r DescribeNetworkInterfacesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeNetworkInterfacesRequest) SetFilters

func (r *DescribeNetworkInterfacesRequest) SetFilters(filters []common.Filter)
param filters: networkInterfaceIds - 弹性网卡ID列表,支持多个

networkInterfaceNames - 弹性网卡名称列表,支持多个 vpcId - 弹性网卡所属vpc Id,支持单个 subnetId - 弹性网卡所属子网Id,支持单个 role - 网卡角色,取值范围:Primary(主网卡)、Secondary(辅助网卡)、Managed (受管网卡),支持单个 azType - 网卡 az类型,取值:all(全部类型),standard(标准Az网卡),edge(边缘Az网卡),默认为all,支持单个 azs - 可用区 az名,支持多个 (Optional)

func (*DescribeNetworkInterfacesRequest) SetPageNumber

func (r *DescribeNetworkInterfacesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeNetworkInterfacesRequest) SetPageSize

func (r *DescribeNetworkInterfacesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeNetworkInterfacesRequest) SetRegionId

func (r *DescribeNetworkInterfacesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeNetworkInterfacesResponse

type DescribeNetworkInterfacesResponse struct {
	RequestID string                          `json:"requestId"`
	Error     core.ErrorResponse              `json:"error"`
	Result    DescribeNetworkInterfacesResult `json:"result"`
}

type DescribeNetworkInterfacesResult

type DescribeNetworkInterfacesResult struct {
	NetworkInterfaces []vpc.NetworkInterface `json:"networkInterfaces"`
	TotalCount        int                    `json:"totalCount"`
}

type DescribeNetworkSecurityGroupRequest

type DescribeNetworkSecurityGroupRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* NetworkSecurityGroup ID  */
	NetworkSecurityGroupId string `json:"networkSecurityGroupId"`
}

func NewDescribeNetworkSecurityGroupRequest

func NewDescribeNetworkSecurityGroupRequest(
	regionId string,
	networkSecurityGroupId string,
) *DescribeNetworkSecurityGroupRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeNetworkSecurityGroupRequestWithAllParams

func NewDescribeNetworkSecurityGroupRequestWithAllParams(
	regionId string,
	networkSecurityGroupId string,
) *DescribeNetworkSecurityGroupRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required)

func NewDescribeNetworkSecurityGroupRequestWithoutParam

func NewDescribeNetworkSecurityGroupRequestWithoutParam() *DescribeNetworkSecurityGroupRequest

This constructor has better compatible ability when API parameters changed

func (DescribeNetworkSecurityGroupRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeNetworkSecurityGroupRequest) SetNetworkSecurityGroupId

func (r *DescribeNetworkSecurityGroupRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)

param networkSecurityGroupId: NetworkSecurityGroup ID(Required)

func (*DescribeNetworkSecurityGroupRequest) SetRegionId

func (r *DescribeNetworkSecurityGroupRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeNetworkSecurityGroupResponse

type DescribeNetworkSecurityGroupResponse struct {
	RequestID string                             `json:"requestId"`
	Error     core.ErrorResponse                 `json:"error"`
	Result    DescribeNetworkSecurityGroupResult `json:"result"`
}

type DescribeNetworkSecurityGroupResult

type DescribeNetworkSecurityGroupResult struct {
	NetworkSecurityGroup vpc.NetworkSecurityGroup `json:"networkSecurityGroup"`
}

type DescribeNetworkSecurityGroupsRequest

type DescribeNetworkSecurityGroupsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* networkSecurityGroupIds - 安全组ID列表,支持多个
	networkSecurityGroupNames - 安全组名称列表,支持多个
	vpcId	- 安全组所属vpc Id,支持单个
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeNetworkSecurityGroupsRequest

func NewDescribeNetworkSecurityGroupsRequest(
	regionId string,
) *DescribeNetworkSecurityGroupsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeNetworkSecurityGroupsRequestWithAllParams

func NewDescribeNetworkSecurityGroupsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeNetworkSecurityGroupsRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: networkSecurityGroupIds - 安全组ID列表,支持多个

networkSecurityGroupNames - 安全组名称列表,支持多个 vpcId - 安全组所属vpc Id,支持单个

(Optional)

func NewDescribeNetworkSecurityGroupsRequestWithoutParam

func NewDescribeNetworkSecurityGroupsRequestWithoutParam() *DescribeNetworkSecurityGroupsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeNetworkSecurityGroupsRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeNetworkSecurityGroupsRequest) SetFilters

func (r *DescribeNetworkSecurityGroupsRequest) SetFilters(filters []common.Filter)
param filters: networkSecurityGroupIds - 安全组ID列表,支持多个

networkSecurityGroupNames - 安全组名称列表,支持多个 vpcId - 安全组所属vpc Id,支持单个 (Optional)

func (*DescribeNetworkSecurityGroupsRequest) SetPageNumber

func (r *DescribeNetworkSecurityGroupsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeNetworkSecurityGroupsRequest) SetPageSize

func (r *DescribeNetworkSecurityGroupsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeNetworkSecurityGroupsRequest) SetRegionId

func (r *DescribeNetworkSecurityGroupsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeNetworkSecurityGroupsResponse

type DescribeNetworkSecurityGroupsResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    DescribeNetworkSecurityGroupsResult `json:"result"`
}

type DescribeNetworkSecurityGroupsResult

type DescribeNetworkSecurityGroupsResult struct {
	NetworkSecurityGroups []vpc.NetworkSecurityGroup `json:"networkSecurityGroups"`
	TotalCount            int                        `json:"totalCount"`
}

type DescribeQuotaRequest

type DescribeQuotaRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 资源类型,取值范围:vpc、elastic_ip、subnet、security_group、vpcpeering、network_interface(配额只统计辅助网卡)、acl、aclRule、routeTable、staticRoute、propagatedRoute、securityGroupRule、network_interface_cidr、bwpByUsage、bandwidthPackageIp、natGateway  */
	Type string `json:"type"`

	/* type为vpc、elastic_ip、network_interface、bwpByUsage、natGateway不设置, type为subnet、security_group、vpcpeering、acl、routeTable设置为vpcId, type为aclRule设置为aclId, type为staticRoute、propagatedRoute设置为routeTableId, type为securityGroupRule为securityGroupId, type为network_interface_cidr设置为networkInterfaceId,type为bandwidthPackageIp设置为bandwidthPackageId (Optional) */
	ParentResourceId *string `json:"parentResourceId"`
}

func NewDescribeQuotaRequest

func NewDescribeQuotaRequest(
	regionId string,
	type_ string,
) *DescribeQuotaRequest

* param regionId: Region ID (Required) * param type_: 资源类型,取值范围:vpc、elastic_ip、subnet、security_group、vpcpeering、network_interface(配额只统计辅助网卡)、acl、aclRule、routeTable、staticRoute、propagatedRoute、securityGroupRule、network_interface_cidr、bwpByUsage、bandwidthPackageIp、natGateway (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeQuotaRequestWithAllParams

func NewDescribeQuotaRequestWithAllParams(
	regionId string,
	type_ string,
	parentResourceId *string,
) *DescribeQuotaRequest

* param regionId: Region ID (Required) * param type_: 资源类型,取值范围:vpc、elastic_ip、subnet、security_group、vpcpeering、network_interface(配额只统计辅助网卡)、acl、aclRule、routeTable、staticRoute、propagatedRoute、securityGroupRule、network_interface_cidr、bwpByUsage、bandwidthPackageIp、natGateway (Required) * param parentResourceId: type为vpc、elastic_ip、network_interface、bwpByUsage、natGateway不设置, type为subnet、security_group、vpcpeering、acl、routeTable设置为vpcId, type为aclRule设置为aclId, type为staticRoute、propagatedRoute设置为routeTableId, type为securityGroupRule为securityGroupId, type为network_interface_cidr设置为networkInterfaceId,type为bandwidthPackageIp设置为bandwidthPackageId (Optional)

func NewDescribeQuotaRequestWithoutParam

func NewDescribeQuotaRequestWithoutParam() *DescribeQuotaRequest

This constructor has better compatible ability when API parameters changed

func (DescribeQuotaRequest) GetRegionId

func (r DescribeQuotaRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeQuotaRequest) SetParentResourceId

func (r *DescribeQuotaRequest) SetParentResourceId(parentResourceId string)

param parentResourceId: type为vpc、elastic_ip、network_interface、bwpByUsage、natGateway不设置, type为subnet、security_group、vpcpeering、acl、routeTable设置为vpcId, type为aclRule设置为aclId, type为staticRoute、propagatedRoute设置为routeTableId, type为securityGroupRule为securityGroupId, type为network_interface_cidr设置为networkInterfaceId,type为bandwidthPackageIp设置为bandwidthPackageId(Optional)

func (*DescribeQuotaRequest) SetRegionId

func (r *DescribeQuotaRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeQuotaRequest) SetType

func (r *DescribeQuotaRequest) SetType(type_ string)

param type_: 资源类型,取值范围:vpc、elastic_ip、subnet、security_group、vpcpeering、network_interface(配额只统计辅助网卡)、acl、aclRule、routeTable、staticRoute、propagatedRoute、securityGroupRule、network_interface_cidr、bwpByUsage、bandwidthPackageIp、natGateway(Required)

type DescribeQuotaResponse

type DescribeQuotaResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DescribeQuotaResult `json:"result"`
}

type DescribeQuotaResult

type DescribeQuotaResult struct {
	Quota interface{} `json:"quota"`
}

type DescribeRouteTableRequest

type DescribeRouteTableRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* RouteTable ID  */
	RouteTableId string `json:"routeTableId"`
}

func NewDescribeRouteTableRequest

func NewDescribeRouteTableRequest(
	regionId string,
	routeTableId string,
) *DescribeRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeRouteTableRequestWithAllParams

func NewDescribeRouteTableRequestWithAllParams(
	regionId string,
	routeTableId string,
) *DescribeRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required)

func NewDescribeRouteTableRequestWithoutParam

func NewDescribeRouteTableRequestWithoutParam() *DescribeRouteTableRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRouteTableRequest) GetRegionId

func (r DescribeRouteTableRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeRouteTableRequest) SetRegionId

func (r *DescribeRouteTableRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeRouteTableRequest) SetRouteTableId

func (r *DescribeRouteTableRequest) SetRouteTableId(routeTableId string)

param routeTableId: RouteTable ID(Required)

type DescribeRouteTableResponse

type DescribeRouteTableResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeRouteTableResult `json:"result"`
}

type DescribeRouteTableResult

type DescribeRouteTableResult struct {
	RouteTable vpc.RouteTable `json:"routeTable"`
}

type DescribeRouteTablesRequest

type DescribeRouteTablesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* routeTableIds - 路由表ID列表,支持多个
	routeTableNames - 路由表名称列表,支持多个
	vpcId	- 路由表所属vpc Id,支持单个
	azType - 路由表az类型,取值:all(全部类型),standard(标准路由表),edge(边缘路由表),默认standard ,支持单个
	azs - 可用区,支持多个
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeRouteTablesRequest

func NewDescribeRouteTablesRequest(
	regionId string,
) *DescribeRouteTablesRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeRouteTablesRequestWithAllParams

func NewDescribeRouteTablesRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeRouteTablesRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: routeTableIds - 路由表ID列表,支持多个

routeTableNames - 路由表名称列表,支持多个 vpcId - 路由表所属vpc Id,支持单个 azType - 路由表az类型,取值:all(全部类型),standard(标准路由表),edge(边缘路由表),默认standard ,支持单个 azs - 可用区,支持多个

(Optional)

func NewDescribeRouteTablesRequestWithoutParam

func NewDescribeRouteTablesRequestWithoutParam() *DescribeRouteTablesRequest

This constructor has better compatible ability when API parameters changed

func (DescribeRouteTablesRequest) GetRegionId

func (r DescribeRouteTablesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeRouteTablesRequest) SetFilters

func (r *DescribeRouteTablesRequest) SetFilters(filters []common.Filter)
param filters: routeTableIds - 路由表ID列表,支持多个

routeTableNames - 路由表名称列表,支持多个 vpcId - 路由表所属vpc Id,支持单个 azType - 路由表az类型,取值:all(全部类型),standard(标准路由表),edge(边缘路由表),默认standard ,支持单个 azs - 可用区,支持多个 (Optional)

func (*DescribeRouteTablesRequest) SetPageNumber

func (r *DescribeRouteTablesRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeRouteTablesRequest) SetPageSize

func (r *DescribeRouteTablesRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeRouteTablesRequest) SetRegionId

func (r *DescribeRouteTablesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeRouteTablesResponse

type DescribeRouteTablesResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeRouteTablesResult `json:"result"`
}

type DescribeRouteTablesResult

type DescribeRouteTablesResult struct {
	RouteTables []vpc.RouteTable `json:"routeTables"`
	TotalCount  int              `json:"totalCount"`
}

type DescribeSubnetRequest

type DescribeSubnetRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Subnet ID  */
	SubnetId string `json:"subnetId"`
}

func NewDescribeSubnetRequest

func NewDescribeSubnetRequest(
	regionId string,
	subnetId string,
) *DescribeSubnetRequest

* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSubnetRequestWithAllParams

func NewDescribeSubnetRequestWithAllParams(
	regionId string,
	subnetId string,
) *DescribeSubnetRequest

* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required)

func NewDescribeSubnetRequestWithoutParam

func NewDescribeSubnetRequestWithoutParam() *DescribeSubnetRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSubnetRequest) GetRegionId

func (r DescribeSubnetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSubnetRequest) SetRegionId

func (r *DescribeSubnetRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeSubnetRequest) SetSubnetId

func (r *DescribeSubnetRequest) SetSubnetId(subnetId string)

param subnetId: Subnet ID(Required)

type DescribeSubnetResponse

type DescribeSubnetResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DescribeSubnetResult `json:"result"`
}

type DescribeSubnetResult

type DescribeSubnetResult struct {
	Subnet vpc.Subnet `json:"subnet"`
}

type DescribeSubnetsRequest

type DescribeSubnetsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* subnetIds - subnet ID列表,支持多个
	subnetNames - subnet名称列表,支持多个
	routeTableId	- 子网关联路由表Id,支持单个
	aclId - 子网关联acl Id,支持单个
	vpcId - 子网所属VPC Id,支持单个
	subnetType - 子网类型,取值:all(全部类型),standard(标准子网),edge(边缘子网),默认standard ,支持单个
	azs - 可用区,支持多个
	azType - VPC az类型,取值:all(全部类型),standard(标准可用区子网),edge(边缘可用区子网),默认standard ,支持单个
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeSubnetsRequest

func NewDescribeSubnetsRequest(
	regionId string,
) *DescribeSubnetsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeSubnetsRequestWithAllParams

func NewDescribeSubnetsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeSubnetsRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: subnetIds - subnet ID列表,支持多个

subnetNames - subnet名称列表,支持多个 routeTableId - 子网关联路由表Id,支持单个 aclId - 子网关联acl Id,支持单个 vpcId - 子网所属VPC Id,支持单个 subnetType - 子网类型,取值:all(全部类型),standard(标准子网),edge(边缘子网),默认standard ,支持单个 azs - 可用区,支持多个 azType - VPC az类型,取值:all(全部类型),standard(标准可用区子网),edge(边缘可用区子网),默认standard ,支持单个

(Optional)

func NewDescribeSubnetsRequestWithoutParam

func NewDescribeSubnetsRequestWithoutParam() *DescribeSubnetsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeSubnetsRequest) GetRegionId

func (r DescribeSubnetsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeSubnetsRequest) SetFilters

func (r *DescribeSubnetsRequest) SetFilters(filters []common.Filter)
param filters: subnetIds - subnet ID列表,支持多个

subnetNames - subnet名称列表,支持多个 routeTableId - 子网关联路由表Id,支持单个 aclId - 子网关联acl Id,支持单个 vpcId - 子网所属VPC Id,支持单个 subnetType - 子网类型,取值:all(全部类型),standard(标准子网),edge(边缘子网),默认standard ,支持单个 azs - 可用区,支持多个 azType - VPC az类型,取值:all(全部类型),standard(标准可用区子网),edge(边缘可用区子网),默认standard ,支持单个 (Optional)

func (*DescribeSubnetsRequest) SetPageNumber

func (r *DescribeSubnetsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeSubnetsRequest) SetPageSize

func (r *DescribeSubnetsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeSubnetsRequest) SetRegionId

func (r *DescribeSubnetsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeSubnetsResponse

type DescribeSubnetsResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeSubnetsResult `json:"result"`
}

type DescribeSubnetsResult

type DescribeSubnetsResult struct {
	Subnets    []vpc.Subnet `json:"subnets"`
	TotalCount int          `json:"totalCount"`
}

type DescribeVpcPeeringRequest

type DescribeVpcPeeringRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* vpcPeeringId ID  */
	VpcPeeringId string `json:"vpcPeeringId"`
}

func NewDescribeVpcPeeringRequest

func NewDescribeVpcPeeringRequest(
	regionId string,
	vpcPeeringId string,
) *DescribeVpcPeeringRequest

* param regionId: Region ID (Required) * param vpcPeeringId: vpcPeeringId ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeVpcPeeringRequestWithAllParams

func NewDescribeVpcPeeringRequestWithAllParams(
	regionId string,
	vpcPeeringId string,
) *DescribeVpcPeeringRequest

* param regionId: Region ID (Required) * param vpcPeeringId: vpcPeeringId ID (Required)

func NewDescribeVpcPeeringRequestWithoutParam

func NewDescribeVpcPeeringRequestWithoutParam() *DescribeVpcPeeringRequest

This constructor has better compatible ability when API parameters changed

func (DescribeVpcPeeringRequest) GetRegionId

func (r DescribeVpcPeeringRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeVpcPeeringRequest) SetRegionId

func (r *DescribeVpcPeeringRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeVpcPeeringRequest) SetVpcPeeringId

func (r *DescribeVpcPeeringRequest) SetVpcPeeringId(vpcPeeringId string)

param vpcPeeringId: vpcPeeringId ID(Required)

type DescribeVpcPeeringResponse

type DescribeVpcPeeringResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeVpcPeeringResult `json:"result"`
}

type DescribeVpcPeeringResult

type DescribeVpcPeeringResult struct {
	VpcPeering vpc.VpcPeering `json:"vpcPeering"`
}

type DescribeVpcPeeringsRequest

type DescribeVpcPeeringsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* vpcPeeringIds - vpcPeering ID,支持多个
	vpcPeeringNames - vpcPeering名称列表,支持多个
	vpcId	- vpcPeering本端Vpc Id,支持单个
	remoteVpcId - vpcPeering对端Vpc Id,支持单个
	azType - vpcPeering本端VPC az类型,取值:all(全部类型),standard(标准VPC),edge(边缘VPC),默认standard ,支持单个
	azs - vpcPeering本端VPC可用区,支持多个
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeVpcPeeringsRequest

func NewDescribeVpcPeeringsRequest(
	regionId string,
) *DescribeVpcPeeringsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeVpcPeeringsRequestWithAllParams

func NewDescribeVpcPeeringsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeVpcPeeringsRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: vpcPeeringIds - vpcPeering ID,支持多个

vpcPeeringNames - vpcPeering名称列表,支持多个 vpcId - vpcPeering本端Vpc Id,支持单个 remoteVpcId - vpcPeering对端Vpc Id,支持单个 azType - vpcPeering本端VPC az类型,取值:all(全部类型),standard(标准VPC),edge(边缘VPC),默认standard ,支持单个 azs - vpcPeering本端VPC可用区,支持多个

(Optional)

func NewDescribeVpcPeeringsRequestWithoutParam

func NewDescribeVpcPeeringsRequestWithoutParam() *DescribeVpcPeeringsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeVpcPeeringsRequest) GetRegionId

func (r DescribeVpcPeeringsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeVpcPeeringsRequest) SetFilters

func (r *DescribeVpcPeeringsRequest) SetFilters(filters []common.Filter)
param filters: vpcPeeringIds - vpcPeering ID,支持多个

vpcPeeringNames - vpcPeering名称列表,支持多个 vpcId - vpcPeering本端Vpc Id,支持单个 remoteVpcId - vpcPeering对端Vpc Id,支持单个 azType - vpcPeering本端VPC az类型,取值:all(全部类型),standard(标准VPC),edge(边缘VPC),默认standard ,支持单个 azs - vpcPeering本端VPC可用区,支持多个 (Optional)

func (*DescribeVpcPeeringsRequest) SetPageNumber

func (r *DescribeVpcPeeringsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeVpcPeeringsRequest) SetPageSize

func (r *DescribeVpcPeeringsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeVpcPeeringsRequest) SetRegionId

func (r *DescribeVpcPeeringsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeVpcPeeringsResponse

type DescribeVpcPeeringsResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    DescribeVpcPeeringsResult `json:"result"`
}

type DescribeVpcPeeringsResult

type DescribeVpcPeeringsResult struct {
	VpcPeerings []vpc.VpcPeering `json:"vpcPeerings"`
	TotalCount  int              `json:"totalCount"`
}

type DescribeVpcRequest

type DescribeVpcRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Vpc ID  */
	VpcId string `json:"vpcId"`
}

func NewDescribeVpcRequest

func NewDescribeVpcRequest(
	regionId string,
	vpcId string,
) *DescribeVpcRequest

* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeVpcRequestWithAllParams

func NewDescribeVpcRequestWithAllParams(
	regionId string,
	vpcId string,
) *DescribeVpcRequest

* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required)

func NewDescribeVpcRequestWithoutParam

func NewDescribeVpcRequestWithoutParam() *DescribeVpcRequest

This constructor has better compatible ability when API parameters changed

func (DescribeVpcRequest) GetRegionId

func (r DescribeVpcRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeVpcRequest) SetRegionId

func (r *DescribeVpcRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DescribeVpcRequest) SetVpcId

func (r *DescribeVpcRequest) SetVpcId(vpcId string)

param vpcId: Vpc ID(Required)

type DescribeVpcResponse

type DescribeVpcResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DescribeVpcResult  `json:"result"`
}

type DescribeVpcResult

type DescribeVpcResult struct {
	Vpc vpc.Vpc `json:"vpc"`
}

type DescribeVpcsRequest

type DescribeVpcsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小,默认为20,取值范围:[10,100] (Optional) */
	PageSize *int `json:"pageSize"`

	/* vpcIds - vpc ID列表,支持多个
	vpcNames - vpc名称列表,支持多个
	azType - VPC az类型,取值:all(全部类型),standard(标准VPC),edge(边缘VPC),默认standard ,支持单个
	azs - 可用区,支持多个
	 (Optional) */
	Filters []common.Filter `json:"filters"`
}

func NewDescribeVpcsRequest

func NewDescribeVpcsRequest(
	regionId string,
) *DescribeVpcsRequest

* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeVpcsRequestWithAllParams

func NewDescribeVpcsRequestWithAllParams(
	regionId string,
	pageNumber *int,
	pageSize *int,
	filters []common.Filter,
) *DescribeVpcsRequest
  • param regionId: Region ID (Required)
  • param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
  • param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
  • param filters: vpcIds - vpc ID列表,支持多个

vpcNames - vpc名称列表,支持多个 azType - VPC az类型,取值:all(全部类型),standard(标准VPC),edge(边缘VPC),默认standard ,支持单个 azs - 可用区,支持多个

(Optional)

func NewDescribeVpcsRequestWithoutParam

func NewDescribeVpcsRequestWithoutParam() *DescribeVpcsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeVpcsRequest) GetRegionId

func (r DescribeVpcsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeVpcsRequest) SetFilters

func (r *DescribeVpcsRequest) SetFilters(filters []common.Filter)
param filters: vpcIds - vpc ID列表,支持多个

vpcNames - vpc名称列表,支持多个 azType - VPC az类型,取值:all(全部类型),standard(标准VPC),edge(边缘VPC),默认standard ,支持单个 azs - 可用区,支持多个 (Optional)

func (*DescribeVpcsRequest) SetPageNumber

func (r *DescribeVpcsRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)

func (*DescribeVpcsRequest) SetPageSize

func (r *DescribeVpcsRequest) SetPageSize(pageSize int)

param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)

func (*DescribeVpcsRequest) SetRegionId

func (r *DescribeVpcsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DescribeVpcsResponse

type DescribeVpcsResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DescribeVpcsResult `json:"result"`
}

type DescribeVpcsResult

type DescribeVpcsResult struct {
	Vpcs       []vpc.Vpc `json:"vpcs"`
	TotalCount int       `json:"totalCount"`
}

type DisassociateElasticIpRequest

type DisassociateElasticIpRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`

	/* 指定解绑的弹性Ip Id (Optional) */
	ElasticIpId *string `json:"elasticIpId"`

	/* 指定解绑的弹性Ip地址 (Optional) */
	ElasticIpAddress *string `json:"elasticIpAddress"`
}

func NewDisassociateElasticIpRequest

func NewDisassociateElasticIpRequest(
	regionId string,
	networkInterfaceId string,
) *DisassociateElasticIpRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisassociateElasticIpRequestWithAllParams

func NewDisassociateElasticIpRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
	elasticIpId *string,
	elasticIpAddress *string,
) *DisassociateElasticIpRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param elasticIpId: 指定解绑的弹性Ip Id (Optional) * param elasticIpAddress: 指定解绑的弹性Ip地址 (Optional)

func NewDisassociateElasticIpRequestWithoutParam

func NewDisassociateElasticIpRequestWithoutParam() *DisassociateElasticIpRequest

This constructor has better compatible ability when API parameters changed

func (DisassociateElasticIpRequest) GetRegionId

func (r DisassociateElasticIpRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisassociateElasticIpRequest) SetElasticIpAddress

func (r *DisassociateElasticIpRequest) SetElasticIpAddress(elasticIpAddress string)

param elasticIpAddress: 指定解绑的弹性Ip地址(Optional)

func (*DisassociateElasticIpRequest) SetElasticIpId

func (r *DisassociateElasticIpRequest) SetElasticIpId(elasticIpId string)

param elasticIpId: 指定解绑的弹性Ip Id(Optional)

func (*DisassociateElasticIpRequest) SetNetworkInterfaceId

func (r *DisassociateElasticIpRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*DisassociateElasticIpRequest) SetRegionId

func (r *DisassociateElasticIpRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type DisassociateElasticIpResponse

type DisassociateElasticIpResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DisassociateElasticIpResult `json:"result"`
}

type DisassociateElasticIpResult

type DisassociateElasticIpResult struct {
}

type DisassociateNetworkAclRequest

type DisassociateNetworkAclRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkAclId ID  */
	NetworkAclId string `json:"networkAclId"`

	/* networkAcl要解绑的子网ID  */
	SubnetId string `json:"subnetId"`
}

func NewDisassociateNetworkAclRequest

func NewDisassociateNetworkAclRequest(
	regionId string,
	networkAclId string,
	subnetId string,
) *DisassociateNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param subnetId: networkAcl要解绑的子网ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisassociateNetworkAclRequestWithAllParams

func NewDisassociateNetworkAclRequestWithAllParams(
	regionId string,
	networkAclId string,
	subnetId string,
) *DisassociateNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param subnetId: networkAcl要解绑的子网ID (Required)

func NewDisassociateNetworkAclRequestWithoutParam

func NewDisassociateNetworkAclRequestWithoutParam() *DisassociateNetworkAclRequest

This constructor has better compatible ability when API parameters changed

func (DisassociateNetworkAclRequest) GetRegionId

func (r DisassociateNetworkAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisassociateNetworkAclRequest) SetNetworkAclId

func (r *DisassociateNetworkAclRequest) SetNetworkAclId(networkAclId string)

param networkAclId: networkAclId ID(Required)

func (*DisassociateNetworkAclRequest) SetRegionId

func (r *DisassociateNetworkAclRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DisassociateNetworkAclRequest) SetSubnetId

func (r *DisassociateNetworkAclRequest) SetSubnetId(subnetId string)

param subnetId: networkAcl要解绑的子网ID(Required)

type DisassociateNetworkAclResponse

type DisassociateNetworkAclResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DisassociateNetworkAclResult `json:"result"`
}

type DisassociateNetworkAclResult

type DisassociateNetworkAclResult struct {
}

type DisassociateRouteTableRequest

type DisassociateRouteTableRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* RouteTable ID  */
	RouteTableId string `json:"routeTableId"`

	/* 路由表要解绑的子网ID,解绑后子网绑定默认路由表  */
	SubnetId string `json:"subnetId"`
}

func NewDisassociateRouteTableRequest

func NewDisassociateRouteTableRequest(
	regionId string,
	routeTableId string,
	subnetId string,
) *DisassociateRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param subnetId: 路由表要解绑的子网ID,解绑后子网绑定默认路由表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDisassociateRouteTableRequestWithAllParams

func NewDisassociateRouteTableRequestWithAllParams(
	regionId string,
	routeTableId string,
	subnetId string,
) *DisassociateRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param subnetId: 路由表要解绑的子网ID,解绑后子网绑定默认路由表 (Required)

func NewDisassociateRouteTableRequestWithoutParam

func NewDisassociateRouteTableRequestWithoutParam() *DisassociateRouteTableRequest

This constructor has better compatible ability when API parameters changed

func (DisassociateRouteTableRequest) GetRegionId

func (r DisassociateRouteTableRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DisassociateRouteTableRequest) SetRegionId

func (r *DisassociateRouteTableRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*DisassociateRouteTableRequest) SetRouteTableId

func (r *DisassociateRouteTableRequest) SetRouteTableId(routeTableId string)

param routeTableId: RouteTable ID(Required)

func (*DisassociateRouteTableRequest) SetSubnetId

func (r *DisassociateRouteTableRequest) SetSubnetId(subnetId string)

param subnetId: 路由表要解绑的子网ID,解绑后子网绑定默认路由表(Required)

type DisassociateRouteTableResponse

type DisassociateRouteTableResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DisassociateRouteTableResult `json:"result"`
}

type DisassociateRouteTableResult

type DisassociateRouteTableResult struct {
}

type ModifyBandwidthPackageIpBandwidthRequest

type ModifyBandwidthPackageIpBandwidthRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 共享带宽包ID  */
	BandwidthPackageId string `json:"bandwidthPackageId"`

	/* Ip列表  */
	BandwidthPackageIPSpecs []vpc.ModifyBandwidthPackageIpBandwidthSpec `json:"bandwidthPackageIPSpecs"`
}

func NewModifyBandwidthPackageIpBandwidthRequest

func NewModifyBandwidthPackageIpBandwidthRequest(
	regionId string,
	bandwidthPackageId string,
	bandwidthPackageIPSpecs []vpc.ModifyBandwidthPackageIpBandwidthSpec,
) *ModifyBandwidthPackageIpBandwidthRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * param bandwidthPackageIPSpecs: Ip列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyBandwidthPackageIpBandwidthRequestWithAllParams

func NewModifyBandwidthPackageIpBandwidthRequestWithAllParams(
	regionId string,
	bandwidthPackageId string,
	bandwidthPackageIPSpecs []vpc.ModifyBandwidthPackageIpBandwidthSpec,
) *ModifyBandwidthPackageIpBandwidthRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * param bandwidthPackageIPSpecs: Ip列表 (Required)

func NewModifyBandwidthPackageIpBandwidthRequestWithoutParam

func NewModifyBandwidthPackageIpBandwidthRequestWithoutParam() *ModifyBandwidthPackageIpBandwidthRequest

This constructor has better compatible ability when API parameters changed

func (ModifyBandwidthPackageIpBandwidthRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageIPSpecs

func (r *ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.ModifyBandwidthPackageIpBandwidthSpec)

param bandwidthPackageIPSpecs: Ip列表(Required)

func (*ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageId

func (r *ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageId(bandwidthPackageId string)

param bandwidthPackageId: 共享带宽包ID(Required)

func (*ModifyBandwidthPackageIpBandwidthRequest) SetRegionId

func (r *ModifyBandwidthPackageIpBandwidthRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyBandwidthPackageIpBandwidthResponse

type ModifyBandwidthPackageIpBandwidthResponse struct {
	RequestID string                                  `json:"requestId"`
	Error     core.ErrorResponse                      `json:"error"`
	Result    ModifyBandwidthPackageIpBandwidthResult `json:"result"`
}

type ModifyBandwidthPackageIpBandwidthResult

type ModifyBandwidthPackageIpBandwidthResult struct {
}

type ModifyBandwidthPackageRequest

type ModifyBandwidthPackageRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 共享带宽包ID  */
	BandwidthPackageId string `json:"bandwidthPackageId"`

	/* 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,且不能低于共享带宽包内公网IP带宽上限 (Optional) */
	BandwidthMbps *int `json:"bandwidthMbps"`

	/* 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符 (Optional) */
	Name *string `json:"name"`

	/* 描述,长度不超过256个字符 (Optional) */
	Description *string `json:"description"`
}

func NewModifyBandwidthPackageRequest

func NewModifyBandwidthPackageRequest(
	regionId string,
	bandwidthPackageId string,
) *ModifyBandwidthPackageRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyBandwidthPackageRequestWithAllParams

func NewModifyBandwidthPackageRequestWithAllParams(
	regionId string,
	bandwidthPackageId string,
	bandwidthMbps *int,
	name *string,
	description *string,
) *ModifyBandwidthPackageRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * param bandwidthMbps: 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,且不能低于共享带宽包内公网IP带宽上限 (Optional) * param name: 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符 (Optional) * param description: 描述,长度不超过256个字符 (Optional)

func NewModifyBandwidthPackageRequestWithoutParam

func NewModifyBandwidthPackageRequestWithoutParam() *ModifyBandwidthPackageRequest

This constructor has better compatible ability when API parameters changed

func (ModifyBandwidthPackageRequest) GetRegionId

func (r ModifyBandwidthPackageRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyBandwidthPackageRequest) SetBandwidthMbps

func (r *ModifyBandwidthPackageRequest) SetBandwidthMbps(bandwidthMbps int)

param bandwidthMbps: 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,且不能低于共享带宽包内公网IP带宽上限(Optional)

func (*ModifyBandwidthPackageRequest) SetBandwidthPackageId

func (r *ModifyBandwidthPackageRequest) SetBandwidthPackageId(bandwidthPackageId string)

param bandwidthPackageId: 共享带宽包ID(Required)

func (*ModifyBandwidthPackageRequest) SetDescription

func (r *ModifyBandwidthPackageRequest) SetDescription(description string)

param description: 描述,长度不超过256个字符(Optional)

func (*ModifyBandwidthPackageRequest) SetName

func (r *ModifyBandwidthPackageRequest) SetName(name string)

param name: 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符(Optional)

func (*ModifyBandwidthPackageRequest) SetRegionId

func (r *ModifyBandwidthPackageRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyBandwidthPackageResponse

type ModifyBandwidthPackageResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    ModifyBandwidthPackageResult `json:"result"`
}

type ModifyBandwidthPackageResult

type ModifyBandwidthPackageResult struct {
}

type ModifyElasticIpRequest

type ModifyElasticIpRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* ElasticIp ID  */
	ElasticIpId string `json:"elasticIpId"`

	/* 弹性公网IP的限速(单位:Mbps),取值范围为[1-200]  */
	BandwidthMbps int `json:"bandwidthMbps"`
}

func NewModifyElasticIpRequest

func NewModifyElasticIpRequest(
	regionId string,
	elasticIpId string,
	bandwidthMbps int,
) *ModifyElasticIpRequest

* param regionId: Region ID (Required) * param elasticIpId: ElasticIp ID (Required) * param bandwidthMbps: 弹性公网IP的限速(单位:Mbps),取值范围为[1-200] (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyElasticIpRequestWithAllParams

func NewModifyElasticIpRequestWithAllParams(
	regionId string,
	elasticIpId string,
	bandwidthMbps int,
) *ModifyElasticIpRequest

* param regionId: Region ID (Required) * param elasticIpId: ElasticIp ID (Required) * param bandwidthMbps: 弹性公网IP的限速(单位:Mbps),取值范围为[1-200] (Required)

func NewModifyElasticIpRequestWithoutParam

func NewModifyElasticIpRequestWithoutParam() *ModifyElasticIpRequest

This constructor has better compatible ability when API parameters changed

func (ModifyElasticIpRequest) GetRegionId

func (r ModifyElasticIpRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyElasticIpRequest) SetBandwidthMbps

func (r *ModifyElasticIpRequest) SetBandwidthMbps(bandwidthMbps int)

param bandwidthMbps: 弹性公网IP的限速(单位:Mbps),取值范围为[1-200](Required)

func (*ModifyElasticIpRequest) SetElasticIpId

func (r *ModifyElasticIpRequest) SetElasticIpId(elasticIpId string)

param elasticIpId: ElasticIp ID(Required)

func (*ModifyElasticIpRequest) SetRegionId

func (r *ModifyElasticIpRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyElasticIpResponse

type ModifyElasticIpResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    ModifyElasticIpResult `json:"result"`
}

type ModifyElasticIpResult

type ModifyElasticIpResult struct {
}

type ModifyNetworkAclRequest

type ModifyNetworkAclRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkAclId ID  */
	NetworkAclId string `json:"networkAclId"`

	/* networkAcl名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符 (Optional) */
	NetworkAclName *string `json:"networkAclName"`

	/* 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */
	Description *string `json:"description"`
}

func NewModifyNetworkAclRequest

func NewModifyNetworkAclRequest(
	regionId string,
	networkAclId string,
) *ModifyNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyNetworkAclRequestWithAllParams

func NewModifyNetworkAclRequestWithAllParams(
	regionId string,
	networkAclId string,
	networkAclName *string,
	description *string,
) *ModifyNetworkAclRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param networkAclName: networkAcl名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符 (Optional) * param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional)

func NewModifyNetworkAclRequestWithoutParam

func NewModifyNetworkAclRequestWithoutParam() *ModifyNetworkAclRequest

This constructor has better compatible ability when API parameters changed

func (ModifyNetworkAclRequest) GetRegionId

func (r ModifyNetworkAclRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyNetworkAclRequest) SetDescription

func (r *ModifyNetworkAclRequest) SetDescription(description string)

param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符(Optional)

func (*ModifyNetworkAclRequest) SetNetworkAclId

func (r *ModifyNetworkAclRequest) SetNetworkAclId(networkAclId string)

param networkAclId: networkAclId ID(Required)

func (*ModifyNetworkAclRequest) SetNetworkAclName

func (r *ModifyNetworkAclRequest) SetNetworkAclName(networkAclName string)

param networkAclName: networkAcl名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符(Optional)

func (*ModifyNetworkAclRequest) SetRegionId

func (r *ModifyNetworkAclRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyNetworkAclResponse

type ModifyNetworkAclResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ModifyNetworkAclResult `json:"result"`
}

type ModifyNetworkAclResult

type ModifyNetworkAclResult struct {
}

type ModifyNetworkAclRulesRequest

type ModifyNetworkAclRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkAclId ID  */
	NetworkAclId string `json:"networkAclId"`

	/* networkAcl规则列表  */
	ModifyNetworkAclRuleSpecs []vpc.ModifyNetworkAclRuleSpec `json:"modifyNetworkAclRuleSpecs"`
}

func NewModifyNetworkAclRulesRequest

func NewModifyNetworkAclRulesRequest(
	regionId string,
	networkAclId string,
	modifyNetworkAclRuleSpecs []vpc.ModifyNetworkAclRuleSpec,
) *ModifyNetworkAclRulesRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param modifyNetworkAclRuleSpecs: networkAcl规则列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyNetworkAclRulesRequestWithAllParams

func NewModifyNetworkAclRulesRequestWithAllParams(
	regionId string,
	networkAclId string,
	modifyNetworkAclRuleSpecs []vpc.ModifyNetworkAclRuleSpec,
) *ModifyNetworkAclRulesRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param modifyNetworkAclRuleSpecs: networkAcl规则列表 (Required)

func NewModifyNetworkAclRulesRequestWithoutParam

func NewModifyNetworkAclRulesRequestWithoutParam() *ModifyNetworkAclRulesRequest

This constructor has better compatible ability when API parameters changed

func (ModifyNetworkAclRulesRequest) GetRegionId

func (r ModifyNetworkAclRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyNetworkAclRulesRequest) SetModifyNetworkAclRuleSpecs

func (r *ModifyNetworkAclRulesRequest) SetModifyNetworkAclRuleSpecs(modifyNetworkAclRuleSpecs []vpc.ModifyNetworkAclRuleSpec)

param modifyNetworkAclRuleSpecs: networkAcl规则列表(Required)

func (*ModifyNetworkAclRulesRequest) SetNetworkAclId

func (r *ModifyNetworkAclRulesRequest) SetNetworkAclId(networkAclId string)

param networkAclId: networkAclId ID(Required)

func (*ModifyNetworkAclRulesRequest) SetRegionId

func (r *ModifyNetworkAclRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyNetworkAclRulesResponse

type ModifyNetworkAclRulesResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    ModifyNetworkAclRulesResult `json:"result"`
}

type ModifyNetworkAclRulesResult

type ModifyNetworkAclRulesResult struct {
}

type ModifyNetworkInterfaceRequest

type ModifyNetworkInterfaceRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`

	/* 弹性网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符 (Optional) */
	NetworkInterfaceName *string `json:"networkInterfaceName"`

	/* 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */
	Description *string `json:"description"`

	/* 以覆盖原有安全组的方式更新的安全组。如果更新安全组ID列表,最多5个安全组 (Optional) */
	SecurityGroups []string `json:"securityGroups"`
}

func NewModifyNetworkInterfaceRequest

func NewModifyNetworkInterfaceRequest(
	regionId string,
	networkInterfaceId string,
) *ModifyNetworkInterfaceRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyNetworkInterfaceRequestWithAllParams

func NewModifyNetworkInterfaceRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
	networkInterfaceName *string,
	description *string,
	securityGroups []string,
) *ModifyNetworkInterfaceRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param networkInterfaceName: 弹性网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符 (Optional) * param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) * param securityGroups: 以覆盖原有安全组的方式更新的安全组。如果更新安全组ID列表,最多5个安全组 (Optional)

func NewModifyNetworkInterfaceRequestWithoutParam

func NewModifyNetworkInterfaceRequestWithoutParam() *ModifyNetworkInterfaceRequest

This constructor has better compatible ability when API parameters changed

func (ModifyNetworkInterfaceRequest) GetRegionId

func (r ModifyNetworkInterfaceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyNetworkInterfaceRequest) SetDescription

func (r *ModifyNetworkInterfaceRequest) SetDescription(description string)

param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符(Optional)

func (*ModifyNetworkInterfaceRequest) SetNetworkInterfaceId

func (r *ModifyNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*ModifyNetworkInterfaceRequest) SetNetworkInterfaceName

func (r *ModifyNetworkInterfaceRequest) SetNetworkInterfaceName(networkInterfaceName string)

param networkInterfaceName: 弹性网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符(Optional)

func (*ModifyNetworkInterfaceRequest) SetRegionId

func (r *ModifyNetworkInterfaceRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*ModifyNetworkInterfaceRequest) SetSecurityGroups

func (r *ModifyNetworkInterfaceRequest) SetSecurityGroups(securityGroups []string)

param securityGroups: 以覆盖原有安全组的方式更新的安全组。如果更新安全组ID列表,最多5个安全组(Optional)

type ModifyNetworkInterfaceResponse

type ModifyNetworkInterfaceResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    ModifyNetworkInterfaceResult `json:"result"`
}

type ModifyNetworkInterfaceResult

type ModifyNetworkInterfaceResult struct {
}

type ModifyNetworkSecurityGroupRequest

type ModifyNetworkSecurityGroupRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* NetworkSecurityGroup ID  */
	NetworkSecurityGroupId string `json:"networkSecurityGroupId"`

	/* 安全组的名字。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Optional) */
	NetworkSecurityGroupName *string `json:"networkSecurityGroupName"`

	/* 安全组的描述,取值范围:0-256个UTF-8编码下的全部字符 (Optional) */
	Description *string `json:"description"`
}

func NewModifyNetworkSecurityGroupRequest

func NewModifyNetworkSecurityGroupRequest(
	regionId string,
	networkSecurityGroupId string,
) *ModifyNetworkSecurityGroupRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyNetworkSecurityGroupRequestWithAllParams

func NewModifyNetworkSecurityGroupRequestWithAllParams(
	regionId string,
	networkSecurityGroupId string,
	networkSecurityGroupName *string,
	description *string,
) *ModifyNetworkSecurityGroupRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * param networkSecurityGroupName: 安全组的名字。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Optional) * param description: 安全组的描述,取值范围:0-256个UTF-8编码下的全部字符 (Optional)

func NewModifyNetworkSecurityGroupRequestWithoutParam

func NewModifyNetworkSecurityGroupRequestWithoutParam() *ModifyNetworkSecurityGroupRequest

This constructor has better compatible ability when API parameters changed

func (ModifyNetworkSecurityGroupRequest) GetRegionId

func (r ModifyNetworkSecurityGroupRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyNetworkSecurityGroupRequest) SetDescription

func (r *ModifyNetworkSecurityGroupRequest) SetDescription(description string)

param description: 安全组的描述,取值范围:0-256个UTF-8编码下的全部字符(Optional)

func (*ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupId

func (r *ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)

param networkSecurityGroupId: NetworkSecurityGroup ID(Required)

func (*ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupName

func (r *ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupName(networkSecurityGroupName string)

param networkSecurityGroupName: 安全组的名字。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符(Optional)

func (*ModifyNetworkSecurityGroupRequest) SetRegionId

func (r *ModifyNetworkSecurityGroupRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyNetworkSecurityGroupResponse

type ModifyNetworkSecurityGroupResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    ModifyNetworkSecurityGroupResult `json:"result"`
}

type ModifyNetworkSecurityGroupResult

type ModifyNetworkSecurityGroupResult struct {
}

type ModifyNetworkSecurityGroupRulesRequest

type ModifyNetworkSecurityGroupRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* NetworkSecurityGroup ID  */
	NetworkSecurityGroupId string `json:"networkSecurityGroupId"`

	/* 安全组规则信息  */
	ModifySecurityGroupRuleSpecs []vpc.ModifySecurityGroupRules `json:"modifySecurityGroupRuleSpecs"`
}

func NewModifyNetworkSecurityGroupRulesRequest

func NewModifyNetworkSecurityGroupRulesRequest(
	regionId string,
	networkSecurityGroupId string,
	modifySecurityGroupRuleSpecs []vpc.ModifySecurityGroupRules,
) *ModifyNetworkSecurityGroupRulesRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * param modifySecurityGroupRuleSpecs: 安全组规则信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyNetworkSecurityGroupRulesRequestWithAllParams

func NewModifyNetworkSecurityGroupRulesRequestWithAllParams(
	regionId string,
	networkSecurityGroupId string,
	modifySecurityGroupRuleSpecs []vpc.ModifySecurityGroupRules,
) *ModifyNetworkSecurityGroupRulesRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * param modifySecurityGroupRuleSpecs: 安全组规则信息 (Required)

func NewModifyNetworkSecurityGroupRulesRequestWithoutParam

func NewModifyNetworkSecurityGroupRulesRequestWithoutParam() *ModifyNetworkSecurityGroupRulesRequest

This constructor has better compatible ability when API parameters changed

func (ModifyNetworkSecurityGroupRulesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyNetworkSecurityGroupRulesRequest) SetModifySecurityGroupRuleSpecs

func (r *ModifyNetworkSecurityGroupRulesRequest) SetModifySecurityGroupRuleSpecs(modifySecurityGroupRuleSpecs []vpc.ModifySecurityGroupRules)

param modifySecurityGroupRuleSpecs: 安全组规则信息(Required)

func (*ModifyNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId

func (r *ModifyNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)

param networkSecurityGroupId: NetworkSecurityGroup ID(Required)

func (*ModifyNetworkSecurityGroupRulesRequest) SetRegionId

func (r *ModifyNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type ModifyNetworkSecurityGroupRulesResponse

type ModifyNetworkSecurityGroupRulesResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    ModifyNetworkSecurityGroupRulesResult `json:"result"`
}

type ModifyNetworkSecurityGroupRulesResult

type ModifyNetworkSecurityGroupRulesResult struct {
}

type ModifyRouteTableRequest

type ModifyRouteTableRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* RouteTable ID  */
	RouteTableId string `json:"routeTableId"`

	/* 路由表的名字。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Optional) */
	RouteTableName *string `json:"routeTableName"`

	/* 路由表的描述,取值范围:0-256个UTF-8编码下的全部字符 (Optional) */
	Description *string `json:"description"`
}

func NewModifyRouteTableRequest

func NewModifyRouteTableRequest(
	regionId string,
	routeTableId string,
) *ModifyRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyRouteTableRequestWithAllParams

func NewModifyRouteTableRequestWithAllParams(
	regionId string,
	routeTableId string,
	routeTableName *string,
	description *string,
) *ModifyRouteTableRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param routeTableName: 路由表的名字。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Optional) * param description: 路由表的描述,取值范围:0-256个UTF-8编码下的全部字符 (Optional)

func NewModifyRouteTableRequestWithoutParam

func NewModifyRouteTableRequestWithoutParam() *ModifyRouteTableRequest

This constructor has better compatible ability when API parameters changed

func (ModifyRouteTableRequest) GetRegionId

func (r ModifyRouteTableRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyRouteTableRequest) SetDescription

func (r *ModifyRouteTableRequest) SetDescription(description string)

param description: 路由表的描述,取值范围:0-256个UTF-8编码下的全部字符(Optional)

func (*ModifyRouteTableRequest) SetRegionId

func (r *ModifyRouteTableRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*ModifyRouteTableRequest) SetRouteTableId

func (r *ModifyRouteTableRequest) SetRouteTableId(routeTableId string)

param routeTableId: RouteTable ID(Required)

func (*ModifyRouteTableRequest) SetRouteTableName

func (r *ModifyRouteTableRequest) SetRouteTableName(routeTableName string)

param routeTableName: 路由表的名字。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符(Optional)

type ModifyRouteTableResponse

type ModifyRouteTableResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ModifyRouteTableResult `json:"result"`
}

type ModifyRouteTableResult

type ModifyRouteTableResult struct {
}

type ModifyRouteTableRulesRequest

type ModifyRouteTableRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* RouteTable ID  */
	RouteTableId string `json:"routeTableId"`

	/* 路由表规则信息  */
	ModifyRouteTableRuleSpecs []vpc.ModifyRouteTableRules `json:"modifyRouteTableRuleSpecs"`
}

func NewModifyRouteTableRulesRequest

func NewModifyRouteTableRulesRequest(
	regionId string,
	routeTableId string,
	modifyRouteTableRuleSpecs []vpc.ModifyRouteTableRules,
) *ModifyRouteTableRulesRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param modifyRouteTableRuleSpecs: 路由表规则信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyRouteTableRulesRequestWithAllParams

func NewModifyRouteTableRulesRequestWithAllParams(
	regionId string,
	routeTableId string,
	modifyRouteTableRuleSpecs []vpc.ModifyRouteTableRules,
) *ModifyRouteTableRulesRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param modifyRouteTableRuleSpecs: 路由表规则信息 (Required)

func NewModifyRouteTableRulesRequestWithoutParam

func NewModifyRouteTableRulesRequestWithoutParam() *ModifyRouteTableRulesRequest

This constructor has better compatible ability when API parameters changed

func (ModifyRouteTableRulesRequest) GetRegionId

func (r ModifyRouteTableRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyRouteTableRulesRequest) SetModifyRouteTableRuleSpecs

func (r *ModifyRouteTableRulesRequest) SetModifyRouteTableRuleSpecs(modifyRouteTableRuleSpecs []vpc.ModifyRouteTableRules)

param modifyRouteTableRuleSpecs: 路由表规则信息(Required)

func (*ModifyRouteTableRulesRequest) SetRegionId

func (r *ModifyRouteTableRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*ModifyRouteTableRulesRequest) SetRouteTableId

func (r *ModifyRouteTableRulesRequest) SetRouteTableId(routeTableId string)

param routeTableId: RouteTable ID(Required)

type ModifyRouteTableRulesResponse

type ModifyRouteTableRulesResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    ModifyRouteTableRulesResult `json:"result"`
}

type ModifyRouteTableRulesResult

type ModifyRouteTableRulesResult struct {
}

type ModifySubnetRequest

type ModifySubnetRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Subnet ID  */
	SubnetId string `json:"subnetId"`

	/* 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) */
	SubnetName *string `json:"subnetName"`

	/* 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) */
	Description *string `json:"description"`

	/* 子网内预留网段掩码长度,此网段IP地址按照单个申请,子网内其余部分IP地址以网段形式分配。此参数非必选,缺省值为0,代表子网内所有IP地址都按照单个申请 (Optional) */
	IpMaskLen *int `json:"ipMaskLen"`
}

func NewModifySubnetRequest

func NewModifySubnetRequest(
	regionId string,
	subnetId string,
) *ModifySubnetRequest

* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifySubnetRequestWithAllParams

func NewModifySubnetRequestWithAllParams(
	regionId string,
	subnetId string,
	subnetName *string,
	description *string,
	ipMaskLen *int,
) *ModifySubnetRequest

* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required) * param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) * param description: 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) * param ipMaskLen: 子网内预留网段掩码长度,此网段IP地址按照单个申请,子网内其余部分IP地址以网段形式分配。此参数非必选,缺省值为0,代表子网内所有IP地址都按照单个申请 (Optional)

func NewModifySubnetRequestWithoutParam

func NewModifySubnetRequestWithoutParam() *ModifySubnetRequest

This constructor has better compatible ability when API parameters changed

func (ModifySubnetRequest) GetRegionId

func (r ModifySubnetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifySubnetRequest) SetDescription

func (r *ModifySubnetRequest) SetDescription(description string)

param description: 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)

func (*ModifySubnetRequest) SetIpMaskLen

func (r *ModifySubnetRequest) SetIpMaskLen(ipMaskLen int)

param ipMaskLen: 子网内预留网段掩码长度,此网段IP地址按照单个申请,子网内其余部分IP地址以网段形式分配。此参数非必选,缺省值为0,代表子网内所有IP地址都按照单个申请(Optional)

func (*ModifySubnetRequest) SetRegionId

func (r *ModifySubnetRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*ModifySubnetRequest) SetSubnetId

func (r *ModifySubnetRequest) SetSubnetId(subnetId string)

param subnetId: Subnet ID(Required)

func (*ModifySubnetRequest) SetSubnetName

func (r *ModifySubnetRequest) SetSubnetName(subnetName string)

param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Optional)

type ModifySubnetResponse

type ModifySubnetResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    ModifySubnetResult `json:"result"`
}

type ModifySubnetResult

type ModifySubnetResult struct {
}

type ModifyVpcPeeringRequest

type ModifyVpcPeeringRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* vpcPeeringId ID  */
	VpcPeeringId string `json:"vpcPeeringId"`

	/* VpcPeering的名字,不为空。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Optional) */
	VpcPeeringName *string `json:"vpcPeeringName"`

	/* VpcPeering 描述,取值范围:0-256个中文、英文大小写的字母、数字和下划线分隔符 (Optional) */
	Description *string `json:"description"`
}

func NewModifyVpcPeeringRequest

func NewModifyVpcPeeringRequest(
	regionId string,
	vpcPeeringId string,
) *ModifyVpcPeeringRequest

* param regionId: Region ID (Required) * param vpcPeeringId: vpcPeeringId ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyVpcPeeringRequestWithAllParams

func NewModifyVpcPeeringRequestWithAllParams(
	regionId string,
	vpcPeeringId string,
	vpcPeeringName *string,
	description *string,
) *ModifyVpcPeeringRequest

* param regionId: Region ID (Required) * param vpcPeeringId: vpcPeeringId ID (Required) * param vpcPeeringName: VpcPeering的名字,不为空。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Optional) * param description: VpcPeering 描述,取值范围:0-256个中文、英文大小写的字母、数字和下划线分隔符 (Optional)

func NewModifyVpcPeeringRequestWithoutParam

func NewModifyVpcPeeringRequestWithoutParam() *ModifyVpcPeeringRequest

This constructor has better compatible ability when API parameters changed

func (ModifyVpcPeeringRequest) GetRegionId

func (r ModifyVpcPeeringRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyVpcPeeringRequest) SetDescription

func (r *ModifyVpcPeeringRequest) SetDescription(description string)

param description: VpcPeering 描述,取值范围:0-256个中文、英文大小写的字母、数字和下划线分隔符(Optional)

func (*ModifyVpcPeeringRequest) SetRegionId

func (r *ModifyVpcPeeringRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*ModifyVpcPeeringRequest) SetVpcPeeringId

func (r *ModifyVpcPeeringRequest) SetVpcPeeringId(vpcPeeringId string)

param vpcPeeringId: vpcPeeringId ID(Required)

func (*ModifyVpcPeeringRequest) SetVpcPeeringName

func (r *ModifyVpcPeeringRequest) SetVpcPeeringName(vpcPeeringName string)

param vpcPeeringName: VpcPeering的名字,不为空。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符(Optional)

type ModifyVpcPeeringResponse

type ModifyVpcPeeringResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ModifyVpcPeeringResult `json:"result"`
}

type ModifyVpcPeeringResult

type ModifyVpcPeeringResult struct {
}

type ModifyVpcRequest

type ModifyVpcRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* Vpc ID  */
	VpcId string `json:"vpcId"`

	/* 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) */
	VpcName *string `json:"vpcName"`

	/* vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) */
	Description *string `json:"description"`
}

func NewModifyVpcRequest

func NewModifyVpcRequest(
	regionId string,
	vpcId string,
) *ModifyVpcRequest

* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyVpcRequestWithAllParams

func NewModifyVpcRequestWithAllParams(
	regionId string,
	vpcId string,
	vpcName *string,
	description *string,
) *ModifyVpcRequest

* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required) * param vpcName: 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) * param description: vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional)

func NewModifyVpcRequestWithoutParam

func NewModifyVpcRequestWithoutParam() *ModifyVpcRequest

This constructor has better compatible ability when API parameters changed

func (ModifyVpcRequest) GetRegionId

func (r ModifyVpcRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyVpcRequest) SetDescription

func (r *ModifyVpcRequest) SetDescription(description string)

param description: vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)

func (*ModifyVpcRequest) SetRegionId

func (r *ModifyVpcRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*ModifyVpcRequest) SetVpcId

func (r *ModifyVpcRequest) SetVpcId(vpcId string)

param vpcId: Vpc ID(Required)

func (*ModifyVpcRequest) SetVpcName

func (r *ModifyVpcRequest) SetVpcName(vpcName string)

param vpcName: 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Optional)

type ModifyVpcResponse

type ModifyVpcResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    ModifyVpcResult    `json:"result"`
}

type ModifyVpcResult

type ModifyVpcResult struct {
}

type RemoveBandwidthPackageIPRequest

type RemoveBandwidthPackageIPRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* 共享带宽包ID  */
	BandwidthPackageId string `json:"bandwidthPackageId"`

	/* 公网IP列表  */
	BandwidthPackageIPSpecs []vpc.RemoveBandwidthPackageIPSpec `json:"bandwidthPackageIPSpecs"`
}

func NewRemoveBandwidthPackageIPRequest

func NewRemoveBandwidthPackageIPRequest(
	regionId string,
	bandwidthPackageId string,
	bandwidthPackageIPSpecs []vpc.RemoveBandwidthPackageIPSpec,
) *RemoveBandwidthPackageIPRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * param bandwidthPackageIPSpecs: 公网IP列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRemoveBandwidthPackageIPRequestWithAllParams

func NewRemoveBandwidthPackageIPRequestWithAllParams(
	regionId string,
	bandwidthPackageId string,
	bandwidthPackageIPSpecs []vpc.RemoveBandwidthPackageIPSpec,
) *RemoveBandwidthPackageIPRequest

* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required) * param bandwidthPackageIPSpecs: 公网IP列表 (Required)

func NewRemoveBandwidthPackageIPRequestWithoutParam

func NewRemoveBandwidthPackageIPRequestWithoutParam() *RemoveBandwidthPackageIPRequest

This constructor has better compatible ability when API parameters changed

func (RemoveBandwidthPackageIPRequest) GetRegionId

func (r RemoveBandwidthPackageIPRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RemoveBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs

func (r *RemoveBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.RemoveBandwidthPackageIPSpec)

param bandwidthPackageIPSpecs: 公网IP列表(Required)

func (*RemoveBandwidthPackageIPRequest) SetBandwidthPackageId

func (r *RemoveBandwidthPackageIPRequest) SetBandwidthPackageId(bandwidthPackageId string)

param bandwidthPackageId: 共享带宽包ID(Required)

func (*RemoveBandwidthPackageIPRequest) SetRegionId

func (r *RemoveBandwidthPackageIPRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

type RemoveBandwidthPackageIPResponse

type RemoveBandwidthPackageIPResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    RemoveBandwidthPackageIPResult `json:"result"`
}

type RemoveBandwidthPackageIPResult

type RemoveBandwidthPackageIPResult struct {
}

type RemoveNetworkAclRulesRequest

type RemoveNetworkAclRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkAclId ID  */
	NetworkAclId string `json:"networkAclId"`

	/* networkAcl规则ID列表  */
	RuleIds []string `json:"ruleIds"`
}

func NewRemoveNetworkAclRulesRequest

func NewRemoveNetworkAclRulesRequest(
	regionId string,
	networkAclId string,
	ruleIds []string,
) *RemoveNetworkAclRulesRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param ruleIds: networkAcl规则ID列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRemoveNetworkAclRulesRequestWithAllParams

func NewRemoveNetworkAclRulesRequestWithAllParams(
	regionId string,
	networkAclId string,
	ruleIds []string,
) *RemoveNetworkAclRulesRequest

* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required) * param ruleIds: networkAcl规则ID列表 (Required)

func NewRemoveNetworkAclRulesRequestWithoutParam

func NewRemoveNetworkAclRulesRequestWithoutParam() *RemoveNetworkAclRulesRequest

This constructor has better compatible ability when API parameters changed

func (RemoveNetworkAclRulesRequest) GetRegionId

func (r RemoveNetworkAclRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RemoveNetworkAclRulesRequest) SetNetworkAclId

func (r *RemoveNetworkAclRulesRequest) SetNetworkAclId(networkAclId string)

param networkAclId: networkAclId ID(Required)

func (*RemoveNetworkAclRulesRequest) SetRegionId

func (r *RemoveNetworkAclRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*RemoveNetworkAclRulesRequest) SetRuleIds

func (r *RemoveNetworkAclRulesRequest) SetRuleIds(ruleIds []string)

param ruleIds: networkAcl规则ID列表(Required)

type RemoveNetworkAclRulesResponse

type RemoveNetworkAclRulesResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    RemoveNetworkAclRulesResult `json:"result"`
}

type RemoveNetworkAclRulesResult

type RemoveNetworkAclRulesResult struct {
}

type RemoveNetworkSecurityGroupRulesRequest

type RemoveNetworkSecurityGroupRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* NetworkSecurityGroup ID  */
	NetworkSecurityGroupId string `json:"networkSecurityGroupId"`

	/* 安全组规则Id列表  */
	RuleIds []string `json:"ruleIds"`
}

func NewRemoveNetworkSecurityGroupRulesRequest

func NewRemoveNetworkSecurityGroupRulesRequest(
	regionId string,
	networkSecurityGroupId string,
	ruleIds []string,
) *RemoveNetworkSecurityGroupRulesRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * param ruleIds: 安全组规则Id列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRemoveNetworkSecurityGroupRulesRequestWithAllParams

func NewRemoveNetworkSecurityGroupRulesRequestWithAllParams(
	regionId string,
	networkSecurityGroupId string,
	ruleIds []string,
) *RemoveNetworkSecurityGroupRulesRequest

* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required) * param ruleIds: 安全组规则Id列表 (Required)

func NewRemoveNetworkSecurityGroupRulesRequestWithoutParam

func NewRemoveNetworkSecurityGroupRulesRequestWithoutParam() *RemoveNetworkSecurityGroupRulesRequest

This constructor has better compatible ability when API parameters changed

func (RemoveNetworkSecurityGroupRulesRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RemoveNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId

func (r *RemoveNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)

param networkSecurityGroupId: NetworkSecurityGroup ID(Required)

func (*RemoveNetworkSecurityGroupRulesRequest) SetRegionId

func (r *RemoveNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*RemoveNetworkSecurityGroupRulesRequest) SetRuleIds

func (r *RemoveNetworkSecurityGroupRulesRequest) SetRuleIds(ruleIds []string)

param ruleIds: 安全组规则Id列表(Required)

type RemoveNetworkSecurityGroupRulesResponse

type RemoveNetworkSecurityGroupRulesResponse struct {
	RequestID string                                `json:"requestId"`
	Error     core.ErrorResponse                    `json:"error"`
	Result    RemoveNetworkSecurityGroupRulesResult `json:"result"`
}

type RemoveNetworkSecurityGroupRulesResult

type RemoveNetworkSecurityGroupRulesResult struct {
}

type RemoveRouteTableRulesRequest

type RemoveRouteTableRulesRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* RouteTable ID  */
	RouteTableId string `json:"routeTableId"`

	/* 路由表规则Id列表  */
	RuleIds []string `json:"ruleIds"`
}

func NewRemoveRouteTableRulesRequest

func NewRemoveRouteTableRulesRequest(
	regionId string,
	routeTableId string,
	ruleIds []string,
) *RemoveRouteTableRulesRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param ruleIds: 路由表规则Id列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRemoveRouteTableRulesRequestWithAllParams

func NewRemoveRouteTableRulesRequestWithAllParams(
	regionId string,
	routeTableId string,
	ruleIds []string,
) *RemoveRouteTableRulesRequest

* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param ruleIds: 路由表规则Id列表 (Required)

func NewRemoveRouteTableRulesRequestWithoutParam

func NewRemoveRouteTableRulesRequestWithoutParam() *RemoveRouteTableRulesRequest

This constructor has better compatible ability when API parameters changed

func (RemoveRouteTableRulesRequest) GetRegionId

func (r RemoveRouteTableRulesRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RemoveRouteTableRulesRequest) SetRegionId

func (r *RemoveRouteTableRulesRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*RemoveRouteTableRulesRequest) SetRouteTableId

func (r *RemoveRouteTableRulesRequest) SetRouteTableId(routeTableId string)

param routeTableId: RouteTable ID(Required)

func (*RemoveRouteTableRulesRequest) SetRuleIds

func (r *RemoveRouteTableRulesRequest) SetRuleIds(ruleIds []string)

param ruleIds: 路由表规则Id列表(Required)

type RemoveRouteTableRulesResponse

type RemoveRouteTableRulesResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    RemoveRouteTableRulesResult `json:"result"`
}

type RemoveRouteTableRulesResult

type RemoveRouteTableRulesResult struct {
}

type UnassignSecondaryIpsRequest

type UnassignSecondaryIpsRequest struct {
	core.JDCloudRequest

	/* Region ID  */
	RegionId string `json:"regionId"`

	/* networkInterface ID  */
	NetworkInterfaceId string `json:"networkInterfaceId"`

	/* 指定删除的secondaryIp地址 (Optional) */
	SecondaryIps []string `json:"secondaryIps"`

	/* 指定删除的secondaryIp网段 (Optional) */
	SecondaryCidrs []string `json:"secondaryCidrs"`
}

func NewUnassignSecondaryIpsRequest

func NewUnassignSecondaryIpsRequest(
	regionId string,
	networkInterfaceId string,
) *UnassignSecondaryIpsRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewUnassignSecondaryIpsRequestWithAllParams

func NewUnassignSecondaryIpsRequestWithAllParams(
	regionId string,
	networkInterfaceId string,
	secondaryIps []string,
	secondaryCidrs []string,
) *UnassignSecondaryIpsRequest

* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param secondaryIps: 指定删除的secondaryIp地址 (Optional) * param secondaryCidrs: 指定删除的secondaryIp网段 (Optional)

func NewUnassignSecondaryIpsRequestWithoutParam

func NewUnassignSecondaryIpsRequestWithoutParam() *UnassignSecondaryIpsRequest

This constructor has better compatible ability when API parameters changed

func (UnassignSecondaryIpsRequest) GetRegionId

func (r UnassignSecondaryIpsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*UnassignSecondaryIpsRequest) SetNetworkInterfaceId

func (r *UnassignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)

param networkInterfaceId: networkInterface ID(Required)

func (*UnassignSecondaryIpsRequest) SetRegionId

func (r *UnassignSecondaryIpsRequest) SetRegionId(regionId string)

param regionId: Region ID(Required)

func (*UnassignSecondaryIpsRequest) SetSecondaryCidrs

func (r *UnassignSecondaryIpsRequest) SetSecondaryCidrs(secondaryCidrs []string)

param secondaryCidrs: 指定删除的secondaryIp网段(Optional)

func (*UnassignSecondaryIpsRequest) SetSecondaryIps

func (r *UnassignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)

param secondaryIps: 指定删除的secondaryIp地址(Optional)

type UnassignSecondaryIpsResponse

type UnassignSecondaryIpsResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    UnassignSecondaryIpsResult `json:"result"`
}

type UnassignSecondaryIpsResult

type UnassignSecondaryIpsResult struct {
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL