vpcpeer

package
v1.62.708 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AcceptVpcPeerConnectionRequest

type AcceptVpcPeerConnectionRequest struct {
	*requests.RpcRequest
	ClientToken          string           `position:"Body" name:"ClientToken"`
	Channel              string           `position:"Body" name:"Channel"`
	ResourceGroupId      string           `position:"Body" name:"ResourceGroupId"`
	RequestContent       string           `position:"Body" name:"RequestContent"`
	DryRun               requests.Boolean `position:"Body" name:"DryRun"`
	ResourceOwnerAccount string           `position:"Body" name:"ResourceOwnerAccount"`
	InstanceId           string           `position:"Body" name:"InstanceId"`
}

AcceptVpcPeerConnectionRequest is the request struct for api AcceptVpcPeerConnection

func CreateAcceptVpcPeerConnectionRequest

func CreateAcceptVpcPeerConnectionRequest() (request *AcceptVpcPeerConnectionRequest)

CreateAcceptVpcPeerConnectionRequest creates a request to invoke AcceptVpcPeerConnection API

type AcceptVpcPeerConnectionResponse

type AcceptVpcPeerConnectionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

AcceptVpcPeerConnectionResponse is the response struct for api AcceptVpcPeerConnection

func CreateAcceptVpcPeerConnectionResponse

func CreateAcceptVpcPeerConnectionResponse() (response *AcceptVpcPeerConnectionResponse)

CreateAcceptVpcPeerConnectionResponse creates a response to parse from AcceptVpcPeerConnection response

type AcceptingVpc

type AcceptingVpc struct {
	VpcId     string   `json:"VpcId" xml:"VpcId"`
	Ipv4Cidrs []string `json:"Ipv4Cidrs" xml:"Ipv4Cidrs"`
	Ipv6Cidrs []string `json:"Ipv6Cidrs" xml:"Ipv6Cidrs"`
}

AcceptingVpc is a nested struct in vpcpeer response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) AcceptVpcPeerConnection

func (client *Client) AcceptVpcPeerConnection(request *AcceptVpcPeerConnectionRequest) (response *AcceptVpcPeerConnectionResponse, err error)

AcceptVpcPeerConnection invokes the vpcpeer.AcceptVpcPeerConnection API synchronously

func (*Client) AcceptVpcPeerConnectionWithCallback

func (client *Client) AcceptVpcPeerConnectionWithCallback(request *AcceptVpcPeerConnectionRequest, callback func(response *AcceptVpcPeerConnectionResponse, err error)) <-chan int

AcceptVpcPeerConnectionWithCallback invokes the vpcpeer.AcceptVpcPeerConnection API asynchronously

func (*Client) AcceptVpcPeerConnectionWithChan

func (client *Client) AcceptVpcPeerConnectionWithChan(request *AcceptVpcPeerConnectionRequest) (<-chan *AcceptVpcPeerConnectionResponse, <-chan error)

AcceptVpcPeerConnectionWithChan invokes the vpcpeer.AcceptVpcPeerConnection API asynchronously

func (*Client) CreateVpcPeerConnection

func (client *Client) CreateVpcPeerConnection(request *CreateVpcPeerConnectionRequest) (response *CreateVpcPeerConnectionResponse, err error)

CreateVpcPeerConnection invokes the vpcpeer.CreateVpcPeerConnection API synchronously

func (*Client) CreateVpcPeerConnectionWithCallback

func (client *Client) CreateVpcPeerConnectionWithCallback(request *CreateVpcPeerConnectionRequest, callback func(response *CreateVpcPeerConnectionResponse, err error)) <-chan int

CreateVpcPeerConnectionWithCallback invokes the vpcpeer.CreateVpcPeerConnection API asynchronously

func (*Client) CreateVpcPeerConnectionWithChan

func (client *Client) CreateVpcPeerConnectionWithChan(request *CreateVpcPeerConnectionRequest) (<-chan *CreateVpcPeerConnectionResponse, <-chan error)

CreateVpcPeerConnectionWithChan invokes the vpcpeer.CreateVpcPeerConnection API asynchronously

func (*Client) DeleteVpcPeerConnection

func (client *Client) DeleteVpcPeerConnection(request *DeleteVpcPeerConnectionRequest) (response *DeleteVpcPeerConnectionResponse, err error)

DeleteVpcPeerConnection invokes the vpcpeer.DeleteVpcPeerConnection API synchronously

func (*Client) DeleteVpcPeerConnectionWithCallback

func (client *Client) DeleteVpcPeerConnectionWithCallback(request *DeleteVpcPeerConnectionRequest, callback func(response *DeleteVpcPeerConnectionResponse, err error)) <-chan int

DeleteVpcPeerConnectionWithCallback invokes the vpcpeer.DeleteVpcPeerConnection API asynchronously

func (*Client) DeleteVpcPeerConnectionWithChan

func (client *Client) DeleteVpcPeerConnectionWithChan(request *DeleteVpcPeerConnectionRequest) (<-chan *DeleteVpcPeerConnectionResponse, <-chan error)

DeleteVpcPeerConnectionWithChan invokes the vpcpeer.DeleteVpcPeerConnection API asynchronously

func (*Client) GetVpcPeerConnectionAttribute

func (client *Client) GetVpcPeerConnectionAttribute(request *GetVpcPeerConnectionAttributeRequest) (response *GetVpcPeerConnectionAttributeResponse, err error)

GetVpcPeerConnectionAttribute invokes the vpcpeer.GetVpcPeerConnectionAttribute API synchronously

func (*Client) GetVpcPeerConnectionAttributeWithCallback

func (client *Client) GetVpcPeerConnectionAttributeWithCallback(request *GetVpcPeerConnectionAttributeRequest, callback func(response *GetVpcPeerConnectionAttributeResponse, err error)) <-chan int

GetVpcPeerConnectionAttributeWithCallback invokes the vpcpeer.GetVpcPeerConnectionAttribute API asynchronously

func (*Client) GetVpcPeerConnectionAttributeWithChan

func (client *Client) GetVpcPeerConnectionAttributeWithChan(request *GetVpcPeerConnectionAttributeRequest) (<-chan *GetVpcPeerConnectionAttributeResponse, <-chan error)

GetVpcPeerConnectionAttributeWithChan invokes the vpcpeer.GetVpcPeerConnectionAttribute API asynchronously

func (*Client) ListTagResources added in v1.62.352

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)

ListTagResources invokes the vpcpeer.ListTagResources API synchronously

func (*Client) ListTagResourcesWithCallback added in v1.62.352

func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int

ListTagResourcesWithCallback invokes the vpcpeer.ListTagResources API asynchronously

func (*Client) ListTagResourcesWithChan added in v1.62.352

func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)

ListTagResourcesWithChan invokes the vpcpeer.ListTagResources API asynchronously

func (*Client) ListVpcPeerConnections

func (client *Client) ListVpcPeerConnections(request *ListVpcPeerConnectionsRequest) (response *ListVpcPeerConnectionsResponse, err error)

ListVpcPeerConnections invokes the vpcpeer.ListVpcPeerConnections API synchronously

func (*Client) ListVpcPeerConnectionsWithCallback

func (client *Client) ListVpcPeerConnectionsWithCallback(request *ListVpcPeerConnectionsRequest, callback func(response *ListVpcPeerConnectionsResponse, err error)) <-chan int

ListVpcPeerConnectionsWithCallback invokes the vpcpeer.ListVpcPeerConnections API asynchronously

func (*Client) ListVpcPeerConnectionsWithChan

func (client *Client) ListVpcPeerConnectionsWithChan(request *ListVpcPeerConnectionsRequest) (<-chan *ListVpcPeerConnectionsResponse, <-chan error)

ListVpcPeerConnectionsWithChan invokes the vpcpeer.ListVpcPeerConnections API asynchronously

func (*Client) ModifyVpcPeerConnection

func (client *Client) ModifyVpcPeerConnection(request *ModifyVpcPeerConnectionRequest) (response *ModifyVpcPeerConnectionResponse, err error)

ModifyVpcPeerConnection invokes the vpcpeer.ModifyVpcPeerConnection API synchronously

func (*Client) ModifyVpcPeerConnectionWithCallback

func (client *Client) ModifyVpcPeerConnectionWithCallback(request *ModifyVpcPeerConnectionRequest, callback func(response *ModifyVpcPeerConnectionResponse, err error)) <-chan int

ModifyVpcPeerConnectionWithCallback invokes the vpcpeer.ModifyVpcPeerConnection API asynchronously

func (*Client) ModifyVpcPeerConnectionWithChan

func (client *Client) ModifyVpcPeerConnectionWithChan(request *ModifyVpcPeerConnectionRequest) (<-chan *ModifyVpcPeerConnectionResponse, <-chan error)

ModifyVpcPeerConnectionWithChan invokes the vpcpeer.ModifyVpcPeerConnection API asynchronously

func (*Client) MoveResourceGroup added in v1.62.472

func (client *Client) MoveResourceGroup(request *MoveResourceGroupRequest) (response *MoveResourceGroupResponse, err error)

MoveResourceGroup invokes the vpcpeer.MoveResourceGroup API synchronously

func (*Client) MoveResourceGroupWithCallback added in v1.62.472

func (client *Client) MoveResourceGroupWithCallback(request *MoveResourceGroupRequest, callback func(response *MoveResourceGroupResponse, err error)) <-chan int

MoveResourceGroupWithCallback invokes the vpcpeer.MoveResourceGroup API asynchronously

func (*Client) MoveResourceGroupWithChan added in v1.62.472

func (client *Client) MoveResourceGroupWithChan(request *MoveResourceGroupRequest) (<-chan *MoveResourceGroupResponse, <-chan error)

MoveResourceGroupWithChan invokes the vpcpeer.MoveResourceGroup API asynchronously

func (*Client) RejectVpcPeerConnection

func (client *Client) RejectVpcPeerConnection(request *RejectVpcPeerConnectionRequest) (response *RejectVpcPeerConnectionResponse, err error)

RejectVpcPeerConnection invokes the vpcpeer.RejectVpcPeerConnection API synchronously

func (*Client) RejectVpcPeerConnectionWithCallback

func (client *Client) RejectVpcPeerConnectionWithCallback(request *RejectVpcPeerConnectionRequest, callback func(response *RejectVpcPeerConnectionResponse, err error)) <-chan int

RejectVpcPeerConnectionWithCallback invokes the vpcpeer.RejectVpcPeerConnection API asynchronously

func (*Client) RejectVpcPeerConnectionWithChan

func (client *Client) RejectVpcPeerConnectionWithChan(request *RejectVpcPeerConnectionRequest) (<-chan *RejectVpcPeerConnectionResponse, <-chan error)

RejectVpcPeerConnectionWithChan invokes the vpcpeer.RejectVpcPeerConnection API asynchronously

func (*Client) TagResources added in v1.62.352

func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)

TagResources invokes the vpcpeer.TagResources API synchronously

func (*Client) TagResourcesWithCallback added in v1.62.352

func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int

TagResourcesWithCallback invokes the vpcpeer.TagResources API asynchronously

func (*Client) TagResourcesWithChan added in v1.62.352

func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)

TagResourcesWithChan invokes the vpcpeer.TagResources API asynchronously

func (*Client) UnTagResources added in v1.62.352

func (client *Client) UnTagResources(request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error)

UnTagResources invokes the vpcpeer.UnTagResources API synchronously

func (*Client) UnTagResourcesWithCallback added in v1.62.352

func (client *Client) UnTagResourcesWithCallback(request *UnTagResourcesRequest, callback func(response *UnTagResourcesResponse, err error)) <-chan int

UnTagResourcesWithCallback invokes the vpcpeer.UnTagResources API asynchronously

func (*Client) UnTagResourcesWithChan added in v1.62.352

func (client *Client) UnTagResourcesWithChan(request *UnTagResourcesRequest) (<-chan *UnTagResourcesResponse, <-chan error)

UnTagResourcesWithChan invokes the vpcpeer.UnTagResources API asynchronously

type CreateVpcPeerConnectionRequest

type CreateVpcPeerConnectionRequest struct {
	*requests.RpcRequest
	ClientToken       string           `position:"Body" name:"ClientToken"`
	Channel           string           `position:"Body" name:"Channel"`
	Description       string           `position:"Body" name:"Description"`
	AcceptingAliUid   requests.Integer `position:"Body" name:"AcceptingAliUid"`
	ResourceGroupId   string           `position:"Body" name:"ResourceGroupId"`
	AcceptingRegionId string           `position:"Body" name:"AcceptingRegionId"`
	DryRun            requests.Boolean `position:"Body" name:"DryRun"`
	AcceptingVpcId    string           `position:"Body" name:"AcceptingVpcId"`
	VpcId             string           `position:"Body" name:"VpcId"`
	Name              string           `position:"Body" name:"Name"`
}

CreateVpcPeerConnectionRequest is the request struct for api CreateVpcPeerConnection

func CreateCreateVpcPeerConnectionRequest

func CreateCreateVpcPeerConnectionRequest() (request *CreateVpcPeerConnectionRequest)

CreateCreateVpcPeerConnectionRequest creates a request to invoke CreateVpcPeerConnection API

type CreateVpcPeerConnectionResponse

type CreateVpcPeerConnectionResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	InstanceId string `json:"InstanceId" xml:"InstanceId"`
}

CreateVpcPeerConnectionResponse is the response struct for api CreateVpcPeerConnection

func CreateCreateVpcPeerConnectionResponse

func CreateCreateVpcPeerConnectionResponse() (response *CreateVpcPeerConnectionResponse)

CreateCreateVpcPeerConnectionResponse creates a response to parse from CreateVpcPeerConnection response

type DeleteVpcPeerConnectionRequest

type DeleteVpcPeerConnectionRequest struct {
	*requests.RpcRequest
	ClientToken string           `position:"Body" name:"ClientToken"`
	Channel     string           `position:"Body" name:"Channel"`
	DryRun      requests.Boolean `position:"Body" name:"DryRun"`
	InstanceId  string           `position:"Body" name:"InstanceId"`
	Force       requests.Boolean `position:"Body" name:"Force"`
}

DeleteVpcPeerConnectionRequest is the request struct for api DeleteVpcPeerConnection

func CreateDeleteVpcPeerConnectionRequest

func CreateDeleteVpcPeerConnectionRequest() (request *DeleteVpcPeerConnectionRequest)

CreateDeleteVpcPeerConnectionRequest creates a request to invoke DeleteVpcPeerConnection API

type DeleteVpcPeerConnectionResponse

type DeleteVpcPeerConnectionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteVpcPeerConnectionResponse is the response struct for api DeleteVpcPeerConnection

func CreateDeleteVpcPeerConnectionResponse

func CreateDeleteVpcPeerConnectionResponse() (response *DeleteVpcPeerConnectionResponse)

CreateDeleteVpcPeerConnectionResponse creates a response to parse from DeleteVpcPeerConnection response

type GetVpcPeerConnectionAttributeRequest

type GetVpcPeerConnectionAttributeRequest struct {
	*requests.RpcRequest
	Channel              string `position:"Body" name:"Channel"`
	RequestContent       string `position:"Body" name:"RequestContent"`
	ResourceOwnerAccount string `position:"Body" name:"ResourceOwnerAccount"`
	InstanceId           string `position:"Body" name:"InstanceId"`
}

GetVpcPeerConnectionAttributeRequest is the request struct for api GetVpcPeerConnectionAttribute

func CreateGetVpcPeerConnectionAttributeRequest

func CreateGetVpcPeerConnectionAttributeRequest() (request *GetVpcPeerConnectionAttributeRequest)

CreateGetVpcPeerConnectionAttributeRequest creates a request to invoke GetVpcPeerConnectionAttribute API

type GetVpcPeerConnectionAttributeResponse

type GetVpcPeerConnectionAttributeResponse struct {
	*responses.BaseResponse
	RequestId         string       `json:"RequestId" xml:"RequestId"`
	InstanceId        string       `json:"InstanceId" xml:"InstanceId"`
	GmtCreate         string       `json:"GmtCreate" xml:"GmtCreate"`
	GmtModified       string       `json:"GmtModified" xml:"GmtModified"`
	Name              string       `json:"Name" xml:"Name"`
	Description       string       `json:"Description" xml:"Description"`
	OwnerId           int64        `json:"OwnerId" xml:"OwnerId"`
	AcceptingOwnerUid int64        `json:"AcceptingOwnerUid" xml:"AcceptingOwnerUid"`
	RegionId          string       `json:"RegionId" xml:"RegionId"`
	AcceptingRegionId string       `json:"AcceptingRegionId" xml:"AcceptingRegionId"`
	Bandwidth         int          `json:"Bandwidth" xml:"Bandwidth"`
	Status            string       `json:"Status" xml:"Status"`
	BizStatus         string       `json:"BizStatus" xml:"BizStatus"`
	GmtExpired        string       `json:"GmtExpired" xml:"GmtExpired"`
	ResourceGroupId   string       `json:"ResourceGroupId" xml:"ResourceGroupId"`
	Vpc               Vpc          `json:"Vpc" xml:"Vpc"`
	AcceptingVpc      AcceptingVpc `json:"AcceptingVpc" xml:"AcceptingVpc"`
	Tags              []TagsItem   `json:"Tags" xml:"Tags"`
}

GetVpcPeerConnectionAttributeResponse is the response struct for api GetVpcPeerConnectionAttribute

func CreateGetVpcPeerConnectionAttributeResponse

func CreateGetVpcPeerConnectionAttributeResponse() (response *GetVpcPeerConnectionAttributeResponse)

CreateGetVpcPeerConnectionAttributeResponse creates a response to parse from GetVpcPeerConnectionAttribute response

type Ipv4CidrsInGetVpcPeerConnectionAttribute

type Ipv4CidrsInGetVpcPeerConnectionAttribute struct {
	Ipv4Cidrs []string `json:"Ipv4Cidrs" xml:"Ipv4Cidrs"`
}

Ipv4CidrsInGetVpcPeerConnectionAttribute is a nested struct in vpcpeer response

type Ipv4CidrsInListVpcPeerConnections

type Ipv4CidrsInListVpcPeerConnections struct {
	Ipv4Cidrs []string `json:"Ipv4Cidrs" xml:"Ipv4Cidrs"`
}

Ipv4CidrsInListVpcPeerConnections is a nested struct in vpcpeer response

type Ipv6CidrsInGetVpcPeerConnectionAttribute

type Ipv6CidrsInGetVpcPeerConnectionAttribute struct {
	Ipv6Cidrs []string `json:"Ipv6Cidrs" xml:"Ipv6Cidrs"`
}

Ipv6CidrsInGetVpcPeerConnectionAttribute is a nested struct in vpcpeer response

type Ipv6CidrsInListVpcPeerConnections

type Ipv6CidrsInListVpcPeerConnections struct {
	Ipv6Cidrs []string `json:"Ipv6Cidrs" xml:"Ipv6Cidrs"`
}

Ipv6CidrsInListVpcPeerConnections is a nested struct in vpcpeer response

type ListTagResourcesRequest added in v1.62.352

type ListTagResourcesRequest struct {
	*requests.RpcRequest
	NextToken    string                 `position:"Query" name:"NextToken"`
	Tag          *[]ListTagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
	ResourceId   *[]string              `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceType string                 `position:"Query" name:"ResourceType"`
	MaxResults   requests.Integer       `position:"Query" name:"MaxResults"`
}

ListTagResourcesRequest is the request struct for api ListTagResources

func CreateListTagResourcesRequest added in v1.62.352

func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)

CreateListTagResourcesRequest creates a request to invoke ListTagResources API

type ListTagResourcesResponse added in v1.62.352

type ListTagResourcesResponse struct {
	*responses.BaseResponse
	RequestId    string               `json:"RequestId" xml:"RequestId"`
	NextToken    string               `json:"NextToken" xml:"NextToken"`
	MaxResults   int                  `json:"MaxResults" xml:"MaxResults"`
	TagResources []TagResultModelList `json:"TagResources" xml:"TagResources"`
}

ListTagResourcesResponse is the response struct for api ListTagResources

func CreateListTagResourcesResponse added in v1.62.352

func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)

CreateListTagResourcesResponse creates a response to parse from ListTagResources response

type ListTagResourcesTag added in v1.62.352

type ListTagResourcesTag struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

ListTagResourcesTag is a repeated param struct in ListTagResourcesRequest

type ListVpcPeerConnectionsRequest

type ListVpcPeerConnectionsRequest struct {
	*requests.RpcRequest
	Channel         string                        `position:"Body" name:"Channel"`
	ResourceGroupId string                        `position:"Query" name:"ResourceGroupId"`
	NextToken       string                        `position:"Body" name:"NextToken"`
	Tags            *[]ListVpcPeerConnectionsTags `position:"Query" name:"Tags"  type:"Repeated"`
	InstanceId      string                        `position:"Body" name:"InstanceId"`
	VpcId           *[]string                     `position:"Body" name:"VpcId"  type:"Repeated"`
	Name            string                        `position:"Body" name:"Name"`
	MaxResults      requests.Integer              `position:"Body" name:"MaxResults"`
}

ListVpcPeerConnectionsRequest is the request struct for api ListVpcPeerConnections

func CreateListVpcPeerConnectionsRequest

func CreateListVpcPeerConnectionsRequest() (request *ListVpcPeerConnectionsRequest)

CreateListVpcPeerConnectionsRequest creates a request to invoke ListVpcPeerConnections API

type ListVpcPeerConnectionsResponse

type ListVpcPeerConnectionsResponse struct {
	*responses.BaseResponse
	RequestId       string                `json:"RequestId" xml:"RequestId"`
	TotalCount      int                   `json:"TotalCount" xml:"TotalCount"`
	MaxResults      int                   `json:"MaxResults" xml:"MaxResults"`
	NextToken       string                `json:"NextToken" xml:"NextToken"`
	VpcPeerConnects []VpcPeerConnectsItem `json:"VpcPeerConnects" xml:"VpcPeerConnects"`
}

ListVpcPeerConnectionsResponse is the response struct for api ListVpcPeerConnections

func CreateListVpcPeerConnectionsResponse

func CreateListVpcPeerConnectionsResponse() (response *ListVpcPeerConnectionsResponse)

CreateListVpcPeerConnectionsResponse creates a response to parse from ListVpcPeerConnections response

type ListVpcPeerConnectionsTags

type ListVpcPeerConnectionsTags struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

ListVpcPeerConnectionsTags is a repeated param struct in ListVpcPeerConnectionsRequest

type ModifyVpcPeerConnectionRequest

type ModifyVpcPeerConnectionRequest struct {
	*requests.RpcRequest
	ClientToken string           `position:"Body" name:"ClientToken"`
	Channel     string           `position:"Body" name:"Channel"`
	Description string           `position:"Body" name:"Description"`
	DryRun      requests.Boolean `position:"Body" name:"DryRun"`
	Bandwidth   requests.Integer `position:"Body" name:"Bandwidth"`
	InstanceId  string           `position:"Body" name:"InstanceId"`
	Name        string           `position:"Body" name:"Name"`
}

ModifyVpcPeerConnectionRequest is the request struct for api ModifyVpcPeerConnection

func CreateModifyVpcPeerConnectionRequest

func CreateModifyVpcPeerConnectionRequest() (request *ModifyVpcPeerConnectionRequest)

CreateModifyVpcPeerConnectionRequest creates a request to invoke ModifyVpcPeerConnection API

type ModifyVpcPeerConnectionResponse

type ModifyVpcPeerConnectionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ModifyVpcPeerConnectionResponse is the response struct for api ModifyVpcPeerConnection

func CreateModifyVpcPeerConnectionResponse

func CreateModifyVpcPeerConnectionResponse() (response *ModifyVpcPeerConnectionResponse)

CreateModifyVpcPeerConnectionResponse creates a response to parse from ModifyVpcPeerConnection response

type MoveResourceGroupRequest added in v1.62.472

type MoveResourceGroupRequest struct {
	*requests.RpcRequest
	ResourceId         string `position:"Query" name:"ResourceId"`
	ResourceType       string `position:"Query" name:"ResourceType"`
	NewResourceGroupId string `position:"Query" name:"NewResourceGroupId"`
}

MoveResourceGroupRequest is the request struct for api MoveResourceGroup

func CreateMoveResourceGroupRequest added in v1.62.472

func CreateMoveResourceGroupRequest() (request *MoveResourceGroupRequest)

CreateMoveResourceGroupRequest creates a request to invoke MoveResourceGroup API

type MoveResourceGroupResponse added in v1.62.472

type MoveResourceGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

MoveResourceGroupResponse is the response struct for api MoveResourceGroup

func CreateMoveResourceGroupResponse added in v1.62.472

func CreateMoveResourceGroupResponse() (response *MoveResourceGroupResponse)

CreateMoveResourceGroupResponse creates a response to parse from MoveResourceGroup response

type RejectVpcPeerConnectionRequest

type RejectVpcPeerConnectionRequest struct {
	*requests.RpcRequest
	ClientToken          string           `position:"Body" name:"ClientToken"`
	Channel              string           `position:"Body" name:"Channel"`
	DryRun               requests.Boolean `position:"Body" name:"DryRun"`
	ResourceOwnerAccount string           `position:"Body" name:"ResourceOwnerAccount"`
	InstanceId           string           `position:"Body" name:"InstanceId"`
}

RejectVpcPeerConnectionRequest is the request struct for api RejectVpcPeerConnection

func CreateRejectVpcPeerConnectionRequest

func CreateRejectVpcPeerConnectionRequest() (request *RejectVpcPeerConnectionRequest)

CreateRejectVpcPeerConnectionRequest creates a request to invoke RejectVpcPeerConnection API

type RejectVpcPeerConnectionResponse

type RejectVpcPeerConnectionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

RejectVpcPeerConnectionResponse is the response struct for api RejectVpcPeerConnection

func CreateRejectVpcPeerConnectionResponse

func CreateRejectVpcPeerConnectionResponse() (response *RejectVpcPeerConnectionResponse)

CreateRejectVpcPeerConnectionResponse creates a response to parse from RejectVpcPeerConnection response

type TagResources added in v1.62.352

type TagResources struct {
	TagResultModelList []TagResultModelList `json:"TagResultModelList" xml:"TagResultModelList"`
}

TagResources is a nested struct in vpcpeer response

type TagResourcesRequest added in v1.62.352

type TagResourcesRequest struct {
	*requests.RpcRequest
	ClientToken  string             `position:"Query" name:"ClientToken"`
	Tag          *[]TagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
	ResourceId   *[]string          `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceType string             `position:"Query" name:"ResourceType"`
}

TagResourcesRequest is the request struct for api TagResources

func CreateTagResourcesRequest added in v1.62.352

func CreateTagResourcesRequest() (request *TagResourcesRequest)

CreateTagResourcesRequest creates a request to invoke TagResources API

type TagResourcesResponse added in v1.62.352

type TagResourcesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

TagResourcesResponse is the response struct for api TagResources

func CreateTagResourcesResponse added in v1.62.352

func CreateTagResourcesResponse() (response *TagResourcesResponse)

CreateTagResourcesResponse creates a response to parse from TagResources response

type TagResourcesTag added in v1.62.352

type TagResourcesTag struct {
	Key   string `name:"Key"`
	Value string `name:"Value"`
}

TagResourcesTag is a repeated param struct in TagResourcesRequest

type TagResultModelList added in v1.62.352

type TagResultModelList struct {
	ResourceId   string `json:"ResourceId" xml:"ResourceId"`
	ResourceType string `json:"ResourceType" xml:"ResourceType"`
	RegionNo     string `json:"RegionNo" xml:"RegionNo"`
	TagKey       string `json:"TagKey" xml:"TagKey"`
	TagValue     string `json:"TagValue" xml:"TagValue"`
}

TagResultModelList is a nested struct in vpcpeer response

type TagsInGetVpcPeerConnectionAttribute

type TagsInGetVpcPeerConnectionAttribute struct {
	TagsItem []TagsItem `json:"Tags" xml:"Tags"`
}

TagsInGetVpcPeerConnectionAttribute is a nested struct in vpcpeer response

type TagsInListVpcPeerConnections

type TagsInListVpcPeerConnections struct {
	TagsItem []TagsItem `json:"Tags" xml:"Tags"`
}

TagsInListVpcPeerConnections is a nested struct in vpcpeer response

type TagsItem

type TagsItem struct {
	Key   string `json:"Key" xml:"Key"`
	Value string `json:"Value" xml:"Value"`
}

TagsItem is a nested struct in vpcpeer response

type UnTagResourcesRequest added in v1.62.352

type UnTagResourcesRequest struct {
	*requests.RpcRequest
	ClientToken  string           `position:"Query" name:"ClientToken"`
	All          requests.Boolean `position:"Query" name:"All"`
	ResourceId   *[]string        `position:"Query" name:"ResourceId"  type:"Repeated"`
	ResourceType string           `position:"Query" name:"ResourceType"`
	TagKey       *[]string        `position:"Query" name:"TagKey"  type:"Repeated"`
}

UnTagResourcesRequest is the request struct for api UnTagResources

func CreateUnTagResourcesRequest added in v1.62.352

func CreateUnTagResourcesRequest() (request *UnTagResourcesRequest)

CreateUnTagResourcesRequest creates a request to invoke UnTagResources API

type UnTagResourcesResponse added in v1.62.352

type UnTagResourcesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

UnTagResourcesResponse is the response struct for api UnTagResources

func CreateUnTagResourcesResponse added in v1.62.352

func CreateUnTagResourcesResponse() (response *UnTagResourcesResponse)

CreateUnTagResourcesResponse creates a response to parse from UnTagResources response

type Vpc

type Vpc struct {
	VpcId     string   `json:"VpcId" xml:"VpcId"`
	Ipv4Cidrs []string `json:"Ipv4Cidrs" xml:"Ipv4Cidrs"`
	Ipv6Cidrs []string `json:"Ipv6Cidrs" xml:"Ipv6Cidrs"`
}

Vpc is a nested struct in vpcpeer response

type VpcPeerConnects

type VpcPeerConnects struct {
	VpcPeerConnectsItem []VpcPeerConnectsItem `json:"VpcPeerConnects" xml:"VpcPeerConnects"`
}

VpcPeerConnects is a nested struct in vpcpeer response

type VpcPeerConnectsItem

type VpcPeerConnectsItem struct {
	InstanceId        string       `json:"InstanceId" xml:"InstanceId"`
	GmtCreate         string       `json:"GmtCreate" xml:"GmtCreate"`
	GmtModified       string       `json:"GmtModified" xml:"GmtModified"`
	Name              string       `json:"Name" xml:"Name"`
	Description       string       `json:"Description" xml:"Description"`
	OwnerId           int64        `json:"OwnerId" xml:"OwnerId"`
	AcceptingOwnerUid int64        `json:"AcceptingOwnerUid" xml:"AcceptingOwnerUid"`
	RegionId          string       `json:"RegionId" xml:"RegionId"`
	AcceptingRegionId string       `json:"AcceptingRegionId" xml:"AcceptingRegionId"`
	Bandwidth         int          `json:"Bandwidth" xml:"Bandwidth"`
	Status            string       `json:"Status" xml:"Status"`
	BizStatus         string       `json:"BizStatus" xml:"BizStatus"`
	GmtExpired        string       `json:"GmtExpired" xml:"GmtExpired"`
	ResourceGroupId   string       `json:"ResourceGroupId" xml:"ResourceGroupId"`
	Vpc               Vpc          `json:"Vpc" xml:"Vpc"`
	AcceptingVpc      AcceptingVpc `json:"AcceptingVpc" xml:"AcceptingVpc"`
	Tags              []TagsItem   `json:"Tags" xml:"Tags"`
}

VpcPeerConnectsItem is a nested struct in vpcpeer response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL