Documentation ¶
Index ¶
- type AddBandwidthPackageIPRequest
- func NewAddBandwidthPackageIPRequest(regionId string, bandwidthPackageId string, ...) *AddBandwidthPackageIPRequest
- func NewAddBandwidthPackageIPRequestWithAllParams(regionId string, bandwidthPackageId string, ...) *AddBandwidthPackageIPRequest
- func NewAddBandwidthPackageIPRequestWithoutParam() *AddBandwidthPackageIPRequest
- func (r AddBandwidthPackageIPRequest) GetRegionId() string
- func (r *AddBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.AddBandwidthPackageIPSpec)
- func (r *AddBandwidthPackageIPRequest) SetBandwidthPackageId(bandwidthPackageId string)
- func (r *AddBandwidthPackageIPRequest) SetRegionId(regionId string)
- type AddBandwidthPackageIPResponse
- type AddBandwidthPackageIPResult
- type AddNetworkAclRulesRequest
- func (r AddNetworkAclRulesRequest) GetRegionId() string
- func (r *AddNetworkAclRulesRequest) SetNetworkAclId(networkAclId string)
- func (r *AddNetworkAclRulesRequest) SetNetworkAclRuleSpecs(networkAclRuleSpecs []vpc.AddNetworkAclRuleSpec)
- func (r *AddNetworkAclRulesRequest) SetRegionId(regionId string)
- type AddNetworkAclRulesResponse
- type AddNetworkAclRulesResult
- type AddNetworkSecurityGroupRulesRequest
- func NewAddNetworkSecurityGroupRulesRequest(regionId string, networkSecurityGroupId string, ...) *AddNetworkSecurityGroupRulesRequest
- func NewAddNetworkSecurityGroupRulesRequestWithAllParams(regionId string, networkSecurityGroupId string, ...) *AddNetworkSecurityGroupRulesRequest
- func NewAddNetworkSecurityGroupRulesRequestWithoutParam() *AddNetworkSecurityGroupRulesRequest
- func (r AddNetworkSecurityGroupRulesRequest) GetRegionId() string
- func (r *AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
- func (r *AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupRuleSpecs(networkSecurityGroupRuleSpecs []vpc.AddSecurityGroupRules)
- func (r *AddNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)
- type AddNetworkSecurityGroupRulesResponse
- type AddNetworkSecurityGroupRulesResult
- type AddRouteTableRulesRequest
- type AddRouteTableRulesResponse
- type AddRouteTableRulesResult
- type AssignSecondaryIpsRequest
- func NewAssignSecondaryIpsRequest(regionId string, networkInterfaceId string) *AssignSecondaryIpsRequest
- func NewAssignSecondaryIpsRequestWithAllParams(regionId string, networkInterfaceId string, force *bool, secondaryIps []string, ...) *AssignSecondaryIpsRequest
- func NewAssignSecondaryIpsRequestWithoutParam() *AssignSecondaryIpsRequest
- func (r AssignSecondaryIpsRequest) GetRegionId() string
- func (r *AssignSecondaryIpsRequest) SetForce(force bool)
- func (r *AssignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)
- func (r *AssignSecondaryIpsRequest) SetRegionId(regionId string)
- func (r *AssignSecondaryIpsRequest) SetSecondaryIpAddress(secondaryIpAddress string)
- func (r *AssignSecondaryIpsRequest) SetSecondaryIpCount(secondaryIpCount int)
- func (r *AssignSecondaryIpsRequest) SetSecondaryIpMaskLen(secondaryIpMaskLen int)
- func (r *AssignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)
- type AssignSecondaryIpsResponse
- type AssignSecondaryIpsResult
- type AssociateElasticIpRequest
- func NewAssociateElasticIpRequest(regionId string, networkInterfaceId string) *AssociateElasticIpRequest
- func NewAssociateElasticIpRequestWithAllParams(regionId string, networkInterfaceId string, elasticIpId *string, ...) *AssociateElasticIpRequest
- func NewAssociateElasticIpRequestWithoutParam() *AssociateElasticIpRequest
- func (r AssociateElasticIpRequest) GetRegionId() string
- func (r *AssociateElasticIpRequest) SetElasticIpAddress(elasticIpAddress string)
- func (r *AssociateElasticIpRequest) SetElasticIpId(elasticIpId string)
- func (r *AssociateElasticIpRequest) SetNetworkInterfaceId(networkInterfaceId string)
- func (r *AssociateElasticIpRequest) SetPrivateIpAddress(privateIpAddress string)
- func (r *AssociateElasticIpRequest) SetRegionId(regionId string)
- type AssociateElasticIpResponse
- type AssociateElasticIpResult
- type AssociateElasticIpsRequest
- func NewAssociateElasticIpsRequest(regionId string, natGatewayId string, elasticIpIds []string) *AssociateElasticIpsRequest
- func NewAssociateElasticIpsRequestWithAllParams(regionId string, natGatewayId string, elasticIpIds []string) *AssociateElasticIpsRequest
- func NewAssociateElasticIpsRequestWithoutParam() *AssociateElasticIpsRequest
- type AssociateElasticIpsResponse
- type AssociateElasticIpsResult
- type AssociateNetworkAclRequest
- func NewAssociateNetworkAclRequest(regionId string, networkAclId string, subnetIds []string) *AssociateNetworkAclRequest
- func NewAssociateNetworkAclRequestWithAllParams(regionId string, networkAclId string, subnetIds []string) *AssociateNetworkAclRequest
- func NewAssociateNetworkAclRequestWithoutParam() *AssociateNetworkAclRequest
- type AssociateNetworkAclResponse
- type AssociateNetworkAclResult
- type AssociateRouteTableRequest
- func NewAssociateRouteTableRequest(regionId string, routeTableId string, subnetIds []string) *AssociateRouteTableRequest
- func NewAssociateRouteTableRequestWithAllParams(regionId string, routeTableId string, subnetIds []string) *AssociateRouteTableRequest
- func NewAssociateRouteTableRequestWithoutParam() *AssociateRouteTableRequest
- type AssociateRouteTableResponse
- type AssociateRouteTableResult
- type CreateBandwidthPackageRequest
- func NewCreateBandwidthPackageRequest(regionId string, name string, bandwidthMbps int) *CreateBandwidthPackageRequest
- func NewCreateBandwidthPackageRequestWithAllParams(regionId string, name string, description *string, bandwidthMbps int, ...) *CreateBandwidthPackageRequest
- func NewCreateBandwidthPackageRequestWithoutParam() *CreateBandwidthPackageRequest
- func (r CreateBandwidthPackageRequest) GetRegionId() string
- func (r *CreateBandwidthPackageRequest) SetBandwidthMbps(bandwidthMbps int)
- func (r *CreateBandwidthPackageRequest) SetChargeSpec(chargeSpec *charge.ChargeSpec)
- func (r *CreateBandwidthPackageRequest) SetDescription(description string)
- func (r *CreateBandwidthPackageRequest) SetName(name string)
- func (r *CreateBandwidthPackageRequest) SetProvider(provider string)
- func (r *CreateBandwidthPackageRequest) SetRegionId(regionId string)
- func (r *CreateBandwidthPackageRequest) SetResourceGroupId(resourceGroupId string)
- func (r *CreateBandwidthPackageRequest) SetUserTags(userTags []vpc.Tag)
- type CreateBandwidthPackageResponse
- type CreateBandwidthPackageResult
- type CreateElasticIpsRequest
- func NewCreateElasticIpsRequest(regionId string, maxCount int, elasticIpSpec *vpc.ElasticIpSpec) *CreateElasticIpsRequest
- func NewCreateElasticIpsRequestWithAllParams(regionId string, maxCount int, elasticIpAddress *string, ...) *CreateElasticIpsRequest
- func NewCreateElasticIpsRequestWithoutParam() *CreateElasticIpsRequest
- func (r CreateElasticIpsRequest) GetRegionId() string
- func (r *CreateElasticIpsRequest) SetDryRun(dryRun bool)
- func (r *CreateElasticIpsRequest) SetElasticIpAddress(elasticIpAddress string)
- func (r *CreateElasticIpsRequest) SetElasticIpSpec(elasticIpSpec *vpc.ElasticIpSpec)
- func (r *CreateElasticIpsRequest) SetIpType(ipType string)
- func (r *CreateElasticIpsRequest) SetMaxCount(maxCount int)
- func (r *CreateElasticIpsRequest) SetRegionId(regionId string)
- func (r *CreateElasticIpsRequest) SetResourceGroupId(resourceGroupId string)
- func (r *CreateElasticIpsRequest) SetUserTags(userTags []vpc.Tag)
- type CreateElasticIpsResponse
- type CreateElasticIpsResult
- type CreateNatGatewayRequest
- func NewCreateNatGatewayRequest(regionId string, natGatewayName string, vpcId string, subnetId string) *CreateNatGatewayRequest
- func NewCreateNatGatewayRequestWithAllParams(regionId string, natGatewayName string, natGatewaySpec *string, vpcId string, ...) *CreateNatGatewayRequest
- func NewCreateNatGatewayRequestWithoutParam() *CreateNatGatewayRequest
- func (r CreateNatGatewayRequest) GetRegionId() string
- func (r *CreateNatGatewayRequest) SetAzIpSpecs(azIpSpecs []vpc.AzIpSpec)
- func (r *CreateNatGatewayRequest) SetAzs(azs []string)
- func (r *CreateNatGatewayRequest) SetDescription(description string)
- func (r *CreateNatGatewayRequest) SetElasticIpCount(elasticIpCount int)
- func (r *CreateNatGatewayRequest) SetElasticIpIds(elasticIpIds []string)
- func (r *CreateNatGatewayRequest) SetElasticIpSpec(elasticIpSpec *vpc.ElasticIpSpec)
- func (r *CreateNatGatewayRequest) SetNatGatewayCharge(natGatewayCharge *charge.ChargeSpec)
- func (r *CreateNatGatewayRequest) SetNatGatewayName(natGatewayName string)
- func (r *CreateNatGatewayRequest) SetNatGatewaySpec(natGatewaySpec string)
- func (r *CreateNatGatewayRequest) SetRegionId(regionId string)
- func (r *CreateNatGatewayRequest) SetSubnetId(subnetId string)
- func (r *CreateNatGatewayRequest) SetVpcId(vpcId string)
- type CreateNatGatewayResponse
- type CreateNatGatewayResult
- type CreateNetworkAclRequest
- func NewCreateNetworkAclRequest(regionId string, vpcId string, networkAclName string) *CreateNetworkAclRequest
- func NewCreateNetworkAclRequestWithAllParams(regionId string, vpcId string, networkAclName string, description *string) *CreateNetworkAclRequest
- func NewCreateNetworkAclRequestWithoutParam() *CreateNetworkAclRequest
- func (r CreateNetworkAclRequest) GetRegionId() string
- func (r *CreateNetworkAclRequest) SetDescription(description string)
- func (r *CreateNetworkAclRequest) SetNetworkAclName(networkAclName string)
- func (r *CreateNetworkAclRequest) SetRegionId(regionId string)
- func (r *CreateNetworkAclRequest) SetVpcId(vpcId string)
- type CreateNetworkAclResponse
- type CreateNetworkAclResult
- type CreateNetworkInterfaceRequest
- func NewCreateNetworkInterfaceRequest(regionId string, subnetId string) *CreateNetworkInterfaceRequest
- func NewCreateNetworkInterfaceRequestWithAllParams(regionId string, subnetId string, az *string, networkInterfaceName *string, ...) *CreateNetworkInterfaceRequest
- func NewCreateNetworkInterfaceRequestWithoutParam() *CreateNetworkInterfaceRequest
- func (r CreateNetworkInterfaceRequest) GetRegionId() string
- func (r *CreateNetworkInterfaceRequest) SetAz(az string)
- func (r *CreateNetworkInterfaceRequest) SetDescription(description string)
- func (r *CreateNetworkInterfaceRequest) SetNetworkInterfaceName(networkInterfaceName string)
- func (r *CreateNetworkInterfaceRequest) SetPrimaryIpAddress(primaryIpAddress string)
- func (r *CreateNetworkInterfaceRequest) SetRegionId(regionId string)
- func (r *CreateNetworkInterfaceRequest) SetSanityCheck(sanityCheck int)
- func (r *CreateNetworkInterfaceRequest) SetSecondaryIpAddresses(secondaryIpAddresses []string)
- func (r *CreateNetworkInterfaceRequest) SetSecondaryIpCount(secondaryIpCount int)
- func (r *CreateNetworkInterfaceRequest) SetSecurityGroups(securityGroups []string)
- func (r *CreateNetworkInterfaceRequest) SetSubnetId(subnetId string)
- type CreateNetworkInterfaceResponse
- type CreateNetworkInterfaceResult
- type CreateNetworkSecurityGroupRequest
- func NewCreateNetworkSecurityGroupRequest(regionId string, vpcId string, networkSecurityGroupName string) *CreateNetworkSecurityGroupRequest
- func NewCreateNetworkSecurityGroupRequestWithAllParams(regionId string, vpcId string, networkSecurityGroupName string, ...) *CreateNetworkSecurityGroupRequest
- func NewCreateNetworkSecurityGroupRequestWithoutParam() *CreateNetworkSecurityGroupRequest
- func (r CreateNetworkSecurityGroupRequest) GetRegionId() string
- func (r *CreateNetworkSecurityGroupRequest) SetDescription(description string)
- func (r *CreateNetworkSecurityGroupRequest) SetNetworkSecurityGroupName(networkSecurityGroupName string)
- func (r *CreateNetworkSecurityGroupRequest) SetRegionId(regionId string)
- func (r *CreateNetworkSecurityGroupRequest) SetVpcId(vpcId string)
- type CreateNetworkSecurityGroupResponse
- type CreateNetworkSecurityGroupResult
- type CreateRouteTableRequest
- func NewCreateRouteTableRequest(regionId string, vpcId string, routeTableName string) *CreateRouteTableRequest
- func NewCreateRouteTableRequestWithAllParams(regionId string, vpcId string, routeTableName string, description *string, ...) *CreateRouteTableRequest
- func NewCreateRouteTableRequestWithoutParam() *CreateRouteTableRequest
- func (r CreateRouteTableRequest) GetRegionId() string
- func (r *CreateRouteTableRequest) SetAssociateType(associateType string)
- func (r *CreateRouteTableRequest) SetDescription(description string)
- func (r *CreateRouteTableRequest) SetRegionId(regionId string)
- func (r *CreateRouteTableRequest) SetRouteTableName(routeTableName string)
- func (r *CreateRouteTableRequest) SetVpcId(vpcId string)
- type CreateRouteTableResponse
- type CreateRouteTableResult
- type CreateSubnetRequest
- func NewCreateSubnetRequest(regionId string, vpcId string, subnetName string, addressPrefix string) *CreateSubnetRequest
- func NewCreateSubnetRequestWithAllParams(regionId string, vpcId string, subnetName string, addressPrefix string, ...) *CreateSubnetRequest
- func NewCreateSubnetRequestWithoutParam() *CreateSubnetRequest
- func (r CreateSubnetRequest) GetRegionId() string
- func (r *CreateSubnetRequest) SetAddressPrefix(addressPrefix string)
- func (r *CreateSubnetRequest) SetDescription(description string)
- func (r *CreateSubnetRequest) SetDomainNameServers(domainNameServers []string)
- func (r *CreateSubnetRequest) SetDomainNames(domainNames []string)
- func (r *CreateSubnetRequest) SetDryRun(dryRun bool)
- func (r *CreateSubnetRequest) SetIpMaskLen(ipMaskLen int)
- func (r *CreateSubnetRequest) SetRegionId(regionId string)
- func (r *CreateSubnetRequest) SetRouteTableId(routeTableId string)
- func (r *CreateSubnetRequest) SetSubnetName(subnetName string)
- func (r *CreateSubnetRequest) SetVpcId(vpcId string)
- type CreateSubnetResponse
- type CreateSubnetResult
- type CreateVpcPeeringRequest
- func NewCreateVpcPeeringRequest(regionId string, vpcPeeringName string, vpcId string, remoteVpcId string) *CreateVpcPeeringRequest
- func NewCreateVpcPeeringRequestWithAllParams(regionId string, vpcPeeringName string, vpcId string, remoteVpcId string, ...) *CreateVpcPeeringRequest
- func NewCreateVpcPeeringRequestWithoutParam() *CreateVpcPeeringRequest
- func (r CreateVpcPeeringRequest) GetRegionId() string
- func (r *CreateVpcPeeringRequest) SetDescription(description string)
- func (r *CreateVpcPeeringRequest) SetRegionId(regionId string)
- func (r *CreateVpcPeeringRequest) SetRemoteVpcId(remoteVpcId string)
- func (r *CreateVpcPeeringRequest) SetVpcId(vpcId string)
- func (r *CreateVpcPeeringRequest) SetVpcPeeringName(vpcPeeringName string)
- type CreateVpcPeeringResponse
- type CreateVpcPeeringResult
- type CreateVpcPolicyRequest
- func NewCreateVpcPolicyRequest(regionId string, vpcPolicyName string, vpcId string, policyDocument string) *CreateVpcPolicyRequest
- func NewCreateVpcPolicyRequestWithAllParams(regionId string, vpcPolicyName string, vpcId string, policyDocument string) *CreateVpcPolicyRequest
- func NewCreateVpcPolicyRequestWithoutParam() *CreateVpcPolicyRequest
- func (r CreateVpcPolicyRequest) GetRegionId() string
- func (r *CreateVpcPolicyRequest) SetPolicyDocument(policyDocument string)
- func (r *CreateVpcPolicyRequest) SetRegionId(regionId string)
- func (r *CreateVpcPolicyRequest) SetVpcId(vpcId string)
- func (r *CreateVpcPolicyRequest) SetVpcPolicyName(vpcPolicyName string)
- type CreateVpcPolicyResponse
- type CreateVpcPolicyResult
- type CreateVpcRequest
- func (r CreateVpcRequest) GetRegionId() string
- func (r *CreateVpcRequest) SetAddressPrefix(addressPrefix string)
- func (r *CreateVpcRequest) SetAz(az string)
- func (r *CreateVpcRequest) SetAzType(azType string)
- func (r *CreateVpcRequest) SetDescription(description string)
- func (r *CreateVpcRequest) SetEnableMulticast(enableMulticast bool)
- func (r *CreateVpcRequest) SetRegionId(regionId string)
- func (r *CreateVpcRequest) SetVpcName(vpcName string)
- type CreateVpcResponse
- type CreateVpcResult
- type DeleteBandwidthPackageRequest
- func NewDeleteBandwidthPackageRequest(regionId string, bandwidthPackageId string) *DeleteBandwidthPackageRequest
- func NewDeleteBandwidthPackageRequestWithAllParams(regionId string, bandwidthPackageId string) *DeleteBandwidthPackageRequest
- func NewDeleteBandwidthPackageRequestWithoutParam() *DeleteBandwidthPackageRequest
- type DeleteBandwidthPackageResponse
- type DeleteBandwidthPackageResult
- type DeleteElasticIpRequest
- type DeleteElasticIpResponse
- type DeleteElasticIpResult
- type DeleteNatGatewayRequest
- type DeleteNatGatewayResponse
- type DeleteNatGatewayResult
- type DeleteNetworkAclRequest
- type DeleteNetworkAclResponse
- type DeleteNetworkAclResult
- type DeleteNetworkInterfaceRequest
- func NewDeleteNetworkInterfaceRequest(regionId string, networkInterfaceId string) *DeleteNetworkInterfaceRequest
- func NewDeleteNetworkInterfaceRequestWithAllParams(regionId string, networkInterfaceId string) *DeleteNetworkInterfaceRequest
- func NewDeleteNetworkInterfaceRequestWithoutParam() *DeleteNetworkInterfaceRequest
- type DeleteNetworkInterfaceResponse
- type DeleteNetworkInterfaceResult
- type DeleteNetworkSecurityGroupRequest
- func NewDeleteNetworkSecurityGroupRequest(regionId string, networkSecurityGroupId string) *DeleteNetworkSecurityGroupRequest
- func NewDeleteNetworkSecurityGroupRequestWithAllParams(regionId string, networkSecurityGroupId string) *DeleteNetworkSecurityGroupRequest
- func NewDeleteNetworkSecurityGroupRequestWithoutParam() *DeleteNetworkSecurityGroupRequest
- type DeleteNetworkSecurityGroupResponse
- type DeleteNetworkSecurityGroupResult
- type DeleteRouteTableRequest
- type DeleteRouteTableResponse
- type DeleteRouteTableResult
- type DeleteSubnetRequest
- type DeleteSubnetResponse
- type DeleteSubnetResult
- type DeleteVpcPeeringRequest
- type DeleteVpcPeeringResponse
- type DeleteVpcPeeringResult
- type DeleteVpcPolicyRequest
- type DeleteVpcPolicyResponse
- type DeleteVpcPolicyResult
- type DeleteVpcRequest
- type DeleteVpcResponse
- type DeleteVpcResult
- type DescribeBandwidthPackageRequest
- func NewDescribeBandwidthPackageRequest(regionId string, bandwidthPackageId string) *DescribeBandwidthPackageRequest
- func NewDescribeBandwidthPackageRequestWithAllParams(regionId string, bandwidthPackageId string) *DescribeBandwidthPackageRequest
- func NewDescribeBandwidthPackageRequestWithoutParam() *DescribeBandwidthPackageRequest
- type DescribeBandwidthPackageResponse
- type DescribeBandwidthPackageResult
- type DescribeBandwidthPackagesRequest
- func NewDescribeBandwidthPackagesRequest(regionId string) *DescribeBandwidthPackagesRequest
- func NewDescribeBandwidthPackagesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ...) *DescribeBandwidthPackagesRequest
- func NewDescribeBandwidthPackagesRequestWithoutParam() *DescribeBandwidthPackagesRequest
- func (r DescribeBandwidthPackagesRequest) GetRegionId() string
- func (r *DescribeBandwidthPackagesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeBandwidthPackagesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeBandwidthPackagesRequest) SetPageSize(pageSize int)
- func (r *DescribeBandwidthPackagesRequest) SetRegionId(regionId string)
- func (r *DescribeBandwidthPackagesRequest) SetResourceGroupIds(resourceGroupIds []string)
- func (r *DescribeBandwidthPackagesRequest) SetTags(tags []vpc.TagFilter)
- type DescribeBandwidthPackagesResponse
- type DescribeBandwidthPackagesResult
- type DescribeEdgeIpProvidersRequest
- func NewDescribeEdgeIpProvidersRequest(regionId string) *DescribeEdgeIpProvidersRequest
- func NewDescribeEdgeIpProvidersRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeEdgeIpProvidersRequest
- func NewDescribeEdgeIpProvidersRequestWithoutParam() *DescribeEdgeIpProvidersRequest
- func (r DescribeEdgeIpProvidersRequest) GetRegionId() string
- func (r *DescribeEdgeIpProvidersRequest) SetFilters(filters []common.Filter)
- func (r *DescribeEdgeIpProvidersRequest) SetPageNumber(pageNumber int)
- func (r *DescribeEdgeIpProvidersRequest) SetPageSize(pageSize int)
- func (r *DescribeEdgeIpProvidersRequest) SetRegionId(regionId string)
- type DescribeEdgeIpProvidersResponse
- type DescribeEdgeIpProvidersResult
- type DescribeElasticIpRequest
- type DescribeElasticIpResponse
- type DescribeElasticIpResult
- type DescribeElasticIpsRequest
- func NewDescribeElasticIpsRequest(regionId string) *DescribeElasticIpsRequest
- func NewDescribeElasticIpsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ...) *DescribeElasticIpsRequest
- func NewDescribeElasticIpsRequestWithoutParam() *DescribeElasticIpsRequest
- func (r DescribeElasticIpsRequest) GetRegionId() string
- func (r *DescribeElasticIpsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeElasticIpsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeElasticIpsRequest) SetPageSize(pageSize int)
- func (r *DescribeElasticIpsRequest) SetRegionId(regionId string)
- func (r *DescribeElasticIpsRequest) SetResourceGroupIds(resourceGroupIds []string)
- func (r *DescribeElasticIpsRequest) SetTags(tags []vpc.TagFilter)
- type DescribeElasticIpsResponse
- type DescribeElasticIpsResult
- type DescribeNatGatewayRequest
- type DescribeNatGatewayResponse
- type DescribeNatGatewayResult
- type DescribeNatGatewaysRequest
- func NewDescribeNatGatewaysRequest(regionId string) *DescribeNatGatewaysRequest
- func NewDescribeNatGatewaysRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ...) *DescribeNatGatewaysRequest
- func NewDescribeNatGatewaysRequestWithoutParam() *DescribeNatGatewaysRequest
- func (r DescribeNatGatewaysRequest) GetRegionId() string
- func (r *DescribeNatGatewaysRequest) SetFilters(filters []common.Filter)
- func (r *DescribeNatGatewaysRequest) SetPageNumber(pageNumber int)
- func (r *DescribeNatGatewaysRequest) SetPageSize(pageSize int)
- func (r *DescribeNatGatewaysRequest) SetRegionId(regionId string)
- func (r *DescribeNatGatewaysRequest) SetTags(tags []vpc.TagFilter)
- type DescribeNatGatewaysResponse
- type DescribeNatGatewaysResult
- type DescribeNetworkAclRequest
- type DescribeNetworkAclResponse
- type DescribeNetworkAclResult
- type DescribeNetworkAclsRequest
- func NewDescribeNetworkAclsRequest(regionId string) *DescribeNetworkAclsRequest
- func NewDescribeNetworkAclsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeNetworkAclsRequest
- func NewDescribeNetworkAclsRequestWithoutParam() *DescribeNetworkAclsRequest
- func (r DescribeNetworkAclsRequest) GetRegionId() string
- func (r *DescribeNetworkAclsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeNetworkAclsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeNetworkAclsRequest) SetPageSize(pageSize int)
- func (r *DescribeNetworkAclsRequest) SetRegionId(regionId string)
- type DescribeNetworkAclsResponse
- type DescribeNetworkAclsResult
- type DescribeNetworkInterfaceRequest
- func NewDescribeNetworkInterfaceRequest(regionId string, networkInterfaceId string) *DescribeNetworkInterfaceRequest
- func NewDescribeNetworkInterfaceRequestWithAllParams(regionId string, networkInterfaceId string) *DescribeNetworkInterfaceRequest
- func NewDescribeNetworkInterfaceRequestWithoutParam() *DescribeNetworkInterfaceRequest
- type DescribeNetworkInterfaceResponse
- type DescribeNetworkInterfaceResult
- type DescribeNetworkInterfacesRequest
- func NewDescribeNetworkInterfacesRequest(regionId string) *DescribeNetworkInterfacesRequest
- func NewDescribeNetworkInterfacesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeNetworkInterfacesRequest
- func NewDescribeNetworkInterfacesRequestWithoutParam() *DescribeNetworkInterfacesRequest
- func (r DescribeNetworkInterfacesRequest) GetRegionId() string
- func (r *DescribeNetworkInterfacesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeNetworkInterfacesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeNetworkInterfacesRequest) SetPageSize(pageSize int)
- func (r *DescribeNetworkInterfacesRequest) SetRegionId(regionId string)
- type DescribeNetworkInterfacesResponse
- type DescribeNetworkInterfacesResult
- type DescribeNetworkSecurityGroupRequest
- func NewDescribeNetworkSecurityGroupRequest(regionId string, networkSecurityGroupId string) *DescribeNetworkSecurityGroupRequest
- func NewDescribeNetworkSecurityGroupRequestWithAllParams(regionId string, networkSecurityGroupId string) *DescribeNetworkSecurityGroupRequest
- func NewDescribeNetworkSecurityGroupRequestWithoutParam() *DescribeNetworkSecurityGroupRequest
- type DescribeNetworkSecurityGroupResponse
- type DescribeNetworkSecurityGroupResult
- type DescribeNetworkSecurityGroupsRequest
- func NewDescribeNetworkSecurityGroupsRequest(regionId string) *DescribeNetworkSecurityGroupsRequest
- func NewDescribeNetworkSecurityGroupsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeNetworkSecurityGroupsRequest
- func NewDescribeNetworkSecurityGroupsRequestWithoutParam() *DescribeNetworkSecurityGroupsRequest
- func (r DescribeNetworkSecurityGroupsRequest) GetRegionId() string
- func (r *DescribeNetworkSecurityGroupsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeNetworkSecurityGroupsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeNetworkSecurityGroupsRequest) SetPageSize(pageSize int)
- func (r *DescribeNetworkSecurityGroupsRequest) SetRegionId(regionId string)
- type DescribeNetworkSecurityGroupsResponse
- type DescribeNetworkSecurityGroupsResult
- type DescribeQuotaRequest
- type DescribeQuotaResponse
- type DescribeQuotaResult
- type DescribeRouteTableRequest
- type DescribeRouteTableResponse
- type DescribeRouteTableResult
- type DescribeRouteTablesRequest
- func NewDescribeRouteTablesRequest(regionId string) *DescribeRouteTablesRequest
- func NewDescribeRouteTablesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeRouteTablesRequest
- func NewDescribeRouteTablesRequestWithoutParam() *DescribeRouteTablesRequest
- func (r DescribeRouteTablesRequest) GetRegionId() string
- func (r *DescribeRouteTablesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeRouteTablesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeRouteTablesRequest) SetPageSize(pageSize int)
- func (r *DescribeRouteTablesRequest) SetRegionId(regionId string)
- type DescribeRouteTablesResponse
- type DescribeRouteTablesResult
- type DescribeSubnetRequest
- type DescribeSubnetResponse
- type DescribeSubnetResult
- type DescribeSubnetsRequest
- func (r DescribeSubnetsRequest) GetRegionId() string
- func (r *DescribeSubnetsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeSubnetsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeSubnetsRequest) SetPageSize(pageSize int)
- func (r *DescribeSubnetsRequest) SetRegionId(regionId string)
- type DescribeSubnetsResponse
- type DescribeSubnetsResult
- type DescribeVpcPeeringRequest
- type DescribeVpcPeeringResponse
- type DescribeVpcPeeringResult
- type DescribeVpcPeeringsRequest
- func NewDescribeVpcPeeringsRequest(regionId string) *DescribeVpcPeeringsRequest
- func NewDescribeVpcPeeringsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeVpcPeeringsRequest
- func NewDescribeVpcPeeringsRequestWithoutParam() *DescribeVpcPeeringsRequest
- func (r DescribeVpcPeeringsRequest) GetRegionId() string
- func (r *DescribeVpcPeeringsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeVpcPeeringsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeVpcPeeringsRequest) SetPageSize(pageSize int)
- func (r *DescribeVpcPeeringsRequest) SetRegionId(regionId string)
- type DescribeVpcPeeringsResponse
- type DescribeVpcPeeringsResult
- type DescribeVpcPolicyRequest
- type DescribeVpcPolicyResponse
- type DescribeVpcPolicyResult
- type DescribeVpcRequest
- type DescribeVpcResponse
- type DescribeVpcResult
- type DescribeVpcsRequest
- type DescribeVpcsResponse
- type DescribeVpcsResult
- type DisassociateElasticIpRequest
- func NewDisassociateElasticIpRequest(regionId string, networkInterfaceId string) *DisassociateElasticIpRequest
- func NewDisassociateElasticIpRequestWithAllParams(regionId string, networkInterfaceId string, elasticIpId *string, ...) *DisassociateElasticIpRequest
- func NewDisassociateElasticIpRequestWithoutParam() *DisassociateElasticIpRequest
- func (r DisassociateElasticIpRequest) GetRegionId() string
- func (r *DisassociateElasticIpRequest) SetElasticIpAddress(elasticIpAddress string)
- func (r *DisassociateElasticIpRequest) SetElasticIpId(elasticIpId string)
- func (r *DisassociateElasticIpRequest) SetNetworkInterfaceId(networkInterfaceId string)
- func (r *DisassociateElasticIpRequest) SetRegionId(regionId string)
- type DisassociateElasticIpResponse
- type DisassociateElasticIpResult
- type DisassociateElasticIpsRequest
- func NewDisassociateElasticIpsRequest(regionId string, natGatewayId string, elasticIpIds []string) *DisassociateElasticIpsRequest
- func NewDisassociateElasticIpsRequestWithAllParams(regionId string, natGatewayId string, elasticIpIds []string, ...) *DisassociateElasticIpsRequest
- func NewDisassociateElasticIpsRequestWithoutParam() *DisassociateElasticIpsRequest
- func (r DisassociateElasticIpsRequest) GetRegionId() string
- func (r *DisassociateElasticIpsRequest) SetDeleteElasticIp(deleteElasticIp bool)
- func (r *DisassociateElasticIpsRequest) SetElasticIpIds(elasticIpIds []string)
- func (r *DisassociateElasticIpsRequest) SetNatGatewayId(natGatewayId string)
- func (r *DisassociateElasticIpsRequest) SetRegionId(regionId string)
- type DisassociateElasticIpsResponse
- type DisassociateElasticIpsResult
- type DisassociateNetworkAclRequest
- func NewDisassociateNetworkAclRequest(regionId string, networkAclId string, subnetId string) *DisassociateNetworkAclRequest
- func NewDisassociateNetworkAclRequestWithAllParams(regionId string, networkAclId string, subnetId string) *DisassociateNetworkAclRequest
- func NewDisassociateNetworkAclRequestWithoutParam() *DisassociateNetworkAclRequest
- type DisassociateNetworkAclResponse
- type DisassociateNetworkAclResult
- type DisassociateRouteTableRequest
- func NewDisassociateRouteTableRequest(regionId string, routeTableId string, subnetId string) *DisassociateRouteTableRequest
- func NewDisassociateRouteTableRequestWithAllParams(regionId string, routeTableId string, subnetId string) *DisassociateRouteTableRequest
- func NewDisassociateRouteTableRequestWithoutParam() *DisassociateRouteTableRequest
- type DisassociateRouteTableResponse
- type DisassociateRouteTableResult
- type ModifyBandwidthPackageIpBandwidthRequest
- func NewModifyBandwidthPackageIpBandwidthRequest(regionId string, bandwidthPackageId string, ...) *ModifyBandwidthPackageIpBandwidthRequest
- func NewModifyBandwidthPackageIpBandwidthRequestWithAllParams(regionId string, bandwidthPackageId string, ...) *ModifyBandwidthPackageIpBandwidthRequest
- func NewModifyBandwidthPackageIpBandwidthRequestWithoutParam() *ModifyBandwidthPackageIpBandwidthRequest
- func (r ModifyBandwidthPackageIpBandwidthRequest) GetRegionId() string
- func (r *ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.ModifyBandwidthPackageIpBandwidthSpec)
- func (r *ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageId(bandwidthPackageId string)
- func (r *ModifyBandwidthPackageIpBandwidthRequest) SetRegionId(regionId string)
- type ModifyBandwidthPackageIpBandwidthResponse
- type ModifyBandwidthPackageIpBandwidthResult
- type ModifyBandwidthPackageRequest
- func NewModifyBandwidthPackageRequest(regionId string, bandwidthPackageId string) *ModifyBandwidthPackageRequest
- func NewModifyBandwidthPackageRequestWithAllParams(regionId string, bandwidthPackageId string, bandwidthMbps *int, name *string, ...) *ModifyBandwidthPackageRequest
- func NewModifyBandwidthPackageRequestWithoutParam() *ModifyBandwidthPackageRequest
- func (r ModifyBandwidthPackageRequest) GetRegionId() string
- func (r *ModifyBandwidthPackageRequest) SetBandwidthMbps(bandwidthMbps int)
- func (r *ModifyBandwidthPackageRequest) SetBandwidthPackageId(bandwidthPackageId string)
- func (r *ModifyBandwidthPackageRequest) SetDescription(description string)
- func (r *ModifyBandwidthPackageRequest) SetName(name string)
- func (r *ModifyBandwidthPackageRequest) SetRegionId(regionId string)
- type ModifyBandwidthPackageResponse
- type ModifyBandwidthPackageResult
- type ModifyElasticIpRequest
- func NewModifyElasticIpRequest(regionId string, elasticIpId string, bandwidthMbps int) *ModifyElasticIpRequest
- func NewModifyElasticIpRequestWithAllParams(regionId string, elasticIpId string, bandwidthMbps int) *ModifyElasticIpRequest
- func NewModifyElasticIpRequestWithoutParam() *ModifyElasticIpRequest
- type ModifyElasticIpResponse
- type ModifyElasticIpResult
- type ModifyNatGatewayRequest
- func NewModifyNatGatewayRequest(regionId string, natGatewayId string) *ModifyNatGatewayRequest
- func NewModifyNatGatewayRequestWithAllParams(regionId string, natGatewayId string, natGatewayName *string, ...) *ModifyNatGatewayRequest
- func NewModifyNatGatewayRequestWithoutParam() *ModifyNatGatewayRequest
- func (r ModifyNatGatewayRequest) GetRegionId() string
- func (r *ModifyNatGatewayRequest) SetDescription(description string)
- func (r *ModifyNatGatewayRequest) SetNatGatewayId(natGatewayId string)
- func (r *ModifyNatGatewayRequest) SetNatGatewayName(natGatewayName string)
- func (r *ModifyNatGatewayRequest) SetNatGatewaySpec(natGatewaySpec string)
- func (r *ModifyNatGatewayRequest) SetRegionId(regionId string)
- type ModifyNatGatewayResponse
- type ModifyNatGatewayResult
- type ModifyNetworkAclRequest
- func NewModifyNetworkAclRequest(regionId string, networkAclId string) *ModifyNetworkAclRequest
- func NewModifyNetworkAclRequestWithAllParams(regionId string, networkAclId string, networkAclName *string, ...) *ModifyNetworkAclRequest
- func NewModifyNetworkAclRequestWithoutParam() *ModifyNetworkAclRequest
- func (r ModifyNetworkAclRequest) GetRegionId() string
- func (r *ModifyNetworkAclRequest) SetDescription(description string)
- func (r *ModifyNetworkAclRequest) SetNetworkAclId(networkAclId string)
- func (r *ModifyNetworkAclRequest) SetNetworkAclName(networkAclName string)
- func (r *ModifyNetworkAclRequest) SetRegionId(regionId string)
- type ModifyNetworkAclResponse
- type ModifyNetworkAclResult
- type ModifyNetworkAclRulesRequest
- func NewModifyNetworkAclRulesRequest(regionId string, networkAclId string, ...) *ModifyNetworkAclRulesRequest
- func NewModifyNetworkAclRulesRequestWithAllParams(regionId string, networkAclId string, ...) *ModifyNetworkAclRulesRequest
- func NewModifyNetworkAclRulesRequestWithoutParam() *ModifyNetworkAclRulesRequest
- func (r ModifyNetworkAclRulesRequest) GetRegionId() string
- func (r *ModifyNetworkAclRulesRequest) SetModifyNetworkAclRuleSpecs(modifyNetworkAclRuleSpecs []vpc.ModifyNetworkAclRuleSpec)
- func (r *ModifyNetworkAclRulesRequest) SetNetworkAclId(networkAclId string)
- func (r *ModifyNetworkAclRulesRequest) SetRegionId(regionId string)
- type ModifyNetworkAclRulesResponse
- type ModifyNetworkAclRulesResult
- type ModifyNetworkInterfaceRequest
- func NewModifyNetworkInterfaceRequest(regionId string, networkInterfaceId string) *ModifyNetworkInterfaceRequest
- func NewModifyNetworkInterfaceRequestWithAllParams(regionId string, networkInterfaceId string, networkInterfaceName *string, ...) *ModifyNetworkInterfaceRequest
- func NewModifyNetworkInterfaceRequestWithoutParam() *ModifyNetworkInterfaceRequest
- func (r ModifyNetworkInterfaceRequest) GetRegionId() string
- func (r *ModifyNetworkInterfaceRequest) SetDescription(description string)
- func (r *ModifyNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)
- func (r *ModifyNetworkInterfaceRequest) SetNetworkInterfaceName(networkInterfaceName string)
- func (r *ModifyNetworkInterfaceRequest) SetRegionId(regionId string)
- func (r *ModifyNetworkInterfaceRequest) SetSecurityGroups(securityGroups []string)
- type ModifyNetworkInterfaceResponse
- type ModifyNetworkInterfaceResult
- type ModifyNetworkSecurityGroupRequest
- func NewModifyNetworkSecurityGroupRequest(regionId string, networkSecurityGroupId string) *ModifyNetworkSecurityGroupRequest
- func NewModifyNetworkSecurityGroupRequestWithAllParams(regionId string, networkSecurityGroupId string, ...) *ModifyNetworkSecurityGroupRequest
- func NewModifyNetworkSecurityGroupRequestWithoutParam() *ModifyNetworkSecurityGroupRequest
- func (r ModifyNetworkSecurityGroupRequest) GetRegionId() string
- func (r *ModifyNetworkSecurityGroupRequest) SetDescription(description string)
- func (r *ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
- func (r *ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupName(networkSecurityGroupName string)
- func (r *ModifyNetworkSecurityGroupRequest) SetRegionId(regionId string)
- type ModifyNetworkSecurityGroupResponse
- type ModifyNetworkSecurityGroupResult
- type ModifyNetworkSecurityGroupRulesRequest
- func NewModifyNetworkSecurityGroupRulesRequest(regionId string, networkSecurityGroupId string, ...) *ModifyNetworkSecurityGroupRulesRequest
- func NewModifyNetworkSecurityGroupRulesRequestWithAllParams(regionId string, networkSecurityGroupId string, ...) *ModifyNetworkSecurityGroupRulesRequest
- func NewModifyNetworkSecurityGroupRulesRequestWithoutParam() *ModifyNetworkSecurityGroupRulesRequest
- func (r ModifyNetworkSecurityGroupRulesRequest) GetRegionId() string
- func (r *ModifyNetworkSecurityGroupRulesRequest) SetModifySecurityGroupRuleSpecs(modifySecurityGroupRuleSpecs []vpc.ModifySecurityGroupRules)
- func (r *ModifyNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
- func (r *ModifyNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)
- type ModifyNetworkSecurityGroupRulesResponse
- type ModifyNetworkSecurityGroupRulesResult
- type ModifyRouteTableRequest
- func NewModifyRouteTableRequest(regionId string, routeTableId string) *ModifyRouteTableRequest
- func NewModifyRouteTableRequestWithAllParams(regionId string, routeTableId string, routeTableName *string, ...) *ModifyRouteTableRequest
- func NewModifyRouteTableRequestWithoutParam() *ModifyRouteTableRequest
- func (r ModifyRouteTableRequest) GetRegionId() string
- func (r *ModifyRouteTableRequest) SetDescription(description string)
- func (r *ModifyRouteTableRequest) SetRegionId(regionId string)
- func (r *ModifyRouteTableRequest) SetRouteTableId(routeTableId string)
- func (r *ModifyRouteTableRequest) SetRouteTableName(routeTableName string)
- type ModifyRouteTableResponse
- type ModifyRouteTableResult
- type ModifyRouteTableRulesRequest
- func NewModifyRouteTableRulesRequest(regionId string, routeTableId string, ...) *ModifyRouteTableRulesRequest
- func NewModifyRouteTableRulesRequestWithAllParams(regionId string, routeTableId string, ...) *ModifyRouteTableRulesRequest
- func NewModifyRouteTableRulesRequestWithoutParam() *ModifyRouteTableRulesRequest
- func (r ModifyRouteTableRulesRequest) GetRegionId() string
- func (r *ModifyRouteTableRulesRequest) SetModifyRouteTableRuleSpecs(modifyRouteTableRuleSpecs []vpc.ModifyRouteTableRules)
- func (r *ModifyRouteTableRulesRequest) SetRegionId(regionId string)
- func (r *ModifyRouteTableRulesRequest) SetRouteTableId(routeTableId string)
- type ModifyRouteTableRulesResponse
- type ModifyRouteTableRulesResult
- type ModifySubnetRequest
- func (r ModifySubnetRequest) GetRegionId() string
- func (r *ModifySubnetRequest) SetDescription(description string)
- func (r *ModifySubnetRequest) SetDomainNameServers(domainNameServers []string)
- func (r *ModifySubnetRequest) SetDomainNames(domainNames []string)
- func (r *ModifySubnetRequest) SetIpMaskLen(ipMaskLen int)
- func (r *ModifySubnetRequest) SetRegionId(regionId string)
- func (r *ModifySubnetRequest) SetSubnetId(subnetId string)
- func (r *ModifySubnetRequest) SetSubnetName(subnetName string)
- type ModifySubnetResponse
- type ModifySubnetResult
- type ModifyVpcPeeringRequest
- func NewModifyVpcPeeringRequest(regionId string, vpcPeeringId string) *ModifyVpcPeeringRequest
- func NewModifyVpcPeeringRequestWithAllParams(regionId string, vpcPeeringId string, vpcPeeringName *string, ...) *ModifyVpcPeeringRequest
- func NewModifyVpcPeeringRequestWithoutParam() *ModifyVpcPeeringRequest
- func (r ModifyVpcPeeringRequest) GetRegionId() string
- func (r *ModifyVpcPeeringRequest) SetDescription(description string)
- func (r *ModifyVpcPeeringRequest) SetRegionId(regionId string)
- func (r *ModifyVpcPeeringRequest) SetVpcPeeringId(vpcPeeringId string)
- func (r *ModifyVpcPeeringRequest) SetVpcPeeringName(vpcPeeringName string)
- type ModifyVpcPeeringResponse
- type ModifyVpcPeeringResult
- type ModifyVpcPolicyRequest
- func (r ModifyVpcPolicyRequest) GetRegionId() string
- func (r *ModifyVpcPolicyRequest) SetPolicyDocument(policyDocument string)
- func (r *ModifyVpcPolicyRequest) SetRegionId(regionId string)
- func (r *ModifyVpcPolicyRequest) SetVpcPolicyId(vpcPolicyId string)
- func (r *ModifyVpcPolicyRequest) SetVpcPolicyName(vpcPolicyName string)
- type ModifyVpcPolicyResponse
- type ModifyVpcPolicyResult
- type ModifyVpcRequest
- func (r ModifyVpcRequest) GetRegionId() string
- func (r *ModifyVpcRequest) SetDescription(description string)
- func (r *ModifyVpcRequest) SetEnableMulticast(enableMulticast bool)
- func (r *ModifyVpcRequest) SetRegionId(regionId string)
- func (r *ModifyVpcRequest) SetVpcId(vpcId string)
- func (r *ModifyVpcRequest) SetVpcName(vpcName string)
- type ModifyVpcResponse
- type ModifyVpcResult
- type RemoveBandwidthPackageIPRequest
- func NewRemoveBandwidthPackageIPRequest(regionId string, bandwidthPackageId string, ...) *RemoveBandwidthPackageIPRequest
- func NewRemoveBandwidthPackageIPRequestWithAllParams(regionId string, bandwidthPackageId string, ...) *RemoveBandwidthPackageIPRequest
- func NewRemoveBandwidthPackageIPRequestWithoutParam() *RemoveBandwidthPackageIPRequest
- func (r RemoveBandwidthPackageIPRequest) GetRegionId() string
- func (r *RemoveBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.RemoveBandwidthPackageIPSpec)
- func (r *RemoveBandwidthPackageIPRequest) SetBandwidthPackageId(bandwidthPackageId string)
- func (r *RemoveBandwidthPackageIPRequest) SetRegionId(regionId string)
- type RemoveBandwidthPackageIPResponse
- type RemoveBandwidthPackageIPResult
- type RemoveNetworkAclRulesRequest
- func NewRemoveNetworkAclRulesRequest(regionId string, networkAclId string, ruleIds []string) *RemoveNetworkAclRulesRequest
- func NewRemoveNetworkAclRulesRequestWithAllParams(regionId string, networkAclId string, ruleIds []string) *RemoveNetworkAclRulesRequest
- func NewRemoveNetworkAclRulesRequestWithoutParam() *RemoveNetworkAclRulesRequest
- type RemoveNetworkAclRulesResponse
- type RemoveNetworkAclRulesResult
- type RemoveNetworkSecurityGroupRulesRequest
- func NewRemoveNetworkSecurityGroupRulesRequest(regionId string, networkSecurityGroupId string, ruleIds []string) *RemoveNetworkSecurityGroupRulesRequest
- func NewRemoveNetworkSecurityGroupRulesRequestWithAllParams(regionId string, networkSecurityGroupId string, ruleIds []string) *RemoveNetworkSecurityGroupRulesRequest
- func NewRemoveNetworkSecurityGroupRulesRequestWithoutParam() *RemoveNetworkSecurityGroupRulesRequest
- func (r RemoveNetworkSecurityGroupRulesRequest) GetRegionId() string
- func (r *RemoveNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
- func (r *RemoveNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)
- func (r *RemoveNetworkSecurityGroupRulesRequest) SetRuleIds(ruleIds []string)
- type RemoveNetworkSecurityGroupRulesResponse
- type RemoveNetworkSecurityGroupRulesResult
- type RemoveRouteTableRulesRequest
- func NewRemoveRouteTableRulesRequest(regionId string, routeTableId string, ruleIds []string) *RemoveRouteTableRulesRequest
- func NewRemoveRouteTableRulesRequestWithAllParams(regionId string, routeTableId string, ruleIds []string) *RemoveRouteTableRulesRequest
- func NewRemoveRouteTableRulesRequestWithoutParam() *RemoveRouteTableRulesRequest
- type RemoveRouteTableRulesResponse
- type RemoveRouteTableRulesResult
- type SetElasticIpStatusRequest
- func NewSetElasticIpStatusRequest(regionId string, natGatewayId string, elasticIpIds []string, status string) *SetElasticIpStatusRequest
- func NewSetElasticIpStatusRequestWithAllParams(regionId string, natGatewayId string, elasticIpIds []string, status string) *SetElasticIpStatusRequest
- func NewSetElasticIpStatusRequestWithoutParam() *SetElasticIpStatusRequest
- func (r SetElasticIpStatusRequest) GetRegionId() string
- func (r *SetElasticIpStatusRequest) SetElasticIpIds(elasticIpIds []string)
- func (r *SetElasticIpStatusRequest) SetNatGatewayId(natGatewayId string)
- func (r *SetElasticIpStatusRequest) SetRegionId(regionId string)
- func (r *SetElasticIpStatusRequest) SetStatus(status string)
- type SetElasticIpStatusResponse
- type SetElasticIpStatusResult
- type StartNatGatewayRequest
- type StartNatGatewayResponse
- type StartNatGatewayResult
- type StopNatGatewayRequest
- type StopNatGatewayResponse
- type StopNatGatewayResult
- type UnassignSecondaryIpsRequest
- func NewUnassignSecondaryIpsRequest(regionId string, networkInterfaceId string) *UnassignSecondaryIpsRequest
- func NewUnassignSecondaryIpsRequestWithAllParams(regionId string, networkInterfaceId string, secondaryIps []string, ...) *UnassignSecondaryIpsRequest
- func NewUnassignSecondaryIpsRequestWithoutParam() *UnassignSecondaryIpsRequest
- func (r UnassignSecondaryIpsRequest) GetRegionId() string
- func (r *UnassignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)
- func (r *UnassignSecondaryIpsRequest) SetRegionId(regionId string)
- func (r *UnassignSecondaryIpsRequest) SetSecondaryCidrs(secondaryCidrs []string)
- func (r *UnassignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)
- type UnassignSecondaryIpsResponse
- type UnassignSecondaryIpsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddBandwidthPackageIPRequest ¶ added in v1.56.0
type AddBandwidthPackageIPRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 共享带宽包ID */ BandwidthPackageId string `json:"bandwidthPackageId"` /* Ip列表 */ BandwidthPackageIPSpecs []vpc.AddBandwidthPackageIPSpec `json:"bandwidthPackageIPSpecs"` }
func NewAddBandwidthPackageIPRequest ¶ added in v1.56.0
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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewAddBandwidthPackageIPRequestWithoutParam() *AddBandwidthPackageIPRequest
This constructor has better compatible ability when API parameters changed
func (AddBandwidthPackageIPRequest) GetRegionId ¶ added in v1.56.0
func (r AddBandwidthPackageIPRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AddBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs ¶ added in v1.56.0
func (r *AddBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.AddBandwidthPackageIPSpec)
param bandwidthPackageIPSpecs: Ip列表(Required)
func (*AddBandwidthPackageIPRequest) SetBandwidthPackageId ¶ added in v1.56.0
func (r *AddBandwidthPackageIPRequest) SetBandwidthPackageId(bandwidthPackageId string)
param bandwidthPackageId: 共享带宽包ID(Required)
func (*AddBandwidthPackageIPRequest) SetRegionId ¶ added in v1.56.0
func (r *AddBandwidthPackageIPRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type AddBandwidthPackageIPResponse ¶ added in v1.56.0
type AddBandwidthPackageIPResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AddBandwidthPackageIPResult `json:"result"` }
type AddBandwidthPackageIPResult ¶ added in v1.56.0
type AddBandwidthPackageIPResult struct { }
type AddNetworkAclRulesRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewAddNetworkAclRulesRequestWithoutParam() *AddNetworkAclRulesRequest
This constructor has better compatible ability when API parameters changed
func (AddNetworkAclRulesRequest) GetRegionId ¶ added in v1.0.11
func (r AddNetworkAclRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AddNetworkAclRulesRequest) SetNetworkAclId ¶ added in v1.0.11
func (r *AddNetworkAclRulesRequest) SetNetworkAclId(networkAclId string)
param networkAclId: networkAclId ID(Required)
func (*AddNetworkAclRulesRequest) SetNetworkAclRuleSpecs ¶ added in v1.0.11
func (r *AddNetworkAclRulesRequest) SetNetworkAclRuleSpecs(networkAclRuleSpecs []vpc.AddNetworkAclRuleSpec)
param networkAclRuleSpecs: networkAcl规则列表(Required)
func (*AddNetworkAclRulesRequest) SetRegionId ¶ added in v1.0.11
func (r *AddNetworkAclRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type AddNetworkAclRulesResponse ¶ added in v1.0.11
type AddNetworkAclRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AddNetworkAclRulesResult `json:"result"` }
type AddNetworkAclRulesResult ¶ added in v1.0.11
type AddNetworkAclRulesResult struct { }
type AddNetworkSecurityGroupRulesRequest ¶ added in v1.0.5
type AddNetworkSecurityGroupRulesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* NetworkSecurityGroup ID */ NetworkSecurityGroupId string `json:"networkSecurityGroupId"` /* 安全组规则信息 */ NetworkSecurityGroupRuleSpecs []vpc.AddSecurityGroupRules `json:"networkSecurityGroupRuleSpecs"` }
func NewAddNetworkSecurityGroupRulesRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewAddNetworkSecurityGroupRulesRequestWithoutParam() *AddNetworkSecurityGroupRulesRequest
This constructor has better compatible ability when API parameters changed
func (AddNetworkSecurityGroupRulesRequest) GetRegionId ¶ added in v1.0.5
func (r AddNetworkSecurityGroupRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId ¶ added in v1.0.5
func (r *AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
param networkSecurityGroupId: NetworkSecurityGroup ID(Required)
func (*AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupRuleSpecs ¶ added in v1.0.5
func (r *AddNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupRuleSpecs(networkSecurityGroupRuleSpecs []vpc.AddSecurityGroupRules)
param networkSecurityGroupRuleSpecs: 安全组规则信息(Required)
func (*AddNetworkSecurityGroupRulesRequest) SetRegionId ¶ added in v1.0.5
func (r *AddNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type AddNetworkSecurityGroupRulesResponse ¶ added in v1.0.5
type AddNetworkSecurityGroupRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AddNetworkSecurityGroupRulesResult `json:"result"` }
type AddNetworkSecurityGroupRulesResult ¶ added in v1.0.5
type AddNetworkSecurityGroupRulesResult struct {
SecurityGroupRules []vpc.SecurityGroupRule `json:"securityGroupRules"`
}
type AddRouteTableRulesRequest ¶ added in v1.0.11
type AddRouteTableRulesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* RouteTable ID */ RouteTableId string `json:"routeTableId"` /* 路由表规则信息 */ RouteTableRuleSpecs []vpc.AddRouteTableRules `json:"routeTableRuleSpecs"` }
func NewAddRouteTableRulesRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewAddRouteTableRulesRequestWithoutParam() *AddRouteTableRulesRequest
This constructor has better compatible ability when API parameters changed
func (AddRouteTableRulesRequest) GetRegionId ¶ added in v1.0.11
func (r AddRouteTableRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AddRouteTableRulesRequest) SetRegionId ¶ added in v1.0.11
func (r *AddRouteTableRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*AddRouteTableRulesRequest) SetRouteTableId ¶ added in v1.0.11
func (r *AddRouteTableRulesRequest) SetRouteTableId(routeTableId string)
param routeTableId: RouteTable ID(Required)
func (*AddRouteTableRulesRequest) SetRouteTableRuleSpecs ¶ added in v1.0.11
func (r *AddRouteTableRulesRequest) SetRouteTableRuleSpecs(routeTableRuleSpecs []vpc.AddRouteTableRules)
param routeTableRuleSpecs: 路由表规则信息(Required)
type AddRouteTableRulesResponse ¶ added in v1.0.11
type AddRouteTableRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AddRouteTableRulesResult `json:"result"` }
type AddRouteTableRulesResult ¶ added in v1.0.11
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 AssociateElasticIpsRequest ¶ added in v1.62.0
type AssociateElasticIpsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* natGateway ID */ NatGatewayId string `json:"natGatewayId"` /* 公网IP列表 */ ElasticIpIds []string `json:"elasticIpIds"` }
func NewAssociateElasticIpsRequest ¶ added in v1.62.0
func NewAssociateElasticIpsRequest( regionId string, natGatewayId string, elasticIpIds []string, ) *AssociateElasticIpsRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * param elasticIpIds: 公网IP列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAssociateElasticIpsRequestWithAllParams ¶ added in v1.62.0
func NewAssociateElasticIpsRequestWithAllParams( regionId string, natGatewayId string, elasticIpIds []string, ) *AssociateElasticIpsRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * param elasticIpIds: 公网IP列表 (Required)
func NewAssociateElasticIpsRequestWithoutParam ¶ added in v1.62.0
func NewAssociateElasticIpsRequestWithoutParam() *AssociateElasticIpsRequest
This constructor has better compatible ability when API parameters changed
func (AssociateElasticIpsRequest) GetRegionId ¶ added in v1.62.0
func (r AssociateElasticIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AssociateElasticIpsRequest) SetElasticIpIds ¶ added in v1.62.0
func (r *AssociateElasticIpsRequest) SetElasticIpIds(elasticIpIds []string)
param elasticIpIds: 公网IP列表(Required)
func (*AssociateElasticIpsRequest) SetNatGatewayId ¶ added in v1.62.0
func (r *AssociateElasticIpsRequest) SetNatGatewayId(natGatewayId string)
param natGatewayId: natGateway ID(Required)
func (*AssociateElasticIpsRequest) SetRegionId ¶ added in v1.62.0
func (r *AssociateElasticIpsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type AssociateElasticIpsResponse ¶ added in v1.62.0
type AssociateElasticIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AssociateElasticIpsResult `json:"result"` }
type AssociateElasticIpsResult ¶ added in v1.62.0
type AssociateElasticIpsResult struct { }
type AssociateNetworkAclRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewAssociateNetworkAclRequestWithoutParam() *AssociateNetworkAclRequest
This constructor has better compatible ability when API parameters changed
func (AssociateNetworkAclRequest) GetRegionId ¶ added in v1.0.11
func (r AssociateNetworkAclRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AssociateNetworkAclRequest) SetNetworkAclId ¶ added in v1.0.11
func (r *AssociateNetworkAclRequest) SetNetworkAclId(networkAclId string)
param networkAclId: networkAclId ID(Required)
func (*AssociateNetworkAclRequest) SetRegionId ¶ added in v1.0.11
func (r *AssociateNetworkAclRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*AssociateNetworkAclRequest) SetSubnetIds ¶ added in v1.0.11
func (r *AssociateNetworkAclRequest) SetSubnetIds(subnetIds []string)
param subnetIds: networkAcl要绑定的子网ID列表, subnet已被其他networkAcl绑定时,自动解绑(Required)
type AssociateNetworkAclResponse ¶ added in v1.0.11
type AssociateNetworkAclResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AssociateNetworkAclResult `json:"result"` }
type AssociateNetworkAclResult ¶ added in v1.0.11
type AssociateNetworkAclResult struct { }
type AssociateRouteTableRequest ¶ added in v1.0.11
type AssociateRouteTableRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* RouteTable ID */ RouteTableId string `json:"routeTableId"` /* 路由表要绑定的子网ID列表, 只有associateType是subnet类型的路由表才支持绑定;subnet已被其他路由表绑定时,自动解绑。路由表绑定的子网属性要相同,或者都是标准子网,或者都是相同边缘可用区的边缘子网。 */ SubnetIds []string `json:"subnetIds"` }
func NewAssociateRouteTableRequest ¶ added in v1.0.11
func NewAssociateRouteTableRequest( regionId string, routeTableId string, subnetIds []string, ) *AssociateRouteTableRequest
* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param subnetIds: 路由表要绑定的子网ID列表, 只有associateType是subnet类型的路由表才支持绑定;subnet已被其他路由表绑定时,自动解绑。路由表绑定的子网属性要相同,或者都是标准子网,或者都是相同边缘可用区的边缘子网。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAssociateRouteTableRequestWithAllParams ¶ added in v1.0.11
func NewAssociateRouteTableRequestWithAllParams( regionId string, routeTableId string, subnetIds []string, ) *AssociateRouteTableRequest
* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required) * param subnetIds: 路由表要绑定的子网ID列表, 只有associateType是subnet类型的路由表才支持绑定;subnet已被其他路由表绑定时,自动解绑。路由表绑定的子网属性要相同,或者都是标准子网,或者都是相同边缘可用区的边缘子网。 (Required)
func NewAssociateRouteTableRequestWithoutParam ¶ added in v1.0.11
func NewAssociateRouteTableRequestWithoutParam() *AssociateRouteTableRequest
This constructor has better compatible ability when API parameters changed
func (AssociateRouteTableRequest) GetRegionId ¶ added in v1.0.11
func (r AssociateRouteTableRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AssociateRouteTableRequest) SetRegionId ¶ added in v1.0.11
func (r *AssociateRouteTableRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*AssociateRouteTableRequest) SetRouteTableId ¶ added in v1.0.11
func (r *AssociateRouteTableRequest) SetRouteTableId(routeTableId string)
param routeTableId: RouteTable ID(Required)
func (*AssociateRouteTableRequest) SetSubnetIds ¶ added in v1.0.11
func (r *AssociateRouteTableRequest) SetSubnetIds(subnetIds []string)
param subnetIds: 路由表要绑定的子网ID列表, 只有associateType是subnet类型的路由表才支持绑定;subnet已被其他路由表绑定时,自动解绑。路由表绑定的子网属性要相同,或者都是标准子网,或者都是相同边缘可用区的边缘子网。(Required)
type AssociateRouteTableResponse ¶ added in v1.0.11
type AssociateRouteTableResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AssociateRouteTableResult `json:"result"` }
type AssociateRouteTableResult ¶ added in v1.0.11
type AssociateRouteTableResult struct { }
type CreateBandwidthPackageRequest ¶ added in v1.56.0
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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewCreateBandwidthPackageRequestWithoutParam() *CreateBandwidthPackageRequest
This constructor has better compatible ability when API parameters changed
func (CreateBandwidthPackageRequest) GetRegionId ¶ added in v1.56.0
func (r CreateBandwidthPackageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateBandwidthPackageRequest) SetBandwidthMbps ¶ added in v1.56.0
func (r *CreateBandwidthPackageRequest) SetBandwidthMbps(bandwidthMbps int)
param bandwidthMbps: 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,保底带宽 = 共享带宽包带宽上限 * 20%(Required)
func (*CreateBandwidthPackageRequest) SetChargeSpec ¶ added in v1.56.0
func (r *CreateBandwidthPackageRequest) SetChargeSpec(chargeSpec *charge.ChargeSpec)
param chargeSpec: 计费配置。支持包年包月、按配置、按用量计费模式(Optional)
func (*CreateBandwidthPackageRequest) SetDescription ¶ added in v1.56.0
func (r *CreateBandwidthPackageRequest) SetDescription(description string)
param description: 描述,长度不超过256个字符(Optional)
func (*CreateBandwidthPackageRequest) SetName ¶ added in v1.56.0
func (r *CreateBandwidthPackageRequest) SetName(name string)
param name: 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符(Required)
func (*CreateBandwidthPackageRequest) SetProvider ¶ added in v1.56.0
func (r *CreateBandwidthPackageRequest) SetProvider(provider string)
param provider: 线路信息,默认bgp,目前只支持中心节点的BGP线路(Optional)
func (*CreateBandwidthPackageRequest) SetRegionId ¶ added in v1.56.0
func (r *CreateBandwidthPackageRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateBandwidthPackageRequest) SetResourceGroupId ¶ added in v1.56.0
func (r *CreateBandwidthPackageRequest) SetResourceGroupId(resourceGroupId string)
param resourceGroupId: 资源所属资源组ID(Optional)
func (*CreateBandwidthPackageRequest) SetUserTags ¶ added in v1.56.0
func (r *CreateBandwidthPackageRequest) SetUserTags(userTags []vpc.Tag)
param userTags: 用户标签(Optional)
type CreateBandwidthPackageResponse ¶ added in v1.56.0
type CreateBandwidthPackageResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateBandwidthPackageResult `json:"result"` }
type CreateBandwidthPackageResult ¶ added in v1.56.0
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.56.0
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 ¶ added in v1.23.0
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 ¶ added in v1.56.0
func (r *CreateElasticIpsRequest) SetResourceGroupId(resourceGroupId string)
param resourceGroupId: 资源所属资源组ID(Optional)
func (*CreateElasticIpsRequest) SetUserTags ¶ added in v1.15.0
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 CreateNatGatewayRequest ¶ added in v1.62.0
type CreateNatGatewayRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* NAT网关名称 */ NatGatewayName string `json:"natGatewayName"` /* NAT网关规格,取值small(100万并发连接数),medium(300万并发连接数),large(1000万并发连接数),默认small (Optional) */ NatGatewaySpec *string `json:"natGatewaySpec"` /* 私有网络ID */ VpcId string `json:"vpcId"` /* 子网ID */ SubnetId string `json:"subnetId"` /* NAT网关的可用区属性,即将废弃 (Optional) */ AzIpSpecs []vpc.AzIpSpec `json:"azIpSpecs"` /* NAT网关可用区 (Optional) */ Azs []string `json:"azs"` /* 选择已有公网IP列表。选择已有和新购公网IP可以同时配置,也可以配置其一 (Optional) */ ElasticIpIds []string `json:"elasticIpIds"` /* 新购公网IP数量 (Optional) */ ElasticIpCount *int `json:"elasticIpCount"` /* 新购公网IP配置。NAT网关仅支持打包创建标准公网IP,不支持边缘公网IP。且标准公网IP仅支持按配置、按用量两种计费模式。 (Optional) */ ElasticIpSpec *vpc.ElasticIpSpec `json:"elasticIpSpec"` /* 计费配置,仅支持按配置,默认按配置 (Optional) */ NatGatewayCharge *charge.ChargeSpec `json:"natGatewayCharge"` /* 描述, 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */ Description *string `json:"description"` }
func NewCreateNatGatewayRequest ¶ added in v1.62.0
func NewCreateNatGatewayRequest( regionId string, natGatewayName string, vpcId string, subnetId string, ) *CreateNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayName: NAT网关名称 (Required) * param vpcId: 私有网络ID (Required) * param subnetId: 子网ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateNatGatewayRequestWithAllParams ¶ added in v1.62.0
func NewCreateNatGatewayRequestWithAllParams( regionId string, natGatewayName string, natGatewaySpec *string, vpcId string, subnetId string, azIpSpecs []vpc.AzIpSpec, azs []string, elasticIpIds []string, elasticIpCount *int, elasticIpSpec *vpc.ElasticIpSpec, natGatewayCharge *charge.ChargeSpec, description *string, ) *CreateNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayName: NAT网关名称 (Required) * param natGatewaySpec: NAT网关规格,取值small(100万并发连接数),medium(300万并发连接数),large(1000万并发连接数),默认small (Optional) * param vpcId: 私有网络ID (Required) * param subnetId: 子网ID (Required) * param azIpSpecs: NAT网关的可用区属性,即将废弃 (Optional) * param azs: NAT网关可用区 (Optional) * param elasticIpIds: 选择已有公网IP列表。选择已有和新购公网IP可以同时配置,也可以配置其一 (Optional) * param elasticIpCount: 新购公网IP数量 (Optional) * param elasticIpSpec: 新购公网IP配置。NAT网关仅支持打包创建标准公网IP,不支持边缘公网IP。且标准公网IP仅支持按配置、按用量两种计费模式。 (Optional) * param natGatewayCharge: 计费配置,仅支持按配置,默认按配置 (Optional) * param description: 描述, 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional)
func NewCreateNatGatewayRequestWithoutParam ¶ added in v1.62.0
func NewCreateNatGatewayRequestWithoutParam() *CreateNatGatewayRequest
This constructor has better compatible ability when API parameters changed
func (CreateNatGatewayRequest) GetRegionId ¶ added in v1.62.0
func (r CreateNatGatewayRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateNatGatewayRequest) SetAzIpSpecs ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetAzIpSpecs(azIpSpecs []vpc.AzIpSpec)
param azIpSpecs: NAT网关的可用区属性,即将废弃(Optional)
func (*CreateNatGatewayRequest) SetAzs ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetAzs(azs []string)
param azs: NAT网关可用区(Optional)
func (*CreateNatGatewayRequest) SetDescription ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetDescription(description string)
param description: 描述, 允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*CreateNatGatewayRequest) SetElasticIpCount ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetElasticIpCount(elasticIpCount int)
param elasticIpCount: 新购公网IP数量(Optional)
func (*CreateNatGatewayRequest) SetElasticIpIds ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetElasticIpIds(elasticIpIds []string)
param elasticIpIds: 选择已有公网IP列表。选择已有和新购公网IP可以同时配置,也可以配置其一(Optional)
func (*CreateNatGatewayRequest) SetElasticIpSpec ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetElasticIpSpec(elasticIpSpec *vpc.ElasticIpSpec)
param elasticIpSpec: 新购公网IP配置。NAT网关仅支持打包创建标准公网IP,不支持边缘公网IP。且标准公网IP仅支持按配置、按用量两种计费模式。(Optional)
func (*CreateNatGatewayRequest) SetNatGatewayCharge ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetNatGatewayCharge(natGatewayCharge *charge.ChargeSpec)
param natGatewayCharge: 计费配置,仅支持按配置,默认按配置(Optional)
func (*CreateNatGatewayRequest) SetNatGatewayName ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetNatGatewayName(natGatewayName string)
param natGatewayName: NAT网关名称(Required)
func (*CreateNatGatewayRequest) SetNatGatewaySpec ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetNatGatewaySpec(natGatewaySpec string)
param natGatewaySpec: NAT网关规格,取值small(100万并发连接数),medium(300万并发连接数),large(1000万并发连接数),默认small(Optional)
func (*CreateNatGatewayRequest) SetRegionId ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateNatGatewayRequest) SetSubnetId ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Required)
func (*CreateNatGatewayRequest) SetVpcId ¶ added in v1.62.0
func (r *CreateNatGatewayRequest) SetVpcId(vpcId string)
param vpcId: 私有网络ID(Required)
type CreateNatGatewayResponse ¶ added in v1.62.0
type CreateNatGatewayResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateNatGatewayResult `json:"result"` }
type CreateNatGatewayResult ¶ added in v1.62.0
type CreateNatGatewayResult struct {
NatGatewayId string `json:"natGatewayId"`
}
type CreateNetworkAclRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewCreateNetworkAclRequestWithoutParam() *CreateNetworkAclRequest
This constructor has better compatible ability when API parameters changed
func (CreateNetworkAclRequest) GetRegionId ¶ added in v1.0.11
func (r CreateNetworkAclRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateNetworkAclRequest) SetDescription ¶ added in v1.0.11
func (r *CreateNetworkAclRequest) SetDescription(description string)
param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*CreateNetworkAclRequest) SetNetworkAclName ¶ added in v1.0.11
func (r *CreateNetworkAclRequest) SetNetworkAclName(networkAclName string)
param networkAclName: networkAcl名称(Required)
func (*CreateNetworkAclRequest) SetRegionId ¶ added in v1.0.11
func (r *CreateNetworkAclRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateNetworkAclRequest) SetVpcId ¶ added in v1.0.11
func (r *CreateNetworkAclRequest) SetVpcId(vpcId string)
param vpcId: 私有网络id(Required)
type CreateNetworkAclResponse ¶ added in v1.0.11
type CreateNetworkAclResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateNetworkAclResult `json:"result"` }
type CreateNetworkAclResult ¶ added in v1.0.11
type CreateNetworkAclResult struct {
NetworkAclId string `json:"networkAclId"`
}
type CreateNetworkInterfaceRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewCreateNetworkInterfaceRequestWithoutParam() *CreateNetworkInterfaceRequest
This constructor has better compatible ability when API parameters changed
func (CreateNetworkInterfaceRequest) GetRegionId ¶ added in v1.0.5
func (r CreateNetworkInterfaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateNetworkInterfaceRequest) SetAz ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetAz(az string)
param az: 可用区,用户的默认可用区,该参数无效,不建议使用(Optional)
func (*CreateNetworkInterfaceRequest) SetDescription ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetDescription(description string)
param description: 描述, 允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*CreateNetworkInterfaceRequest) SetNetworkInterfaceName ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetNetworkInterfaceName(networkInterfaceName string)
param networkInterfaceName: 网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Optional)
func (*CreateNetworkInterfaceRequest) SetPrimaryIpAddress ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetPrimaryIpAddress(primaryIpAddress string)
param primaryIpAddress: 网卡主IP,如果不指定,会自动从子网中分配(Optional)
func (*CreateNetworkInterfaceRequest) SetRegionId ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateNetworkInterfaceRequest) SetSanityCheck ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetSanityCheck(sanityCheck int)
param sanityCheck: 源和目标IP地址校验,取值为0或者1,默认为1(Optional)
func (*CreateNetworkInterfaceRequest) SetSecondaryIpAddresses ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetSecondaryIpAddresses(secondaryIpAddresses []string)
param secondaryIpAddresses: SecondaryIp列表(Optional)
func (*CreateNetworkInterfaceRequest) SetSecondaryIpCount ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetSecondaryIpCount(secondaryIpCount int)
param secondaryIpCount: 自动分配的SecondaryIp数量(Optional)
func (*CreateNetworkInterfaceRequest) SetSecurityGroups ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetSecurityGroups(securityGroups []string)
param securityGroups: 要绑定的安全组ID列表,最多指定5个安全组(Optional)
func (*CreateNetworkInterfaceRequest) SetSubnetId ¶ added in v1.0.5
func (r *CreateNetworkInterfaceRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Required)
type CreateNetworkInterfaceResponse ¶ added in v1.0.5
type CreateNetworkInterfaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateNetworkInterfaceResult `json:"result"` }
type CreateNetworkInterfaceResult ¶ added in v1.0.5
type CreateNetworkInterfaceResult struct {
NetworkInterfaceId string `json:"networkInterfaceId"`
}
type CreateNetworkSecurityGroupRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewCreateNetworkSecurityGroupRequestWithoutParam() *CreateNetworkSecurityGroupRequest
This constructor has better compatible ability when API parameters changed
func (CreateNetworkSecurityGroupRequest) GetRegionId ¶ added in v1.0.5
func (r CreateNetworkSecurityGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateNetworkSecurityGroupRequest) SetDescription ¶ added in v1.0.5
func (r *CreateNetworkSecurityGroupRequest) SetDescription(description string)
param description: 描述, 允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*CreateNetworkSecurityGroupRequest) SetNetworkSecurityGroupName ¶ added in v1.0.5
func (r *CreateNetworkSecurityGroupRequest) SetNetworkSecurityGroupName(networkSecurityGroupName string)
param networkSecurityGroupName: 安全组名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)
func (*CreateNetworkSecurityGroupRequest) SetRegionId ¶ added in v1.0.5
func (r *CreateNetworkSecurityGroupRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateNetworkSecurityGroupRequest) SetVpcId ¶ added in v1.0.5
func (r *CreateNetworkSecurityGroupRequest) SetVpcId(vpcId string)
param vpcId: 私有网络ID(Required)
type CreateNetworkSecurityGroupResponse ¶ added in v1.0.5
type CreateNetworkSecurityGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateNetworkSecurityGroupResult `json:"result"` }
type CreateNetworkSecurityGroupResult ¶ added in v1.0.5
type CreateNetworkSecurityGroupResult struct {
NetworkSecurityGroupId string `json:"networkSecurityGroupId"`
}
type CreateRouteTableRequest ¶ added in v1.0.11
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"` /* 绑定资源类型,取值:subnet(缺省时默认值),gateway (Optional) */ AssociateType *string `json:"associateType"` }
func NewCreateRouteTableRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewCreateRouteTableRequestWithAllParams( regionId string, vpcId string, routeTableName string, description *string, associateType *string, ) *CreateRouteTableRequest
* param regionId: Region ID (Required) * param vpcId: 路由表所属的私有网络ID (Required) * param routeTableName: 路由表名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) * param associateType: 绑定资源类型,取值:subnet(缺省时默认值),gateway (Optional)
func NewCreateRouteTableRequestWithoutParam ¶ added in v1.0.11
func NewCreateRouteTableRequestWithoutParam() *CreateRouteTableRequest
This constructor has better compatible ability when API parameters changed
func (CreateRouteTableRequest) GetRegionId ¶ added in v1.0.11
func (r CreateRouteTableRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRouteTableRequest) SetAssociateType ¶ added in v1.60.0
func (r *CreateRouteTableRequest) SetAssociateType(associateType string)
param associateType: 绑定资源类型,取值:subnet(缺省时默认值),gateway(Optional)
func (*CreateRouteTableRequest) SetDescription ¶ added in v1.0.11
func (r *CreateRouteTableRequest) SetDescription(description string)
param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*CreateRouteTableRequest) SetRegionId ¶ added in v1.0.11
func (r *CreateRouteTableRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateRouteTableRequest) SetRouteTableName ¶ added in v1.0.11
func (r *CreateRouteTableRequest) SetRouteTableName(routeTableName string)
param routeTableName: 路由表名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)
func (*CreateRouteTableRequest) SetVpcId ¶ added in v1.0.11
func (r *CreateRouteTableRequest) SetVpcId(vpcId string)
param vpcId: 路由表所属的私有网络ID(Required)
type CreateRouteTableResponse ¶ added in v1.0.11
type CreateRouteTableResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateRouteTableResult `json:"result"` }
type CreateRouteTableResult ¶ added in v1.0.11
type CreateRouteTableResult struct {
RouteTableId string `json:"routeTableId"`
}
type CreateSubnetRequest ¶ added in v1.0.11
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"` /* 域名后缀,不限制个数。总长度最长254个字符,仅支持字母,数字,中划线,下划线和点。 (Optional) */ DomainNames []string `json:"domainNames"` /* 域名服务器地址。最多支持5个IPv4地址,不同IPv4地址使用逗号分隔。如不输入或输入空数组,默认使用京东云默认DNS域名服务器地址。如不添加默认DNS域名服务器,可能会导致您无法访问京东云云上基础服务,请谨慎操作 (Optional) */ DomainNameServers []string `json:"domainNameServers"` /* 是否只预检此次请求。true:不会创建子网,只会对参数进行校验;false:正常的创建请求。默认为false。 (Optional) */ DryRun *bool `json:"dryRun"` }
func NewCreateSubnetRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewCreateSubnetRequestWithAllParams( regionId string, vpcId string, subnetName string, addressPrefix string, routeTableId *string, description *string, ipMaskLen *int, domainNames []string, domainNameServers []string, dryRun *bool, ) *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) * param domainNames: 域名后缀,不限制个数。总长度最长254个字符,仅支持字母,数字,中划线,下划线和点。 (Optional) * param domainNameServers: 域名服务器地址。最多支持5个IPv4地址,不同IPv4地址使用逗号分隔。如不输入或输入空数组,默认使用京东云默认DNS域名服务器地址。如不添加默认DNS域名服务器,可能会导致您无法访问京东云云上基础服务,请谨慎操作 (Optional) * param dryRun: 是否只预检此次请求。true:不会创建子网,只会对参数进行校验;false:正常的创建请求。默认为false。 (Optional)
func NewCreateSubnetRequestWithoutParam ¶ added in v1.0.11
func NewCreateSubnetRequestWithoutParam() *CreateSubnetRequest
This constructor has better compatible ability when API parameters changed
func (CreateSubnetRequest) GetRegionId ¶ added in v1.0.11
func (r CreateSubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSubnetRequest) SetAddressPrefix ¶ added in v1.0.11
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 ¶ added in v1.0.11
func (r *CreateSubnetRequest) SetDescription(description string)
param description: 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)
func (*CreateSubnetRequest) SetDomainNameServers ¶ added in v1.62.0
func (r *CreateSubnetRequest) SetDomainNameServers(domainNameServers []string)
param domainNameServers: 域名服务器地址。最多支持5个IPv4地址,不同IPv4地址使用逗号分隔。如不输入或输入空数组,默认使用京东云默认DNS域名服务器地址。如不添加默认DNS域名服务器,可能会导致您无法访问京东云云上基础服务,请谨慎操作(Optional)
func (*CreateSubnetRequest) SetDomainNames ¶ added in v1.62.0
func (r *CreateSubnetRequest) SetDomainNames(domainNames []string)
param domainNames: 域名后缀,不限制个数。总长度最长254个字符,仅支持字母,数字,中划线,下划线和点。(Optional)
func (*CreateSubnetRequest) SetDryRun ¶ added in v1.60.0
func (r *CreateSubnetRequest) SetDryRun(dryRun bool)
param dryRun: 是否只预检此次请求。true:不会创建子网,只会对参数进行校验;false:正常的创建请求。默认为false。(Optional)
func (*CreateSubnetRequest) SetIpMaskLen ¶ added in v1.56.0
func (r *CreateSubnetRequest) SetIpMaskLen(ipMaskLen int)
param ipMaskLen: 子网内预留网段掩码长度,此网段IP地址按照单个申请,子网内其余部分IP地址以网段形式分配。此参数非必选,缺省值为0,代表子网内所有IP地址都按照单个申请(Optional)
func (*CreateSubnetRequest) SetRegionId ¶ added in v1.0.11
func (r *CreateSubnetRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateSubnetRequest) SetRouteTableId ¶ added in v1.0.11
func (r *CreateSubnetRequest) SetRouteTableId(routeTableId string)
param routeTableId: 子网关联的路由表Id, 默认为vpc的默认路由表,子网关联路由表需检查路由表中已绑定的子网与本子网类型是否一致(一致标准为:或者都为标准子网,或者都为相同边缘可用区的边缘子网)(Optional)
func (*CreateSubnetRequest) SetSubnetName ¶ added in v1.0.11
func (r *CreateSubnetRequest) SetSubnetName(subnetName string)
param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)
func (*CreateSubnetRequest) SetVpcId ¶ added in v1.0.11
func (r *CreateSubnetRequest) SetVpcId(vpcId string)
param vpcId: 子网所属vpc的Id(Required)
type CreateSubnetResponse ¶ added in v1.0.11
type CreateSubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSubnetResult `json:"result"` }
type CreateSubnetResult ¶ added in v1.0.11
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 CreateVpcPolicyRequest ¶ added in v1.60.0
type CreateVpcPolicyRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 访问控制策略名称。取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 */ VpcPolicyName string `json:"vpcPolicyName"` /* 访问控制策略所属vpc id */ VpcId string `json:"vpcId"` /* 具体策略内容(格式参考样例) */ PolicyDocument string `json:"policyDocument"` }
func NewCreateVpcPolicyRequest ¶ added in v1.60.0
func NewCreateVpcPolicyRequest( regionId string, vpcPolicyName string, vpcId string, policyDocument string, ) *CreateVpcPolicyRequest
* param regionId: Region ID (Required) * param vpcPolicyName: 访问控制策略名称。取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Required) * param vpcId: 访问控制策略所属vpc id (Required) * param policyDocument: 具体策略内容(格式参考样例) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateVpcPolicyRequestWithAllParams ¶ added in v1.60.0
func NewCreateVpcPolicyRequestWithAllParams( regionId string, vpcPolicyName string, vpcId string, policyDocument string, ) *CreateVpcPolicyRequest
* param regionId: Region ID (Required) * param vpcPolicyName: 访问控制策略名称。取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Required) * param vpcId: 访问控制策略所属vpc id (Required) * param policyDocument: 具体策略内容(格式参考样例) (Required)
func NewCreateVpcPolicyRequestWithoutParam ¶ added in v1.60.0
func NewCreateVpcPolicyRequestWithoutParam() *CreateVpcPolicyRequest
This constructor has better compatible ability when API parameters changed
func (CreateVpcPolicyRequest) GetRegionId ¶ added in v1.60.0
func (r CreateVpcPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateVpcPolicyRequest) SetPolicyDocument ¶ added in v1.60.0
func (r *CreateVpcPolicyRequest) SetPolicyDocument(policyDocument string)
param policyDocument: 具体策略内容(格式参考样例)(Required)
func (*CreateVpcPolicyRequest) SetRegionId ¶ added in v1.60.0
func (r *CreateVpcPolicyRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateVpcPolicyRequest) SetVpcId ¶ added in v1.60.0
func (r *CreateVpcPolicyRequest) SetVpcId(vpcId string)
param vpcId: 访问控制策略所属vpc id(Required)
func (*CreateVpcPolicyRequest) SetVpcPolicyName ¶ added in v1.60.0
func (r *CreateVpcPolicyRequest) SetVpcPolicyName(vpcPolicyName string)
param vpcPolicyName: 访问控制策略名称。取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符(Required)
type CreateVpcPolicyResponse ¶ added in v1.60.0
type CreateVpcPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateVpcPolicyResult `json:"result"` }
type CreateVpcPolicyResult ¶ added in v1.60.0
type CreateVpcPolicyResult struct {
VpcPolicyId string `json:"vpcPolicyId"`
}
type CreateVpcRequest ¶ added in v1.0.9
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"` /* 取值包括true、false,默认为false,不开启组播。 (Optional) */ EnableMulticast *bool `json:"enableMulticast"` /* VPC az类型,取值:standard(标准VPC),edge(边缘VPC) (Optional) */ AzType *string `json:"azType"` /* VPC可用区,边缘VPC必须指定可用区 (Optional) */ Az *string `json:"az"` }
func NewCreateVpcRequest ¶ added in v1.0.9
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 ¶ added in v1.0.9
func NewCreateVpcRequestWithAllParams( regionId string, vpcName string, addressPrefix *string, description *string, enableMulticast *bool, 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 enableMulticast: 取值包括true、false,默认为false,不开启组播。 (Optional) * param azType: VPC az类型,取值:standard(标准VPC),edge(边缘VPC) (Optional) * param az: VPC可用区,边缘VPC必须指定可用区 (Optional)
func NewCreateVpcRequestWithoutParam ¶ added in v1.0.9
func NewCreateVpcRequestWithoutParam() *CreateVpcRequest
This constructor has better compatible ability when API parameters changed
func (CreateVpcRequest) GetRegionId ¶ added in v1.0.9
func (r CreateVpcRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateVpcRequest) SetAddressPrefix ¶ added in v1.0.9
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 ¶ added in v1.56.0
func (r *CreateVpcRequest) SetAz(az string)
param az: VPC可用区,边缘VPC必须指定可用区(Optional)
func (*CreateVpcRequest) SetAzType ¶ added in v1.56.0
func (r *CreateVpcRequest) SetAzType(azType string)
param azType: VPC az类型,取值:standard(标准VPC),edge(边缘VPC)(Optional)
func (*CreateVpcRequest) SetDescription ¶ added in v1.0.9
func (r *CreateVpcRequest) SetDescription(description string)
param description: vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)
func (*CreateVpcRequest) SetEnableMulticast ¶ added in v1.62.0
func (r *CreateVpcRequest) SetEnableMulticast(enableMulticast bool)
param enableMulticast: 取值包括true、false,默认为false,不开启组播。(Optional)
func (*CreateVpcRequest) SetRegionId ¶ added in v1.0.9
func (r *CreateVpcRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateVpcRequest) SetVpcName ¶ added in v1.0.9
func (r *CreateVpcRequest) SetVpcName(vpcName string)
param vpcName: 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)
type CreateVpcResponse ¶ added in v1.0.9
type CreateVpcResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateVpcResult `json:"result"` }
type CreateVpcResult ¶ added in v1.0.9
type CreateVpcResult struct {
VpcId string `json:"vpcId"`
}
type DeleteBandwidthPackageRequest ¶ added in v1.56.0
type DeleteBandwidthPackageRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 共享带宽包ID */ BandwidthPackageId string `json:"bandwidthPackageId"` }
func NewDeleteBandwidthPackageRequest ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewDeleteBandwidthPackageRequestWithAllParams( regionId string, bandwidthPackageId string, ) *DeleteBandwidthPackageRequest
* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required)
func NewDeleteBandwidthPackageRequestWithoutParam ¶ added in v1.56.0
func NewDeleteBandwidthPackageRequestWithoutParam() *DeleteBandwidthPackageRequest
This constructor has better compatible ability when API parameters changed
func (DeleteBandwidthPackageRequest) GetRegionId ¶ added in v1.56.0
func (r DeleteBandwidthPackageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteBandwidthPackageRequest) SetBandwidthPackageId ¶ added in v1.56.0
func (r *DeleteBandwidthPackageRequest) SetBandwidthPackageId(bandwidthPackageId string)
param bandwidthPackageId: 共享带宽包ID(Required)
func (*DeleteBandwidthPackageRequest) SetRegionId ¶ added in v1.56.0
func (r *DeleteBandwidthPackageRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteBandwidthPackageResponse ¶ added in v1.56.0
type DeleteBandwidthPackageResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteBandwidthPackageResult `json:"result"` }
type DeleteBandwidthPackageResult ¶ added in v1.56.0
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 ¶ added in v1.0.5
func NewDeleteElasticIpRequestWithAllParams( regionId string, elasticIpId string, ) *DeleteElasticIpRequest
* param regionId: Region ID (Required) * param elasticIpId: ElasticIp ID (Required)
func NewDeleteElasticIpRequestWithoutParam ¶ added in v1.0.5
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 DeleteNatGatewayRequest ¶ added in v1.62.0
type DeleteNatGatewayRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* natGateway ID */ NatGatewayId string `json:"natGatewayId"` /* 是否打包删除公网IP,取值范围:true、false,默认false。true表示删除NAT网关时打包删除其绑定的所有公网IP;false表示删除NAT网关时不删除其绑定的所有公网IP。包年包月公网IP不支持打包删除 (Optional) */ DeleteElasticIp *bool `json:"deleteElasticIp"` }
func NewDeleteNatGatewayRequest ¶ added in v1.62.0
func NewDeleteNatGatewayRequest( regionId string, natGatewayId string, ) *DeleteNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteNatGatewayRequestWithAllParams ¶ added in v1.62.0
func NewDeleteNatGatewayRequestWithAllParams( regionId string, natGatewayId string, deleteElasticIp *bool, ) *DeleteNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * param deleteElasticIp: 是否打包删除公网IP,取值范围:true、false,默认false。true表示删除NAT网关时打包删除其绑定的所有公网IP;false表示删除NAT网关时不删除其绑定的所有公网IP。包年包月公网IP不支持打包删除 (Optional)
func NewDeleteNatGatewayRequestWithoutParam ¶ added in v1.62.0
func NewDeleteNatGatewayRequestWithoutParam() *DeleteNatGatewayRequest
This constructor has better compatible ability when API parameters changed
func (DeleteNatGatewayRequest) GetRegionId ¶ added in v1.62.0
func (r DeleteNatGatewayRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteNatGatewayRequest) SetDeleteElasticIp ¶ added in v1.62.0
func (r *DeleteNatGatewayRequest) SetDeleteElasticIp(deleteElasticIp bool)
param deleteElasticIp: 是否打包删除公网IP,取值范围:true、false,默认false。true表示删除NAT网关时打包删除其绑定的所有公网IP;false表示删除NAT网关时不删除其绑定的所有公网IP。包年包月公网IP不支持打包删除(Optional)
func (*DeleteNatGatewayRequest) SetNatGatewayId ¶ added in v1.62.0
func (r *DeleteNatGatewayRequest) SetNatGatewayId(natGatewayId string)
param natGatewayId: natGateway ID(Required)
func (*DeleteNatGatewayRequest) SetRegionId ¶ added in v1.62.0
func (r *DeleteNatGatewayRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteNatGatewayResponse ¶ added in v1.62.0
type DeleteNatGatewayResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteNatGatewayResult `json:"result"` }
type DeleteNatGatewayResult ¶ added in v1.62.0
type DeleteNetworkAclRequest ¶ added in v1.0.11
type DeleteNetworkAclRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* networkAclId ID */ NetworkAclId string `json:"networkAclId"` }
func NewDeleteNetworkAclRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewDeleteNetworkAclRequestWithAllParams( regionId string, networkAclId string, ) *DeleteNetworkAclRequest
* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required)
func NewDeleteNetworkAclRequestWithoutParam ¶ added in v1.0.11
func NewDeleteNetworkAclRequestWithoutParam() *DeleteNetworkAclRequest
This constructor has better compatible ability when API parameters changed
func (DeleteNetworkAclRequest) GetRegionId ¶ added in v1.0.11
func (r DeleteNetworkAclRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteNetworkAclRequest) SetNetworkAclId ¶ added in v1.0.11
func (r *DeleteNetworkAclRequest) SetNetworkAclId(networkAclId string)
param networkAclId: networkAclId ID(Required)
func (*DeleteNetworkAclRequest) SetRegionId ¶ added in v1.0.11
func (r *DeleteNetworkAclRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteNetworkAclResponse ¶ added in v1.0.11
type DeleteNetworkAclResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteNetworkAclResult `json:"result"` }
type DeleteNetworkAclResult ¶ added in v1.0.11
type DeleteNetworkAclResult struct { }
type DeleteNetworkInterfaceRequest ¶ added in v1.0.5
type DeleteNetworkInterfaceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* networkInterface ID */ NetworkInterfaceId string `json:"networkInterfaceId"` }
func NewDeleteNetworkInterfaceRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewDeleteNetworkInterfaceRequestWithAllParams( regionId string, networkInterfaceId string, ) *DeleteNetworkInterfaceRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required)
func NewDeleteNetworkInterfaceRequestWithoutParam ¶ added in v1.0.5
func NewDeleteNetworkInterfaceRequestWithoutParam() *DeleteNetworkInterfaceRequest
This constructor has better compatible ability when API parameters changed
func (DeleteNetworkInterfaceRequest) GetRegionId ¶ added in v1.0.5
func (r DeleteNetworkInterfaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteNetworkInterfaceRequest) SetNetworkInterfaceId ¶ added in v1.0.5
func (r *DeleteNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)
param networkInterfaceId: networkInterface ID(Required)
func (*DeleteNetworkInterfaceRequest) SetRegionId ¶ added in v1.0.5
func (r *DeleteNetworkInterfaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteNetworkInterfaceResponse ¶ added in v1.0.5
type DeleteNetworkInterfaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteNetworkInterfaceResult `json:"result"` }
type DeleteNetworkInterfaceResult ¶ added in v1.0.5
type DeleteNetworkInterfaceResult struct { }
type DeleteNetworkSecurityGroupRequest ¶ added in v1.0.5
type DeleteNetworkSecurityGroupRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* NetworkSecurityGroup ID */ NetworkSecurityGroupId string `json:"networkSecurityGroupId"` }
func NewDeleteNetworkSecurityGroupRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewDeleteNetworkSecurityGroupRequestWithAllParams( regionId string, networkSecurityGroupId string, ) *DeleteNetworkSecurityGroupRequest
* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required)
func NewDeleteNetworkSecurityGroupRequestWithoutParam ¶ added in v1.0.5
func NewDeleteNetworkSecurityGroupRequestWithoutParam() *DeleteNetworkSecurityGroupRequest
This constructor has better compatible ability when API parameters changed
func (DeleteNetworkSecurityGroupRequest) GetRegionId ¶ added in v1.0.5
func (r DeleteNetworkSecurityGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteNetworkSecurityGroupRequest) SetNetworkSecurityGroupId ¶ added in v1.0.5
func (r *DeleteNetworkSecurityGroupRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
param networkSecurityGroupId: NetworkSecurityGroup ID(Required)
func (*DeleteNetworkSecurityGroupRequest) SetRegionId ¶ added in v1.0.5
func (r *DeleteNetworkSecurityGroupRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteNetworkSecurityGroupResponse ¶ added in v1.0.5
type DeleteNetworkSecurityGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteNetworkSecurityGroupResult `json:"result"` }
type DeleteNetworkSecurityGroupResult ¶ added in v1.0.5
type DeleteNetworkSecurityGroupResult struct { }
type DeleteRouteTableRequest ¶ added in v1.0.11
type DeleteRouteTableRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* RouteTable ID */ RouteTableId string `json:"routeTableId"` }
func NewDeleteRouteTableRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewDeleteRouteTableRequestWithAllParams( regionId string, routeTableId string, ) *DeleteRouteTableRequest
* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required)
func NewDeleteRouteTableRequestWithoutParam ¶ added in v1.0.11
func NewDeleteRouteTableRequestWithoutParam() *DeleteRouteTableRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRouteTableRequest) GetRegionId ¶ added in v1.0.11
func (r DeleteRouteTableRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRouteTableRequest) SetRegionId ¶ added in v1.0.11
func (r *DeleteRouteTableRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteRouteTableRequest) SetRouteTableId ¶ added in v1.0.11
func (r *DeleteRouteTableRequest) SetRouteTableId(routeTableId string)
param routeTableId: RouteTable ID(Required)
type DeleteRouteTableResponse ¶ added in v1.0.11
type DeleteRouteTableResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteRouteTableResult `json:"result"` }
type DeleteRouteTableResult ¶ added in v1.0.11
type DeleteRouteTableResult struct { }
type DeleteSubnetRequest ¶ added in v1.0.11
type DeleteSubnetRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Subnet ID */ SubnetId string `json:"subnetId"` }
func NewDeleteSubnetRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewDeleteSubnetRequestWithAllParams( regionId string, subnetId string, ) *DeleteSubnetRequest
* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required)
func NewDeleteSubnetRequestWithoutParam ¶ added in v1.0.11
func NewDeleteSubnetRequestWithoutParam() *DeleteSubnetRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSubnetRequest) GetRegionId ¶ added in v1.0.11
func (r DeleteSubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSubnetRequest) SetRegionId ¶ added in v1.0.11
func (r *DeleteSubnetRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteSubnetRequest) SetSubnetId ¶ added in v1.0.11
func (r *DeleteSubnetRequest) SetSubnetId(subnetId string)
param subnetId: Subnet ID(Required)
type DeleteSubnetResponse ¶ added in v1.0.11
type DeleteSubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteSubnetResult `json:"result"` }
type DeleteSubnetResult ¶ added in v1.0.11
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 ¶ added in v1.0.5
func NewDeleteVpcPeeringRequestWithAllParams( regionId string, vpcPeeringId string, ) *DeleteVpcPeeringRequest
* param regionId: Region ID (Required) * param vpcPeeringId: vpcPeeringId ID (Required)
func NewDeleteVpcPeeringRequestWithoutParam ¶ added in v1.0.5
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 DeleteVpcPolicyRequest ¶ added in v1.60.0
type DeleteVpcPolicyRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* policy ID */ VpcPolicyId string `json:"vpcPolicyId"` }
func NewDeleteVpcPolicyRequest ¶ added in v1.60.0
func NewDeleteVpcPolicyRequest( regionId string, vpcPolicyId string, ) *DeleteVpcPolicyRequest
* param regionId: Region ID (Required) * param vpcPolicyId: policy ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteVpcPolicyRequestWithAllParams ¶ added in v1.60.0
func NewDeleteVpcPolicyRequestWithAllParams( regionId string, vpcPolicyId string, ) *DeleteVpcPolicyRequest
* param regionId: Region ID (Required) * param vpcPolicyId: policy ID (Required)
func NewDeleteVpcPolicyRequestWithoutParam ¶ added in v1.60.0
func NewDeleteVpcPolicyRequestWithoutParam() *DeleteVpcPolicyRequest
This constructor has better compatible ability when API parameters changed
func (DeleteVpcPolicyRequest) GetRegionId ¶ added in v1.60.0
func (r DeleteVpcPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteVpcPolicyRequest) SetRegionId ¶ added in v1.60.0
func (r *DeleteVpcPolicyRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteVpcPolicyRequest) SetVpcPolicyId ¶ added in v1.60.0
func (r *DeleteVpcPolicyRequest) SetVpcPolicyId(vpcPolicyId string)
param vpcPolicyId: policy ID(Required)
type DeleteVpcPolicyResponse ¶ added in v1.60.0
type DeleteVpcPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteVpcPolicyResult `json:"result"` }
type DeleteVpcPolicyResult ¶ added in v1.60.0
type DeleteVpcPolicyResult struct { }
type DeleteVpcRequest ¶ added in v1.0.9
type DeleteVpcRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Vpc ID */ VpcId string `json:"vpcId"` }
func NewDeleteVpcRequest ¶ added in v1.0.9
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 ¶ added in v1.0.9
func NewDeleteVpcRequestWithAllParams( regionId string, vpcId string, ) *DeleteVpcRequest
* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required)
func NewDeleteVpcRequestWithoutParam ¶ added in v1.0.9
func NewDeleteVpcRequestWithoutParam() *DeleteVpcRequest
This constructor has better compatible ability when API parameters changed
func (DeleteVpcRequest) GetRegionId ¶ added in v1.0.9
func (r DeleteVpcRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteVpcRequest) SetRegionId ¶ added in v1.0.9
func (r *DeleteVpcRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteVpcRequest) SetVpcId ¶ added in v1.0.9
func (r *DeleteVpcRequest) SetVpcId(vpcId string)
param vpcId: Vpc ID(Required)
type DeleteVpcResponse ¶ added in v1.0.9
type DeleteVpcResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteVpcResult `json:"result"` }
type DeleteVpcResult ¶ added in v1.0.9
type DeleteVpcResult struct { }
type DescribeBandwidthPackageRequest ¶ added in v1.56.0
type DescribeBandwidthPackageRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 共享带宽包ID */ BandwidthPackageId string `json:"bandwidthPackageId"` }
func NewDescribeBandwidthPackageRequest ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewDescribeBandwidthPackageRequestWithAllParams( regionId string, bandwidthPackageId string, ) *DescribeBandwidthPackageRequest
* param regionId: Region ID (Required) * param bandwidthPackageId: 共享带宽包ID (Required)
func NewDescribeBandwidthPackageRequestWithoutParam ¶ added in v1.56.0
func NewDescribeBandwidthPackageRequestWithoutParam() *DescribeBandwidthPackageRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBandwidthPackageRequest) GetRegionId ¶ added in v1.56.0
func (r DescribeBandwidthPackageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBandwidthPackageRequest) SetBandwidthPackageId ¶ added in v1.56.0
func (r *DescribeBandwidthPackageRequest) SetBandwidthPackageId(bandwidthPackageId string)
param bandwidthPackageId: 共享带宽包ID(Required)
func (*DescribeBandwidthPackageRequest) SetRegionId ¶ added in v1.56.0
func (r *DescribeBandwidthPackageRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeBandwidthPackageResponse ¶ added in v1.56.0
type DescribeBandwidthPackageResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBandwidthPackageResult `json:"result"` }
type DescribeBandwidthPackageResult ¶ added in v1.56.0
type DescribeBandwidthPackageResult struct {
BandwidthPackage vpc.BandwidthPackage `json:"bandwidthPackage"`
}
type DescribeBandwidthPackagesRequest ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewDescribeBandwidthPackagesRequest( regionId string, ) *DescribeBandwidthPackagesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBandwidthPackagesRequestWithAllParams ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewDescribeBandwidthPackagesRequestWithoutParam() *DescribeBandwidthPackagesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBandwidthPackagesRequest) GetRegionId ¶ added in v1.56.0
func (r DescribeBandwidthPackagesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBandwidthPackagesRequest) SetFilters ¶ added in v1.56.0
func (r *DescribeBandwidthPackagesRequest) SetFilters(filters []common.Filter)
param filters: bwpIds - 共享带宽包ID,支持多个进行精确搜索
name - 共享带宽包名称,支持单个进行精确搜索 (Optional)
func (*DescribeBandwidthPackagesRequest) SetPageNumber ¶ added in v1.56.0
func (r *DescribeBandwidthPackagesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)
func (*DescribeBandwidthPackagesRequest) SetPageSize ¶ added in v1.56.0
func (r *DescribeBandwidthPackagesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认为20,取值范围为[10,100](Optional)
func (*DescribeBandwidthPackagesRequest) SetRegionId ¶ added in v1.56.0
func (r *DescribeBandwidthPackagesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeBandwidthPackagesRequest) SetResourceGroupIds ¶ added in v1.56.0
func (r *DescribeBandwidthPackagesRequest) SetResourceGroupIds(resourceGroupIds []string)
param resourceGroupIds: 资源组筛选条件(Optional)
func (*DescribeBandwidthPackagesRequest) SetTags ¶ added in v1.56.0
func (r *DescribeBandwidthPackagesRequest) SetTags(tags []vpc.TagFilter)
param tags: Tag筛选条件(Optional)
type DescribeBandwidthPackagesResponse ¶ added in v1.56.0
type DescribeBandwidthPackagesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeBandwidthPackagesResult `json:"result"` }
type DescribeBandwidthPackagesResult ¶ added in v1.56.0
type DescribeBandwidthPackagesResult struct { BandwidthPackages []vpc.BandwidthPackage `json:"bandwidthPackages"` TotalCount int `json:"totalCount"` }
type DescribeEdgeIpProvidersRequest ¶ added in v1.23.0
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 ¶ added in v1.23.0
func NewDescribeEdgeIpProvidersRequest( regionId string, ) *DescribeEdgeIpProvidersRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeEdgeIpProvidersRequestWithAllParams ¶ added in v1.23.0
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 ¶ added in v1.23.0
func NewDescribeEdgeIpProvidersRequestWithoutParam() *DescribeEdgeIpProvidersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeEdgeIpProvidersRequest) GetRegionId ¶ added in v1.23.0
func (r DescribeEdgeIpProvidersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeEdgeIpProvidersRequest) SetFilters ¶ added in v1.23.0
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 ¶ added in v1.23.0
func (r *DescribeEdgeIpProvidersRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)
func (*DescribeEdgeIpProvidersRequest) SetPageSize ¶ added in v1.23.0
func (r *DescribeEdgeIpProvidersRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)
func (*DescribeEdgeIpProvidersRequest) SetRegionId ¶ added in v1.23.0
func (r *DescribeEdgeIpProvidersRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeEdgeIpProvidersResponse ¶ added in v1.23.0
type DescribeEdgeIpProvidersResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeEdgeIpProvidersResult `json:"result"` }
type DescribeEdgeIpProvidersResult ¶ added in v1.23.0
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 ¶ added in v1.0.5
func NewDescribeElasticIpRequestWithAllParams( regionId string, elasticIpId string, ) *DescribeElasticIpRequest
* param regionId: Region ID (Required) * param elasticIpId: ElasticIp ID (Required)
func NewDescribeElasticIpRequestWithoutParam ¶ added in v1.0.5
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 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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.56.0
func (r *DescribeElasticIpsRequest) SetResourceGroupIds(resourceGroupIds []string)
param resourceGroupIds: 资源组筛选条件(Optional)
func (*DescribeElasticIpsRequest) SetTags ¶ added in v1.15.0
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 DescribeNatGatewayRequest ¶ added in v1.62.0
type DescribeNatGatewayRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* natGateway ID */ NatGatewayId string `json:"natGatewayId"` }
func NewDescribeNatGatewayRequest ¶ added in v1.62.0
func NewDescribeNatGatewayRequest( regionId string, natGatewayId string, ) *DescribeNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeNatGatewayRequestWithAllParams ¶ added in v1.62.0
func NewDescribeNatGatewayRequestWithAllParams( regionId string, natGatewayId string, ) *DescribeNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required)
func NewDescribeNatGatewayRequestWithoutParam ¶ added in v1.62.0
func NewDescribeNatGatewayRequestWithoutParam() *DescribeNatGatewayRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNatGatewayRequest) GetRegionId ¶ added in v1.62.0
func (r DescribeNatGatewayRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNatGatewayRequest) SetNatGatewayId ¶ added in v1.62.0
func (r *DescribeNatGatewayRequest) SetNatGatewayId(natGatewayId string)
param natGatewayId: natGateway ID(Required)
func (*DescribeNatGatewayRequest) SetRegionId ¶ added in v1.62.0
func (r *DescribeNatGatewayRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeNatGatewayResponse ¶ added in v1.62.0
type DescribeNatGatewayResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeNatGatewayResult `json:"result"` }
type DescribeNatGatewayResult ¶ added in v1.62.0
type DescribeNatGatewayResult struct {
NatGateway vpc.NatGateway `json:"natGateway"`
}
type DescribeNatGatewaysRequest ¶ added in v1.62.0
type DescribeNatGatewaysRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小,默认为20,取值范围:[10,100] (Optional) */ PageSize *int `json:"pageSize"` /* natGatewayIds - NAT网关ID列表,支持多个 natGatewayNames - NAT网关名称列表,支持多个 natGatewayPublicIp - NAT网关公网IP,支持单个,即将废弃,请使用elasticIpAddress elasticIpAddress - 公网IP,支持单个 natGatewayPrivateIp - NAT网关私网IP,支持单个 vpcId - NAT网关所属VPC ID,支持单个 subnetId - NAT网关所属子网ID,支持单个 (Optional) */ Filters []common.Filter `json:"filters"` /* Tag筛选条件 (Optional) */ Tags []vpc.TagFilter `json:"tags"` }
func NewDescribeNatGatewaysRequest ¶ added in v1.62.0
func NewDescribeNatGatewaysRequest( regionId string, ) *DescribeNatGatewaysRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeNatGatewaysRequestWithAllParams ¶ added in v1.62.0
func NewDescribeNatGatewaysRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, tags []vpc.TagFilter, ) *DescribeNatGatewaysRequest
- param regionId: Region ID (Required)
- param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
- param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
- param filters: natGatewayIds - NAT网关ID列表,支持多个
natGatewayNames - NAT网关名称列表,支持多个 natGatewayPublicIp - NAT网关公网IP,支持单个,即将废弃,请使用elasticIpAddress elasticIpAddress - 公网IP,支持单个 natGatewayPrivateIp - NAT网关私网IP,支持单个 vpcId - NAT网关所属VPC ID,支持单个 subnetId - NAT网关所属子网ID,支持单个
(Optional) * param tags: Tag筛选条件 (Optional)
func NewDescribeNatGatewaysRequestWithoutParam ¶ added in v1.62.0
func NewDescribeNatGatewaysRequestWithoutParam() *DescribeNatGatewaysRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNatGatewaysRequest) GetRegionId ¶ added in v1.62.0
func (r DescribeNatGatewaysRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNatGatewaysRequest) SetFilters ¶ added in v1.62.0
func (r *DescribeNatGatewaysRequest) SetFilters(filters []common.Filter)
param filters: natGatewayIds - NAT网关ID列表,支持多个
natGatewayNames - NAT网关名称列表,支持多个 natGatewayPublicIp - NAT网关公网IP,支持单个,即将废弃,请使用elasticIpAddress elasticIpAddress - 公网IP,支持单个 natGatewayPrivateIp - NAT网关私网IP,支持单个 vpcId - NAT网关所属VPC ID,支持单个 subnetId - NAT网关所属子网ID,支持单个 (Optional)
func (*DescribeNatGatewaysRequest) SetPageNumber ¶ added in v1.62.0
func (r *DescribeNatGatewaysRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)
func (*DescribeNatGatewaysRequest) SetPageSize ¶ added in v1.62.0
func (r *DescribeNatGatewaysRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)
func (*DescribeNatGatewaysRequest) SetRegionId ¶ added in v1.62.0
func (r *DescribeNatGatewaysRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeNatGatewaysRequest) SetTags ¶ added in v1.62.0
func (r *DescribeNatGatewaysRequest) SetTags(tags []vpc.TagFilter)
param tags: Tag筛选条件(Optional)
type DescribeNatGatewaysResponse ¶ added in v1.62.0
type DescribeNatGatewaysResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeNatGatewaysResult `json:"result"` }
type DescribeNatGatewaysResult ¶ added in v1.62.0
type DescribeNatGatewaysResult struct { NatGateways []vpc.NatGateway `json:"natGateways"` TotalCount int `json:"totalCount"` }
type DescribeNetworkAclRequest ¶ added in v1.0.11
type DescribeNetworkAclRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* networkAclId ID */ NetworkAclId string `json:"networkAclId"` }
func NewDescribeNetworkAclRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewDescribeNetworkAclRequestWithAllParams( regionId string, networkAclId string, ) *DescribeNetworkAclRequest
* param regionId: Region ID (Required) * param networkAclId: networkAclId ID (Required)
func NewDescribeNetworkAclRequestWithoutParam ¶ added in v1.0.11
func NewDescribeNetworkAclRequestWithoutParam() *DescribeNetworkAclRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNetworkAclRequest) GetRegionId ¶ added in v1.0.11
func (r DescribeNetworkAclRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNetworkAclRequest) SetNetworkAclId ¶ added in v1.0.11
func (r *DescribeNetworkAclRequest) SetNetworkAclId(networkAclId string)
param networkAclId: networkAclId ID(Required)
func (*DescribeNetworkAclRequest) SetRegionId ¶ added in v1.0.11
func (r *DescribeNetworkAclRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeNetworkAclResponse ¶ added in v1.0.11
type DescribeNetworkAclResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeNetworkAclResult `json:"result"` }
type DescribeNetworkAclResult ¶ added in v1.0.11
type DescribeNetworkAclResult struct {
NetworkAcl vpc.NetworkAcl `json:"networkAcl"`
}
type DescribeNetworkAclsRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewDescribeNetworkAclsRequest( regionId string, ) *DescribeNetworkAclsRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeNetworkAclsRequestWithAllParams ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewDescribeNetworkAclsRequestWithoutParam() *DescribeNetworkAclsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNetworkAclsRequest) GetRegionId ¶ added in v1.0.11
func (r DescribeNetworkAclsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNetworkAclsRequest) SetFilters ¶ added in v1.0.11
func (r *DescribeNetworkAclsRequest) SetFilters(filters []common.Filter)
param filters: networkAclIds - networkAcl ID列表,支持多个
networkAclNames - networkAcl名称列表,支持多个 vpcId - networkAcl所属vpc Id,支持单个 (Optional)
func (*DescribeNetworkAclsRequest) SetPageNumber ¶ added in v1.0.11
func (r *DescribeNetworkAclsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)
func (*DescribeNetworkAclsRequest) SetPageSize ¶ added in v1.0.11
func (r *DescribeNetworkAclsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)
func (*DescribeNetworkAclsRequest) SetRegionId ¶ added in v1.0.11
func (r *DescribeNetworkAclsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeNetworkAclsResponse ¶ added in v1.0.11
type DescribeNetworkAclsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeNetworkAclsResult `json:"result"` }
type DescribeNetworkAclsResult ¶ added in v1.0.11
type DescribeNetworkAclsResult struct { NetworkAcls []vpc.NetworkAcl `json:"networkAcls"` TotalCount int `json:"totalCount"` }
type DescribeNetworkInterfaceRequest ¶ added in v1.0.5
type DescribeNetworkInterfaceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* networkInterface ID */ NetworkInterfaceId string `json:"networkInterfaceId"` }
func NewDescribeNetworkInterfaceRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewDescribeNetworkInterfaceRequestWithAllParams( regionId string, networkInterfaceId string, ) *DescribeNetworkInterfaceRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required)
func NewDescribeNetworkInterfaceRequestWithoutParam ¶ added in v1.0.5
func NewDescribeNetworkInterfaceRequestWithoutParam() *DescribeNetworkInterfaceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNetworkInterfaceRequest) GetRegionId ¶ added in v1.0.5
func (r DescribeNetworkInterfaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNetworkInterfaceRequest) SetNetworkInterfaceId ¶ added in v1.0.5
func (r *DescribeNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)
param networkInterfaceId: networkInterface ID(Required)
func (*DescribeNetworkInterfaceRequest) SetRegionId ¶ added in v1.0.5
func (r *DescribeNetworkInterfaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeNetworkInterfaceResponse ¶ added in v1.0.5
type DescribeNetworkInterfaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeNetworkInterfaceResult `json:"result"` }
type DescribeNetworkInterfaceResult ¶ added in v1.0.5
type DescribeNetworkInterfaceResult struct {
NetworkInterface vpc.NetworkInterface `json:"networkInterface"`
}
type DescribeNetworkInterfacesRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewDescribeNetworkInterfacesRequest( regionId string, ) *DescribeNetworkInterfacesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeNetworkInterfacesRequestWithAllParams ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewDescribeNetworkInterfacesRequestWithoutParam() *DescribeNetworkInterfacesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNetworkInterfacesRequest) GetRegionId ¶ added in v1.0.5
func (r DescribeNetworkInterfacesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNetworkInterfacesRequest) SetFilters ¶ added in v1.0.5
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 ¶ added in v1.0.5
func (r *DescribeNetworkInterfacesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)
func (*DescribeNetworkInterfacesRequest) SetPageSize ¶ added in v1.0.5
func (r *DescribeNetworkInterfacesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)
func (*DescribeNetworkInterfacesRequest) SetRegionId ¶ added in v1.0.5
func (r *DescribeNetworkInterfacesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeNetworkInterfacesResponse ¶ added in v1.0.5
type DescribeNetworkInterfacesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeNetworkInterfacesResult `json:"result"` }
type DescribeNetworkInterfacesResult ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewDescribeNetworkSecurityGroupRequestWithAllParams( regionId string, networkSecurityGroupId string, ) *DescribeNetworkSecurityGroupRequest
* param regionId: Region ID (Required) * param networkSecurityGroupId: NetworkSecurityGroup ID (Required)
func NewDescribeNetworkSecurityGroupRequestWithoutParam ¶ added in v1.0.5
func NewDescribeNetworkSecurityGroupRequestWithoutParam() *DescribeNetworkSecurityGroupRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNetworkSecurityGroupRequest) GetRegionId ¶
func (r DescribeNetworkSecurityGroupRequest) GetRegionId() string
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewDescribeNetworkSecurityGroupsRequestWithoutParam() *DescribeNetworkSecurityGroupsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNetworkSecurityGroupsRequest) GetRegionId ¶
func (r DescribeNetworkSecurityGroupsRequest) GetRegionId() string
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 ¶ added in v1.0.11
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、natGatewayFip、trafficMirrorSession、trafficMirrorFilter、trafficMirrorFilterRule、trafficMirrorSource,haVip,haVipBinding */ Type string `json:"type"` /* type为vpc、elastic_ip、network_interface、bwpByUsage、natGateway、trafficMirrorSession、trafficMirrorFilter不设置, 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,natGatewayFip设置为natGatewayId,trafficMirrorFilterRule设置为trafficMirrorFilterId,trafficMirrorSource设置为trafficMirrorSessionId,haVip设置为vpcId,haVipBinding设置为haVipId (Optional) */ ParentResourceId *string `json:"parentResourceId"` }
func NewDescribeQuotaRequest ¶ added in v1.0.11
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、natGatewayFip、trafficMirrorSession、trafficMirrorFilter、trafficMirrorFilterRule、trafficMirrorSource,haVip,haVipBinding (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeQuotaRequestWithAllParams ¶ added in v1.0.11
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、natGatewayFip、trafficMirrorSession、trafficMirrorFilter、trafficMirrorFilterRule、trafficMirrorSource,haVip,haVipBinding (Required) * param parentResourceId: type为vpc、elastic_ip、network_interface、bwpByUsage、natGateway、trafficMirrorSession、trafficMirrorFilter不设置, 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,natGatewayFip设置为natGatewayId,trafficMirrorFilterRule设置为trafficMirrorFilterId,trafficMirrorSource设置为trafficMirrorSessionId,haVip设置为vpcId,haVipBinding设置为haVipId (Optional)
func NewDescribeQuotaRequestWithoutParam ¶ added in v1.0.11
func NewDescribeQuotaRequestWithoutParam() *DescribeQuotaRequest
This constructor has better compatible ability when API parameters changed
func (DescribeQuotaRequest) GetRegionId ¶ added in v1.0.11
func (r DescribeQuotaRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeQuotaRequest) SetParentResourceId ¶ added in v1.0.11
func (r *DescribeQuotaRequest) SetParentResourceId(parentResourceId string)
param parentResourceId: type为vpc、elastic_ip、network_interface、bwpByUsage、natGateway、trafficMirrorSession、trafficMirrorFilter不设置, 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,natGatewayFip设置为natGatewayId,trafficMirrorFilterRule设置为trafficMirrorFilterId,trafficMirrorSource设置为trafficMirrorSessionId,haVip设置为vpcId,haVipBinding设置为haVipId(Optional)
func (*DescribeQuotaRequest) SetRegionId ¶ added in v1.0.11
func (r *DescribeQuotaRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeQuotaRequest) SetType ¶ added in v1.0.11
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、natGatewayFip、trafficMirrorSession、trafficMirrorFilter、trafficMirrorFilterRule、trafficMirrorSource,haVip,haVipBinding(Required)
type DescribeQuotaResponse ¶ added in v1.0.11
type DescribeQuotaResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeQuotaResult `json:"result"` }
type DescribeQuotaResult ¶ added in v1.0.11
type DescribeQuotaResult struct {
Quota interface{} `json:"quota"`
}
type DescribeRouteTableRequest ¶ added in v1.0.11
type DescribeRouteTableRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* RouteTable ID */ RouteTableId string `json:"routeTableId"` }
func NewDescribeRouteTableRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewDescribeRouteTableRequestWithAllParams( regionId string, routeTableId string, ) *DescribeRouteTableRequest
* param regionId: Region ID (Required) * param routeTableId: RouteTable ID (Required)
func NewDescribeRouteTableRequestWithoutParam ¶ added in v1.0.11
func NewDescribeRouteTableRequestWithoutParam() *DescribeRouteTableRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRouteTableRequest) GetRegionId ¶ added in v1.0.11
func (r DescribeRouteTableRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRouteTableRequest) SetRegionId ¶ added in v1.0.11
func (r *DescribeRouteTableRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeRouteTableRequest) SetRouteTableId ¶ added in v1.0.11
func (r *DescribeRouteTableRequest) SetRouteTableId(routeTableId string)
param routeTableId: RouteTable ID(Required)
type DescribeRouteTableResponse ¶ added in v1.0.11
type DescribeRouteTableResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRouteTableResult `json:"result"` }
type DescribeRouteTableResult ¶ added in v1.0.11
type DescribeRouteTableResult struct {
RouteTable vpc.RouteTable `json:"routeTable"`
}
type DescribeRouteTablesRequest ¶ added in v1.0.11
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 ,支持单个 associateType - 绑定资源类型,取值:subnet,gateway,支持单个 azs - 可用区,支持多个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeRouteTablesRequest ¶ added in v1.0.11
func NewDescribeRouteTablesRequest( regionId string, ) *DescribeRouteTablesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRouteTablesRequestWithAllParams ¶ added in v1.0.11
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 ,支持单个 associateType - 绑定资源类型,取值:subnet,gateway,支持单个 azs - 可用区,支持多个
(Optional)
func NewDescribeRouteTablesRequestWithoutParam ¶ added in v1.0.11
func NewDescribeRouteTablesRequestWithoutParam() *DescribeRouteTablesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRouteTablesRequest) GetRegionId ¶ added in v1.0.11
func (r DescribeRouteTablesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRouteTablesRequest) SetFilters ¶ added in v1.0.11
func (r *DescribeRouteTablesRequest) SetFilters(filters []common.Filter)
param filters: routeTableIds - 路由表ID列表,支持多个
routeTableNames - 路由表名称列表,支持多个 vpcId - 路由表所属vpc Id,支持单个 azType - 路由表az类型,取值:all(全部类型),standard(标准路由表),edge(边缘路由表),默认standard ,支持单个 associateType - 绑定资源类型,取值:subnet,gateway,支持单个 azs - 可用区,支持多个 (Optional)
func (*DescribeRouteTablesRequest) SetPageNumber ¶ added in v1.0.11
func (r *DescribeRouteTablesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)
func (*DescribeRouteTablesRequest) SetPageSize ¶ added in v1.0.11
func (r *DescribeRouteTablesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)
func (*DescribeRouteTablesRequest) SetRegionId ¶ added in v1.0.11
func (r *DescribeRouteTablesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeRouteTablesResponse ¶ added in v1.0.11
type DescribeRouteTablesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRouteTablesResult `json:"result"` }
type DescribeRouteTablesResult ¶ added in v1.0.11
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 ¶ added in v1.0.5
func NewDescribeSubnetRequestWithAllParams( regionId string, subnetId string, ) *DescribeSubnetRequest
* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required)
func NewDescribeSubnetRequestWithoutParam ¶ added in v1.0.5
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 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(边缘可用区子网),默认all,支持单个 (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 ¶ added in v1.0.5
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(边缘可用区子网),默认all,支持单个
(Optional)
func NewDescribeSubnetsRequestWithoutParam ¶ added in v1.0.5
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(边缘可用区子网),默认all,支持单个 (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 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 ¶ added in v1.0.5
func NewDescribeVpcPeeringRequestWithAllParams( regionId string, vpcPeeringId string, ) *DescribeVpcPeeringRequest
* param regionId: Region ID (Required) * param vpcPeeringId: vpcPeeringId ID (Required)
func NewDescribeVpcPeeringRequestWithoutParam ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 DescribeVpcPolicyRequest ¶ added in v1.60.0
type DescribeVpcPolicyRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* policy ID */ VpcPolicyId string `json:"vpcPolicyId"` }
func NewDescribeVpcPolicyRequest ¶ added in v1.60.0
func NewDescribeVpcPolicyRequest( regionId string, vpcPolicyId string, ) *DescribeVpcPolicyRequest
* param regionId: Region ID (Required) * param vpcPolicyId: policy ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeVpcPolicyRequestWithAllParams ¶ added in v1.60.0
func NewDescribeVpcPolicyRequestWithAllParams( regionId string, vpcPolicyId string, ) *DescribeVpcPolicyRequest
* param regionId: Region ID (Required) * param vpcPolicyId: policy ID (Required)
func NewDescribeVpcPolicyRequestWithoutParam ¶ added in v1.60.0
func NewDescribeVpcPolicyRequestWithoutParam() *DescribeVpcPolicyRequest
This constructor has better compatible ability when API parameters changed
func (DescribeVpcPolicyRequest) GetRegionId ¶ added in v1.60.0
func (r DescribeVpcPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeVpcPolicyRequest) SetRegionId ¶ added in v1.60.0
func (r *DescribeVpcPolicyRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeVpcPolicyRequest) SetVpcPolicyId ¶ added in v1.60.0
func (r *DescribeVpcPolicyRequest) SetVpcPolicyId(vpcPolicyId string)
param vpcPolicyId: policy ID(Required)
type DescribeVpcPolicyResponse ¶ added in v1.60.0
type DescribeVpcPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeVpcPolicyResult `json:"result"` }
type DescribeVpcPolicyResult ¶ added in v1.60.0
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 ¶ added in v1.0.5
func NewDescribeVpcRequestWithAllParams( regionId string, vpcId string, ) *DescribeVpcRequest
* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required)
func NewDescribeVpcRequestWithoutParam ¶ added in v1.0.5
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 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),默认all,支持单个 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 ¶ added in v1.0.5
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),默认all,支持单个 azs - 可用区,支持多个
(Optional)
func NewDescribeVpcsRequestWithoutParam ¶ added in v1.0.5
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),默认all,支持单个 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 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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 DisassociateElasticIpsRequest ¶ added in v1.62.0
type DisassociateElasticIpsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* natGateway ID */ NatGatewayId string `json:"natGatewayId"` /* 公网IP ID,当为弹性公网IP时,为elasticIpId。 */ ElasticIpIds []string `json:"elasticIpIds"` /* 解绑后是否删除公网IP,取值范围:true、false,默认为false.true表示解绑公网IP时删除该公网IP;false表示解绑公网IP时不删除公网IP (Optional) */ DeleteElasticIp *bool `json:"deleteElasticIp"` }
func NewDisassociateElasticIpsRequest ¶ added in v1.62.0
func NewDisassociateElasticIpsRequest( regionId string, natGatewayId string, elasticIpIds []string, ) *DisassociateElasticIpsRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * param elasticIpIds: 公网IP ID,当为弹性公网IP时,为elasticIpId。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisassociateElasticIpsRequestWithAllParams ¶ added in v1.62.0
func NewDisassociateElasticIpsRequestWithAllParams( regionId string, natGatewayId string, elasticIpIds []string, deleteElasticIp *bool, ) *DisassociateElasticIpsRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * param elasticIpIds: 公网IP ID,当为弹性公网IP时,为elasticIpId。 (Required) * param deleteElasticIp: 解绑后是否删除公网IP,取值范围:true、false,默认为false.true表示解绑公网IP时删除该公网IP;false表示解绑公网IP时不删除公网IP (Optional)
func NewDisassociateElasticIpsRequestWithoutParam ¶ added in v1.62.0
func NewDisassociateElasticIpsRequestWithoutParam() *DisassociateElasticIpsRequest
This constructor has better compatible ability when API parameters changed
func (DisassociateElasticIpsRequest) GetRegionId ¶ added in v1.62.0
func (r DisassociateElasticIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisassociateElasticIpsRequest) SetDeleteElasticIp ¶ added in v1.62.0
func (r *DisassociateElasticIpsRequest) SetDeleteElasticIp(deleteElasticIp bool)
param deleteElasticIp: 解绑后是否删除公网IP,取值范围:true、false,默认为false.true表示解绑公网IP时删除该公网IP;false表示解绑公网IP时不删除公网IP(Optional)
func (*DisassociateElasticIpsRequest) SetElasticIpIds ¶ added in v1.62.0
func (r *DisassociateElasticIpsRequest) SetElasticIpIds(elasticIpIds []string)
param elasticIpIds: 公网IP ID,当为弹性公网IP时,为elasticIpId。(Required)
func (*DisassociateElasticIpsRequest) SetNatGatewayId ¶ added in v1.62.0
func (r *DisassociateElasticIpsRequest) SetNatGatewayId(natGatewayId string)
param natGatewayId: natGateway ID(Required)
func (*DisassociateElasticIpsRequest) SetRegionId ¶ added in v1.62.0
func (r *DisassociateElasticIpsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DisassociateElasticIpsResponse ¶ added in v1.62.0
type DisassociateElasticIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisassociateElasticIpsResult `json:"result"` }
type DisassociateElasticIpsResult ¶ added in v1.62.0
type DisassociateNetworkAclRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewDisassociateNetworkAclRequestWithoutParam() *DisassociateNetworkAclRequest
This constructor has better compatible ability when API parameters changed
func (DisassociateNetworkAclRequest) GetRegionId ¶ added in v1.0.11
func (r DisassociateNetworkAclRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisassociateNetworkAclRequest) SetNetworkAclId ¶ added in v1.0.11
func (r *DisassociateNetworkAclRequest) SetNetworkAclId(networkAclId string)
param networkAclId: networkAclId ID(Required)
func (*DisassociateNetworkAclRequest) SetRegionId ¶ added in v1.0.11
func (r *DisassociateNetworkAclRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DisassociateNetworkAclRequest) SetSubnetId ¶ added in v1.0.11
func (r *DisassociateNetworkAclRequest) SetSubnetId(subnetId string)
param subnetId: networkAcl要解绑的子网ID(Required)
type DisassociateNetworkAclResponse ¶ added in v1.0.11
type DisassociateNetworkAclResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisassociateNetworkAclResult `json:"result"` }
type DisassociateNetworkAclResult ¶ added in v1.0.11
type DisassociateNetworkAclResult struct { }
type DisassociateRouteTableRequest ¶ added in v1.0.9
type DisassociateRouteTableRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* RouteTable ID */ RouteTableId string `json:"routeTableId"` /* 路由表要解绑的子网ID,解绑后子网绑定默认路由表 */ SubnetId string `json:"subnetId"` }
func NewDisassociateRouteTableRequest ¶ added in v1.0.9
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 ¶ added in v1.0.9
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 ¶ added in v1.0.9
func NewDisassociateRouteTableRequestWithoutParam() *DisassociateRouteTableRequest
This constructor has better compatible ability when API parameters changed
func (DisassociateRouteTableRequest) GetRegionId ¶ added in v1.0.9
func (r DisassociateRouteTableRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisassociateRouteTableRequest) SetRegionId ¶ added in v1.0.9
func (r *DisassociateRouteTableRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DisassociateRouteTableRequest) SetRouteTableId ¶ added in v1.0.9
func (r *DisassociateRouteTableRequest) SetRouteTableId(routeTableId string)
param routeTableId: RouteTable ID(Required)
func (*DisassociateRouteTableRequest) SetSubnetId ¶ added in v1.0.9
func (r *DisassociateRouteTableRequest) SetSubnetId(subnetId string)
param subnetId: 路由表要解绑的子网ID,解绑后子网绑定默认路由表(Required)
type DisassociateRouteTableResponse ¶ added in v1.0.9
type DisassociateRouteTableResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DisassociateRouteTableResult `json:"result"` }
type DisassociateRouteTableResult ¶ added in v1.0.9
type DisassociateRouteTableResult struct { }
type ModifyBandwidthPackageIpBandwidthRequest ¶ added in v1.56.0
type ModifyBandwidthPackageIpBandwidthRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 共享带宽包ID */ BandwidthPackageId string `json:"bandwidthPackageId"` /* Ip列表 */ BandwidthPackageIPSpecs []vpc.ModifyBandwidthPackageIpBandwidthSpec `json:"bandwidthPackageIPSpecs"` }
func NewModifyBandwidthPackageIpBandwidthRequest ¶ added in v1.56.0
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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewModifyBandwidthPackageIpBandwidthRequestWithoutParam() *ModifyBandwidthPackageIpBandwidthRequest
This constructor has better compatible ability when API parameters changed
func (ModifyBandwidthPackageIpBandwidthRequest) GetRegionId ¶ added in v1.56.0
func (r ModifyBandwidthPackageIpBandwidthRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageIPSpecs ¶ added in v1.56.0
func (r *ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.ModifyBandwidthPackageIpBandwidthSpec)
param bandwidthPackageIPSpecs: Ip列表(Required)
func (*ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageId ¶ added in v1.56.0
func (r *ModifyBandwidthPackageIpBandwidthRequest) SetBandwidthPackageId(bandwidthPackageId string)
param bandwidthPackageId: 共享带宽包ID(Required)
func (*ModifyBandwidthPackageIpBandwidthRequest) SetRegionId ¶ added in v1.56.0
func (r *ModifyBandwidthPackageIpBandwidthRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyBandwidthPackageIpBandwidthResponse ¶ added in v1.56.0
type ModifyBandwidthPackageIpBandwidthResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyBandwidthPackageIpBandwidthResult `json:"result"` }
type ModifyBandwidthPackageIpBandwidthResult ¶ added in v1.56.0
type ModifyBandwidthPackageIpBandwidthResult struct { }
type ModifyBandwidthPackageRequest ¶ added in v1.56.0
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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewModifyBandwidthPackageRequestWithoutParam() *ModifyBandwidthPackageRequest
This constructor has better compatible ability when API parameters changed
func (ModifyBandwidthPackageRequest) GetRegionId ¶ added in v1.56.0
func (r ModifyBandwidthPackageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyBandwidthPackageRequest) SetBandwidthMbps ¶ added in v1.56.0
func (r *ModifyBandwidthPackageRequest) SetBandwidthMbps(bandwidthMbps int)
param bandwidthMbps: 共享带宽包带宽上限,取值范围200-5000,单位为Mbps,且不能低于共享带宽包内公网IP带宽上限(Optional)
func (*ModifyBandwidthPackageRequest) SetBandwidthPackageId ¶ added in v1.56.0
func (r *ModifyBandwidthPackageRequest) SetBandwidthPackageId(bandwidthPackageId string)
param bandwidthPackageId: 共享带宽包ID(Required)
func (*ModifyBandwidthPackageRequest) SetDescription ¶ added in v1.56.0
func (r *ModifyBandwidthPackageRequest) SetDescription(description string)
param description: 描述,长度不超过256个字符(Optional)
func (*ModifyBandwidthPackageRequest) SetName ¶ added in v1.56.0
func (r *ModifyBandwidthPackageRequest) SetName(name string)
param name: 名称,只支持中文、数字、大小写字母、英文下划线“_”及中划线“-”,且长度不超过32个字符(Optional)
func (*ModifyBandwidthPackageRequest) SetRegionId ¶ added in v1.56.0
func (r *ModifyBandwidthPackageRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyBandwidthPackageResponse ¶ added in v1.56.0
type ModifyBandwidthPackageResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyBandwidthPackageResult `json:"result"` }
type ModifyBandwidthPackageResult ¶ added in v1.56.0
type ModifyBandwidthPackageResult struct { }
type ModifyElasticIpRequest ¶ added in v1.2.1
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 ¶ added in v1.2.1
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 ¶ added in v1.2.1
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 ¶ added in v1.2.1
func NewModifyElasticIpRequestWithoutParam() *ModifyElasticIpRequest
This constructor has better compatible ability when API parameters changed
func (ModifyElasticIpRequest) GetRegionId ¶ added in v1.2.1
func (r ModifyElasticIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyElasticIpRequest) SetBandwidthMbps ¶ added in v1.2.1
func (r *ModifyElasticIpRequest) SetBandwidthMbps(bandwidthMbps int)
param bandwidthMbps: 弹性公网IP的限速(单位:Mbps),取值范围为[1-200](Required)
func (*ModifyElasticIpRequest) SetElasticIpId ¶ added in v1.2.1
func (r *ModifyElasticIpRequest) SetElasticIpId(elasticIpId string)
param elasticIpId: ElasticIp ID(Required)
func (*ModifyElasticIpRequest) SetRegionId ¶ added in v1.2.1
func (r *ModifyElasticIpRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyElasticIpResponse ¶ added in v1.2.1
type ModifyElasticIpResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyElasticIpResult `json:"result"` }
type ModifyElasticIpResult ¶ added in v1.2.1
type ModifyElasticIpResult struct { }
type ModifyNatGatewayRequest ¶ added in v1.62.0
type ModifyNatGatewayRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* natGateway ID */ NatGatewayId string `json:"natGatewayId"` /* NAT网关名称 (Optional) */ NatGatewayName *string `json:"natGatewayName"` /* 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */ Description *string `json:"description"` /* NAT网关规格,取值small(100万并发连接数),medium(300万并发连接数),large(1000万并发连接数) (Optional) */ NatGatewaySpec *string `json:"natGatewaySpec"` }
func NewModifyNatGatewayRequest ¶ added in v1.62.0
func NewModifyNatGatewayRequest( regionId string, natGatewayId string, ) *ModifyNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyNatGatewayRequestWithAllParams ¶ added in v1.62.0
func NewModifyNatGatewayRequestWithAllParams( regionId string, natGatewayId string, natGatewayName *string, description *string, natGatewaySpec *string, ) *ModifyNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * param natGatewayName: NAT网关名称 (Optional) * param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) * param natGatewaySpec: NAT网关规格,取值small(100万并发连接数),medium(300万并发连接数),large(1000万并发连接数) (Optional)
func NewModifyNatGatewayRequestWithoutParam ¶ added in v1.62.0
func NewModifyNatGatewayRequestWithoutParam() *ModifyNatGatewayRequest
This constructor has better compatible ability when API parameters changed
func (ModifyNatGatewayRequest) GetRegionId ¶ added in v1.62.0
func (r ModifyNatGatewayRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyNatGatewayRequest) SetDescription ¶ added in v1.62.0
func (r *ModifyNatGatewayRequest) SetDescription(description string)
param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*ModifyNatGatewayRequest) SetNatGatewayId ¶ added in v1.62.0
func (r *ModifyNatGatewayRequest) SetNatGatewayId(natGatewayId string)
param natGatewayId: natGateway ID(Required)
func (*ModifyNatGatewayRequest) SetNatGatewayName ¶ added in v1.62.0
func (r *ModifyNatGatewayRequest) SetNatGatewayName(natGatewayName string)
param natGatewayName: NAT网关名称(Optional)
func (*ModifyNatGatewayRequest) SetNatGatewaySpec ¶ added in v1.62.0
func (r *ModifyNatGatewayRequest) SetNatGatewaySpec(natGatewaySpec string)
param natGatewaySpec: NAT网关规格,取值small(100万并发连接数),medium(300万并发连接数),large(1000万并发连接数)(Optional)
func (*ModifyNatGatewayRequest) SetRegionId ¶ added in v1.62.0
func (r *ModifyNatGatewayRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyNatGatewayResponse ¶ added in v1.62.0
type ModifyNatGatewayResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyNatGatewayResult `json:"result"` }
type ModifyNatGatewayResult ¶ added in v1.62.0
type ModifyNatGatewayResult struct { }
type ModifyNetworkAclRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewModifyNetworkAclRequestWithoutParam() *ModifyNetworkAclRequest
This constructor has better compatible ability when API parameters changed
func (ModifyNetworkAclRequest) GetRegionId ¶ added in v1.0.11
func (r ModifyNetworkAclRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyNetworkAclRequest) SetDescription ¶ added in v1.0.11
func (r *ModifyNetworkAclRequest) SetDescription(description string)
param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*ModifyNetworkAclRequest) SetNetworkAclId ¶ added in v1.0.11
func (r *ModifyNetworkAclRequest) SetNetworkAclId(networkAclId string)
param networkAclId: networkAclId ID(Required)
func (*ModifyNetworkAclRequest) SetNetworkAclName ¶ added in v1.0.11
func (r *ModifyNetworkAclRequest) SetNetworkAclName(networkAclName string)
param networkAclName: networkAcl名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符(Optional)
func (*ModifyNetworkAclRequest) SetRegionId ¶ added in v1.0.11
func (r *ModifyNetworkAclRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyNetworkAclResponse ¶ added in v1.0.11
type ModifyNetworkAclResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyNetworkAclResult `json:"result"` }
type ModifyNetworkAclResult ¶ added in v1.0.11
type ModifyNetworkAclResult struct { }
type ModifyNetworkAclRulesRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewModifyNetworkAclRulesRequestWithoutParam() *ModifyNetworkAclRulesRequest
This constructor has better compatible ability when API parameters changed
func (ModifyNetworkAclRulesRequest) GetRegionId ¶ added in v1.0.11
func (r ModifyNetworkAclRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyNetworkAclRulesRequest) SetModifyNetworkAclRuleSpecs ¶ added in v1.0.11
func (r *ModifyNetworkAclRulesRequest) SetModifyNetworkAclRuleSpecs(modifyNetworkAclRuleSpecs []vpc.ModifyNetworkAclRuleSpec)
param modifyNetworkAclRuleSpecs: networkAcl规则列表(Required)
func (*ModifyNetworkAclRulesRequest) SetNetworkAclId ¶ added in v1.0.11
func (r *ModifyNetworkAclRulesRequest) SetNetworkAclId(networkAclId string)
param networkAclId: networkAclId ID(Required)
func (*ModifyNetworkAclRulesRequest) SetRegionId ¶ added in v1.0.11
func (r *ModifyNetworkAclRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyNetworkAclRulesResponse ¶ added in v1.0.11
type ModifyNetworkAclRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyNetworkAclRulesResult `json:"result"` }
type ModifyNetworkAclRulesResult ¶ added in v1.0.11
type ModifyNetworkAclRulesResult struct { }
type ModifyNetworkInterfaceRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewModifyNetworkInterfaceRequestWithoutParam() *ModifyNetworkInterfaceRequest
This constructor has better compatible ability when API parameters changed
func (ModifyNetworkInterfaceRequest) GetRegionId ¶ added in v1.0.5
func (r ModifyNetworkInterfaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyNetworkInterfaceRequest) SetDescription ¶ added in v1.0.5
func (r *ModifyNetworkInterfaceRequest) SetDescription(description string)
param description: 描述,允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*ModifyNetworkInterfaceRequest) SetNetworkInterfaceId ¶ added in v1.0.5
func (r *ModifyNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)
param networkInterfaceId: networkInterface ID(Required)
func (*ModifyNetworkInterfaceRequest) SetNetworkInterfaceName ¶ added in v1.0.5
func (r *ModifyNetworkInterfaceRequest) SetNetworkInterfaceName(networkInterfaceName string)
param networkInterfaceName: 弹性网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符(Optional)
func (*ModifyNetworkInterfaceRequest) SetRegionId ¶ added in v1.0.5
func (r *ModifyNetworkInterfaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifyNetworkInterfaceRequest) SetSecurityGroups ¶ added in v1.0.5
func (r *ModifyNetworkInterfaceRequest) SetSecurityGroups(securityGroups []string)
param securityGroups: 以覆盖原有安全组的方式更新的安全组。如果更新安全组ID列表,最多5个安全组(Optional)
type ModifyNetworkInterfaceResponse ¶ added in v1.0.5
type ModifyNetworkInterfaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyNetworkInterfaceResult `json:"result"` }
type ModifyNetworkInterfaceResult ¶ added in v1.0.5
type ModifyNetworkInterfaceResult struct { }
type ModifyNetworkSecurityGroupRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewModifyNetworkSecurityGroupRequestWithoutParam() *ModifyNetworkSecurityGroupRequest
This constructor has better compatible ability when API parameters changed
func (ModifyNetworkSecurityGroupRequest) GetRegionId ¶ added in v1.0.5
func (r ModifyNetworkSecurityGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyNetworkSecurityGroupRequest) SetDescription ¶ added in v1.0.5
func (r *ModifyNetworkSecurityGroupRequest) SetDescription(description string)
param description: 安全组的描述,取值范围:0-256个UTF-8编码下的全部字符(Optional)
func (*ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupId ¶ added in v1.0.5
func (r *ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
param networkSecurityGroupId: NetworkSecurityGroup ID(Required)
func (*ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupName ¶ added in v1.0.5
func (r *ModifyNetworkSecurityGroupRequest) SetNetworkSecurityGroupName(networkSecurityGroupName string)
param networkSecurityGroupName: 安全组的名字。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符(Optional)
func (*ModifyNetworkSecurityGroupRequest) SetRegionId ¶ added in v1.0.5
func (r *ModifyNetworkSecurityGroupRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyNetworkSecurityGroupResponse ¶ added in v1.0.5
type ModifyNetworkSecurityGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyNetworkSecurityGroupResult `json:"result"` }
type ModifyNetworkSecurityGroupResult ¶ added in v1.0.5
type ModifyNetworkSecurityGroupResult struct { }
type ModifyNetworkSecurityGroupRulesRequest ¶ added in v1.0.5
type ModifyNetworkSecurityGroupRulesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* NetworkSecurityGroup ID */ NetworkSecurityGroupId string `json:"networkSecurityGroupId"` /* 安全组规则信息 */ ModifySecurityGroupRuleSpecs []vpc.ModifySecurityGroupRules `json:"modifySecurityGroupRuleSpecs"` }
func NewModifyNetworkSecurityGroupRulesRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewModifyNetworkSecurityGroupRulesRequestWithoutParam() *ModifyNetworkSecurityGroupRulesRequest
This constructor has better compatible ability when API parameters changed
func (ModifyNetworkSecurityGroupRulesRequest) GetRegionId ¶ added in v1.0.5
func (r ModifyNetworkSecurityGroupRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyNetworkSecurityGroupRulesRequest) SetModifySecurityGroupRuleSpecs ¶ added in v1.0.5
func (r *ModifyNetworkSecurityGroupRulesRequest) SetModifySecurityGroupRuleSpecs(modifySecurityGroupRuleSpecs []vpc.ModifySecurityGroupRules)
param modifySecurityGroupRuleSpecs: 安全组规则信息(Required)
func (*ModifyNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId ¶ added in v1.0.5
func (r *ModifyNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
param networkSecurityGroupId: NetworkSecurityGroup ID(Required)
func (*ModifyNetworkSecurityGroupRulesRequest) SetRegionId ¶ added in v1.0.5
func (r *ModifyNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type ModifyNetworkSecurityGroupRulesResponse ¶ added in v1.0.5
type ModifyNetworkSecurityGroupRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyNetworkSecurityGroupRulesResult `json:"result"` }
type ModifyNetworkSecurityGroupRulesResult ¶ added in v1.0.5
type ModifyNetworkSecurityGroupRulesResult struct { }
type ModifyRouteTableRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewModifyRouteTableRequestWithoutParam() *ModifyRouteTableRequest
This constructor has better compatible ability when API parameters changed
func (ModifyRouteTableRequest) GetRegionId ¶ added in v1.0.11
func (r ModifyRouteTableRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyRouteTableRequest) SetDescription ¶ added in v1.0.11
func (r *ModifyRouteTableRequest) SetDescription(description string)
param description: 路由表的描述,取值范围:0-256个UTF-8编码下的全部字符(Optional)
func (*ModifyRouteTableRequest) SetRegionId ¶ added in v1.0.11
func (r *ModifyRouteTableRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifyRouteTableRequest) SetRouteTableId ¶ added in v1.0.11
func (r *ModifyRouteTableRequest) SetRouteTableId(routeTableId string)
param routeTableId: RouteTable ID(Required)
func (*ModifyRouteTableRequest) SetRouteTableName ¶ added in v1.0.11
func (r *ModifyRouteTableRequest) SetRouteTableName(routeTableName string)
param routeTableName: 路由表的名字。名称取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符(Optional)
type ModifyRouteTableResponse ¶ added in v1.0.11
type ModifyRouteTableResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyRouteTableResult `json:"result"` }
type ModifyRouteTableResult ¶ added in v1.0.11
type ModifyRouteTableResult struct { }
type ModifyRouteTableRulesRequest ¶ added in v1.0.11
type ModifyRouteTableRulesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* RouteTable ID */ RouteTableId string `json:"routeTableId"` /* 路由表规则信息 */ ModifyRouteTableRuleSpecs []vpc.ModifyRouteTableRules `json:"modifyRouteTableRuleSpecs"` }
func NewModifyRouteTableRulesRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewModifyRouteTableRulesRequestWithoutParam() *ModifyRouteTableRulesRequest
This constructor has better compatible ability when API parameters changed
func (ModifyRouteTableRulesRequest) GetRegionId ¶ added in v1.0.11
func (r ModifyRouteTableRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyRouteTableRulesRequest) SetModifyRouteTableRuleSpecs ¶ added in v1.0.11
func (r *ModifyRouteTableRulesRequest) SetModifyRouteTableRuleSpecs(modifyRouteTableRuleSpecs []vpc.ModifyRouteTableRules)
param modifyRouteTableRuleSpecs: 路由表规则信息(Required)
func (*ModifyRouteTableRulesRequest) SetRegionId ¶ added in v1.0.11
func (r *ModifyRouteTableRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifyRouteTableRulesRequest) SetRouteTableId ¶ added in v1.0.11
func (r *ModifyRouteTableRulesRequest) SetRouteTableId(routeTableId string)
param routeTableId: RouteTable ID(Required)
type ModifyRouteTableRulesResponse ¶ added in v1.0.11
type ModifyRouteTableRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyRouteTableRulesResult `json:"result"` }
type ModifyRouteTableRulesResult ¶ added in v1.0.11
type ModifyRouteTableRulesResult struct { }
type ModifySubnetRequest ¶ added in v1.0.11
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"` /* 域名后缀,不限制个数。总长度最长254个字符,仅支持字母,数字,中划线,下划线和点。 (Optional) */ DomainNames []string `json:"domainNames"` /* 域名服务器地址。最多支持5个IPv4地址,不同IPv4地址使用逗号分隔。如输入空数组,默认使用京东云默认DNS域名服务器地址。如不添加默认DNS域名服务器,可能会导致您无法访问京东云云上基础服务,请谨慎操作 (Optional) */ DomainNameServers []string `json:"domainNameServers"` }
func NewModifySubnetRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewModifySubnetRequestWithAllParams( regionId string, subnetId string, subnetName *string, description *string, ipMaskLen *int, domainNames []string, domainNameServers []string, ) *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) * param domainNames: 域名后缀,不限制个数。总长度最长254个字符,仅支持字母,数字,中划线,下划线和点。 (Optional) * param domainNameServers: 域名服务器地址。最多支持5个IPv4地址,不同IPv4地址使用逗号分隔。如输入空数组,默认使用京东云默认DNS域名服务器地址。如不添加默认DNS域名服务器,可能会导致您无法访问京东云云上基础服务,请谨慎操作 (Optional)
func NewModifySubnetRequestWithoutParam ¶ added in v1.0.11
func NewModifySubnetRequestWithoutParam() *ModifySubnetRequest
This constructor has better compatible ability when API parameters changed
func (ModifySubnetRequest) GetRegionId ¶ added in v1.0.11
func (r ModifySubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifySubnetRequest) SetDescription ¶ added in v1.0.11
func (r *ModifySubnetRequest) SetDescription(description string)
param description: 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)
func (*ModifySubnetRequest) SetDomainNameServers ¶ added in v1.62.0
func (r *ModifySubnetRequest) SetDomainNameServers(domainNameServers []string)
param domainNameServers: 域名服务器地址。最多支持5个IPv4地址,不同IPv4地址使用逗号分隔。如输入空数组,默认使用京东云默认DNS域名服务器地址。如不添加默认DNS域名服务器,可能会导致您无法访问京东云云上基础服务,请谨慎操作(Optional)
func (*ModifySubnetRequest) SetDomainNames ¶ added in v1.62.0
func (r *ModifySubnetRequest) SetDomainNames(domainNames []string)
param domainNames: 域名后缀,不限制个数。总长度最长254个字符,仅支持字母,数字,中划线,下划线和点。(Optional)
func (*ModifySubnetRequest) SetIpMaskLen ¶ added in v1.56.0
func (r *ModifySubnetRequest) SetIpMaskLen(ipMaskLen int)
param ipMaskLen: 子网内预留网段掩码长度,此网段IP地址按照单个申请,子网内其余部分IP地址以网段形式分配。此参数非必选,缺省值为0,代表子网内所有IP地址都按照单个申请(Optional)
func (*ModifySubnetRequest) SetRegionId ¶ added in v1.0.11
func (r *ModifySubnetRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifySubnetRequest) SetSubnetId ¶ added in v1.0.11
func (r *ModifySubnetRequest) SetSubnetId(subnetId string)
param subnetId: Subnet ID(Required)
func (*ModifySubnetRequest) SetSubnetName ¶ added in v1.0.11
func (r *ModifySubnetRequest) SetSubnetName(subnetName string)
param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Optional)
type ModifySubnetResponse ¶ added in v1.0.11
type ModifySubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifySubnetResult `json:"result"` }
type ModifySubnetResult ¶ added in v1.0.11
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ModifyVpcPolicyRequest ¶ added in v1.60.0
type ModifyVpcPolicyRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* policy ID */ VpcPolicyId string `json:"vpcPolicyId"` /* VpcPolicy的名称,不为空(有变更再传)。取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Optional) */ VpcPolicyName *string `json:"vpcPolicyName"` /* 具体策略内容(格式参考样例) (Optional) */ PolicyDocument *string `json:"policyDocument"` }
func NewModifyVpcPolicyRequest ¶ added in v1.60.0
func NewModifyVpcPolicyRequest( regionId string, vpcPolicyId string, ) *ModifyVpcPolicyRequest
* param regionId: Region ID (Required) * param vpcPolicyId: policy ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyVpcPolicyRequestWithAllParams ¶ added in v1.60.0
func NewModifyVpcPolicyRequestWithAllParams( regionId string, vpcPolicyId string, vpcPolicyName *string, policyDocument *string, ) *ModifyVpcPolicyRequest
* param regionId: Region ID (Required) * param vpcPolicyId: policy ID (Required) * param vpcPolicyName: VpcPolicy的名称,不为空(有变更再传)。取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符 (Optional) * param policyDocument: 具体策略内容(格式参考样例) (Optional)
func NewModifyVpcPolicyRequestWithoutParam ¶ added in v1.60.0
func NewModifyVpcPolicyRequestWithoutParam() *ModifyVpcPolicyRequest
This constructor has better compatible ability when API parameters changed
func (ModifyVpcPolicyRequest) GetRegionId ¶ added in v1.60.0
func (r ModifyVpcPolicyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyVpcPolicyRequest) SetPolicyDocument ¶ added in v1.60.0
func (r *ModifyVpcPolicyRequest) SetPolicyDocument(policyDocument string)
param policyDocument: 具体策略内容(格式参考样例)(Optional)
func (*ModifyVpcPolicyRequest) SetRegionId ¶ added in v1.60.0
func (r *ModifyVpcPolicyRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifyVpcPolicyRequest) SetVpcPolicyId ¶ added in v1.60.0
func (r *ModifyVpcPolicyRequest) SetVpcPolicyId(vpcPolicyId string)
param vpcPolicyId: policy ID(Required)
func (*ModifyVpcPolicyRequest) SetVpcPolicyName ¶ added in v1.60.0
func (r *ModifyVpcPolicyRequest) SetVpcPolicyName(vpcPolicyName string)
param vpcPolicyName: VpcPolicy的名称,不为空(有变更再传)。取值范围:1-32个中文、英文大小写的字母、数字和下划线分隔符(Optional)
type ModifyVpcPolicyResponse ¶ added in v1.60.0
type ModifyVpcPolicyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyVpcPolicyResult `json:"result"` }
type ModifyVpcPolicyResult ¶ added in v1.60.0
type ModifyVpcPolicyResult struct { }
type ModifyVpcRequest ¶ added in v1.0.11
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"` /* 取值包括true、false,默认为false,不开启组播。 (Optional) */ EnableMulticast *bool `json:"enableMulticast"` }
func NewModifyVpcRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewModifyVpcRequestWithAllParams( regionId string, vpcId string, vpcName *string, description *string, enableMulticast *bool, ) *ModifyVpcRequest
* param regionId: Region ID (Required) * param vpcId: Vpc ID (Required) * param vpcName: 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) * param description: vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) * param enableMulticast: 取值包括true、false,默认为false,不开启组播。 (Optional)
func NewModifyVpcRequestWithoutParam ¶ added in v1.0.11
func NewModifyVpcRequestWithoutParam() *ModifyVpcRequest
This constructor has better compatible ability when API parameters changed
func (ModifyVpcRequest) GetRegionId ¶ added in v1.0.11
func (r ModifyVpcRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyVpcRequest) SetDescription ¶ added in v1.0.11
func (r *ModifyVpcRequest) SetDescription(description string)
param description: vpc描述,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)
func (*ModifyVpcRequest) SetEnableMulticast ¶ added in v1.62.0
func (r *ModifyVpcRequest) SetEnableMulticast(enableMulticast bool)
param enableMulticast: 取值包括true、false,默认为false,不开启组播。(Optional)
func (*ModifyVpcRequest) SetRegionId ¶ added in v1.0.11
func (r *ModifyVpcRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifyVpcRequest) SetVpcId ¶ added in v1.0.11
func (r *ModifyVpcRequest) SetVpcId(vpcId string)
param vpcId: Vpc ID(Required)
func (*ModifyVpcRequest) SetVpcName ¶ added in v1.0.11
func (r *ModifyVpcRequest) SetVpcName(vpcName string)
param vpcName: 私有网络名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Optional)
type ModifyVpcResponse ¶ added in v1.0.11
type ModifyVpcResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyVpcResult `json:"result"` }
type ModifyVpcResult ¶ added in v1.0.11
type ModifyVpcResult struct { }
type RemoveBandwidthPackageIPRequest ¶ added in v1.56.0
type RemoveBandwidthPackageIPRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 共享带宽包ID */ BandwidthPackageId string `json:"bandwidthPackageId"` /* 公网IP列表 */ BandwidthPackageIPSpecs []vpc.RemoveBandwidthPackageIPSpec `json:"bandwidthPackageIPSpecs"` }
func NewRemoveBandwidthPackageIPRequest ¶ added in v1.56.0
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 ¶ added in v1.56.0
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 ¶ added in v1.56.0
func NewRemoveBandwidthPackageIPRequestWithoutParam() *RemoveBandwidthPackageIPRequest
This constructor has better compatible ability when API parameters changed
func (RemoveBandwidthPackageIPRequest) GetRegionId ¶ added in v1.56.0
func (r RemoveBandwidthPackageIPRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RemoveBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs ¶ added in v1.56.0
func (r *RemoveBandwidthPackageIPRequest) SetBandwidthPackageIPSpecs(bandwidthPackageIPSpecs []vpc.RemoveBandwidthPackageIPSpec)
param bandwidthPackageIPSpecs: 公网IP列表(Required)
func (*RemoveBandwidthPackageIPRequest) SetBandwidthPackageId ¶ added in v1.56.0
func (r *RemoveBandwidthPackageIPRequest) SetBandwidthPackageId(bandwidthPackageId string)
param bandwidthPackageId: 共享带宽包ID(Required)
func (*RemoveBandwidthPackageIPRequest) SetRegionId ¶ added in v1.56.0
func (r *RemoveBandwidthPackageIPRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type RemoveBandwidthPackageIPResponse ¶ added in v1.56.0
type RemoveBandwidthPackageIPResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RemoveBandwidthPackageIPResult `json:"result"` }
type RemoveBandwidthPackageIPResult ¶ added in v1.56.0
type RemoveBandwidthPackageIPResult struct { }
type RemoveNetworkAclRulesRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewRemoveNetworkAclRulesRequestWithoutParam() *RemoveNetworkAclRulesRequest
This constructor has better compatible ability when API parameters changed
func (RemoveNetworkAclRulesRequest) GetRegionId ¶ added in v1.0.11
func (r RemoveNetworkAclRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RemoveNetworkAclRulesRequest) SetNetworkAclId ¶ added in v1.0.11
func (r *RemoveNetworkAclRulesRequest) SetNetworkAclId(networkAclId string)
param networkAclId: networkAclId ID(Required)
func (*RemoveNetworkAclRulesRequest) SetRegionId ¶ added in v1.0.11
func (r *RemoveNetworkAclRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*RemoveNetworkAclRulesRequest) SetRuleIds ¶ added in v1.0.11
func (r *RemoveNetworkAclRulesRequest) SetRuleIds(ruleIds []string)
param ruleIds: networkAcl规则ID列表(Required)
type RemoveNetworkAclRulesResponse ¶ added in v1.0.11
type RemoveNetworkAclRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RemoveNetworkAclRulesResult `json:"result"` }
type RemoveNetworkAclRulesResult ¶ added in v1.0.11
type RemoveNetworkAclRulesResult struct { }
type RemoveNetworkSecurityGroupRulesRequest ¶ added in v1.0.5
type RemoveNetworkSecurityGroupRulesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* NetworkSecurityGroup ID */ NetworkSecurityGroupId string `json:"networkSecurityGroupId"` /* 安全组规则Id列表 */ RuleIds []string `json:"ruleIds"` }
func NewRemoveNetworkSecurityGroupRulesRequest ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
func NewRemoveNetworkSecurityGroupRulesRequestWithoutParam() *RemoveNetworkSecurityGroupRulesRequest
This constructor has better compatible ability when API parameters changed
func (RemoveNetworkSecurityGroupRulesRequest) GetRegionId ¶ added in v1.0.5
func (r RemoveNetworkSecurityGroupRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RemoveNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId ¶ added in v1.0.5
func (r *RemoveNetworkSecurityGroupRulesRequest) SetNetworkSecurityGroupId(networkSecurityGroupId string)
param networkSecurityGroupId: NetworkSecurityGroup ID(Required)
func (*RemoveNetworkSecurityGroupRulesRequest) SetRegionId ¶ added in v1.0.5
func (r *RemoveNetworkSecurityGroupRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*RemoveNetworkSecurityGroupRulesRequest) SetRuleIds ¶ added in v1.0.5
func (r *RemoveNetworkSecurityGroupRulesRequest) SetRuleIds(ruleIds []string)
param ruleIds: 安全组规则Id列表(Required)
type RemoveNetworkSecurityGroupRulesResponse ¶ added in v1.0.5
type RemoveNetworkSecurityGroupRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RemoveNetworkSecurityGroupRulesResult `json:"result"` }
type RemoveNetworkSecurityGroupRulesResult ¶ added in v1.0.5
type RemoveNetworkSecurityGroupRulesResult struct { }
type RemoveRouteTableRulesRequest ¶ added in v1.0.11
type RemoveRouteTableRulesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* RouteTable ID */ RouteTableId string `json:"routeTableId"` /* 路由表规则Id列表 */ RuleIds []string `json:"ruleIds"` }
func NewRemoveRouteTableRulesRequest ¶ added in v1.0.11
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 ¶ added in v1.0.11
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 ¶ added in v1.0.11
func NewRemoveRouteTableRulesRequestWithoutParam() *RemoveRouteTableRulesRequest
This constructor has better compatible ability when API parameters changed
func (RemoveRouteTableRulesRequest) GetRegionId ¶ added in v1.0.11
func (r RemoveRouteTableRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RemoveRouteTableRulesRequest) SetRegionId ¶ added in v1.0.11
func (r *RemoveRouteTableRulesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*RemoveRouteTableRulesRequest) SetRouteTableId ¶ added in v1.0.11
func (r *RemoveRouteTableRulesRequest) SetRouteTableId(routeTableId string)
param routeTableId: RouteTable ID(Required)
func (*RemoveRouteTableRulesRequest) SetRuleIds ¶ added in v1.0.11
func (r *RemoveRouteTableRulesRequest) SetRuleIds(ruleIds []string)
param ruleIds: 路由表规则Id列表(Required)
type RemoveRouteTableRulesResponse ¶ added in v1.0.11
type RemoveRouteTableRulesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RemoveRouteTableRulesResult `json:"result"` }
type RemoveRouteTableRulesResult ¶ added in v1.0.11
type RemoveRouteTableRulesResult struct { }
type SetElasticIpStatusRequest ¶ added in v1.62.0
type SetElasticIpStatusRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* natGateway ID */ NatGatewayId string `json:"natGatewayId"` /* 公网IP列表 */ ElasticIpIds []string `json:"elasticIpIds"` /* 公网ip状态,取值范围:online、offline。online表示将NAT绑定的公网IP上线,上线后公网IP可正常转发流量;offline表示将NAT绑定的公网IP下线,下线后,公网IP将不再接受新建连接,已有连接将继续转发流量,从而实现公网IP平滑下线。已下线的公网IP不会自动从NAT网关解绑,如需解绑请执行解绑操作 */ Status string `json:"status"` }
func NewSetElasticIpStatusRequest ¶ added in v1.62.0
func NewSetElasticIpStatusRequest( regionId string, natGatewayId string, elasticIpIds []string, status string, ) *SetElasticIpStatusRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * param elasticIpIds: 公网IP列表 (Required) * param status: 公网ip状态,取值范围:online、offline。online表示将NAT绑定的公网IP上线,上线后公网IP可正常转发流量;offline表示将NAT绑定的公网IP下线,下线后,公网IP将不再接受新建连接,已有连接将继续转发流量,从而实现公网IP平滑下线。已下线的公网IP不会自动从NAT网关解绑,如需解绑请执行解绑操作 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetElasticIpStatusRequestWithAllParams ¶ added in v1.62.0
func NewSetElasticIpStatusRequestWithAllParams( regionId string, natGatewayId string, elasticIpIds []string, status string, ) *SetElasticIpStatusRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * param elasticIpIds: 公网IP列表 (Required) * param status: 公网ip状态,取值范围:online、offline。online表示将NAT绑定的公网IP上线,上线后公网IP可正常转发流量;offline表示将NAT绑定的公网IP下线,下线后,公网IP将不再接受新建连接,已有连接将继续转发流量,从而实现公网IP平滑下线。已下线的公网IP不会自动从NAT网关解绑,如需解绑请执行解绑操作 (Required)
func NewSetElasticIpStatusRequestWithoutParam ¶ added in v1.62.0
func NewSetElasticIpStatusRequestWithoutParam() *SetElasticIpStatusRequest
This constructor has better compatible ability when API parameters changed
func (SetElasticIpStatusRequest) GetRegionId ¶ added in v1.62.0
func (r SetElasticIpStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetElasticIpStatusRequest) SetElasticIpIds ¶ added in v1.62.0
func (r *SetElasticIpStatusRequest) SetElasticIpIds(elasticIpIds []string)
param elasticIpIds: 公网IP列表(Required)
func (*SetElasticIpStatusRequest) SetNatGatewayId ¶ added in v1.62.0
func (r *SetElasticIpStatusRequest) SetNatGatewayId(natGatewayId string)
param natGatewayId: natGateway ID(Required)
func (*SetElasticIpStatusRequest) SetRegionId ¶ added in v1.62.0
func (r *SetElasticIpStatusRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*SetElasticIpStatusRequest) SetStatus ¶ added in v1.62.0
func (r *SetElasticIpStatusRequest) SetStatus(status string)
param status: 公网ip状态,取值范围:online、offline。online表示将NAT绑定的公网IP上线,上线后公网IP可正常转发流量;offline表示将NAT绑定的公网IP下线,下线后,公网IP将不再接受新建连接,已有连接将继续转发流量,从而实现公网IP平滑下线。已下线的公网IP不会自动从NAT网关解绑,如需解绑请执行解绑操作(Required)
type SetElasticIpStatusResponse ¶ added in v1.62.0
type SetElasticIpStatusResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetElasticIpStatusResult `json:"result"` }
type SetElasticIpStatusResult ¶ added in v1.62.0
type SetElasticIpStatusResult struct { }
type StartNatGatewayRequest ¶ added in v1.62.0
type StartNatGatewayRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* natGateway ID */ NatGatewayId string `json:"natGatewayId"` }
func NewStartNatGatewayRequest ¶ added in v1.62.0
func NewStartNatGatewayRequest( regionId string, natGatewayId string, ) *StartNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStartNatGatewayRequestWithAllParams ¶ added in v1.62.0
func NewStartNatGatewayRequestWithAllParams( regionId string, natGatewayId string, ) *StartNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required)
func NewStartNatGatewayRequestWithoutParam ¶ added in v1.62.0
func NewStartNatGatewayRequestWithoutParam() *StartNatGatewayRequest
This constructor has better compatible ability when API parameters changed
func (StartNatGatewayRequest) GetRegionId ¶ added in v1.62.0
func (r StartNatGatewayRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StartNatGatewayRequest) SetNatGatewayId ¶ added in v1.62.0
func (r *StartNatGatewayRequest) SetNatGatewayId(natGatewayId string)
param natGatewayId: natGateway ID(Required)
func (*StartNatGatewayRequest) SetRegionId ¶ added in v1.62.0
func (r *StartNatGatewayRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type StartNatGatewayResponse ¶ added in v1.62.0
type StartNatGatewayResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result StartNatGatewayResult `json:"result"` }
type StartNatGatewayResult ¶ added in v1.62.0
type StartNatGatewayResult struct { }
type StopNatGatewayRequest ¶ added in v1.62.0
type StopNatGatewayRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* natGateway ID */ NatGatewayId string `json:"natGatewayId"` }
func NewStopNatGatewayRequest ¶ added in v1.62.0
func NewStopNatGatewayRequest( regionId string, natGatewayId string, ) *StopNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStopNatGatewayRequestWithAllParams ¶ added in v1.62.0
func NewStopNatGatewayRequestWithAllParams( regionId string, natGatewayId string, ) *StopNatGatewayRequest
* param regionId: Region ID (Required) * param natGatewayId: natGateway ID (Required)
func NewStopNatGatewayRequestWithoutParam ¶ added in v1.62.0
func NewStopNatGatewayRequestWithoutParam() *StopNatGatewayRequest
This constructor has better compatible ability when API parameters changed
func (StopNatGatewayRequest) GetRegionId ¶ added in v1.62.0
func (r StopNatGatewayRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StopNatGatewayRequest) SetNatGatewayId ¶ added in v1.62.0
func (r *StopNatGatewayRequest) SetNatGatewayId(natGatewayId string)
param natGatewayId: natGateway ID(Required)
func (*StopNatGatewayRequest) SetRegionId ¶ added in v1.62.0
func (r *StopNatGatewayRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type StopNatGatewayResponse ¶ added in v1.62.0
type StopNatGatewayResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result StopNatGatewayResult `json:"result"` }
type StopNatGatewayResult ¶ added in v1.62.0
type StopNatGatewayResult 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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
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 ¶ added in v1.56.0
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 ¶
- AddBandwidthPackageIP.go
- AddNetworkAclRules.go
- AddNetworkSecurityGroupRules.go
- AddRouteTableRules.go
- AssignSecondaryIps.go
- AssociateElasticIp.go
- AssociateElasticIps.go
- AssociateNetworkAcl.go
- AssociateRouteTable.go
- CreateBandwidthPackage.go
- CreateElasticIps.go
- CreateNatGateway.go
- CreateNetworkAcl.go
- CreateNetworkInterface.go
- CreateNetworkSecurityGroup.go
- CreateRouteTable.go
- CreateSubnet.go
- CreateVpc.go
- CreateVpcPeering.go
- CreateVpcPolicy.go
- DeleteBandwidthPackage.go
- DeleteElasticIp.go
- DeleteNatGateway.go
- DeleteNetworkAcl.go
- DeleteNetworkInterface.go
- DeleteNetworkSecurityGroup.go
- DeleteRouteTable.go
- DeleteSubnet.go
- DeleteVpc.go
- DeleteVpcPeering.go
- DeleteVpcPolicy.go
- DescribeBandwidthPackage.go
- DescribeBandwidthPackages.go
- DescribeEdgeIpProviders.go
- DescribeElasticIp.go
- DescribeElasticIps.go
- DescribeNatGateway.go
- DescribeNatGateways.go
- DescribeNetworkAcl.go
- DescribeNetworkAcls.go
- DescribeNetworkInterface.go
- DescribeNetworkInterfaces.go
- DescribeNetworkSecurityGroup.go
- DescribeNetworkSecurityGroups.go
- DescribeQuota.go
- DescribeRouteTable.go
- DescribeRouteTables.go
- DescribeSubnet.go
- DescribeSubnets.go
- DescribeVpc.go
- DescribeVpcPeering.go
- DescribeVpcPeerings.go
- DescribeVpcPolicy.go
- DescribeVpcs.go
- DisassociateElasticIp.go
- DisassociateElasticIps.go
- DisassociateNetworkAcl.go
- DisassociateRouteTable.go
- ModifyBandwidthPackage.go
- ModifyBandwidthPackageIpBandwidth.go
- ModifyElasticIp.go
- ModifyNatGateway.go
- ModifyNetworkAcl.go
- ModifyNetworkAclRules.go
- ModifyNetworkInterface.go
- ModifyNetworkSecurityGroup.go
- ModifyNetworkSecurityGroupRules.go
- ModifyRouteTable.go
- ModifyRouteTableRules.go
- ModifySubnet.go
- ModifyVpc.go
- ModifyVpcPeering.go
- ModifyVpcPolicy.go
- RemoveBandwidthPackageIP.go
- RemoveNetworkAclRules.go
- RemoveNetworkSecurityGroupRules.go
- RemoveRouteTableRules.go
- SetElasticIpStatus.go
- StartNatGateway.go
- StopNatGateway.go
- UnassignSecondaryIps.go