Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AllocateAnycastEipAddressRequest
- type AllocateAnycastEipAddressResponse
- type Anycast
- type AnycastEipBindInfo
- type AnycastEipBindInfoListInDescribeAnycastEipAddress
- type AnycastEipBindInfoListInListAnycastEipAddresses
- type AnycastList
- type AnycastPopLocation
- type AnycastPopLocationList
- type AnycastServerRegion
- type AnycastServerRegionList
- type AssociateAnycastEipAddressPopLocations
- type AssociateAnycastEipAddressRequest
- type AssociateAnycastEipAddressResponse
- 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) AllocateAnycastEipAddress(request *AllocateAnycastEipAddressRequest) (response *AllocateAnycastEipAddressResponse, err error)
- func (client *Client) AllocateAnycastEipAddressWithCallback(request *AllocateAnycastEipAddressRequest, ...) <-chan int
- func (client *Client) AllocateAnycastEipAddressWithChan(request *AllocateAnycastEipAddressRequest) (<-chan *AllocateAnycastEipAddressResponse, <-chan error)
- func (client *Client) AssociateAnycastEipAddress(request *AssociateAnycastEipAddressRequest) (response *AssociateAnycastEipAddressResponse, err error)
- func (client *Client) AssociateAnycastEipAddressWithCallback(request *AssociateAnycastEipAddressRequest, ...) <-chan int
- func (client *Client) AssociateAnycastEipAddressWithChan(request *AssociateAnycastEipAddressRequest) (<-chan *AssociateAnycastEipAddressResponse, <-chan error)
- func (client *Client) DescribeAnycastEipAddress(request *DescribeAnycastEipAddressRequest) (response *DescribeAnycastEipAddressResponse, err error)
- func (client *Client) DescribeAnycastEipAddressWithCallback(request *DescribeAnycastEipAddressRequest, ...) <-chan int
- func (client *Client) DescribeAnycastEipAddressWithChan(request *DescribeAnycastEipAddressRequest) (<-chan *DescribeAnycastEipAddressResponse, <-chan error)
- func (client *Client) DescribeAnycastPopLocations(request *DescribeAnycastPopLocationsRequest) (response *DescribeAnycastPopLocationsResponse, err error)
- func (client *Client) DescribeAnycastPopLocationsWithCallback(request *DescribeAnycastPopLocationsRequest, ...) <-chan int
- func (client *Client) DescribeAnycastPopLocationsWithChan(request *DescribeAnycastPopLocationsRequest) (<-chan *DescribeAnycastPopLocationsResponse, <-chan error)
- func (client *Client) DescribeAnycastServerRegions(request *DescribeAnycastServerRegionsRequest) (response *DescribeAnycastServerRegionsResponse, err error)
- func (client *Client) DescribeAnycastServerRegionsWithCallback(request *DescribeAnycastServerRegionsRequest, ...) <-chan int
- func (client *Client) DescribeAnycastServerRegionsWithChan(request *DescribeAnycastServerRegionsRequest) (<-chan *DescribeAnycastServerRegionsResponse, <-chan error)
- func (client *Client) ListAnycastEipAddresses(request *ListAnycastEipAddressesRequest) (response *ListAnycastEipAddressesResponse, err error)
- func (client *Client) ListAnycastEipAddressesWithCallback(request *ListAnycastEipAddressesRequest, ...) <-chan int
- func (client *Client) ListAnycastEipAddressesWithChan(request *ListAnycastEipAddressesRequest) (<-chan *ListAnycastEipAddressesResponse, <-chan error)
- func (client *Client) ModifyAnycastEipAddressAttribute(request *ModifyAnycastEipAddressAttributeRequest) (response *ModifyAnycastEipAddressAttributeResponse, err error)
- func (client *Client) ModifyAnycastEipAddressAttributeWithCallback(request *ModifyAnycastEipAddressAttributeRequest, ...) <-chan int
- func (client *Client) ModifyAnycastEipAddressAttributeWithChan(request *ModifyAnycastEipAddressAttributeRequest) (<-chan *ModifyAnycastEipAddressAttributeResponse, <-chan error)
- func (client *Client) ModifyAnycastEipAddressSpec(request *ModifyAnycastEipAddressSpecRequest) (response *ModifyAnycastEipAddressSpecResponse, err error)
- func (client *Client) ModifyAnycastEipAddressSpecWithCallback(request *ModifyAnycastEipAddressSpecRequest, ...) <-chan int
- func (client *Client) ModifyAnycastEipAddressSpecWithChan(request *ModifyAnycastEipAddressSpecRequest) (<-chan *ModifyAnycastEipAddressSpecResponse, <-chan error)
- func (client *Client) ReleaseAnycastEipAddress(request *ReleaseAnycastEipAddressRequest) (response *ReleaseAnycastEipAddressResponse, err error)
- func (client *Client) ReleaseAnycastEipAddressWithCallback(request *ReleaseAnycastEipAddressRequest, ...) <-chan int
- func (client *Client) ReleaseAnycastEipAddressWithChan(request *ReleaseAnycastEipAddressRequest) (<-chan *ReleaseAnycastEipAddressResponse, <-chan error)
- func (client *Client) UnassociateAnycastEipAddress(request *UnassociateAnycastEipAddressRequest) (response *UnassociateAnycastEipAddressResponse, err error)
- func (client *Client) UnassociateAnycastEipAddressWithCallback(request *UnassociateAnycastEipAddressRequest, ...) <-chan int
- func (client *Client) UnassociateAnycastEipAddressWithChan(request *UnassociateAnycastEipAddressRequest) (<-chan *UnassociateAnycastEipAddressResponse, <-chan error)
- func (client *Client) UpdateAnycastEipAddressAssociations(request *UpdateAnycastEipAddressAssociationsRequest) (response *UpdateAnycastEipAddressAssociationsResponse, err error)
- func (client *Client) UpdateAnycastEipAddressAssociationsWithCallback(request *UpdateAnycastEipAddressAssociationsRequest, ...) <-chan int
- func (client *Client) UpdateAnycastEipAddressAssociationsWithChan(request *UpdateAnycastEipAddressAssociationsRequest) (<-chan *UpdateAnycastEipAddressAssociationsResponse, <-chan error)
- type DescribeAnycastEipAddressRequest
- type DescribeAnycastEipAddressResponse
- type DescribeAnycastPopLocationsRequest
- type DescribeAnycastPopLocationsResponse
- type DescribeAnycastServerRegionsRequest
- type DescribeAnycastServerRegionsResponse
- type ListAnycastEipAddressesRequest
- type ListAnycastEipAddressesResponse
- type ListAnycastEipAddressesTags
- type ModifyAnycastEipAddressAttributeRequest
- type ModifyAnycastEipAddressAttributeResponse
- type ModifyAnycastEipAddressSpecRequest
- type ModifyAnycastEipAddressSpecResponse
- type PopLocation
- type PopLocations
- type ReleaseAnycastEipAddressRequest
- type ReleaseAnycastEipAddressResponse
- type Tag
- type TagsInDescribeAnycastEipAddress
- type TagsInListAnycastEipAddresses
- type UnassociateAnycastEipAddressRequest
- type UnassociateAnycastEipAddressResponse
- type UpdateAnycastEipAddressAssociationsPopLocationAddList
- type UpdateAnycastEipAddressAssociationsPopLocationDeleteList
- type UpdateAnycastEipAddressAssociationsRequest
- type UpdateAnycastEipAddressAssociationsResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AllocateAnycastEipAddressRequest ¶
type AllocateAnycastEipAddressRequest struct { *requests.RpcRequest Bandwidth string `position:"Query" name:"Bandwidth"` ServiceLocation string `position:"Query" name:"ServiceLocation"` ClientToken string `position:"Query" name:"ClientToken"` Description string `position:"Query" name:"Description"` InternetChargeType string `position:"Query" name:"InternetChargeType"` Name string `position:"Query" name:"Name"` InstanceChargeType string `position:"Query" name:"InstanceChargeType"` }
AllocateAnycastEipAddressRequest is the request struct for api AllocateAnycastEipAddress
func CreateAllocateAnycastEipAddressRequest ¶
func CreateAllocateAnycastEipAddressRequest() (request *AllocateAnycastEipAddressRequest)
CreateAllocateAnycastEipAddressRequest creates a request to invoke AllocateAnycastEipAddress API
type AllocateAnycastEipAddressResponse ¶
type AllocateAnycastEipAddressResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AnycastId string `json:"AnycastId" xml:"AnycastId"` OrderId string `json:"OrderId" xml:"OrderId"` }
AllocateAnycastEipAddressResponse is the response struct for api AllocateAnycastEipAddress
func CreateAllocateAnycastEipAddressResponse ¶
func CreateAllocateAnycastEipAddressResponse() (response *AllocateAnycastEipAddressResponse)
CreateAllocateAnycastEipAddressResponse creates a response to parse from AllocateAnycastEipAddress response
type Anycast ¶
type Anycast struct { Status string `json:"Status" xml:"Status"` CreateTime string `json:"CreateTime" xml:"CreateTime"` AnycastId string `json:"AnycastId" xml:"AnycastId"` AliUid int64 `json:"AliUid" xml:"AliUid"` Bid string `json:"Bid" xml:"Bid"` ServiceLocation string `json:"ServiceLocation" xml:"ServiceLocation"` InstanceChargeType string `json:"InstanceChargeType" xml:"InstanceChargeType"` IpAddress string `json:"IpAddress" xml:"IpAddress"` Bandwidth int `json:"Bandwidth" xml:"Bandwidth"` Description string `json:"Description" xml:"Description"` InternetChargeType string `json:"InternetChargeType" xml:"InternetChargeType"` BusinessStatus string `json:"BusinessStatus" xml:"BusinessStatus"` Name string `json:"Name" xml:"Name"` ServiceManaged int `json:"ServiceManaged" xml:"ServiceManaged"` AnycastEipBindInfoList []AnycastEipBindInfo `json:"AnycastEipBindInfoList" xml:"AnycastEipBindInfoList"` Tags []Tag `json:"Tags" xml:"Tags"` }
Anycast is a nested struct in eipanycast response
type AnycastEipBindInfo ¶
type AnycastEipBindInfo struct { PrivateIpAddress string `json:"PrivateIpAddress" xml:"PrivateIpAddress"` BindInstanceType string `json:"BindInstanceType" xml:"BindInstanceType"` AssociationMode string `json:"AssociationMode" xml:"AssociationMode"` BindTime string `json:"BindTime" xml:"BindTime"` BindInstanceId string `json:"BindInstanceId" xml:"BindInstanceId"` Status string `json:"Status" xml:"Status"` BindInstanceRegionId string `json:"BindInstanceRegionId" xml:"BindInstanceRegionId"` PopLocations []PopLocation `json:"PopLocations" xml:"PopLocations"` }
AnycastEipBindInfo is a nested struct in eipanycast response
type AnycastEipBindInfoListInDescribeAnycastEipAddress ¶
type AnycastEipBindInfoListInDescribeAnycastEipAddress struct {
AnycastEipBindInfo []AnycastEipBindInfo `json:"AnycastEipBindInfo" xml:"AnycastEipBindInfo"`
}
AnycastEipBindInfoListInDescribeAnycastEipAddress is a nested struct in eipanycast response
type AnycastEipBindInfoListInListAnycastEipAddresses ¶
type AnycastEipBindInfoListInListAnycastEipAddresses struct {
AnycastEipBindInfo []AnycastEipBindInfo `json:"AnycastEipBindInfo" xml:"AnycastEipBindInfo"`
}
AnycastEipBindInfoListInListAnycastEipAddresses is a nested struct in eipanycast response
type AnycastList ¶
type AnycastList struct {
Anycast []Anycast `json:"Anycast" xml:"Anycast"`
}
AnycastList is a nested struct in eipanycast response
type AnycastPopLocation ¶
type AnycastPopLocation struct { RegionName string `json:"RegionName" xml:"RegionName"` RegionId string `json:"RegionId" xml:"RegionId"` }
AnycastPopLocation is a nested struct in eipanycast response
type AnycastPopLocationList ¶
type AnycastPopLocationList struct {
AnycastPopLocation []AnycastPopLocation `json:"AnycastPopLocation" xml:"AnycastPopLocation"`
}
AnycastPopLocationList is a nested struct in eipanycast response
type AnycastServerRegion ¶
type AnycastServerRegion struct { RegionName string `json:"RegionName" xml:"RegionName"` RegionId string `json:"RegionId" xml:"RegionId"` }
AnycastServerRegion is a nested struct in eipanycast response
type AnycastServerRegionList ¶
type AnycastServerRegionList struct {
AnycastServerRegion []AnycastServerRegion `json:"AnycastServerRegion" xml:"AnycastServerRegion"`
}
AnycastServerRegionList is a nested struct in eipanycast response
type AssociateAnycastEipAddressPopLocations ¶ added in v1.62.273
type AssociateAnycastEipAddressPopLocations struct {
PopLocation string `name:"PopLocation"`
}
AssociateAnycastEipAddressPopLocations is a repeated param struct in AssociateAnycastEipAddressRequest
type AssociateAnycastEipAddressRequest ¶
type AssociateAnycastEipAddressRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` PopLocations *[]AssociateAnycastEipAddressPopLocations `position:"Query" name:"PopLocations" type:"Repeated"` DryRun requests.Boolean `position:"Query" name:"DryRun"` AssociationMode string `position:"Query" name:"AssociationMode"` BindInstanceType string `position:"Query" name:"BindInstanceType"` BindInstanceRegionId string `position:"Query" name:"BindInstanceRegionId"` PrivateIpAddress string `position:"Query" name:"PrivateIpAddress"` AnycastId string `position:"Query" name:"AnycastId"` BindInstanceId string `position:"Query" name:"BindInstanceId"` }
AssociateAnycastEipAddressRequest is the request struct for api AssociateAnycastEipAddress
func CreateAssociateAnycastEipAddressRequest ¶
func CreateAssociateAnycastEipAddressRequest() (request *AssociateAnycastEipAddressRequest)
CreateAssociateAnycastEipAddressRequest creates a request to invoke AssociateAnycastEipAddress API
type AssociateAnycastEipAddressResponse ¶
type AssociateAnycastEipAddressResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
AssociateAnycastEipAddressResponse is the response struct for api AssociateAnycastEipAddress
func CreateAssociateAnycastEipAddressResponse ¶
func CreateAssociateAnycastEipAddressResponse() (response *AssociateAnycastEipAddressResponse)
CreateAssociateAnycastEipAddressResponse creates a response to parse from AssociateAnycastEipAddress 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) AllocateAnycastEipAddress ¶
func (client *Client) AllocateAnycastEipAddress(request *AllocateAnycastEipAddressRequest) (response *AllocateAnycastEipAddressResponse, err error)
AllocateAnycastEipAddress invokes the eipanycast.AllocateAnycastEipAddress API synchronously
func (*Client) AllocateAnycastEipAddressWithCallback ¶
func (client *Client) AllocateAnycastEipAddressWithCallback(request *AllocateAnycastEipAddressRequest, callback func(response *AllocateAnycastEipAddressResponse, err error)) <-chan int
AllocateAnycastEipAddressWithCallback invokes the eipanycast.AllocateAnycastEipAddress API asynchronously
func (*Client) AllocateAnycastEipAddressWithChan ¶
func (client *Client) AllocateAnycastEipAddressWithChan(request *AllocateAnycastEipAddressRequest) (<-chan *AllocateAnycastEipAddressResponse, <-chan error)
AllocateAnycastEipAddressWithChan invokes the eipanycast.AllocateAnycastEipAddress API asynchronously
func (*Client) AssociateAnycastEipAddress ¶
func (client *Client) AssociateAnycastEipAddress(request *AssociateAnycastEipAddressRequest) (response *AssociateAnycastEipAddressResponse, err error)
AssociateAnycastEipAddress invokes the eipanycast.AssociateAnycastEipAddress API synchronously
func (*Client) AssociateAnycastEipAddressWithCallback ¶
func (client *Client) AssociateAnycastEipAddressWithCallback(request *AssociateAnycastEipAddressRequest, callback func(response *AssociateAnycastEipAddressResponse, err error)) <-chan int
AssociateAnycastEipAddressWithCallback invokes the eipanycast.AssociateAnycastEipAddress API asynchronously
func (*Client) AssociateAnycastEipAddressWithChan ¶
func (client *Client) AssociateAnycastEipAddressWithChan(request *AssociateAnycastEipAddressRequest) (<-chan *AssociateAnycastEipAddressResponse, <-chan error)
AssociateAnycastEipAddressWithChan invokes the eipanycast.AssociateAnycastEipAddress API asynchronously
func (*Client) DescribeAnycastEipAddress ¶
func (client *Client) DescribeAnycastEipAddress(request *DescribeAnycastEipAddressRequest) (response *DescribeAnycastEipAddressResponse, err error)
DescribeAnycastEipAddress invokes the eipanycast.DescribeAnycastEipAddress API synchronously
func (*Client) DescribeAnycastEipAddressWithCallback ¶
func (client *Client) DescribeAnycastEipAddressWithCallback(request *DescribeAnycastEipAddressRequest, callback func(response *DescribeAnycastEipAddressResponse, err error)) <-chan int
DescribeAnycastEipAddressWithCallback invokes the eipanycast.DescribeAnycastEipAddress API asynchronously
func (*Client) DescribeAnycastEipAddressWithChan ¶
func (client *Client) DescribeAnycastEipAddressWithChan(request *DescribeAnycastEipAddressRequest) (<-chan *DescribeAnycastEipAddressResponse, <-chan error)
DescribeAnycastEipAddressWithChan invokes the eipanycast.DescribeAnycastEipAddress API asynchronously
func (*Client) DescribeAnycastPopLocations ¶
func (client *Client) DescribeAnycastPopLocations(request *DescribeAnycastPopLocationsRequest) (response *DescribeAnycastPopLocationsResponse, err error)
DescribeAnycastPopLocations invokes the eipanycast.DescribeAnycastPopLocations API synchronously
func (*Client) DescribeAnycastPopLocationsWithCallback ¶
func (client *Client) DescribeAnycastPopLocationsWithCallback(request *DescribeAnycastPopLocationsRequest, callback func(response *DescribeAnycastPopLocationsResponse, err error)) <-chan int
DescribeAnycastPopLocationsWithCallback invokes the eipanycast.DescribeAnycastPopLocations API asynchronously
func (*Client) DescribeAnycastPopLocationsWithChan ¶
func (client *Client) DescribeAnycastPopLocationsWithChan(request *DescribeAnycastPopLocationsRequest) (<-chan *DescribeAnycastPopLocationsResponse, <-chan error)
DescribeAnycastPopLocationsWithChan invokes the eipanycast.DescribeAnycastPopLocations API asynchronously
func (*Client) DescribeAnycastServerRegions ¶
func (client *Client) DescribeAnycastServerRegions(request *DescribeAnycastServerRegionsRequest) (response *DescribeAnycastServerRegionsResponse, err error)
DescribeAnycastServerRegions invokes the eipanycast.DescribeAnycastServerRegions API synchronously
func (*Client) DescribeAnycastServerRegionsWithCallback ¶
func (client *Client) DescribeAnycastServerRegionsWithCallback(request *DescribeAnycastServerRegionsRequest, callback func(response *DescribeAnycastServerRegionsResponse, err error)) <-chan int
DescribeAnycastServerRegionsWithCallback invokes the eipanycast.DescribeAnycastServerRegions API asynchronously
func (*Client) DescribeAnycastServerRegionsWithChan ¶
func (client *Client) DescribeAnycastServerRegionsWithChan(request *DescribeAnycastServerRegionsRequest) (<-chan *DescribeAnycastServerRegionsResponse, <-chan error)
DescribeAnycastServerRegionsWithChan invokes the eipanycast.DescribeAnycastServerRegions API asynchronously
func (*Client) ListAnycastEipAddresses ¶
func (client *Client) ListAnycastEipAddresses(request *ListAnycastEipAddressesRequest) (response *ListAnycastEipAddressesResponse, err error)
ListAnycastEipAddresses invokes the eipanycast.ListAnycastEipAddresses API synchronously
func (*Client) ListAnycastEipAddressesWithCallback ¶
func (client *Client) ListAnycastEipAddressesWithCallback(request *ListAnycastEipAddressesRequest, callback func(response *ListAnycastEipAddressesResponse, err error)) <-chan int
ListAnycastEipAddressesWithCallback invokes the eipanycast.ListAnycastEipAddresses API asynchronously
func (*Client) ListAnycastEipAddressesWithChan ¶
func (client *Client) ListAnycastEipAddressesWithChan(request *ListAnycastEipAddressesRequest) (<-chan *ListAnycastEipAddressesResponse, <-chan error)
ListAnycastEipAddressesWithChan invokes the eipanycast.ListAnycastEipAddresses API asynchronously
func (*Client) ModifyAnycastEipAddressAttribute ¶
func (client *Client) ModifyAnycastEipAddressAttribute(request *ModifyAnycastEipAddressAttributeRequest) (response *ModifyAnycastEipAddressAttributeResponse, err error)
ModifyAnycastEipAddressAttribute invokes the eipanycast.ModifyAnycastEipAddressAttribute API synchronously
func (*Client) ModifyAnycastEipAddressAttributeWithCallback ¶
func (client *Client) ModifyAnycastEipAddressAttributeWithCallback(request *ModifyAnycastEipAddressAttributeRequest, callback func(response *ModifyAnycastEipAddressAttributeResponse, err error)) <-chan int
ModifyAnycastEipAddressAttributeWithCallback invokes the eipanycast.ModifyAnycastEipAddressAttribute API asynchronously
func (*Client) ModifyAnycastEipAddressAttributeWithChan ¶
func (client *Client) ModifyAnycastEipAddressAttributeWithChan(request *ModifyAnycastEipAddressAttributeRequest) (<-chan *ModifyAnycastEipAddressAttributeResponse, <-chan error)
ModifyAnycastEipAddressAttributeWithChan invokes the eipanycast.ModifyAnycastEipAddressAttribute API asynchronously
func (*Client) ModifyAnycastEipAddressSpec ¶
func (client *Client) ModifyAnycastEipAddressSpec(request *ModifyAnycastEipAddressSpecRequest) (response *ModifyAnycastEipAddressSpecResponse, err error)
ModifyAnycastEipAddressSpec invokes the eipanycast.ModifyAnycastEipAddressSpec API synchronously
func (*Client) ModifyAnycastEipAddressSpecWithCallback ¶
func (client *Client) ModifyAnycastEipAddressSpecWithCallback(request *ModifyAnycastEipAddressSpecRequest, callback func(response *ModifyAnycastEipAddressSpecResponse, err error)) <-chan int
ModifyAnycastEipAddressSpecWithCallback invokes the eipanycast.ModifyAnycastEipAddressSpec API asynchronously
func (*Client) ModifyAnycastEipAddressSpecWithChan ¶
func (client *Client) ModifyAnycastEipAddressSpecWithChan(request *ModifyAnycastEipAddressSpecRequest) (<-chan *ModifyAnycastEipAddressSpecResponse, <-chan error)
ModifyAnycastEipAddressSpecWithChan invokes the eipanycast.ModifyAnycastEipAddressSpec API asynchronously
func (*Client) ReleaseAnycastEipAddress ¶
func (client *Client) ReleaseAnycastEipAddress(request *ReleaseAnycastEipAddressRequest) (response *ReleaseAnycastEipAddressResponse, err error)
ReleaseAnycastEipAddress invokes the eipanycast.ReleaseAnycastEipAddress API synchronously
func (*Client) ReleaseAnycastEipAddressWithCallback ¶
func (client *Client) ReleaseAnycastEipAddressWithCallback(request *ReleaseAnycastEipAddressRequest, callback func(response *ReleaseAnycastEipAddressResponse, err error)) <-chan int
ReleaseAnycastEipAddressWithCallback invokes the eipanycast.ReleaseAnycastEipAddress API asynchronously
func (*Client) ReleaseAnycastEipAddressWithChan ¶
func (client *Client) ReleaseAnycastEipAddressWithChan(request *ReleaseAnycastEipAddressRequest) (<-chan *ReleaseAnycastEipAddressResponse, <-chan error)
ReleaseAnycastEipAddressWithChan invokes the eipanycast.ReleaseAnycastEipAddress API asynchronously
func (*Client) UnassociateAnycastEipAddress ¶
func (client *Client) UnassociateAnycastEipAddress(request *UnassociateAnycastEipAddressRequest) (response *UnassociateAnycastEipAddressResponse, err error)
UnassociateAnycastEipAddress invokes the eipanycast.UnassociateAnycastEipAddress API synchronously
func (*Client) UnassociateAnycastEipAddressWithCallback ¶
func (client *Client) UnassociateAnycastEipAddressWithCallback(request *UnassociateAnycastEipAddressRequest, callback func(response *UnassociateAnycastEipAddressResponse, err error)) <-chan int
UnassociateAnycastEipAddressWithCallback invokes the eipanycast.UnassociateAnycastEipAddress API asynchronously
func (*Client) UnassociateAnycastEipAddressWithChan ¶
func (client *Client) UnassociateAnycastEipAddressWithChan(request *UnassociateAnycastEipAddressRequest) (<-chan *UnassociateAnycastEipAddressResponse, <-chan error)
UnassociateAnycastEipAddressWithChan invokes the eipanycast.UnassociateAnycastEipAddress API asynchronously
func (*Client) UpdateAnycastEipAddressAssociations ¶ added in v1.61.1496
func (client *Client) UpdateAnycastEipAddressAssociations(request *UpdateAnycastEipAddressAssociationsRequest) (response *UpdateAnycastEipAddressAssociationsResponse, err error)
UpdateAnycastEipAddressAssociations invokes the eipanycast.UpdateAnycastEipAddressAssociations API synchronously
func (*Client) UpdateAnycastEipAddressAssociationsWithCallback ¶ added in v1.61.1496
func (client *Client) UpdateAnycastEipAddressAssociationsWithCallback(request *UpdateAnycastEipAddressAssociationsRequest, callback func(response *UpdateAnycastEipAddressAssociationsResponse, err error)) <-chan int
UpdateAnycastEipAddressAssociationsWithCallback invokes the eipanycast.UpdateAnycastEipAddressAssociations API asynchronously
func (*Client) UpdateAnycastEipAddressAssociationsWithChan ¶ added in v1.61.1496
func (client *Client) UpdateAnycastEipAddressAssociationsWithChan(request *UpdateAnycastEipAddressAssociationsRequest) (<-chan *UpdateAnycastEipAddressAssociationsResponse, <-chan error)
UpdateAnycastEipAddressAssociationsWithChan invokes the eipanycast.UpdateAnycastEipAddressAssociations API asynchronously
type DescribeAnycastEipAddressRequest ¶
type DescribeAnycastEipAddressRequest struct { *requests.RpcRequest Ip string `position:"Query" name:"Ip"` AnycastId string `position:"Query" name:"AnycastId"` BindInstanceId string `position:"Query" name:"BindInstanceId"` }
DescribeAnycastEipAddressRequest is the request struct for api DescribeAnycastEipAddress
func CreateDescribeAnycastEipAddressRequest ¶
func CreateDescribeAnycastEipAddressRequest() (request *DescribeAnycastEipAddressRequest)
CreateDescribeAnycastEipAddressRequest creates a request to invoke DescribeAnycastEipAddress API
type DescribeAnycastEipAddressResponse ¶
type DescribeAnycastEipAddressResponse struct { *responses.BaseResponse Status string `json:"Status" xml:"Status"` Description string `json:"Description" xml:"Description"` RequestId string `json:"RequestId" xml:"RequestId"` InstanceChargeType string `json:"InstanceChargeType" xml:"InstanceChargeType"` CreateTime string `json:"CreateTime" xml:"CreateTime"` BusinessStatus string `json:"BusinessStatus" xml:"BusinessStatus"` InternetChargeType string `json:"InternetChargeType" xml:"InternetChargeType"` Name string `json:"Name" xml:"Name"` AnycastId string `json:"AnycastId" xml:"AnycastId"` ServiceLocation string `json:"ServiceLocation" xml:"ServiceLocation"` Bandwidth int `json:"Bandwidth" xml:"Bandwidth"` IpAddress string `json:"IpAddress" xml:"IpAddress"` Bid string `json:"Bid" xml:"Bid"` AliUid int64 `json:"AliUid" xml:"AliUid"` AnycastEipBindInfoList []AnycastEipBindInfo `json:"AnycastEipBindInfoList" xml:"AnycastEipBindInfoList"` Tags []Tag `json:"Tags" xml:"Tags"` }
DescribeAnycastEipAddressResponse is the response struct for api DescribeAnycastEipAddress
func CreateDescribeAnycastEipAddressResponse ¶
func CreateDescribeAnycastEipAddressResponse() (response *DescribeAnycastEipAddressResponse)
CreateDescribeAnycastEipAddressResponse creates a response to parse from DescribeAnycastEipAddress response
type DescribeAnycastPopLocationsRequest ¶
type DescribeAnycastPopLocationsRequest struct { *requests.RpcRequest ServiceLocation string `position:"Query" name:"ServiceLocation"` }
DescribeAnycastPopLocationsRequest is the request struct for api DescribeAnycastPopLocations
func CreateDescribeAnycastPopLocationsRequest ¶
func CreateDescribeAnycastPopLocationsRequest() (request *DescribeAnycastPopLocationsRequest)
CreateDescribeAnycastPopLocationsRequest creates a request to invoke DescribeAnycastPopLocations API
type DescribeAnycastPopLocationsResponse ¶
type DescribeAnycastPopLocationsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Count string `json:"Count" xml:"Count"` AnycastPopLocationList []AnycastPopLocation `json:"AnycastPopLocationList" xml:"AnycastPopLocationList"` }
DescribeAnycastPopLocationsResponse is the response struct for api DescribeAnycastPopLocations
func CreateDescribeAnycastPopLocationsResponse ¶
func CreateDescribeAnycastPopLocationsResponse() (response *DescribeAnycastPopLocationsResponse)
CreateDescribeAnycastPopLocationsResponse creates a response to parse from DescribeAnycastPopLocations response
type DescribeAnycastServerRegionsRequest ¶
type DescribeAnycastServerRegionsRequest struct { *requests.RpcRequest ServiceLocation string `position:"Query" name:"ServiceLocation"` }
DescribeAnycastServerRegionsRequest is the request struct for api DescribeAnycastServerRegions
func CreateDescribeAnycastServerRegionsRequest ¶
func CreateDescribeAnycastServerRegionsRequest() (request *DescribeAnycastServerRegionsRequest)
CreateDescribeAnycastServerRegionsRequest creates a request to invoke DescribeAnycastServerRegions API
type DescribeAnycastServerRegionsResponse ¶
type DescribeAnycastServerRegionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Count string `json:"Count" xml:"Count"` AnycastServerRegionList []AnycastServerRegion `json:"AnycastServerRegionList" xml:"AnycastServerRegionList"` }
DescribeAnycastServerRegionsResponse is the response struct for api DescribeAnycastServerRegions
func CreateDescribeAnycastServerRegionsResponse ¶
func CreateDescribeAnycastServerRegionsResponse() (response *DescribeAnycastServerRegionsResponse)
CreateDescribeAnycastServerRegionsResponse creates a response to parse from DescribeAnycastServerRegions response
type ListAnycastEipAddressesRequest ¶
type ListAnycastEipAddressesRequest struct { *requests.RpcRequest NextToken string `position:"Query" name:"NextToken"` InstanceChargeType string `position:"Query" name:"InstanceChargeType"` BusinessStatus string `position:"Query" name:"BusinessStatus"` ServiceLocation string `position:"Query" name:"ServiceLocation"` AnycastEipAddress string `position:"Query" name:"AnycastEipAddress"` AnycastIds *[]string `position:"Query" name:"AnycastIds" type:"Repeated"` Tags *[]ListAnycastEipAddressesTags `position:"Query" name:"Tags" type:"Repeated"` InternetChargeType string `position:"Query" name:"InternetChargeType"` AnycastId string `position:"Query" name:"AnycastId"` Name string `position:"Query" name:"Name"` BindInstanceIds *[]string `position:"Query" name:"BindInstanceIds" type:"Repeated"` MaxResults requests.Integer `position:"Query" name:"MaxResults"` Status string `position:"Query" name:"Status"` }
ListAnycastEipAddressesRequest is the request struct for api ListAnycastEipAddresses
func CreateListAnycastEipAddressesRequest ¶
func CreateListAnycastEipAddressesRequest() (request *ListAnycastEipAddressesRequest)
CreateListAnycastEipAddressesRequest creates a request to invoke ListAnycastEipAddresses API
type ListAnycastEipAddressesResponse ¶
type ListAnycastEipAddressesResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` NextToken string `json:"NextToken" xml:"NextToken"` RequestId string `json:"RequestId" xml:"RequestId"` AnycastList []Anycast `json:"AnycastList" xml:"AnycastList"` }
ListAnycastEipAddressesResponse is the response struct for api ListAnycastEipAddresses
func CreateListAnycastEipAddressesResponse ¶
func CreateListAnycastEipAddressesResponse() (response *ListAnycastEipAddressesResponse)
CreateListAnycastEipAddressesResponse creates a response to parse from ListAnycastEipAddresses response
type ListAnycastEipAddressesTags ¶ added in v1.62.273
ListAnycastEipAddressesTags is a repeated param struct in ListAnycastEipAddressesRequest
type ModifyAnycastEipAddressAttributeRequest ¶
type ModifyAnycastEipAddressAttributeRequest struct { *requests.RpcRequest Description string `position:"Query" name:"Description"` AnycastId string `position:"Query" name:"AnycastId"` Name string `position:"Query" name:"Name"` }
ModifyAnycastEipAddressAttributeRequest is the request struct for api ModifyAnycastEipAddressAttribute
func CreateModifyAnycastEipAddressAttributeRequest ¶
func CreateModifyAnycastEipAddressAttributeRequest() (request *ModifyAnycastEipAddressAttributeRequest)
CreateModifyAnycastEipAddressAttributeRequest creates a request to invoke ModifyAnycastEipAddressAttribute API
type ModifyAnycastEipAddressAttributeResponse ¶
type ModifyAnycastEipAddressAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyAnycastEipAddressAttributeResponse is the response struct for api ModifyAnycastEipAddressAttribute
func CreateModifyAnycastEipAddressAttributeResponse ¶
func CreateModifyAnycastEipAddressAttributeResponse() (response *ModifyAnycastEipAddressAttributeResponse)
CreateModifyAnycastEipAddressAttributeResponse creates a response to parse from ModifyAnycastEipAddressAttribute response
type ModifyAnycastEipAddressSpecRequest ¶
type ModifyAnycastEipAddressSpecRequest struct { *requests.RpcRequest Bandwidth string `position:"Query" name:"Bandwidth"` AnycastId string `position:"Query" name:"AnycastId"` }
ModifyAnycastEipAddressSpecRequest is the request struct for api ModifyAnycastEipAddressSpec
func CreateModifyAnycastEipAddressSpecRequest ¶
func CreateModifyAnycastEipAddressSpecRequest() (request *ModifyAnycastEipAddressSpecRequest)
CreateModifyAnycastEipAddressSpecRequest creates a request to invoke ModifyAnycastEipAddressSpec API
type ModifyAnycastEipAddressSpecResponse ¶
type ModifyAnycastEipAddressSpecResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyAnycastEipAddressSpecResponse is the response struct for api ModifyAnycastEipAddressSpec
func CreateModifyAnycastEipAddressSpecResponse ¶
func CreateModifyAnycastEipAddressSpecResponse() (response *ModifyAnycastEipAddressSpecResponse)
CreateModifyAnycastEipAddressSpecResponse creates a response to parse from ModifyAnycastEipAddressSpec response
type PopLocation ¶ added in v1.61.1496
type PopLocation struct {
PopLocation string `json:"PopLocation" xml:"PopLocation"`
}
PopLocation is a nested struct in eipanycast response
type PopLocations ¶ added in v1.61.1496
type PopLocations struct {
PopLocation []PopLocation `json:"PopLocation" xml:"PopLocation"`
}
PopLocations is a nested struct in eipanycast response
type ReleaseAnycastEipAddressRequest ¶
type ReleaseAnycastEipAddressRequest struct { *requests.RpcRequest ClientToken string `position:"Query" name:"ClientToken"` AnycastId string `position:"Query" name:"AnycastId"` }
ReleaseAnycastEipAddressRequest is the request struct for api ReleaseAnycastEipAddress
func CreateReleaseAnycastEipAddressRequest ¶
func CreateReleaseAnycastEipAddressRequest() (request *ReleaseAnycastEipAddressRequest)
CreateReleaseAnycastEipAddressRequest creates a request to invoke ReleaseAnycastEipAddress API
type ReleaseAnycastEipAddressResponse ¶
type ReleaseAnycastEipAddressResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ReleaseAnycastEipAddressResponse is the response struct for api ReleaseAnycastEipAddress
func CreateReleaseAnycastEipAddressResponse ¶
func CreateReleaseAnycastEipAddressResponse() (response *ReleaseAnycastEipAddressResponse)
CreateReleaseAnycastEipAddressResponse creates a response to parse from ReleaseAnycastEipAddress response
type TagsInDescribeAnycastEipAddress ¶ added in v1.62.273
type TagsInDescribeAnycastEipAddress struct {
Tag []Tag `json:"Tag" xml:"Tag"`
}
TagsInDescribeAnycastEipAddress is a nested struct in eipanycast response
type TagsInListAnycastEipAddresses ¶ added in v1.62.273
type TagsInListAnycastEipAddresses struct {
Tag []Tag `json:"Tag" xml:"Tag"`
}
TagsInListAnycastEipAddresses is a nested struct in eipanycast response
type UnassociateAnycastEipAddressRequest ¶
type UnassociateAnycastEipAddressRequest struct { *requests.RpcRequest DryRun string `position:"Query" name:"DryRun"` ClientToken string `position:"Query" name:"ClientToken"` BindInstanceType string `position:"Query" name:"BindInstanceType"` BindInstanceRegionId string `position:"Query" name:"BindInstanceRegionId"` PrivateIpAddress string `position:"Query" name:"PrivateIpAddress"` AnycastId string `position:"Query" name:"AnycastId"` BindInstanceId string `position:"Query" name:"BindInstanceId"` }
UnassociateAnycastEipAddressRequest is the request struct for api UnassociateAnycastEipAddress
func CreateUnassociateAnycastEipAddressRequest ¶
func CreateUnassociateAnycastEipAddressRequest() (request *UnassociateAnycastEipAddressRequest)
CreateUnassociateAnycastEipAddressRequest creates a request to invoke UnassociateAnycastEipAddress API
type UnassociateAnycastEipAddressResponse ¶
type UnassociateAnycastEipAddressResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UnassociateAnycastEipAddressResponse is the response struct for api UnassociateAnycastEipAddress
func CreateUnassociateAnycastEipAddressResponse ¶
func CreateUnassociateAnycastEipAddressResponse() (response *UnassociateAnycastEipAddressResponse)
CreateUnassociateAnycastEipAddressResponse creates a response to parse from UnassociateAnycastEipAddress response
type UpdateAnycastEipAddressAssociationsPopLocationAddList ¶ added in v1.62.273
type UpdateAnycastEipAddressAssociationsPopLocationAddList struct {
PopLocation string `name:"PopLocation"`
}
UpdateAnycastEipAddressAssociationsPopLocationAddList is a repeated param struct in UpdateAnycastEipAddressAssociationsRequest
type UpdateAnycastEipAddressAssociationsPopLocationDeleteList ¶ added in v1.62.273
type UpdateAnycastEipAddressAssociationsPopLocationDeleteList struct {
PopLocation string `name:"PopLocation"`
}
UpdateAnycastEipAddressAssociationsPopLocationDeleteList is a repeated param struct in UpdateAnycastEipAddressAssociationsRequest
type UpdateAnycastEipAddressAssociationsRequest ¶ added in v1.61.1496
type UpdateAnycastEipAddressAssociationsRequest struct { *requests.RpcRequest DryRun requests.Boolean `position:"Query" name:"DryRun"` AssociationMode string `position:"Query" name:"AssociationMode"` ClientToken string `position:"Query" name:"ClientToken"` PopLocationDeleteList *[]UpdateAnycastEipAddressAssociationsPopLocationDeleteList `position:"Query" name:"PopLocationDeleteList" type:"Repeated"` AnycastId string `position:"Query" name:"AnycastId"` PopLocationAddList *[]UpdateAnycastEipAddressAssociationsPopLocationAddList `position:"Query" name:"PopLocationAddList" type:"Repeated"` BindInstanceId string `position:"Query" name:"BindInstanceId"` }
UpdateAnycastEipAddressAssociationsRequest is the request struct for api UpdateAnycastEipAddressAssociations
func CreateUpdateAnycastEipAddressAssociationsRequest ¶ added in v1.61.1496
func CreateUpdateAnycastEipAddressAssociationsRequest() (request *UpdateAnycastEipAddressAssociationsRequest)
CreateUpdateAnycastEipAddressAssociationsRequest creates a request to invoke UpdateAnycastEipAddressAssociations API
type UpdateAnycastEipAddressAssociationsResponse ¶ added in v1.61.1496
type UpdateAnycastEipAddressAssociationsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateAnycastEipAddressAssociationsResponse is the response struct for api UpdateAnycastEipAddressAssociations
func CreateUpdateAnycastEipAddressAssociationsResponse ¶ added in v1.61.1496
func CreateUpdateAnycastEipAddressAssociationsResponse() (response *UpdateAnycastEipAddressAssociationsResponse)
CreateUpdateAnycastEipAddressAssociationsResponse creates a response to parse from UpdateAnycastEipAddressAssociations response
Source Files ¶
- allocate_anycast_eip_address.go
- associate_anycast_eip_address.go
- client.go
- describe_anycast_eip_address.go
- describe_anycast_pop_locations.go
- describe_anycast_server_regions.go
- endpoint.go
- list_anycast_eip_addresses.go
- modify_anycast_eip_address_attribute.go
- modify_anycast_eip_address_spec.go
- release_anycast_eip_address.go
- struct_anycast.go
- struct_anycast_eip_bind_info.go
- struct_anycast_eip_bind_info_list_in_describe_anycast_eip_address.go
- struct_anycast_eip_bind_info_list_in_list_anycast_eip_addresses.go
- struct_anycast_list.go
- struct_anycast_pop_location.go
- struct_anycast_pop_location_list.go
- struct_anycast_server_region.go
- struct_anycast_server_region_list.go
- struct_pop_location.go
- struct_pop_locations.go
- struct_tag.go
- struct_tags_in_describe_anycast_eip_address.go
- struct_tags_in_list_anycast_eip_addresses.go
- unassociate_anycast_eip_address.go
- update_anycast_eip_address_associations.go