Documentation
¶
Overview ¶
Package vpc include resources of ucloud vpc product
See also
for detail.
Index ¶
- type AclEntryInfo
- type AclInfo
- type AddSnatRuleRequest
- type AddSnatRuleResponse
- type AddVPCNetworkRequest
- type AddVPCNetworkResponse
- type AddWhiteListResourceRequest
- type AddWhiteListResourceResponse
- type AllocateBatchSecondaryIpRequest
- type AllocateBatchSecondaryIpResponse
- type AllocateSecondaryIpRequest
- type AllocateSecondaryIpResponse
- type AllocateVIPRequest
- type AllocateVIPResponse
- type AssociateRouteTableRequest
- type AssociateRouteTableResponse
- type AssociationInfo
- type AttachNetworkInterfaceRequest
- type AttachNetworkInterfaceResponse
- type CloneRouteTableRequest
- type CloneRouteTableResponse
- type CreateNATGWPolicyRequest
- type CreateNATGWPolicyResponse
- type CreateNATGWRequest
- type CreateNATGWResponse
- type CreateNetworkAclAssociationRequest
- type CreateNetworkAclAssociationResponse
- type CreateNetworkAclEntryRequest
- type CreateNetworkAclEntryResponse
- type CreateNetworkAclRequest
- type CreateNetworkAclResponse
- type CreateNetworkInterfaceRequest
- type CreateNetworkInterfaceResponse
- type CreateRouteTableRequest
- type CreateRouteTableResponse
- type CreateSnatDnatRuleRequest
- type CreateSnatDnatRuleResponse
- type CreateSubnetRequest
- type CreateSubnetResponse
- type CreateVPCIntercomRequest
- type CreateVPCIntercomResponse
- type CreateVPCRequest
- type CreateVPCResponse
- type DeleteNATGWPolicyRequest
- type DeleteNATGWPolicyResponse
- type DeleteNATGWRequest
- type DeleteNATGWResponse
- type DeleteNetworkAclAssociationRequest
- type DeleteNetworkAclAssociationResponse
- type DeleteNetworkAclEntryRequest
- type DeleteNetworkAclEntryResponse
- type DeleteNetworkAclRequest
- type DeleteNetworkAclResponse
- type DeleteNetworkInterfaceRequest
- type DeleteNetworkInterfaceResponse
- type DeleteRouteTableRequest
- type DeleteRouteTableResponse
- type DeleteSecondaryIpRequest
- type DeleteSecondaryIpResponse
- type DeleteSnatDnatRuleRequest
- type DeleteSnatDnatRuleResponse
- type DeleteSnatRuleRequest
- type DeleteSnatRuleResponse
- type DeleteSubnetRequest
- type DeleteSubnetResponse
- type DeleteVPCIntercomRequest
- type DeleteVPCIntercomResponse
- type DeleteVPCRequest
- type DeleteVPCResponse
- type DeleteWhiteListResourceRequest
- type DeleteWhiteListResourceResponse
- type DescribeInstanceNetworkInterfaceRequest
- type DescribeInstanceNetworkInterfaceResponse
- type DescribeNATGWPolicyRequest
- type DescribeNATGWPolicyResponse
- type DescribeNATGWRequest
- type DescribeNATGWResponse
- type DescribeNetworkAclAssociationBySubnetRequest
- type DescribeNetworkAclAssociationBySubnetResponse
- type DescribeNetworkAclAssociationRequest
- type DescribeNetworkAclAssociationResponse
- type DescribeNetworkAclEntryRequest
- type DescribeNetworkAclEntryResponse
- type DescribeNetworkAclRequest
- type DescribeNetworkAclResponse
- type DescribeNetworkInterfaceRequest
- type DescribeNetworkInterfaceResponse
- type DescribeRouteTableRequest
- type DescribeRouteTableResponse
- type DescribeSecondaryIpRequest
- type DescribeSecondaryIpResponse
- type DescribeSnatDnatRuleRequest
- type DescribeSnatDnatRuleResponse
- type DescribeSnatRuleRequest
- type DescribeSnatRuleResponse
- type DescribeSubnetRequest
- type DescribeSubnetResourceRequest
- type DescribeSubnetResourceResponse
- type DescribeSubnetResponse
- type DescribeVIPRequest
- type DescribeVIPResponse
- type DescribeVPCIntercomRequest
- type DescribeVPCIntercomResponse
- type DescribeVPCRequest
- type DescribeVPCResponse
- type DescribeWhiteListResourceObjectIPInfo
- type DescribeWhiteListResourceRequest
- type DescribeWhiteListResourceResponse
- type DetachNetworkInterfaceRequest
- type DetachNetworkInterfaceResponse
- type EnableWhiteListRequest
- type EnableWhiteListResponse
- type GetAvailableResourceForPolicyDataSet
- type GetAvailableResourceForPolicyRequest
- type GetAvailableResourceForPolicyResponse
- type GetAvailableResourceForSnatRuleDataSet
- type GetAvailableResourceForSnatRuleRequest
- type GetAvailableResourceForSnatRuleResponse
- type GetAvailableResourceForWhiteListDataSet
- type GetAvailableResourceForWhiteListRequest
- type GetAvailableResourceForWhiteListResponse
- type GetNetworkAclTargetResourceRequest
- type GetNetworkAclTargetResourceResponse
- type InstanceNetworkInterface
- type IpInfo
- type IpsInfo
- type ListSubnetForNATGWRequest
- type ListSubnetForNATGWResponse
- type ModifyRouteRuleRequest
- type ModifyRouteRuleResponse
- type MoveSecondaryIPMacRequest
- type MoveSecondaryIPMacResponse
- type NATGWPolicyDataSet
- type NATGWSnatRule
- type NatGWIPResInfo
- type NatGWWhitelistDataSet
- type NatGatewayDataSet
- type NatGatewayIPSet
- type NatGatewaySubnetSet
- type NatgwSubnetDataSet
- type NetworkInterface
- type NetworkInterfaceInfo
- type ReleaseVIPRequest
- type ReleaseVIPResponse
- type RouteRuleInfo
- type RouteTableInfo
- type SetGwDefaultExportRequest
- type SetGwDefaultExportResponse
- type SnatDnatRuleInfo
- type StatusInfo
- type SubnetInfo
- type SubnetResource
- type TargetResourceInfo
- type UNIIpInfo
- type UNIQuotaInfo
- type UpdateNATGWPolicyRequest
- type UpdateNATGWPolicyResponse
- type UpdateNATGWSubnetRequest
- type UpdateNATGWSubnetResponse
- type UpdateNetworkAclEntryRequest
- type UpdateNetworkAclEntryResponse
- type UpdateNetworkAclRequest
- type UpdateNetworkAclResponse
- type UpdateRouteTableAttributeRequest
- type UpdateRouteTableAttributeResponse
- type UpdateSnatRuleRequest
- type UpdateSnatRuleResponse
- type UpdateSubnetAttributeRequest
- type UpdateSubnetAttributeResponse
- type UpdateVIPAttributeRequest
- type UpdateVIPAttributeResponse
- type UpdateVPCNetworkRequest
- type UpdateVPCNetworkResponse
- type VIPDetailSet
- type VIPSet
- type VPCClient
- func (c *VPCClient) AddSnatRule(req *AddSnatRuleRequest) (*AddSnatRuleResponse, error)
- func (c *VPCClient) AddVPCNetwork(req *AddVPCNetworkRequest) (*AddVPCNetworkResponse, error)
- func (c *VPCClient) AddWhiteListResource(req *AddWhiteListResourceRequest) (*AddWhiteListResourceResponse, error)
- func (c *VPCClient) AllocateBatchSecondaryIp(req *AllocateBatchSecondaryIpRequest) (*AllocateBatchSecondaryIpResponse, error)
- func (c *VPCClient) AllocateSecondaryIp(req *AllocateSecondaryIpRequest) (*AllocateSecondaryIpResponse, error)
- func (c *VPCClient) AllocateVIP(req *AllocateVIPRequest) (*AllocateVIPResponse, error)
- func (c *VPCClient) AssociateRouteTable(req *AssociateRouteTableRequest) (*AssociateRouteTableResponse, error)
- func (c *VPCClient) AttachNetworkInterface(req *AttachNetworkInterfaceRequest) (*AttachNetworkInterfaceResponse, error)
- func (c *VPCClient) CloneRouteTable(req *CloneRouteTableRequest) (*CloneRouteTableResponse, error)
- func (c *VPCClient) CreateNATGW(req *CreateNATGWRequest) (*CreateNATGWResponse, error)
- func (c *VPCClient) CreateNATGWPolicy(req *CreateNATGWPolicyRequest) (*CreateNATGWPolicyResponse, error)
- func (c *VPCClient) CreateNetworkAcl(req *CreateNetworkAclRequest) (*CreateNetworkAclResponse, error)
- func (c *VPCClient) CreateNetworkAclAssociation(req *CreateNetworkAclAssociationRequest) (*CreateNetworkAclAssociationResponse, error)
- func (c *VPCClient) CreateNetworkAclEntry(req *CreateNetworkAclEntryRequest) (*CreateNetworkAclEntryResponse, error)
- func (c *VPCClient) CreateNetworkInterface(req *CreateNetworkInterfaceRequest) (*CreateNetworkInterfaceResponse, error)
- func (c *VPCClient) CreateRouteTable(req *CreateRouteTableRequest) (*CreateRouteTableResponse, error)
- func (c *VPCClient) CreateSnatDnatRule(req *CreateSnatDnatRuleRequest) (*CreateSnatDnatRuleResponse, error)
- func (c *VPCClient) CreateSubnet(req *CreateSubnetRequest) (*CreateSubnetResponse, error)
- func (c *VPCClient) CreateVPC(req *CreateVPCRequest) (*CreateVPCResponse, error)
- func (c *VPCClient) CreateVPCIntercom(req *CreateVPCIntercomRequest) (*CreateVPCIntercomResponse, error)
- func (c *VPCClient) DeleteNATGW(req *DeleteNATGWRequest) (*DeleteNATGWResponse, error)
- func (c *VPCClient) DeleteNATGWPolicy(req *DeleteNATGWPolicyRequest) (*DeleteNATGWPolicyResponse, error)
- func (c *VPCClient) DeleteNetworkAcl(req *DeleteNetworkAclRequest) (*DeleteNetworkAclResponse, error)
- func (c *VPCClient) DeleteNetworkAclAssociation(req *DeleteNetworkAclAssociationRequest) (*DeleteNetworkAclAssociationResponse, error)
- func (c *VPCClient) DeleteNetworkAclEntry(req *DeleteNetworkAclEntryRequest) (*DeleteNetworkAclEntryResponse, error)
- func (c *VPCClient) DeleteNetworkInterface(req *DeleteNetworkInterfaceRequest) (*DeleteNetworkInterfaceResponse, error)
- func (c *VPCClient) DeleteRouteTable(req *DeleteRouteTableRequest) (*DeleteRouteTableResponse, error)
- func (c *VPCClient) DeleteSecondaryIp(req *DeleteSecondaryIpRequest) (*DeleteSecondaryIpResponse, error)
- func (c *VPCClient) DeleteSnatDnatRule(req *DeleteSnatDnatRuleRequest) (*DeleteSnatDnatRuleResponse, error)
- func (c *VPCClient) DeleteSnatRule(req *DeleteSnatRuleRequest) (*DeleteSnatRuleResponse, error)
- func (c *VPCClient) DeleteSubnet(req *DeleteSubnetRequest) (*DeleteSubnetResponse, error)
- func (c *VPCClient) DeleteVPC(req *DeleteVPCRequest) (*DeleteVPCResponse, error)
- func (c *VPCClient) DeleteVPCIntercom(req *DeleteVPCIntercomRequest) (*DeleteVPCIntercomResponse, error)
- func (c *VPCClient) DeleteWhiteListResource(req *DeleteWhiteListResourceRequest) (*DeleteWhiteListResourceResponse, error)
- func (c *VPCClient) DescribeInstanceNetworkInterface(req *DescribeInstanceNetworkInterfaceRequest) (*DescribeInstanceNetworkInterfaceResponse, error)
- func (c *VPCClient) DescribeNATGW(req *DescribeNATGWRequest) (*DescribeNATGWResponse, error)
- func (c *VPCClient) DescribeNATGWPolicy(req *DescribeNATGWPolicyRequest) (*DescribeNATGWPolicyResponse, error)
- func (c *VPCClient) DescribeNetworkAcl(req *DescribeNetworkAclRequest) (*DescribeNetworkAclResponse, error)
- func (c *VPCClient) DescribeNetworkAclAssociation(req *DescribeNetworkAclAssociationRequest) (*DescribeNetworkAclAssociationResponse, error)
- func (c *VPCClient) DescribeNetworkAclAssociationBySubnet(req *DescribeNetworkAclAssociationBySubnetRequest) (*DescribeNetworkAclAssociationBySubnetResponse, error)
- func (c *VPCClient) DescribeNetworkAclEntry(req *DescribeNetworkAclEntryRequest) (*DescribeNetworkAclEntryResponse, error)
- func (c *VPCClient) DescribeNetworkInterface(req *DescribeNetworkInterfaceRequest) (*DescribeNetworkInterfaceResponse, error)
- func (c *VPCClient) DescribeRouteTable(req *DescribeRouteTableRequest) (*DescribeRouteTableResponse, error)
- func (c *VPCClient) DescribeSecondaryIp(req *DescribeSecondaryIpRequest) (*DescribeSecondaryIpResponse, error)
- func (c *VPCClient) DescribeSnatDnatRule(req *DescribeSnatDnatRuleRequest) (*DescribeSnatDnatRuleResponse, error)
- func (c *VPCClient) DescribeSnatRule(req *DescribeSnatRuleRequest) (*DescribeSnatRuleResponse, error)
- func (c *VPCClient) DescribeSubnet(req *DescribeSubnetRequest) (*DescribeSubnetResponse, error)
- func (c *VPCClient) DescribeSubnetResource(req *DescribeSubnetResourceRequest) (*DescribeSubnetResourceResponse, error)
- func (c *VPCClient) DescribeVIP(req *DescribeVIPRequest) (*DescribeVIPResponse, error)
- func (c *VPCClient) DescribeVPC(req *DescribeVPCRequest) (*DescribeVPCResponse, error)
- func (c *VPCClient) DescribeVPCIntercom(req *DescribeVPCIntercomRequest) (*DescribeVPCIntercomResponse, error)
- func (c *VPCClient) DescribeWhiteListResource(req *DescribeWhiteListResourceRequest) (*DescribeWhiteListResourceResponse, error)
- func (c *VPCClient) DetachNetworkInterface(req *DetachNetworkInterfaceRequest) (*DetachNetworkInterfaceResponse, error)
- func (c *VPCClient) EnableWhiteList(req *EnableWhiteListRequest) (*EnableWhiteListResponse, error)
- func (c *VPCClient) GetAvailableResourceForPolicy(req *GetAvailableResourceForPolicyRequest) (*GetAvailableResourceForPolicyResponse, error)
- func (c *VPCClient) GetAvailableResourceForSnatRule(req *GetAvailableResourceForSnatRuleRequest) (*GetAvailableResourceForSnatRuleResponse, error)
- func (c *VPCClient) GetAvailableResourceForWhiteList(req *GetAvailableResourceForWhiteListRequest) (*GetAvailableResourceForWhiteListResponse, error)
- func (c *VPCClient) GetNetworkAclTargetResource(req *GetNetworkAclTargetResourceRequest) (*GetNetworkAclTargetResourceResponse, error)
- func (c *VPCClient) ListSubnetForNATGW(req *ListSubnetForNATGWRequest) (*ListSubnetForNATGWResponse, error)
- func (c *VPCClient) ModifyRouteRule(req *ModifyRouteRuleRequest) (*ModifyRouteRuleResponse, error)
- func (c *VPCClient) MoveSecondaryIPMac(req *MoveSecondaryIPMacRequest) (*MoveSecondaryIPMacResponse, error)
- func (c *VPCClient) NewAddSnatRuleRequest() *AddSnatRuleRequest
- func (c *VPCClient) NewAddVPCNetworkRequest() *AddVPCNetworkRequest
- func (c *VPCClient) NewAddWhiteListResourceRequest() *AddWhiteListResourceRequest
- func (c *VPCClient) NewAllocateBatchSecondaryIpRequest() *AllocateBatchSecondaryIpRequest
- func (c *VPCClient) NewAllocateSecondaryIpRequest() *AllocateSecondaryIpRequest
- func (c *VPCClient) NewAllocateVIPRequest() *AllocateVIPRequest
- func (c *VPCClient) NewAssociateRouteTableRequest() *AssociateRouteTableRequest
- func (c *VPCClient) NewAttachNetworkInterfaceRequest() *AttachNetworkInterfaceRequest
- func (c *VPCClient) NewCloneRouteTableRequest() *CloneRouteTableRequest
- func (c *VPCClient) NewCreateNATGWPolicyRequest() *CreateNATGWPolicyRequest
- func (c *VPCClient) NewCreateNATGWRequest() *CreateNATGWRequest
- func (c *VPCClient) NewCreateNetworkAclAssociationRequest() *CreateNetworkAclAssociationRequest
- func (c *VPCClient) NewCreateNetworkAclEntryRequest() *CreateNetworkAclEntryRequest
- func (c *VPCClient) NewCreateNetworkAclRequest() *CreateNetworkAclRequest
- func (c *VPCClient) NewCreateNetworkInterfaceRequest() *CreateNetworkInterfaceRequest
- func (c *VPCClient) NewCreateRouteTableRequest() *CreateRouteTableRequest
- func (c *VPCClient) NewCreateSnatDnatRuleRequest() *CreateSnatDnatRuleRequest
- func (c *VPCClient) NewCreateSubnetRequest() *CreateSubnetRequest
- func (c *VPCClient) NewCreateVPCIntercomRequest() *CreateVPCIntercomRequest
- func (c *VPCClient) NewCreateVPCRequest() *CreateVPCRequest
- func (c *VPCClient) NewDeleteNATGWPolicyRequest() *DeleteNATGWPolicyRequest
- func (c *VPCClient) NewDeleteNATGWRequest() *DeleteNATGWRequest
- func (c *VPCClient) NewDeleteNetworkAclAssociationRequest() *DeleteNetworkAclAssociationRequest
- func (c *VPCClient) NewDeleteNetworkAclEntryRequest() *DeleteNetworkAclEntryRequest
- func (c *VPCClient) NewDeleteNetworkAclRequest() *DeleteNetworkAclRequest
- func (c *VPCClient) NewDeleteNetworkInterfaceRequest() *DeleteNetworkInterfaceRequest
- func (c *VPCClient) NewDeleteRouteTableRequest() *DeleteRouteTableRequest
- func (c *VPCClient) NewDeleteSecondaryIpRequest() *DeleteSecondaryIpRequest
- func (c *VPCClient) NewDeleteSnatDnatRuleRequest() *DeleteSnatDnatRuleRequest
- func (c *VPCClient) NewDeleteSnatRuleRequest() *DeleteSnatRuleRequest
- func (c *VPCClient) NewDeleteSubnetRequest() *DeleteSubnetRequest
- func (c *VPCClient) NewDeleteVPCIntercomRequest() *DeleteVPCIntercomRequest
- func (c *VPCClient) NewDeleteVPCRequest() *DeleteVPCRequest
- func (c *VPCClient) NewDeleteWhiteListResourceRequest() *DeleteWhiteListResourceRequest
- func (c *VPCClient) NewDescribeInstanceNetworkInterfaceRequest() *DescribeInstanceNetworkInterfaceRequest
- func (c *VPCClient) NewDescribeNATGWPolicyRequest() *DescribeNATGWPolicyRequest
- func (c *VPCClient) NewDescribeNATGWRequest() *DescribeNATGWRequest
- func (c *VPCClient) NewDescribeNetworkAclAssociationBySubnetRequest() *DescribeNetworkAclAssociationBySubnetRequest
- func (c *VPCClient) NewDescribeNetworkAclAssociationRequest() *DescribeNetworkAclAssociationRequest
- func (c *VPCClient) NewDescribeNetworkAclEntryRequest() *DescribeNetworkAclEntryRequest
- func (c *VPCClient) NewDescribeNetworkAclRequest() *DescribeNetworkAclRequest
- func (c *VPCClient) NewDescribeNetworkInterfaceRequest() *DescribeNetworkInterfaceRequest
- func (c *VPCClient) NewDescribeRouteTableRequest() *DescribeRouteTableRequest
- func (c *VPCClient) NewDescribeSecondaryIpRequest() *DescribeSecondaryIpRequest
- func (c *VPCClient) NewDescribeSnatDnatRuleRequest() *DescribeSnatDnatRuleRequest
- func (c *VPCClient) NewDescribeSnatRuleRequest() *DescribeSnatRuleRequest
- func (c *VPCClient) NewDescribeSubnetRequest() *DescribeSubnetRequest
- func (c *VPCClient) NewDescribeSubnetResourceRequest() *DescribeSubnetResourceRequest
- func (c *VPCClient) NewDescribeVIPRequest() *DescribeVIPRequest
- func (c *VPCClient) NewDescribeVPCIntercomRequest() *DescribeVPCIntercomRequest
- func (c *VPCClient) NewDescribeVPCRequest() *DescribeVPCRequest
- func (c *VPCClient) NewDescribeWhiteListResourceRequest() *DescribeWhiteListResourceRequest
- func (c *VPCClient) NewDetachNetworkInterfaceRequest() *DetachNetworkInterfaceRequest
- func (c *VPCClient) NewEnableWhiteListRequest() *EnableWhiteListRequest
- func (c *VPCClient) NewGetAvailableResourceForPolicyRequest() *GetAvailableResourceForPolicyRequest
- func (c *VPCClient) NewGetAvailableResourceForSnatRuleRequest() *GetAvailableResourceForSnatRuleRequest
- func (c *VPCClient) NewGetAvailableResourceForWhiteListRequest() *GetAvailableResourceForWhiteListRequest
- func (c *VPCClient) NewGetNetworkAclTargetResourceRequest() *GetNetworkAclTargetResourceRequest
- func (c *VPCClient) NewListSubnetForNATGWRequest() *ListSubnetForNATGWRequest
- func (c *VPCClient) NewModifyRouteRuleRequest() *ModifyRouteRuleRequest
- func (c *VPCClient) NewMoveSecondaryIPMacRequest() *MoveSecondaryIPMacRequest
- func (c *VPCClient) NewReleaseVIPRequest() *ReleaseVIPRequest
- func (c *VPCClient) NewSetGwDefaultExportRequest() *SetGwDefaultExportRequest
- func (c *VPCClient) NewUpdateNATGWPolicyRequest() *UpdateNATGWPolicyRequest
- func (c *VPCClient) NewUpdateNATGWSubnetRequest() *UpdateNATGWSubnetRequest
- func (c *VPCClient) NewUpdateNetworkAclEntryRequest() *UpdateNetworkAclEntryRequest
- func (c *VPCClient) NewUpdateNetworkAclRequest() *UpdateNetworkAclRequest
- func (c *VPCClient) NewUpdateRouteTableAttributeRequest() *UpdateRouteTableAttributeRequest
- func (c *VPCClient) NewUpdateSnatRuleRequest() *UpdateSnatRuleRequest
- func (c *VPCClient) NewUpdateSubnetAttributeRequest() *UpdateSubnetAttributeRequest
- func (c *VPCClient) NewUpdateVIPAttributeRequest() *UpdateVIPAttributeRequest
- func (c *VPCClient) NewUpdateVPCNetworkRequest() *UpdateVPCNetworkRequest
- func (c *VPCClient) ReleaseVIP(req *ReleaseVIPRequest) (*ReleaseVIPResponse, error)
- func (c *VPCClient) SetGwDefaultExport(req *SetGwDefaultExportRequest) (*SetGwDefaultExportResponse, error)
- func (c *VPCClient) UpdateNATGWPolicy(req *UpdateNATGWPolicyRequest) (*UpdateNATGWPolicyResponse, error)
- func (c *VPCClient) UpdateNATGWSubnet(req *UpdateNATGWSubnetRequest) (*UpdateNATGWSubnetResponse, error)
- func (c *VPCClient) UpdateNetworkAcl(req *UpdateNetworkAclRequest) (*UpdateNetworkAclResponse, error)
- func (c *VPCClient) UpdateNetworkAclEntry(req *UpdateNetworkAclEntryRequest) (*UpdateNetworkAclEntryResponse, error)
- func (c *VPCClient) UpdateRouteTableAttribute(req *UpdateRouteTableAttributeRequest) (*UpdateRouteTableAttributeResponse, error)
- func (c *VPCClient) UpdateSnatRule(req *UpdateSnatRuleRequest) (*UpdateSnatRuleResponse, error)
- func (c *VPCClient) UpdateSubnetAttribute(req *UpdateSubnetAttributeRequest) (*UpdateSubnetAttributeResponse, error)
- func (c *VPCClient) UpdateVIPAttribute(req *UpdateVIPAttributeRequest) (*UpdateVIPAttributeResponse, error)
- func (c *VPCClient) UpdateVPCNetwork(req *UpdateVPCNetworkRequest) (*UpdateVPCNetworkResponse, error)
- type VPCInfo
- type VPCIntercomInfo
- type VPCNetworkInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclEntryInfo ¶ added in v0.14.1
type AclEntryInfo struct { // IP段的CIDR信息 CidrBlock string // 创建的Unix时间戳 CreateTime int // 出向或者入向 Direction string // 匹配规则的动作 EntryAction string // Entry的ID EntryId string // 针对的IP协议 IpProtocol string // Port的段信息 PortRange string // 优先级 Priority string // 应用目标资源数量。TargetType为0时不返回该值。 TargetResourceCount int // 应用目标资源信息。TargetType为0时不返回该值。具体结构见下方TargetResourceInfo TargetResourceList []TargetResourceInfo // 应用目标类型。 0代表“子网内全部资源” ,1代表“子网内指定资源” 。 TargetType int // 更改的Unix时间戳 UpdateTime int }
AclEntryInfo - Entry的详细信息
type AclInfo ¶ added in v0.14.1
type AclInfo struct { // ACL的ID AclId string // 名称 AclName string // 所有的绑定关系,具体结构见下方AssociationInfo Associations []AssociationInfo // 创建的Unix时间戳 CreateTime int // 描述 Description string // 所有的规则 Entries []AclEntryInfo // 更改的Unix时间戳 UpdateTime int // ACL所属的VPC ID VpcId string }
AclInfo - Acl的基础信息
type AddSnatRuleRequest ¶ added in v0.21.2
type AddSnatRuleRequest struct { request.CommonBase // NAT网关的ID NATGWId *string `required:"true"` // snat规则名称,默认为“出口规则” Name *string `required:"false"` // EIP的ip地址,例如106.75.xx.xx SnatIp *string `required:"true"` // 需要出外网的私网IP地址,例如10.9.7.xx SourceIp *string `required:"true"` }
AddSnatRuleRequest is request schema for AddSnatRule action
type AddSnatRuleResponse ¶ added in v0.21.2
type AddSnatRuleResponse struct {
response.CommonBase
}
AddSnatRuleResponse is response schema for AddSnatRule action
type AddVPCNetworkRequest ¶
type AddVPCNetworkRequest struct { request.CommonBase // 增加网段 Network []string `required:"true"` // 源VPC短ID VPCId *string `required:"true"` }
AddVPCNetworkRequest is request schema for AddVPCNetwork action
type AddVPCNetworkResponse ¶
type AddVPCNetworkResponse struct {
response.CommonBase
}
AddVPCNetworkResponse is response schema for AddVPCNetwork action
type AddWhiteListResourceRequest ¶ added in v0.10.0
type AddWhiteListResourceRequest struct { request.CommonBase // NAT网关Id NATGWId *string `required:"true"` // 可添加白名单的资源Id ResourceIds []string `required:"true"` }
AddWhiteListResourceRequest is request schema for AddWhiteListResource action
type AddWhiteListResourceResponse ¶ added in v0.10.0
type AddWhiteListResourceResponse struct {
response.CommonBase
}
AddWhiteListResourceResponse is response schema for AddWhiteListResource action
type AllocateBatchSecondaryIpRequest ¶ added in v0.21.38
type AllocateBatchSecondaryIpRequest struct { request.CommonBase // 申请的内网IP数量 Count *int `required:"false"` // 【arry】支持按如下方式申请:①按网段:如192.168.1.32/27,掩码数字最小为27 ②指定IP地址,如192.168.1.3 Ip []string `required:"false"` // 节点mac Mac *string `required:"true"` // 资源Id ObjectId *string `required:"true"` // 子网Id(若未指定,则根据zone获取默认子网进行创建) SubnetId *string `required:"false"` // vpcId VPCId *string `required:"false"` }
AllocateBatchSecondaryIpRequest is request schema for AllocateBatchSecondaryIp action
type AllocateBatchSecondaryIpResponse ¶ added in v0.21.38
type AllocateBatchSecondaryIpResponse struct { response.CommonBase // 详见IpsInfo IpsInfo []IpsInfo }
AllocateBatchSecondaryIpResponse is response schema for AllocateBatchSecondaryIp action
type AllocateSecondaryIpRequest ¶ added in v0.14.1
type AllocateSecondaryIpRequest struct { request.CommonBase // 指定Ip分配 Ip *string `required:"false"` // 节点mac Mac *string `required:"true"` // 资源Id ObjectId *string `required:"true"` // 子网Id(若未指定,则根据zone获取默认子网进行创建) SubnetId *string `required:"false"` // vpcId VPCId *string `required:"false"` }
AllocateSecondaryIpRequest is request schema for AllocateSecondaryIp action
type AllocateSecondaryIpResponse ¶ added in v0.14.1
type AllocateSecondaryIpResponse struct { response.CommonBase // IpInfo IpInfo }
AllocateSecondaryIpResponse is response schema for AllocateSecondaryIp action
type AllocateVIPRequest ¶ added in v0.14.1
type AllocateVIPRequest struct { request.CommonBase // 业务组 BusinessId *string `required:"false"` // 申请数量,默认: 1 Count *int `required:"false"` // 指定ip Ip *string `required:"false"` // vip名,默认:VIP Name *string `required:"false"` // 备注 Remark *string `required:"false"` // 子网id SubnetId *string `required:"true"` // 业务组名称,默认为Default Tag *string `required:"false"` // 指定vip所属的VPC VPCId *string `required:"true"` }
AllocateVIPRequest is request schema for AllocateVIP action
type AllocateVIPResponse ¶ added in v0.14.1
type AllocateVIPResponse struct { response.CommonBase // 申请到的VIP地址 DataSet []string // 申请到的VIP资源相关信息 VIPSet []VIPSet }
AllocateVIPResponse is response schema for AllocateVIP action
type AssociateRouteTableRequest ¶ added in v0.14.1
type AssociateRouteTableRequest struct { request.CommonBase // 路由表资源ID RouteTableId *string `required:"true"` // 子网ID SubnetId *string `required:"true"` }
AssociateRouteTableRequest is request schema for AssociateRouteTable action
type AssociateRouteTableResponse ¶ added in v0.14.1
type AssociateRouteTableResponse struct {
response.CommonBase
}
AssociateRouteTableResponse is response schema for AssociateRouteTable action
type AssociationInfo ¶ added in v0.14.1
type AssociationInfo struct { // ACL的ID AclId string // 绑定ID AssociationId string // 创建的Unix时间戳 CreateTime int // 绑定的子网ID SubnetworkId string // 所属的VPC ID VpcId string `deprecated:"true"` }
AssociationInfo - 绑定信息
type AttachNetworkInterfaceRequest ¶ added in v0.21.38
type AttachNetworkInterfaceRequest struct { request.CommonBase // 云主机ID(仅支持绑定开启网卡功能,且未开启网络增强的云主机) InstanceId *string `required:"true"` // 虚拟网卡ID InterfaceId *string `required:"true"` }
AttachNetworkInterfaceRequest is request schema for AttachNetworkInterface action
type AttachNetworkInterfaceResponse ¶ added in v0.21.38
type AttachNetworkInterfaceResponse struct {
response.CommonBase
}
AttachNetworkInterfaceResponse is response schema for AttachNetworkInterface action
type CloneRouteTableRequest ¶ added in v0.14.1
type CloneRouteTableRequest struct { request.CommonBase // 被克隆的路由表ID RouteTableId *string `required:"true"` }
CloneRouteTableRequest is request schema for CloneRouteTable action
type CloneRouteTableResponse ¶ added in v0.14.1
type CloneRouteTableResponse struct { response.CommonBase // 复制后新的路由表资源ID RouteTableId string }
CloneRouteTableResponse is response schema for CloneRouteTable action
type CreateNATGWPolicyRequest ¶ added in v0.10.0
type CreateNATGWPolicyRequest struct { request.CommonBase // 目标IP。填写对应的目标IP地址 DstIP *string `required:"true"` // 目标端口。可填写固定端口,也可填写端口范围。支持的端口范围为1-65535 DstPort *string `required:"true"` // NAT网关Id NATGWId *string `required:"true"` // 转发策略名称。默认为空 PolicyName *string `required:"false"` // 协议类型。枚举值为:TCP、UDP Protocol *string `required:"true"` // 源IP。填写对应的EIP Id SrcEIPId *string `required:"true"` // 源端口。可填写固定端口,也可填写端口范围。支持的端口范围为1-65535 SrcPort *string `required:"true"` }
CreateNATGWPolicyRequest is request schema for CreateNATGWPolicy action
type CreateNATGWPolicyResponse ¶ added in v0.10.0
type CreateNATGWPolicyResponse struct { response.CommonBase // 创建时分配的策略Id PolicyId string }
CreateNATGWPolicyResponse is response schema for CreateNATGWPolicy action
type CreateNATGWRequest ¶ added in v0.10.0
type CreateNATGWRequest struct { request.CommonBase // NAT网关绑定的EIPId EIPIds []string `required:"true"` // NAT网关绑定的防火墙Id FirewallId *string `required:"true"` // 白名单开关标记。0表示关闭,1表示开启。默认为0 IfOpen *int `required:"false"` // NAT网关名称 NATGWName *string `required:"true"` // 备注。默认为空 Remark *string `required:"false"` // NAT网关绑定的子网Id,默认为空。 SubnetworkIds []string `required:"false"` // 业务组。默认为空 Tag *string `required:"false"` // NAT网关所属的VPC Id。默认为Default VPC Id VPCId *string `required:"false"` }
CreateNATGWRequest is request schema for CreateNATGW action
type CreateNATGWResponse ¶ added in v0.10.0
type CreateNATGWResponse struct { response.CommonBase // 申请到的NATGateWay Id NATGWId string }
CreateNATGWResponse is response schema for CreateNATGW action
type CreateNetworkAclAssociationRequest ¶ added in v0.14.1
type CreateNetworkAclAssociationRequest struct { request.CommonBase // ACL的ID AclId *string `required:"true"` // 需要绑定的子网ID SubnetworkId *string `required:"true"` }
CreateNetworkAclAssociationRequest is request schema for CreateNetworkAclAssociation action
type CreateNetworkAclAssociationResponse ¶ added in v0.14.1
type CreateNetworkAclAssociationResponse struct { response.CommonBase // 【该字段已废弃,请谨慎使用】 AclId string `deprecated:"true"` // 创建的绑定关系的ID AssociationId string // 该子网之前的绑定关系信息 PrevAssociation AssociationInfo }
CreateNetworkAclAssociationResponse is response schema for CreateNetworkAclAssociation action
type CreateNetworkAclEntryRequest ¶ added in v0.14.1
type CreateNetworkAclEntryRequest struct { request.CommonBase // ACL的ID AclId *string `required:"true"` // IPv4段的CIDR表示 CidrBlock *string `required:"true"` // 描述。长度限制为不超过32字节。 Description *string `required:"false"` // 出向或者入向(“Ingress”, "Egress") Direction *string `required:"true"` // 规则的行为("Accept", "Reject") EntryAction *string `required:"true"` // 协议规则描述 IpProtocol *string `required:"true"` // 针对的端口范围 PortRange *string `required:"true"` // Entry的优先级,对于同样的Direction来说,不能重复 Priority *int `required:"true"` // 应用目标资源列表。默认为全部资源生效。TargetType为0时不用填写该值。 TargetResourceIds []string `required:"false"` // 应用目标类型。0代表“子网内全部资源”,1代表“子网内指定资源”,默认为0 TargetType *int `required:"false"` }
CreateNetworkAclEntryRequest is request schema for CreateNetworkAclEntry action
type CreateNetworkAclEntryResponse ¶ added in v0.14.1
type CreateNetworkAclEntryResponse struct { response.CommonBase // 创建的Entry的ID EntryId string }
CreateNetworkAclEntryResponse is response schema for CreateNetworkAclEntry action
type CreateNetworkAclRequest ¶ added in v0.14.1
type CreateNetworkAclRequest struct { request.CommonBase // ACL的名称 AclName *string `required:"true"` // ACL的描述 Description *string `required:"false"` // 将要创建的ACL所属VPC的ID VpcId *string `required:"true"` }
CreateNetworkAclRequest is request schema for CreateNetworkAcl action
type CreateNetworkAclResponse ¶ added in v0.14.1
type CreateNetworkAclResponse struct { response.CommonBase // 创建的ACL的ID AclId string }
CreateNetworkAclResponse is response schema for CreateNetworkAcl action
type CreateNetworkInterfaceRequest ¶ added in v0.21.38
type CreateNetworkInterfaceRequest struct { request.CommonBase // 虚拟网卡名称,默认为 NetworkInterface Name *string `required:"false"` // 指定内网IP。当前一个网卡仅支持绑定一个内网IP PrivateIp []string `required:"false"` // 备注 Remark *string `required:"false"` // 防火墙GroupId,默认:Web推荐防火墙 可由DescribeSecurityGroupResponse中的GroupId取得 SecurityGroupId *string `required:"false"` // 所属子网ID SubnetId *string `required:"true"` // 业务组 Tag *string `required:"false"` // 所属VPCID VPCId *string `required:"true"` }
CreateNetworkInterfaceRequest is request schema for CreateNetworkInterface action
type CreateNetworkInterfaceResponse ¶ added in v0.21.38
type CreateNetworkInterfaceResponse struct { response.CommonBase // 若创建成功,则返回虚拟网卡信息。创建失败,无此参数 NetworkInterface NetworkInterfaceInfo }
CreateNetworkInterfaceResponse is response schema for CreateNetworkInterface action
type CreateRouteTableRequest ¶ added in v0.14.1
type CreateRouteTableRequest struct { request.CommonBase // 路由表名称。默认为RouteTable Name *string `required:"false"` // 备注 Remark *string `required:"false"` // 路由表所属业务组 Tag *string `required:"false"` // 所属的VPC资源ID VPCId *string `required:"true"` }
CreateRouteTableRequest is request schema for CreateRouteTable action
type CreateRouteTableResponse ¶ added in v0.14.1
type CreateRouteTableResponse struct { response.CommonBase // 路由表ID RouteTableId string }
CreateRouteTableResponse is response schema for CreateRouteTable action
type CreateSnatDnatRuleRequest ¶ added in v0.21.38
type CreateSnatDnatRuleRequest struct { request.CommonBase // EIP的IP地址。按入参顺序,PrivateIp与EIP一一对应建立映射关系。 EIP []string `required:"true"` // 映射所使用的NAT网关资源ID NATGWId *string `required:"true"` // 内网P地址 PrivateIp []string `required:"true"` }
CreateSnatDnatRuleRequest is request schema for CreateSnatDnatRule action
type CreateSnatDnatRuleResponse ¶ added in v0.21.38
type CreateSnatDnatRuleResponse struct {
response.CommonBase
}
CreateSnatDnatRuleResponse is response schema for CreateSnatDnatRule action
type CreateSubnetRequest ¶
type CreateSubnetRequest struct { request.CommonBase // 子网网络号位数,默认为24 Netmask *int `required:"false"` // 备注 Remark *string `required:"false"` // 子网网络地址,例如192.168.0.0 Subnet *string `required:"true"` // 子网名称,默认为Subnet SubnetName *string `required:"false"` // 业务组名称,默认为Default Tag *string `required:"false"` // VPC资源ID VPCId *string `required:"true"` }
CreateSubnetRequest is request schema for CreateSubnet action
type CreateSubnetResponse ¶
type CreateSubnetResponse struct { response.CommonBase // 子网ID SubnetId string }
CreateSubnetResponse is response schema for CreateSubnet action
type CreateVPCIntercomRequest ¶
type CreateVPCIntercomRequest struct { request.CommonBase // 目的VPC项目ID。默认与源VPC同项目。 DstProjectId *string `required:"false"` // 目的VPC所在地域,默认与源VPC同地域。 DstRegion *string `required:"false"` // 目的VPC短ID DstVPCId *string `required:"true"` // 源VPC短ID VPCId *string `required:"true"` }
CreateVPCIntercomRequest is request schema for CreateVPCIntercom action
type CreateVPCIntercomResponse ¶
type CreateVPCIntercomResponse struct {
response.CommonBase
}
CreateVPCIntercomResponse is response schema for CreateVPCIntercom action
type CreateVPCRequest ¶
type CreateVPCRequest struct { request.CommonBase // VPC名称 Name *string `required:"true"` // VPC网段 Network []string `required:"true"` // 备注 Remark *string `required:"false"` // 业务组名称 Tag *string `required:"false"` // 【该字段已废弃,请谨慎使用】 Type *int `required:"false" deprecated:"true"` }
CreateVPCRequest is request schema for CreateVPC action
type CreateVPCResponse ¶
type CreateVPCResponse struct { response.CommonBase // VPC资源Id VPCId string }
CreateVPCResponse is response schema for CreateVPC action
type DeleteNATGWPolicyRequest ¶ added in v0.10.0
type DeleteNATGWPolicyRequest struct { request.CommonBase // NAT网关Id NATGWId *string `required:"true"` // 端口转发规则Id PolicyId *string `required:"true"` }
DeleteNATGWPolicyRequest is request schema for DeleteNATGWPolicy action
type DeleteNATGWPolicyResponse ¶ added in v0.10.0
type DeleteNATGWPolicyResponse struct {
response.CommonBase
}
DeleteNATGWPolicyResponse is response schema for DeleteNATGWPolicy action
type DeleteNATGWRequest ¶ added in v0.10.0
type DeleteNATGWRequest struct { request.CommonBase // NAT网关Id NATGWId *string `required:"true"` // 是否释放绑定的EIP。true:解绑并释放;false:只解绑不释放。默认为false ReleaseEip *bool `required:"false"` }
DeleteNATGWRequest is request schema for DeleteNATGW action
type DeleteNATGWResponse ¶ added in v0.10.0
type DeleteNATGWResponse struct {
response.CommonBase
}
DeleteNATGWResponse is response schema for DeleteNATGW action
type DeleteNetworkAclAssociationRequest ¶ added in v0.14.1
type DeleteNetworkAclAssociationRequest struct { request.CommonBase // 需要删除的AclId AclId *string `required:"true"` // 绑定的子网ID SubnetworkId *string `required:"true"` }
DeleteNetworkAclAssociationRequest is request schema for DeleteNetworkAclAssociation action
type DeleteNetworkAclAssociationResponse ¶ added in v0.14.1
type DeleteNetworkAclAssociationResponse struct {
response.CommonBase
}
DeleteNetworkAclAssociationResponse is response schema for DeleteNetworkAclAssociation action
type DeleteNetworkAclEntryRequest ¶ added in v0.14.1
type DeleteNetworkAclEntryRequest struct { request.CommonBase // Acl的ID AclId *string `required:"true"` // 需要删除的EntryId EntryId *string `required:"true"` }
DeleteNetworkAclEntryRequest is request schema for DeleteNetworkAclEntry action
type DeleteNetworkAclEntryResponse ¶ added in v0.14.1
type DeleteNetworkAclEntryResponse struct {
response.CommonBase
}
DeleteNetworkAclEntryResponse is response schema for DeleteNetworkAclEntry action
type DeleteNetworkAclRequest ¶ added in v0.14.1
type DeleteNetworkAclRequest struct { request.CommonBase // 需要删除的AclId AclId *string `required:"true"` }
DeleteNetworkAclRequest is request schema for DeleteNetworkAcl action
type DeleteNetworkAclResponse ¶ added in v0.14.1
type DeleteNetworkAclResponse struct {
response.CommonBase
}
DeleteNetworkAclResponse is response schema for DeleteNetworkAcl action
type DeleteNetworkInterfaceRequest ¶ added in v0.21.46
type DeleteNetworkInterfaceRequest struct { request.CommonBase // 虚拟网卡ID InterfaceId *string `required:"true"` }
DeleteNetworkInterfaceRequest is request schema for DeleteNetworkInterface action
type DeleteNetworkInterfaceResponse ¶ added in v0.21.46
type DeleteNetworkInterfaceResponse struct {
response.CommonBase
}
DeleteNetworkInterfaceResponse is response schema for DeleteNetworkInterface action
type DeleteRouteTableRequest ¶ added in v0.14.1
type DeleteRouteTableRequest struct { request.CommonBase // 路由表资源ID RouteTableId *string `required:"true"` }
DeleteRouteTableRequest is request schema for DeleteRouteTable action
type DeleteRouteTableResponse ¶ added in v0.14.1
type DeleteRouteTableResponse struct {
response.CommonBase
}
DeleteRouteTableResponse is response schema for DeleteRouteTable action
type DeleteSecondaryIpRequest ¶ added in v0.14.1
type DeleteSecondaryIpRequest struct { request.CommonBase // ip Ip *string `required:"true"` // mac Mac *string `required:"true"` // 资源Id ObjectId *string `required:"false"` // 子网Id SubnetId *string `required:"true"` // VPCId VPCId *string `required:"false"` }
DeleteSecondaryIpRequest is request schema for DeleteSecondaryIp action
type DeleteSecondaryIpResponse ¶ added in v0.14.1
type DeleteSecondaryIpResponse struct {
response.CommonBase
}
DeleteSecondaryIpResponse is response schema for DeleteSecondaryIp action
type DeleteSnatDnatRuleRequest ¶ added in v0.21.38
type DeleteSnatDnatRuleRequest struct { request.CommonBase // EIP的IP地址,PrivateIp与EIP需一一对应 EIP []string `required:"true"` // 映射所使用的NAT网关资源ID NATGWId *string `required:"true"` // 内网P地址 PrivateIp []string `required:"true"` }
DeleteSnatDnatRuleRequest is request schema for DeleteSnatDnatRule action
type DeleteSnatDnatRuleResponse ¶ added in v0.21.38
type DeleteSnatDnatRuleResponse struct {
response.CommonBase
}
DeleteSnatDnatRuleResponse is response schema for DeleteSnatDnatRule action
type DeleteSnatRuleRequest ¶ added in v0.21.2
type DeleteSnatRuleRequest struct { request.CommonBase // NAT网关的ID NATGWId *string `required:"true"` // 需要出外网的私网IP地址,例如10.9.7.xx SourceIp *string `required:"true"` }
DeleteSnatRuleRequest is request schema for DeleteSnatRule action
type DeleteSnatRuleResponse ¶ added in v0.21.2
type DeleteSnatRuleResponse struct {
response.CommonBase
}
DeleteSnatRuleResponse is response schema for DeleteSnatRule action
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct { request.CommonBase // 子网ID SubnetId *string `required:"true"` }
DeleteSubnetRequest is request schema for DeleteSubnet action
type DeleteSubnetResponse ¶
type DeleteSubnetResponse struct {
response.CommonBase
}
DeleteSubnetResponse is response schema for DeleteSubnet action
type DeleteVPCIntercomRequest ¶
type DeleteVPCIntercomRequest struct { request.CommonBase // 目的VPC所在项目ID,默认为源VPC所在项目ID DstProjectId *string `required:"false"` // 目的VPC所在地域,默认为源VPC所在地域 DstRegion *string `required:"false"` // 目的VPC短ID DstVPCId *string `required:"true"` // 源VPC短ID VPCId *string `required:"true"` }
DeleteVPCIntercomRequest is request schema for DeleteVPCIntercom action
type DeleteVPCIntercomResponse ¶
type DeleteVPCIntercomResponse struct {
response.CommonBase
}
DeleteVPCIntercomResponse is response schema for DeleteVPCIntercom action
type DeleteVPCRequest ¶
type DeleteVPCRequest struct { request.CommonBase // VPC资源Id VPCId *string `required:"true"` }
DeleteVPCRequest is request schema for DeleteVPC action
type DeleteVPCResponse ¶
type DeleteVPCResponse struct {
response.CommonBase
}
DeleteVPCResponse is response schema for DeleteVPC action
type DeleteWhiteListResourceRequest ¶ added in v0.10.0
type DeleteWhiteListResourceRequest struct { request.CommonBase // NAT网关Id NATGWId *string `required:"true"` // 删除白名单的资源Id ResourceIds []string `required:"true"` }
DeleteWhiteListResourceRequest is request schema for DeleteWhiteListResource action
type DeleteWhiteListResourceResponse ¶ added in v0.10.0
type DeleteWhiteListResourceResponse struct {
response.CommonBase
}
DeleteWhiteListResourceResponse is response schema for DeleteWhiteListResource action
type DescribeInstanceNetworkInterfaceRequest ¶ added in v0.21.38
type DescribeInstanceNetworkInterfaceRequest struct { request.CommonBase // 云主机ID InstanceId *string `required:"true"` // 默认为20 Limit *int `required:"false"` // 默认为0 Offset *int `required:"false"` }
DescribeInstanceNetworkInterfaceRequest is request schema for DescribeInstanceNetworkInterface action
type DescribeInstanceNetworkInterfaceResponse ¶ added in v0.21.38
type DescribeInstanceNetworkInterfaceResponse struct { response.CommonBase // 虚拟网卡信息 NetworkInterfaceSet []InstanceNetworkInterface }
DescribeInstanceNetworkInterfaceResponse is response schema for DescribeInstanceNetworkInterface action
type DescribeNATGWPolicyRequest ¶ added in v0.10.0
type DescribeNATGWPolicyRequest struct { request.CommonBase // 返回数据长度,默认为10000 Limit *int `required:"false"` // NAT网关Id NATGWId *string `required:"true"` // 列表起始位置偏移量,默认为0 Offset *int `required:"false"` }
DescribeNATGWPolicyRequest is request schema for DescribeNATGWPolicy action
type DescribeNATGWPolicyResponse ¶ added in v0.10.0
type DescribeNATGWPolicyResponse struct { response.CommonBase // 查到的NATGW 转发策略的详细信息 DataSet []NATGWPolicyDataSet // 满足条件的转发策略总数 TotalCount int }
DescribeNATGWPolicyResponse is response schema for DescribeNATGWPolicy action
type DescribeNATGWRequest ¶ added in v0.10.0
type DescribeNATGWRequest struct { request.CommonBase // 数据分页值。默认为20 Limit *int `required:"false"` // NAT网关Id。默认为该项目下所有NAT网关 NATGWIds []string `required:"false"` // 数据偏移量。默认为0 Offset *int `required:"false"` }
DescribeNATGWRequest is request schema for DescribeNATGW action
type DescribeNATGWResponse ¶ added in v0.10.0
type DescribeNATGWResponse struct { response.CommonBase // 查到的NATGW信息列表 DataSet []NatGatewayDataSet // 满足条件的实例的总数 TotalCount int }
DescribeNATGWResponse is response schema for DescribeNATGW action
type DescribeNetworkAclAssociationBySubnetRequest ¶ added in v0.14.1
type DescribeNetworkAclAssociationBySubnetRequest struct { request.CommonBase // 子网的ID SubnetworkId *string `required:"true"` }
DescribeNetworkAclAssociationBySubnetRequest is request schema for DescribeNetworkAclAssociationBySubnet action
type DescribeNetworkAclAssociationBySubnetResponse ¶ added in v0.14.1
type DescribeNetworkAclAssociationBySubnetResponse struct { response.CommonBase // 绑定信息 Association AssociationInfo }
DescribeNetworkAclAssociationBySubnetResponse is response schema for DescribeNetworkAclAssociationBySubnet action
type DescribeNetworkAclAssociationRequest ¶ added in v0.14.1
type DescribeNetworkAclAssociationRequest struct { request.CommonBase // Acl的ID AclId *string `required:"true"` // 列表获取的个数限制 Limit *string `required:"false"` // 列表偏移量 Offset *int `required:"false"` }
DescribeNetworkAclAssociationRequest is request schema for DescribeNetworkAclAssociation action
type DescribeNetworkAclAssociationResponse ¶ added in v0.14.1
type DescribeNetworkAclAssociationResponse struct { response.CommonBase // 绑定信息列表 AssociationList []AssociationInfo }
DescribeNetworkAclAssociationResponse is response schema for DescribeNetworkAclAssociation action
type DescribeNetworkAclEntryRequest ¶ added in v0.14.1
type DescribeNetworkAclEntryRequest struct { request.CommonBase // ACL的ID AclId *string `required:"true"` }
DescribeNetworkAclEntryRequest is request schema for DescribeNetworkAclEntry action
type DescribeNetworkAclEntryResponse ¶ added in v0.14.1
type DescribeNetworkAclEntryResponse struct { response.CommonBase // 所有的规则信息 EntryList []AclEntryInfo }
DescribeNetworkAclEntryResponse is response schema for DescribeNetworkAclEntry action
type DescribeNetworkAclRequest ¶ added in v0.14.1
type DescribeNetworkAclRequest struct { request.CommonBase // 列表获取的个数限制 Limit *string `required:"false"` // 列表偏移量 Offset *int `required:"false"` // 需要获取的ACL所属的VPC的ID VpcId *string `required:"false"` }
DescribeNetworkAclRequest is request schema for DescribeNetworkAcl action
type DescribeNetworkAclResponse ¶ added in v0.14.1
type DescribeNetworkAclResponse struct { response.CommonBase // ACL的信息,具体结构见下方AclInfo AclList []AclInfo }
DescribeNetworkAclResponse is response schema for DescribeNetworkAcl action
type DescribeNetworkInterfaceRequest ¶ added in v0.21.38
type DescribeNetworkInterfaceRequest struct { request.CommonBase // 虚拟网卡ID,可指定 0~n InterfaceId []string `required:"false"` // 默认为20 Limit *int `required:"false"` // 若为true 过滤绑定在回收站主机中的网卡。默认为false。 NoRecycled *bool `required:"false"` // 默认为0 Offset *int `required:"false"` // 若为true 只返回默认网卡默认为false OnlyDefault *bool `required:"false"` // 所属子网 SubnetId *string `required:"false"` // 业务组 Tag *string `required:"false"` // 所属VPC VPCId *string `required:"false"` }
DescribeNetworkInterfaceRequest is request schema for DescribeNetworkInterface action
type DescribeNetworkInterfaceResponse ¶ added in v0.21.38
type DescribeNetworkInterfaceResponse struct { response.CommonBase // 虚拟网卡信息 NetworkInterfaceSet []NetworkInterface // 虚拟网卡总数 TotalCount int }
DescribeNetworkInterfaceResponse is response schema for DescribeNetworkInterface action
type DescribeRouteTableRequest ¶ added in v0.14.1
type DescribeRouteTableRequest struct { request.CommonBase // 默认为 false, 返回详细路由规则信息 Brief *bool `required:"false"` // 业务组ID BusinessId *string `required:"false"` // 数据分页值。默认为20 Limit *int `required:"false"` // 默认为 false, 表示路由表是短 ID LongId *string `required:"false"` // 数据偏移量。默认为0 OffSet *int `required:"false"` // 路由表资源ID RouteTableId *string `required:"false"` // 所属VPC的资源ID VPCId *string `required:"false"` }
DescribeRouteTableRequest is request schema for DescribeRouteTable action
type DescribeRouteTableResponse ¶ added in v0.14.1
type DescribeRouteTableResponse struct { response.CommonBase // 路由表信息 RouteTables []RouteTableInfo // RouteTables字段的数量 TotalCount int }
DescribeRouteTableResponse is response schema for DescribeRouteTable action
type DescribeSecondaryIpRequest ¶ added in v0.14.1
type DescribeSecondaryIpRequest struct { request.CommonBase // Ip Ip *string `required:"false"` // Mac Mac *string `required:"false"` // 子网Id SubnetId *string `required:"true"` // VPCId VPCId *string `required:"true"` }
DescribeSecondaryIpRequest is request schema for DescribeSecondaryIp action
type DescribeSecondaryIpResponse ¶ added in v0.14.1
type DescribeSecondaryIpResponse struct { response.CommonBase // DataSet []IpInfo }
DescribeSecondaryIpResponse is response schema for DescribeSecondaryIp action
type DescribeSnatDnatRuleRequest ¶ added in v0.21.38
type DescribeSnatDnatRuleRequest struct { request.CommonBase // 获取EIP对应的SnatDnatRule信息 EIP []string `required:"false"` // 获取NAT上添加的所有SnatDnatRule信息 NATGWId []string `required:"false"` }
DescribeSnatDnatRuleRequest is request schema for DescribeSnatDnatRule action
type DescribeSnatDnatRuleResponse ¶ added in v0.21.38
type DescribeSnatDnatRuleResponse struct { response.CommonBase // 规则信息 DataSet []SnatDnatRuleInfo }
DescribeSnatDnatRuleResponse is response schema for DescribeSnatDnatRule action
type DescribeSnatRuleRequest ¶ added in v0.21.2
type DescribeSnatRuleRequest struct { request.CommonBase // 分页,默认为20 Limit *string `required:"false"` // NAT网关的ID NATGWId *string `required:"true"` // 偏移,默认为0 Offset *string `required:"false"` // EIP的ip地址,例如106.75.xx.xx SnatIp *string `required:"false"` // 需要出外网的私网IP地址,例如10.9.7.xx SourceIp *string `required:"false"` }
DescribeSnatRuleRequest is request schema for DescribeSnatRule action
type DescribeSnatRuleResponse ¶ added in v0.21.2
type DescribeSnatRuleResponse struct { response.CommonBase // 某个NAT网关的所有Snat规则 DataSet []NATGWSnatRule // 规则数量 TotalCount int }
DescribeSnatRuleResponse is response schema for DescribeSnatRule action
type DescribeSubnetRequest ¶
type DescribeSubnetRequest struct { request.CommonBase // 【该字段已废弃,请谨慎使用】 BusinessId *string `required:"false" deprecated:"true"` // 列表长度,默认为20 Limit *int `required:"false"` // 偏移量,默认为0 Offset *int `required:"false"` // 路由表Id RouteTableId *string `required:"false"` // 是否返回子网的可用IP数,true为是,false为否,默认不返回 ShowAvailableIPs *bool `required:"false"` // 子网id,适用于一次查询一个子网信息 SubnetId *string `required:"false"` // 子网id数组,适用于一次查询多个子网信息 SubnetIds []string `required:"false"` // 业务组名称,默认为Default Tag *string `required:"false"` // VPC资源id VPCId *string `required:"false"` }
DescribeSubnetRequest is request schema for DescribeSubnet action
type DescribeSubnetResourceRequest ¶
type DescribeSubnetResourceRequest struct { request.CommonBase // 单页返回数据长度,默认为20 Limit *int `required:"false"` // 列表起始位置偏移量,默认为0 Offset *int `required:"false"` // 资源类型,默认为全部资源类型。枚举值为:UHOST,云主机;PHOST,物理云主机;ULB,负载均衡;UHADOOP_HOST,hadoop节点;UFORTRESS_HOST,堡垒机;UNATGW,NAT网关;UKAFKA,Kafka消息队列;UMEM,内存存储;DOCKER,容器集群;UDB,数据库;UDW,数据仓库;VIP,内网VIP. ResourceType *string `required:"false"` // 子网id SubnetId *string `required:"true"` }
DescribeSubnetResourceRequest is request schema for DescribeSubnetResource action
type DescribeSubnetResourceResponse ¶
type DescribeSubnetResourceResponse struct { response.CommonBase // 返回数据集,请见SubnetResource DataSet []SubnetResource // 总数 TotalCount int }
DescribeSubnetResourceResponse is response schema for DescribeSubnetResource action
type DescribeSubnetResponse ¶
type DescribeSubnetResponse struct { response.CommonBase // 子网信息数组,具体资源见下方SubnetInfo DataSet []SubnetInfo // 子网总数量 TotalCount int }
DescribeSubnetResponse is response schema for DescribeSubnet action
type DescribeVIPRequest ¶ added in v0.14.1
type DescribeVIPRequest struct { request.CommonBase // 业务组 BusinessId *string `required:"false"` // 子网id,不指定则获取VPCId下的所有vip SubnetId *string `required:"false"` // 业务组名称, 默认为 Default Tag *string `required:"false"` // VIP ID VIPId *string `required:"false"` // vpc的id,指定SubnetId时必填 VPCId *string `required:"false"` }
DescribeVIPRequest is request schema for DescribeVIP action
type DescribeVIPResponse ¶ added in v0.14.1
type DescribeVIPResponse struct { response.CommonBase // 内网VIP地址列表 DataSet []string // vip数量 TotalCount int // 内网VIP详情,请见VIPDetailSet VIPSet []VIPDetailSet }
DescribeVIPResponse is response schema for DescribeVIP action
type DescribeVPCIntercomRequest ¶
type DescribeVPCIntercomRequest struct { request.CommonBase // 目的项目ID,默认为全部项目 DstProjectId *string `required:"false"` // 目的VPC所在地域,默认为全部地域 DstRegion *string `required:"false"` // VPC短ID VPCId *string `required:"true"` }
DescribeVPCIntercomRequest is request schema for DescribeVPCIntercom action
type DescribeVPCIntercomResponse ¶
type DescribeVPCIntercomResponse struct { response.CommonBase // 联通VPC信息数组 DataSet []VPCIntercomInfo }
DescribeVPCIntercomResponse is response schema for DescribeVPCIntercom action
type DescribeVPCRequest ¶
type DescribeVPCRequest struct { request.CommonBase // 数据分页值 Limit *int `required:"false"` // 数据偏移量,默认为0 Offset *int `required:"false"` // 业务组名称 Tag *string `required:"false"` // VPCId VPCIds []string `required:"false"` }
DescribeVPCRequest is request schema for DescribeVPC action
type DescribeVPCResponse ¶
type DescribeVPCResponse struct { response.CommonBase // vpc信息,具体结构见下方VPCInfo DataSet []VPCInfo // TotalCount int }
DescribeVPCResponse is response schema for DescribeVPC action
type DescribeWhiteListResourceObjectIPInfo ¶ added in v0.10.0
type DescribeWhiteListResourceObjectIPInfo struct { // natgw字符串 GwType string // 白名单资源的内网IP PrivateIP string // 白名单资源Id信息 ResourceId string // 白名单资源名称 ResourceName string // 白名单资源类型 ResourceType string // 资源绑定的虚拟网卡的实例ID SubResourceId string // 资源绑定的虚拟网卡的实例名称 SubResourceName string // 资源绑定的虚拟网卡的类型 SubResourceType string // 白名单资源所属VPCId VPCId string }
DescribeWhiteListResourceObjectIPInfo - DescribeWhiteListResource
type DescribeWhiteListResourceRequest ¶ added in v0.10.0
type DescribeWhiteListResourceRequest struct { request.CommonBase // 数据分页值, 默认为20 Limit *int `required:"false"` // NAT网关的Id NATGWIds []string `required:"true"` // 数据偏移量, 默认为0 Offset *int `required:"false"` }
DescribeWhiteListResourceRequest is request schema for DescribeWhiteListResource action
type DescribeWhiteListResourceResponse ¶ added in v0.10.0
type DescribeWhiteListResourceResponse struct { response.CommonBase // 白名单资源的详细信息,详见DescribeResourceWhiteListDataSet DataSet []NatGWWhitelistDataSet // 上述DataSet总数量 TotalCount int }
DescribeWhiteListResourceResponse is response schema for DescribeWhiteListResource action
type DetachNetworkInterfaceRequest ¶ added in v0.21.43
type DetachNetworkInterfaceRequest struct { request.CommonBase // 云主机ID InstanceId *string `required:"true"` // 虚拟网卡ID InterfaceId *string `required:"true"` }
DetachNetworkInterfaceRequest is request schema for DetachNetworkInterface action
type DetachNetworkInterfaceResponse ¶ added in v0.21.43
type DetachNetworkInterfaceResponse struct {
response.CommonBase
}
DetachNetworkInterfaceResponse is response schema for DetachNetworkInterface action
type EnableWhiteListRequest ¶ added in v0.10.0
type EnableWhiteListRequest struct { request.CommonBase // 白名单开关标记。0:关闭;1:开启。默认为0 IfOpen *int `required:"true"` // NAT网关Id NATGWId *string `required:"true"` }
EnableWhiteListRequest is request schema for EnableWhiteList action
type EnableWhiteListResponse ¶ added in v0.10.0
type EnableWhiteListResponse struct {
response.CommonBase
}
EnableWhiteListResponse is response schema for EnableWhiteList action
type GetAvailableResourceForPolicyDataSet ¶ added in v0.10.0
type GetAvailableResourceForPolicyDataSet struct { // 资源对应的内网Ip PrivateIP string // 资源的Id ResourceId string // 资源类型。"uhost":云主机; "upm",物理云主机; "hadoophost":hadoop节点; "fortresshost":堡垒机: "udockhost",容器 ResourceType string }
GetAvailableResourceForPolicyDataSet - GetAvailableResourceForPolicy
type GetAvailableResourceForPolicyRequest ¶ added in v0.10.0
type GetAvailableResourceForPolicyRequest struct { request.CommonBase // 返回数据长度,默认为20 Limit *int `required:"false"` // NAT网关Id NATGWId *string `required:"true"` // 列表起始位置偏移量,默认为0 Offset *int `required:"false"` }
GetAvailableResourceForPolicyRequest is request schema for GetAvailableResourceForPolicy action
type GetAvailableResourceForPolicyResponse ¶ added in v0.10.0
type GetAvailableResourceForPolicyResponse struct { response.CommonBase // 支持资源类型的信息 DataSet []GetAvailableResourceForPolicyDataSet }
GetAvailableResourceForPolicyResponse is response schema for GetAvailableResourceForPolicy action
type GetAvailableResourceForSnatRuleDataSet ¶ added in v0.21.2
type GetAvailableResourceForSnatRuleDataSet struct { // 资源内网IP PrivateIP string // 资源ID ResourceId string // 资源名称 ResourceName string // 资源类型 ResourceType string // 资源所属VPC的ID SubnetworkId string // 资源所属子网的ID VPCId string }
GetAvailableResourceForSnatRuleDataSet -
type GetAvailableResourceForSnatRuleRequest ¶ added in v0.21.2
type GetAvailableResourceForSnatRuleRequest struct { request.CommonBase // 数据分页值, 默认为20 Limit *int `required:"false"` // NAT网关Id NATGWId *string `required:"true"` // 数据偏移量, 默认为0 Offset *int `required:"false"` }
GetAvailableResourceForSnatRuleRequest is request schema for GetAvailableResourceForSnatRule action
type GetAvailableResourceForSnatRuleResponse ¶ added in v0.21.2
type GetAvailableResourceForSnatRuleResponse struct { response.CommonBase // 操作名称 Action string // 返回的资源详细信息 DataSet []GetAvailableResourceForSnatRuleDataSet // 返回值 RetCode string // 总数 TotalCount int }
GetAvailableResourceForSnatRuleResponse is response schema for GetAvailableResourceForSnatRule action
type GetAvailableResourceForWhiteListDataSet ¶ added in v0.10.0
type GetAvailableResourceForWhiteListDataSet struct { // 资源的内网Ip PrivateIP string // 资源类型Id ResourceId string // 资源名称 ResourceName string // 资源类型。"uhost":云主机; "upm",物理云主机; "hadoophost":hadoop节点; "fortresshost":堡垒机: "udockhost",容器 ResourceType string // 资源绑定的虚拟网卡的实例ID SubResouceId string `deprecated:"true"` // 资源绑定的虚拟网卡的实例类型 SubResouceType string `deprecated:"true"` // 资源绑定的虚拟网卡的实例ID SubResourceId string // 资源绑定的虚拟网卡的实例名称 SubResourceName string // 资源绑定的虚拟网卡的实例类型 SubResourceType string // 资源所属子网Id SubnetworkId string // 资源所属VPCId VPCId string }
GetAvailableResourceForWhiteListDataSet - GetAvailableResourceForWhiteList
type GetAvailableResourceForWhiteListRequest ¶ added in v0.10.0
type GetAvailableResourceForWhiteListRequest struct { request.CommonBase // 数据分页值, 默认为20 Limit *int `required:"false"` // NAT网关Id NATGWId *string `required:"true"` // 数据偏移量, 默认为0 Offset *int `required:"false"` }
GetAvailableResourceForWhiteListRequest is request schema for GetAvailableResourceForWhiteList action
type GetAvailableResourceForWhiteListResponse ¶ added in v0.10.0
type GetAvailableResourceForWhiteListResponse struct { response.CommonBase // 返回白名单列表的详细信息 DataSet []GetAvailableResourceForWhiteListDataSet // 白名单资源列表的总的个数 TotalCount int }
GetAvailableResourceForWhiteListResponse is response schema for GetAvailableResourceForWhiteList action
type GetNetworkAclTargetResourceRequest ¶ added in v0.14.1
type GetNetworkAclTargetResourceRequest struct { request.CommonBase // 子网ID。 SubnetworkId []string `required:"true"` }
GetNetworkAclTargetResourceRequest is request schema for GetNetworkAclTargetResource action
type GetNetworkAclTargetResourceResponse ¶ added in v0.14.1
type GetNetworkAclTargetResourceResponse struct { response.CommonBase // ACL规则应用目标资源列表,具体结构见下方TargetResourceInfo TargetResourceList []TargetResourceInfo // ACL规则应用目标资源总数 TotalCount int }
GetNetworkAclTargetResourceResponse is response schema for GetNetworkAclTargetResource action
type InstanceNetworkInterface ¶ added in v0.21.38
type InstanceNetworkInterface struct { // 绑定实例资源ID AttachInstanceId string // 创建时间 CreateTime int // 是否是绑定实例的默认网卡 false:不是 true:是 Default bool // 虚拟网卡绑定的EIP ID信息 EIPIdSet []string // 虚拟网卡绑定的防火墙ID信息 FirewallIdSet []string // 默认网关 Gateway string // 虚拟网卡资源ID InterfaceId string // 关联Mac MacAddress string // 虚拟网卡名称 Name string // 内网IP掩码 Netmask string // 关联内网IP。当前一个网卡仅支持绑定一个内网IP PrivateIpSet []string // 备注 Remark string // 绑定状态 Status int // 所属子网 SubnetId string // 业务组 Tag string // 所属VPC VPCId string }
InstanceNetworkInterface - 实例绑定的虚拟网卡信息
type IpInfo ¶ added in v0.14.1
type IpInfo struct { // Gateway string // Ip string // Mac string // Mask string // SubnetId string // VPCId string }
IpInfo -
type IpsInfo ¶ added in v0.21.38
type IpsInfo struct { // 网关 Gateway string // 内网IP地址 Ip string // MAC地址 Mac string // 掩码 Mask string // IP分配结果,详见StatusInfo Status StatusInfo // 子网资源ID SubnetId string // VPC资源ID VPCId string }
IpsInfo -
type ListSubnetForNATGWRequest ¶ added in v0.10.0
type ListSubnetForNATGWRequest struct { request.CommonBase // NAT网关所属VPC Id。默认值为Default VPC Id VPCId *string `required:"false"` }
ListSubnetForNATGWRequest is request schema for ListSubnetForNATGW action
type ListSubnetForNATGWResponse ¶ added in v0.10.0
type ListSubnetForNATGWResponse struct { response.CommonBase // 具体参数请见NatgwSubnetDataSet DataSet []NatgwSubnetDataSet }
ListSubnetForNATGWResponse is response schema for ListSubnetForNATGW action
type ModifyRouteRuleRequest ¶ added in v0.14.1
type ModifyRouteRuleRequest struct { request.CommonBase // 格式: RouteRuleId | 目的网段 | 下一跳类型(支持INSTANCE、VIP) | 下一跳 |优先级(保留字段,填写0即可)| 备注 | 增、删、改标志(add/delete/update) 。"添加"示例: test_id | 10.8.0.0/16 | instance | uhost-xd8ja | 0 | Default Route Rule| add (添加的RouteRuleId填任意非空字符串) 。"删除"示例: routerule-xk3jxa | 10.8.0.0/16 | instance | uhost-xd8ja | 0 | Default Route Rule| delete (RouteRuleId来自DescribeRouteTable中) 。“修改”示例: routerule-xk3jxa | 10.8.0.0/16 | instance | uhost-cjksa2 | 0 | Default Route Rule| update (RouteRuleId来自DescribeRouteTable中) RouteRule []string `required:"true"` // 通过DescribeRouteTable拿到 RouteTableId *string `required:"true"` }
ModifyRouteRuleRequest is request schema for ModifyRouteRule action
type ModifyRouteRuleResponse ¶ added in v0.14.1
type ModifyRouteRuleResponse struct {
response.CommonBase
}
ModifyRouteRuleResponse is response schema for ModifyRouteRule action
type MoveSecondaryIPMacRequest ¶ added in v0.21.6
type MoveSecondaryIPMacRequest struct { request.CommonBase // Secondary IP Ip *string `required:"true"` // 新 Mac。Secondary IP 迁移的目的 Mac NewMac *string `required:"true"` // 旧 Mac。Secondary IP 当前所绑定的 Mac OldMac *string `required:"true"` // 子网 ID。IP/OldMac/NewMac 三者必须在同一子网 SubnetId *string `required:"true"` }
MoveSecondaryIPMacRequest is request schema for MoveSecondaryIPMac action
type MoveSecondaryIPMacResponse ¶ added in v0.21.6
type MoveSecondaryIPMacResponse struct {
response.CommonBase
}
MoveSecondaryIPMacResponse is response schema for MoveSecondaryIPMac action
type NATGWPolicyDataSet ¶ added in v0.10.0
type NATGWPolicyDataSet struct { // 目的地址 DstIP string // 目的端口 DstPort string // NAT网关Id NATGWId string // 转发策略Id PolicyId string // 转发策略名称 PolicyName string // 协议类型 Protocol string // 端口转发前端EIP SrcEIP string // 端口转发前端EIP Id SrcEIPId string // 源端口 SrcPort string }
NATGWPolicyDataSet - DescribeNATGWPolicy
type NATGWSnatRule ¶ added in v0.21.2
type NATGWSnatRule struct { // snat规则名称 Name string // EIP地址,如106.76.xx.xx SnatIp string // 资源的内网IP地址 SourceIp string // SourceIp所属的子网id SubnetworkId string }
NATGWSnatRule - Nat网关的Snat规则
type NatGWIPResInfo ¶ added in v0.10.0
NatGWIPResInfo - IP信息
type NatGWWhitelistDataSet ¶ added in v0.10.0
type NatGWWhitelistDataSet struct { // 白名单开关标记 IfOpen int // NATGateWay Id NATGWId string // 白名单详情 ObjectIPInfo []DescribeWhiteListResourceObjectIPInfo }
NatGWWhitelistDataSet - nat网关白名单数据
type NatGatewayDataSet ¶ added in v0.10.0
type NatGatewayDataSet struct { // natgw创建时间 CreateTime int // 绑定的防火墙Id FirewallId string // 绑定的EIP 信息 IPSet []NatGatewayIPSet // 枚举值,“enable”,默认出口规则使用了负载均衡;“disable”,默认出口规则未使用负载均衡。 IsSnatpoolEnabled string // natgw id NATGWId string // natgw名称 NATGWName string // 转发策略Id PolicyId []string // 备注 Remark string // 子网 Id SubnetSet []NatGatewaySubnetSet // 业务组 Tag string // 所属VPC Id VPCId string // 所属VPC 信息 VPCInfo string `deprecated:"true"` // VPC名称 VPCName string }
NatGatewayDataSet - natgw的信息
type NatGatewayIPSet ¶ added in v0.10.0
type NatGatewayIPSet struct { // 带宽 Bandwidth int // EIP带宽类型 BandwidthType string // 外网IP的 EIPId EIPId string // 外网IP信息 IPResInfo []NatGWIPResInfo // 权重为100的为出口 Weight int }
NatGatewayIPSet - IPSet信息
type NatGatewaySubnetSet ¶ added in v0.10.0
type NatGatewaySubnetSet struct { // 子网网段 Subnet string // 子网名字 SubnetName string // 子网id SubnetworkId string }
NatGatewaySubnetSet - natgw里面的子网信息
type NatgwSubnetDataSet ¶ added in v0.10.0
type NatgwSubnetDataSet struct { // 是否绑定NATGW HasNATGW bool // 掩码 Netmask string // 子网网段 Subnet string // 子网id SubnetId string // 子网名字 SubnetName string }
NatgwSubnetDataSet - natgw可以绑定的子网
type NetworkInterface ¶ added in v0.21.38
type NetworkInterface struct { // 绑定实例资源ID AttachInstanceId string // 创建时间 CreateTime int // 是否是绑定实例的默认网卡 false:不是 true:是 Default bool // 虚拟网卡绑定的EIP ID信息 EIPIdSet []string // 虚拟网卡绑定的防火墙ID信息 FirewallIdSet []string // 默认网关 Gateway string // 虚拟网卡资源ID InterfaceId string // 关联Mac MacAddress string // 虚拟网卡名称 Name string // 内网IP掩码 Netmask string // 网卡的内网IP信息 PrivateIp []UNIIpInfo // 网卡的内网IP配额信息 PrivateIpLimit UNIQuotaInfo // 关联内网IP。当前一个网卡仅支持绑定一个内网IP PrivateIpSet []string // 备注 Remark string // 绑定状态 Status int // 所属子网 SubnetId string // 业务组 Tag string // 所属VPC VPCId string }
NetworkInterface - 虚拟网卡信息
type NetworkInterfaceInfo ¶ added in v0.21.38
type NetworkInterfaceInfo struct { // 绑定实例资源ID AttachInstanceId string // 创建时间 CreateTime int // 是否是绑定实例的默认网卡 false:不是 true:是 Default bool // 默认网关 Gateway string // 虚拟网卡资源ID InterfaceId string // 关联Mac MacAddress string // 虚拟网卡名称 Name string // 内网IP掩码 Netmask string // 关联内网IP。当前一个网卡仅支持绑定一个内网IP PrivateIpSet []string // 备注 Remark string // 绑定状态 Status int // 所属子网 SubnetId string // 业务组 Tag string // 所属VPC VPCId string }
NetworkInterfaceInfo - 虚拟网卡信息
type ReleaseVIPRequest ¶ added in v0.14.1
type ReleaseVIPRequest struct { request.CommonBase // 内网VIP的id VIPId *string `required:"true"` }
ReleaseVIPRequest is request schema for ReleaseVIP action
type ReleaseVIPResponse ¶ added in v0.14.1
type ReleaseVIPResponse struct {
response.CommonBase
}
ReleaseVIPResponse is response schema for ReleaseVIP action
type RouteRuleInfo ¶ added in v0.14.1
type RouteRuleInfo struct { // 项目ID信息 AccountId int // 目的地址 DstAddr string // 保留字段,暂未使用 DstPort int // 实例类型,枚举值:UHOST,云主机;UNI,虚拟网卡;PHOST,物理云主机 InstanceType string // 路由下一跳资源ID NexthopId string // 路由表下一跳类型。LOCAL,本VPC内部通信路由;PUBLIC,公共服务路由;CNAT,外网路由;UDPN,跨域高速通道路由;HYBRIDGW,混合云路由;INSTANCE,实例路由;VNET,VPC联通路由;IPSEC VPN,指向VPN网关的路由。 NexthopType string // 保留字段,暂未使用 OriginAddr string // 保留字段,暂未使用 Priority int // 路由规则备注 Remark string // 规则ID RouteRuleId string // 路由表资源ID RouteTableId string // 路由规则类型。0,系统路由规则;1,自定义路由规则 RuleType int // 保留字段,暂未使用 SrcAddr string // 保留字段,暂未使用 SrcPort int // 所属的VPC VNetId string }
RouteRuleInfo - 路由规则信息
type RouteTableInfo ¶ added in v0.14.1
type RouteTableInfo struct { // 创建时间戳 CreateTime int // 路由表备注 Remark string // 路由规则 RouteRules []RouteRuleInfo // 路由表资源ID RouteTableId string // 路由表类型。1为默认路由表,0为自定义路由表 RouteTableType int // 绑定该路由表的子网数量 SubnetCount int // 绑定该路由表的子网 SubnetIds []string // 路由表所属业务组 Tag string // 路由表所属的VPC资源ID VPCId string // 路由表所属的VPC资源名称 VPCName string }
RouteTableInfo - 路由表信息
type SetGwDefaultExportRequest ¶ added in v0.10.0
type SetGwDefaultExportRequest struct { request.CommonBase // NAT网关绑定的EIP Id。ExportIp和ExportEipId必填一个 ExportEipId *string `required:"false"` // NAT网关绑定的EIP。ExportIp和ExportEipId必填一个 ExportIp *string `required:"false"` // NAT网关Id NATGWId *string `required:"true"` }
SetGwDefaultExportRequest is request schema for SetGwDefaultExport action
type SetGwDefaultExportResponse ¶ added in v0.10.0
type SetGwDefaultExportResponse struct {
response.CommonBase
}
SetGwDefaultExportResponse is response schema for SetGwDefaultExport action
type SnatDnatRuleInfo ¶ added in v0.21.38
type SnatDnatRuleInfo struct { // EIP的IP地址 EIP string // 映射所使用的NAT网关资源ID NATGWId string // 内网IP地址 PrivateIp string }
SnatDnatRuleInfo -
type StatusInfo ¶ added in v0.21.38
StatusInfo -
type SubnetInfo ¶ added in v0.14.1
type SubnetInfo struct { // 可用IP数量 AvailableIPs int // 创建时间 CreateTime int // 子网网关 Gateway string // 是否有natgw HasNATGW bool // 子网关联的IPv6网段 IPv6Network string // 子网掩码 Netmask string // 备注 Remark string // 路由表Id RouteTableId string // 子网网段 Subnet string // 子网Id SubnetId string // 子网名称 SubnetName string // 子网类型 SubnetType int // 业务组 Tag string // VPCId VPCId string // VPC名称 VPCName string // 可用区名称 Zone string }
SubnetInfo - 子网信息
type SubnetResource ¶ added in v0.14.1
type SubnetResource struct { // 资源ip IP string // 名称 Name string // 资源Id ResourceId string // 资源类型。对应的资源类型:UHOST,云主机;PHOST,物理云主机;ULB,负载均衡;UHADOOP_HOST,hadoop节点;UFORTRESS_HOST,堡垒机;UNATGW,NAT网关;UKAFKA,分布式消息系统;UMEM,内存存储;DOCKER,容器集群;UDB,数据库;UDW,数据仓库;VIP,内网VIP. ResourceType string }
SubnetResource - 子网下资源
type TargetResourceInfo ¶ added in v0.14.1
type TargetResourceInfo struct { // 资源内网IP PrivateIP string `deprecated:"true"` // 资源内网IP PrivateIp string // 资源ID ResourceId string // 资源名称 ResourceName string // 资源类型 ResourceType int // 资源绑定的虚拟网卡的ID SubResourceId string // 资源绑定的虚拟网卡的名称 SubResourceName string // 资源绑定虚拟网卡的类型 SubResourceType int // 子网ID SubnetworkId string }
TargetResourceInfo - ACL规则应用目标资源信息。
type UNIQuotaInfo ¶ added in v0.21.38
UNIQuotaInfo - 虚拟网卡内网IP配额使用情况
type UpdateNATGWPolicyRequest ¶ added in v0.10.0
type UpdateNATGWPolicyRequest struct { request.CommonBase // 目标IP。填写对应的目标IP地址 DstIP *string `required:"true"` // 目标端口。可填写固定端口,也可填写端口范围。支持的端口范围为1-65535 DstPort *string `required:"true"` // NAT网关Id NATGWId *string `required:"true"` // 转发策略Id PolicyId *string `required:"true"` // 转发策略名称。默认为空 PolicyName *string `required:"false"` // 协议类型。枚举值为:TCP 、 UDP Protocol *string `required:"true"` // 源IP。填写对应的EIP Id SrcEIPId *string `required:"true"` // 源端口。可填写固定端口,也可填写端口范围。支持的端口范围为1-6553 SrcPort *string `required:"true"` }
UpdateNATGWPolicyRequest is request schema for UpdateNATGWPolicy action
type UpdateNATGWPolicyResponse ¶ added in v0.10.0
type UpdateNATGWPolicyResponse struct {
response.CommonBase
}
UpdateNATGWPolicyResponse is response schema for UpdateNATGWPolicy action
type UpdateNATGWSubnetRequest ¶ added in v0.10.0
type UpdateNATGWSubnetRequest struct { request.CommonBase // NAT网关Id NATGWId *string `required:"true"` // NAT网关绑定的子网Id SubnetworkIds []string `required:"false"` }
UpdateNATGWSubnetRequest is request schema for UpdateNATGWSubnet action
type UpdateNATGWSubnetResponse ¶ added in v0.10.0
type UpdateNATGWSubnetResponse struct {
response.CommonBase
}
UpdateNATGWSubnetResponse is response schema for UpdateNATGWSubnet action
type UpdateNetworkAclEntryRequest ¶ added in v0.14.1
type UpdateNetworkAclEntryRequest struct { request.CommonBase // ACL的ID AclId *string `required:"true"` // IPv4段的CIDR表示 CidrBlock *string `required:"true"` // 描述 Description *string `required:"false"` // 出向或者入向(“Ingress”, "Egress") Direction *string `required:"true"` // 规则的行为("Accept", "Reject") EntryAction *string `required:"true"` // 需要更新的Entry Id EntryId *string `required:"true"` // 针对的协议规则 IpProtocol *string `required:"true"` // 针对的端口范围 PortRange *string `required:"true"` // Entry的优先级,对于同样的Direction来说,不能重复 Priority *int `required:"true"` // 应用目标资源列表。默认为全部资源生效。TargetType为0时不用填写该值 TargetResourceIds []string `required:"false"` // 应用目标类型。0代表“子网内全部资源”, 1代表“子网内指定资源”。默认为0 TargetType *int `required:"false"` }
UpdateNetworkAclEntryRequest is request schema for UpdateNetworkAclEntry action
type UpdateNetworkAclEntryResponse ¶ added in v0.14.1
type UpdateNetworkAclEntryResponse struct {
response.CommonBase
}
UpdateNetworkAclEntryResponse is response schema for UpdateNetworkAclEntry action
type UpdateNetworkAclRequest ¶ added in v0.14.1
type UpdateNetworkAclRequest struct { request.CommonBase // 需要更改的ACL ID AclId *string `required:"true"` // Acl的名称 AclName *string `required:"true"` // 描述 Description *string `required:"true"` }
UpdateNetworkAclRequest is request schema for UpdateNetworkAcl action
type UpdateNetworkAclResponse ¶ added in v0.14.1
type UpdateNetworkAclResponse struct {
response.CommonBase
}
UpdateNetworkAclResponse is response schema for UpdateNetworkAcl action
type UpdateRouteTableAttributeRequest ¶ added in v0.14.1
type UpdateRouteTableAttributeRequest struct { request.CommonBase // 名称 Name *string `required:"false"` // 备注 Remark *string `required:"false"` // 路由表ID RouteTableId *string `required:"true"` // 业务组名称 Tag *string `required:"false"` }
UpdateRouteTableAttributeRequest is request schema for UpdateRouteTableAttribute action
type UpdateRouteTableAttributeResponse ¶ added in v0.14.1
type UpdateRouteTableAttributeResponse struct {
response.CommonBase
}
UpdateRouteTableAttributeResponse is response schema for UpdateRouteTableAttribute action
type UpdateSnatRuleRequest ¶ added in v0.21.2
type UpdateSnatRuleRequest struct { request.CommonBase // NAT网关的ID, NATGWId *string `required:"true"` // snat名称,即出口规则名称 Name *string `required:"false"` // EIP的ip地址,例如106.75.xx.xx SnatIp *string `required:"true"` // 需要出外网的私网IP地址,例如10.9.7.xx SourceIp *string `required:"true"` }
UpdateSnatRuleRequest is request schema for UpdateSnatRule action
type UpdateSnatRuleResponse ¶ added in v0.21.2
type UpdateSnatRuleResponse struct {
response.CommonBase
}
UpdateSnatRuleResponse is response schema for UpdateSnatRule action
type UpdateSubnetAttributeRequest ¶
type UpdateSubnetAttributeRequest struct { request.CommonBase // 子网名称(如果Name不填写,Tag必须填写) Name *string `required:"false"` // 子网ID SubnetId *string `required:"true"` // 业务组名称(如果Tag不填写,Name必须填写) Tag *string `required:"false"` }
UpdateSubnetAttributeRequest is request schema for UpdateSubnetAttribute action
type UpdateSubnetAttributeResponse ¶
type UpdateSubnetAttributeResponse struct {
response.CommonBase
}
UpdateSubnetAttributeResponse is response schema for UpdateSubnetAttribute action
type UpdateVIPAttributeRequest ¶ added in v0.14.1
type UpdateVIPAttributeRequest struct { request.CommonBase // 内网VIP的名称 Name *string `required:"false"` // 内网VIP的备注 Remark *string `required:"false"` // 内网VIP所属的业务组 Tag *string `required:"false"` // 内网VIP的资源Id VIPId *string `required:"true"` }
UpdateVIPAttributeRequest is request schema for UpdateVIPAttribute action
type UpdateVIPAttributeResponse ¶ added in v0.14.1
type UpdateVIPAttributeResponse struct {
response.CommonBase
}
UpdateVIPAttributeResponse is response schema for UpdateVIPAttribute action
type UpdateVPCNetworkRequest ¶ added in v0.6.9
type UpdateVPCNetworkRequest struct { request.CommonBase // 需要保留的VPC网段。当前仅支持删除VPC网段,添加网段请参考[AddVPCNetwork](https://docs.ucloud.cn/api/vpc2.0-api/add_vpc_network) Network []string `required:"true"` // VPC的ID VPCId *string `required:"true"` }
UpdateVPCNetworkRequest is request schema for UpdateVPCNetwork action
type UpdateVPCNetworkResponse ¶ added in v0.6.9
type UpdateVPCNetworkResponse struct { response.CommonBase // 【该字段已废弃,请谨慎使用】 Message string `deprecated:"true"` }
UpdateVPCNetworkResponse is response schema for UpdateVPCNetwork action
type VIPDetailSet ¶ added in v0.14.1
type VIPDetailSet struct { // 创建时间 CreateTime int // VIP名称 Name string // 真实主机ip RealIp string // VIP备注 Remark string // 子网id SubnetId string // VIP所属业务组 Tag string // 虚拟ip VIP string // 虚拟ip id VIPId string // VPC id VPCId string // 地域 Zone string }
VIPDetailSet - VIPDetailSet
type VPCClient ¶
VPCClient is the client of VPC
func NewClient ¶
func NewClient(config *ucloud.Config, credential *auth.Credential) *VPCClient
NewClient will return a instance of VPCClient
func (*VPCClient) AddSnatRule ¶ added in v0.21.2
func (c *VPCClient) AddSnatRule(req *AddSnatRuleRequest) (*AddSnatRuleResponse, error)
API: AddSnatRule
对于绑定了多个EIP的NAT网关,您可以将一个子网下的某台云主机映射到某个特定的EIP上,规则生效后,则该云主机通过该特定的EIP访问互联网。
func (*VPCClient) AddVPCNetwork ¶
func (c *VPCClient) AddVPCNetwork(req *AddVPCNetworkRequest) (*AddVPCNetworkResponse, error)
API: AddVPCNetwork
添加VPC网段
func (*VPCClient) AddWhiteListResource ¶ added in v0.10.0
func (c *VPCClient) AddWhiteListResource(req *AddWhiteListResourceRequest) (*AddWhiteListResourceResponse, error)
API: AddWhiteListResource
添加NAT网关白名单
func (*VPCClient) AllocateBatchSecondaryIp ¶ added in v0.21.38
func (c *VPCClient) AllocateBatchSecondaryIp(req *AllocateBatchSecondaryIpRequest) (*AllocateBatchSecondaryIpResponse, error)
API: AllocateBatchSecondaryIp
批量申请虚拟网卡辅助IP
func (*VPCClient) AllocateSecondaryIp ¶ added in v0.14.1
func (c *VPCClient) AllocateSecondaryIp(req *AllocateSecondaryIpRequest) (*AllocateSecondaryIpResponse, error)
API: AllocateSecondaryIp
分配ip(用于uk8s使用)
func (*VPCClient) AllocateVIP ¶ added in v0.14.1
func (c *VPCClient) AllocateVIP(req *AllocateVIPRequest) (*AllocateVIPResponse, error)
API: AllocateVIP
根据提供信息,申请内网VIP(Virtual IP),多用于高可用程序作为漂移IP。
func (*VPCClient) AssociateRouteTable ¶ added in v0.14.1
func (c *VPCClient) AssociateRouteTable(req *AssociateRouteTableRequest) (*AssociateRouteTableResponse, error)
API: AssociateRouteTable
绑定子网的路由表
func (*VPCClient) AttachNetworkInterface ¶ added in v0.21.38
func (c *VPCClient) AttachNetworkInterface(req *AttachNetworkInterfaceRequest) (*AttachNetworkInterfaceResponse, error)
API: AttachNetworkInterface
绑定网卡到云主机
func (*VPCClient) CloneRouteTable ¶ added in v0.14.1
func (c *VPCClient) CloneRouteTable(req *CloneRouteTableRequest) (*CloneRouteTableResponse, error)
API: CloneRouteTable
将现有的路由表复制为一张新的路由表
func (*VPCClient) CreateNATGW ¶ added in v0.10.0
func (c *VPCClient) CreateNATGW(req *CreateNATGWRequest) (*CreateNATGWResponse, error)
API: CreateNATGW
创建NAT网关
func (*VPCClient) CreateNATGWPolicy ¶ added in v0.10.0
func (c *VPCClient) CreateNATGWPolicy(req *CreateNATGWPolicyRequest) (*CreateNATGWPolicyResponse, error)
API: CreateNATGWPolicy
添加NAT网关端口转发规则
func (*VPCClient) CreateNetworkAcl ¶ added in v0.14.1
func (c *VPCClient) CreateNetworkAcl(req *CreateNetworkAclRequest) (*CreateNetworkAclResponse, error)
API: CreateNetworkAcl
创建网络ACL
func (*VPCClient) CreateNetworkAclAssociation ¶ added in v0.14.1
func (c *VPCClient) CreateNetworkAclAssociation(req *CreateNetworkAclAssociationRequest) (*CreateNetworkAclAssociationResponse, error)
API: CreateNetworkAclAssociation
创建ACL的绑定关系
func (*VPCClient) CreateNetworkAclEntry ¶ added in v0.14.1
func (c *VPCClient) CreateNetworkAclEntry(req *CreateNetworkAclEntryRequest) (*CreateNetworkAclEntryResponse, error)
API: CreateNetworkAclEntry
创建ACL的规则
func (*VPCClient) CreateNetworkInterface ¶ added in v0.21.38
func (c *VPCClient) CreateNetworkInterface(req *CreateNetworkInterfaceRequest) (*CreateNetworkInterfaceResponse, error)
API: CreateNetworkInterface
创建虚拟网卡
func (*VPCClient) CreateRouteTable ¶ added in v0.14.1
func (c *VPCClient) CreateRouteTable(req *CreateRouteTableRequest) (*CreateRouteTableResponse, error)
API: CreateRouteTable
创建路由表
func (*VPCClient) CreateSnatDnatRule ¶ added in v0.21.38
func (c *VPCClient) CreateSnatDnatRule(req *CreateSnatDnatRuleRequest) (*CreateSnatDnatRuleResponse, error)
API: CreateSnatDnatRule
调用接口后会自动创建内外网IP之间的SNAT和DNAT规则,支持TCP、UDP协议全端口
func (*VPCClient) CreateSubnet ¶
func (c *VPCClient) CreateSubnet(req *CreateSubnetRequest) (*CreateSubnetResponse, error)
API: CreateSubnet
创建子网
func (*VPCClient) CreateVPC ¶
func (c *VPCClient) CreateVPC(req *CreateVPCRequest) (*CreateVPCResponse, error)
API: CreateVPC
创建VPC
func (*VPCClient) CreateVPCIntercom ¶
func (c *VPCClient) CreateVPCIntercom(req *CreateVPCIntercomRequest) (*CreateVPCIntercomResponse, error)
API: CreateVPCIntercom
新建VPC互通关系
func (*VPCClient) DeleteNATGW ¶ added in v0.10.0
func (c *VPCClient) DeleteNATGW(req *DeleteNATGWRequest) (*DeleteNATGWResponse, error)
API: DeleteNATGW
删除NAT网关
func (*VPCClient) DeleteNATGWPolicy ¶ added in v0.10.0
func (c *VPCClient) DeleteNATGWPolicy(req *DeleteNATGWPolicyRequest) (*DeleteNATGWPolicyResponse, error)
API: DeleteNATGWPolicy
删除NAT网关端口转发规则
func (*VPCClient) DeleteNetworkAcl ¶ added in v0.14.1
func (c *VPCClient) DeleteNetworkAcl(req *DeleteNetworkAclRequest) (*DeleteNetworkAclResponse, error)
API: DeleteNetworkAcl
删除网络ACL
func (*VPCClient) DeleteNetworkAclAssociation ¶ added in v0.14.1
func (c *VPCClient) DeleteNetworkAclAssociation(req *DeleteNetworkAclAssociationRequest) (*DeleteNetworkAclAssociationResponse, error)
API: DeleteNetworkAclAssociation
删除网络ACL绑定关系
func (*VPCClient) DeleteNetworkAclEntry ¶ added in v0.14.1
func (c *VPCClient) DeleteNetworkAclEntry(req *DeleteNetworkAclEntryRequest) (*DeleteNetworkAclEntryResponse, error)
API: DeleteNetworkAclEntry
删除ACL的规则
func (*VPCClient) DeleteNetworkInterface ¶ added in v0.21.46
func (c *VPCClient) DeleteNetworkInterface(req *DeleteNetworkInterfaceRequest) (*DeleteNetworkInterfaceResponse, error)
API: DeleteNetworkInterface
删除网卡
func (*VPCClient) DeleteRouteTable ¶ added in v0.14.1
func (c *VPCClient) DeleteRouteTable(req *DeleteRouteTableRequest) (*DeleteRouteTableResponse, error)
API: DeleteRouteTable
删除自定义路由表
func (*VPCClient) DeleteSecondaryIp ¶ added in v0.14.1
func (c *VPCClient) DeleteSecondaryIp(req *DeleteSecondaryIpRequest) (*DeleteSecondaryIpResponse, error)
API: DeleteSecondaryIp
删除ip(用于uk8s使用)
func (*VPCClient) DeleteSnatDnatRule ¶ added in v0.21.38
func (c *VPCClient) DeleteSnatDnatRule(req *DeleteSnatDnatRuleRequest) (*DeleteSnatDnatRuleResponse, error)
API: DeleteSnatDnatRule
删除NAT创建内外网IP映射规则
func (*VPCClient) DeleteSnatRule ¶ added in v0.21.2
func (c *VPCClient) DeleteSnatRule(req *DeleteSnatRuleRequest) (*DeleteSnatRuleResponse, error)
API: DeleteSnatRule
删除指定的出口规则(SNAT规则)
func (*VPCClient) DeleteSubnet ¶
func (c *VPCClient) DeleteSubnet(req *DeleteSubnetRequest) (*DeleteSubnetResponse, error)
API: DeleteSubnet
删除子网
func (*VPCClient) DeleteVPC ¶
func (c *VPCClient) DeleteVPC(req *DeleteVPCRequest) (*DeleteVPCResponse, error)
API: DeleteVPC
删除VPC
func (*VPCClient) DeleteVPCIntercom ¶
func (c *VPCClient) DeleteVPCIntercom(req *DeleteVPCIntercomRequest) (*DeleteVPCIntercomResponse, error)
API: DeleteVPCIntercom
删除VPC互通关系
func (*VPCClient) DeleteWhiteListResource ¶ added in v0.10.0
func (c *VPCClient) DeleteWhiteListResource(req *DeleteWhiteListResourceRequest) (*DeleteWhiteListResourceResponse, error)
API: DeleteWhiteListResource
删除NAT网关白名单列表
func (*VPCClient) DescribeInstanceNetworkInterface ¶ added in v0.21.38
func (c *VPCClient) DescribeInstanceNetworkInterface(req *DescribeInstanceNetworkInterfaceRequest) (*DescribeInstanceNetworkInterfaceResponse, error)
API: DescribeInstanceNetworkInterface
展示云主机绑定的网卡信息
func (*VPCClient) DescribeNATGW ¶ added in v0.10.0
func (c *VPCClient) DescribeNATGW(req *DescribeNATGWRequest) (*DescribeNATGWResponse, error)
API: DescribeNATGW
获取NAT网关信息
func (*VPCClient) DescribeNATGWPolicy ¶ added in v0.10.0
func (c *VPCClient) DescribeNATGWPolicy(req *DescribeNATGWPolicyRequest) (*DescribeNATGWPolicyResponse, error)
API: DescribeNATGWPolicy
展示NAT网关端口转发规则
func (*VPCClient) DescribeNetworkAcl ¶ added in v0.14.1
func (c *VPCClient) DescribeNetworkAcl(req *DescribeNetworkAclRequest) (*DescribeNetworkAclResponse, error)
API: DescribeNetworkAcl
获取网络ACL
func (*VPCClient) DescribeNetworkAclAssociation ¶ added in v0.14.1
func (c *VPCClient) DescribeNetworkAclAssociation(req *DescribeNetworkAclAssociationRequest) (*DescribeNetworkAclAssociationResponse, error)
API: DescribeNetworkAclAssociation
获取网络ACL的绑定关系列表
func (*VPCClient) DescribeNetworkAclAssociationBySubnet ¶ added in v0.14.1
func (c *VPCClient) DescribeNetworkAclAssociationBySubnet(req *DescribeNetworkAclAssociationBySubnetRequest) (*DescribeNetworkAclAssociationBySubnetResponse, error)
API: DescribeNetworkAclAssociationBySubnet
获取子网的ACL绑定信息
func (*VPCClient) DescribeNetworkAclEntry ¶ added in v0.14.1
func (c *VPCClient) DescribeNetworkAclEntry(req *DescribeNetworkAclEntryRequest) (*DescribeNetworkAclEntryResponse, error)
API: DescribeNetworkAclEntry
获取ACL的规则信息
func (*VPCClient) DescribeNetworkInterface ¶ added in v0.21.38
func (c *VPCClient) DescribeNetworkInterface(req *DescribeNetworkInterfaceRequest) (*DescribeNetworkInterfaceResponse, error)
API: DescribeNetworkInterface
展示虚拟网卡信息
func (*VPCClient) DescribeRouteTable ¶ added in v0.14.1
func (c *VPCClient) DescribeRouteTable(req *DescribeRouteTableRequest) (*DescribeRouteTableResponse, error)
API: DescribeRouteTable
获取路由表详细信息(包括路由策略)
func (*VPCClient) DescribeSecondaryIp ¶ added in v0.14.1
func (c *VPCClient) DescribeSecondaryIp(req *DescribeSecondaryIpRequest) (*DescribeSecondaryIpResponse, error)
API: DescribeSecondaryIp
查询SecondaryIp(uk8s使用)
func (*VPCClient) DescribeSnatDnatRule ¶ added in v0.21.38
func (c *VPCClient) DescribeSnatDnatRule(req *DescribeSnatDnatRuleRequest) (*DescribeSnatDnatRuleResponse, error)
API: DescribeSnatDnatRule
获取基于NAT创建的内外网IP映射规则信息
func (*VPCClient) DescribeSnatRule ¶ added in v0.21.2
func (c *VPCClient) DescribeSnatRule(req *DescribeSnatRuleRequest) (*DescribeSnatRuleResponse, error)
API: DescribeSnatRule
获取Nat网关的出口规则(SNAT规则)
func (*VPCClient) DescribeSubnet ¶
func (c *VPCClient) DescribeSubnet(req *DescribeSubnetRequest) (*DescribeSubnetResponse, error)
API: DescribeSubnet
获取子网信息
func (*VPCClient) DescribeSubnetResource ¶
func (c *VPCClient) DescribeSubnetResource(req *DescribeSubnetResourceRequest) (*DescribeSubnetResourceResponse, error)
API: DescribeSubnetResource
展示子网资源
func (*VPCClient) DescribeVIP ¶ added in v0.14.1
func (c *VPCClient) DescribeVIP(req *DescribeVIPRequest) (*DescribeVIPResponse, error)
API: DescribeVIP
获取内网VIP详细信息
func (*VPCClient) DescribeVPC ¶
func (c *VPCClient) DescribeVPC(req *DescribeVPCRequest) (*DescribeVPCResponse, error)
API: DescribeVPC
获取VPC信息
func (*VPCClient) DescribeVPCIntercom ¶
func (c *VPCClient) DescribeVPCIntercom(req *DescribeVPCIntercomRequest) (*DescribeVPCIntercomResponse, error)
API: DescribeVPCIntercom
获取VPC互通信息
func (*VPCClient) DescribeWhiteListResource ¶ added in v0.10.0
func (c *VPCClient) DescribeWhiteListResource(req *DescribeWhiteListResourceRequest) (*DescribeWhiteListResourceResponse, error)
API: DescribeWhiteListResource
展示NAT网关白名单资源列表
func (*VPCClient) DetachNetworkInterface ¶ added in v0.21.43
func (c *VPCClient) DetachNetworkInterface(req *DetachNetworkInterfaceRequest) (*DetachNetworkInterfaceResponse, error)
API: DetachNetworkInterface
解绑云主机关联网卡
func (*VPCClient) EnableWhiteList ¶ added in v0.10.0
func (c *VPCClient) EnableWhiteList(req *EnableWhiteListRequest) (*EnableWhiteListResponse, error)
API: EnableWhiteList
修改NAT网关白名单开关
func (*VPCClient) GetAvailableResourceForPolicy ¶ added in v0.10.0
func (c *VPCClient) GetAvailableResourceForPolicy(req *GetAvailableResourceForPolicyRequest) (*GetAvailableResourceForPolicyResponse, error)
API: GetAvailableResourceForPolicy
获取NAT网关可配置端口转发规则的资源信息
func (*VPCClient) GetAvailableResourceForSnatRule ¶ added in v0.21.2
func (c *VPCClient) GetAvailableResourceForSnatRule(req *GetAvailableResourceForSnatRuleRequest) (*GetAvailableResourceForSnatRuleResponse, error)
API: GetAvailableResourceForSnatRule
获取可用于添加snat规则(出口规则)的资源列表
func (*VPCClient) GetAvailableResourceForWhiteList ¶ added in v0.10.0
func (c *VPCClient) GetAvailableResourceForWhiteList(req *GetAvailableResourceForWhiteListRequest) (*GetAvailableResourceForWhiteListResponse, error)
API: GetAvailableResourceForWhiteList
获取NAT网关可添加白名单的资源
func (*VPCClient) GetNetworkAclTargetResource ¶ added in v0.14.1
func (c *VPCClient) GetNetworkAclTargetResource(req *GetNetworkAclTargetResourceRequest) (*GetNetworkAclTargetResourceResponse, error)
API: GetNetworkAclTargetResource
获取ACL规则应用目标列表
func (*VPCClient) ListSubnetForNATGW ¶ added in v0.10.0
func (c *VPCClient) ListSubnetForNATGW(req *ListSubnetForNATGWRequest) (*ListSubnetForNATGWResponse, error)
API: ListSubnetForNATGW
展示NAT网关可绑定的子网列表
func (*VPCClient) ModifyRouteRule ¶ added in v0.14.1
func (c *VPCClient) ModifyRouteRule(req *ModifyRouteRuleRequest) (*ModifyRouteRuleResponse, error)
API: ModifyRouteRule
路由策略增、删、改
func (*VPCClient) MoveSecondaryIPMac ¶ added in v0.21.6
func (c *VPCClient) MoveSecondaryIPMac(req *MoveSecondaryIPMacRequest) (*MoveSecondaryIPMacResponse, error)
API: MoveSecondaryIPMac
把 Secondary IP 从旧 MAC 迁移到新 MAC
func (*VPCClient) NewAddSnatRuleRequest ¶ added in v0.21.2
func (c *VPCClient) NewAddSnatRuleRequest() *AddSnatRuleRequest
NewAddSnatRuleRequest will create request of AddSnatRule action.
func (*VPCClient) NewAddVPCNetworkRequest ¶
func (c *VPCClient) NewAddVPCNetworkRequest() *AddVPCNetworkRequest
NewAddVPCNetworkRequest will create request of AddVPCNetwork action.
func (*VPCClient) NewAddWhiteListResourceRequest ¶ added in v0.10.0
func (c *VPCClient) NewAddWhiteListResourceRequest() *AddWhiteListResourceRequest
NewAddWhiteListResourceRequest will create request of AddWhiteListResource action.
func (*VPCClient) NewAllocateBatchSecondaryIpRequest ¶ added in v0.21.38
func (c *VPCClient) NewAllocateBatchSecondaryIpRequest() *AllocateBatchSecondaryIpRequest
NewAllocateBatchSecondaryIpRequest will create request of AllocateBatchSecondaryIp action.
func (*VPCClient) NewAllocateSecondaryIpRequest ¶ added in v0.14.1
func (c *VPCClient) NewAllocateSecondaryIpRequest() *AllocateSecondaryIpRequest
NewAllocateSecondaryIpRequest will create request of AllocateSecondaryIp action.
func (*VPCClient) NewAllocateVIPRequest ¶ added in v0.14.1
func (c *VPCClient) NewAllocateVIPRequest() *AllocateVIPRequest
NewAllocateVIPRequest will create request of AllocateVIP action.
func (*VPCClient) NewAssociateRouteTableRequest ¶ added in v0.14.1
func (c *VPCClient) NewAssociateRouteTableRequest() *AssociateRouteTableRequest
NewAssociateRouteTableRequest will create request of AssociateRouteTable action.
func (*VPCClient) NewAttachNetworkInterfaceRequest ¶ added in v0.21.38
func (c *VPCClient) NewAttachNetworkInterfaceRequest() *AttachNetworkInterfaceRequest
NewAttachNetworkInterfaceRequest will create request of AttachNetworkInterface action.
func (*VPCClient) NewCloneRouteTableRequest ¶ added in v0.14.1
func (c *VPCClient) NewCloneRouteTableRequest() *CloneRouteTableRequest
NewCloneRouteTableRequest will create request of CloneRouteTable action.
func (*VPCClient) NewCreateNATGWPolicyRequest ¶ added in v0.10.0
func (c *VPCClient) NewCreateNATGWPolicyRequest() *CreateNATGWPolicyRequest
NewCreateNATGWPolicyRequest will create request of CreateNATGWPolicy action.
func (*VPCClient) NewCreateNATGWRequest ¶ added in v0.10.0
func (c *VPCClient) NewCreateNATGWRequest() *CreateNATGWRequest
NewCreateNATGWRequest will create request of CreateNATGW action.
func (*VPCClient) NewCreateNetworkAclAssociationRequest ¶ added in v0.14.1
func (c *VPCClient) NewCreateNetworkAclAssociationRequest() *CreateNetworkAclAssociationRequest
NewCreateNetworkAclAssociationRequest will create request of CreateNetworkAclAssociation action.
func (*VPCClient) NewCreateNetworkAclEntryRequest ¶ added in v0.14.1
func (c *VPCClient) NewCreateNetworkAclEntryRequest() *CreateNetworkAclEntryRequest
NewCreateNetworkAclEntryRequest will create request of CreateNetworkAclEntry action.
func (*VPCClient) NewCreateNetworkAclRequest ¶ added in v0.14.1
func (c *VPCClient) NewCreateNetworkAclRequest() *CreateNetworkAclRequest
NewCreateNetworkAclRequest will create request of CreateNetworkAcl action.
func (*VPCClient) NewCreateNetworkInterfaceRequest ¶ added in v0.21.38
func (c *VPCClient) NewCreateNetworkInterfaceRequest() *CreateNetworkInterfaceRequest
NewCreateNetworkInterfaceRequest will create request of CreateNetworkInterface action.
func (*VPCClient) NewCreateRouteTableRequest ¶ added in v0.14.1
func (c *VPCClient) NewCreateRouteTableRequest() *CreateRouteTableRequest
NewCreateRouteTableRequest will create request of CreateRouteTable action.
func (*VPCClient) NewCreateSnatDnatRuleRequest ¶ added in v0.21.38
func (c *VPCClient) NewCreateSnatDnatRuleRequest() *CreateSnatDnatRuleRequest
NewCreateSnatDnatRuleRequest will create request of CreateSnatDnatRule action.
func (*VPCClient) NewCreateSubnetRequest ¶
func (c *VPCClient) NewCreateSubnetRequest() *CreateSubnetRequest
NewCreateSubnetRequest will create request of CreateSubnet action.
func (*VPCClient) NewCreateVPCIntercomRequest ¶
func (c *VPCClient) NewCreateVPCIntercomRequest() *CreateVPCIntercomRequest
NewCreateVPCIntercomRequest will create request of CreateVPCIntercom action.
func (*VPCClient) NewCreateVPCRequest ¶
func (c *VPCClient) NewCreateVPCRequest() *CreateVPCRequest
NewCreateVPCRequest will create request of CreateVPC action.
func (*VPCClient) NewDeleteNATGWPolicyRequest ¶ added in v0.10.0
func (c *VPCClient) NewDeleteNATGWPolicyRequest() *DeleteNATGWPolicyRequest
NewDeleteNATGWPolicyRequest will create request of DeleteNATGWPolicy action.
func (*VPCClient) NewDeleteNATGWRequest ¶ added in v0.10.0
func (c *VPCClient) NewDeleteNATGWRequest() *DeleteNATGWRequest
NewDeleteNATGWRequest will create request of DeleteNATGW action.
func (*VPCClient) NewDeleteNetworkAclAssociationRequest ¶ added in v0.14.1
func (c *VPCClient) NewDeleteNetworkAclAssociationRequest() *DeleteNetworkAclAssociationRequest
NewDeleteNetworkAclAssociationRequest will create request of DeleteNetworkAclAssociation action.
func (*VPCClient) NewDeleteNetworkAclEntryRequest ¶ added in v0.14.1
func (c *VPCClient) NewDeleteNetworkAclEntryRequest() *DeleteNetworkAclEntryRequest
NewDeleteNetworkAclEntryRequest will create request of DeleteNetworkAclEntry action.
func (*VPCClient) NewDeleteNetworkAclRequest ¶ added in v0.14.1
func (c *VPCClient) NewDeleteNetworkAclRequest() *DeleteNetworkAclRequest
NewDeleteNetworkAclRequest will create request of DeleteNetworkAcl action.
func (*VPCClient) NewDeleteNetworkInterfaceRequest ¶ added in v0.21.46
func (c *VPCClient) NewDeleteNetworkInterfaceRequest() *DeleteNetworkInterfaceRequest
NewDeleteNetworkInterfaceRequest will create request of DeleteNetworkInterface action.
func (*VPCClient) NewDeleteRouteTableRequest ¶ added in v0.14.1
func (c *VPCClient) NewDeleteRouteTableRequest() *DeleteRouteTableRequest
NewDeleteRouteTableRequest will create request of DeleteRouteTable action.
func (*VPCClient) NewDeleteSecondaryIpRequest ¶ added in v0.14.1
func (c *VPCClient) NewDeleteSecondaryIpRequest() *DeleteSecondaryIpRequest
NewDeleteSecondaryIpRequest will create request of DeleteSecondaryIp action.
func (*VPCClient) NewDeleteSnatDnatRuleRequest ¶ added in v0.21.38
func (c *VPCClient) NewDeleteSnatDnatRuleRequest() *DeleteSnatDnatRuleRequest
NewDeleteSnatDnatRuleRequest will create request of DeleteSnatDnatRule action.
func (*VPCClient) NewDeleteSnatRuleRequest ¶ added in v0.21.2
func (c *VPCClient) NewDeleteSnatRuleRequest() *DeleteSnatRuleRequest
NewDeleteSnatRuleRequest will create request of DeleteSnatRule action.
func (*VPCClient) NewDeleteSubnetRequest ¶
func (c *VPCClient) NewDeleteSubnetRequest() *DeleteSubnetRequest
NewDeleteSubnetRequest will create request of DeleteSubnet action.
func (*VPCClient) NewDeleteVPCIntercomRequest ¶
func (c *VPCClient) NewDeleteVPCIntercomRequest() *DeleteVPCIntercomRequest
NewDeleteVPCIntercomRequest will create request of DeleteVPCIntercom action.
func (*VPCClient) NewDeleteVPCRequest ¶
func (c *VPCClient) NewDeleteVPCRequest() *DeleteVPCRequest
NewDeleteVPCRequest will create request of DeleteVPC action.
func (*VPCClient) NewDeleteWhiteListResourceRequest ¶ added in v0.10.0
func (c *VPCClient) NewDeleteWhiteListResourceRequest() *DeleteWhiteListResourceRequest
NewDeleteWhiteListResourceRequest will create request of DeleteWhiteListResource action.
func (*VPCClient) NewDescribeInstanceNetworkInterfaceRequest ¶ added in v0.21.38
func (c *VPCClient) NewDescribeInstanceNetworkInterfaceRequest() *DescribeInstanceNetworkInterfaceRequest
NewDescribeInstanceNetworkInterfaceRequest will create request of DescribeInstanceNetworkInterface action.
func (*VPCClient) NewDescribeNATGWPolicyRequest ¶ added in v0.10.0
func (c *VPCClient) NewDescribeNATGWPolicyRequest() *DescribeNATGWPolicyRequest
NewDescribeNATGWPolicyRequest will create request of DescribeNATGWPolicy action.
func (*VPCClient) NewDescribeNATGWRequest ¶ added in v0.10.0
func (c *VPCClient) NewDescribeNATGWRequest() *DescribeNATGWRequest
NewDescribeNATGWRequest will create request of DescribeNATGW action.
func (*VPCClient) NewDescribeNetworkAclAssociationBySubnetRequest ¶ added in v0.14.1
func (c *VPCClient) NewDescribeNetworkAclAssociationBySubnetRequest() *DescribeNetworkAclAssociationBySubnetRequest
NewDescribeNetworkAclAssociationBySubnetRequest will create request of DescribeNetworkAclAssociationBySubnet action.
func (*VPCClient) NewDescribeNetworkAclAssociationRequest ¶ added in v0.14.1
func (c *VPCClient) NewDescribeNetworkAclAssociationRequest() *DescribeNetworkAclAssociationRequest
NewDescribeNetworkAclAssociationRequest will create request of DescribeNetworkAclAssociation action.
func (*VPCClient) NewDescribeNetworkAclEntryRequest ¶ added in v0.14.1
func (c *VPCClient) NewDescribeNetworkAclEntryRequest() *DescribeNetworkAclEntryRequest
NewDescribeNetworkAclEntryRequest will create request of DescribeNetworkAclEntry action.
func (*VPCClient) NewDescribeNetworkAclRequest ¶ added in v0.14.1
func (c *VPCClient) NewDescribeNetworkAclRequest() *DescribeNetworkAclRequest
NewDescribeNetworkAclRequest will create request of DescribeNetworkAcl action.
func (*VPCClient) NewDescribeNetworkInterfaceRequest ¶ added in v0.21.38
func (c *VPCClient) NewDescribeNetworkInterfaceRequest() *DescribeNetworkInterfaceRequest
NewDescribeNetworkInterfaceRequest will create request of DescribeNetworkInterface action.
func (*VPCClient) NewDescribeRouteTableRequest ¶ added in v0.14.1
func (c *VPCClient) NewDescribeRouteTableRequest() *DescribeRouteTableRequest
NewDescribeRouteTableRequest will create request of DescribeRouteTable action.
func (*VPCClient) NewDescribeSecondaryIpRequest ¶ added in v0.14.1
func (c *VPCClient) NewDescribeSecondaryIpRequest() *DescribeSecondaryIpRequest
NewDescribeSecondaryIpRequest will create request of DescribeSecondaryIp action.
func (*VPCClient) NewDescribeSnatDnatRuleRequest ¶ added in v0.21.38
func (c *VPCClient) NewDescribeSnatDnatRuleRequest() *DescribeSnatDnatRuleRequest
NewDescribeSnatDnatRuleRequest will create request of DescribeSnatDnatRule action.
func (*VPCClient) NewDescribeSnatRuleRequest ¶ added in v0.21.2
func (c *VPCClient) NewDescribeSnatRuleRequest() *DescribeSnatRuleRequest
NewDescribeSnatRuleRequest will create request of DescribeSnatRule action.
func (*VPCClient) NewDescribeSubnetRequest ¶
func (c *VPCClient) NewDescribeSubnetRequest() *DescribeSubnetRequest
NewDescribeSubnetRequest will create request of DescribeSubnet action.
func (*VPCClient) NewDescribeSubnetResourceRequest ¶
func (c *VPCClient) NewDescribeSubnetResourceRequest() *DescribeSubnetResourceRequest
NewDescribeSubnetResourceRequest will create request of DescribeSubnetResource action.
func (*VPCClient) NewDescribeVIPRequest ¶ added in v0.14.1
func (c *VPCClient) NewDescribeVIPRequest() *DescribeVIPRequest
NewDescribeVIPRequest will create request of DescribeVIP action.
func (*VPCClient) NewDescribeVPCIntercomRequest ¶
func (c *VPCClient) NewDescribeVPCIntercomRequest() *DescribeVPCIntercomRequest
NewDescribeVPCIntercomRequest will create request of DescribeVPCIntercom action.
func (*VPCClient) NewDescribeVPCRequest ¶
func (c *VPCClient) NewDescribeVPCRequest() *DescribeVPCRequest
NewDescribeVPCRequest will create request of DescribeVPC action.
func (*VPCClient) NewDescribeWhiteListResourceRequest ¶ added in v0.10.0
func (c *VPCClient) NewDescribeWhiteListResourceRequest() *DescribeWhiteListResourceRequest
NewDescribeWhiteListResourceRequest will create request of DescribeWhiteListResource action.
func (*VPCClient) NewDetachNetworkInterfaceRequest ¶ added in v0.21.43
func (c *VPCClient) NewDetachNetworkInterfaceRequest() *DetachNetworkInterfaceRequest
NewDetachNetworkInterfaceRequest will create request of DetachNetworkInterface action.
func (*VPCClient) NewEnableWhiteListRequest ¶ added in v0.10.0
func (c *VPCClient) NewEnableWhiteListRequest() *EnableWhiteListRequest
NewEnableWhiteListRequest will create request of EnableWhiteList action.
func (*VPCClient) NewGetAvailableResourceForPolicyRequest ¶ added in v0.10.0
func (c *VPCClient) NewGetAvailableResourceForPolicyRequest() *GetAvailableResourceForPolicyRequest
NewGetAvailableResourceForPolicyRequest will create request of GetAvailableResourceForPolicy action.
func (*VPCClient) NewGetAvailableResourceForSnatRuleRequest ¶ added in v0.21.2
func (c *VPCClient) NewGetAvailableResourceForSnatRuleRequest() *GetAvailableResourceForSnatRuleRequest
NewGetAvailableResourceForSnatRuleRequest will create request of GetAvailableResourceForSnatRule action.
func (*VPCClient) NewGetAvailableResourceForWhiteListRequest ¶ added in v0.10.0
func (c *VPCClient) NewGetAvailableResourceForWhiteListRequest() *GetAvailableResourceForWhiteListRequest
NewGetAvailableResourceForWhiteListRequest will create request of GetAvailableResourceForWhiteList action.
func (*VPCClient) NewGetNetworkAclTargetResourceRequest ¶ added in v0.14.1
func (c *VPCClient) NewGetNetworkAclTargetResourceRequest() *GetNetworkAclTargetResourceRequest
NewGetNetworkAclTargetResourceRequest will create request of GetNetworkAclTargetResource action.
func (*VPCClient) NewListSubnetForNATGWRequest ¶ added in v0.10.0
func (c *VPCClient) NewListSubnetForNATGWRequest() *ListSubnetForNATGWRequest
NewListSubnetForNATGWRequest will create request of ListSubnetForNATGW action.
func (*VPCClient) NewModifyRouteRuleRequest ¶ added in v0.14.1
func (c *VPCClient) NewModifyRouteRuleRequest() *ModifyRouteRuleRequest
NewModifyRouteRuleRequest will create request of ModifyRouteRule action.
func (*VPCClient) NewMoveSecondaryIPMacRequest ¶ added in v0.21.6
func (c *VPCClient) NewMoveSecondaryIPMacRequest() *MoveSecondaryIPMacRequest
NewMoveSecondaryIPMacRequest will create request of MoveSecondaryIPMac action.
func (*VPCClient) NewReleaseVIPRequest ¶ added in v0.14.1
func (c *VPCClient) NewReleaseVIPRequest() *ReleaseVIPRequest
NewReleaseVIPRequest will create request of ReleaseVIP action.
func (*VPCClient) NewSetGwDefaultExportRequest ¶ added in v0.10.0
func (c *VPCClient) NewSetGwDefaultExportRequest() *SetGwDefaultExportRequest
NewSetGwDefaultExportRequest will create request of SetGwDefaultExport action.
func (*VPCClient) NewUpdateNATGWPolicyRequest ¶ added in v0.10.0
func (c *VPCClient) NewUpdateNATGWPolicyRequest() *UpdateNATGWPolicyRequest
NewUpdateNATGWPolicyRequest will create request of UpdateNATGWPolicy action.
func (*VPCClient) NewUpdateNATGWSubnetRequest ¶ added in v0.10.0
func (c *VPCClient) NewUpdateNATGWSubnetRequest() *UpdateNATGWSubnetRequest
NewUpdateNATGWSubnetRequest will create request of UpdateNATGWSubnet action.
func (*VPCClient) NewUpdateNetworkAclEntryRequest ¶ added in v0.14.1
func (c *VPCClient) NewUpdateNetworkAclEntryRequest() *UpdateNetworkAclEntryRequest
NewUpdateNetworkAclEntryRequest will create request of UpdateNetworkAclEntry action.
func (*VPCClient) NewUpdateNetworkAclRequest ¶ added in v0.14.1
func (c *VPCClient) NewUpdateNetworkAclRequest() *UpdateNetworkAclRequest
NewUpdateNetworkAclRequest will create request of UpdateNetworkAcl action.
func (*VPCClient) NewUpdateRouteTableAttributeRequest ¶ added in v0.14.1
func (c *VPCClient) NewUpdateRouteTableAttributeRequest() *UpdateRouteTableAttributeRequest
NewUpdateRouteTableAttributeRequest will create request of UpdateRouteTableAttribute action.
func (*VPCClient) NewUpdateSnatRuleRequest ¶ added in v0.21.2
func (c *VPCClient) NewUpdateSnatRuleRequest() *UpdateSnatRuleRequest
NewUpdateSnatRuleRequest will create request of UpdateSnatRule action.
func (*VPCClient) NewUpdateSubnetAttributeRequest ¶
func (c *VPCClient) NewUpdateSubnetAttributeRequest() *UpdateSubnetAttributeRequest
NewUpdateSubnetAttributeRequest will create request of UpdateSubnetAttribute action.
func (*VPCClient) NewUpdateVIPAttributeRequest ¶ added in v0.14.1
func (c *VPCClient) NewUpdateVIPAttributeRequest() *UpdateVIPAttributeRequest
NewUpdateVIPAttributeRequest will create request of UpdateVIPAttribute action.
func (*VPCClient) NewUpdateVPCNetworkRequest ¶ added in v0.6.9
func (c *VPCClient) NewUpdateVPCNetworkRequest() *UpdateVPCNetworkRequest
NewUpdateVPCNetworkRequest will create request of UpdateVPCNetwork action.
func (*VPCClient) ReleaseVIP ¶ added in v0.14.1
func (c *VPCClient) ReleaseVIP(req *ReleaseVIPRequest) (*ReleaseVIPResponse, error)
API: ReleaseVIP
释放VIP资源
func (*VPCClient) SetGwDefaultExport ¶ added in v0.10.0
func (c *VPCClient) SetGwDefaultExport(req *SetGwDefaultExportRequest) (*SetGwDefaultExportResponse, error)
API: SetGwDefaultExport
设置NAT网关的默认出口
func (*VPCClient) UpdateNATGWPolicy ¶ added in v0.10.0
func (c *VPCClient) UpdateNATGWPolicy(req *UpdateNATGWPolicyRequest) (*UpdateNATGWPolicyResponse, error)
API: UpdateNATGWPolicy
更新NAT网关端口转发规则
func (*VPCClient) UpdateNATGWSubnet ¶ added in v0.10.0
func (c *VPCClient) UpdateNATGWSubnet(req *UpdateNATGWSubnetRequest) (*UpdateNATGWSubnetResponse, error)
API: UpdateNATGWSubnet
更新NAT网关绑定的子网
func (*VPCClient) UpdateNetworkAcl ¶ added in v0.14.1
func (c *VPCClient) UpdateNetworkAcl(req *UpdateNetworkAclRequest) (*UpdateNetworkAclResponse, error)
API: UpdateNetworkAcl
更改ACL
func (*VPCClient) UpdateNetworkAclEntry ¶ added in v0.14.1
func (c *VPCClient) UpdateNetworkAclEntry(req *UpdateNetworkAclEntryRequest) (*UpdateNetworkAclEntryResponse, error)
API: UpdateNetworkAclEntry
更新ACL的规则
func (*VPCClient) UpdateRouteTableAttribute ¶ added in v0.14.1
func (c *VPCClient) UpdateRouteTableAttribute(req *UpdateRouteTableAttributeRequest) (*UpdateRouteTableAttributeResponse, error)
API: UpdateRouteTableAttribute
更新路由表基本信息
func (*VPCClient) UpdateSnatRule ¶ added in v0.21.2
func (c *VPCClient) UpdateSnatRule(req *UpdateSnatRuleRequest) (*UpdateSnatRuleResponse, error)
API: UpdateSnatRule
更新指定的出口规则(SNAT规则)
func (*VPCClient) UpdateSubnetAttribute ¶
func (c *VPCClient) UpdateSubnetAttribute(req *UpdateSubnetAttributeRequest) (*UpdateSubnetAttributeResponse, error)
API: UpdateSubnetAttribute
更新子网信息
func (*VPCClient) UpdateVIPAttribute ¶ added in v0.14.1
func (c *VPCClient) UpdateVIPAttribute(req *UpdateVIPAttributeRequest) (*UpdateVIPAttributeResponse, error)
API: UpdateVIPAttribute
更新VIP信息
func (*VPCClient) UpdateVPCNetwork ¶ added in v0.6.9
func (c *VPCClient) UpdateVPCNetwork(req *UpdateVPCNetworkRequest) (*UpdateVPCNetworkResponse, error)
API: UpdateVPCNetwork
更新VPC网段
type VPCInfo ¶
type VPCInfo struct { // 创建时间 CreateTime int // VPC关联的IPv6网段 IPv6Network string // VPC名称 Name string // VPC网段 Network []string // vpc地址空间信息,详见VPCNetworkInfo NetworkInfo []VPCNetworkInfo // VPC关联的IPv6网段所属运营商 OperatorName string // 子网数 SubnetCount int // 业务组 Tag string // 更新时间 UpdateTime int // VPC资源ID VPCId string // DefaultVPC 默认VPC,DefinedVPC,自定义VPC VPCType string }
VPCInfo - VPC信息
type VPCIntercomInfo ¶
type VPCIntercomInfo struct { // 项目Id(数字) AccountId int // 所属地域 DstRegion string // VPC名字 Name string // VPC的地址空间 Network []string // 项目Id ProjectId string // 业务组(未分组显示为 Default) Tag string // VPCId VPCId string // vpc类型(1表示托管VPC,0表示公有云VPC) VPCType int }
VPCIntercomInfo -
type VPCNetworkInfo ¶
VPCNetworkInfo - vpc地址空间信息