Documentation ¶
Index ¶
- type AddIpPolicyRequest
- type AddIpPolicyResponse
- type AddLocationAttributeRequest
- type AddLocationAttributeResponse
- type AllocateIpSegmentRequest
- type AllocateIpSegmentResponse
- type Attribute
- type Attributes
- type BizLine
- type BizLineSet
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AddIpPolicy(request *AddIpPolicyRequest) (response *AddIpPolicyResponse, err error)
- func (client *Client) AddIpPolicyWithCallback(request *AddIpPolicyRequest, ...) <-chan int
- func (client *Client) AddIpPolicyWithChan(request *AddIpPolicyRequest) (<-chan *AddIpPolicyResponse, <-chan error)
- func (client *Client) AddLocationAttribute(request *AddLocationAttributeRequest) (response *AddLocationAttributeResponse, err error)
- func (client *Client) AddLocationAttributeWithCallback(request *AddLocationAttributeRequest, ...) <-chan int
- func (client *Client) AddLocationAttributeWithChan(request *AddLocationAttributeRequest) (<-chan *AddLocationAttributeResponse, <-chan error)
- func (client *Client) AllocateIpSegment(request *AllocateIpSegmentRequest) (response *AllocateIpSegmentResponse, err error)
- func (client *Client) AllocateIpSegmentWithCallback(request *AllocateIpSegmentRequest, ...) <-chan int
- func (client *Client) AllocateIpSegmentWithChan(request *AllocateIpSegmentRequest) (<-chan *AllocateIpSegmentResponse, <-chan error)
- func (client *Client) CreateBizLine(request *CreateBizLineRequest) (response *CreateBizLineResponse, err error)
- func (client *Client) CreateBizLineWithCallback(request *CreateBizLineRequest, ...) <-chan int
- func (client *Client) CreateBizLineWithChan(request *CreateBizLineRequest) (<-chan *CreateBizLineResponse, <-chan error)
- func (client *Client) CreateIpSegment(request *CreateIpSegmentRequest) (response *CreateIpSegmentResponse, err error)
- func (client *Client) CreateIpSegmentWithCallback(request *CreateIpSegmentRequest, ...) <-chan int
- func (client *Client) CreateIpSegmentWithChan(request *CreateIpSegmentRequest) (<-chan *CreateIpSegmentResponse, <-chan error)
- func (client *Client) CreateIpType(request *CreateIpTypeRequest) (response *CreateIpTypeResponse, err error)
- func (client *Client) CreateIpTypeWithCallback(request *CreateIpTypeRequest, ...) <-chan int
- func (client *Client) CreateIpTypeWithChan(request *CreateIpTypeRequest) (<-chan *CreateIpTypeResponse, <-chan error)
- func (client *Client) DeleteIpPolicy(request *DeleteIpPolicyRequest) (response *DeleteIpPolicyResponse, err error)
- func (client *Client) DeleteIpPolicyWithCallback(request *DeleteIpPolicyRequest, ...) <-chan int
- func (client *Client) DeleteIpPolicyWithChan(request *DeleteIpPolicyRequest) (<-chan *DeleteIpPolicyResponse, <-chan error)
- func (client *Client) DescribeBizLines(request *DescribeBizLinesRequest) (response *DescribeBizLinesResponse, err error)
- func (client *Client) DescribeBizLinesWithCallback(request *DescribeBizLinesRequest, ...) <-chan int
- func (client *Client) DescribeBizLinesWithChan(request *DescribeBizLinesRequest) (<-chan *DescribeBizLinesResponse, <-chan error)
- func (client *Client) DescribeIpSegments(request *DescribeIpSegmentsRequest) (response *DescribeIpSegmentsResponse, err error)
- func (client *Client) DescribeIpSegmentsWithCallback(request *DescribeIpSegmentsRequest, ...) <-chan int
- func (client *Client) DescribeIpSegmentsWithChan(request *DescribeIpSegmentsRequest) (<-chan *DescribeIpSegmentsResponse, <-chan error)
- func (client *Client) DescribeIpTypes(request *DescribeIpTypesRequest) (response *DescribeIpTypesResponse, err error)
- func (client *Client) DescribeIpTypesWithCallback(request *DescribeIpTypesRequest, ...) <-chan int
- func (client *Client) DescribeIpTypesWithChan(request *DescribeIpTypesRequest) (<-chan *DescribeIpTypesResponse, <-chan error)
- func (client *Client) DetailLocationAttribute(request *DetailLocationAttributeRequest) (response *DetailLocationAttributeResponse, err error)
- func (client *Client) DetailLocationAttributeWithCallback(request *DetailLocationAttributeRequest, ...) <-chan int
- func (client *Client) DetailLocationAttributeWithChan(request *DetailLocationAttributeRequest) (<-chan *DetailLocationAttributeResponse, <-chan error)
- func (client *Client) DetailNetCluster(request *DetailNetClusterRequest) (response *DetailNetClusterResponse, err error)
- func (client *Client) DetailNetClusterWithCallback(request *DetailNetClusterRequest, ...) <-chan int
- func (client *Client) DetailNetClusterWithChan(request *DetailNetClusterRequest) (<-chan *DetailNetClusterResponse, <-chan error)
- func (client *Client) FindIpAttribute(request *FindIpAttributeRequest) (response *FindIpAttributeResponse, err error)
- func (client *Client) FindIpAttributeWithCallback(request *FindIpAttributeRequest, ...) <-chan int
- func (client *Client) FindIpAttributeWithChan(request *FindIpAttributeRequest) (<-chan *FindIpAttributeResponse, <-chan error)
- func (client *Client) FindIpInfo(request *FindIpInfoRequest) (response *FindIpInfoResponse, err error)
- func (client *Client) FindIpInfoWithCallback(request *FindIpInfoRequest, ...) <-chan int
- func (client *Client) FindIpInfoWithChan(request *FindIpInfoRequest) (<-chan *FindIpInfoResponse, <-chan error)
- func (client *Client) ListLocationTree(request *ListLocationTreeRequest) (response *ListLocationTreeResponse, err error)
- func (client *Client) ListLocationTreeWithCallback(request *ListLocationTreeRequest, ...) <-chan int
- func (client *Client) ListLocationTreeWithChan(request *ListLocationTreeRequest) (<-chan *ListLocationTreeResponse, <-chan error)
- func (client *Client) MapIpSegment(request *MapIpSegmentRequest) (response *MapIpSegmentResponse, err error)
- func (client *Client) MapIpSegmentWithCallback(request *MapIpSegmentRequest, ...) <-chan int
- func (client *Client) MapIpSegmentWithChan(request *MapIpSegmentRequest) (<-chan *MapIpSegmentResponse, <-chan error)
- func (client *Client) QueryIpPolicy(request *QueryIpPolicyRequest) (response *QueryIpPolicyResponse, err error)
- func (client *Client) QueryIpPolicyWithCallback(request *QueryIpPolicyRequest, ...) <-chan int
- func (client *Client) QueryIpPolicyWithChan(request *QueryIpPolicyRequest) (<-chan *QueryIpPolicyResponse, <-chan error)
- func (client *Client) QueryIpSegmentByNodeType(request *QueryIpSegmentByNodeTypeRequest) (response *QueryIpSegmentByNodeTypeResponse, err error)
- func (client *Client) QueryIpSegmentByNodeTypeWithCallback(request *QueryIpSegmentByNodeTypeRequest, ...) <-chan int
- func (client *Client) QueryIpSegmentByNodeTypeWithChan(request *QueryIpSegmentByNodeTypeRequest) (<-chan *QueryIpSegmentByNodeTypeResponse, <-chan error)
- func (client *Client) QueryPreMappingIpSegments(request *QueryPreMappingIpSegmentsRequest) (response *QueryPreMappingIpSegmentsResponse, err error)
- func (client *Client) QueryPreMappingIpSegmentsWithCallback(request *QueryPreMappingIpSegmentsRequest, ...) <-chan int
- func (client *Client) QueryPreMappingIpSegmentsWithChan(request *QueryPreMappingIpSegmentsRequest) (<-chan *QueryPreMappingIpSegmentsResponse, <-chan error)
- type CreateBizLineRequest
- type CreateBizLineResponse
- type CreateIpSegmentRequest
- type CreateIpSegmentResponse
- type CreateIpTypeRequest
- type CreateIpTypeResponse
- type DeleteIpPolicyRequest
- type DeleteIpPolicyResponse
- type DescribeBizLinesRequest
- type DescribeBizLinesResponse
- type DescribeIpSegmentsRequest
- type DescribeIpSegmentsResponse
- type DescribeIpTypesRequest
- type DescribeIpTypesResponse
- type DetailLocationAttributeRequest
- type DetailLocationAttributeResponse
- type DetailNetClusterRequest
- type DetailNetClusterResponse
- type FindIpAttributeRequest
- type FindIpAttributeResponse
- type FindIpInfoRequest
- type FindIpInfoResponse
- type IpPolicies
- type IpPolicy
- type IpSegment
- type IpSegmentSet
- type IpSegmentsInDescribeIpSegments
- type IpSegmentsInQueryIpSegmentByNodeType
- type IpType
- type IpTypeSet
- type ListLocationTreeRequest
- type ListLocationTreeResponse
- type Location
- type Locations
- type MapIpSegmentRequest
- type MapIpSegmentResponse
- type QueryIpPolicyRequest
- type QueryIpPolicyResponse
- type QueryIpSegmentByNodeTypeRequest
- type QueryIpSegmentByNodeTypeResponse
- type QueryPreMappingIpSegmentsRequest
- type QueryPreMappingIpSegmentsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddIpPolicyRequest ¶
type AddIpPolicyRequest struct { *requests.RpcRequest PairValue string `position:"Query" name:"PairValue"` ActionTag requests.Integer `position:"Query" name:"ActionTag"` Description string `position:"Query" name:"Description"` Value string `position:"Query" name:"Value"` }
AddIpPolicyRequest is the request struct for api AddIpPolicy
func CreateAddIpPolicyRequest ¶
func CreateAddIpPolicyRequest() (request *AddIpPolicyRequest)
CreateAddIpPolicyRequest creates a request to invoke AddIpPolicy API
type AddIpPolicyResponse ¶
type AddIpPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
AddIpPolicyResponse is the response struct for api AddIpPolicy
func CreateAddIpPolicyResponse ¶
func CreateAddIpPolicyResponse() (response *AddIpPolicyResponse)
CreateAddIpPolicyResponse creates a response to parse from AddIpPolicy response
type AddLocationAttributeRequest ¶
type AddLocationAttributeRequest struct { *requests.RpcRequest LocationNo string `position:"Query" name:"LocationNo"` LocationType string `position:"Query" name:"LocationType"` Value string `position:"Query" name:"Value"` BizLine string `position:"Query" name:"BizLine"` Key string `position:"Query" name:"Key"` }
AddLocationAttributeRequest is the request struct for api AddLocationAttribute
func CreateAddLocationAttributeRequest ¶
func CreateAddLocationAttributeRequest() (request *AddLocationAttributeRequest)
CreateAddLocationAttributeRequest creates a request to invoke AddLocationAttribute API
type AddLocationAttributeResponse ¶
type AddLocationAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
AddLocationAttributeResponse is the response struct for api AddLocationAttribute
func CreateAddLocationAttributeResponse ¶
func CreateAddLocationAttributeResponse() (response *AddLocationAttributeResponse)
CreateAddLocationAttributeResponse creates a response to parse from AddLocationAttribute response
type AllocateIpSegmentRequest ¶
type AllocateIpSegmentRequest struct { *requests.RpcRequest LocationNo string `position:"Query" name:"LocationNo"` Submitter string `position:"Query" name:"Submitter"` Segment string `position:"Query" name:"Segment"` LocationType string `position:"Query" name:"LocationType"` IpType string `position:"Query" name:"IpType"` BizLine string `position:"Query" name:"BizLine"` }
AllocateIpSegmentRequest is the request struct for api AllocateIpSegment
func CreateAllocateIpSegmentRequest ¶
func CreateAllocateIpSegmentRequest() (request *AllocateIpSegmentRequest)
CreateAllocateIpSegmentRequest creates a request to invoke AllocateIpSegment API
type AllocateIpSegmentResponse ¶
type AllocateIpSegmentResponse struct { *responses.BaseResponse Id int64 `json:"Id" xml:"Id"` RequestId string `json:"RequestId" xml:"RequestId"` }
AllocateIpSegmentResponse is the response struct for api AllocateIpSegment
func CreateAllocateIpSegmentResponse ¶
func CreateAllocateIpSegmentResponse() (response *AllocateIpSegmentResponse)
CreateAllocateIpSegmentResponse creates a response to parse from AllocateIpSegment response
type Attribute ¶
type Attribute struct { Key string `json:"Key" xml:"Key"` RelationType string `json:"RelationType" xml:"RelationType"` Value string `json:"Value" xml:"Value"` LocationType string `json:"LocationType" xml:"LocationType"` BizLine string `json:"BizLine" xml:"BizLine"` LocationId int64 `json:"LocationId" xml:"LocationId"` LocationNo string `json:"LocationNo" xml:"LocationNo"` Id int64 `json:"Id" xml:"Id"` }
Attribute is a nested struct in biz_ipdb response
type Attributes ¶
type Attributes struct {
Attribute []Attribute `json:"Attribute" xml:"Attribute"`
}
Attributes is a nested struct in biz_ipdb response
type BizLine ¶
type BizLine struct { CnName string `json:"CnName" xml:"CnName"` BizLine string `json:"BizLine" xml:"BizLine"` EnName string `json:"EnName" xml:"EnName"` Id int64 `json:"Id" xml:"Id"` }
BizLine is a nested struct in biz_ipdb response
type BizLineSet ¶
type BizLineSet struct {
BizLine []BizLine `json:"BizLine" xml:"BizLine"`
}
BizLineSet is a nested struct in biz_ipdb response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AddIpPolicy ¶
func (client *Client) AddIpPolicy(request *AddIpPolicyRequest) (response *AddIpPolicyResponse, err error)
AddIpPolicy invokes the biz_ipdb.AddIpPolicy API synchronously
func (*Client) AddIpPolicyWithCallback ¶
func (client *Client) AddIpPolicyWithCallback(request *AddIpPolicyRequest, callback func(response *AddIpPolicyResponse, err error)) <-chan int
AddIpPolicyWithCallback invokes the biz_ipdb.AddIpPolicy API asynchronously
func (*Client) AddIpPolicyWithChan ¶
func (client *Client) AddIpPolicyWithChan(request *AddIpPolicyRequest) (<-chan *AddIpPolicyResponse, <-chan error)
AddIpPolicyWithChan invokes the biz_ipdb.AddIpPolicy API asynchronously
func (*Client) AddLocationAttribute ¶
func (client *Client) AddLocationAttribute(request *AddLocationAttributeRequest) (response *AddLocationAttributeResponse, err error)
AddLocationAttribute invokes the biz_ipdb.AddLocationAttribute API synchronously
func (*Client) AddLocationAttributeWithCallback ¶
func (client *Client) AddLocationAttributeWithCallback(request *AddLocationAttributeRequest, callback func(response *AddLocationAttributeResponse, err error)) <-chan int
AddLocationAttributeWithCallback invokes the biz_ipdb.AddLocationAttribute API asynchronously
func (*Client) AddLocationAttributeWithChan ¶
func (client *Client) AddLocationAttributeWithChan(request *AddLocationAttributeRequest) (<-chan *AddLocationAttributeResponse, <-chan error)
AddLocationAttributeWithChan invokes the biz_ipdb.AddLocationAttribute API asynchronously
func (*Client) AllocateIpSegment ¶
func (client *Client) AllocateIpSegment(request *AllocateIpSegmentRequest) (response *AllocateIpSegmentResponse, err error)
AllocateIpSegment invokes the biz_ipdb.AllocateIpSegment API synchronously
func (*Client) AllocateIpSegmentWithCallback ¶
func (client *Client) AllocateIpSegmentWithCallback(request *AllocateIpSegmentRequest, callback func(response *AllocateIpSegmentResponse, err error)) <-chan int
AllocateIpSegmentWithCallback invokes the biz_ipdb.AllocateIpSegment API asynchronously
func (*Client) AllocateIpSegmentWithChan ¶
func (client *Client) AllocateIpSegmentWithChan(request *AllocateIpSegmentRequest) (<-chan *AllocateIpSegmentResponse, <-chan error)
AllocateIpSegmentWithChan invokes the biz_ipdb.AllocateIpSegment API asynchronously
func (*Client) CreateBizLine ¶
func (client *Client) CreateBizLine(request *CreateBizLineRequest) (response *CreateBizLineResponse, err error)
CreateBizLine invokes the biz_ipdb.CreateBizLine API synchronously
func (*Client) CreateBizLineWithCallback ¶
func (client *Client) CreateBizLineWithCallback(request *CreateBizLineRequest, callback func(response *CreateBizLineResponse, err error)) <-chan int
CreateBizLineWithCallback invokes the biz_ipdb.CreateBizLine API asynchronously
func (*Client) CreateBizLineWithChan ¶
func (client *Client) CreateBizLineWithChan(request *CreateBizLineRequest) (<-chan *CreateBizLineResponse, <-chan error)
CreateBizLineWithChan invokes the biz_ipdb.CreateBizLine API asynchronously
func (*Client) CreateIpSegment ¶
func (client *Client) CreateIpSegment(request *CreateIpSegmentRequest) (response *CreateIpSegmentResponse, err error)
CreateIpSegment invokes the biz_ipdb.CreateIpSegment API synchronously
func (*Client) CreateIpSegmentWithCallback ¶
func (client *Client) CreateIpSegmentWithCallback(request *CreateIpSegmentRequest, callback func(response *CreateIpSegmentResponse, err error)) <-chan int
CreateIpSegmentWithCallback invokes the biz_ipdb.CreateIpSegment API asynchronously
func (*Client) CreateIpSegmentWithChan ¶
func (client *Client) CreateIpSegmentWithChan(request *CreateIpSegmentRequest) (<-chan *CreateIpSegmentResponse, <-chan error)
CreateIpSegmentWithChan invokes the biz_ipdb.CreateIpSegment API asynchronously
func (*Client) CreateIpType ¶
func (client *Client) CreateIpType(request *CreateIpTypeRequest) (response *CreateIpTypeResponse, err error)
CreateIpType invokes the biz_ipdb.CreateIpType API synchronously
func (*Client) CreateIpTypeWithCallback ¶
func (client *Client) CreateIpTypeWithCallback(request *CreateIpTypeRequest, callback func(response *CreateIpTypeResponse, err error)) <-chan int
CreateIpTypeWithCallback invokes the biz_ipdb.CreateIpType API asynchronously
func (*Client) CreateIpTypeWithChan ¶
func (client *Client) CreateIpTypeWithChan(request *CreateIpTypeRequest) (<-chan *CreateIpTypeResponse, <-chan error)
CreateIpTypeWithChan invokes the biz_ipdb.CreateIpType API asynchronously
func (*Client) DeleteIpPolicy ¶
func (client *Client) DeleteIpPolicy(request *DeleteIpPolicyRequest) (response *DeleteIpPolicyResponse, err error)
DeleteIpPolicy invokes the biz_ipdb.DeleteIpPolicy API synchronously
func (*Client) DeleteIpPolicyWithCallback ¶
func (client *Client) DeleteIpPolicyWithCallback(request *DeleteIpPolicyRequest, callback func(response *DeleteIpPolicyResponse, err error)) <-chan int
DeleteIpPolicyWithCallback invokes the biz_ipdb.DeleteIpPolicy API asynchronously
func (*Client) DeleteIpPolicyWithChan ¶
func (client *Client) DeleteIpPolicyWithChan(request *DeleteIpPolicyRequest) (<-chan *DeleteIpPolicyResponse, <-chan error)
DeleteIpPolicyWithChan invokes the biz_ipdb.DeleteIpPolicy API asynchronously
func (*Client) DescribeBizLines ¶
func (client *Client) DescribeBizLines(request *DescribeBizLinesRequest) (response *DescribeBizLinesResponse, err error)
DescribeBizLines invokes the biz_ipdb.DescribeBizLines API synchronously
func (*Client) DescribeBizLinesWithCallback ¶
func (client *Client) DescribeBizLinesWithCallback(request *DescribeBizLinesRequest, callback func(response *DescribeBizLinesResponse, err error)) <-chan int
DescribeBizLinesWithCallback invokes the biz_ipdb.DescribeBizLines API asynchronously
func (*Client) DescribeBizLinesWithChan ¶
func (client *Client) DescribeBizLinesWithChan(request *DescribeBizLinesRequest) (<-chan *DescribeBizLinesResponse, <-chan error)
DescribeBizLinesWithChan invokes the biz_ipdb.DescribeBizLines API asynchronously
func (*Client) DescribeIpSegments ¶
func (client *Client) DescribeIpSegments(request *DescribeIpSegmentsRequest) (response *DescribeIpSegmentsResponse, err error)
DescribeIpSegments invokes the biz_ipdb.DescribeIpSegments API synchronously
func (*Client) DescribeIpSegmentsWithCallback ¶
func (client *Client) DescribeIpSegmentsWithCallback(request *DescribeIpSegmentsRequest, callback func(response *DescribeIpSegmentsResponse, err error)) <-chan int
DescribeIpSegmentsWithCallback invokes the biz_ipdb.DescribeIpSegments API asynchronously
func (*Client) DescribeIpSegmentsWithChan ¶
func (client *Client) DescribeIpSegmentsWithChan(request *DescribeIpSegmentsRequest) (<-chan *DescribeIpSegmentsResponse, <-chan error)
DescribeIpSegmentsWithChan invokes the biz_ipdb.DescribeIpSegments API asynchronously
func (*Client) DescribeIpTypes ¶
func (client *Client) DescribeIpTypes(request *DescribeIpTypesRequest) (response *DescribeIpTypesResponse, err error)
DescribeIpTypes invokes the biz_ipdb.DescribeIpTypes API synchronously
func (*Client) DescribeIpTypesWithCallback ¶
func (client *Client) DescribeIpTypesWithCallback(request *DescribeIpTypesRequest, callback func(response *DescribeIpTypesResponse, err error)) <-chan int
DescribeIpTypesWithCallback invokes the biz_ipdb.DescribeIpTypes API asynchronously
func (*Client) DescribeIpTypesWithChan ¶
func (client *Client) DescribeIpTypesWithChan(request *DescribeIpTypesRequest) (<-chan *DescribeIpTypesResponse, <-chan error)
DescribeIpTypesWithChan invokes the biz_ipdb.DescribeIpTypes API asynchronously
func (*Client) DetailLocationAttribute ¶
func (client *Client) DetailLocationAttribute(request *DetailLocationAttributeRequest) (response *DetailLocationAttributeResponse, err error)
DetailLocationAttribute invokes the biz_ipdb.DetailLocationAttribute API synchronously
func (*Client) DetailLocationAttributeWithCallback ¶
func (client *Client) DetailLocationAttributeWithCallback(request *DetailLocationAttributeRequest, callback func(response *DetailLocationAttributeResponse, err error)) <-chan int
DetailLocationAttributeWithCallback invokes the biz_ipdb.DetailLocationAttribute API asynchronously
func (*Client) DetailLocationAttributeWithChan ¶
func (client *Client) DetailLocationAttributeWithChan(request *DetailLocationAttributeRequest) (<-chan *DetailLocationAttributeResponse, <-chan error)
DetailLocationAttributeWithChan invokes the biz_ipdb.DetailLocationAttribute API asynchronously
func (*Client) DetailNetCluster ¶
func (client *Client) DetailNetCluster(request *DetailNetClusterRequest) (response *DetailNetClusterResponse, err error)
DetailNetCluster invokes the biz_ipdb.DetailNetCluster API synchronously
func (*Client) DetailNetClusterWithCallback ¶
func (client *Client) DetailNetClusterWithCallback(request *DetailNetClusterRequest, callback func(response *DetailNetClusterResponse, err error)) <-chan int
DetailNetClusterWithCallback invokes the biz_ipdb.DetailNetCluster API asynchronously
func (*Client) DetailNetClusterWithChan ¶
func (client *Client) DetailNetClusterWithChan(request *DetailNetClusterRequest) (<-chan *DetailNetClusterResponse, <-chan error)
DetailNetClusterWithChan invokes the biz_ipdb.DetailNetCluster API asynchronously
func (*Client) FindIpAttribute ¶
func (client *Client) FindIpAttribute(request *FindIpAttributeRequest) (response *FindIpAttributeResponse, err error)
FindIpAttribute invokes the biz_ipdb.FindIpAttribute API synchronously
func (*Client) FindIpAttributeWithCallback ¶
func (client *Client) FindIpAttributeWithCallback(request *FindIpAttributeRequest, callback func(response *FindIpAttributeResponse, err error)) <-chan int
FindIpAttributeWithCallback invokes the biz_ipdb.FindIpAttribute API asynchronously
func (*Client) FindIpAttributeWithChan ¶
func (client *Client) FindIpAttributeWithChan(request *FindIpAttributeRequest) (<-chan *FindIpAttributeResponse, <-chan error)
FindIpAttributeWithChan invokes the biz_ipdb.FindIpAttribute API asynchronously
func (*Client) FindIpInfo ¶
func (client *Client) FindIpInfo(request *FindIpInfoRequest) (response *FindIpInfoResponse, err error)
FindIpInfo invokes the biz_ipdb.FindIpInfo API synchronously
func (*Client) FindIpInfoWithCallback ¶
func (client *Client) FindIpInfoWithCallback(request *FindIpInfoRequest, callback func(response *FindIpInfoResponse, err error)) <-chan int
FindIpInfoWithCallback invokes the biz_ipdb.FindIpInfo API asynchronously
func (*Client) FindIpInfoWithChan ¶
func (client *Client) FindIpInfoWithChan(request *FindIpInfoRequest) (<-chan *FindIpInfoResponse, <-chan error)
FindIpInfoWithChan invokes the biz_ipdb.FindIpInfo API asynchronously
func (*Client) ListLocationTree ¶
func (client *Client) ListLocationTree(request *ListLocationTreeRequest) (response *ListLocationTreeResponse, err error)
ListLocationTree invokes the biz_ipdb.ListLocationTree API synchronously
func (*Client) ListLocationTreeWithCallback ¶
func (client *Client) ListLocationTreeWithCallback(request *ListLocationTreeRequest, callback func(response *ListLocationTreeResponse, err error)) <-chan int
ListLocationTreeWithCallback invokes the biz_ipdb.ListLocationTree API asynchronously
func (*Client) ListLocationTreeWithChan ¶
func (client *Client) ListLocationTreeWithChan(request *ListLocationTreeRequest) (<-chan *ListLocationTreeResponse, <-chan error)
ListLocationTreeWithChan invokes the biz_ipdb.ListLocationTree API asynchronously
func (*Client) MapIpSegment ¶
func (client *Client) MapIpSegment(request *MapIpSegmentRequest) (response *MapIpSegmentResponse, err error)
MapIpSegment invokes the biz_ipdb.MapIpSegment API synchronously
func (*Client) MapIpSegmentWithCallback ¶
func (client *Client) MapIpSegmentWithCallback(request *MapIpSegmentRequest, callback func(response *MapIpSegmentResponse, err error)) <-chan int
MapIpSegmentWithCallback invokes the biz_ipdb.MapIpSegment API asynchronously
func (*Client) MapIpSegmentWithChan ¶
func (client *Client) MapIpSegmentWithChan(request *MapIpSegmentRequest) (<-chan *MapIpSegmentResponse, <-chan error)
MapIpSegmentWithChan invokes the biz_ipdb.MapIpSegment API asynchronously
func (*Client) QueryIpPolicy ¶
func (client *Client) QueryIpPolicy(request *QueryIpPolicyRequest) (response *QueryIpPolicyResponse, err error)
QueryIpPolicy invokes the biz_ipdb.QueryIpPolicy API synchronously
func (*Client) QueryIpPolicyWithCallback ¶
func (client *Client) QueryIpPolicyWithCallback(request *QueryIpPolicyRequest, callback func(response *QueryIpPolicyResponse, err error)) <-chan int
QueryIpPolicyWithCallback invokes the biz_ipdb.QueryIpPolicy API asynchronously
func (*Client) QueryIpPolicyWithChan ¶
func (client *Client) QueryIpPolicyWithChan(request *QueryIpPolicyRequest) (<-chan *QueryIpPolicyResponse, <-chan error)
QueryIpPolicyWithChan invokes the biz_ipdb.QueryIpPolicy API asynchronously
func (*Client) QueryIpSegmentByNodeType ¶
func (client *Client) QueryIpSegmentByNodeType(request *QueryIpSegmentByNodeTypeRequest) (response *QueryIpSegmentByNodeTypeResponse, err error)
QueryIpSegmentByNodeType invokes the biz_ipdb.QueryIpSegmentByNodeType API synchronously
func (*Client) QueryIpSegmentByNodeTypeWithCallback ¶
func (client *Client) QueryIpSegmentByNodeTypeWithCallback(request *QueryIpSegmentByNodeTypeRequest, callback func(response *QueryIpSegmentByNodeTypeResponse, err error)) <-chan int
QueryIpSegmentByNodeTypeWithCallback invokes the biz_ipdb.QueryIpSegmentByNodeType API asynchronously
func (*Client) QueryIpSegmentByNodeTypeWithChan ¶
func (client *Client) QueryIpSegmentByNodeTypeWithChan(request *QueryIpSegmentByNodeTypeRequest) (<-chan *QueryIpSegmentByNodeTypeResponse, <-chan error)
QueryIpSegmentByNodeTypeWithChan invokes the biz_ipdb.QueryIpSegmentByNodeType API asynchronously
func (*Client) QueryPreMappingIpSegments ¶
func (client *Client) QueryPreMappingIpSegments(request *QueryPreMappingIpSegmentsRequest) (response *QueryPreMappingIpSegmentsResponse, err error)
QueryPreMappingIpSegments invokes the biz_ipdb.QueryPreMappingIpSegments API synchronously
func (*Client) QueryPreMappingIpSegmentsWithCallback ¶
func (client *Client) QueryPreMappingIpSegmentsWithCallback(request *QueryPreMappingIpSegmentsRequest, callback func(response *QueryPreMappingIpSegmentsResponse, err error)) <-chan int
QueryPreMappingIpSegmentsWithCallback invokes the biz_ipdb.QueryPreMappingIpSegments API asynchronously
func (*Client) QueryPreMappingIpSegmentsWithChan ¶
func (client *Client) QueryPreMappingIpSegmentsWithChan(request *QueryPreMappingIpSegmentsRequest) (<-chan *QueryPreMappingIpSegmentsResponse, <-chan error)
QueryPreMappingIpSegmentsWithChan invokes the biz_ipdb.QueryPreMappingIpSegments API asynchronously
type CreateBizLineRequest ¶
type CreateBizLineRequest struct { *requests.RpcRequest Partner requests.Boolean `position:"Query" name:"Partner"` CnName string `position:"Query" name:"CnName"` BizLine string `position:"Query" name:"BizLine"` EnName string `position:"Query" name:"EnName"` }
CreateBizLineRequest is the request struct for api CreateBizLine
func CreateCreateBizLineRequest ¶
func CreateCreateBizLineRequest() (request *CreateBizLineRequest)
CreateCreateBizLineRequest creates a request to invoke CreateBizLine API
type CreateBizLineResponse ¶
type CreateBizLineResponse struct { *responses.BaseResponse Id int64 `json:"Id" xml:"Id"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateBizLineResponse is the response struct for api CreateBizLine
func CreateCreateBizLineResponse ¶
func CreateCreateBizLineResponse() (response *CreateBizLineResponse)
CreateCreateBizLineResponse creates a response to parse from CreateBizLine response
type CreateIpSegmentRequest ¶
type CreateIpSegmentRequest struct { *requests.RpcRequest Cluster string `position:"Query" name:"Cluster"` Pod string `position:"Query" name:"Pod"` Description string `position:"Query" name:"Description"` IpType string `position:"Query" name:"IpType"` House string `position:"Query" name:"House"` ThirdParty requests.Boolean `position:"Query" name:"ThirdParty"` Vlan string `position:"Query" name:"Vlan"` LocationId string `position:"Query" name:"LocationId"` Force requests.Boolean `position:"Query" name:"Force"` Id requests.Integer `position:"Query" name:"Id"` Value string `position:"Query" name:"Value"` BizLine string `position:"Query" name:"BizLine"` }
CreateIpSegmentRequest is the request struct for api CreateIpSegment
func CreateCreateIpSegmentRequest ¶
func CreateCreateIpSegmentRequest() (request *CreateIpSegmentRequest)
CreateCreateIpSegmentRequest creates a request to invoke CreateIpSegment API
type CreateIpSegmentResponse ¶
type CreateIpSegmentResponse struct { *responses.BaseResponse Id int64 `json:"Id" xml:"Id"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateIpSegmentResponse is the response struct for api CreateIpSegment
func CreateCreateIpSegmentResponse ¶
func CreateCreateIpSegmentResponse() (response *CreateIpSegmentResponse)
CreateCreateIpSegmentResponse creates a response to parse from CreateIpSegment response
type CreateIpTypeRequest ¶
type CreateIpTypeRequest struct { *requests.RpcRequest NetIpType string `position:"Query" name:"NetIpType"` NodeType string `position:"Query" name:"NodeType"` IpPublic requests.Boolean `position:"Query" name:"IpPublic"` CheckPod requests.Boolean `position:"Query" name:"CheckPod"` Description string `position:"Query" name:"Description"` IpType string `position:"Query" name:"IpType"` SysOwner string `position:"Query" name:"SysOwner"` BizLine string `position:"Query" name:"BizLine"` }
CreateIpTypeRequest is the request struct for api CreateIpType
func CreateCreateIpTypeRequest ¶
func CreateCreateIpTypeRequest() (request *CreateIpTypeRequest)
CreateCreateIpTypeRequest creates a request to invoke CreateIpType API
type CreateIpTypeResponse ¶
type CreateIpTypeResponse struct { *responses.BaseResponse Id int64 `json:"Id" xml:"Id"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateIpTypeResponse is the response struct for api CreateIpType
func CreateCreateIpTypeResponse ¶
func CreateCreateIpTypeResponse() (response *CreateIpTypeResponse)
CreateCreateIpTypeResponse creates a response to parse from CreateIpType response
type DeleteIpPolicyRequest ¶
type DeleteIpPolicyRequest struct { *requests.RpcRequest PolicyId requests.Integer `position:"Query" name:"PolicyId"` }
DeleteIpPolicyRequest is the request struct for api DeleteIpPolicy
func CreateDeleteIpPolicyRequest ¶
func CreateDeleteIpPolicyRequest() (request *DeleteIpPolicyRequest)
CreateDeleteIpPolicyRequest creates a request to invoke DeleteIpPolicy API
type DeleteIpPolicyResponse ¶
type DeleteIpPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteIpPolicyResponse is the response struct for api DeleteIpPolicy
func CreateDeleteIpPolicyResponse ¶
func CreateDeleteIpPolicyResponse() (response *DeleteIpPolicyResponse)
CreateDeleteIpPolicyResponse creates a response to parse from DeleteIpPolicy response
type DescribeBizLinesRequest ¶
type DescribeBizLinesRequest struct { *requests.RpcRequest BizLine string `position:"Query" name:"BizLine"` }
DescribeBizLinesRequest is the request struct for api DescribeBizLines
func CreateDescribeBizLinesRequest ¶
func CreateDescribeBizLinesRequest() (request *DescribeBizLinesRequest)
CreateDescribeBizLinesRequest creates a request to invoke DescribeBizLines API
type DescribeBizLinesResponse ¶
type DescribeBizLinesResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` BizLineSet BizLineSet `json:"BizLineSet" xml:"BizLineSet"` }
DescribeBizLinesResponse is the response struct for api DescribeBizLines
func CreateDescribeBizLinesResponse ¶
func CreateDescribeBizLinesResponse() (response *DescribeBizLinesResponse)
CreateDescribeBizLinesResponse creates a response to parse from DescribeBizLines response
type DescribeIpSegmentsRequest ¶
type DescribeIpSegmentsRequest struct { *requests.RpcRequest PageSize string `position:"Query" name:"PageSize"` BizLine string `position:"Query" name:"BizLine"` PageNumber string `position:"Query" name:"PageNumber"` NetworkScope string `position:"Query" name:"NetworkScope"` RegionNo string `position:"Query" name:"RegionNo"` }
DescribeIpSegmentsRequest is the request struct for api DescribeIpSegments
func CreateDescribeIpSegmentsRequest ¶
func CreateDescribeIpSegmentsRequest() (request *DescribeIpSegmentsRequest)
CreateDescribeIpSegmentsRequest creates a request to invoke DescribeIpSegments API
type DescribeIpSegmentsResponse ¶
type DescribeIpSegmentsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` IpSegments IpSegmentsInDescribeIpSegments `json:"IpSegments" xml:"IpSegments"` }
DescribeIpSegmentsResponse is the response struct for api DescribeIpSegments
func CreateDescribeIpSegmentsResponse ¶
func CreateDescribeIpSegmentsResponse() (response *DescribeIpSegmentsResponse)
CreateDescribeIpSegmentsResponse creates a response to parse from DescribeIpSegments response
type DescribeIpTypesRequest ¶
type DescribeIpTypesRequest struct { *requests.RpcRequest BizLine string `position:"Query" name:"BizLine"` }
DescribeIpTypesRequest is the request struct for api DescribeIpTypes
func CreateDescribeIpTypesRequest ¶
func CreateDescribeIpTypesRequest() (request *DescribeIpTypesRequest)
CreateDescribeIpTypesRequest creates a request to invoke DescribeIpTypes API
type DescribeIpTypesResponse ¶
type DescribeIpTypesResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` IpTypeSet IpTypeSet `json:"IpTypeSet" xml:"IpTypeSet"` }
DescribeIpTypesResponse is the response struct for api DescribeIpTypes
func CreateDescribeIpTypesResponse ¶
func CreateDescribeIpTypesResponse() (response *DescribeIpTypesResponse)
CreateDescribeIpTypesResponse creates a response to parse from DescribeIpTypes response
type DetailLocationAttributeRequest ¶
type DetailLocationAttributeRequest struct { *requests.RpcRequest LocationId requests.Integer `position:"Query" name:"LocationId"` }
DetailLocationAttributeRequest is the request struct for api DetailLocationAttribute
func CreateDetailLocationAttributeRequest ¶
func CreateDetailLocationAttributeRequest() (request *DetailLocationAttributeRequest)
CreateDetailLocationAttributeRequest creates a request to invoke DetailLocationAttribute API
type DetailLocationAttributeResponse ¶
type DetailLocationAttributeResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` Attributes Attributes `json:"Attributes" xml:"Attributes"` }
DetailLocationAttributeResponse is the response struct for api DetailLocationAttribute
func CreateDetailLocationAttributeResponse ¶
func CreateDetailLocationAttributeResponse() (response *DetailLocationAttributeResponse)
CreateDetailLocationAttributeResponse creates a response to parse from DetailLocationAttribute response
type DetailNetClusterRequest ¶
type DetailNetClusterRequest struct { *requests.RpcRequest LocationNo string `position:"Query" name:"LocationNo"` LocationId requests.Integer `position:"Query" name:"LocationId"` LocationType string `position:"Query" name:"LocationType"` BizLine string `position:"Query" name:"BizLine"` }
DetailNetClusterRequest is the request struct for api DetailNetCluster
func CreateDetailNetClusterRequest ¶
func CreateDetailNetClusterRequest() (request *DetailNetClusterRequest)
CreateDetailNetClusterRequest creates a request to invoke DetailNetCluster API
type DetailNetClusterResponse ¶
type DetailNetClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` LocationType string `json:"LocationType" xml:"LocationType"` BizLine string `json:"BizLine" xml:"BizLine"` LocationId int64 `json:"LocationId" xml:"LocationId"` LocationNo string `json:"LocationNo" xml:"LocationNo"` Clusters string `json:"Clusters" xml:"Clusters"` LogicPod string `json:"LogicPod" xml:"LogicPod"` Id int64 `json:"Id" xml:"Id"` }
DetailNetClusterResponse is the response struct for api DetailNetCluster
func CreateDetailNetClusterResponse ¶
func CreateDetailNetClusterResponse() (response *DetailNetClusterResponse)
CreateDetailNetClusterResponse creates a response to parse from DetailNetCluster response
type FindIpAttributeRequest ¶
type FindIpAttributeRequest struct { *requests.RpcRequest Ip string `position:"Query" name:"Ip"` }
FindIpAttributeRequest is the request struct for api FindIpAttribute
func CreateFindIpAttributeRequest ¶
func CreateFindIpAttributeRequest() (request *FindIpAttributeRequest)
CreateFindIpAttributeRequest creates a request to invoke FindIpAttribute API
type FindIpAttributeResponse ¶
type FindIpAttributeResponse struct { *responses.BaseResponse Pod string `json:"Pod" xml:"Pod"` HighIp string `json:"HighIp" xml:"HighIp"` Cluster string `json:"Cluster" xml:"Cluster"` Gateway string `json:"Gateway" xml:"Gateway"` SysOwner string `json:"SysOwner" xml:"SysOwner"` LowIp string `json:"LowIp" xml:"LowIp"` Vlan string `json:"Vlan" xml:"Vlan"` RegionId string `json:"RegionId" xml:"RegionId"` Value string `json:"Value" xml:"Value"` IpType string `json:"IpType" xml:"IpType"` RequestId string `json:"RequestId" xml:"RequestId"` IpPublic bool `json:"IpPublic" xml:"IpPublic"` BizLine string `json:"BizLine" xml:"BizLine"` HighIpNumber int64 `json:"HighIpNumber" xml:"HighIpNumber"` Attributes map[string]interface{} `json:"Attributes" xml:"Attributes"` LocationId string `json:"LocationId" xml:"LocationId"` LowIpNumber int64 `json:"LowIpNumber" xml:"LowIpNumber"` }
FindIpAttributeResponse is the response struct for api FindIpAttribute
func CreateFindIpAttributeResponse ¶
func CreateFindIpAttributeResponse() (response *FindIpAttributeResponse)
CreateFindIpAttributeResponse creates a response to parse from FindIpAttribute response
type FindIpInfoRequest ¶
type FindIpInfoRequest struct { *requests.RpcRequest Ip string `position:"Query" name:"Ip"` }
FindIpInfoRequest is the request struct for api FindIpInfo
func CreateFindIpInfoRequest ¶
func CreateFindIpInfoRequest() (request *FindIpInfoRequest)
CreateFindIpInfoRequest creates a request to invoke FindIpInfo API
type FindIpInfoResponse ¶
type FindIpInfoResponse struct { *responses.BaseResponse Pod string `json:"Pod" xml:"Pod"` HighIp string `json:"HighIp" xml:"HighIp"` Cluster string `json:"Cluster" xml:"Cluster"` Gateway string `json:"Gateway" xml:"Gateway"` SysOwner string `json:"SysOwner" xml:"SysOwner"` LowIp string `json:"LowIp" xml:"LowIp"` Vlan string `json:"Vlan" xml:"Vlan"` RegionId string `json:"RegionId" xml:"RegionId"` IpType string `json:"IpType" xml:"IpType"` Value string `json:"Value" xml:"Value"` RequestId string `json:"RequestId" xml:"RequestId"` IpPublic bool `json:"IpPublic" xml:"IpPublic"` BizLine string `json:"BizLine" xml:"BizLine"` HighIpNumber int64 `json:"HighIpNumber" xml:"HighIpNumber"` LocationId string `json:"LocationId" xml:"LocationId"` LowIpNumber int64 `json:"LowIpNumber" xml:"LowIpNumber"` }
FindIpInfoResponse is the response struct for api FindIpInfo
func CreateFindIpInfoResponse ¶
func CreateFindIpInfoResponse() (response *FindIpInfoResponse)
CreateFindIpInfoResponse creates a response to parse from FindIpInfo response
type IpPolicies ¶
type IpPolicies struct {
IpPolicy []IpPolicy `json:"IpPolicy" xml:"IpPolicy"`
}
IpPolicies is a nested struct in biz_ipdb response
type IpPolicy ¶
type IpPolicy struct { PairValue string `json:"PairValue" xml:"PairValue"` Value string `json:"Value" xml:"Value"` PolicyId int64 `json:"PolicyId" xml:"PolicyId"` Description string `json:"Description" xml:"Description"` ActionTag int `json:"ActionTag" xml:"ActionTag"` }
IpPolicy is a nested struct in biz_ipdb response
type IpSegment ¶
type IpSegment struct { HighIpNumber int64 `json:"HighIpNumber" xml:"HighIpNumber"` BizLine string `json:"BizLine" xml:"BizLine"` LocationId string `json:"LocationId" xml:"LocationId"` GmtCreate string `json:"GmtCreate" xml:"GmtCreate"` RegionId string `json:"RegionId" xml:"RegionId"` Vlan string `json:"Vlan" xml:"Vlan"` GmtModify string `json:"GmtModify" xml:"GmtModify"` SysOwner string `json:"SysOwner" xml:"SysOwner"` Gateway string `json:"Gateway" xml:"Gateway"` Pod string `json:"Pod" xml:"Pod"` Description string `json:"Description" xml:"Description"` Deleted bool `json:"deleted" xml:"deleted"` Id int64 `json:"Id" xml:"Id"` Status string `json:"status" xml:"status"` IpType string `json:"IpType" xml:"IpType"` Cluster string `json:"Cluster" xml:"Cluster"` House string `json:"House" xml:"House"` Value string `json:"Value" xml:"Value"` AopsId string `json:"AopsId" xml:"AopsId"` IpSegment string `json:"IpSegment" xml:"IpSegment"` LowIpNumber int64 `json:"LowIpNumber" xml:"LowIpNumber"` Confirmed bool `json:"Confirmed" xml:"Confirmed"` ThirdParty bool `json:"ThirdParty" xml:"ThirdParty"` IpPublic bool `json:"IpPublic" xml:"IpPublic"` AzId string `json:"AzId" xml:"AzId"` IsPublic bool `json:"IsPublic" xml:"IsPublic"` }
IpSegment is a nested struct in biz_ipdb response
type IpSegmentSet ¶
type IpSegmentSet struct {
IpSegment []IpSegment `json:"IpSegment" xml:"IpSegment"`
}
IpSegmentSet is a nested struct in biz_ipdb response
type IpSegmentsInDescribeIpSegments ¶
type IpSegmentsInDescribeIpSegments struct {
IpSegment []IpSegment `json:"IpSegment" xml:"IpSegment"`
}
IpSegmentsInDescribeIpSegments is a nested struct in biz_ipdb response
type IpSegmentsInQueryIpSegmentByNodeType ¶
type IpSegmentsInQueryIpSegmentByNodeType struct {
IpSegment []IpSegment `json:"IpSegment" xml:"IpSegment"`
}
IpSegmentsInQueryIpSegmentByNodeType is a nested struct in biz_ipdb response
type IpType ¶
type IpType struct { IpType string `json:"IpType" xml:"IpType"` NodeType string `json:"NodeType" xml:"NodeType"` Description string `json:"Description" xml:"Description"` IpPublic bool `json:"IpPublic" xml:"IpPublic"` BizLine string `json:"BizLine" xml:"BizLine"` CheckPod bool `json:"CheckPod" xml:"CheckPod"` Id int64 `json:"Id" xml:"Id"` }
IpType is a nested struct in biz_ipdb response
type IpTypeSet ¶
type IpTypeSet struct {
IpType []IpType `json:"IpType" xml:"IpType"`
}
IpTypeSet is a nested struct in biz_ipdb response
type ListLocationTreeRequest ¶
type ListLocationTreeRequest struct { *requests.RpcRequest BizLine string `position:"Query" name:"BizLine"` }
ListLocationTreeRequest is the request struct for api ListLocationTree
func CreateListLocationTreeRequest ¶
func CreateListLocationTreeRequest() (request *ListLocationTreeRequest)
CreateListLocationTreeRequest creates a request to invoke ListLocationTree API
type ListLocationTreeResponse ¶
type ListLocationTreeResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` RequestId string `json:"RequestId" xml:"RequestId"` Locations Locations `json:"Locations" xml:"Locations"` }
ListLocationTreeResponse is the response struct for api ListLocationTree
func CreateListLocationTreeResponse ¶
func CreateListLocationTreeResponse() (response *ListLocationTreeResponse)
CreateListLocationTreeResponse creates a response to parse from ListLocationTree response
type Location ¶
type Location struct { Type string `json:"Type" xml:"Type"` ChildIds string `json:"ChildIds" xml:"ChildIds"` Description string `json:"Description" xml:"Description"` BizLine string `json:"BizLine" xml:"BizLine"` LocationNo string `json:"LocationNo" xml:"LocationNo"` Id int64 `json:"Id" xml:"Id"` }
Location is a nested struct in biz_ipdb response
type Locations ¶
type Locations struct {
Location []Location `json:"Location" xml:"Location"`
}
Locations is a nested struct in biz_ipdb response
type MapIpSegmentRequest ¶
type MapIpSegmentRequest struct { *requests.RpcRequest Cluster string `position:"Query" name:"Cluster"` LocationId string `position:"Query" name:"LocationId"` IpType string `position:"Query" name:"IpType"` Value string `position:"Query" name:"Value"` BizLine string `position:"Query" name:"BizLine"` }
MapIpSegmentRequest is the request struct for api MapIpSegment
func CreateMapIpSegmentRequest ¶
func CreateMapIpSegmentRequest() (request *MapIpSegmentRequest)
CreateMapIpSegmentRequest creates a request to invoke MapIpSegment API
type MapIpSegmentResponse ¶
type MapIpSegmentResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
MapIpSegmentResponse is the response struct for api MapIpSegment
func CreateMapIpSegmentResponse ¶
func CreateMapIpSegmentResponse() (response *MapIpSegmentResponse)
CreateMapIpSegmentResponse creates a response to parse from MapIpSegment response
type QueryIpPolicyRequest ¶
type QueryIpPolicyRequest struct { *requests.RpcRequest ListAll requests.Boolean `position:"Query" name:"ListAll"` }
QueryIpPolicyRequest is the request struct for api QueryIpPolicy
func CreateQueryIpPolicyRequest ¶
func CreateQueryIpPolicyRequest() (request *QueryIpPolicyRequest)
CreateQueryIpPolicyRequest creates a request to invoke QueryIpPolicy API
type QueryIpPolicyResponse ¶
type QueryIpPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` IpPolicies IpPolicies `json:"IpPolicies" xml:"IpPolicies"` }
QueryIpPolicyResponse is the response struct for api QueryIpPolicy
func CreateQueryIpPolicyResponse ¶
func CreateQueryIpPolicyResponse() (response *QueryIpPolicyResponse)
CreateQueryIpPolicyResponse creates a response to parse from QueryIpPolicy response
type QueryIpSegmentByNodeTypeRequest ¶
type QueryIpSegmentByNodeTypeRequest struct { *requests.RpcRequest NodeType string `position:"Query" name:"NodeType"` PageNumber string `position:"Query" name:"PageNumber"` NetworkScope string `position:"Query" name:"NetworkScope"` NodeName string `position:"Query" name:"NodeName"` PageSize string `position:"Query" name:"PageSize"` IpVersion string `position:"Query" name:"IpVersion"` BizLine string `position:"Query" name:"BizLine"` }
QueryIpSegmentByNodeTypeRequest is the request struct for api QueryIpSegmentByNodeType
func CreateQueryIpSegmentByNodeTypeRequest ¶
func CreateQueryIpSegmentByNodeTypeRequest() (request *QueryIpSegmentByNodeTypeRequest)
CreateQueryIpSegmentByNodeTypeRequest creates a request to invoke QueryIpSegmentByNodeType API
type QueryIpSegmentByNodeTypeResponse ¶
type QueryIpSegmentByNodeTypeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` IpSegments IpSegmentsInQueryIpSegmentByNodeType `json:"IpSegments" xml:"IpSegments"` }
QueryIpSegmentByNodeTypeResponse is the response struct for api QueryIpSegmentByNodeType
func CreateQueryIpSegmentByNodeTypeResponse ¶
func CreateQueryIpSegmentByNodeTypeResponse() (response *QueryIpSegmentByNodeTypeResponse)
CreateQueryIpSegmentByNodeTypeResponse creates a response to parse from QueryIpSegmentByNodeType response
type QueryPreMappingIpSegmentsRequest ¶
type QueryPreMappingIpSegmentsRequest struct { *requests.RpcRequest Cluster string `position:"Query" name:"Cluster"` Pod string `position:"Query" name:"Pod"` SysOwner string `position:"Query" name:"SysOwner"` PageSize requests.Integer `position:"Query" name:"PageSize"` Page requests.Integer `position:"Query" name:"Page"` Value string `position:"Query" name:"Value"` BizLine string `position:"Query" name:"BizLine"` }
QueryPreMappingIpSegmentsRequest is the request struct for api QueryPreMappingIpSegments
func CreateQueryPreMappingIpSegmentsRequest ¶
func CreateQueryPreMappingIpSegmentsRequest() (request *QueryPreMappingIpSegmentsRequest)
CreateQueryPreMappingIpSegmentsRequest creates a request to invoke QueryPreMappingIpSegments API
type QueryPreMappingIpSegmentsResponse ¶
type QueryPreMappingIpSegmentsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` Page int `json:"Page" xml:"Page"` IpSegmentSet IpSegmentSet `json:"IpSegmentSet" xml:"IpSegmentSet"` }
QueryPreMappingIpSegmentsResponse is the response struct for api QueryPreMappingIpSegments
func CreateQueryPreMappingIpSegmentsResponse ¶
func CreateQueryPreMappingIpSegmentsResponse() (response *QueryPreMappingIpSegmentsResponse)
CreateQueryPreMappingIpSegmentsResponse creates a response to parse from QueryPreMappingIpSegments response
Source Files ¶
- add_ip_policy.go
- add_location_attribute.go
- allocate_ip_segment.go
- client.go
- create_biz_line.go
- create_ip_segment.go
- create_ip_type.go
- delete_ip_policy.go
- describe_biz_lines.go
- describe_ip_segments.go
- describe_ip_types.go
- detail_location_attribute.go
- detail_net_cluster.go
- find_ip_attribute.go
- find_ip_info.go
- list_location_tree.go
- map_ip_segment.go
- query_ip_policy.go
- query_ip_segment_by_node_type.go
- query_pre_mapping_ip_segments.go
- struct_attribute.go
- struct_attributes.go
- struct_biz_line.go
- struct_biz_line_set.go
- struct_ip_policies.go
- struct_ip_policy.go
- struct_ip_segment.go
- struct_ip_segment_set.go
- struct_ip_segments_in_describe_ip_segments.go
- struct_ip_segments_in_query_ip_segment_by_node_type.go
- struct_ip_type.go
- struct_ip_type_set.go
- struct_location.go
- struct_locations.go