Documentation ¶
Index ¶
- type AddClouddcnSubnetsTagsRequest
- type AddClouddcnSubnetsTagsResponse
- type AddExtendCidrOption
- type AddFirewallRulesRequest
- type AddFirewallRulesRequestBody
- type AddFirewallRulesResponse
- type AddResourceTagsRequestBody
- type AddResourceTagsRequestBodyTag
- type AddSecurityGroupsRequest
- type AddSecurityGroupsRequestBody
- type AddSecurityGroupsResponse
- type AddSourcesToTrafficMirrorSessionRequest
- type AddSourcesToTrafficMirrorSessionRequestBody
- type AddSourcesToTrafficMirrorSessionResponse
- type AddVpcExtendCidrRequest
- type AddVpcExtendCidrRequestBody
- type AddVpcExtendCidrResponse
- type AddressGroup
- type AllowedAddressPair
- type AssociateSubnetFirewallRequest
- type AssociateSubnetFirewallRequestBody
- type AssociateSubnetFirewallResponse
- type BatchCreateClouddcnSubnetsTagsRequest
- type BatchCreateClouddcnSubnetsTagsResponse
- type BatchCreateFirewallTagsRequest
- type BatchCreateFirewallTagsRequestBody
- type BatchCreateFirewallTagsResponse
- type BatchCreatePortTagsRequest
- type BatchCreatePortTagsRequestBody
- type BatchCreatePortTagsResponse
- type BatchCreateRequestBody
- type BatchCreateRequestBodySysTags
- type BatchCreateRequestBodyTags
- type BatchCreateSecurityGroupRulesOption
- type BatchCreateSecurityGroupRulesRequest
- type BatchCreateSecurityGroupRulesRequestBody
- type BatchCreateSecurityGroupRulesResponse
- type BatchCreateSubNetworkInterfaceOption
- type BatchCreateSubNetworkInterfaceRequest
- type BatchCreateSubNetworkInterfaceRequestBody
- type BatchCreateSubNetworkInterfaceResponse
- type BatchDeleteClouddcnSubnetsTagsRequest
- type BatchDeleteClouddcnSubnetsTagsResponse
- type BatchDeleteFirewallTagsRequest
- type BatchDeleteFirewallTagsRequestBody
- type BatchDeleteFirewallTagsResponse
- type BatchDeletePortTagsRequest
- type BatchDeletePortTagsRequestBody
- type BatchDeletePortTagsResponse
- type BatchDeleteRequestBody
- type BatchDeleteRequestBodySysTags
- type BatchDeleteRequestBodyTags
- type CloudResource
- type ClouddcnResource
- type ClouddcnSubnet
- type CountFirewallsByTagsRequest
- type CountFirewallsByTagsRequestBody
- type CountFirewallsByTagsResponse
- type CountPortsByTagsRequest
- type CountPortsByTagsRequestBody
- type CountPortsByTagsResponse
- type CreateAddressGroupOption
- type CreateAddressGroupRequest
- type CreateAddressGroupRequestBody
- type CreateAddressGroupResponse
- type CreateClouddcnSubnetOption
- type CreateClouddcnSubnetRequest
- type CreateClouddcnSubnetRequestBody
- type CreateClouddcnSubnetResponse
- type CreateFirewallOption
- type CreateFirewallRequest
- type CreateFirewallRequestBody
- type CreateFirewallResponse
- type CreateFirewallTagRequest
- type CreateFirewallTagRequestBody
- type CreateFirewallTagResponse
- type CreatePortTagRequest
- type CreatePortTagRequestBody
- type CreatePortTagResponse
- type CreateSecurityGroupOption
- type CreateSecurityGroupRequest
- type CreateSecurityGroupRequestBody
- type CreateSecurityGroupResponse
- type CreateSecurityGroupRuleOption
- type CreateSecurityGroupRuleRequest
- type CreateSecurityGroupRuleRequestBody
- type CreateSecurityGroupRuleResponse
- type CreateSubNetworkInterfaceOption
- type CreateSubNetworkInterfaceRequest
- type CreateSubNetworkInterfaceRequestBody
- type CreateSubNetworkInterfaceResponse
- type CreateTrafficMirrorFilterOption
- type CreateTrafficMirrorFilterRequest
- type CreateTrafficMirrorFilterRequestBody
- type CreateTrafficMirrorFilterResponse
- type CreateTrafficMirrorFilterRuleOption
- type CreateTrafficMirrorFilterRuleRequest
- type CreateTrafficMirrorFilterRuleRequestBody
- type CreateTrafficMirrorFilterRuleResponse
- type CreateTrafficMirrorSessionOption
- type CreateTrafficMirrorSessionRequest
- type CreateTrafficMirrorSessionRequestBody
- type CreateTrafficMirrorSessionResponse
- type CreateVpcOption
- type CreateVpcRequest
- type CreateVpcRequestBody
- type CreateVpcResponse
- type DeleteAddressGroupRequest
- type DeleteAddressGroupResponse
- type DeleteClouddcnSubnetRequest
- type DeleteClouddcnSubnetResponse
- type DeleteClouddcnSubnetsTagRequest
- type DeleteClouddcnSubnetsTagResponse
- type DeleteFirewallRequest
- type DeleteFirewallResponse
- type DeleteFirewallTagRequest
- type DeleteFirewallTagResponse
- type DeleteIpAddressGroupForceRequest
- type DeleteIpAddressGroupForceResponse
- type DeletePortTagRequest
- type DeletePortTagResponse
- type DeleteResourceTagRequestBody
- type DeleteSecurityGroupRequest
- type DeleteSecurityGroupResponse
- type DeleteSecurityGroupRuleRequest
- type DeleteSecurityGroupRuleResponse
- type DeleteSubNetworkInterfaceRequest
- type DeleteSubNetworkInterfaceResponse
- type DeleteTrafficMirrorFilterRequest
- type DeleteTrafficMirrorFilterResponse
- type DeleteTrafficMirrorFilterRuleRequest
- type DeleteTrafficMirrorFilterRuleResponse
- type DeleteTrafficMirrorSessionRequest
- type DeleteTrafficMirrorSessionResponse
- type DeleteVpcRequest
- type DeleteVpcResponse
- type DisassociateSubnetFirewallRequest
- type DisassociateSubnetFirewallRequestBody
- type DisassociateSubnetFirewallResponse
- type FirewallAssociation
- type FirewallDetail
- type FirewallInsertRuleItemOption
- type FirewallInsertRuleOption
- type FirewallRemoveRuleItemOption
- type FirewallRemoveRuleOption
- type FirewallRuleDetail
- type FirewallUpdateRuleItemOption
- type FirewallUpdateRuleOption
- type InsertSecurityGroupOption
- type IpExtraSetOption
- type IpExtraSetRespOption
- type ListAddressGroupRequest
- type ListAddressGroupResponse
- type ListClouddcnSubnetsCountFilterTagsRequest
- type ListClouddcnSubnetsCountFilterTagsResponse
- type ListClouddcnSubnetsFilterTagsRequest
- type ListClouddcnSubnetsFilterTagsResponse
- type ListClouddcnSubnetsRequest
- type ListClouddcnSubnetsResponse
- type ListClouddcnSubnetsTagsRequest
- type ListClouddcnSubnetsTagsResponse
- type ListFirewallDetail
- type ListFirewallRequest
- type ListFirewallRequestStatus
- type ListFirewallRequestStatusEnum
- type ListFirewallResponse
- type ListFirewallTagsRequest
- type ListFirewallTagsResponse
- type ListFirewallsByTagsRequest
- type ListFirewallsByTagsRequestBody
- type ListFirewallsByTagsResponse
- type ListPortTagsRequest
- type ListPortTagsResponse
- type ListPortsByTagsRequest
- type ListPortsByTagsRequestBody
- type ListPortsByTagsResponse
- type ListResourceResp
- type ListResourcesByTagsRequestBody
- type ListSecurityGroupRulesRequest
- type ListSecurityGroupRulesResponse
- type ListSecurityGroupsRequest
- type ListSecurityGroupsResponse
- type ListSubNetworkInterfacesRequest
- type ListSubNetworkInterfacesResponse
- type ListTag
- type ListTrafficMirrorFilterRulesRequest
- type ListTrafficMirrorFilterRulesResponse
- type ListTrafficMirrorFiltersRequest
- type ListTrafficMirrorFiltersResponse
- type ListTrafficMirrorSessionsRequest
- type ListTrafficMirrorSessionsResponse
- type ListVpcsRequest
- type ListVpcsResponse
- type Match
- type MigrateSubNetworkInterfaceOption
- type MigrateSubNetworkInterfaceRequest
- type MigrateSubNetworkInterfaceRequestBody
- type MigrateSubNetworkInterfaceResponse
- type PageInfo
- type Port
- type PrivateIpInfo
- type RemoveExtendCidrOption
- type RemoveFirewallRulesRequest
- type RemoveFirewallRulesRequestBody
- type RemoveFirewallRulesResponse
- type RemoveSecurityGroupOption
- type RemoveSecurityGroupsRequest
- type RemoveSecurityGroupsRequestBody
- type RemoveSecurityGroupsResponse
- type RemoveSourcesFromTrafficMirrorSessionRequest
- type RemoveSourcesFromTrafficMirrorSessionRequestBody
- type RemoveSourcesFromTrafficMirrorSessionResponse
- type RemoveVpcExtendCidrRequest
- type RemoveVpcExtendCidrRequestBody
- type RemoveVpcExtendCidrResponse
- type ResourceTag
- type ResourceTags
- type SecurityGroup
- type SecurityGroupInfo
- type SecurityGroupRule
- type ShowAddressGroupRequest
- type ShowAddressGroupResponse
- type ShowClouddcnSubnetRequest
- type ShowClouddcnSubnetResponse
- type ShowClouddcnSubnetsTagsRequest
- type ShowClouddcnSubnetsTagsResponse
- type ShowFirewallRequest
- type ShowFirewallResponse
- type ShowFirewallTagsRequest
- type ShowFirewallTagsResponse
- type ShowPortTagsRequest
- type ShowPortTagsResponse
- type ShowSecurityGroupRequest
- type ShowSecurityGroupResponse
- type ShowSecurityGroupRuleRequest
- type ShowSecurityGroupRuleResponse
- type ShowSubNetworkInterfaceRequest
- type ShowSubNetworkInterfaceResponse
- type ShowSubNetworkInterfacesQuantityRequest
- type ShowSubNetworkInterfacesQuantityResponse
- type ShowTrafficMirrorFilterRequest
- type ShowTrafficMirrorFilterResponse
- type ShowTrafficMirrorFilterRuleRequest
- type ShowTrafficMirrorFilterRuleResponse
- type ShowTrafficMirrorSessionRequest
- type ShowTrafficMirrorSessionResponse
- type ShowVpcRequest
- type ShowVpcResponse
- type SubNetworkInterface
- type SysTag
- type Tag
- type TagEntity
- type TrafficMirrorFilter
- type TrafficMirrorFilterRule
- type TrafficMirrorSession
- type TrafficMirrorSourcesOption
- type UpdateAddressGroupOption
- type UpdateAddressGroupRequest
- type UpdateAddressGroupRequestBody
- type UpdateAddressGroupResponse
- type UpdateClouddcnSubnetOption
- type UpdateClouddcnSubnetRequest
- type UpdateClouddcnSubnetRequestBody
- type UpdateClouddcnSubnetResponse
- type UpdateFirewallOption
- type UpdateFirewallRequest
- type UpdateFirewallRequestBody
- type UpdateFirewallResponse
- type UpdateFirewallRulesRequest
- type UpdateFirewallRulesRequestBody
- type UpdateFirewallRulesResponse
- type UpdateSecurityGroupOption
- type UpdateSecurityGroupRequest
- type UpdateSecurityGroupRequestBody
- type UpdateSecurityGroupResponse
- type UpdateSubNetworkInterfaceOption
- type UpdateSubNetworkInterfaceRequest
- type UpdateSubNetworkInterfaceRequestBody
- type UpdateSubNetworkInterfaceResponse
- type UpdateTrafficMirrorFilterOption
- type UpdateTrafficMirrorFilterRequest
- type UpdateTrafficMirrorFilterRequestBody
- type UpdateTrafficMirrorFilterResponse
- type UpdateTrafficMirrorFilterRuleOption
- type UpdateTrafficMirrorFilterRuleRequest
- type UpdateTrafficMirrorFilterRuleRequestBody
- type UpdateTrafficMirrorFilterRuleResponse
- type UpdateTrafficMirrorSessionOption
- type UpdateTrafficMirrorSessionRequest
- type UpdateTrafficMirrorSessionRequestBody
- type UpdateTrafficMirrorSessionResponse
- type UpdateVpcOption
- type UpdateVpcRequest
- type UpdateVpcRequestBody
- type UpdateVpcResponse
- type Vpc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddClouddcnSubnetsTagsRequest ¶ added in v0.1.98
type AddClouddcnSubnetsTagsRequest struct { // Clouddcn子网的id ResourceId string `json:"resource_id"` Body *AddResourceTagsRequestBody `json:"body,omitempty"` }
AddClouddcnSubnetsTagsRequest Request Object
func (AddClouddcnSubnetsTagsRequest) String ¶ added in v0.1.98
func (o AddClouddcnSubnetsTagsRequest) String() string
type AddClouddcnSubnetsTagsResponse ¶ added in v0.1.98
type AddClouddcnSubnetsTagsResponse struct {
HttpStatusCode int `json:"-"`
}
AddClouddcnSubnetsTagsResponse Response Object
func (AddClouddcnSubnetsTagsResponse) String ¶ added in v0.1.98
func (o AddClouddcnSubnetsTagsResponse) String() string
type AddExtendCidrOption ¶ added in v0.0.68
type AddExtendCidrOption struct { // 功能说明:扩展cidr列表 取值范围:不能包含以下网段,100.64.0.0/10,214.0.0.0/7,198.18.0.0/15,169.254.0.0/16,0.0.0.0/8,127.0.0.0/8,240.0.0.0/4,172.31.0.0/16,192.168.0.0/16 约束:当前只支持添加一个 ExtendCidrs []string `json:"extend_cidrs"` }
AddExtendCidrOption
func (AddExtendCidrOption) String ¶ added in v0.0.68
func (o AddExtendCidrOption) String() string
type AddFirewallRulesRequest ¶ added in v0.1.56
type AddFirewallRulesRequest struct { // 网络ACL的唯一标识 FirewallId string `json:"firewall_id"` Body *AddFirewallRulesRequestBody `json:"body,omitempty"` }
AddFirewallRulesRequest Request Object
func (AddFirewallRulesRequest) String ¶ added in v0.1.56
func (o AddFirewallRulesRequest) String() string
type AddFirewallRulesRequestBody ¶ added in v0.1.56
type AddFirewallRulesRequestBody struct {
Firewall *FirewallInsertRuleOption `json:"firewall"`
}
AddFirewallRulesRequestBody This is a auto create Body Object
func (AddFirewallRulesRequestBody) String ¶ added in v0.1.56
func (o AddFirewallRulesRequestBody) String() string
type AddFirewallRulesResponse ¶ added in v0.1.56
type AddFirewallRulesResponse struct { Firewall *FirewallDetail `json:"firewall,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
AddFirewallRulesResponse Response Object
func (AddFirewallRulesResponse) String ¶ added in v0.1.56
func (o AddFirewallRulesResponse) String() string
type AddResourceTagsRequestBody ¶ added in v0.1.98
type AddResourceTagsRequestBody struct {
Tag *AddResourceTagsRequestBodyTag `json:"tag"`
}
func (AddResourceTagsRequestBody) String ¶ added in v0.1.98
func (o AddResourceTagsRequestBody) String() string
type AddResourceTagsRequestBodyTag ¶ added in v0.1.98
type AddResourceTagsRequestBodyTag struct { // 标签键,最大长度128个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。 Key string `json:"key"` // 标签值,最大长度255个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。 Value string `json:"value"` }
AddResourceTagsRequestBodyTag 标签对象
func (AddResourceTagsRequestBodyTag) String ¶ added in v0.1.98
func (o AddResourceTagsRequestBodyTag) String() string
type AddSecurityGroupsRequest ¶ added in v0.1.63
type AddSecurityGroupsRequest struct { // 端口的唯一标识 PortId string `json:"port_id"` Body *AddSecurityGroupsRequestBody `json:"body,omitempty"` }
AddSecurityGroupsRequest Request Object
func (AddSecurityGroupsRequest) String ¶ added in v0.1.63
func (o AddSecurityGroupsRequest) String() string
type AddSecurityGroupsRequestBody ¶ added in v0.1.63
type AddSecurityGroupsRequestBody struct {
Port *InsertSecurityGroupOption `json:"port"`
}
AddSecurityGroupsRequestBody This is a auto create Body Object
func (AddSecurityGroupsRequestBody) String ¶ added in v0.1.63
func (o AddSecurityGroupsRequestBody) String() string
type AddSecurityGroupsResponse ¶ added in v0.1.63
type AddSecurityGroupsResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` Port *Port `json:"port,omitempty"` HttpStatusCode int `json:"-"` }
AddSecurityGroupsResponse Response Object
func (AddSecurityGroupsResponse) String ¶ added in v0.1.63
func (o AddSecurityGroupsResponse) String() string
type AddSourcesToTrafficMirrorSessionRequest ¶ added in v0.1.61
type AddSourcesToTrafficMirrorSessionRequest struct { // 流量镜像会话ID TrafficMirrorSessionId string `json:"traffic_mirror_session_id"` Body *AddSourcesToTrafficMirrorSessionRequestBody `json:"body,omitempty"` }
AddSourcesToTrafficMirrorSessionRequest Request Object
func (AddSourcesToTrafficMirrorSessionRequest) String ¶ added in v0.1.61
func (o AddSourcesToTrafficMirrorSessionRequest) String() string
type AddSourcesToTrafficMirrorSessionRequestBody ¶ added in v0.1.61
type AddSourcesToTrafficMirrorSessionRequestBody struct {
TrafficMirrorSession *TrafficMirrorSourcesOption `json:"traffic_mirror_session"`
}
AddSourcesToTrafficMirrorSessionRequestBody
func (AddSourcesToTrafficMirrorSessionRequestBody) String ¶ added in v0.1.61
func (o AddSourcesToTrafficMirrorSessionRequestBody) String() string
type AddSourcesToTrafficMirrorSessionResponse ¶ added in v0.1.61
type AddSourcesToTrafficMirrorSessionResponse struct { TrafficMirrorSession *TrafficMirrorSession `json:"traffic_mirror_session,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
AddSourcesToTrafficMirrorSessionResponse Response Object
func (AddSourcesToTrafficMirrorSessionResponse) String ¶ added in v0.1.61
func (o AddSourcesToTrafficMirrorSessionResponse) String() string
type AddVpcExtendCidrRequest ¶ added in v0.0.68
type AddVpcExtendCidrRequest struct { // VPC资源ID VpcId string `json:"vpc_id"` Body *AddVpcExtendCidrRequestBody `json:"body,omitempty"` }
AddVpcExtendCidrRequest Request Object
func (AddVpcExtendCidrRequest) String ¶ added in v0.0.68
func (o AddVpcExtendCidrRequest) String() string
type AddVpcExtendCidrRequestBody ¶ added in v0.0.68
type AddVpcExtendCidrRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会添加扩展网段。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接添加VPC扩展网段。 DryRun *bool `json:"dry_run,omitempty"` Vpc *AddExtendCidrOption `json:"vpc"` }
AddVpcExtendCidrRequestBody This is a auto create Body Object
func (AddVpcExtendCidrRequestBody) String ¶ added in v0.0.68
func (o AddVpcExtendCidrRequestBody) String() string
type AddVpcExtendCidrResponse ¶ added in v0.0.68
type AddVpcExtendCidrResponse struct { Vpc *Vpc `json:"vpc,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
AddVpcExtendCidrResponse Response Object
func (AddVpcExtendCidrResponse) String ¶ added in v0.0.68
func (o AddVpcExtendCidrResponse) String() string
type AddressGroup ¶ added in v0.0.68
type AddressGroup struct { // 功能说明:地址组唯一标识 取值范围:合法UUID的字符串 Id string `json:"id"` // 功能说明:地址组名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:地址组描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>”。 Description string `json:"description"` // 功能说明:地址组最大条目数,限制地址组可以包含的地址数量 取值范围:0-20 默认值:20 MaxCapacity int32 `json:"max_capacity"` // 功能说明:地址组可包含地址集 取值范围:可以是单个ip地址,ip地址范围,ip地址cidr 约束:当前一个地址组ip_set数量限制默认值为20,即配置的ip地址、ip地址范围或ip地址cidr的总数默认限制20 IpSet []string `json:"ip_set"` // 功能说明:IP地址组ip版本 取值范围:4, 表示ipv4地址组;6, 表示ipv6地址组 IpVersion int32 `json:"ip_version"` // 功能说明:地址组创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss;系统自动生成 CreatedAt *sdktime.SdkTime `json:"created_at"` // 功能描述:地址组最近一次更新资源的时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss;系统自动生成 UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 功能说明:资源所属项目ID TenantId string `json:"tenant_id"` // 功能说明:企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId string `json:"enterprise_project_id"` // IP地址组资源标签 Tags []ResourceTag `json:"tags"` // 功能说明:地址组状态 取值范围: NORMAL:正常 UPDATING:更新中 UPDATE_FAILED:更新失败 默认值:NORMAL 约束:当地址组处于UPDATING(更新中)状态时,不允许再次更新 Status string `json:"status"` // 功能说明:地址组状态详情信息 StatusMessage string `json:"status_message"` // 功能说明:地址组包含的地址集及其备注信息 IpExtraSet []IpExtraSetRespOption `json:"ip_extra_set"` }
func (AddressGroup) String ¶ added in v0.0.68
func (o AddressGroup) String() string
type AllowedAddressPair ¶ added in v0.1.63
type AllowedAddressPair struct { // 功能说明:IP地址约束:不支持0.0.0.0如果allowed_address_pairs配置地址池较大的CIDR(掩码小于24位),建议为该port配置一个单独的安全组。 IpAddress *string `json:"ip_address,omitempty"` // 功能说明:MAC地址 MacAddress *string `json:"mac_address,omitempty"` }
AllowedAddressPair
func (AllowedAddressPair) String ¶ added in v0.1.63
func (o AllowedAddressPair) String() string
type AssociateSubnetFirewallRequest ¶ added in v0.1.56
type AssociateSubnetFirewallRequest struct { // 网络ACL唯一标识 FirewallId string `json:"firewall_id"` Body *AssociateSubnetFirewallRequestBody `json:"body,omitempty"` }
AssociateSubnetFirewallRequest Request Object
func (AssociateSubnetFirewallRequest) String ¶ added in v0.1.56
func (o AssociateSubnetFirewallRequest) String() string
type AssociateSubnetFirewallRequestBody ¶ added in v0.1.56
type AssociateSubnetFirewallRequestBody struct { // 绑定ACL的子网列表 Subnets []FirewallAssociation `json:"subnets"` }
AssociateSubnetFirewallRequestBody This is a auto create Body Object
func (AssociateSubnetFirewallRequestBody) String ¶ added in v0.1.56
func (o AssociateSubnetFirewallRequestBody) String() string
type AssociateSubnetFirewallResponse ¶ added in v0.1.56
type AssociateSubnetFirewallResponse struct { Firewall *FirewallDetail `json:"firewall,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
AssociateSubnetFirewallResponse Response Object
func (AssociateSubnetFirewallResponse) String ¶ added in v0.1.56
func (o AssociateSubnetFirewallResponse) String() string
type BatchCreateClouddcnSubnetsTagsRequest ¶ added in v0.1.98
type BatchCreateClouddcnSubnetsTagsRequest struct { // Clouddcn子网的id ResourceId string `json:"resource_id"` Body *BatchCreateRequestBody `json:"body,omitempty"` }
BatchCreateClouddcnSubnetsTagsRequest Request Object
func (BatchCreateClouddcnSubnetsTagsRequest) String ¶ added in v0.1.98
func (o BatchCreateClouddcnSubnetsTagsRequest) String() string
type BatchCreateClouddcnSubnetsTagsResponse ¶ added in v0.1.98
type BatchCreateClouddcnSubnetsTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreateClouddcnSubnetsTagsResponse Response Object
func (BatchCreateClouddcnSubnetsTagsResponse) String ¶ added in v0.1.98
func (o BatchCreateClouddcnSubnetsTagsResponse) String() string
type BatchCreateFirewallTagsRequest ¶ added in v0.1.100
type BatchCreateFirewallTagsRequest struct { // 功能说明:ACL唯一标识 取值范围:合法UUID 约束:ID对应的ACL必须存在 FirewallId string `json:"firewall_id"` Body *BatchCreateFirewallTagsRequestBody `json:"body,omitempty"` }
BatchCreateFirewallTagsRequest Request Object
func (BatchCreateFirewallTagsRequest) String ¶ added in v0.1.100
func (o BatchCreateFirewallTagsRequest) String() string
type BatchCreateFirewallTagsRequestBody ¶ added in v0.1.100
type BatchCreateFirewallTagsRequestBody struct { // 标签列表 Tags *[]ResourceTag `json:"tags,omitempty"` }
BatchCreateFirewallTagsRequestBody This is a auto create Body Object
func (BatchCreateFirewallTagsRequestBody) String ¶ added in v0.1.100
func (o BatchCreateFirewallTagsRequestBody) String() string
type BatchCreateFirewallTagsResponse ¶ added in v0.1.100
type BatchCreateFirewallTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreateFirewallTagsResponse Response Object
func (BatchCreateFirewallTagsResponse) String ¶ added in v0.1.100
func (o BatchCreateFirewallTagsResponse) String() string
type BatchCreatePortTagsRequest ¶ added in v0.1.103
type BatchCreatePortTagsRequest struct { // 功能说明:端口唯一标识 取值范围:合法UUID 约束:ID对应的端口必须存在 PortId string `json:"port_id"` Body *BatchCreatePortTagsRequestBody `json:"body,omitempty"` }
BatchCreatePortTagsRequest Request Object
func (BatchCreatePortTagsRequest) String ¶ added in v0.1.103
func (o BatchCreatePortTagsRequest) String() string
type BatchCreatePortTagsRequestBody ¶ added in v0.1.103
type BatchCreatePortTagsRequestBody struct { // 标签列表 Tags *[]ResourceTag `json:"tags,omitempty"` }
BatchCreatePortTagsRequestBody This is a auto create Body Object
func (BatchCreatePortTagsRequestBody) String ¶ added in v0.1.103
func (o BatchCreatePortTagsRequestBody) String() string
type BatchCreatePortTagsResponse ¶ added in v0.1.103
type BatchCreatePortTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreatePortTagsResponse Response Object
func (BatchCreatePortTagsResponse) String ¶ added in v0.1.103
func (o BatchCreatePortTagsResponse) String() string
type BatchCreateRequestBody ¶ added in v0.1.98
type BatchCreateRequestBody struct { // 资源标签 Tags []BatchCreateRequestBodyTags `json:"tags"` // 系统标签 SysTags *[]BatchCreateRequestBodySysTags `json:"sys_tags,omitempty"` }
func (BatchCreateRequestBody) String ¶ added in v0.1.98
func (o BatchCreateRequestBody) String() string
type BatchCreateRequestBodySysTags ¶ added in v0.1.98
type BatchCreateRequestBodySysTags struct { // 标签键,最大长度128个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。 Key string `json:"key"` // 标签值,最大长度255个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。 Value string `json:"value"` }
func (BatchCreateRequestBodySysTags) String ¶ added in v0.1.98
func (o BatchCreateRequestBodySysTags) String() string
type BatchCreateRequestBodyTags ¶ added in v0.1.98
type BatchCreateRequestBodyTags struct { // 标签键,最大长度128个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。 Key string `json:"key"` // 标签值,最大长度255个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。 Value string `json:"value"` }
func (BatchCreateRequestBodyTags) String ¶ added in v0.1.98
func (o BatchCreateRequestBodyTags) String() string
type BatchCreateSecurityGroupRulesOption ¶ added in v0.1.62
type BatchCreateSecurityGroupRulesOption struct { // 功能说明:安全组的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:安全组规则的出入控制方向 取值范围:ingress 表示入方向;egress 表示出方向 Direction string `json:"direction"` // 功能说明:IP地址协议类型 取值范围:IPv4,IPv6 约束:不填默认值为IPv4 Ethertype *string `json:"ethertype,omitempty"` // 功能说明:协议类型 取值范围:icmp、tcp、udp、icmpv6或IP协议号(0~255) 约束:为空表示支持所有协议。协议为icmpv6时,网络类型应该为IPv6;协议为icmp时,网络类型应该为IPv4 Protocol *string `json:"protocol,omitempty"` // 功能说明:端口取值范围 取值范围:支持单端口(80),连续端口(1-30)以及不连续端口(22,3389,80) 约束:端口值的范围1~65535 Multiport *string `json:"multiport,omitempty"` // 功能说明:远端IP地址,当direction是egress时为虚拟机访问端的地址,当direction是ingress时为访问虚拟机的地址 取值范围:IP地址,或者cidr格式 约束:与remote_group_id、remote_address_group_id互斥 RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"` // 功能说明:远端安全组ID,表示该安全组内的流量允许或拒绝 取值范围:租户下存在的安全组ID 约束:与remote_ip_prefix,remote_address_group_id功能互斥 RemoteGroupId *string `json:"remote_group_id,omitempty"` // 功能说明:远端地址组ID 取值范围:租户下存在的地址组ID 约束:与remote_ip_prefix,remote_group_id功能互斥 RemoteAddressGroupId *string `json:"remote_address_group_id,omitempty"` // 功能说明:安全组规则生效策略 取值范围:allow 允许,deny 拒绝 约束:默认值为allow Action *string `json:"action,omitempty"` // 功能说明:规则在安全组中的优先级 取值范围:1~100,1代表最高优先级 约束:默认值为1 Priority *string `json:"priority,omitempty"` }
BatchCreateSecurityGroupRulesOption
func (BatchCreateSecurityGroupRulesOption) String ¶ added in v0.1.62
func (o BatchCreateSecurityGroupRulesOption) String() string
type BatchCreateSecurityGroupRulesRequest ¶ added in v0.1.62
type BatchCreateSecurityGroupRulesRequest struct { // 安全组ID SecurityGroupId string `json:"security_group_id"` Body *BatchCreateSecurityGroupRulesRequestBody `json:"body,omitempty"` }
BatchCreateSecurityGroupRulesRequest Request Object
func (BatchCreateSecurityGroupRulesRequest) String ¶ added in v0.1.62
func (o BatchCreateSecurityGroupRulesRequest) String() string
type BatchCreateSecurityGroupRulesRequestBody ¶ added in v0.1.62
type BatchCreateSecurityGroupRulesRequestBody struct { // 待创建的安全组规则列表 SecurityGroupRules []BatchCreateSecurityGroupRulesOption `json:"security_group_rules"` // 创建时是否忽略重复的安全组规则 默认为false IgnoreDuplicate *bool `json:"ignore_duplicate,omitempty"` // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建安全组规则。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建安全组规则。 DryRun *bool `json:"dry_run,omitempty"` }
BatchCreateSecurityGroupRulesRequestBody This is a auto create Body Object
func (BatchCreateSecurityGroupRulesRequestBody) String ¶ added in v0.1.62
func (o BatchCreateSecurityGroupRulesRequestBody) String() string
type BatchCreateSecurityGroupRulesResponse ¶ added in v0.1.62
type BatchCreateSecurityGroupRulesResponse struct { // 批量创建安全组规则的响应体 SecurityGroupRules *[]SecurityGroupRule `json:"security_group_rules,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateSecurityGroupRulesResponse Response Object
func (BatchCreateSecurityGroupRulesResponse) String ¶ added in v0.1.62
func (o BatchCreateSecurityGroupRulesResponse) String() string
type BatchCreateSubNetworkInterfaceOption ¶
type BatchCreateSubNetworkInterfaceOption struct { // 功能说明:虚拟子网ID 取值范围:标准UUID VirsubnetId string `json:"virsubnet_id"` // 功能说明:宿主网络接口的ID 取值范围:标注UUID 约束:必须是实际存在的端口ID ParentId string `json:"parent_id"` // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] 取值范围:默认值为系统默认安全组 SecurityGroups *[]string `json:"security_groups,omitempty"` // 功能说明:辅助弹性网卡的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:辅助弹性网卡是否启用ipv6地址 取值范围:true(开启),false(关闭) 默认值:false Ipv6Enable *bool `json:"ipv6_enable,omitempty"` // 功能说明:辅助弹性网卡所属的项目ID 取值范围:标准UUID 约束:只有管理员有权限指定 ProjectId *string `json:"project_id,omitempty"` }
BatchCreateSubNetworkInterfaceOption
func (BatchCreateSubNetworkInterfaceOption) String ¶
func (o BatchCreateSubNetworkInterfaceOption) String() string
type BatchCreateSubNetworkInterfaceRequest ¶
type BatchCreateSubNetworkInterfaceRequest struct {
Body *BatchCreateSubNetworkInterfaceRequestBody `json:"body,omitempty"`
}
BatchCreateSubNetworkInterfaceRequest Request Object
func (BatchCreateSubNetworkInterfaceRequest) String ¶
func (o BatchCreateSubNetworkInterfaceRequest) String() string
type BatchCreateSubNetworkInterfaceRequestBody ¶
type BatchCreateSubNetworkInterfaceRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建辅助弹性网卡。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建辅助弹性网卡。 DryRun *bool `json:"dry_run,omitempty"` SubNetworkInterface *BatchCreateSubNetworkInterfaceOption `json:"sub_network_interface"` // 批量创建辅助弹性网卡的个数 Count int32 `json:"count"` }
BatchCreateSubNetworkInterfaceRequestBody This is a auto create Body Object
func (BatchCreateSubNetworkInterfaceRequestBody) String ¶
func (o BatchCreateSubNetworkInterfaceRequestBody) String() string
type BatchCreateSubNetworkInterfaceResponse ¶
type BatchCreateSubNetworkInterfaceResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 批量创建辅助弹性网卡的响应体 SubNetworkInterfaces *[]SubNetworkInterface `json:"sub_network_interfaces,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateSubNetworkInterfaceResponse Response Object
func (BatchCreateSubNetworkInterfaceResponse) String ¶
func (o BatchCreateSubNetworkInterfaceResponse) String() string
type BatchDeleteClouddcnSubnetsTagsRequest ¶ added in v0.1.98
type BatchDeleteClouddcnSubnetsTagsRequest struct { // Clouddcn子网的id ResourceId string `json:"resource_id"` Body *BatchDeleteRequestBody `json:"body,omitempty"` }
BatchDeleteClouddcnSubnetsTagsRequest Request Object
func (BatchDeleteClouddcnSubnetsTagsRequest) String ¶ added in v0.1.98
func (o BatchDeleteClouddcnSubnetsTagsRequest) String() string
type BatchDeleteClouddcnSubnetsTagsResponse ¶ added in v0.1.98
type BatchDeleteClouddcnSubnetsTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchDeleteClouddcnSubnetsTagsResponse Response Object
func (BatchDeleteClouddcnSubnetsTagsResponse) String ¶ added in v0.1.98
func (o BatchDeleteClouddcnSubnetsTagsResponse) String() string
type BatchDeleteFirewallTagsRequest ¶ added in v0.1.100
type BatchDeleteFirewallTagsRequest struct { // 功能说明:ACL唯一标识 取值范围:合法UUID 约束:ID对应的ACL必须存在 FirewallId string `json:"firewall_id"` Body *BatchDeleteFirewallTagsRequestBody `json:"body,omitempty"` }
BatchDeleteFirewallTagsRequest Request Object
func (BatchDeleteFirewallTagsRequest) String ¶ added in v0.1.100
func (o BatchDeleteFirewallTagsRequest) String() string
type BatchDeleteFirewallTagsRequestBody ¶ added in v0.1.100
type BatchDeleteFirewallTagsRequestBody struct { // 标签列表 Tags *[]DeleteResourceTagRequestBody `json:"tags,omitempty"` }
BatchDeleteFirewallTagsRequestBody This is a auto create Body Object
func (BatchDeleteFirewallTagsRequestBody) String ¶ added in v0.1.100
func (o BatchDeleteFirewallTagsRequestBody) String() string
type BatchDeleteFirewallTagsResponse ¶ added in v0.1.100
type BatchDeleteFirewallTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchDeleteFirewallTagsResponse Response Object
func (BatchDeleteFirewallTagsResponse) String ¶ added in v0.1.100
func (o BatchDeleteFirewallTagsResponse) String() string
type BatchDeletePortTagsRequest ¶ added in v0.1.103
type BatchDeletePortTagsRequest struct { // 功能说明:端口唯一标识 取值范围:合法UUID 约束:ID对应的端口必须存在 PortId string `json:"port_id"` Body *BatchDeletePortTagsRequestBody `json:"body,omitempty"` }
BatchDeletePortTagsRequest Request Object
func (BatchDeletePortTagsRequest) String ¶ added in v0.1.103
func (o BatchDeletePortTagsRequest) String() string
type BatchDeletePortTagsRequestBody ¶ added in v0.1.103
type BatchDeletePortTagsRequestBody struct { // 标签列表 Tags *[]DeleteResourceTagRequestBody `json:"tags,omitempty"` }
BatchDeletePortTagsRequestBody This is a auto create Body Object
func (BatchDeletePortTagsRequestBody) String ¶ added in v0.1.103
func (o BatchDeletePortTagsRequestBody) String() string
type BatchDeletePortTagsResponse ¶ added in v0.1.103
type BatchDeletePortTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchDeletePortTagsResponse Response Object
func (BatchDeletePortTagsResponse) String ¶ added in v0.1.103
func (o BatchDeletePortTagsResponse) String() string
type BatchDeleteRequestBody ¶ added in v0.1.98
type BatchDeleteRequestBody struct { // 资源标签 Tags []BatchDeleteRequestBodyTags `json:"tags"` // 系统标签 SysTags *[]BatchDeleteRequestBodySysTags `json:"sys_tags,omitempty"` }
func (BatchDeleteRequestBody) String ¶ added in v0.1.98
func (o BatchDeleteRequestBody) String() string
type BatchDeleteRequestBodySysTags ¶ added in v0.1.98
type BatchDeleteRequestBodySysTags struct { // 标签键,最大长度128个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。 Key string `json:"key"` // 标签值,最大长度255个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。 Value *string `json:"value,omitempty"` }
func (BatchDeleteRequestBodySysTags) String ¶ added in v0.1.98
func (o BatchDeleteRequestBodySysTags) String() string
type BatchDeleteRequestBodyTags ¶ added in v0.1.98
type BatchDeleteRequestBodyTags struct { // 标签键,最大长度128个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。 Key string `json:"key"` // 标签值,最大长度255个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。 Value *string `json:"value,omitempty"` }
func (BatchDeleteRequestBodyTags) String ¶ added in v0.1.98
func (o BatchDeleteRequestBodyTags) String() string
type CloudResource ¶ added in v0.0.68
type CloudResource struct { // 功能描述:资源类型 ResourceType string `json:"resource_type"` // 功能说明:资源数量 ResourceCount int32 `json:"resource_count"` }
CloudResource
func (CloudResource) String ¶ added in v0.0.68
func (o CloudResource) String() string
type ClouddcnResource ¶ added in v0.1.98
type ClouddcnResource struct { // 资源ID标识符。 ResourceId string `json:"resource_id"` // 资源详情。 ResourceDetail *interface{} `json:"resource_detail"` // 包含标签。 Tags []Tag `json:"tags"` // 实例名字。 ResourceName string `json:"resource_name"` }
ClouddcnResource 查询过滤标签的资源
func (ClouddcnResource) String ¶ added in v0.1.98
func (o ClouddcnResource) String() string
type ClouddcnSubnet ¶ added in v0.1.98
type ClouddcnSubnet struct { // clouddcn子网ID Id string `json:"id"` // 功能说明:VPC所属的项目ID ProjectId string `json:"project_id"` // 功能说明:子网名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:子网描述 取值范围:0-255个字符,不能包含“<”和“>”。 Description string `json:"description"` // 功能说明:子网的网段 取值范围:必须在vpc对应cidr范围内 约束:必须是cidr格式。掩码长度不能大于28 Cidr string `json:"cidr"` // 功能说明:子网的网关 取值范围:子网网段中的IP地址 约束:必须是ip格式 GatewayIp string `json:"gateway_ip"` // clouddcn子网dns服务器地址列表 DnsNameservers []string `json:"dns_nameservers"` // clouddcn子网所在VPC标识 VpcId string `json:"vpc_id"` // 功能说明:资源创建UTC时间 格式:yyyy-MM-ddTHH:mm:ss CreatedAt *sdktime.SdkTime `json:"created_at"` // 功能说明:资源更新UTC时间 格式:yyyy-MM-ddTHH:mm:ss UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 功能说明:可用区 AvailabilityZone string `json:"availability_zone"` // 功能说明:对接TMS Tags []TagEntity `json:"tags"` // 功能说明:对接TPS EnterpriseProjectId string `json:"enterprise_project_id"` }
ClouddcnSubnet
func (ClouddcnSubnet) String ¶ added in v0.1.98
func (o ClouddcnSubnet) String() string
type CountFirewallsByTagsRequest ¶ added in v0.1.100
type CountFirewallsByTagsRequest struct {
Body *CountFirewallsByTagsRequestBody `json:"body,omitempty"`
}
CountFirewallsByTagsRequest Request Object
func (CountFirewallsByTagsRequest) String ¶ added in v0.1.100
func (o CountFirewallsByTagsRequest) String() string
type CountFirewallsByTagsRequestBody ¶ added in v0.1.100
type CountFirewallsByTagsRequestBody struct { // 功能说明:搜索字段,key为要匹配的字段,value为匹配的值 约束:key为固定字典值,不能包含重复的key或不支持的key,当前key仅支持resource_name Matches *[]Match `json:"matches,omitempty"` // 包含标签,最多包含50个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失 。 Key不能重复,同一个key中values不能重复。 结果返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。 Tags *[]ListTag `json:"tags,omitempty"` }
CountFirewallsByTagsRequestBody This is a auto create Body Object
func (CountFirewallsByTagsRequestBody) String ¶ added in v0.1.100
func (o CountFirewallsByTagsRequestBody) String() string
type CountFirewallsByTagsResponse ¶ added in v0.1.100
type CountFirewallsByTagsResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 资源数量 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
CountFirewallsByTagsResponse Response Object
func (CountFirewallsByTagsResponse) String ¶ added in v0.1.100
func (o CountFirewallsByTagsResponse) String() string
type CountPortsByTagsRequest ¶ added in v0.1.103
type CountPortsByTagsRequest struct {
Body *CountPortsByTagsRequestBody `json:"body,omitempty"`
}
CountPortsByTagsRequest Request Object
func (CountPortsByTagsRequest) String ¶ added in v0.1.103
func (o CountPortsByTagsRequest) String() string
type CountPortsByTagsRequestBody ¶ added in v0.1.103
type CountPortsByTagsRequestBody struct { // 功能说明:搜索字段,key为要匹配的字段,value为匹配的值 约束:key为固定字典值,不能包含重复的key或不支持的key,当前key仅支持resource_name Matches *[]Match `json:"matches,omitempty"` // 包含标签,最多包含50个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失 。 Key不能重复,同一个key中values不能重复。 结果返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。 Tags *[]ListTag `json:"tags,omitempty"` }
CountPortsByTagsRequestBody This is a auto create Body Object
func (CountPortsByTagsRequestBody) String ¶ added in v0.1.103
func (o CountPortsByTagsRequestBody) String() string
type CountPortsByTagsResponse ¶ added in v0.1.103
type CountPortsByTagsResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 资源数量 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
CountPortsByTagsResponse Response Object
func (CountPortsByTagsResponse) String ¶ added in v0.1.103
func (o CountPortsByTagsResponse) String() string
type CreateAddressGroupOption ¶ added in v0.0.68
type CreateAddressGroupOption struct { // 功能说明:地址组名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:地址组描述信息 取值范围:0-255个字符,不能包含“<”和“>”。 Description *string `json:"description,omitempty"` // 功能说明:地址组ip版本 取值范围:4, 表示ipv4地址组;6,表示ipv6地址组 IpVersion int32 `json:"ip_version"` // 功能说明:地址组可包含地址集 取值范围:可以是单个ip地址,ip地址范围,ip地址cidr 约束:当前一个地址组ip_set数量限制默认值为20,即配置的ip地址、ip地址范围或ip地址cidr的总数默认限制20 IpSet *[]string `json:"ip_set,omitempty"` // 功能说明:地址组最大条目数,限制地址组可以包含的地址数量 取值范围:0-20 默认值:20 MaxCapacity *int32 `json:"max_capacity,omitempty"` // 功能说明:企业项目ID。创建IP地址组时,给IP地址组绑定企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 功能说明:IP地址组包含的IP列表及其备注信息 约束:ip数量限制默认20, 与ip_set参数只能二选一 IpExtraSet *[]IpExtraSetOption `json:"ip_extra_set,omitempty"` }
CreateAddressGroupOption
func (CreateAddressGroupOption) String ¶ added in v0.0.68
func (o CreateAddressGroupOption) String() string
type CreateAddressGroupRequest ¶ added in v0.0.68
type CreateAddressGroupRequest struct {
Body *CreateAddressGroupRequestBody `json:"body,omitempty"`
}
CreateAddressGroupRequest Request Object
func (CreateAddressGroupRequest) String ¶ added in v0.0.68
func (o CreateAddressGroupRequest) String() string
type CreateAddressGroupRequestBody ¶ added in v0.0.68
type CreateAddressGroupRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建地址组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建地址组。 DryRun *bool `json:"dry_run,omitempty"` AddressGroup *CreateAddressGroupOption `json:"address_group"` }
CreateAddressGroupRequestBody This is a auto create Body Object
func (CreateAddressGroupRequestBody) String ¶ added in v0.0.68
func (o CreateAddressGroupRequestBody) String() string
type CreateAddressGroupResponse ¶ added in v0.0.68
type CreateAddressGroupResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` AddressGroup *AddressGroup `json:"address_group,omitempty"` HttpStatusCode int `json:"-"` }
CreateAddressGroupResponse Response Object
func (CreateAddressGroupResponse) String ¶ added in v0.0.68
func (o CreateAddressGroupResponse) String() string
type CreateClouddcnSubnetOption ¶ added in v0.1.98
type CreateClouddcnSubnetOption struct { // 功能说明:clouddcn子网名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:clouddcn子网描述 取值范围:0-255个字符,不能包含“<”和“>”。 Description *string `json:"description,omitempty"` // 功能说明:clouddcn子网的网段 取值范围:必须在vpc对应cidr范围内,不能和同vpc下其他普通子网的网段冲突 约束:必须是cidr格式。掩码长度不能大于28 Cidr string `json:"cidr"` // clouddcn子网所在VPC标识 VpcId string `json:"vpc_id"` // 功能说明:clouddcn子网的网关 取值范围:clouddcn子网网段中的IP地址 约束:必须是ip格式 GatewayIp string `json:"gateway_ip"` // 功能说明:clouddcn子网dns服务器地址的集合;如果想使用两个以上dns服务器,请使用该字段 约束:是子网dns服务器地址1跟子网dns服务器地址2的合集的父集,不支持IPv6地址。 默认值:不填时为空,无法使用云内网DNS功能 [内网DNS地址请参见](https://support.huaweicloud.com/dns_faq/dns_faq_002.html) [通过API获取请参见](https://support.huaweicloud.com/api-dns/dns_api_69001.html) DnsNameservers *[]string `json:"dns_nameservers,omitempty"` // 功能说明:可用区 AvailabilityZone *string `json:"availability_zone,omitempty"` // 功能说明:对接TMS Tags *[]TagEntity `json:"tags,omitempty"` }
CreateClouddcnSubnetOption
func (CreateClouddcnSubnetOption) String ¶ added in v0.1.98
func (o CreateClouddcnSubnetOption) String() string
type CreateClouddcnSubnetRequest ¶ added in v0.1.98
type CreateClouddcnSubnetRequest struct {
Body *CreateClouddcnSubnetRequestBody `json:"body,omitempty"`
}
CreateClouddcnSubnetRequest Request Object
func (CreateClouddcnSubnetRequest) String ¶ added in v0.1.98
func (o CreateClouddcnSubnetRequest) String() string
type CreateClouddcnSubnetRequestBody ¶ added in v0.1.98
type CreateClouddcnSubnetRequestBody struct {
ClouddcnSubnet *CreateClouddcnSubnetOption `json:"clouddcn_subnet"`
}
CreateClouddcnSubnetRequestBody 创建clouddcn子网对象
func (CreateClouddcnSubnetRequestBody) String ¶ added in v0.1.98
func (o CreateClouddcnSubnetRequestBody) String() string
type CreateClouddcnSubnetResponse ¶ added in v0.1.98
type CreateClouddcnSubnetResponse struct { ClouddcnSubnet *ClouddcnSubnet `json:"clouddcn_subnet,omitempty"` HttpStatusCode int `json:"-"` }
CreateClouddcnSubnetResponse Response Object
func (CreateClouddcnSubnetResponse) String ¶ added in v0.1.98
func (o CreateClouddcnSubnetResponse) String() string
type CreateFirewallOption ¶ added in v0.1.56
type CreateFirewallOption struct { // 功能说明:ACL名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:ACL描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>”。 Description *string `json:"description,omitempty"` // 功能说明:ACL企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 功能描述:ACL资源标签 Tags *[]ResourceTag `json:"tags,omitempty"` // 功能说明:ACL是否开启,默认值true 取值范围:true表示ACL开启;false表示ACL关闭 AdminStateUp *bool `json:"admin_state_up,omitempty"` }
CreateFirewallOption
func (CreateFirewallOption) String ¶ added in v0.1.56
func (o CreateFirewallOption) String() string
type CreateFirewallRequest ¶ added in v0.1.56
type CreateFirewallRequest struct {
Body *CreateFirewallRequestBody `json:"body,omitempty"`
}
CreateFirewallRequest Request Object
func (CreateFirewallRequest) String ¶ added in v0.1.56
func (o CreateFirewallRequest) String() string
type CreateFirewallRequestBody ¶ added in v0.1.56
type CreateFirewallRequestBody struct { Firewall *CreateFirewallOption `json:"firewall"` // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建ACL。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建ACL。 DryRun *bool `json:"dry_run,omitempty"` }
CreateFirewallRequestBody This is a auto create Body Object
func (CreateFirewallRequestBody) String ¶ added in v0.1.56
func (o CreateFirewallRequestBody) String() string
type CreateFirewallResponse ¶ added in v0.1.56
type CreateFirewallResponse struct { Firewall *FirewallDetail `json:"firewall,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateFirewallResponse Response Object
func (CreateFirewallResponse) String ¶ added in v0.1.56
func (o CreateFirewallResponse) String() string
type CreateFirewallTagRequest ¶ added in v0.1.100
type CreateFirewallTagRequest struct { // 功能说明:ACL唯一标识 取值范围:合法UUID 约束:ID对应的ACL必须存在 FirewallId string `json:"firewall_id"` Body *CreateFirewallTagRequestBody `json:"body,omitempty"` }
CreateFirewallTagRequest Request Object
func (CreateFirewallTagRequest) String ¶ added in v0.1.100
func (o CreateFirewallTagRequest) String() string
type CreateFirewallTagRequestBody ¶ added in v0.1.100
type CreateFirewallTagRequestBody struct {
Tag *ResourceTag `json:"tag"`
}
CreateFirewallTagRequestBody This is a auto create Body Object
func (CreateFirewallTagRequestBody) String ¶ added in v0.1.100
func (o CreateFirewallTagRequestBody) String() string
type CreateFirewallTagResponse ¶ added in v0.1.100
type CreateFirewallTagResponse struct {
HttpStatusCode int `json:"-"`
}
CreateFirewallTagResponse Response Object
func (CreateFirewallTagResponse) String ¶ added in v0.1.100
func (o CreateFirewallTagResponse) String() string
type CreatePortTagRequest ¶ added in v0.1.103
type CreatePortTagRequest struct { // 功能说明:端口唯一标识 取值范围:合法UUID 约束:ID对应的端口必须存在 PortId string `json:"port_id"` Body *CreatePortTagRequestBody `json:"body,omitempty"` }
CreatePortTagRequest Request Object
func (CreatePortTagRequest) String ¶ added in v0.1.103
func (o CreatePortTagRequest) String() string
type CreatePortTagRequestBody ¶ added in v0.1.103
type CreatePortTagRequestBody struct {
Tag *ResourceTag `json:"tag"`
}
CreatePortTagRequestBody This is a auto create Body Object
func (CreatePortTagRequestBody) String ¶ added in v0.1.103
func (o CreatePortTagRequestBody) String() string
type CreatePortTagResponse ¶ added in v0.1.103
type CreatePortTagResponse struct {
HttpStatusCode int `json:"-"`
}
CreatePortTagResponse Response Object
func (CreatePortTagResponse) String ¶ added in v0.1.103
func (o CreatePortTagResponse) String() string
type CreateSecurityGroupOption ¶
type CreateSecurityGroupOption struct { // 功能描述:安全组名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:安全组的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:企业项目ID。创建安全组时,给安全组绑定企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 功能描述:安全组的标签信息 Tags *[]ResourceTag `json:"tags,omitempty"` }
CreateSecurityGroupOption
func (CreateSecurityGroupOption) String ¶
func (o CreateSecurityGroupOption) String() string
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct {
Body *CreateSecurityGroupRequestBody `json:"body,omitempty"`
}
CreateSecurityGroupRequest Request Object
func (CreateSecurityGroupRequest) String ¶
func (o CreateSecurityGroupRequest) String() string
type CreateSecurityGroupRequestBody ¶
type CreateSecurityGroupRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建安全组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建安全组。 DryRun *bool `json:"dry_run,omitempty"` SecurityGroup *CreateSecurityGroupOption `json:"security_group"` }
CreateSecurityGroupRequestBody This is a auto create Body Object
func (CreateSecurityGroupRequestBody) String ¶
func (o CreateSecurityGroupRequestBody) String() string
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct { // 请求Id RequestId *string `json:"request_id,omitempty"` SecurityGroup *SecurityGroupInfo `json:"security_group,omitempty"` HttpStatusCode int `json:"-"` }
CreateSecurityGroupResponse Response Object
func (CreateSecurityGroupResponse) String ¶
func (o CreateSecurityGroupResponse) String() string
type CreateSecurityGroupRuleOption ¶
type CreateSecurityGroupRuleOption struct { // 功能说明:安全组规则所属的安全组ID SecurityGroupId string `json:"security_group_id"` // 功能说明:安全组的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:安全组规则的出入控制方向 取值范围:ingress 表示入方向;egress 表示出方向 Direction string `json:"direction"` // 功能说明:IP地址协议类型 取值范围:IPv4,IPv6 约束:不填默认值为IPv4 Ethertype *string `json:"ethertype,omitempty"` // 功能说明:协议类型 取值范围:icmp、tcp、udp、icmpv6或IP协议号(0~255) 约束:为空表示支持所有协议。协议为icmpv6时,网络类型应该为IPv6;协议为icmp时,网络类型应该为IPv4 Protocol *string `json:"protocol,omitempty"` // 功能说明:端口取值范围 取值范围:支持单端口(80),连续端口(1-30)以及不连续端口(22,3389,80) 约束:端口值的范围1~65535 Multiport *string `json:"multiport,omitempty"` // 功能说明:远端IP地址,当direction是egress时为虚拟机访问端的地址,当direction是ingress时为访问虚拟机的地址 取值范围:IP地址,或者cidr格式 约束:与remote_group_id、remote_address_group_id互斥 RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"` // 功能说明:远端安全组ID,表示该安全组内的流量允许或拒绝 取值范围:租户下存在的安全组ID 约束:与remote_ip_prefix,remote_address_group_id功能互斥 RemoteGroupId *string `json:"remote_group_id,omitempty"` // 功能说明:远端地址组ID 取值范围:租户下存在的地址组ID 约束:与remote_ip_prefix,remote_group_id功能互斥 RemoteAddressGroupId *string `json:"remote_address_group_id,omitempty"` // 功能说明:安全组规则生效策略 取值范围:allow 允许,deny 拒绝 约束:默认值为allow Action *string `json:"action,omitempty"` // 功能说明:规则在安全组中的优先级 取值范围:1~100,1代表最高优先级 约束:默认值为100 Priority *string `json:"priority,omitempty"` }
CreateSecurityGroupRuleOption
func (CreateSecurityGroupRuleOption) String ¶
func (o CreateSecurityGroupRuleOption) String() string
type CreateSecurityGroupRuleRequest ¶
type CreateSecurityGroupRuleRequest struct {
Body *CreateSecurityGroupRuleRequestBody `json:"body,omitempty"`
}
CreateSecurityGroupRuleRequest Request Object
func (CreateSecurityGroupRuleRequest) String ¶
func (o CreateSecurityGroupRuleRequest) String() string
type CreateSecurityGroupRuleRequestBody ¶
type CreateSecurityGroupRuleRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建安全组规则。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建安全组规则。 DryRun *bool `json:"dry_run,omitempty"` SecurityGroupRule *CreateSecurityGroupRuleOption `json:"security_group_rule"` }
CreateSecurityGroupRuleRequestBody This is a auto create Body Object
func (CreateSecurityGroupRuleRequestBody) String ¶
func (o CreateSecurityGroupRuleRequestBody) String() string
type CreateSecurityGroupRuleResponse ¶
type CreateSecurityGroupRuleResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SecurityGroupRule *SecurityGroupRule `json:"security_group_rule,omitempty"` HttpStatusCode int `json:"-"` }
CreateSecurityGroupRuleResponse Response Object
func (CreateSecurityGroupRuleResponse) String ¶
func (o CreateSecurityGroupRuleResponse) String() string
type CreateSubNetworkInterfaceOption ¶
type CreateSubNetworkInterfaceOption struct { // 功能说明:虚拟子网ID 取值范围:标准UUID VirsubnetId string `json:"virsubnet_id"` // 功能说明:辅助弹性网卡的VLAN ID 取值范围:1-4094 约束:同一个宿主网络接口下唯一 VlanId *string `json:"vlan_id,omitempty"` // 功能说明:宿主网络接口的ID 取值范围:标准UUID 约束:必须是实际存在的端口ID ParentId string `json:"parent_id"` // 功能说明:辅助弹性网卡的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:辅助弹性网卡是否启用ipv6地址 取值范围:true(开启),false(关闭) 默认值:false Ipv6Enable *bool `json:"ipv6_enable,omitempty"` // 功能说明:辅助弹性网卡的私有IPv4地址 取值范围:必须在虚拟子网的网段内,不填则随机在虚拟子网网段内随机分配 PrivateIpAddress *string `json:"private_ip_address,omitempty"` // 功能说明:辅助弹性网卡的IPv6地址 取值范围:不填则随机分配 Ipv6IpAddress *string `json:"ipv6_ip_address,omitempty"` // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] 取值范围:默认值为系统默认安全组 SecurityGroups *[]string `json:"security_groups,omitempty"` // 功能说明:辅助弹性网卡所属的项目ID 取值范围:标准UUID 约束:只有管理员有权限指定 ProjectId *string `json:"project_id,omitempty"` }
CreateSubNetworkInterfaceOption
func (CreateSubNetworkInterfaceOption) String ¶
func (o CreateSubNetworkInterfaceOption) String() string
type CreateSubNetworkInterfaceRequest ¶
type CreateSubNetworkInterfaceRequest struct {
Body *CreateSubNetworkInterfaceRequestBody `json:"body,omitempty"`
}
CreateSubNetworkInterfaceRequest Request Object
func (CreateSubNetworkInterfaceRequest) String ¶
func (o CreateSubNetworkInterfaceRequest) String() string
type CreateSubNetworkInterfaceRequestBody ¶
type CreateSubNetworkInterfaceRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建辅助弹性网卡。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建辅助弹性网卡。 DryRun *bool `json:"dry_run,omitempty"` SubNetworkInterface *CreateSubNetworkInterfaceOption `json:"sub_network_interface"` }
CreateSubNetworkInterfaceRequestBody This is a auto create Body Object
func (CreateSubNetworkInterfaceRequestBody) String ¶
func (o CreateSubNetworkInterfaceRequestBody) String() string
type CreateSubNetworkInterfaceResponse ¶
type CreateSubNetworkInterfaceResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` HttpStatusCode int `json:"-"` }
CreateSubNetworkInterfaceResponse Response Object
func (CreateSubNetworkInterfaceResponse) String ¶
func (o CreateSubNetworkInterfaceResponse) String() string
type CreateTrafficMirrorFilterOption ¶ added in v0.1.61
type CreateTrafficMirrorFilterOption struct { // 功能说明:流量镜像筛选条件的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:流量镜像筛选条件的名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` }
CreateTrafficMirrorFilterOption
func (CreateTrafficMirrorFilterOption) String ¶ added in v0.1.61
func (o CreateTrafficMirrorFilterOption) String() string
type CreateTrafficMirrorFilterRequest ¶ added in v0.1.61
type CreateTrafficMirrorFilterRequest struct {
Body *CreateTrafficMirrorFilterRequestBody `json:"body,omitempty"`
}
CreateTrafficMirrorFilterRequest Request Object
func (CreateTrafficMirrorFilterRequest) String ¶ added in v0.1.61
func (o CreateTrafficMirrorFilterRequest) String() string
type CreateTrafficMirrorFilterRequestBody ¶ added in v0.1.61
type CreateTrafficMirrorFilterRequestBody struct {
TrafficMirrorFilter *CreateTrafficMirrorFilterOption `json:"traffic_mirror_filter"`
}
CreateTrafficMirrorFilterRequestBody
func (CreateTrafficMirrorFilterRequestBody) String ¶ added in v0.1.61
func (o CreateTrafficMirrorFilterRequestBody) String() string
type CreateTrafficMirrorFilterResponse ¶ added in v0.1.61
type CreateTrafficMirrorFilterResponse struct { TrafficMirrorFilter *TrafficMirrorFilter `json:"traffic_mirror_filter,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateTrafficMirrorFilterResponse Response Object
func (CreateTrafficMirrorFilterResponse) String ¶ added in v0.1.61
func (o CreateTrafficMirrorFilterResponse) String() string
type CreateTrafficMirrorFilterRuleOption ¶ added in v0.1.61
type CreateTrafficMirrorFilterRuleOption struct { // 功能说明:端口镜像筛选规则的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:流量镜像筛选条件ID TrafficMirrorFilterId string `json:"traffic_mirror_filter_id"` // 功能说明:流量方向 取值范围: ingress:入方向 egress:出方向 Direction string `json:"direction"` // 功能说明:镜像流量的协议类型 取值范围:TCP、UDP、ICMP、ICMPV6、ALL Protocol string `json:"protocol"` // 功能说明:镜像流量的地址协议版本 取值范围:IPv4,IPv6 Ethertype string `json:"ethertype"` // 功能说明:镜像流量的源网段 SourceCidrBlock *string `json:"source_cidr_block,omitempty"` // 功能说明:镜像流量的目的网段 DestinationCidrBlock *string `json:"destination_cidr_block,omitempty"` // 功能说明:流量源端口范围 取值范围:1~65535 格式:80-200 SourcePortRange *string `json:"source_port_range,omitempty"` // 功能说明:流量目的端口范围 取值范围:1~65535 格式:80-200 DestinationPortRange *string `json:"destination_port_range,omitempty"` // 功能说明:镜像策略 取值范围:accept(采集)、reject(不采集) Action string `json:"action"` // 功能说明:镜像规则优先级 取值范围:1~65535,数字越小,优先级越高 Priority int32 `json:"priority"` }
CreateTrafficMirrorFilterRuleOption
func (CreateTrafficMirrorFilterRuleOption) String ¶ added in v0.1.61
func (o CreateTrafficMirrorFilterRuleOption) String() string
type CreateTrafficMirrorFilterRuleRequest ¶ added in v0.1.61
type CreateTrafficMirrorFilterRuleRequest struct {
Body *CreateTrafficMirrorFilterRuleRequestBody `json:"body,omitempty"`
}
CreateTrafficMirrorFilterRuleRequest Request Object
func (CreateTrafficMirrorFilterRuleRequest) String ¶ added in v0.1.61
func (o CreateTrafficMirrorFilterRuleRequest) String() string
type CreateTrafficMirrorFilterRuleRequestBody ¶ added in v0.1.61
type CreateTrafficMirrorFilterRuleRequestBody struct {
TrafficMirrorFilterRule *CreateTrafficMirrorFilterRuleOption `json:"traffic_mirror_filter_rule"`
}
CreateTrafficMirrorFilterRuleRequestBody
func (CreateTrafficMirrorFilterRuleRequestBody) String ¶ added in v0.1.61
func (o CreateTrafficMirrorFilterRuleRequestBody) String() string
type CreateTrafficMirrorFilterRuleResponse ¶ added in v0.1.61
type CreateTrafficMirrorFilterRuleResponse struct { TrafficMirrorFilterRule *TrafficMirrorFilterRule `json:"traffic_mirror_filter_rule,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateTrafficMirrorFilterRuleResponse Response Object
func (CreateTrafficMirrorFilterRuleResponse) String ¶ added in v0.1.61
func (o CreateTrafficMirrorFilterRuleResponse) String() string
type CreateTrafficMirrorSessionOption ¶ added in v0.1.61
type CreateTrafficMirrorSessionOption struct { // 功能说明:流量镜像会话名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:流量镜像会话的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:流量镜像筛选条件ID TrafficMirrorFilterId string `json:"traffic_mirror_filter_id"` // 功能说明:镜像源ID列表,支持弹性网卡作为镜像源。 约束:一个镜像会话默认最大支持10个镜像源。 TrafficMirrorSources []string `json:"traffic_mirror_sources"` // 功能说明:镜像目的ID TrafficMirrorTargetId string `json:"traffic_mirror_target_id"` // 功能说明:镜像目的类型 取值范围: eni:弹性网卡 elb:私网弹性负载均衡 TrafficMirrorTargetType string `json:"traffic_mirror_target_type"` // 功能说明:指定VNI,用于区分不同会话的镜像流量 取值范围:0~16777215 默认值:1 VirtualNetworkId *string `json:"virtual_network_id,omitempty"` // 功能说明:最大传输单元MTU 取值范围:1~1460 默认值:96 PacketLength *string `json:"packet_length,omitempty"` // 功能说明:会话优先级 取值范围:1~32766 Priority int32 `json:"priority"` // 功能说明:是否开启会话 取值范围:true、false 默认值:false Enabled *string `json:"enabled,omitempty"` // 功能说明:支持的镜像源类型 取值范围: eni:弹性网卡 Type *string `json:"type,omitempty"` }
CreateTrafficMirrorSessionOption
func (CreateTrafficMirrorSessionOption) String ¶ added in v0.1.61
func (o CreateTrafficMirrorSessionOption) String() string
type CreateTrafficMirrorSessionRequest ¶ added in v0.1.61
type CreateTrafficMirrorSessionRequest struct {
Body *CreateTrafficMirrorSessionRequestBody `json:"body,omitempty"`
}
CreateTrafficMirrorSessionRequest Request Object
func (CreateTrafficMirrorSessionRequest) String ¶ added in v0.1.61
func (o CreateTrafficMirrorSessionRequest) String() string
type CreateTrafficMirrorSessionRequestBody ¶ added in v0.1.61
type CreateTrafficMirrorSessionRequestBody struct {
TrafficMirrorSession *CreateTrafficMirrorSessionOption `json:"traffic_mirror_session"`
}
CreateTrafficMirrorSessionRequestBody
func (CreateTrafficMirrorSessionRequestBody) String ¶ added in v0.1.61
func (o CreateTrafficMirrorSessionRequestBody) String() string
type CreateTrafficMirrorSessionResponse ¶ added in v0.1.61
type CreateTrafficMirrorSessionResponse struct { TrafficMirrorSession *TrafficMirrorSession `json:"traffic_mirror_session,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateTrafficMirrorSessionResponse Response Object
func (CreateTrafficMirrorSessionResponse) String ¶ added in v0.1.61
func (o CreateTrafficMirrorSessionResponse) String() string
type CreateVpcOption ¶ added in v0.0.68
type CreateVpcOption struct { // 功能描述:VPC的名称信息 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:VPC的描述信息 取值范围:0-255个字符,不能包含“<”和“>”。 Description *string `json:"description,omitempty"` // 功能说明:vpc下可用子网的范围 取值范围: −10.0.0.0/8~10.255.255.240/28 −172.16.0.0/12 ~ 172.31.255.240/28 −192.168.0.0/16 ~ 192.168.255.240/28 约束:必须是cidr格式,例如:192.168.0.0/16 Cidr string `json:"cidr"` // 功能说明:企业项目ID。创建vpc时,给vpc绑定企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 功能说明:VPC的标签信息,详情参见Tag对象 取值范围:0-10个标签键值对 Tags *[]Tag `json:"tags,omitempty"` }
CreateVpcOption 创建VPC的请求体
func (CreateVpcOption) String ¶ added in v0.0.68
func (o CreateVpcOption) String() string
type CreateVpcRequest ¶ added in v0.0.68
type CreateVpcRequest struct {
Body *CreateVpcRequestBody `json:"body,omitempty"`
}
CreateVpcRequest Request Object
func (CreateVpcRequest) String ¶ added in v0.0.68
func (o CreateVpcRequest) String() string
type CreateVpcRequestBody ¶ added in v0.0.68
type CreateVpcRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建VPC。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建VPC。 DryRun *bool `json:"dry_run,omitempty"` Vpc *CreateVpcOption `json:"vpc"` }
CreateVpcRequestBody This is a auto create Body Object
func (CreateVpcRequestBody) String ¶ added in v0.0.68
func (o CreateVpcRequestBody) String() string
type CreateVpcResponse ¶ added in v0.0.68
type CreateVpcResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 错误消息 ErrorMsg *string `json:"error_msg,omitempty"` // 错误码 ErrorCode *string `json:"error_code,omitempty"` HttpStatusCode int `json:"-"` }
CreateVpcResponse Response Object
func (CreateVpcResponse) String ¶ added in v0.0.68
func (o CreateVpcResponse) String() string
type DeleteAddressGroupRequest ¶ added in v0.0.68
type DeleteAddressGroupRequest struct { // 地址组的唯一标识 AddressGroupId string `json:"address_group_id"` }
DeleteAddressGroupRequest Request Object
func (DeleteAddressGroupRequest) String ¶ added in v0.0.68
func (o DeleteAddressGroupRequest) String() string
type DeleteAddressGroupResponse ¶ added in v0.0.68
type DeleteAddressGroupResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteAddressGroupResponse Response Object
func (DeleteAddressGroupResponse) String ¶ added in v0.0.68
func (o DeleteAddressGroupResponse) String() string
type DeleteClouddcnSubnetRequest ¶ added in v0.1.98
type DeleteClouddcnSubnetRequest struct { // clouddcn子网ID ClouddcnSubnetId string `json:"clouddcn_subnet_id"` }
DeleteClouddcnSubnetRequest Request Object
func (DeleteClouddcnSubnetRequest) String ¶ added in v0.1.98
func (o DeleteClouddcnSubnetRequest) String() string
type DeleteClouddcnSubnetResponse ¶ added in v0.1.98
type DeleteClouddcnSubnetResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteClouddcnSubnetResponse Response Object
func (DeleteClouddcnSubnetResponse) String ¶ added in v0.1.98
func (o DeleteClouddcnSubnetResponse) String() string
type DeleteClouddcnSubnetsTagRequest ¶ added in v0.1.98
type DeleteClouddcnSubnetsTagRequest struct { // Clouddcn子网的id ResourceId string `json:"resource_id"` // 待删除标签的key TagKey string `json:"tag_key"` }
DeleteClouddcnSubnetsTagRequest Request Object
func (DeleteClouddcnSubnetsTagRequest) String ¶ added in v0.1.98
func (o DeleteClouddcnSubnetsTagRequest) String() string
type DeleteClouddcnSubnetsTagResponse ¶ added in v0.1.98
type DeleteClouddcnSubnetsTagResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteClouddcnSubnetsTagResponse Response Object
func (DeleteClouddcnSubnetsTagResponse) String ¶ added in v0.1.98
func (o DeleteClouddcnSubnetsTagResponse) String() string
type DeleteFirewallRequest ¶ added in v0.1.56
type DeleteFirewallRequest struct { // 网络ACL唯一标识 FirewallId string `json:"firewall_id"` }
DeleteFirewallRequest Request Object
func (DeleteFirewallRequest) String ¶ added in v0.1.56
func (o DeleteFirewallRequest) String() string
type DeleteFirewallResponse ¶ added in v0.1.56
type DeleteFirewallResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteFirewallResponse Response Object
func (DeleteFirewallResponse) String ¶ added in v0.1.56
func (o DeleteFirewallResponse) String() string
type DeleteFirewallTagRequest ¶ added in v0.1.100
type DeleteFirewallTagRequest struct { // 功能说明:ACL唯一标识 取值范围:合法UUID 约束:ID对应的ACL必须存在 FirewallId string `json:"firewall_id"` // 功能说明:标签键 TagKey string `json:"tag_key"` }
DeleteFirewallTagRequest Request Object
func (DeleteFirewallTagRequest) String ¶ added in v0.1.100
func (o DeleteFirewallTagRequest) String() string
type DeleteFirewallTagResponse ¶ added in v0.1.100
type DeleteFirewallTagResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteFirewallTagResponse Response Object
func (DeleteFirewallTagResponse) String ¶ added in v0.1.100
func (o DeleteFirewallTagResponse) String() string
type DeleteIpAddressGroupForceRequest ¶ added in v0.0.68
type DeleteIpAddressGroupForceRequest struct { // IP地址组的唯一标识,要删除的IP地址组ID AddressGroupId string `json:"address_group_id"` }
DeleteIpAddressGroupForceRequest Request Object
func (DeleteIpAddressGroupForceRequest) String ¶ added in v0.0.68
func (o DeleteIpAddressGroupForceRequest) String() string
type DeleteIpAddressGroupForceResponse ¶ added in v0.0.68
type DeleteIpAddressGroupForceResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteIpAddressGroupForceResponse Response Object
func (DeleteIpAddressGroupForceResponse) String ¶ added in v0.0.68
func (o DeleteIpAddressGroupForceResponse) String() string
type DeletePortTagRequest ¶ added in v0.1.103
type DeletePortTagRequest struct { // 功能说明:端口唯一标识 取值范围:合法UUID 约束:ID对应的端口必须存在 PortId string `json:"port_id"` // 功能说明:标签键 TagKey string `json:"tag_key"` }
DeletePortTagRequest Request Object
func (DeletePortTagRequest) String ¶ added in v0.1.103
func (o DeletePortTagRequest) String() string
type DeletePortTagResponse ¶ added in v0.1.103
type DeletePortTagResponse struct {
HttpStatusCode int `json:"-"`
}
DeletePortTagResponse Response Object
func (DeletePortTagResponse) String ¶ added in v0.1.103
func (o DeletePortTagResponse) String() string
type DeleteResourceTagRequestBody ¶ added in v0.1.103
type DeleteResourceTagRequestBody struct { // 功能说明:标签键 约束:同一资源的key值不能重复。 Key string `json:"key"` // 功能说明:标签值 Value *string `json:"value,omitempty"` }
func (DeleteResourceTagRequestBody) String ¶ added in v0.1.103
func (o DeleteResourceTagRequestBody) String() string
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct { // 安全组资源ID SecurityGroupId string `json:"security_group_id"` }
DeleteSecurityGroupRequest Request Object
func (DeleteSecurityGroupRequest) String ¶
func (o DeleteSecurityGroupRequest) String() string
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSecurityGroupResponse Response Object
func (DeleteSecurityGroupResponse) String ¶
func (o DeleteSecurityGroupResponse) String() string
type DeleteSecurityGroupRuleRequest ¶
type DeleteSecurityGroupRuleRequest struct { // 安全组规则ID SecurityGroupRuleId string `json:"security_group_rule_id"` }
DeleteSecurityGroupRuleRequest Request Object
func (DeleteSecurityGroupRuleRequest) String ¶
func (o DeleteSecurityGroupRuleRequest) String() string
type DeleteSecurityGroupRuleResponse ¶
type DeleteSecurityGroupRuleResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSecurityGroupRuleResponse Response Object
func (DeleteSecurityGroupRuleResponse) String ¶
func (o DeleteSecurityGroupRuleResponse) String() string
type DeleteSubNetworkInterfaceRequest ¶
type DeleteSubNetworkInterfaceRequest struct { // 弹性辅助网卡唯一标识 SubNetworkInterfaceId string `json:"sub_network_interface_id"` }
DeleteSubNetworkInterfaceRequest Request Object
func (DeleteSubNetworkInterfaceRequest) String ¶
func (o DeleteSubNetworkInterfaceRequest) String() string
type DeleteSubNetworkInterfaceResponse ¶
type DeleteSubNetworkInterfaceResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSubNetworkInterfaceResponse Response Object
func (DeleteSubNetworkInterfaceResponse) String ¶
func (o DeleteSubNetworkInterfaceResponse) String() string
type DeleteTrafficMirrorFilterRequest ¶ added in v0.1.61
type DeleteTrafficMirrorFilterRequest struct { // 流量镜像筛选条件ID TrafficMirrorFilterId string `json:"traffic_mirror_filter_id"` }
DeleteTrafficMirrorFilterRequest Request Object
func (DeleteTrafficMirrorFilterRequest) String ¶ added in v0.1.61
func (o DeleteTrafficMirrorFilterRequest) String() string
type DeleteTrafficMirrorFilterResponse ¶ added in v0.1.61
type DeleteTrafficMirrorFilterResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTrafficMirrorFilterResponse Response Object
func (DeleteTrafficMirrorFilterResponse) String ¶ added in v0.1.61
func (o DeleteTrafficMirrorFilterResponse) String() string
type DeleteTrafficMirrorFilterRuleRequest ¶ added in v0.1.61
type DeleteTrafficMirrorFilterRuleRequest struct { // 流量镜像筛选条件规则ID TrafficMirrorFilterRuleId string `json:"traffic_mirror_filter_rule_id"` }
DeleteTrafficMirrorFilterRuleRequest Request Object
func (DeleteTrafficMirrorFilterRuleRequest) String ¶ added in v0.1.61
func (o DeleteTrafficMirrorFilterRuleRequest) String() string
type DeleteTrafficMirrorFilterRuleResponse ¶ added in v0.1.61
type DeleteTrafficMirrorFilterRuleResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTrafficMirrorFilterRuleResponse Response Object
func (DeleteTrafficMirrorFilterRuleResponse) String ¶ added in v0.1.61
func (o DeleteTrafficMirrorFilterRuleResponse) String() string
type DeleteTrafficMirrorSessionRequest ¶ added in v0.1.61
type DeleteTrafficMirrorSessionRequest struct { // 流量镜像会话ID TrafficMirrorSessionId string `json:"traffic_mirror_session_id"` }
DeleteTrafficMirrorSessionRequest Request Object
func (DeleteTrafficMirrorSessionRequest) String ¶ added in v0.1.61
func (o DeleteTrafficMirrorSessionRequest) String() string
type DeleteTrafficMirrorSessionResponse ¶ added in v0.1.61
type DeleteTrafficMirrorSessionResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTrafficMirrorSessionResponse Response Object
func (DeleteTrafficMirrorSessionResponse) String ¶ added in v0.1.61
func (o DeleteTrafficMirrorSessionResponse) String() string
type DeleteVpcRequest ¶ added in v0.0.68
type DeleteVpcRequest struct { // VPC的资源ID VpcId string `json:"vpc_id"` }
DeleteVpcRequest Request Object
func (DeleteVpcRequest) String ¶ added in v0.0.68
func (o DeleteVpcRequest) String() string
type DeleteVpcResponse ¶ added in v0.0.68
type DeleteVpcResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteVpcResponse Response Object
func (DeleteVpcResponse) String ¶ added in v0.0.68
func (o DeleteVpcResponse) String() string
type DisassociateSubnetFirewallRequest ¶ added in v0.1.56
type DisassociateSubnetFirewallRequest struct { // 网络ACL唯一标识 FirewallId string `json:"firewall_id"` Body *DisassociateSubnetFirewallRequestBody `json:"body,omitempty"` }
DisassociateSubnetFirewallRequest Request Object
func (DisassociateSubnetFirewallRequest) String ¶ added in v0.1.56
func (o DisassociateSubnetFirewallRequest) String() string
type DisassociateSubnetFirewallRequestBody ¶ added in v0.1.56
type DisassociateSubnetFirewallRequestBody struct { // 解绑ACL的子网列表 Subnets []FirewallAssociation `json:"subnets"` }
DisassociateSubnetFirewallRequestBody This is a auto create Body Object
func (DisassociateSubnetFirewallRequestBody) String ¶ added in v0.1.56
func (o DisassociateSubnetFirewallRequestBody) String() string
type DisassociateSubnetFirewallResponse ¶ added in v0.1.56
type DisassociateSubnetFirewallResponse struct { Firewall *FirewallDetail `json:"firewall,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
DisassociateSubnetFirewallResponse Response Object
func (DisassociateSubnetFirewallResponse) String ¶ added in v0.1.56
func (o DisassociateSubnetFirewallResponse) String() string
type FirewallAssociation ¶ added in v0.1.56
type FirewallAssociation struct { // 功能说明:ACL绑定的子网ID VirsubnetId string `json:"virsubnet_id"` }
FirewallAssociation
func (FirewallAssociation) String ¶ added in v0.1.56
func (o FirewallAssociation) String() string
type FirewallDetail ¶ added in v0.1.56
type FirewallDetail struct { // 功能说明:ACL唯一标识 取值范围:合法UUID的字符串 Id string `json:"id"` // 功能说明:ACL名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:ACL描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>”。 Description string `json:"description"` // 功能说明:资源所属项目ID ProjectId string `json:"project_id"` // 功能说明:ACL创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss;系统自动生成 CreatedAt string `json:"created_at"` // 功能描述:ACL最近一次更新资源的时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss;系统自动生成 UpdatedAt string `json:"updated_at"` // 功能说明:ACL是否开启 取值范围:true表示ACL开启;false表示ACL关闭 AdminStateUp bool `json:"admin_state_up"` // 功能说明:网络ACL的状态 Status string `json:"status"` // 功能说明:ACL企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId string `json:"enterprise_project_id"` // 功能描述:ACL资源标签 Tags []ResourceTag `json:"tags"` // 功能说明:ACL绑定的子网列表 Associations []FirewallAssociation `json:"associations"` // 功能说明:ACL入方向规则列表 IngressRules []FirewallRuleDetail `json:"ingress_rules"` // 功能说明:ACL出方向规则列表 EgressRules []FirewallRuleDetail `json:"egress_rules"` }
FirewallDetail
func (FirewallDetail) String ¶ added in v0.1.56
func (o FirewallDetail) String() string
type FirewallInsertRuleItemOption ¶ added in v0.1.56
type FirewallInsertRuleItemOption struct { // 功能说明:ACL规则名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // 功能说明:ACL规则描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>”。 Description *string `json:"description,omitempty"` // 功能说明:ACL规则对流量执行的操作放通或拒绝 取值范围:allow放通;deny拒绝 Action string `json:"action"` // 功能说明:ACL规则协议 取值范围:支持tcp,udp,icmp,icmpv6或者协议号(0-255),any表示全部协议 Protocol string `json:"protocol"` // 功能说明:ACL规则的ip版本 取值范围:4, 表示ipv4;6, 表示ipv6 IpVersion int32 `json:"ip_version"` // 功能说明:ACL规则源IP地址或者CIDR 约束:source_ip_address和source_address_group_id不能同时设置 SourceIpAddress *string `json:"source_ip_address,omitempty"` // 功能说明:ACL规则目的IP地址或者CIDR 约束:destination_ip_address和destination_address_group_id不能同时设置 DestinationIpAddress *string `json:"destination_ip_address,omitempty"` // 功能说明:ACL规则的源端口 取值范围:支持端口号,一段端口范围,多个以逗号分隔 约束:支持的端口组的数量默认为20 SourcePort *string `json:"source_port,omitempty"` // 功能说明:ACL规则的目的端口 取值范围:支持端口号,一段端口范围,多个以逗号分隔 约束:支持的端口组的数量默认为20 DestinationPort *string `json:"destination_port,omitempty"` // 功能说明:ACL规则的源地址组ID 约束:source_ip_address和source_address_group_id不能同时设置 SourceAddressGroupId *string `json:"source_address_group_id,omitempty"` // 功能说明:ACL规则的目的地址组ID 约束:destination_ip_address和destination_address_group_id不能同时设置 DestinationAddressGroupId *string `json:"destination_address_group_id,omitempty"` // 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 Enabled *bool `json:"enabled,omitempty"` }
FirewallInsertRuleItemOption
func (FirewallInsertRuleItemOption) String ¶ added in v0.1.56
func (o FirewallInsertRuleItemOption) String() string
type FirewallInsertRuleOption ¶ added in v0.1.56
type FirewallInsertRuleOption struct { // 功能说明:ACL添加入方向规则列表 IngressRules *[]FirewallInsertRuleItemOption `json:"ingress_rules,omitempty"` // 功能说明:ACL添加出方向规则列表 EgressRules *[]FirewallInsertRuleItemOption `json:"egress_rules,omitempty"` // 功能说明:插入ACL的规则在入方向或者出方向某条规则位置后,不指定则在入方向或者出方向规则列表最前面插入规则 约束:指定了insert_after_rule,ingress_rules和egress_rules只能同时设置一个,且该规则在入方向或者出方向规则中存在 InsertAfterRule *string `json:"insert_after_rule,omitempty"` }
FirewallInsertRuleOption
func (FirewallInsertRuleOption) String ¶ added in v0.1.56
func (o FirewallInsertRuleOption) String() string
type FirewallRemoveRuleItemOption ¶ added in v0.1.56
type FirewallRemoveRuleItemOption struct { // 功能说明:要删除的ACL规则id Id string `json:"id"` }
FirewallRemoveRuleItemOption
func (FirewallRemoveRuleItemOption) String ¶ added in v0.1.56
func (o FirewallRemoveRuleItemOption) String() string
type FirewallRemoveRuleOption ¶ added in v0.1.56
type FirewallRemoveRuleOption struct { // 功能说明:ACL删除入方向规则列表 约束:ingress_rules和egress_rules仅能同时设置一个 IngressRules *[]FirewallRemoveRuleItemOption `json:"ingress_rules,omitempty"` // 功能说明:ACL删除出方向规则列表 约束:ingress_rules和egress_rules仅能同时设置一个 EgressRules *[]FirewallRemoveRuleItemOption `json:"egress_rules,omitempty"` }
FirewallRemoveRuleOption
func (FirewallRemoveRuleOption) String ¶ added in v0.1.56
func (o FirewallRemoveRuleOption) String() string
type FirewallRuleDetail ¶ added in v0.1.56
type FirewallRuleDetail struct { // 功能说明:ACL规则唯一标识 取值范围:合法UUID的字符串 Id string `json:"id"` // 功能说明:ACL规则名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:ACL规则描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>”。 Description string `json:"description"` // 功能说明:ACL规则对流量执行的操作放通或拒绝 取值范围:allow放通;deny拒绝 Action string `json:"action"` // 功能说明:资源所属项目ID ProjectId string `json:"project_id"` // 功能说明:ACL规则协议 取值范围:支持TCP,UDP,ICMP, ICMPV6或者IP协议号(0-255) Protocol string `json:"protocol"` // 功能说明:ACL规则的ip版本 取值范围:4, 表示ipv4;6, 表示ipv6 IpVersion int32 `json:"ip_version"` // 功能说明:ACL规则源IP地址或者CIDR 约束:source_ip_address和source_address_group_id不能同时设置 SourceIpAddress string `json:"source_ip_address"` // 功能说明:ACL规则目的IP地址或者CIDR 约束:destination_ip_address和destination_address_group_id不能同时设置 DestinationIpAddress string `json:"destination_ip_address"` // 功能说明:ACL规则的源端口 取值范围:支持端口号,一段端口范围,多个以逗号分隔 约束:支持的端口组的数量默认为20 SourcePort string `json:"source_port"` // 功能说明:ACL规则的目的端口 取值范围:支持端口号,一段端口范围,多个以逗号分隔 约束:支持的端口组的数量默认为20 DestinationPort string `json:"destination_port"` // 功能说明:ACL规则的源地址组ID 约束:source_ip_address和source_address_group_id不能同时设置 SourceAddressGroupId string `json:"source_address_group_id"` // 功能说明:ACL规则的目的地址组ID 约束:destination_ip_address和destination_address_group_id不能同时设置 DestinationAddressGroupId string `json:"destination_address_group_id"` // 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 Enabled bool `json:"enabled"` }
FirewallRuleDetail
func (FirewallRuleDetail) String ¶ added in v0.1.56
func (o FirewallRuleDetail) String() string
type FirewallUpdateRuleItemOption ¶ added in v0.1.56
type FirewallUpdateRuleItemOption struct { // 功能说明:ACL规则唯一标识 取值范围:合法UUID的字符串 Id string `json:"id"` // 功能说明:ACL规则名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // 功能说明:ACL规则描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>”。 Description *string `json:"description,omitempty"` // 功能说明:ACL规则对流量执行的操作放通或拒绝 取值范围:allow放通;deny拒绝 Action *string `json:"action,omitempty"` // 功能说明:ACL规则协议 取值范围:支持tcp,udp,icmp,icmpv6或者协议号(0-255),any表示全部协议 Protocol *string `json:"protocol,omitempty"` // 功能说明:ACL规则的ip版本 取值范围:4, 表示ipv4;6, 表示ipv6 IpVersion *int32 `json:"ip_version,omitempty"` // 功能说明:ACL规则源IP地址或者CIDR 约束:source_ip_address和source_address_group_id不能同时设置 SourceIpAddress *string `json:"source_ip_address,omitempty"` // 功能说明:ACL规则目的IP地址或者CIDR 约束:destination_ip_address和destination_address_group_id不能同时设置 DestinationIpAddress *string `json:"destination_ip_address,omitempty"` // 功能说明:ACL规则的源端口 取值范围:支持端口号,一段端口范围,多个以逗号分隔 约束:支持的端口组的数量默认为20 SourcePort *string `json:"source_port,omitempty"` // 功能说明:ACL规则的目的端口 取值范围:支持端口号,一段端口范围,多个以逗号分隔 约束:支持的端口组的数量默认为20 DestinationPort *string `json:"destination_port,omitempty"` // 功能说明:ACL规则的源地址组ID 约束:source_ip_address和source_address_group_id不能同时设置 SourceAddressGroupId *string `json:"source_address_group_id,omitempty"` // 功能说明:ACL规则的目的地址组ID 约束:destination_ip_address和destination_address_group_id不能同时设置 DestinationAddressGroupId *string `json:"destination_address_group_id,omitempty"` // 功能说明:是否启用ACL规则。 取值范围:true,表示启用;false,表示停用。 默认值:true。 Enabled *bool `json:"enabled,omitempty"` }
FirewallUpdateRuleItemOption
func (FirewallUpdateRuleItemOption) String ¶ added in v0.1.56
func (o FirewallUpdateRuleItemOption) String() string
type FirewallUpdateRuleOption ¶ added in v0.1.56
type FirewallUpdateRuleOption struct { // 功能说明:ACL更新入方向规则列表 约束:ingress_rules和egress_rules仅能同时设置一个,且当前只支持同时更新一条规则 IngressRules *[]FirewallUpdateRuleItemOption `json:"ingress_rules,omitempty"` // 功能说明:ACL更新出方向规则列表 约束:ingress_rules和egress_rules仅能同时设置一个,且当前只支持同时更新一条规则 EgressRules *[]FirewallUpdateRuleItemOption `json:"egress_rules,omitempty"` }
FirewallUpdateRuleOption
func (FirewallUpdateRuleOption) String ¶ added in v0.1.56
func (o FirewallUpdateRuleOption) String() string
type InsertSecurityGroupOption ¶ added in v0.1.63
type InsertSecurityGroupOption struct { // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] SecurityGroups []string `json:"security_groups"` // 安全组插入的位置,从0开始计数。 举例: 1. 要插入到已关联安全组列表的首位,index=0; 2. 要插入到已关联安全组列表的第n个安全组后面,index=n。 默认插入到端口已关联的安全组列表末尾。 Index *int32 `json:"index,omitempty"` }
InsertSecurityGroupOption
func (InsertSecurityGroupOption) String ¶ added in v0.1.63
func (o InsertSecurityGroupOption) String() string
type IpExtraSetOption ¶ added in v0.1.77
type IpExtraSetOption struct { // 功能说明:单个IP地址、IP地址范围或ip地址网段,支持IPv4、IPv6 Ip string `json:"ip"` // 功能说明:IP的备注信息 取值范围:0-255个字符,不能包含“<”和“>”。 Remarks *string `json:"remarks,omitempty"` }
IpExtraSetOption
func (IpExtraSetOption) String ¶ added in v0.1.77
func (o IpExtraSetOption) String() string
type IpExtraSetRespOption ¶ added in v0.1.77
type IpExtraSetRespOption struct { // 功能说明:单个IP地址、IP地址范围或ip地址网段,支持IPv4、IPv6 Ip string `json:"ip"` // 功能说明:IP的备注信息 取值范围:0-255个字符,不能包含“<”和“>”。 Remarks string `json:"remarks"` }
IpExtraSetRespOption
func (IpExtraSetRespOption) String ¶ added in v0.1.77
func (o IpExtraSetRespOption) String() string
type ListAddressGroupRequest ¶ added in v0.0.68
type ListAddressGroupRequest struct { // 功能说明:每页返回的个数 取值范围:0~2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` // 地址组唯一标识,填写后接口按照id进行过滤,支持多ID同时过滤 Id *[]string `json:"id,omitempty"` // 地址组名称,填写后按照名称进行过滤,支持多名称同时过滤 Name *[]string `json:"name,omitempty"` // IP地址组ip版本,当前只支持ipv4,填写后按照ip版本进行过滤 IpVersion *int32 `json:"ip_version,omitempty"` // 地址组描述信息,填写后按照地址组描述信息过滤,支持多描述同时过滤 Description *[]string `json:"description,omitempty"` // 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的IP地址组。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。若需要查询当前用户所有企业项目绑定的IP地址组,请传参all_granted_eps。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ListAddressGroupRequest Request Object
func (ListAddressGroupRequest) String ¶ added in v0.0.68
func (o ListAddressGroupRequest) String() string
type ListAddressGroupResponse ¶ added in v0.0.68
type ListAddressGroupResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 地址组列表响应体 AddressGroups *[]AddressGroup `json:"address_groups,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListAddressGroupResponse Response Object
func (ListAddressGroupResponse) String ¶ added in v0.0.68
func (o ListAddressGroupResponse) String() string
type ListClouddcnSubnetsCountFilterTagsRequest ¶ added in v0.1.98
type ListClouddcnSubnetsCountFilterTagsRequest struct {
Body *ListResourcesByTagsRequestBody `json:"body,omitempty"`
}
ListClouddcnSubnetsCountFilterTagsRequest Request Object
func (ListClouddcnSubnetsCountFilterTagsRequest) String ¶ added in v0.1.98
func (o ListClouddcnSubnetsCountFilterTagsRequest) String() string
type ListClouddcnSubnetsCountFilterTagsResponse ¶ added in v0.1.98
type ListClouddcnSubnetsCountFilterTagsResponse struct { // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` // 当前列表中资源数量。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListClouddcnSubnetsCountFilterTagsResponse Response Object
func (ListClouddcnSubnetsCountFilterTagsResponse) String ¶ added in v0.1.98
func (o ListClouddcnSubnetsCountFilterTagsResponse) String() string
type ListClouddcnSubnetsFilterTagsRequest ¶ added in v0.1.98
type ListClouddcnSubnetsFilterTagsRequest struct { // 每页返回的个数 Limit *int32 `json:"limit,omitempty"` // 分页起始点 Offset *int32 `json:"offset,omitempty"` Body *ListResourcesByTagsRequestBody `json:"body,omitempty"` }
ListClouddcnSubnetsFilterTagsRequest Request Object
func (ListClouddcnSubnetsFilterTagsRequest) String ¶ added in v0.1.98
func (o ListClouddcnSubnetsFilterTagsRequest) String() string
type ListClouddcnSubnetsFilterTagsResponse ¶ added in v0.1.98
type ListClouddcnSubnetsFilterTagsResponse struct { // 资源列表 Resources *[]ClouddcnResource `json:"resources,omitempty"` // 当前列表中资源数量。 TotalCount *int32 `json:"total_count,omitempty"` // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListClouddcnSubnetsFilterTagsResponse Response Object
func (ListClouddcnSubnetsFilterTagsResponse) String ¶ added in v0.1.98
func (o ListClouddcnSubnetsFilterTagsResponse) String() string
type ListClouddcnSubnetsRequest ¶ added in v0.1.98
type ListClouddcnSubnetsRequest struct { // 每页返回的个数 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源id,为空时查询第一页 Marker *string `json:"marker,omitempty"` // 按照vpc_id过滤查询 企业项目细粒度授权场景下,该字段必传 VpcId *string `json:"vpc_id,omitempty"` }
ListClouddcnSubnetsRequest Request Object
func (ListClouddcnSubnetsRequest) String ¶ added in v0.1.98
func (o ListClouddcnSubnetsRequest) String() string
type ListClouddcnSubnetsResponse ¶ added in v0.1.98
type ListClouddcnSubnetsResponse struct { // clouddcn subnet对象列表 ClouddcnSubnets *[]ClouddcnSubnet `json:"clouddcn_subnets,omitempty"` HttpStatusCode int `json:"-"` }
ListClouddcnSubnetsResponse Response Object
func (ListClouddcnSubnetsResponse) String ¶ added in v0.1.98
func (o ListClouddcnSubnetsResponse) String() string
type ListClouddcnSubnetsTagsRequest ¶ added in v0.1.98
type ListClouddcnSubnetsTagsRequest struct { }
ListClouddcnSubnetsTagsRequest Request Object
func (ListClouddcnSubnetsTagsRequest) String ¶ added in v0.1.98
func (o ListClouddcnSubnetsTagsRequest) String() string
type ListClouddcnSubnetsTagsResponse ¶ added in v0.1.98
type ListClouddcnSubnetsTagsResponse struct { // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` // 当前列表中资源数量。 TotalCount *int32 `json:"total_count,omitempty"` // tag列表信息 Tags *[]ResourceTags `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListClouddcnSubnetsTagsResponse Response Object
func (ListClouddcnSubnetsTagsResponse) String ¶ added in v0.1.98
func (o ListClouddcnSubnetsTagsResponse) String() string
type ListFirewallDetail ¶ added in v0.1.56
type ListFirewallDetail struct { // 功能说明:ACL唯一标识 取值范围:合法UUID的字符串 Id string `json:"id"` // 功能说明:ACL名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:ACL描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>”。 Description string `json:"description"` // 功能说明:资源所属项目ID ProjectId string `json:"project_id"` // 功能说明:ACL创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss;系统自动生成 CreatedAt string `json:"created_at"` // 功能描述:ACL最近一次更新资源的时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss;系统自动生成 UpdatedAt string `json:"updated_at"` // 功能说明:ACL是否开启 取值范围:true表示ACL开启;false表示ACL关闭 AdminStateUp bool `json:"admin_state_up"` // 功能说明:网络ACL的状态 Status string `json:"status"` // 功能说明:ACL企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId string `json:"enterprise_project_id"` // 功能描述:ACL资源标签 Tags []ResourceTag `json:"tags"` // 功能说明:ACL绑定的子网列表 Associations []FirewallAssociation `json:"associations"` }
ListFirewallDetail
func (ListFirewallDetail) String ¶ added in v0.1.56
func (o ListFirewallDetail) String() string
type ListFirewallRequest ¶ added in v0.1.56
type ListFirewallRequest struct { // 功能说明:每页返回的个数 取值范围:0~2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` // ACL唯一标识,填写后接口按照id进行过滤,支持多id同时过滤 Id *[]string `json:"id,omitempty"` // ACL名称,填写后按照名称进行过滤,支持多名称同时过滤 Name *[]string `json:"name,omitempty"` // ACL的状态 Status *ListFirewallRequestStatus `json:"status,omitempty"` // ACL是否启用 AdminStateUp *bool `json:"admin_state_up,omitempty"` // 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的ACL。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。若需要查询当前用户所有企业项目绑定的ACL,请传参all_granted_eps。 EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"` }
ListFirewallRequest Request Object
func (ListFirewallRequest) String ¶ added in v0.1.56
func (o ListFirewallRequest) String() string
type ListFirewallRequestStatus ¶ added in v0.1.56
type ListFirewallRequestStatus struct {
// contains filtered or unexported fields
}
func (ListFirewallRequestStatus) MarshalJSON ¶ added in v0.1.56
func (c ListFirewallRequestStatus) MarshalJSON() ([]byte, error)
func (*ListFirewallRequestStatus) UnmarshalJSON ¶ added in v0.1.56
func (c *ListFirewallRequestStatus) UnmarshalJSON(b []byte) error
func (ListFirewallRequestStatus) Value ¶ added in v0.1.56
func (c ListFirewallRequestStatus) Value() string
type ListFirewallRequestStatusEnum ¶ added in v0.1.56
type ListFirewallRequestStatusEnum struct { ACTIVE ListFirewallRequestStatus INACTIVE ListFirewallRequestStatus }
func GetListFirewallRequestStatusEnum ¶ added in v0.1.56
func GetListFirewallRequestStatusEnum() ListFirewallRequestStatusEnum
type ListFirewallResponse ¶ added in v0.1.56
type ListFirewallResponse struct { // ACL防火墙响应体列表 Firewalls *[]ListFirewallDetail `json:"firewalls,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListFirewallResponse Response Object
func (ListFirewallResponse) String ¶ added in v0.1.56
func (o ListFirewallResponse) String() string
type ListFirewallTagsRequest ¶ added in v0.1.100
type ListFirewallTagsRequest struct { // 功能说明:查询记录数 取值范围:1-1000 约束:默认为1000 Limit *int32 `json:"limit,omitempty"` // 功能说明:索引位置, 从第一条数据偏移offset条数据后开始查询 约束:默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数 Offset *int32 `json:"offset,omitempty"` }
ListFirewallTagsRequest Request Object
func (ListFirewallTagsRequest) String ¶ added in v0.1.100
func (o ListFirewallTagsRequest) String() string
type ListFirewallTagsResponse ¶ added in v0.1.100
type ListFirewallTagsResponse struct { // tag对象列表 Tags *[]ListTag `json:"tags,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` // 资源数量 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListFirewallTagsResponse Response Object
func (ListFirewallTagsResponse) String ¶ added in v0.1.100
func (o ListFirewallTagsResponse) String() string
type ListFirewallsByTagsRequest ¶ added in v0.1.100
type ListFirewallsByTagsRequest struct { // 功能说明:查询记录数 取值范围:1-1000 约束:默认为1000 Limit *int32 `json:"limit,omitempty"` // 功能说明:索引位置, 从第一条数据偏移offset条数据后开始查询 约束:默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数 Offset *int32 `json:"offset,omitempty"` Body *ListFirewallsByTagsRequestBody `json:"body,omitempty"` }
ListFirewallsByTagsRequest Request Object
func (ListFirewallsByTagsRequest) String ¶ added in v0.1.100
func (o ListFirewallsByTagsRequest) String() string
type ListFirewallsByTagsRequestBody ¶ added in v0.1.100
type ListFirewallsByTagsRequestBody struct { // 功能说明:搜索字段,key为要匹配的字段,value为匹配的值 约束:key为固定字典值,不能包含重复的key或不支持的key,当前key仅支持resource_name Matches *[]Match `json:"matches,omitempty"` // 包含标签,最多包含50个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失 。 Key不能重复,同一个key中values不能重复。 结果返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。 Tags *[]ListTag `json:"tags,omitempty"` }
ListFirewallsByTagsRequestBody This is a auto create Body Object
func (ListFirewallsByTagsRequestBody) String ¶ added in v0.1.100
func (o ListFirewallsByTagsRequestBody) String() string
type ListFirewallsByTagsResponse ¶ added in v0.1.100
type ListFirewallsByTagsResponse struct { // 资源列表 Resources *[]ListResourceResp `json:"resources,omitempty"` // 资源数量 TotalCount *int32 `json:"total_count,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListFirewallsByTagsResponse Response Object
func (ListFirewallsByTagsResponse) String ¶ added in v0.1.100
func (o ListFirewallsByTagsResponse) String() string
type ListPortTagsRequest ¶ added in v0.1.103
type ListPortTagsRequest struct { // 功能说明:查询记录数 取值范围:1-1000 约束:默认为1000 Limit *int32 `json:"limit,omitempty"` // 功能说明:索引位置, 从第一条数据偏移offset条数据后开始查询 约束:默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数 Offset *int32 `json:"offset,omitempty"` }
ListPortTagsRequest Request Object
func (ListPortTagsRequest) String ¶ added in v0.1.103
func (o ListPortTagsRequest) String() string
type ListPortTagsResponse ¶ added in v0.1.103
type ListPortTagsResponse struct { // tag对象列表 Tags *[]ListTag `json:"tags,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` // 资源数量 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListPortTagsResponse Response Object
func (ListPortTagsResponse) String ¶ added in v0.1.103
func (o ListPortTagsResponse) String() string
type ListPortsByTagsRequest ¶ added in v0.1.103
type ListPortsByTagsRequest struct { // 功能说明:查询记录数 取值范围:1-1000 约束:默认为1000 Limit *int32 `json:"limit,omitempty"` // 功能说明:索引位置, 从第一条数据偏移offset条数据后开始查询 约束:默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数 Offset *int32 `json:"offset,omitempty"` Body *ListPortsByTagsRequestBody `json:"body,omitempty"` }
ListPortsByTagsRequest Request Object
func (ListPortsByTagsRequest) String ¶ added in v0.1.103
func (o ListPortsByTagsRequest) String() string
type ListPortsByTagsRequestBody ¶ added in v0.1.103
type ListPortsByTagsRequestBody struct { // 功能说明:搜索字段,key为要匹配的字段,value为匹配的值 约束:key为固定字典值,不能包含重复的key或不支持的key,当前key仅支持resource_name Matches *[]Match `json:"matches,omitempty"` // 包含标签,最多包含50个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失 。 Key不能重复,同一个key中values不能重复。 结果返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。 Tags *[]ListTag `json:"tags,omitempty"` }
ListPortsByTagsRequestBody This is a auto create Body Object
func (ListPortsByTagsRequestBody) String ¶ added in v0.1.103
func (o ListPortsByTagsRequestBody) String() string
type ListPortsByTagsResponse ¶ added in v0.1.103
type ListPortsByTagsResponse struct { // 资源列表 Resources *[]ListResourceResp `json:"resources,omitempty"` // 资源数量 TotalCount *int32 `json:"total_count,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListPortsByTagsResponse Response Object
func (ListPortsByTagsResponse) String ¶ added in v0.1.103
func (o ListPortsByTagsResponse) String() string
type ListResourceResp ¶ added in v0.1.100
type ListResourceResp struct { // 资源ID ResourceId string `json:"resource_id"` // 资源详情。 资源对象,用于扩展。默认为空 ResourceDetail *interface{} `json:"resource_detail"` // 资源名称,资源没有名称时默认为空字符串. ResourceName string `json:"resource_name"` // 标签列表,没有标签默认为空数组 Tags []ResourceTag `json:"tags"` }
ListResourceResp
func (ListResourceResp) String ¶ added in v0.1.100
func (o ListResourceResp) String() string
type ListResourcesByTagsRequestBody ¶ added in v0.1.98
type ListResourcesByTagsRequestBody struct { // 包含标签。 Tags *[]ResourceTags `json:"tags,omitempty"` }
func (ListResourcesByTagsRequestBody) String ¶ added in v0.1.98
func (o ListResourcesByTagsRequestBody) String() string
type ListSecurityGroupRulesRequest ¶
type ListSecurityGroupRulesRequest struct { // 功能说明:每页返回个数 取值范围:0-2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` // 功能说明:安全组规则ID,支持多个ID过滤 Id *[]string `json:"id,omitempty"` // 功能说明:安全组规则所属安全组ID,支持多个ID过滤 SecurityGroupId *[]string `json:"security_group_id,omitempty"` // 功能说明:安全组规则协议,支持多条过滤 Protocol *[]string `json:"protocol,omitempty"` // 功能说明:安全组规则的描述,支持多个描述同时过滤 Description *[]string `json:"description,omitempty"` // 功能说明:远端安全组ID,支持多ID过滤 RemoteGroupId *[]string `json:"remote_group_id,omitempty"` // 功能说明:安全组规则方向 Direction *string `json:"direction,omitempty"` // 功能说明:安全组规则生效策略 Action *string `json:"action,omitempty"` // 功能说明:远端IP地址 取值范围:cidr格式 RemoteIpPrefix *string `json:"remote_ip_prefix,omitempty"` }
ListSecurityGroupRulesRequest Request Object
func (ListSecurityGroupRulesRequest) String ¶
func (o ListSecurityGroupRulesRequest) String() string
type ListSecurityGroupRulesResponse ¶
type ListSecurityGroupRulesResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 安全组规则列表响应体 SecurityGroupRules *[]SecurityGroupRule `json:"security_group_rules,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListSecurityGroupRulesResponse Response Object
func (ListSecurityGroupRulesResponse) String ¶
func (o ListSecurityGroupRulesResponse) String() string
type ListSecurityGroupsRequest ¶
type ListSecurityGroupsRequest struct { // 功能说明:每页返回的个数 取值范围:0-2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` // 功能说明:安全组资源ID。可以使用该字段精确过滤安全组,支持多个ID Id *[]string `json:"id,omitempty"` // 功能说明:安全组名称。可以使用该字段精确过滤满足条件的安全组,支持传入多个name过滤 Name *[]string `json:"name,omitempty"` // 功能说明:安全组描述新增。可以使用该字段精确过滤安全组,支持传入多个描述进行过滤 Description *[]string `json:"description,omitempty"` // 功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的安全组。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 约束:若需要查询当前用户所有有权限查看企业项目绑定的安全组,请传参all_granted_eps。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
ListSecurityGroupsRequest Request Object
func (ListSecurityGroupsRequest) String ¶
func (o ListSecurityGroupsRequest) String() string
type ListSecurityGroupsResponse ¶
type ListSecurityGroupsResponse struct { // 安全组列表响应体 SecurityGroups *[]SecurityGroup `json:"security_groups,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListSecurityGroupsResponse Response Object
func (ListSecurityGroupsResponse) String ¶
func (o ListSecurityGroupsResponse) String() string
type ListSubNetworkInterfacesRequest ¶
type ListSubNetworkInterfacesRequest struct { // 功能说明:每页返回的个数 取值范围:0-2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` // 功能说明:辅助弹性网卡ID,支持多ID过滤 使用场景:查询需要的多个辅助弹性网卡信息 Id *[]string `json:"id,omitempty"` // 功能说明:辅助弹性网卡所属虚拟子网的ID,支持多个ID过滤 使用场景:过滤需要的单个或者多个虚拟子网下的辅助弹性网卡 VirsubnetId *[]string `json:"virsubnet_id,omitempty"` // 功能说明:辅助弹性网卡的私有IPv4地址,支持多个地址同时过滤 使用场景:通过单个或者多个ip地址过滤查询辅助弹性网卡 PrivateIpAddress *[]string `json:"private_ip_address,omitempty"` // 功能说明:辅助弹性网卡的mac地址,支持多个同时过滤 使用场景:使用mac地址精确过滤辅助弹性网卡 MacAddress *[]string `json:"mac_address,omitempty"` // 功能说明:辅助弹性网卡所属的VPC_ID,支持多ID过滤 使用场景:过滤单个或多个VPC下的辅助弹性网卡信息 VpcId *[]string `json:"vpc_id,omitempty"` // 功能说明:辅助弹性网卡的描述信息,支持多个同时过滤 使用场景:通过描述信息过滤辅助弹性网卡 Description *[]string `json:"description,omitempty"` // 功能说明:辅助弹性网卡的宿主网卡的ID,支持多ID过滤 使用场景:过滤单个或多个宿主网卡下存在的辅助弹性网卡 ParentId *[]string `json:"parent_id,omitempty"` }
ListSubNetworkInterfacesRequest Request Object
func (ListSubNetworkInterfacesRequest) String ¶
func (o ListSubNetworkInterfacesRequest) String() string
type ListSubNetworkInterfacesResponse ¶
type ListSubNetworkInterfacesResponse struct { // 1、功能说明:请求ID 2、取值范围:标准UUID 3、约束:N/A 4、默认值:N/A 5、权限:N/A RequestId *string `json:"request_id,omitempty"` // 1、功能说明:辅助弹性网卡查询对象 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A SubNetworkInterfaces *[]SubNetworkInterface `json:"sub_network_interfaces,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListSubNetworkInterfacesResponse Response Object
func (ListSubNetworkInterfacesResponse) String ¶
func (o ListSubNetworkInterfacesResponse) String() string
type ListTag ¶ added in v0.1.100
type ListTag struct { // 功能说明:标签键 约束:key不能为空 Key string `json:"key"` // 功能描述:标签值列表。 如果values为空列表,则表示any_value(查询任意value)。value之间为或的关系。 Values []string `json:"values"` }
ListTag
type ListTrafficMirrorFilterRulesRequest ¶ added in v0.1.61
type ListTrafficMirrorFilterRulesRequest struct { // 使用规则ID过滤或排序 Id *string `json:"id,omitempty"` // 使用规则描述过滤 Description *string `json:"description,omitempty"` // 使用筛选条件ID过滤 TrafficMirrorFilterId *string `json:"traffic_mirror_filter_id,omitempty"` // 使用规则方向过滤 Direction *string `json:"direction,omitempty"` // 使用规则协议过滤 Protocol *string `json:"protocol,omitempty"` // 使用规则源网段过滤 SourceCidrBlock *string `json:"source_cidr_block,omitempty"` // 使用规则目的网段过滤 DestinationCidrBlock *string `json:"destination_cidr_block,omitempty"` // 使用规则源端口范围过滤 SourcePortRange *string `json:"source_port_range,omitempty"` // 使用规则目的端口范围过滤 DestinationPortRange *string `json:"destination_port_range,omitempty"` // 使用规则action过滤 Action *string `json:"action,omitempty"` // 使用规则优先级过滤 Priority *string `json:"priority,omitempty"` // 功能说明:每页返回的个数 取值范围:0-2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` }
ListTrafficMirrorFilterRulesRequest Request Object
func (ListTrafficMirrorFilterRulesRequest) String ¶ added in v0.1.61
func (o ListTrafficMirrorFilterRulesRequest) String() string
type ListTrafficMirrorFilterRulesResponse ¶ added in v0.1.61
type ListTrafficMirrorFilterRulesResponse struct { // 流量镜像筛选条件规则对象 TrafficMirrorFilterRules *[]TrafficMirrorFilterRule `json:"traffic_mirror_filter_rules,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListTrafficMirrorFilterRulesResponse Response Object
func (ListTrafficMirrorFilterRulesResponse) String ¶ added in v0.1.61
func (o ListTrafficMirrorFilterRulesResponse) String() string
type ListTrafficMirrorFiltersRequest ¶ added in v0.1.61
type ListTrafficMirrorFiltersRequest struct { // 使用ID过滤查询或排序 Id *string `json:"id,omitempty"` // 使用name过滤或排序 Name *string `json:"name,omitempty"` // 使用description过滤查询 Description *string `json:"description,omitempty"` // 使用创建时间戳排序 CreatedAt *string `json:"created_at,omitempty"` // 使用更新时间戳排序 UpdatedAt *string `json:"updated_at,omitempty"` // 功能说明:每页返回的个数 取值范围:0-2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` }
ListTrafficMirrorFiltersRequest Request Object
func (ListTrafficMirrorFiltersRequest) String ¶ added in v0.1.61
func (o ListTrafficMirrorFiltersRequest) String() string
type ListTrafficMirrorFiltersResponse ¶ added in v0.1.61
type ListTrafficMirrorFiltersResponse struct { // 流量镜像筛选条件对象列表 TrafficMirrorFilters *[]TrafficMirrorFilter `json:"traffic_mirror_filters,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListTrafficMirrorFiltersResponse Response Object
func (ListTrafficMirrorFiltersResponse) String ¶ added in v0.1.61
func (o ListTrafficMirrorFiltersResponse) String() string
type ListTrafficMirrorSessionsRequest ¶ added in v0.1.61
type ListTrafficMirrorSessionsRequest struct { // 使用镜像会话ID过滤或排序 Id *string `json:"id,omitempty"` // 使用镜像会话名称过滤或排序 Name *string `json:"name,omitempty"` // 使用镜像会话描述过滤 Description *string `json:"description,omitempty"` // 使用筛选条件ID过滤 TrafficMirrorFilterId *string `json:"traffic_mirror_filter_id,omitempty"` // 使用镜像目的ID过滤 TrafficMirrorTargetId *string `json:"traffic_mirror_target_id,omitempty"` // 使用镜像目的类型过滤 TrafficMirrorTargetType *string `json:"traffic_mirror_target_type,omitempty"` // 使用VNI过滤 VirtualNetworkId *string `json:"virtual_network_id,omitempty"` // 使用最大传输单元MTU过滤 PacketLength *string `json:"packet_length,omitempty"` // 使用镜像会话优先级过滤 Priority *string `json:"priority,omitempty"` // 使用enabled过滤 Enabled *string `json:"enabled,omitempty"` // 使用镜像源类型过滤 Type *string `json:"type,omitempty"` // 使用创建时间戳排序 CreatedAt *string `json:"created_at,omitempty"` // 使用更新时间戳排序 UpdatedAt *string `json:"updated_at,omitempty"` // 功能说明:每页返回的个数 取值范围:0-2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` }
ListTrafficMirrorSessionsRequest Request Object
func (ListTrafficMirrorSessionsRequest) String ¶ added in v0.1.61
func (o ListTrafficMirrorSessionsRequest) String() string
type ListTrafficMirrorSessionsResponse ¶ added in v0.1.61
type ListTrafficMirrorSessionsResponse struct { // 流量镜像会话 TrafficMirrorSessions *[]TrafficMirrorSession `json:"traffic_mirror_sessions,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListTrafficMirrorSessionsResponse Response Object
func (ListTrafficMirrorSessionsResponse) String ¶ added in v0.1.61
func (o ListTrafficMirrorSessionsResponse) String() string
type ListVpcsRequest ¶ added in v0.0.68
type ListVpcsRequest struct { // 功能说明:每页返回的个数 取值范围:0-2000 Limit *int32 `json:"limit,omitempty"` // 分页查询起始的资源ID,为空时查询第一页 Marker *string `json:"marker,omitempty"` // VPC资源ID。可以使用该字段过滤VPC Id *[]string `json:"id,omitempty"` // VPC的name信息,可以使用该字段过滤VPC Name *[]string `json:"name,omitempty"` // VPC的描述信息。可以使用该字段过滤VPC Description *[]string `json:"description,omitempty"` // VPC的CIDR。可以使用该字段过滤VPC Cidr *[]string `json:"cidr,omitempty"` }
ListVpcsRequest Request Object
func (ListVpcsRequest) String ¶ added in v0.0.68
func (o ListVpcsRequest) String() string
type ListVpcsResponse ¶ added in v0.0.68
type ListVpcsResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // VPC列表响应体 Vpcs *[]Vpc `json:"vpcs,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListVpcsResponse Response Object
func (ListVpcsResponse) String ¶ added in v0.0.68
func (o ListVpcsResponse) String() string
type Match ¶ added in v0.1.100
type Match struct { // 键。当前仅限定为resource_name Key string `json:"key"` // 值。每个值最大长度255个unicode字符. Value string `json:"value"` }
Match
type MigrateSubNetworkInterfaceOption ¶ added in v0.0.68
type MigrateSubNetworkInterfaceOption struct { // 目的宿主网卡ID ParentId string `json:"parent_id"` // 待迁移辅助弹性网卡列表 SubNetworkInterfaces []map[string]string `json:"sub_network_interfaces"` }
MigrateSubNetworkInterfaceOption
func (MigrateSubNetworkInterfaceOption) String ¶ added in v0.0.68
func (o MigrateSubNetworkInterfaceOption) String() string
type MigrateSubNetworkInterfaceRequest ¶ added in v0.0.68
type MigrateSubNetworkInterfaceRequest struct {
Body *MigrateSubNetworkInterfaceRequestBody `json:"body,omitempty"`
}
MigrateSubNetworkInterfaceRequest Request Object
func (MigrateSubNetworkInterfaceRequest) String ¶ added in v0.0.68
func (o MigrateSubNetworkInterfaceRequest) String() string
type MigrateSubNetworkInterfaceRequestBody ¶ added in v0.0.68
type MigrateSubNetworkInterfaceRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会创建辅助弹性网卡。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接创建辅助弹性网卡。 DryRun *bool `json:"dry_run,omitempty"` MigrationInfo *MigrateSubNetworkInterfaceOption `json:"migration_info"` }
MigrateSubNetworkInterfaceRequestBody This is a auto create Body Object
func (MigrateSubNetworkInterfaceRequestBody) String ¶ added in v0.0.68
func (o MigrateSubNetworkInterfaceRequestBody) String() string
type MigrateSubNetworkInterfaceResponse ¶ added in v0.0.68
type MigrateSubNetworkInterfaceResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 批量迁移辅助弹性网卡的响应体 SubNetworkInterfaces *[]SubNetworkInterface `json:"sub_network_interfaces,omitempty"` HttpStatusCode int `json:"-"` }
MigrateSubNetworkInterfaceResponse Response Object
func (MigrateSubNetworkInterfaceResponse) String ¶ added in v0.0.68
func (o MigrateSubNetworkInterfaceResponse) String() string
type PageInfo ¶
type PageInfo struct { // 当前页第一条记录 PreviousMarker string `json:"previous_marker"` // 当前页总数 CurrentCount int32 `json:"current_count"` // 当前页最后一条记录,最后一页时无next_marker字段 NextMarker *string `json:"next_marker,omitempty"` }
PageInfo
type Port ¶ added in v0.1.63
type Port struct { // 1、功能描述:管理状态 2、取值范围:true/false 3、约束:N/A 4、默认值:true 5、权限:N/A AdminStateUp bool `json:"admin_state_up"` // 1、功能描述:主机ID 2、取值范围:N/A 3、约束:管理员权限,普通租户不可见 4、默认值:N/A 5、权限:N/A BindinghostId string `json:"binding:host_id"` // 1、功能描述:提供用户设置自定义信息 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A Bindingprofile *interface{} `json:"binding:profile"` // 1、功能描述:vif的详细信息, \"ovs_hybrid_plug\": 是否为ovs/bridge混合模式 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A BindingvifDetails *interface{} `json:"binding:vif_details"` // 1、功能描述:端口的接口类型 (ovs/hw_veb等)(扩展属性) 2、取值范围:N/A 3、约束:管理员权限,普通租户不可见 4、默认值:N/A 5、权限:N/A BindingvifType string `json:"binding:vif_type"` // 1、功能描述:绑定的vNIC类型normal: 软交换direct: SRIOV硬直通(不支持) 2、取值范围:normal或者direct 3、约束:N/A 4、默认值:N/A 5、权限:N/A BindingvnicType string `json:"binding:vnic_type"` // 1、功能说明:创建时间 2、取值范围:格式 \"UTC时间 格式: yyyy-MM-ddTHH:mm:ss\" 3、约束:N/A 4、默认值:N/A 5、权限:N/A CreatedAt *sdktime.SdkTime `json:"created_at"` // 1、功能说明:创建时间 2、取值范围:格式 \"UTC时间 格式: yyyy-MM-ddTHH:mm:ss\" 3、约束:N/A 4、默认值:N/A 5、权限:N/A UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 1、功能说明:端口描述 2、取值范围:0-255个字符,不能包含“<”和“>” 3、约束:N/A 4、默认值:N/A 5、权限:N/A Description string `json:"description"` // 1、功能描述:端口所属设备ID 2、取值范围:标准UUID 3、约束:不支持设置和更新,由系统自动维护 4、默认值:N/A 5、权限:N/A DeviceId string `json:"device_id"` // 1、功能描述:设备所属(DHCP/Router/ lb/Nova) 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A DeviceOwner string `json:"device_owner"` // 1、功能描述:标识这个端口所属虚拟机的flavor 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A EcsFlavor string `json:"ecs_flavor"` // 1、功能描述:端口唯一标识 2、取值范围:标准UUID 3、约束:N/A 4、默认值:N/A 5、权限:N/A Id string `json:"id"` // 1、功能描述:端口所属实例ID,例如RDS实例ID 2、取值范围:N/A 3、约束:不支持设置和更新,由系统自动维护 4、默认值:N/A 5、权限:N/A InstanceId string `json:"instance_id"` // 1、功能描述:端口所属实例类型,例如“RDS” 2、取值范围:N/A 3、约束:不支持设置和更新,由系统自动维护 4、默认值:N/A 5、权限:N/A InstanceType string `json:"instance_type"` // 1、功能描述:MAC地址 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A MacAddress string `json:"mac_address"` // 1、功能描述:端口名称 2、取值范围:默认为空,最大长度不超过255 3、约束:N/A 4、默认值:N/A 5、权限:N/A Name string `json:"name"` // 1、功能描述:端口安全使能标记,如果不使能则安全组和dhcp防欺骗不生效 2、取值范围:true/false 3、约束:N/A 4、默认值:N/A 5、权限:N/A PortSecurityEnabled bool `json:"port_security_enabled"` // 1、功能描述:port的私有IP地址 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A PrivateIps []PrivateIpInfo `json:"private_ips"` // 1、功能描述:项目ID 2、取值范围:UUID 3、约束:N/A 4、默认值:N/A 5、权限:N/A ProjectId string `json:"project_id"` // 1、功能描述:安全组 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A SecurityGroups []string `json:"security_groups"` // 1、功能描述:端口状态 2、取值范围:ACTIVE,BUILD,DOWN 3、约束:N/A 4、默认值:N/A 5、权限:N/A Status string `json:"status"` // 1、功能描述:租户ID 2、取值范围:UUID 3、约束:N/A 4、默认值:N/A 5、权限:N/A TenantId string `json:"tenant_id"` // 1、功能描述:所属网络ID 2、取值范围:标准UUID 3、约束:N/A 4、默认值:N/A 5、权限:N/A VirsubnetId string `json:"virsubnet_id"` // 1、功能描述:VPC的ID 2、取值范围:标准UUID 3、约束:N/A 4、默认值:N/A 5、权限:N/A VpcId string `json:"vpc_id"` // 1、功能描述:VPC_租户ID 2、取值范围:UUID 3、约束:N/A 4、默认值:N/A 5、权限:N/A VpcTenantId string `json:"vpc_tenant_id"` // 1、功能描述:本地IP 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A VtepIp string `json:"vtep_ip"` // 1、功能描述:是否使能efi,使能则表示端口支持vRoCE能力 2、取值范围:true or false 3、约束:N/A 4、默认值:false 5、权限:N/A EnableEfi bool `json:"enable_efi"` // 1、功能描述:作用域 2、取值范围:center,表示作用域为中心;{azId},表示作用域为具体的可用区 3、约束:N/A 4、默认值:center 5、权限:N/A Scope string `json:"scope"` // 1、功能描述:端口所属的可用分区 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A ZoneId string `json:"zone_id"` // 1、功能描述:迁移目的节点信息,包括目的节点的binding:vif_details和binding:vif_type 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A BindingmigrationInfo *interface{} `json:"binding:migration_info"` // 1、功能描述:DHCP的扩展属性 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A ExtraDhcpOpts []interface{} `json:"extra_dhcp_opts"` // 1、功能描述:边缘场景位置类型 2、取值范围:N/A 3、约束:N/A 4、默认值:center 5、权限:N/A PositionType string `json:"position_type"` // 1、功能描述:端口绑定实例信息 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A InstanceInfo *interface{} `json:"instance_info"` // 1、功能描述:端口标签 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A 5、权限:N/A Tags []string `json:"tags"` // 1、功能描述:IP/Mac对列表 2、取值范围:N/A 3、约束: - IP地址不允许为 “0.0.0.0/0” - 如果allowed_address_pairs配置地址池较大的CIDR(掩码小于24位),建议为该port配置一个单独的安全组。 - 如果allowed_address_pairs的IP地址为“1.1.1.1/0”,表示关闭源目地址检查开关。 - 被绑定的云服务器网卡allowed_address_pairs的IP地址填“1.1.1.1/0”。 4、默认值:N/A 5、权限:N/A AllowedAddressPairs []AllowedAddressPair `json:"allowed_address_pairs"` }
Port 1、功能说明:端口对象 2、取值范围:N/A 3、约束:N/A 4、默认值:N/A
type PrivateIpInfo ¶ added in v0.1.63
type PrivateIpInfo struct { // 端口所属子网ID SubnetCidrId string `json:"subnet_cidr_id"` // 端口私有IP地址 IpAddress string `json:"ip_address"` }
PrivateIpInfo 端口私有IP信息
func (PrivateIpInfo) String ¶ added in v0.1.63
func (o PrivateIpInfo) String() string
type RemoveExtendCidrOption ¶ added in v0.0.68
type RemoveExtendCidrOption struct { // 功能说明:移除VPC扩展网段 取值范围:该VPC已经存在的扩展网段 约束:移除扩展网段前,请先清理该VPC下对应cidr范围内的subnet;当前只支持一个一个移除 ExtendCidrs []string `json:"extend_cidrs"` }
RemoveExtendCidrOption
func (RemoveExtendCidrOption) String ¶ added in v0.0.68
func (o RemoveExtendCidrOption) String() string
type RemoveFirewallRulesRequest ¶ added in v0.1.56
type RemoveFirewallRulesRequest struct { // 网络ACL唯一标识 FirewallId string `json:"firewall_id"` Body *RemoveFirewallRulesRequestBody `json:"body,omitempty"` }
RemoveFirewallRulesRequest Request Object
func (RemoveFirewallRulesRequest) String ¶ added in v0.1.56
func (o RemoveFirewallRulesRequest) String() string
type RemoveFirewallRulesRequestBody ¶ added in v0.1.56
type RemoveFirewallRulesRequestBody struct {
Firewall *FirewallRemoveRuleOption `json:"firewall"`
}
RemoveFirewallRulesRequestBody This is a auto create Body Object
func (RemoveFirewallRulesRequestBody) String ¶ added in v0.1.56
func (o RemoveFirewallRulesRequestBody) String() string
type RemoveFirewallRulesResponse ¶ added in v0.1.56
type RemoveFirewallRulesResponse struct { Firewall *FirewallDetail `json:"firewall,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
RemoveFirewallRulesResponse Response Object
func (RemoveFirewallRulesResponse) String ¶ added in v0.1.56
func (o RemoveFirewallRulesResponse) String() string
type RemoveSecurityGroupOption ¶ added in v0.1.63
type RemoveSecurityGroupOption struct { // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] SecurityGroups []string `json:"security_groups"` }
RemoveSecurityGroupOption
func (RemoveSecurityGroupOption) String ¶ added in v0.1.63
func (o RemoveSecurityGroupOption) String() string
type RemoveSecurityGroupsRequest ¶ added in v0.1.63
type RemoveSecurityGroupsRequest struct { // 端口的唯一标识 PortId string `json:"port_id"` Body *RemoveSecurityGroupsRequestBody `json:"body,omitempty"` }
RemoveSecurityGroupsRequest Request Object
func (RemoveSecurityGroupsRequest) String ¶ added in v0.1.63
func (o RemoveSecurityGroupsRequest) String() string
type RemoveSecurityGroupsRequestBody ¶ added in v0.1.63
type RemoveSecurityGroupsRequestBody struct {
Port *RemoveSecurityGroupOption `json:"port"`
}
RemoveSecurityGroupsRequestBody This is a auto create Body Object
func (RemoveSecurityGroupsRequestBody) String ¶ added in v0.1.63
func (o RemoveSecurityGroupsRequestBody) String() string
type RemoveSecurityGroupsResponse ¶ added in v0.1.63
type RemoveSecurityGroupsResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` Port *Port `json:"port,omitempty"` HttpStatusCode int `json:"-"` }
RemoveSecurityGroupsResponse Response Object
func (RemoveSecurityGroupsResponse) String ¶ added in v0.1.63
func (o RemoveSecurityGroupsResponse) String() string
type RemoveSourcesFromTrafficMirrorSessionRequest ¶ added in v0.1.61
type RemoveSourcesFromTrafficMirrorSessionRequest struct { // 流量镜像会话ID TrafficMirrorSessionId string `json:"traffic_mirror_session_id"` Body *RemoveSourcesFromTrafficMirrorSessionRequestBody `json:"body,omitempty"` }
RemoveSourcesFromTrafficMirrorSessionRequest Request Object
func (RemoveSourcesFromTrafficMirrorSessionRequest) String ¶ added in v0.1.61
func (o RemoveSourcesFromTrafficMirrorSessionRequest) String() string
type RemoveSourcesFromTrafficMirrorSessionRequestBody ¶ added in v0.1.61
type RemoveSourcesFromTrafficMirrorSessionRequestBody struct {
TrafficMirrorSession *TrafficMirrorSourcesOption `json:"traffic_mirror_session"`
}
RemoveSourcesFromTrafficMirrorSessionRequestBody
func (RemoveSourcesFromTrafficMirrorSessionRequestBody) String ¶ added in v0.1.61
func (o RemoveSourcesFromTrafficMirrorSessionRequestBody) String() string
type RemoveSourcesFromTrafficMirrorSessionResponse ¶ added in v0.1.61
type RemoveSourcesFromTrafficMirrorSessionResponse struct { TrafficMirrorSession *TrafficMirrorSession `json:"traffic_mirror_session,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
RemoveSourcesFromTrafficMirrorSessionResponse Response Object
func (RemoveSourcesFromTrafficMirrorSessionResponse) String ¶ added in v0.1.61
func (o RemoveSourcesFromTrafficMirrorSessionResponse) String() string
type RemoveVpcExtendCidrRequest ¶ added in v0.0.68
type RemoveVpcExtendCidrRequest struct { // VPC资源ID VpcId string `json:"vpc_id"` Body *RemoveVpcExtendCidrRequestBody `json:"body,omitempty"` }
RemoveVpcExtendCidrRequest Request Object
func (RemoveVpcExtendCidrRequest) String ¶ added in v0.0.68
func (o RemoveVpcExtendCidrRequest) String() string
type RemoveVpcExtendCidrRequestBody ¶ added in v0.0.68
type RemoveVpcExtendCidrRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会移除VPC扩展网段。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接移除VPC扩展网段。 DryRun *bool `json:"dry_run,omitempty"` Vpc *RemoveExtendCidrOption `json:"vpc"` }
RemoveVpcExtendCidrRequestBody This is a auto create Body Object
func (RemoveVpcExtendCidrRequestBody) String ¶ added in v0.0.68
func (o RemoveVpcExtendCidrRequestBody) String() string
type RemoveVpcExtendCidrResponse ¶ added in v0.0.68
type RemoveVpcExtendCidrResponse struct { Vpc *Vpc `json:"vpc,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
RemoveVpcExtendCidrResponse Response Object
func (RemoveVpcExtendCidrResponse) String ¶ added in v0.0.68
func (o RemoveVpcExtendCidrResponse) String() string
type ResourceTag ¶ added in v0.1.46
type ResourceTag struct { // 功能说明:标签键 约束:同一资源的key值不能重复。 Key string `json:"key"` // 功能说明:标签值 Value string `json:"value"` }
ResourceTag
func (ResourceTag) String ¶ added in v0.1.46
func (o ResourceTag) String() string
type ResourceTags ¶ added in v0.1.98
type ResourceTags struct { // 标签键,最大长度128个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。 Key string `json:"key"` // tag的value列表 Values []string `json:"values"` }
ResourceTags 资源标签。
func (ResourceTags) String ¶ added in v0.1.98
func (o ResourceTags) String() string
type SecurityGroup ¶
type SecurityGroup struct { // 功能描述:安全组对应的唯一标识 取值范围:带“-”的标准UUID格式 Id string `json:"id"` // 功能说明:安全组名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:安全组的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:安全组所属的项目ID ProjectId string `json:"project_id"` // 功能说明:安全组创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss CreatedAt *sdktime.SdkTime `json:"created_at"` // 功能说明:安全组更新时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 功能说明:安全组所属的企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId string `json:"enterprise_project_id"` // 功能描述:安全组的标签信息 Tags []ResourceTag `json:"tags"` }
SecurityGroup
func (SecurityGroup) String ¶
func (o SecurityGroup) String() string
type SecurityGroupInfo ¶
type SecurityGroupInfo struct { // 功能描述:安全组对应的唯一标识 取值范围:带“-”的标准UUID格式 Id string `json:"id"` // 功能说明:安全组名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:安全组的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:安全组所属的项目ID ProjectId string `json:"project_id"` // 功能说明:安全组创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss CreatedAt *sdktime.SdkTime `json:"created_at"` // 功能说明:安全组更新时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 功能说明:安全组所属的企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId string `json:"enterprise_project_id"` // 功能描述:安全组的标签信息 Tags []ResourceTag `json:"tags"` // 安全组规则 SecurityGroupRules []SecurityGroupRule `json:"security_group_rules"` }
SecurityGroupInfo
func (SecurityGroupInfo) String ¶
func (o SecurityGroupInfo) String() string
type SecurityGroupRule ¶
type SecurityGroupRule struct { // 功能描述:安全组规则对应的唯一标识 取值范围:带“-”的标准UUID格式 Id string `json:"id"` // 功能说明:安全组的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:安全组规则所属的安全组ID SecurityGroupId string `json:"security_group_id"` // 功能说明:安全组规则的出入控制方向 取值范围:ingress 表示入方向;egress 表示出方向 Direction string `json:"direction"` // 功能说明:协议类型 取值范围:icmp、tcp、udp、icmpv6或IP协议号 约束:为空表示支持所有协议。协议为icmpv6时,网络类型应该为IPv6;协议为icmp时,网络类型应该为IPv4 Protocol string `json:"protocol"` // 功能说明:IP地址协议类型 取值范围:IPv4,IPv6 约束:不填默认值为IPv4 Ethertype string `json:"ethertype"` // 功能说明:端口取值范围 取值范围:支持单端口(80),连续端口(1-30)以及不连续端口(22,3389,80) Multiport string `json:"multiport"` // 功能说明:安全组规则生效策略 取值范围:allow 允许,deny 拒绝 约束:默认值为deny Action string `json:"action"` // 功能说明:优先级 取值范围:1~100,1代表最高优先级 Priority int32 `json:"priority"` // 功能说明:远端安全组ID,表示该安全组内的流量允许或拒绝 取值范围:租户下存在的安全组ID 约束:与remote_ip_prefix,remote_address_group_id功能互斥 RemoteGroupId string `json:"remote_group_id"` // 功能说明:远端IP地址,当direction是egress时为虚拟机访问端的地址,当direction是ingress时为访问虚拟机的地址 取值范围:IP地址,或者cidr格式 约束:与remote_group_id、remote_address_group_id互斥 RemoteIpPrefix string `json:"remote_ip_prefix"` // 功能说明:远端地址组ID 取值范围:租户下存在的地址组ID 约束:与remote_ip_prefix,remote_group_id功能互斥 RemoteAddressGroupId string `json:"remote_address_group_id"` // 功能说明:安全组规则创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss CreatedAt *sdktime.SdkTime `json:"created_at"` // 功能说明:安全组规则更新时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 功能说明:安全组规则所属项目ID ProjectId string `json:"project_id"` }
SecurityGroupRule
func (SecurityGroupRule) String ¶
func (o SecurityGroupRule) String() string
type ShowAddressGroupRequest ¶ added in v0.0.68
type ShowAddressGroupRequest struct { // 地址组的唯一标识 AddressGroupId string `json:"address_group_id"` }
ShowAddressGroupRequest Request Object
func (ShowAddressGroupRequest) String ¶ added in v0.0.68
func (o ShowAddressGroupRequest) String() string
type ShowAddressGroupResponse ¶ added in v0.0.68
type ShowAddressGroupResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` AddressGroup *AddressGroup `json:"address_group,omitempty"` HttpStatusCode int `json:"-"` }
ShowAddressGroupResponse Response Object
func (ShowAddressGroupResponse) String ¶ added in v0.0.68
func (o ShowAddressGroupResponse) String() string
type ShowClouddcnSubnetRequest ¶ added in v0.1.98
type ShowClouddcnSubnetRequest struct { // clouddcn子网ID ClouddcnSubnetId string `json:"clouddcn_subnet_id"` }
ShowClouddcnSubnetRequest Request Object
func (ShowClouddcnSubnetRequest) String ¶ added in v0.1.98
func (o ShowClouddcnSubnetRequest) String() string
type ShowClouddcnSubnetResponse ¶ added in v0.1.98
type ShowClouddcnSubnetResponse struct { ClouddcnSubnet *ClouddcnSubnet `json:"clouddcn_subnet,omitempty"` HttpStatusCode int `json:"-"` }
ShowClouddcnSubnetResponse Response Object
func (ShowClouddcnSubnetResponse) String ¶ added in v0.1.98
func (o ShowClouddcnSubnetResponse) String() string
type ShowClouddcnSubnetsTagsRequest ¶ added in v0.1.98
type ShowClouddcnSubnetsTagsRequest struct { // Clouddcn子网的id ResourceId string `json:"resource_id"` }
ShowClouddcnSubnetsTagsRequest Request Object
func (ShowClouddcnSubnetsTagsRequest) String ¶ added in v0.1.98
func (o ShowClouddcnSubnetsTagsRequest) String() string
type ShowClouddcnSubnetsTagsResponse ¶ added in v0.1.98
type ShowClouddcnSubnetsTagsResponse struct { // 本次请求的编号 RequestId *string `json:"request_id,omitempty"` // 单个资源的租户标签列表。 Tags *[]TagEntity `json:"tags,omitempty"` // 单个资源的系统标签列表。 SysTags *[]SysTag `json:"sys_tags,omitempty"` HttpStatusCode int `json:"-"` }
ShowClouddcnSubnetsTagsResponse Response Object
func (ShowClouddcnSubnetsTagsResponse) String ¶ added in v0.1.98
func (o ShowClouddcnSubnetsTagsResponse) String() string
type ShowFirewallRequest ¶ added in v0.1.56
type ShowFirewallRequest struct { // 网络ACL的唯一标识 FirewallId string `json:"firewall_id"` }
ShowFirewallRequest Request Object
func (ShowFirewallRequest) String ¶ added in v0.1.56
func (o ShowFirewallRequest) String() string
type ShowFirewallResponse ¶ added in v0.1.56
type ShowFirewallResponse struct { Firewall *FirewallDetail `json:"firewall,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowFirewallResponse Response Object
func (ShowFirewallResponse) String ¶ added in v0.1.56
func (o ShowFirewallResponse) String() string
type ShowFirewallTagsRequest ¶ added in v0.1.100
type ShowFirewallTagsRequest struct { // 功能说明:ACL唯一标识 取值范围:合法UUID 约束:ID对应的ACL必须存在 FirewallId string `json:"firewall_id"` }
ShowFirewallTagsRequest Request Object
func (ShowFirewallTagsRequest) String ¶ added in v0.1.100
func (o ShowFirewallTagsRequest) String() string
type ShowFirewallTagsResponse ¶ added in v0.1.100
type ShowFirewallTagsResponse struct { // tag对象列表 Tags *[]ResourceTag `json:"tags,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowFirewallTagsResponse Response Object
func (ShowFirewallTagsResponse) String ¶ added in v0.1.100
func (o ShowFirewallTagsResponse) String() string
type ShowPortTagsRequest ¶ added in v0.1.103
type ShowPortTagsRequest struct { // 功能说明:端口唯一标识 取值范围:合法UUID 约束:ID对应的端口必须存在 PortId string `json:"port_id"` }
ShowPortTagsRequest Request Object
func (ShowPortTagsRequest) String ¶ added in v0.1.103
func (o ShowPortTagsRequest) String() string
type ShowPortTagsResponse ¶ added in v0.1.103
type ShowPortTagsResponse struct { // tag对象列表 Tags *[]ResourceTag `json:"tags,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPortTagsResponse Response Object
func (ShowPortTagsResponse) String ¶ added in v0.1.103
func (o ShowPortTagsResponse) String() string
type ShowSecurityGroupRequest ¶
type ShowSecurityGroupRequest struct { // 安全组资源ID SecurityGroupId string `json:"security_group_id"` }
ShowSecurityGroupRequest Request Object
func (ShowSecurityGroupRequest) String ¶
func (o ShowSecurityGroupRequest) String() string
type ShowSecurityGroupResponse ¶
type ShowSecurityGroupResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SecurityGroup *SecurityGroupInfo `json:"security_group,omitempty"` HttpStatusCode int `json:"-"` }
ShowSecurityGroupResponse Response Object
func (ShowSecurityGroupResponse) String ¶
func (o ShowSecurityGroupResponse) String() string
type ShowSecurityGroupRuleRequest ¶
type ShowSecurityGroupRuleRequest struct { // 安全组规则ID SecurityGroupRuleId string `json:"security_group_rule_id"` }
ShowSecurityGroupRuleRequest Request Object
func (ShowSecurityGroupRuleRequest) String ¶
func (o ShowSecurityGroupRuleRequest) String() string
type ShowSecurityGroupRuleResponse ¶
type ShowSecurityGroupRuleResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SecurityGroupRule *SecurityGroupRule `json:"security_group_rule,omitempty"` HttpStatusCode int `json:"-"` }
ShowSecurityGroupRuleResponse Response Object
func (ShowSecurityGroupRuleResponse) String ¶
func (o ShowSecurityGroupRuleResponse) String() string
type ShowSubNetworkInterfaceRequest ¶
type ShowSubNetworkInterfaceRequest struct { // 辅助弹性网卡的唯一标识 SubNetworkInterfaceId string `json:"sub_network_interface_id"` }
ShowSubNetworkInterfaceRequest Request Object
func (ShowSubNetworkInterfaceRequest) String ¶
func (o ShowSubNetworkInterfaceRequest) String() string
type ShowSubNetworkInterfaceResponse ¶
type ShowSubNetworkInterfaceResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` HttpStatusCode int `json:"-"` }
ShowSubNetworkInterfaceResponse Response Object
func (ShowSubNetworkInterfaceResponse) String ¶
func (o ShowSubNetworkInterfaceResponse) String() string
type ShowSubNetworkInterfacesQuantityRequest ¶
type ShowSubNetworkInterfacesQuantityRequest struct { }
ShowSubNetworkInterfacesQuantityRequest Request Object
func (ShowSubNetworkInterfacesQuantityRequest) String ¶
func (o ShowSubNetworkInterfacesQuantityRequest) String() string
type ShowSubNetworkInterfacesQuantityResponse ¶
type ShowSubNetworkInterfacesQuantityResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 辅助弹性网卡数目 SubNetworkInterfaces *int32 `json:"sub_network_interfaces,omitempty"` HttpStatusCode int `json:"-"` }
ShowSubNetworkInterfacesQuantityResponse Response Object
func (ShowSubNetworkInterfacesQuantityResponse) String ¶
func (o ShowSubNetworkInterfacesQuantityResponse) String() string
type ShowTrafficMirrorFilterRequest ¶ added in v0.1.61
type ShowTrafficMirrorFilterRequest struct { // 流量镜像筛选条件ID TrafficMirrorFilterId string `json:"traffic_mirror_filter_id"` }
ShowTrafficMirrorFilterRequest Request Object
func (ShowTrafficMirrorFilterRequest) String ¶ added in v0.1.61
func (o ShowTrafficMirrorFilterRequest) String() string
type ShowTrafficMirrorFilterResponse ¶ added in v0.1.61
type ShowTrafficMirrorFilterResponse struct { TrafficMirrorFilter *TrafficMirrorFilter `json:"traffic_mirror_filter,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowTrafficMirrorFilterResponse Response Object
func (ShowTrafficMirrorFilterResponse) String ¶ added in v0.1.61
func (o ShowTrafficMirrorFilterResponse) String() string
type ShowTrafficMirrorFilterRuleRequest ¶ added in v0.1.61
type ShowTrafficMirrorFilterRuleRequest struct { // 流量镜像筛选规则ID TrafficMirrorFilterRuleId string `json:"traffic_mirror_filter_rule_id"` }
ShowTrafficMirrorFilterRuleRequest Request Object
func (ShowTrafficMirrorFilterRuleRequest) String ¶ added in v0.1.61
func (o ShowTrafficMirrorFilterRuleRequest) String() string
type ShowTrafficMirrorFilterRuleResponse ¶ added in v0.1.61
type ShowTrafficMirrorFilterRuleResponse struct { TrafficMirrorFilterRule *TrafficMirrorFilterRule `json:"traffic_mirror_filter_rule,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowTrafficMirrorFilterRuleResponse Response Object
func (ShowTrafficMirrorFilterRuleResponse) String ¶ added in v0.1.61
func (o ShowTrafficMirrorFilterRuleResponse) String() string
type ShowTrafficMirrorSessionRequest ¶ added in v0.1.61
type ShowTrafficMirrorSessionRequest struct { // 流量镜像会话ID TrafficMirrorSessionId string `json:"traffic_mirror_session_id"` }
ShowTrafficMirrorSessionRequest Request Object
func (ShowTrafficMirrorSessionRequest) String ¶ added in v0.1.61
func (o ShowTrafficMirrorSessionRequest) String() string
type ShowTrafficMirrorSessionResponse ¶ added in v0.1.61
type ShowTrafficMirrorSessionResponse struct { TrafficMirrorSession *TrafficMirrorSession `json:"traffic_mirror_session,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowTrafficMirrorSessionResponse Response Object
func (ShowTrafficMirrorSessionResponse) String ¶ added in v0.1.61
func (o ShowTrafficMirrorSessionResponse) String() string
type ShowVpcRequest ¶ added in v0.0.68
type ShowVpcRequest struct { // VPC资源ID VpcId string `json:"vpc_id"` }
ShowVpcRequest Request Object
func (ShowVpcRequest) String ¶ added in v0.0.68
func (o ShowVpcRequest) String() string
type ShowVpcResponse ¶ added in v0.0.68
type ShowVpcResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` Vpc *Vpc `json:"vpc,omitempty"` HttpStatusCode int `json:"-"` }
ShowVpcResponse Response Object
func (ShowVpcResponse) String ¶ added in v0.0.68
func (o ShowVpcResponse) String() string
type SubNetworkInterface ¶
type SubNetworkInterface struct { // 功能说明:辅助弹性网卡的唯一标识 取值范围:带(-)的标准UUID Id string `json:"id"` // 功能说明:虚拟子网ID 取值范围:标准UUID VirsubnetId string `json:"virsubnet_id"` // 功能说明:辅助弹性网卡的私有IPv4地址 取值范围:必须在虚拟子网的网段内,不填则随机在虚拟子网网段内随机分配 PrivateIpAddress string `json:"private_ip_address"` // 功能说明:辅助弹性网卡的IPv6地址 Ipv6IpAddress string `json:"ipv6_ip_address"` // 功能说明:辅助弹性网卡的mac地址 取值范围:合法的mac地址,系统随机分配 MacAddress string `json:"mac_address"` // 功能说明:设备ID 取值范围:标准UUID ParentDeviceId string `json:"parent_device_id"` // 功能说明:宿主网络接口的ID 取值范围:标准UUID ParentId string `json:"parent_id"` // 功能说明:辅助弹性网卡的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:辅助弹性网卡所属的VPC_ID 取值范围:标准UUID VpcId string `json:"vpc_id"` // 功能说明:辅助弹性网卡的VLAN ID 取值范围:1-4094 约束:同一个宿主网络接口下唯一 VlanId int32 `json:"vlan_id"` // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] 取值范围:默认值为系统默认安全组 SecurityGroups []string `json:"security_groups"` // 功能说明:辅助弹性网卡的标签列表 Tags []string `json:"tags"` // 功能说明:辅助弹性网卡所属项目ID ProjectId string `json:"project_id"` // 功能说明:辅助弹性网卡的创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss CreatedAt *sdktime.SdkTime `json:"created_at"` // 功能说明:辅助弹性网卡安全使能标记,如果不使能则安全组不生效。 取值范围:true(使能),false(不使能) SecurityEnabled bool `json:"security_enabled"` }
SubNetworkInterface
func (SubNetworkInterface) String ¶
func (o SubNetworkInterface) String() string
type SysTag ¶ added in v0.1.98
type SysTag struct { // 标签键,最大长度128个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。 Key string `json:"key"` // 标签值,最大长度255个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。 Value string `json:"value"` }
SysTag 资源标签。
type Tag ¶ added in v0.0.68
type Tag struct { // 1.功能说明:标签键 2.取值范围:最大长度36个unicode字符。 key不能为空。不能包含非打印字符ASCII(0-31),*,<,>,\\,= Key string `json:"key"` // 1. 功能描述:标签值 2. 取值范围:每个值最大长度43个unicode字符,可以为空字符串。 不能包含非打印字符ASCII(0-31),*,<,>,\\,= Value string `json:"value"` }
Tag
type TagEntity ¶ added in v0.1.98
type TagEntity struct { // Key *interface{} `json:"key"` // Value *interface{} `json:"value"` }
TagEntity tags标签key-value
type TrafficMirrorFilter ¶ added in v0.1.61
type TrafficMirrorFilter struct { // 功能说明:流量镜像筛选条件ID Id string `json:"id"` // 功能说明:项目ID ProjectId string `json:"project_id"` // 功能说明:流量镜像筛选条件的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:流量镜像筛选条件的名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:入方向筛选规则列表 IngressRules []TrafficMirrorFilterRule `json:"ingress_rules"` // 功能说明:出方向筛选规则列表 EgressRules []TrafficMirrorFilterRule `json:"egress_rules"` // 创建时间戳 CreatedAt *sdktime.SdkTime `json:"created_at"` // 更新时间戳 UpdatedAt *sdktime.SdkTime `json:"updated_at"` }
TrafficMirrorFilter
func (TrafficMirrorFilter) String ¶ added in v0.1.61
func (o TrafficMirrorFilter) String() string
type TrafficMirrorFilterRule ¶ added in v0.1.61
type TrafficMirrorFilterRule struct { // 功能说明:流量镜像筛选规则ID Id string `json:"id"` // 功能说明:项目ID ProjectId string `json:"project_id"` // 功能说明:流量镜像筛选规则的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:流量镜像筛选条件ID TrafficMirrorFilterId string `json:"traffic_mirror_filter_id"` // 功能说明:流量方向 取值范围: ingress:入方向 egress:出方向 Direction string `json:"direction"` // 功能说明:镜像流量的源网段 SourceCidrBlock string `json:"source_cidr_block"` // 功能说明:镜像流量的目的网段 DestinationCidrBlock string `json:"destination_cidr_block"` // 功能说明:流量源端口范围 取值范围:1~65535 格式:80-200 SourcePortRange string `json:"source_port_range"` // 功能说明:流量目的端口范围 取值范围:1~65535 格式:80-200 DestinationPortRange string `json:"destination_port_range"` // 功能说明:镜像流量的地址协议版本 取值范围:IPv4,IPv6 Ethertype string `json:"ethertype"` // 功能说明:镜像流量的协议类型 取值范围:TCP、UDP、ICMP、ICMPV6、ALL Protocol string `json:"protocol"` // 功能说明:镜像策略 取值范围:accept(采集)、reject(不采集) Action string `json:"action"` // 功能说明:镜像规则优先级 取值范围:1~65535,数字越小,优先级越高 Priority int32 `json:"priority"` // 创建时间戳 CreatedAt *sdktime.SdkTime `json:"created_at"` // 更新时间戳 UpdatedAt *sdktime.SdkTime `json:"updated_at"` }
TrafficMirrorFilterRule
func (TrafficMirrorFilterRule) String ¶ added in v0.1.61
func (o TrafficMirrorFilterRule) String() string
type TrafficMirrorSession ¶ added in v0.1.61
type TrafficMirrorSession struct { // 功能说明:流量镜像会话ID Id string `json:"id"` // 功能说明:项目ID ProjectId string `json:"project_id"` // 功能说明:流量镜像会话名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:流量镜像会话的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:流量镜像筛选条件ID TrafficMirrorFilterId string `json:"traffic_mirror_filter_id"` // 功能说明:镜像源ID列表,支持弹性网卡作为镜像源。 约束:一个镜像会话默认最大支持10个镜像源。 TrafficMirrorSources []string `json:"traffic_mirror_sources"` // 功能说明:镜像目的ID TrafficMirrorTargetId string `json:"traffic_mirror_target_id"` // 功能说明:镜像目的类型 取值范围: eni:弹性网卡 elb:私网弹性负载均衡 TrafficMirrorTargetType string `json:"traffic_mirror_target_type"` // 功能说明:指定VNI,用于区分不同会话的镜像流量 取值范围:0~16777215 默认值:1 VirtualNetworkId int32 `json:"virtual_network_id"` // 功能说明:最大传输单元MTU 取值范围:1~1460 默认值:96 PacketLength int32 `json:"packet_length"` // 功能说明:会话优先级 取值范围:1~32766 Priority int32 `json:"priority"` // 功能说明:是否开启会话 取值范围:true、false 默认值:false Enabled bool `json:"enabled"` // 功能说明:支持的镜像源类型 取值范围: eni:弹性网卡 Type string `json:"type"` // 功能说明:创建时间戳 CreatedAt string `json:"created_at"` // 功能说明:更新时间戳 UpdatedAt string `json:"updated_at"` }
TrafficMirrorSession
func (TrafficMirrorSession) String ¶ added in v0.1.61
func (o TrafficMirrorSession) String() string
type TrafficMirrorSourcesOption ¶ added in v0.1.61
type TrafficMirrorSourcesOption struct { // 功能说明:镜像源ID列表 TrafficMirrorSources []string `json:"traffic_mirror_sources"` }
TrafficMirrorSourcesOption
func (TrafficMirrorSourcesOption) String ¶ added in v0.1.61
func (o TrafficMirrorSourcesOption) String() string
type UpdateAddressGroupOption ¶ added in v0.0.68
type UpdateAddressGroupOption struct { // 功能说明:地址组名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // 功能说明:IP地址组描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>”。 Description *string `json:"description,omitempty"` // 功能说明:IP地址组可包含地址集 取值范围:可以是单个ip地址,ip地址范围,ip地址cidr 约束:当前一个地址组ip_set数量限制默认值为20,即配置的ip地址、ip地址范围或ip地址cidr的总数默认限制20 IpSet *[]string `json:"ip_set,omitempty"` // 功能说明:地址组最大条目数,限制地址组可以包含的地址数量 取值范围:0-20 MaxCapacity *int32 `json:"max_capacity,omitempty"` // 功能说明:IP地址组包含的IP列表及其备注信息 约束:ip数量限制默认20, 与ip_set参数只能二选一 IpExtraSet *[]IpExtraSetOption `json:"ip_extra_set,omitempty"` }
UpdateAddressGroupOption
func (UpdateAddressGroupOption) String ¶ added in v0.0.68
func (o UpdateAddressGroupOption) String() string
type UpdateAddressGroupRequest ¶ added in v0.0.68
type UpdateAddressGroupRequest struct { // 地址组的唯一标识 AddressGroupId string `json:"address_group_id"` Body *UpdateAddressGroupRequestBody `json:"body,omitempty"` }
UpdateAddressGroupRequest Request Object
func (UpdateAddressGroupRequest) String ¶ added in v0.0.68
func (o UpdateAddressGroupRequest) String() string
type UpdateAddressGroupRequestBody ¶ added in v0.0.68
type UpdateAddressGroupRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会更新地址组内容。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接更新地址组。 DryRun *bool `json:"dry_run,omitempty"` AddressGroup *UpdateAddressGroupOption `json:"address_group"` }
UpdateAddressGroupRequestBody This is a auto create Body Object
func (UpdateAddressGroupRequestBody) String ¶ added in v0.0.68
func (o UpdateAddressGroupRequestBody) String() string
type UpdateAddressGroupResponse ¶ added in v0.0.68
type UpdateAddressGroupResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` AddressGroup *AddressGroup `json:"address_group,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAddressGroupResponse Response Object
func (UpdateAddressGroupResponse) String ¶ added in v0.0.68
func (o UpdateAddressGroupResponse) String() string
type UpdateClouddcnSubnetOption ¶ added in v0.1.98
type UpdateClouddcnSubnetOption struct { // 功能说明:子网名称 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // 功能说明:子网描述 取值范围:0-255个字符,不能包含“<”和“>”。 Description *string `json:"description,omitempty"` }
UpdateClouddcnSubnetOption
func (UpdateClouddcnSubnetOption) String ¶ added in v0.1.98
func (o UpdateClouddcnSubnetOption) String() string
type UpdateClouddcnSubnetRequest ¶ added in v0.1.98
type UpdateClouddcnSubnetRequest struct { // clouddcn子网ID ClouddcnSubnetId string `json:"clouddcn_subnet_id"` Body *UpdateClouddcnSubnetRequestBody `json:"body,omitempty"` }
UpdateClouddcnSubnetRequest Request Object
func (UpdateClouddcnSubnetRequest) String ¶ added in v0.1.98
func (o UpdateClouddcnSubnetRequest) String() string
type UpdateClouddcnSubnetRequestBody ¶ added in v0.1.98
type UpdateClouddcnSubnetRequestBody struct {
ClouddcnSubnet *UpdateClouddcnSubnetOption `json:"clouddcn_subnet"`
}
UpdateClouddcnSubnetRequestBody
func (UpdateClouddcnSubnetRequestBody) String ¶ added in v0.1.98
func (o UpdateClouddcnSubnetRequestBody) String() string
type UpdateClouddcnSubnetResponse ¶ added in v0.1.98
type UpdateClouddcnSubnetResponse struct { ClouddcnSubnet *ClouddcnSubnet `json:"clouddcn_subnet,omitempty"` HttpStatusCode int `json:"-"` }
UpdateClouddcnSubnetResponse Response Object
func (UpdateClouddcnSubnetResponse) String ¶ added in v0.1.98
func (o UpdateClouddcnSubnetResponse) String() string
type UpdateFirewallOption ¶ added in v0.1.56
type UpdateFirewallOption struct { // 功能说明:ACL名称 取值范围:0-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // 功能说明:ACL描述信息 取值范围:0-255个字符 约束:不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:ACL是否开启 取值范围:true表示ACL开启;false表示ACL关闭 AdminStateUp *bool `json:"admin_state_up,omitempty"` }
UpdateFirewallOption
func (UpdateFirewallOption) String ¶ added in v0.1.56
func (o UpdateFirewallOption) String() string
type UpdateFirewallRequest ¶ added in v0.1.56
type UpdateFirewallRequest struct { // 网络ACL的唯一标识 FirewallId string `json:"firewall_id"` Body *UpdateFirewallRequestBody `json:"body,omitempty"` }
UpdateFirewallRequest Request Object
func (UpdateFirewallRequest) String ¶ added in v0.1.56
func (o UpdateFirewallRequest) String() string
type UpdateFirewallRequestBody ¶ added in v0.1.56
type UpdateFirewallRequestBody struct {
Firewall *UpdateFirewallOption `json:"firewall"`
}
UpdateFirewallRequestBody This is a auto create Body Object
func (UpdateFirewallRequestBody) String ¶ added in v0.1.56
func (o UpdateFirewallRequestBody) String() string
type UpdateFirewallResponse ¶ added in v0.1.56
type UpdateFirewallResponse struct { Firewall *FirewallDetail `json:"firewall,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateFirewallResponse Response Object
func (UpdateFirewallResponse) String ¶ added in v0.1.56
func (o UpdateFirewallResponse) String() string
type UpdateFirewallRulesRequest ¶ added in v0.1.56
type UpdateFirewallRulesRequest struct { // 网络ACL唯一标识 FirewallId string `json:"firewall_id"` Body *UpdateFirewallRulesRequestBody `json:"body,omitempty"` }
UpdateFirewallRulesRequest Request Object
func (UpdateFirewallRulesRequest) String ¶ added in v0.1.56
func (o UpdateFirewallRulesRequest) String() string
type UpdateFirewallRulesRequestBody ¶ added in v0.1.56
type UpdateFirewallRulesRequestBody struct {
Firewall *FirewallUpdateRuleOption `json:"firewall"`
}
UpdateFirewallRulesRequestBody This is a auto create Body Object
func (UpdateFirewallRulesRequestBody) String ¶ added in v0.1.56
func (o UpdateFirewallRulesRequestBody) String() string
type UpdateFirewallRulesResponse ¶ added in v0.1.56
type UpdateFirewallRulesResponse struct { Firewall *FirewallDetail `json:"firewall,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateFirewallRulesResponse Response Object
func (UpdateFirewallRulesResponse) String ¶ added in v0.1.56
func (o UpdateFirewallRulesResponse) String() string
type UpdateSecurityGroupOption ¶
type UpdateSecurityGroupOption struct { // 功能说明:安全组名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // 功能说明:安全组描述 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` }
UpdateSecurityGroupOption
func (UpdateSecurityGroupOption) String ¶
func (o UpdateSecurityGroupOption) String() string
type UpdateSecurityGroupRequest ¶
type UpdateSecurityGroupRequest struct { // 安全组ID SecurityGroupId string `json:"security_group_id"` Body *UpdateSecurityGroupRequestBody `json:"body,omitempty"` }
UpdateSecurityGroupRequest Request Object
func (UpdateSecurityGroupRequest) String ¶
func (o UpdateSecurityGroupRequest) String() string
type UpdateSecurityGroupRequestBody ¶
type UpdateSecurityGroupRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会更新安全组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接更新安全组。 DryRun *bool `json:"dry_run,omitempty"` SecurityGroup *UpdateSecurityGroupOption `json:"security_group"` }
UpdateSecurityGroupRequestBody This is a auto create Body Object
func (UpdateSecurityGroupRequestBody) String ¶
func (o UpdateSecurityGroupRequestBody) String() string
type UpdateSecurityGroupResponse ¶
type UpdateSecurityGroupResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SecurityGroup *SecurityGroupInfo `json:"security_group,omitempty"` HttpStatusCode int `json:"-"` }
UpdateSecurityGroupResponse Response Object
func (UpdateSecurityGroupResponse) String ¶
func (o UpdateSecurityGroupResponse) String() string
type UpdateSubNetworkInterfaceOption ¶
type UpdateSubNetworkInterfaceOption struct { // 功能说明:辅助弹性网卡的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:安全组的ID列表;例如:\"security_groups\": [\"a0608cbf-d047-4f54-8b28-cd7b59853fff\"] SecurityGroups *[]string `json:"security_groups,omitempty"` }
UpdateSubNetworkInterfaceOption
func (UpdateSubNetworkInterfaceOption) String ¶
func (o UpdateSubNetworkInterfaceOption) String() string
type UpdateSubNetworkInterfaceRequest ¶
type UpdateSubNetworkInterfaceRequest struct { // 辅助弹性网卡的唯一标识 SubNetworkInterfaceId string `json:"sub_network_interface_id"` Body *UpdateSubNetworkInterfaceRequestBody `json:"body,omitempty"` }
UpdateSubNetworkInterfaceRequest Request Object
func (UpdateSubNetworkInterfaceRequest) String ¶
func (o UpdateSubNetworkInterfaceRequest) String() string
type UpdateSubNetworkInterfaceRequestBody ¶
type UpdateSubNetworkInterfaceRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会更新辅助弹性网卡。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接更新辅助弹性网卡。 DryRun *bool `json:"dry_run,omitempty"` SubNetworkInterface *UpdateSubNetworkInterfaceOption `json:"sub_network_interface"` }
UpdateSubNetworkInterfaceRequestBody This is a auto create Body Object
func (UpdateSubNetworkInterfaceRequestBody) String ¶
func (o UpdateSubNetworkInterfaceRequestBody) String() string
type UpdateSubNetworkInterfaceResponse ¶
type UpdateSubNetworkInterfaceResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` SubNetworkInterface *SubNetworkInterface `json:"sub_network_interface,omitempty"` HttpStatusCode int `json:"-"` }
UpdateSubNetworkInterfaceResponse Response Object
func (UpdateSubNetworkInterfaceResponse) String ¶
func (o UpdateSubNetworkInterfaceResponse) String() string
type UpdateTrafficMirrorFilterOption ¶ added in v0.1.61
type UpdateTrafficMirrorFilterOption struct { // 功能说明:流量镜像筛选条件的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:流量镜像筛选条件的名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` }
UpdateTrafficMirrorFilterOption
func (UpdateTrafficMirrorFilterOption) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorFilterOption) String() string
type UpdateTrafficMirrorFilterRequest ¶ added in v0.1.61
type UpdateTrafficMirrorFilterRequest struct { // 流量镜像筛选条件ID TrafficMirrorFilterId string `json:"traffic_mirror_filter_id"` Body *UpdateTrafficMirrorFilterRequestBody `json:"body,omitempty"` }
UpdateTrafficMirrorFilterRequest Request Object
func (UpdateTrafficMirrorFilterRequest) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorFilterRequest) String() string
type UpdateTrafficMirrorFilterRequestBody ¶ added in v0.1.61
type UpdateTrafficMirrorFilterRequestBody struct {
TrafficMirrorFilter *UpdateTrafficMirrorFilterOption `json:"traffic_mirror_filter"`
}
UpdateTrafficMirrorFilterRequestBody
func (UpdateTrafficMirrorFilterRequestBody) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorFilterRequestBody) String() string
type UpdateTrafficMirrorFilterResponse ¶ added in v0.1.61
type UpdateTrafficMirrorFilterResponse struct { TrafficMirrorFilter *TrafficMirrorFilter `json:"traffic_mirror_filter,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateTrafficMirrorFilterResponse Response Object
func (UpdateTrafficMirrorFilterResponse) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorFilterResponse) String() string
type UpdateTrafficMirrorFilterRuleOption ¶ added in v0.1.61
type UpdateTrafficMirrorFilterRuleOption struct { // 功能说明:流量镜像筛选规则的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:镜像流量的协议类型 取值范围:TCP、UDP、ICMP、ICMPV6、ALL Protocol *string `json:"protocol,omitempty"` // 功能说明:镜像流量的地址协议版本 取值范围:IPv4,IPv6 Ethertype *string `json:"ethertype,omitempty"` // 功能说明:镜像流量的源网段 SourceCidrBlock *string `json:"source_cidr_block,omitempty"` // 功能说明:镜像流量的目的网段 DestinationCidrBlock *string `json:"destination_cidr_block,omitempty"` // 功能说明:流量源端口范围 取值范围:1~65535 格式:80-200 SourcePortRange *string `json:"source_port_range,omitempty"` // 功能说明:流量目的端口范围 取值范围:1~65535 格式:80-200 DestinationPortRange *string `json:"destination_port_range,omitempty"` // 功能说明:镜像规则优先级 取值范围:1~65535,数字越小,优先级越高 Priority *int32 `json:"priority,omitempty"` // 功能说明:镜像策略 取值范围:accept(采集)、reject(不采集) Action *string `json:"action,omitempty"` }
UpdateTrafficMirrorFilterRuleOption
func (UpdateTrafficMirrorFilterRuleOption) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorFilterRuleOption) String() string
type UpdateTrafficMirrorFilterRuleRequest ¶ added in v0.1.61
type UpdateTrafficMirrorFilterRuleRequest struct { // 流量镜像筛选条件规则ID TrafficMirrorFilterRuleId string `json:"traffic_mirror_filter_rule_id"` Body *UpdateTrafficMirrorFilterRuleRequestBody `json:"body,omitempty"` }
UpdateTrafficMirrorFilterRuleRequest Request Object
func (UpdateTrafficMirrorFilterRuleRequest) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorFilterRuleRequest) String() string
type UpdateTrafficMirrorFilterRuleRequestBody ¶ added in v0.1.61
type UpdateTrafficMirrorFilterRuleRequestBody struct {
TrafficMirrorFilterRule *UpdateTrafficMirrorFilterRuleOption `json:"traffic_mirror_filter_rule"`
}
UpdateTrafficMirrorFilterRuleRequestBody
func (UpdateTrafficMirrorFilterRuleRequestBody) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorFilterRuleRequestBody) String() string
type UpdateTrafficMirrorFilterRuleResponse ¶ added in v0.1.61
type UpdateTrafficMirrorFilterRuleResponse struct { TrafficMirrorFilterRule *TrafficMirrorFilterRule `json:"traffic_mirror_filter_rule,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateTrafficMirrorFilterRuleResponse Response Object
func (UpdateTrafficMirrorFilterRuleResponse) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorFilterRuleResponse) String() string
type UpdateTrafficMirrorSessionOption ¶ added in v0.1.61
type UpdateTrafficMirrorSessionOption struct { // 功能说明:流量镜像会话名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name *string `json:"name,omitempty"` // 功能说明:流量镜像会话的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description *string `json:"description,omitempty"` // 功能说明:流量镜像筛选条件ID TrafficMirrorFilterId *string `json:"traffic_mirror_filter_id,omitempty"` // 功能说明:镜像目标ID TrafficMirrorTargetId *string `json:"traffic_mirror_target_id,omitempty"` // 功能说明:镜像目的类型 取值范围: eni:弹性网卡 elb:私网弹性负载均衡 TrafficMirrorTargetType *string `json:"traffic_mirror_target_type,omitempty"` // 功能说明:指定VNI,用于在镜像目的区分不同会话的镜像流量 取值范围:0~16777215 VirtualNetworkId *int32 `json:"virtual_network_id,omitempty"` // 功能说明:最大传输单元MTU 取值范围:1~1460 PacketLength *int32 `json:"packet_length,omitempty"` // 功能说明:会话优先级 取值范围:1~32766 Priority *int32 `json:"priority,omitempty"` // 功能说明:是否开启会话 取值范围:true、false Enabled *string `json:"enabled,omitempty"` // 功能说明:支持的镜像源类型 取值范围: eni:弹性网卡 Type *string `json:"type,omitempty"` }
UpdateTrafficMirrorSessionOption
func (UpdateTrafficMirrorSessionOption) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorSessionOption) String() string
type UpdateTrafficMirrorSessionRequest ¶ added in v0.1.61
type UpdateTrafficMirrorSessionRequest struct { // 流量镜像会话ID TrafficMirrorSessionId string `json:"traffic_mirror_session_id"` Body *UpdateTrafficMirrorSessionRequestBody `json:"body,omitempty"` }
UpdateTrafficMirrorSessionRequest Request Object
func (UpdateTrafficMirrorSessionRequest) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorSessionRequest) String() string
type UpdateTrafficMirrorSessionRequestBody ¶ added in v0.1.61
type UpdateTrafficMirrorSessionRequestBody struct {
TrafficMirrorSession *UpdateTrafficMirrorSessionOption `json:"traffic_mirror_session"`
}
UpdateTrafficMirrorSessionRequestBody
func (UpdateTrafficMirrorSessionRequestBody) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorSessionRequestBody) String() string
type UpdateTrafficMirrorSessionResponse ¶ added in v0.1.61
type UpdateTrafficMirrorSessionResponse struct { TrafficMirrorSession *TrafficMirrorSession `json:"traffic_mirror_session,omitempty"` // 请求ID RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateTrafficMirrorSessionResponse Response Object
func (UpdateTrafficMirrorSessionResponse) String ¶ added in v0.1.61
func (o UpdateTrafficMirrorSessionResponse) String() string
type UpdateVpcOption ¶ added in v0.0.68
type UpdateVpcOption struct { // 功能说明:虚拟私有云名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) 约束:与description至少选填一个 Name *string `json:"name,omitempty"` // 功能说明:虚拟私有云描述 取值范围:0-255个字符,不能包含“<”和“>”。 约束:与name至少选填一个 Description *string `json:"description,omitempty"` }
UpdateVpcOption
func (UpdateVpcOption) String ¶ added in v0.0.68
func (o UpdateVpcOption) String() string
type UpdateVpcRequest ¶ added in v0.0.68
type UpdateVpcRequest struct { // VPC资源ID VpcId string `json:"vpc_id"` Body *UpdateVpcRequestBody `json:"body,omitempty"` }
UpdateVpcRequest Request Object
func (UpdateVpcRequest) String ¶ added in v0.0.68
func (o UpdateVpcRequest) String() string
type UpdateVpcRequestBody ¶ added in v0.0.68
type UpdateVpcRequestBody struct { // 功能说明:是否只预检此次请求 取值范围: -true:发送检查请求,不会更新VPC。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回响应码202。 -false(默认值):发送正常请求,并直接更新VPC。 DryRun *bool `json:"dry_run,omitempty"` Vpc *UpdateVpcOption `json:"vpc"` }
UpdateVpcRequestBody This is a auto create Body Object
func (UpdateVpcRequestBody) String ¶ added in v0.0.68
func (o UpdateVpcRequestBody) String() string
type UpdateVpcResponse ¶ added in v0.0.68
type UpdateVpcResponse struct { // 请求ID RequestId *string `json:"request_id,omitempty"` // 错误消息 ErrorMsg *string `json:"error_msg,omitempty"` // 错误码 ErrorCode *string `json:"error_code,omitempty"` HttpStatusCode int `json:"-"` }
UpdateVpcResponse Response Object
func (UpdateVpcResponse) String ¶ added in v0.0.68
func (o UpdateVpcResponse) String() string
type Vpc ¶ added in v0.0.68
type Vpc struct { // 功能描述:VPC对应的唯一标识 取值范围:带“-”的UUID格式 Id string `json:"id"` // 功能说明:VPC对应的名称 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点) Name string `json:"name"` // 功能说明:VPC的描述信息 取值范围:0-255个字符,不能包含“<”和“>” Description string `json:"description"` // 功能说明:VPC下可用子网的范围 取值范围: - 10.0.0.0/8~10.255.255.240/28 - 172.16.0.0/12 ~ 172.31.255.240/28 - 192.168.0.0/16 ~ 192.168.255.240/28 不指定cidr时,默认值为“” 约束:必须是ipv4 cidr格式,例如:192.168.0.0/16 Cidr string `json:"cidr"` // 功能描述:VPC的扩展网段 取值范围: 约束:目前只支持ipv4 ExtendCidrs []string `json:"extend_cidrs"` // 功能说明:VPC对应的状态 取值范围:PENDING:创建中;ACTIVE:创建成功 Status string `json:"status"` // 功能说明:VPC所属的项目ID ProjectId string `json:"project_id"` // 功能说明:VPC所属的企业项目ID。 取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 EnterpriseProjectId string `json:"enterprise_project_id"` // 功能说明:VPC创建时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss CreatedAt *sdktime.SdkTime `json:"created_at"` // 功能说明:VPC更新时间 取值范围:UTC时间格式:yyyy-MM-ddTHH:mm:ss UpdatedAt *sdktime.SdkTime `json:"updated_at"` // 功能说明:VPC关联资源类型和数量 取值范围:目前只返回VPC关联的routetable和virsubnet CloudResources []CloudResource `json:"cloud_resources"` // 功能说明:VPC的标签信息,详情参见Tag对象 取值范围:0-10个标签键值对 Tags []Tag `json:"tags"` }
Vpc
Source Files ¶
- model_add_clouddcn_subnets_tags_request.go
- model_add_clouddcn_subnets_tags_response.go
- model_add_extend_cidr_option.go
- model_add_firewall_rules_request.go
- model_add_firewall_rules_request_body.go
- model_add_firewall_rules_response.go
- model_add_resource_tags_request_body.go
- model_add_resource_tags_request_body_tag.go
- model_add_security_groups_request.go
- model_add_security_groups_request_body.go
- model_add_security_groups_response.go
- model_add_sources_to_traffic_mirror_session_request.go
- model_add_sources_to_traffic_mirror_session_request_body.go
- model_add_sources_to_traffic_mirror_session_response.go
- model_add_vpc_extend_cidr_request.go
- model_add_vpc_extend_cidr_request_body.go
- model_add_vpc_extend_cidr_response.go
- model_address_group.go
- model_allowed_address_pair.go
- model_associate_subnet_firewall_request.go
- model_associate_subnet_firewall_request_body.go
- model_associate_subnet_firewall_response.go
- model_batch_create_clouddcn_subnets_tags_request.go
- model_batch_create_clouddcn_subnets_tags_response.go
- model_batch_create_firewall_tags_request.go
- model_batch_create_firewall_tags_request_body.go
- model_batch_create_firewall_tags_response.go
- model_batch_create_port_tags_request.go
- model_batch_create_port_tags_request_body.go
- model_batch_create_port_tags_response.go
- model_batch_create_request_body.go
- model_batch_create_request_body_sys_tags.go
- model_batch_create_request_body_tags.go
- model_batch_create_security_group_rules_option.go
- model_batch_create_security_group_rules_request.go
- model_batch_create_security_group_rules_request_body.go
- model_batch_create_security_group_rules_response.go
- model_batch_create_sub_network_interface_option.go
- model_batch_create_sub_network_interface_request.go
- model_batch_create_sub_network_interface_request_body.go
- model_batch_create_sub_network_interface_response.go
- model_batch_delete_clouddcn_subnets_tags_request.go
- model_batch_delete_clouddcn_subnets_tags_response.go
- model_batch_delete_firewall_tags_request.go
- model_batch_delete_firewall_tags_request_body.go
- model_batch_delete_firewall_tags_response.go
- model_batch_delete_port_tags_request.go
- model_batch_delete_port_tags_request_body.go
- model_batch_delete_port_tags_response.go
- model_batch_delete_request_body.go
- model_batch_delete_request_body_sys_tags.go
- model_batch_delete_request_body_tags.go
- model_cloud_resource.go
- model_clouddcn_resource.go
- model_clouddcn_subnet.go
- model_count_firewalls_by_tags_request.go
- model_count_firewalls_by_tags_request_body.go
- model_count_firewalls_by_tags_response.go
- model_count_ports_by_tags_request.go
- model_count_ports_by_tags_request_body.go
- model_count_ports_by_tags_response.go
- model_create_address_group_option.go
- model_create_address_group_request.go
- model_create_address_group_request_body.go
- model_create_address_group_response.go
- model_create_clouddcn_subnet_option.go
- model_create_clouddcn_subnet_request.go
- model_create_clouddcn_subnet_request_body.go
- model_create_clouddcn_subnet_response.go
- model_create_firewall_option.go
- model_create_firewall_request.go
- model_create_firewall_request_body.go
- model_create_firewall_response.go
- model_create_firewall_tag_request.go
- model_create_firewall_tag_request_body.go
- model_create_firewall_tag_response.go
- model_create_port_tag_request.go
- model_create_port_tag_request_body.go
- model_create_port_tag_response.go
- model_create_security_group_option.go
- model_create_security_group_request.go
- model_create_security_group_request_body.go
- model_create_security_group_response.go
- model_create_security_group_rule_option.go
- model_create_security_group_rule_request.go
- model_create_security_group_rule_request_body.go
- model_create_security_group_rule_response.go
- model_create_sub_network_interface_option.go
- model_create_sub_network_interface_request.go
- model_create_sub_network_interface_request_body.go
- model_create_sub_network_interface_response.go
- model_create_traffic_mirror_filter_option.go
- model_create_traffic_mirror_filter_request.go
- model_create_traffic_mirror_filter_request_body.go
- model_create_traffic_mirror_filter_response.go
- model_create_traffic_mirror_filter_rule_option.go
- model_create_traffic_mirror_filter_rule_request.go
- model_create_traffic_mirror_filter_rule_request_body.go
- model_create_traffic_mirror_filter_rule_response.go
- model_create_traffic_mirror_session_option.go
- model_create_traffic_mirror_session_request.go
- model_create_traffic_mirror_session_request_body.go
- model_create_traffic_mirror_session_response.go
- model_create_vpc_option.go
- model_create_vpc_request.go
- model_create_vpc_request_body.go
- model_create_vpc_response.go
- model_delete_address_group_request.go
- model_delete_address_group_response.go
- model_delete_clouddcn_subnet_request.go
- model_delete_clouddcn_subnet_response.go
- model_delete_clouddcn_subnets_tag_request.go
- model_delete_clouddcn_subnets_tag_response.go
- model_delete_firewall_request.go
- model_delete_firewall_response.go
- model_delete_firewall_tag_request.go
- model_delete_firewall_tag_response.go
- model_delete_ip_address_group_force_request.go
- model_delete_ip_address_group_force_response.go
- model_delete_port_tag_request.go
- model_delete_port_tag_response.go
- model_delete_resource_tag_request_body.go
- model_delete_security_group_request.go
- model_delete_security_group_response.go
- model_delete_security_group_rule_request.go
- model_delete_security_group_rule_response.go
- model_delete_sub_network_interface_request.go
- model_delete_sub_network_interface_response.go
- model_delete_traffic_mirror_filter_request.go
- model_delete_traffic_mirror_filter_response.go
- model_delete_traffic_mirror_filter_rule_request.go
- model_delete_traffic_mirror_filter_rule_response.go
- model_delete_traffic_mirror_session_request.go
- model_delete_traffic_mirror_session_response.go
- model_delete_vpc_request.go
- model_delete_vpc_response.go
- model_disassociate_subnet_firewall_request.go
- model_disassociate_subnet_firewall_request_body.go
- model_disassociate_subnet_firewall_response.go
- model_firewall_association.go
- model_firewall_detail.go
- model_firewall_insert_rule_item_option.go
- model_firewall_insert_rule_option.go
- model_firewall_remove_rule_item_option.go
- model_firewall_remove_rule_option.go
- model_firewall_rule_detail.go
- model_firewall_update_rule_item_option.go
- model_firewall_update_rule_option.go
- model_insert_security_group_option.go
- model_ip_extra_set_option.go
- model_ip_extra_set_resp_option.go
- model_list_address_group_request.go
- model_list_address_group_response.go
- model_list_clouddcn_subnets_count_filter_tags_request.go
- model_list_clouddcn_subnets_count_filter_tags_response.go
- model_list_clouddcn_subnets_filter_tags_request.go
- model_list_clouddcn_subnets_filter_tags_response.go
- model_list_clouddcn_subnets_request.go
- model_list_clouddcn_subnets_response.go
- model_list_clouddcn_subnets_tags_request.go
- model_list_clouddcn_subnets_tags_response.go
- model_list_firewall_detail.go
- model_list_firewall_request.go
- model_list_firewall_response.go
- model_list_firewall_tags_request.go
- model_list_firewall_tags_response.go
- model_list_firewalls_by_tags_request.go
- model_list_firewalls_by_tags_request_body.go
- model_list_firewalls_by_tags_response.go
- model_list_port_tags_request.go
- model_list_port_tags_response.go
- model_list_ports_by_tags_request.go
- model_list_ports_by_tags_request_body.go
- model_list_ports_by_tags_response.go
- model_list_resource_resp.go
- model_list_resources_by_tags_request_body.go
- model_list_security_group_rules_request.go
- model_list_security_group_rules_response.go
- model_list_security_groups_request.go
- model_list_security_groups_response.go
- model_list_sub_network_interfaces_request.go
- model_list_sub_network_interfaces_response.go
- model_list_tag.go
- model_list_traffic_mirror_filter_rules_request.go
- model_list_traffic_mirror_filter_rules_response.go
- model_list_traffic_mirror_filters_request.go
- model_list_traffic_mirror_filters_response.go
- model_list_traffic_mirror_sessions_request.go
- model_list_traffic_mirror_sessions_response.go
- model_list_vpcs_request.go
- model_list_vpcs_response.go
- model_match.go
- model_migrate_sub_network_interface_option.go
- model_migrate_sub_network_interface_request.go
- model_migrate_sub_network_interface_request_body.go
- model_migrate_sub_network_interface_response.go
- model_page_info.go
- model_port.go
- model_private_ip_info.go
- model_remove_extend_cidr_option.go
- model_remove_firewall_rules_request.go
- model_remove_firewall_rules_request_body.go
- model_remove_firewall_rules_response.go
- model_remove_security_group_option.go
- model_remove_security_groups_request.go
- model_remove_security_groups_request_body.go
- model_remove_security_groups_response.go
- model_remove_sources_from_traffic_mirror_session_request.go
- model_remove_sources_from_traffic_mirror_session_request_body.go
- model_remove_sources_from_traffic_mirror_session_response.go
- model_remove_vpc_extend_cidr_request.go
- model_remove_vpc_extend_cidr_request_body.go
- model_remove_vpc_extend_cidr_response.go
- model_resource_tag.go
- model_resource_tags.go
- model_security_group.go
- model_security_group_info.go
- model_security_group_rule.go
- model_show_address_group_request.go
- model_show_address_group_response.go
- model_show_clouddcn_subnet_request.go
- model_show_clouddcn_subnet_response.go
- model_show_clouddcn_subnets_tags_request.go
- model_show_clouddcn_subnets_tags_response.go
- model_show_firewall_request.go
- model_show_firewall_response.go
- model_show_firewall_tags_request.go
- model_show_firewall_tags_response.go
- model_show_port_tags_request.go
- model_show_port_tags_response.go
- model_show_security_group_request.go
- model_show_security_group_response.go
- model_show_security_group_rule_request.go
- model_show_security_group_rule_response.go
- model_show_sub_network_interface_request.go
- model_show_sub_network_interface_response.go
- model_show_sub_network_interfaces_quantity_request.go
- model_show_sub_network_interfaces_quantity_response.go
- model_show_traffic_mirror_filter_request.go
- model_show_traffic_mirror_filter_response.go
- model_show_traffic_mirror_filter_rule_request.go
- model_show_traffic_mirror_filter_rule_response.go
- model_show_traffic_mirror_session_request.go
- model_show_traffic_mirror_session_response.go
- model_show_vpc_request.go
- model_show_vpc_response.go
- model_sub_network_interface.go
- model_sys_tag.go
- model_tag.go
- model_tag_entity.go
- model_traffic_mirror_filter.go
- model_traffic_mirror_filter_rule.go
- model_traffic_mirror_session.go
- model_traffic_mirror_sources_option.go
- model_update_address_group_option.go
- model_update_address_group_request.go
- model_update_address_group_request_body.go
- model_update_address_group_response.go
- model_update_clouddcn_subnet_option.go
- model_update_clouddcn_subnet_request.go
- model_update_clouddcn_subnet_request_body.go
- model_update_clouddcn_subnet_response.go
- model_update_firewall_option.go
- model_update_firewall_request.go
- model_update_firewall_request_body.go
- model_update_firewall_response.go
- model_update_firewall_rules_request.go
- model_update_firewall_rules_request_body.go
- model_update_firewall_rules_response.go
- model_update_security_group_option.go
- model_update_security_group_request.go
- model_update_security_group_request_body.go
- model_update_security_group_response.go
- model_update_sub_network_interface_option.go
- model_update_sub_network_interface_request.go
- model_update_sub_network_interface_request_body.go
- model_update_sub_network_interface_response.go
- model_update_traffic_mirror_filter_option.go
- model_update_traffic_mirror_filter_request.go
- model_update_traffic_mirror_filter_request_body.go
- model_update_traffic_mirror_filter_response.go
- model_update_traffic_mirror_filter_rule_option.go
- model_update_traffic_mirror_filter_rule_request.go
- model_update_traffic_mirror_filter_rule_request_body.go
- model_update_traffic_mirror_filter_rule_response.go
- model_update_traffic_mirror_session_option.go
- model_update_traffic_mirror_session_request.go
- model_update_traffic_mirror_session_request_body.go
- model_update_traffic_mirror_session_response.go
- model_update_vpc_option.go
- model_update_vpc_request.go
- model_update_vpc_request_body.go
- model_update_vpc_response.go
- model_vpc.go