Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type AcceptVpcPeerConnectionRequest
- func (s AcceptVpcPeerConnectionRequest) GoString() string
- func (s *AcceptVpcPeerConnectionRequest) SetClientToken(v string) *AcceptVpcPeerConnectionRequest
- func (s *AcceptVpcPeerConnectionRequest) SetDryRun(v bool) *AcceptVpcPeerConnectionRequest
- func (s *AcceptVpcPeerConnectionRequest) SetInstanceId(v string) *AcceptVpcPeerConnectionRequest
- func (s *AcceptVpcPeerConnectionRequest) SetResourceGroupId(v string) *AcceptVpcPeerConnectionRequest
- func (s *AcceptVpcPeerConnectionRequest) SetResourceOwnerAccount(v string) *AcceptVpcPeerConnectionRequest
- func (s AcceptVpcPeerConnectionRequest) String() string
- type AcceptVpcPeerConnectionResponse
- func (s AcceptVpcPeerConnectionResponse) GoString() string
- func (s *AcceptVpcPeerConnectionResponse) SetBody(v *AcceptVpcPeerConnectionResponseBody) *AcceptVpcPeerConnectionResponse
- func (s *AcceptVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *AcceptVpcPeerConnectionResponse
- func (s *AcceptVpcPeerConnectionResponse) SetStatusCode(v int32) *AcceptVpcPeerConnectionResponse
- func (s AcceptVpcPeerConnectionResponse) String() string
- type AcceptVpcPeerConnectionResponseBody
- type Client
- func (client *Client) AcceptVpcPeerConnection(request *AcceptVpcPeerConnectionRequest) (_result *AcceptVpcPeerConnectionResponse, _err error)
- func (client *Client) AcceptVpcPeerConnectionWithOptions(request *AcceptVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *AcceptVpcPeerConnectionResponse, _err error)
- func (client *Client) CreateVpcPeerConnection(request *CreateVpcPeerConnectionRequest) (_result *CreateVpcPeerConnectionResponse, _err error)
- func (client *Client) CreateVpcPeerConnectionWithOptions(request *CreateVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *CreateVpcPeerConnectionResponse, _err error)
- func (client *Client) DeleteVpcPeerConnection(request *DeleteVpcPeerConnectionRequest) (_result *DeleteVpcPeerConnectionResponse, _err error)
- func (client *Client) DeleteVpcPeerConnectionWithOptions(request *DeleteVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *DeleteVpcPeerConnectionResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GetVpcPeerConnectionAttribute(request *GetVpcPeerConnectionAttributeRequest) (_result *GetVpcPeerConnectionAttributeResponse, _err error)
- func (client *Client) GetVpcPeerConnectionAttributeWithOptions(request *GetVpcPeerConnectionAttributeRequest, runtime *util.RuntimeOptions) (_result *GetVpcPeerConnectionAttributeResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)
- func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)
- func (client *Client) ListVpcPeerConnections(request *ListVpcPeerConnectionsRequest) (_result *ListVpcPeerConnectionsResponse, _err error)
- func (client *Client) ListVpcPeerConnectionsWithOptions(tmpReq *ListVpcPeerConnectionsRequest, runtime *util.RuntimeOptions) (_result *ListVpcPeerConnectionsResponse, _err error)
- func (client *Client) ModifyVpcPeerConnection(request *ModifyVpcPeerConnectionRequest) (_result *ModifyVpcPeerConnectionResponse, _err error)
- func (client *Client) ModifyVpcPeerConnectionWithOptions(request *ModifyVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *ModifyVpcPeerConnectionResponse, _err error)
- func (client *Client) MoveResourceGroup(request *MoveResourceGroupRequest) (_result *MoveResourceGroupResponse, _err error)
- func (client *Client) MoveResourceGroupWithOptions(request *MoveResourceGroupRequest, runtime *util.RuntimeOptions) (_result *MoveResourceGroupResponse, _err error)
- func (client *Client) RejectVpcPeerConnection(request *RejectVpcPeerConnectionRequest) (_result *RejectVpcPeerConnectionResponse, _err error)
- func (client *Client) RejectVpcPeerConnectionWithOptions(request *RejectVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *RejectVpcPeerConnectionResponse, _err error)
- func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)
- func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)
- func (client *Client) UnTagResources(request *UnTagResourcesRequest) (_result *UnTagResourcesResponse, _err error)
- func (client *Client) UnTagResourcesWithOptions(request *UnTagResourcesRequest, runtime *util.RuntimeOptions) (_result *UnTagResourcesResponse, _err error)
- type CreateVpcPeerConnectionRequest
- func (s CreateVpcPeerConnectionRequest) GoString() string
- func (s *CreateVpcPeerConnectionRequest) SetAcceptingAliUid(v int64) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetAcceptingRegionId(v string) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetAcceptingVpcId(v string) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetBandwidth(v int32) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetClientToken(v string) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetDescription(v string) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetDryRun(v bool) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetName(v string) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetRegionId(v string) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetResourceGroupId(v string) *CreateVpcPeerConnectionRequest
- func (s *CreateVpcPeerConnectionRequest) SetVpcId(v string) *CreateVpcPeerConnectionRequest
- func (s CreateVpcPeerConnectionRequest) String() string
- type CreateVpcPeerConnectionResponse
- func (s CreateVpcPeerConnectionResponse) GoString() string
- func (s *CreateVpcPeerConnectionResponse) SetBody(v *CreateVpcPeerConnectionResponseBody) *CreateVpcPeerConnectionResponse
- func (s *CreateVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *CreateVpcPeerConnectionResponse
- func (s *CreateVpcPeerConnectionResponse) SetStatusCode(v int32) *CreateVpcPeerConnectionResponse
- func (s CreateVpcPeerConnectionResponse) String() string
- type CreateVpcPeerConnectionResponseBody
- func (s CreateVpcPeerConnectionResponseBody) GoString() string
- func (s *CreateVpcPeerConnectionResponseBody) SetInstanceId(v string) *CreateVpcPeerConnectionResponseBody
- func (s *CreateVpcPeerConnectionResponseBody) SetRequestId(v string) *CreateVpcPeerConnectionResponseBody
- func (s CreateVpcPeerConnectionResponseBody) String() string
- type DeleteVpcPeerConnectionRequest
- func (s DeleteVpcPeerConnectionRequest) GoString() string
- func (s *DeleteVpcPeerConnectionRequest) SetClientToken(v string) *DeleteVpcPeerConnectionRequest
- func (s *DeleteVpcPeerConnectionRequest) SetDryRun(v bool) *DeleteVpcPeerConnectionRequest
- func (s *DeleteVpcPeerConnectionRequest) SetForce(v bool) *DeleteVpcPeerConnectionRequest
- func (s *DeleteVpcPeerConnectionRequest) SetInstanceId(v string) *DeleteVpcPeerConnectionRequest
- func (s DeleteVpcPeerConnectionRequest) String() string
- type DeleteVpcPeerConnectionResponse
- func (s DeleteVpcPeerConnectionResponse) GoString() string
- func (s *DeleteVpcPeerConnectionResponse) SetBody(v *DeleteVpcPeerConnectionResponseBody) *DeleteVpcPeerConnectionResponse
- func (s *DeleteVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *DeleteVpcPeerConnectionResponse
- func (s *DeleteVpcPeerConnectionResponse) SetStatusCode(v int32) *DeleteVpcPeerConnectionResponse
- func (s DeleteVpcPeerConnectionResponse) String() string
- type DeleteVpcPeerConnectionResponseBody
- type GetVpcPeerConnectionAttributeRequest
- func (s GetVpcPeerConnectionAttributeRequest) GoString() string
- func (s *GetVpcPeerConnectionAttributeRequest) SetInstanceId(v string) *GetVpcPeerConnectionAttributeRequest
- func (s *GetVpcPeerConnectionAttributeRequest) SetResourceOwnerAccount(v string) *GetVpcPeerConnectionAttributeRequest
- func (s GetVpcPeerConnectionAttributeRequest) String() string
- type GetVpcPeerConnectionAttributeResponse
- func (s GetVpcPeerConnectionAttributeResponse) GoString() string
- func (s *GetVpcPeerConnectionAttributeResponse) SetBody(v *GetVpcPeerConnectionAttributeResponseBody) *GetVpcPeerConnectionAttributeResponse
- func (s *GetVpcPeerConnectionAttributeResponse) SetHeaders(v map[string]*string) *GetVpcPeerConnectionAttributeResponse
- func (s *GetVpcPeerConnectionAttributeResponse) SetStatusCode(v int32) *GetVpcPeerConnectionAttributeResponse
- func (s GetVpcPeerConnectionAttributeResponse) String() string
- type GetVpcPeerConnectionAttributeResponseBody
- func (s GetVpcPeerConnectionAttributeResponseBody) GoString() string
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetAcceptingOwnerUid(v int64) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetAcceptingRegionId(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetAcceptingVpc(v *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetBandwidth(v int32) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetBizStatus(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetDescription(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetGmtCreate(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetGmtExpired(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetGmtModified(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetInstanceId(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetName(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetOwnerId(v int64) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetRegionId(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetRequestId(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetResourceGroupId(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetStatus(v string) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetTags(v []*GetVpcPeerConnectionAttributeResponseBodyTags) *GetVpcPeerConnectionAttributeResponseBody
- func (s *GetVpcPeerConnectionAttributeResponseBody) SetVpc(v *GetVpcPeerConnectionAttributeResponseBodyVpc) *GetVpcPeerConnectionAttributeResponseBody
- func (s GetVpcPeerConnectionAttributeResponseBody) String() string
- type GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc
- func (s GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) GoString() string
- func (s *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetIpv4Cidrs(v []*string) *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc
- func (s *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetIpv6Cidrs(v []*string) *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc
- func (s *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetVpcId(v string) *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc
- func (s GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) String() string
- type GetVpcPeerConnectionAttributeResponseBodyTags
- func (s GetVpcPeerConnectionAttributeResponseBodyTags) GoString() string
- func (s *GetVpcPeerConnectionAttributeResponseBodyTags) SetKey(v string) *GetVpcPeerConnectionAttributeResponseBodyTags
- func (s *GetVpcPeerConnectionAttributeResponseBodyTags) SetValue(v string) *GetVpcPeerConnectionAttributeResponseBodyTags
- func (s GetVpcPeerConnectionAttributeResponseBodyTags) String() string
- type GetVpcPeerConnectionAttributeResponseBodyVpc
- func (s GetVpcPeerConnectionAttributeResponseBodyVpc) GoString() string
- func (s *GetVpcPeerConnectionAttributeResponseBodyVpc) SetIpv4Cidrs(v []*string) *GetVpcPeerConnectionAttributeResponseBodyVpc
- func (s *GetVpcPeerConnectionAttributeResponseBodyVpc) SetIpv6Cidrs(v []*string) *GetVpcPeerConnectionAttributeResponseBodyVpc
- func (s *GetVpcPeerConnectionAttributeResponseBodyVpc) SetVpcId(v string) *GetVpcPeerConnectionAttributeResponseBodyVpc
- func (s GetVpcPeerConnectionAttributeResponseBodyVpc) String() string
- type ListTagResourcesRequest
- func (s ListTagResourcesRequest) GoString() string
- func (s *ListTagResourcesRequest) SetMaxResults(v int32) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetNextToken(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetRegionId(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetResourceType(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetTag(v []*ListTagResourcesRequestTag) *ListTagResourcesRequest
- func (s ListTagResourcesRequest) String() string
- type ListTagResourcesRequestTag
- type ListTagResourcesResponse
- func (s ListTagResourcesResponse) GoString() string
- func (s *ListTagResourcesResponse) SetBody(v *ListTagResourcesResponseBody) *ListTagResourcesResponse
- func (s *ListTagResourcesResponse) SetHeaders(v map[string]*string) *ListTagResourcesResponse
- func (s *ListTagResourcesResponse) SetStatusCode(v int32) *ListTagResourcesResponse
- func (s ListTagResourcesResponse) String() string
- type ListTagResourcesResponseBody
- func (s ListTagResourcesResponseBody) GoString() string
- func (s *ListTagResourcesResponseBody) SetMaxResults(v int32) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetNextToken(v string) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetRequestId(v string) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetTagResources(v []*ListTagResourcesResponseBodyTagResources) *ListTagResourcesResponseBody
- func (s ListTagResourcesResponseBody) String() string
- type ListTagResourcesResponseBodyTagResources
- func (s ListTagResourcesResponseBodyTagResources) GoString() string
- func (s *ListTagResourcesResponseBodyTagResources) SetRegionNo(v string) *ListTagResourcesResponseBodyTagResources
- func (s *ListTagResourcesResponseBodyTagResources) SetResourceId(v string) *ListTagResourcesResponseBodyTagResources
- func (s *ListTagResourcesResponseBodyTagResources) SetResourceType(v string) *ListTagResourcesResponseBodyTagResources
- func (s *ListTagResourcesResponseBodyTagResources) SetTagKey(v string) *ListTagResourcesResponseBodyTagResources
- func (s *ListTagResourcesResponseBodyTagResources) SetTagValue(v string) *ListTagResourcesResponseBodyTagResources
- func (s ListTagResourcesResponseBodyTagResources) String() string
- type ListVpcPeerConnectionsRequest
- func (s ListVpcPeerConnectionsRequest) GoString() string
- func (s *ListVpcPeerConnectionsRequest) SetInstanceId(v string) *ListVpcPeerConnectionsRequest
- func (s *ListVpcPeerConnectionsRequest) SetMaxResults(v int32) *ListVpcPeerConnectionsRequest
- func (s *ListVpcPeerConnectionsRequest) SetName(v string) *ListVpcPeerConnectionsRequest
- func (s *ListVpcPeerConnectionsRequest) SetNextToken(v string) *ListVpcPeerConnectionsRequest
- func (s *ListVpcPeerConnectionsRequest) SetRegionId(v string) *ListVpcPeerConnectionsRequest
- func (s *ListVpcPeerConnectionsRequest) SetResourceGroupId(v string) *ListVpcPeerConnectionsRequest
- func (s *ListVpcPeerConnectionsRequest) SetTags(v []*ListVpcPeerConnectionsRequestTags) *ListVpcPeerConnectionsRequest
- func (s *ListVpcPeerConnectionsRequest) SetVpcId(v []*string) *ListVpcPeerConnectionsRequest
- func (s ListVpcPeerConnectionsRequest) String() string
- type ListVpcPeerConnectionsRequestTags
- func (s ListVpcPeerConnectionsRequestTags) GoString() string
- func (s *ListVpcPeerConnectionsRequestTags) SetKey(v string) *ListVpcPeerConnectionsRequestTags
- func (s *ListVpcPeerConnectionsRequestTags) SetValue(v string) *ListVpcPeerConnectionsRequestTags
- func (s ListVpcPeerConnectionsRequestTags) String() string
- type ListVpcPeerConnectionsResponse
- func (s ListVpcPeerConnectionsResponse) GoString() string
- func (s *ListVpcPeerConnectionsResponse) SetBody(v *ListVpcPeerConnectionsResponseBody) *ListVpcPeerConnectionsResponse
- func (s *ListVpcPeerConnectionsResponse) SetHeaders(v map[string]*string) *ListVpcPeerConnectionsResponse
- func (s *ListVpcPeerConnectionsResponse) SetStatusCode(v int32) *ListVpcPeerConnectionsResponse
- func (s ListVpcPeerConnectionsResponse) String() string
- type ListVpcPeerConnectionsResponseBody
- func (s ListVpcPeerConnectionsResponseBody) GoString() string
- func (s *ListVpcPeerConnectionsResponseBody) SetMaxResults(v int32) *ListVpcPeerConnectionsResponseBody
- func (s *ListVpcPeerConnectionsResponseBody) SetNextToken(v string) *ListVpcPeerConnectionsResponseBody
- func (s *ListVpcPeerConnectionsResponseBody) SetRequestId(v string) *ListVpcPeerConnectionsResponseBody
- func (s *ListVpcPeerConnectionsResponseBody) SetTotalCount(v int32) *ListVpcPeerConnectionsResponseBody
- func (s *ListVpcPeerConnectionsResponseBody) SetVpcPeerConnects(v []*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) *ListVpcPeerConnectionsResponseBody
- func (s ListVpcPeerConnectionsResponseBody) String() string
- type ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnects) GoString() string
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingOwnerUid(v int64) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingRegionId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingVpc(v *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetBandwidth(v int32) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetBizStatus(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetDescription(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtCreate(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtExpired(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtModified(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetInstanceId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetName(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetOwnerId(v int64) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetRegionId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetResourceGroupId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetStatus(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetTags(v []*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetVpc(v *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
- func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnects) String() string
- type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc
- func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) GoString() string
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetIpv4Cidrs(v []*string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetIpv6Cidrs(v []*string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetVpcId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc
- func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) String() string
- type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags
- func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) GoString() string
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) SetKey(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) SetValue(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags
- func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) String() string
- type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc
- func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) GoString() string
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetIpv4Cidrs(v []*string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetIpv6Cidrs(v []*string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc
- func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetVpcId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc
- func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) String() string
- type ListVpcPeerConnectionsShrinkRequest
- func (s ListVpcPeerConnectionsShrinkRequest) GoString() string
- func (s *ListVpcPeerConnectionsShrinkRequest) SetInstanceId(v string) *ListVpcPeerConnectionsShrinkRequest
- func (s *ListVpcPeerConnectionsShrinkRequest) SetMaxResults(v int32) *ListVpcPeerConnectionsShrinkRequest
- func (s *ListVpcPeerConnectionsShrinkRequest) SetName(v string) *ListVpcPeerConnectionsShrinkRequest
- func (s *ListVpcPeerConnectionsShrinkRequest) SetNextToken(v string) *ListVpcPeerConnectionsShrinkRequest
- func (s *ListVpcPeerConnectionsShrinkRequest) SetRegionId(v string) *ListVpcPeerConnectionsShrinkRequest
- func (s *ListVpcPeerConnectionsShrinkRequest) SetResourceGroupId(v string) *ListVpcPeerConnectionsShrinkRequest
- func (s *ListVpcPeerConnectionsShrinkRequest) SetTags(v []*ListVpcPeerConnectionsShrinkRequestTags) *ListVpcPeerConnectionsShrinkRequest
- func (s *ListVpcPeerConnectionsShrinkRequest) SetVpcIdShrink(v string) *ListVpcPeerConnectionsShrinkRequest
- func (s ListVpcPeerConnectionsShrinkRequest) String() string
- type ListVpcPeerConnectionsShrinkRequestTags
- func (s ListVpcPeerConnectionsShrinkRequestTags) GoString() string
- func (s *ListVpcPeerConnectionsShrinkRequestTags) SetKey(v string) *ListVpcPeerConnectionsShrinkRequestTags
- func (s *ListVpcPeerConnectionsShrinkRequestTags) SetValue(v string) *ListVpcPeerConnectionsShrinkRequestTags
- func (s ListVpcPeerConnectionsShrinkRequestTags) String() string
- type ModifyVpcPeerConnectionRequest
- func (s ModifyVpcPeerConnectionRequest) GoString() string
- func (s *ModifyVpcPeerConnectionRequest) SetBandwidth(v int32) *ModifyVpcPeerConnectionRequest
- func (s *ModifyVpcPeerConnectionRequest) SetClientToken(v string) *ModifyVpcPeerConnectionRequest
- func (s *ModifyVpcPeerConnectionRequest) SetDescription(v string) *ModifyVpcPeerConnectionRequest
- func (s *ModifyVpcPeerConnectionRequest) SetDryRun(v bool) *ModifyVpcPeerConnectionRequest
- func (s *ModifyVpcPeerConnectionRequest) SetInstanceId(v string) *ModifyVpcPeerConnectionRequest
- func (s *ModifyVpcPeerConnectionRequest) SetName(v string) *ModifyVpcPeerConnectionRequest
- func (s ModifyVpcPeerConnectionRequest) String() string
- type ModifyVpcPeerConnectionResponse
- func (s ModifyVpcPeerConnectionResponse) GoString() string
- func (s *ModifyVpcPeerConnectionResponse) SetBody(v *ModifyVpcPeerConnectionResponseBody) *ModifyVpcPeerConnectionResponse
- func (s *ModifyVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *ModifyVpcPeerConnectionResponse
- func (s *ModifyVpcPeerConnectionResponse) SetStatusCode(v int32) *ModifyVpcPeerConnectionResponse
- func (s ModifyVpcPeerConnectionResponse) String() string
- type ModifyVpcPeerConnectionResponseBody
- type MoveResourceGroupRequest
- func (s MoveResourceGroupRequest) GoString() string
- func (s *MoveResourceGroupRequest) SetNewResourceGroupId(v string) *MoveResourceGroupRequest
- func (s *MoveResourceGroupRequest) SetRegionId(v string) *MoveResourceGroupRequest
- func (s *MoveResourceGroupRequest) SetResourceId(v string) *MoveResourceGroupRequest
- func (s *MoveResourceGroupRequest) SetResourceType(v string) *MoveResourceGroupRequest
- func (s MoveResourceGroupRequest) String() string
- type MoveResourceGroupResponse
- func (s MoveResourceGroupResponse) GoString() string
- func (s *MoveResourceGroupResponse) SetBody(v *MoveResourceGroupResponseBody) *MoveResourceGroupResponse
- func (s *MoveResourceGroupResponse) SetHeaders(v map[string]*string) *MoveResourceGroupResponse
- func (s *MoveResourceGroupResponse) SetStatusCode(v int32) *MoveResourceGroupResponse
- func (s MoveResourceGroupResponse) String() string
- type MoveResourceGroupResponseBody
- type RejectVpcPeerConnectionRequest
- func (s RejectVpcPeerConnectionRequest) GoString() string
- func (s *RejectVpcPeerConnectionRequest) SetClientToken(v string) *RejectVpcPeerConnectionRequest
- func (s *RejectVpcPeerConnectionRequest) SetDryRun(v bool) *RejectVpcPeerConnectionRequest
- func (s *RejectVpcPeerConnectionRequest) SetInstanceId(v string) *RejectVpcPeerConnectionRequest
- func (s *RejectVpcPeerConnectionRequest) SetResourceOwnerAccount(v string) *RejectVpcPeerConnectionRequest
- func (s RejectVpcPeerConnectionRequest) String() string
- type RejectVpcPeerConnectionResponse
- func (s RejectVpcPeerConnectionResponse) GoString() string
- func (s *RejectVpcPeerConnectionResponse) SetBody(v *RejectVpcPeerConnectionResponseBody) *RejectVpcPeerConnectionResponse
- func (s *RejectVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *RejectVpcPeerConnectionResponse
- func (s *RejectVpcPeerConnectionResponse) SetStatusCode(v int32) *RejectVpcPeerConnectionResponse
- func (s RejectVpcPeerConnectionResponse) String() string
- type RejectVpcPeerConnectionResponseBody
- type TagResourcesRequest
- func (s TagResourcesRequest) GoString() string
- func (s *TagResourcesRequest) SetClientToken(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetTag(v []*TagResourcesRequestTag) *TagResourcesRequest
- func (s TagResourcesRequest) String() string
- type TagResourcesRequestTag
- type TagResourcesResponse
- func (s TagResourcesResponse) GoString() string
- func (s *TagResourcesResponse) SetBody(v *TagResourcesResponseBody) *TagResourcesResponse
- func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse
- func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse
- func (s TagResourcesResponse) String() string
- type TagResourcesResponseBody
- type UnTagResourcesRequest
- func (s UnTagResourcesRequest) GoString() string
- func (s *UnTagResourcesRequest) SetAll(v bool) *UnTagResourcesRequest
- func (s *UnTagResourcesRequest) SetClientToken(v string) *UnTagResourcesRequest
- func (s *UnTagResourcesRequest) SetRegionId(v string) *UnTagResourcesRequest
- func (s *UnTagResourcesRequest) SetResourceId(v []*string) *UnTagResourcesRequest
- func (s *UnTagResourcesRequest) SetResourceType(v string) *UnTagResourcesRequest
- func (s *UnTagResourcesRequest) SetTagKey(v []*string) *UnTagResourcesRequest
- func (s UnTagResourcesRequest) String() string
- type UnTagResourcesResponse
- func (s UnTagResourcesResponse) GoString() string
- func (s *UnTagResourcesResponse) SetBody(v *UnTagResourcesResponseBody) *UnTagResourcesResponse
- func (s *UnTagResourcesResponse) SetHeaders(v map[string]*string) *UnTagResourcesResponse
- func (s *UnTagResourcesResponse) SetStatusCode(v int32) *UnTagResourcesResponse
- func (s UnTagResourcesResponse) String() string
- type UnTagResourcesResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptVpcPeerConnectionRequest ¶
type AcceptVpcPeerConnectionRequest struct { // The client token that is used to ensure the idempotence of the request. // // You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. // // > If you do not specify this parameter, the system automatically uses **request ID** as the **client token**. The **request ID** may be different for each request. ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"` // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // // * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. // * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The ID of the VPC peering connection to be accepted by the accepter VPC. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The ID of the resource group. // // For more information about resource groups, see [What is a resource group?](~~94475~~) ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"` }
func (AcceptVpcPeerConnectionRequest) GoString ¶
func (s AcceptVpcPeerConnectionRequest) GoString() string
func (*AcceptVpcPeerConnectionRequest) SetClientToken ¶
func (s *AcceptVpcPeerConnectionRequest) SetClientToken(v string) *AcceptVpcPeerConnectionRequest
func (*AcceptVpcPeerConnectionRequest) SetDryRun ¶
func (s *AcceptVpcPeerConnectionRequest) SetDryRun(v bool) *AcceptVpcPeerConnectionRequest
func (*AcceptVpcPeerConnectionRequest) SetInstanceId ¶
func (s *AcceptVpcPeerConnectionRequest) SetInstanceId(v string) *AcceptVpcPeerConnectionRequest
func (*AcceptVpcPeerConnectionRequest) SetResourceGroupId ¶
func (s *AcceptVpcPeerConnectionRequest) SetResourceGroupId(v string) *AcceptVpcPeerConnectionRequest
func (*AcceptVpcPeerConnectionRequest) SetResourceOwnerAccount ¶
func (s *AcceptVpcPeerConnectionRequest) SetResourceOwnerAccount(v string) *AcceptVpcPeerConnectionRequest
func (AcceptVpcPeerConnectionRequest) String ¶
func (s AcceptVpcPeerConnectionRequest) String() string
type AcceptVpcPeerConnectionResponse ¶
type AcceptVpcPeerConnectionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *AcceptVpcPeerConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (AcceptVpcPeerConnectionResponse) GoString ¶
func (s AcceptVpcPeerConnectionResponse) GoString() string
func (*AcceptVpcPeerConnectionResponse) SetBody ¶
func (s *AcceptVpcPeerConnectionResponse) SetBody(v *AcceptVpcPeerConnectionResponseBody) *AcceptVpcPeerConnectionResponse
func (*AcceptVpcPeerConnectionResponse) SetHeaders ¶
func (s *AcceptVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *AcceptVpcPeerConnectionResponse
func (*AcceptVpcPeerConnectionResponse) SetStatusCode ¶
func (s *AcceptVpcPeerConnectionResponse) SetStatusCode(v int32) *AcceptVpcPeerConnectionResponse
func (AcceptVpcPeerConnectionResponse) String ¶
func (s AcceptVpcPeerConnectionResponse) String() string
type AcceptVpcPeerConnectionResponseBody ¶
type AcceptVpcPeerConnectionResponseBody struct { // The request ID. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (AcceptVpcPeerConnectionResponseBody) GoString ¶
func (s AcceptVpcPeerConnectionResponseBody) GoString() string
func (*AcceptVpcPeerConnectionResponseBody) SetRequestId ¶
func (s *AcceptVpcPeerConnectionResponseBody) SetRequestId(v string) *AcceptVpcPeerConnectionResponseBody
func (AcceptVpcPeerConnectionResponseBody) String ¶
func (s AcceptVpcPeerConnectionResponseBody) String() string
type Client ¶
func (*Client) AcceptVpcPeerConnection ¶
func (client *Client) AcceptVpcPeerConnection(request *AcceptVpcPeerConnectionRequest) (_result *AcceptVpcPeerConnectionResponse, _err error)
*
- * For a cross-account VPC peering connection, the connection is activated only after the accepter VPC accepts the connection request.
- * **AcceptVpcPeerConnection** is an asynchronous operation. After a request is sent, the system returns a **request ID** and runs the operation in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of the task.
- * If a VPC peering connection is in the **Updating** state, the VPC peering connection is being activated.
- * If a VPC peering connection is in the **Activated** state, the VPC peering connection is activated.
- * You cannot repeatedly call the **AcceptVpcPeerConnection** operation within a specific period of time. *
- @param request AcceptVpcPeerConnectionRequest
- @return AcceptVpcPeerConnectionResponse
func (*Client) AcceptVpcPeerConnectionWithOptions ¶
func (client *Client) AcceptVpcPeerConnectionWithOptions(request *AcceptVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *AcceptVpcPeerConnectionResponse, _err error)
*
- * For a cross-account VPC peering connection, the connection is activated only after the accepter VPC accepts the connection request.
- * **AcceptVpcPeerConnection** is an asynchronous operation. After a request is sent, the system returns a **request ID** and runs the operation in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of the task.
- * If a VPC peering connection is in the **Updating** state, the VPC peering connection is being activated.
- * If a VPC peering connection is in the **Activated** state, the VPC peering connection is activated.
- * You cannot repeatedly call the **AcceptVpcPeerConnection** operation within a specific period of time. *
- @param request AcceptVpcPeerConnectionRequest
- @param runtime runtime options for this request RuntimeOptions
- @return AcceptVpcPeerConnectionResponse
func (*Client) CreateVpcPeerConnection ¶
func (client *Client) CreateVpcPeerConnection(request *CreateVpcPeerConnectionRequest) (_result *CreateVpcPeerConnectionResponse, _err error)
*
- Before you create a VPC peering connection, make sure that the following requirements are met:
- * Cloud Data Transfer (CDT) is activated to manage the billing of intra-border data transfers. To activate CDT, call the [OpenCdtService](~~337842~~) operation.
- * **CreateVpcPeerConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and an **instance ID** and runs the task in the background. You can call the [GetVpcPeerConnectionAttribute](~~426095~~) operation to query the status of the task.
- * If a VPC peering connection is in the **Creating** state, the VPC peering connection is being created.
- * If a VPC peering connection is in the **Activated** state, the VPC peering connection is created.
- * If a VPC peering connection is in the **Accepting** state, the VPC peering connection is created across accounts and the accepter is accepting the VPC peering connection.
- * You cannot repeatedly call the **CreateVpcPeerConnection** operation within a specific period of time. *
- @param request CreateVpcPeerConnectionRequest
- @return CreateVpcPeerConnectionResponse
func (*Client) CreateVpcPeerConnectionWithOptions ¶
func (client *Client) CreateVpcPeerConnectionWithOptions(request *CreateVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *CreateVpcPeerConnectionResponse, _err error)
*
- Before you create a VPC peering connection, make sure that the following requirements are met:
- * Cloud Data Transfer (CDT) is activated to manage the billing of intra-border data transfers. To activate CDT, call the [OpenCdtService](~~337842~~) operation.
- * **CreateVpcPeerConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and an **instance ID** and runs the task in the background. You can call the [GetVpcPeerConnectionAttribute](~~426095~~) operation to query the status of the task.
- * If a VPC peering connection is in the **Creating** state, the VPC peering connection is being created.
- * If a VPC peering connection is in the **Activated** state, the VPC peering connection is created.
- * If a VPC peering connection is in the **Accepting** state, the VPC peering connection is created across accounts and the accepter is accepting the VPC peering connection.
- * You cannot repeatedly call the **CreateVpcPeerConnection** operation within a specific period of time. *
- @param request CreateVpcPeerConnectionRequest
- @param runtime runtime options for this request RuntimeOptions
- @return CreateVpcPeerConnectionResponse
func (*Client) DeleteVpcPeerConnection ¶
func (client *Client) DeleteVpcPeerConnection(request *DeleteVpcPeerConnectionRequest) (_result *DeleteVpcPeerConnectionResponse, _err error)
*
- * You can delete VPC peering connections. After you delete a VPC peering connection, your service is affected. Proceed with caution.
- * If you forcefully delete a VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table.
- * If you do not forcefully delete a VPC peering connection, the system does not delete these routes. You must manually delete them.
- * The **DeleteVpcPeerConnection** operation is asynchronous. After you send a request, the system returns **RequestId**, but the operation is still being performed in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of a VPC peering connection.
- * If a VPC peering connection is in the **Deleting** state, it is being deleted.
- * If a VPC peering connection is in the **Deleted** state, it is deleted.
- * You cannot repeatedly call the **DeleteVpcPeerConnection** operation for the same VPC peering connection within the specified period of time. *
- @param request DeleteVpcPeerConnectionRequest
- @return DeleteVpcPeerConnectionResponse
func (*Client) DeleteVpcPeerConnectionWithOptions ¶
func (client *Client) DeleteVpcPeerConnectionWithOptions(request *DeleteVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *DeleteVpcPeerConnectionResponse, _err error)
*
- * You can delete VPC peering connections. After you delete a VPC peering connection, your service is affected. Proceed with caution.
- * If you forcefully delete a VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table.
- * If you do not forcefully delete a VPC peering connection, the system does not delete these routes. You must manually delete them.
- * The **DeleteVpcPeerConnection** operation is asynchronous. After you send a request, the system returns **RequestId**, but the operation is still being performed in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of a VPC peering connection.
- * If a VPC peering connection is in the **Deleting** state, it is being deleted.
- * If a VPC peering connection is in the **Deleted** state, it is deleted.
- * You cannot repeatedly call the **DeleteVpcPeerConnection** operation for the same VPC peering connection within the specified period of time. *
- @param request DeleteVpcPeerConnectionRequest
- @param runtime runtime options for this request RuntimeOptions
- @return DeleteVpcPeerConnectionResponse
func (*Client) GetEndpoint ¶
func (*Client) GetVpcPeerConnectionAttribute ¶
func (client *Client) GetVpcPeerConnectionAttribute(request *GetVpcPeerConnectionAttributeRequest) (_result *GetVpcPeerConnectionAttributeResponse, _err error)
func (*Client) GetVpcPeerConnectionAttributeWithOptions ¶
func (client *Client) GetVpcPeerConnectionAttributeWithOptions(request *GetVpcPeerConnectionAttributeRequest, runtime *util.RuntimeOptions) (_result *GetVpcPeerConnectionAttributeResponse, _err error)
func (*Client) ListTagResources ¶
func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)
*
- * Set **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object to be queried.
- * **Tag.N** is a resource tag that consists of a key-value pair. If you set only **Tag.N.Key**, all tag values that are associated with the specified key are returned. If you set only **Tag.N.Value**, an error message is returned.
- * If you set **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.
- * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned. *
- @param request ListTagResourcesRequest
- @return ListTagResourcesResponse
func (*Client) ListTagResourcesWithOptions ¶
func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)
*
- * Set **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object to be queried.
- * **Tag.N** is a resource tag that consists of a key-value pair. If you set only **Tag.N.Key**, all tag values that are associated with the specified key are returned. If you set only **Tag.N.Value**, an error message is returned.
- * If you set **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.
- * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned. *
- @param request ListTagResourcesRequest
- @param runtime runtime options for this request RuntimeOptions
- @return ListTagResourcesResponse
func (*Client) ListVpcPeerConnections ¶
func (client *Client) ListVpcPeerConnections(request *ListVpcPeerConnectionsRequest) (_result *ListVpcPeerConnectionsResponse, _err error)
func (*Client) ListVpcPeerConnectionsWithOptions ¶
func (client *Client) ListVpcPeerConnectionsWithOptions(tmpReq *ListVpcPeerConnectionsRequest, runtime *util.RuntimeOptions) (_result *ListVpcPeerConnectionsResponse, _err error)
func (*Client) ModifyVpcPeerConnection ¶
func (client *Client) ModifyVpcPeerConnection(request *ModifyVpcPeerConnectionRequest) (_result *ModifyVpcPeerConnectionResponse, _err error)
*
- * The **ModifyVpcPeerConnection** operation is asynchronous. After you send a request, the system returns **RequestId**, but the operation is still being performed in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of a VPC peering connection.
- * If a VPC peering connection is in the **Updating** state, the VPC peering connection is being modified.
- * If a VPC peering connection is in the **Activated** state, the VPC peering connection is modified.
- * You cannot repeatedly call the **ModifyVpcPeerConnection** operation for the same VPC peering connection within the specified period of time. *
- @param request ModifyVpcPeerConnectionRequest
- @return ModifyVpcPeerConnectionResponse
func (*Client) ModifyVpcPeerConnectionWithOptions ¶
func (client *Client) ModifyVpcPeerConnectionWithOptions(request *ModifyVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *ModifyVpcPeerConnectionResponse, _err error)
*
- * The **ModifyVpcPeerConnection** operation is asynchronous. After you send a request, the system returns **RequestId**, but the operation is still being performed in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of a VPC peering connection.
- * If a VPC peering connection is in the **Updating** state, the VPC peering connection is being modified.
- * If a VPC peering connection is in the **Activated** state, the VPC peering connection is modified.
- * You cannot repeatedly call the **ModifyVpcPeerConnection** operation for the same VPC peering connection within the specified period of time. *
- @param request ModifyVpcPeerConnectionRequest
- @param runtime runtime options for this request RuntimeOptions
- @return ModifyVpcPeerConnectionResponse
func (*Client) MoveResourceGroup ¶
func (client *Client) MoveResourceGroup(request *MoveResourceGroupRequest) (_result *MoveResourceGroupResponse, _err error)
func (*Client) MoveResourceGroupWithOptions ¶
func (client *Client) MoveResourceGroupWithOptions(request *MoveResourceGroupRequest, runtime *util.RuntimeOptions) (_result *MoveResourceGroupResponse, _err error)
func (*Client) RejectVpcPeerConnection ¶
func (client *Client) RejectVpcPeerConnection(request *RejectVpcPeerConnectionRequest) (_result *RejectVpcPeerConnectionResponse, _err error)
*
- * An acceptor VPC can reject a connection request from the requester VPC of a cross-account VPC peering connection. After the connection request is rejected, the VPC peering connection enters the **Rejected** state.
- * You cannot repeatedly call the **RejectVpcPeerConnection** operation for the same VPC peering connection within the specified period of time. *
- @param request RejectVpcPeerConnectionRequest
- @return RejectVpcPeerConnectionResponse
func (*Client) RejectVpcPeerConnectionWithOptions ¶
func (client *Client) RejectVpcPeerConnectionWithOptions(request *RejectVpcPeerConnectionRequest, runtime *util.RuntimeOptions) (_result *RejectVpcPeerConnectionResponse, _err error)
*
- * An acceptor VPC can reject a connection request from the requester VPC of a cross-account VPC peering connection. After the connection request is rejected, the VPC peering connection enters the **Rejected** state.
- * You cannot repeatedly call the **RejectVpcPeerConnection** operation for the same VPC peering connection within the specified period of time. *
- @param request RejectVpcPeerConnectionRequest
- @param runtime runtime options for this request RuntimeOptions
- @return RejectVpcPeerConnectionResponse
func (*Client) TagResources ¶
func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)
*
- Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:
- * The keys of tags that are added to the same instance must be unique.
- * You cannot create tags without adding them to instances. All tags must be added to instances.
- * Tag information is not shared across regions.
- For example, you cannot view the tags that are created in the China (Hangzhou) region from the China (Shanghai) region.
- * For the same account and region, tags added to different VPC peering connections are shared.
- For example, if a tag is added to a VPC peering connection, the tag can also be added to other VPC peering connections within the same account and region. You can modify the key and the value of a tag or remove a tag from an instance. After you delete an instance, all tags that are added to the instance are deleted.
- * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. An error message is returned if the maximum number of tags is reached. *
- @param request TagResourcesRequest
- @return TagResourcesResponse
func (*Client) TagResourcesWithOptions ¶
func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)
*
- Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:
- * The keys of tags that are added to the same instance must be unique.
- * You cannot create tags without adding them to instances. All tags must be added to instances.
- * Tag information is not shared across regions.
- For example, you cannot view the tags that are created in the China (Hangzhou) region from the China (Shanghai) region.
- * For the same account and region, tags added to different VPC peering connections are shared.
- For example, if a tag is added to a VPC peering connection, the tag can also be added to other VPC peering connections within the same account and region. You can modify the key and the value of a tag or remove a tag from an instance. After you delete an instance, all tags that are added to the instance are deleted.
- * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. An error message is returned if the maximum number of tags is reached. *
- @param request TagResourcesRequest
- @param runtime runtime options for this request RuntimeOptions
- @return TagResourcesResponse
func (*Client) UnTagResources ¶
func (client *Client) UnTagResources(request *UnTagResourcesRequest) (_result *UnTagResourcesResponse, _err error)
func (*Client) UnTagResourcesWithOptions ¶
func (client *Client) UnTagResourcesWithOptions(request *UnTagResourcesRequest, runtime *util.RuntimeOptions) (_result *UnTagResourcesResponse, _err error)
type CreateVpcPeerConnectionRequest ¶
type CreateVpcPeerConnectionRequest struct { // The ID of the Alibaba Cloud account to which the accepter VPC belongs. // // * To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account. // * To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account. // // > If the accepter is a RAM user, set **AcceptingAliUid** to the ID of the Alibaba Cloud account that created the RAM user. AcceptingAliUid *int64 `json:"AcceptingAliUid,omitempty" xml:"AcceptingAliUid,omitempty"` // The region ID of the accepter VPC of the VPC peering connection that you want to create. // // * To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC. // * To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC. AcceptingRegionId *string `json:"AcceptingRegionId,omitempty" xml:"AcceptingRegionId,omitempty"` // The ID of the accepter VPC. AcceptingVpcId *string `json:"AcceptingVpcId,omitempty" xml:"AcceptingVpcId,omitempty"` // The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection. Bandwidth *int32 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` // The client token that is used to ensure the idempotence of the request. // // You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. // // > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request. ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"` // The description of the VPC peering connection. // // The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`. Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // Specifies whether to perform only a dry run, without performing the actual request. Valid values: // // * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. // * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The name of the VPC peering connection. // // The name must be 2 to 128 characters in length, and can contain digits, underscores (\_), and hyphens (-). It must start with a letter. Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The ID of the region where you want to create a VPC peering connection. // // You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The ID of the resource group. // // For more information about resource groups, see [Resource groups](~~94475~~). ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` // The ID of the requester VPC. VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` }
func (CreateVpcPeerConnectionRequest) GoString ¶
func (s CreateVpcPeerConnectionRequest) GoString() string
func (*CreateVpcPeerConnectionRequest) SetAcceptingAliUid ¶
func (s *CreateVpcPeerConnectionRequest) SetAcceptingAliUid(v int64) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetAcceptingRegionId ¶
func (s *CreateVpcPeerConnectionRequest) SetAcceptingRegionId(v string) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetAcceptingVpcId ¶
func (s *CreateVpcPeerConnectionRequest) SetAcceptingVpcId(v string) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetBandwidth ¶
func (s *CreateVpcPeerConnectionRequest) SetBandwidth(v int32) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetClientToken ¶
func (s *CreateVpcPeerConnectionRequest) SetClientToken(v string) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetDescription ¶
func (s *CreateVpcPeerConnectionRequest) SetDescription(v string) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetDryRun ¶
func (s *CreateVpcPeerConnectionRequest) SetDryRun(v bool) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetName ¶
func (s *CreateVpcPeerConnectionRequest) SetName(v string) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetRegionId ¶
func (s *CreateVpcPeerConnectionRequest) SetRegionId(v string) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetResourceGroupId ¶
func (s *CreateVpcPeerConnectionRequest) SetResourceGroupId(v string) *CreateVpcPeerConnectionRequest
func (*CreateVpcPeerConnectionRequest) SetVpcId ¶
func (s *CreateVpcPeerConnectionRequest) SetVpcId(v string) *CreateVpcPeerConnectionRequest
func (CreateVpcPeerConnectionRequest) String ¶
func (s CreateVpcPeerConnectionRequest) String() string
type CreateVpcPeerConnectionResponse ¶
type CreateVpcPeerConnectionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateVpcPeerConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateVpcPeerConnectionResponse) GoString ¶
func (s CreateVpcPeerConnectionResponse) GoString() string
func (*CreateVpcPeerConnectionResponse) SetBody ¶
func (s *CreateVpcPeerConnectionResponse) SetBody(v *CreateVpcPeerConnectionResponseBody) *CreateVpcPeerConnectionResponse
func (*CreateVpcPeerConnectionResponse) SetHeaders ¶
func (s *CreateVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *CreateVpcPeerConnectionResponse
func (*CreateVpcPeerConnectionResponse) SetStatusCode ¶
func (s *CreateVpcPeerConnectionResponse) SetStatusCode(v int32) *CreateVpcPeerConnectionResponse
func (CreateVpcPeerConnectionResponse) String ¶
func (s CreateVpcPeerConnectionResponse) String() string
type CreateVpcPeerConnectionResponseBody ¶
type CreateVpcPeerConnectionResponseBody struct { // The ID of the instance on which the VPC peering connection is created. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The request ID. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateVpcPeerConnectionResponseBody) GoString ¶
func (s CreateVpcPeerConnectionResponseBody) GoString() string
func (*CreateVpcPeerConnectionResponseBody) SetInstanceId ¶
func (s *CreateVpcPeerConnectionResponseBody) SetInstanceId(v string) *CreateVpcPeerConnectionResponseBody
func (*CreateVpcPeerConnectionResponseBody) SetRequestId ¶
func (s *CreateVpcPeerConnectionResponseBody) SetRequestId(v string) *CreateVpcPeerConnectionResponseBody
func (CreateVpcPeerConnectionResponseBody) String ¶
func (s CreateVpcPeerConnectionResponseBody) String() string
type DeleteVpcPeerConnectionRequest ¶
type DeleteVpcPeerConnectionRequest struct { // The client token that is used to ensure the idempotence of the request. // // You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters. // // > If you do not set this parameter, the system uses **RequestId** as **ClientToken**. The value of **RequestId** for each API request may be different. ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"` // Specifies whether to check the request without performing the operation. Valid values: // // * **true**: checks the request without performing the operation. The system checks the required parameters, request syntax, and limits. If the request fails to pass the check, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned. // * **false** (default): sends the request. If the request passes the check, an HTTP 2xx status code is returned and the operation is performed. DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // Specifies whether to forcefully delete the VPC peering connection. Valid values: // // * **false** (default): no. // * **true**: yes. If you forcefully delete the VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table. Force *bool `json:"Force,omitempty" xml:"Force,omitempty"` // The ID of the VPC peering connection that you want to delete. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` }
func (DeleteVpcPeerConnectionRequest) GoString ¶
func (s DeleteVpcPeerConnectionRequest) GoString() string
func (*DeleteVpcPeerConnectionRequest) SetClientToken ¶
func (s *DeleteVpcPeerConnectionRequest) SetClientToken(v string) *DeleteVpcPeerConnectionRequest
func (*DeleteVpcPeerConnectionRequest) SetDryRun ¶
func (s *DeleteVpcPeerConnectionRequest) SetDryRun(v bool) *DeleteVpcPeerConnectionRequest
func (*DeleteVpcPeerConnectionRequest) SetForce ¶
func (s *DeleteVpcPeerConnectionRequest) SetForce(v bool) *DeleteVpcPeerConnectionRequest
func (*DeleteVpcPeerConnectionRequest) SetInstanceId ¶
func (s *DeleteVpcPeerConnectionRequest) SetInstanceId(v string) *DeleteVpcPeerConnectionRequest
func (DeleteVpcPeerConnectionRequest) String ¶
func (s DeleteVpcPeerConnectionRequest) String() string
type DeleteVpcPeerConnectionResponse ¶
type DeleteVpcPeerConnectionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DeleteVpcPeerConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DeleteVpcPeerConnectionResponse) GoString ¶
func (s DeleteVpcPeerConnectionResponse) GoString() string
func (*DeleteVpcPeerConnectionResponse) SetBody ¶
func (s *DeleteVpcPeerConnectionResponse) SetBody(v *DeleteVpcPeerConnectionResponseBody) *DeleteVpcPeerConnectionResponse
func (*DeleteVpcPeerConnectionResponse) SetHeaders ¶
func (s *DeleteVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *DeleteVpcPeerConnectionResponse
func (*DeleteVpcPeerConnectionResponse) SetStatusCode ¶
func (s *DeleteVpcPeerConnectionResponse) SetStatusCode(v int32) *DeleteVpcPeerConnectionResponse
func (DeleteVpcPeerConnectionResponse) String ¶
func (s DeleteVpcPeerConnectionResponse) String() string
type DeleteVpcPeerConnectionResponseBody ¶
type DeleteVpcPeerConnectionResponseBody struct { // The ID of the request. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (DeleteVpcPeerConnectionResponseBody) GoString ¶
func (s DeleteVpcPeerConnectionResponseBody) GoString() string
func (*DeleteVpcPeerConnectionResponseBody) SetRequestId ¶
func (s *DeleteVpcPeerConnectionResponseBody) SetRequestId(v string) *DeleteVpcPeerConnectionResponseBody
func (DeleteVpcPeerConnectionResponseBody) String ¶
func (s DeleteVpcPeerConnectionResponseBody) String() string
type GetVpcPeerConnectionAttributeRequest ¶
type GetVpcPeerConnectionAttributeRequest struct { // The ID of the VPC peering connection that you want to query. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"` }
func (GetVpcPeerConnectionAttributeRequest) GoString ¶
func (s GetVpcPeerConnectionAttributeRequest) GoString() string
func (*GetVpcPeerConnectionAttributeRequest) SetInstanceId ¶
func (s *GetVpcPeerConnectionAttributeRequest) SetInstanceId(v string) *GetVpcPeerConnectionAttributeRequest
func (*GetVpcPeerConnectionAttributeRequest) SetResourceOwnerAccount ¶
func (s *GetVpcPeerConnectionAttributeRequest) SetResourceOwnerAccount(v string) *GetVpcPeerConnectionAttributeRequest
func (GetVpcPeerConnectionAttributeRequest) String ¶
func (s GetVpcPeerConnectionAttributeRequest) String() string
type GetVpcPeerConnectionAttributeResponse ¶
type GetVpcPeerConnectionAttributeResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetVpcPeerConnectionAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetVpcPeerConnectionAttributeResponse) GoString ¶
func (s GetVpcPeerConnectionAttributeResponse) GoString() string
func (*GetVpcPeerConnectionAttributeResponse) SetHeaders ¶
func (s *GetVpcPeerConnectionAttributeResponse) SetHeaders(v map[string]*string) *GetVpcPeerConnectionAttributeResponse
func (*GetVpcPeerConnectionAttributeResponse) SetStatusCode ¶
func (s *GetVpcPeerConnectionAttributeResponse) SetStatusCode(v int32) *GetVpcPeerConnectionAttributeResponse
func (GetVpcPeerConnectionAttributeResponse) String ¶
func (s GetVpcPeerConnectionAttributeResponse) String() string
type GetVpcPeerConnectionAttributeResponseBody ¶
type GetVpcPeerConnectionAttributeResponseBody struct { // The ID of the Alibaba Cloud account to which the accepter VPC belongs. AcceptingOwnerUid *int64 `json:"AcceptingOwnerUid,omitempty" xml:"AcceptingOwnerUid,omitempty"` // The region ID of the accepter VPC. AcceptingRegionId *string `json:"AcceptingRegionId,omitempty" xml:"AcceptingRegionId,omitempty"` // The details of the accepter VPC. AcceptingVpc *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc `json:"AcceptingVpc,omitempty" xml:"AcceptingVpc,omitempty" type:"Struct"` // The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. // // > If the value is set to **-1**, it indicates that no limit is imposed on the bandwidth. // // Default value: // // * The default bandwidth of an inter-region VPC peering connection is **1024** Mbit/s. // * The default bandwidth of an intra-region VPC peering connection is **-1** Mbit/s. Bandwidth *int32 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` // The business status of the VPC peering connection. Valid values: // // * **Normal** // * **FinancialLocked** BizStatus *string `json:"BizStatus,omitempty" xml:"BizStatus,omitempty"` // The description of the VPC peering connection. Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The time when the VPC peering connection was created. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC. GmtCreate *string `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"` // The expiration time of the VPC peering connection. // // The expiration time is returned only when the **Status** of the VPC peering connection is **Accepting** or **Expired**. Otherwise, **null** is returned. GmtExpired *string `json:"GmtExpired,omitempty" xml:"GmtExpired,omitempty"` // The time when the VPC peering connection was modified. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC. GmtModified *string `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"` // The ID of the VPC peering connection. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The name of the VPC peering connection. Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The ID of the Alibaba Cloud account to which the requester VPC belongs. OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"` // The region ID of the requester VPC. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The request ID. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The ID of the resource group. ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` // The status of the VPC peering connection. Valid values: // // * **Creating** // * **Accepting** // * **Updating** // * **Rejected** // * **Expired** // * **Activated** // * **Deleting** // * **Deleted** // // For more information about the status of VPC peering connections, see [Overview of VPC peering connections](~~418507~~). Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The tag list. Tags []*GetVpcPeerConnectionAttributeResponseBodyTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"` // The details of the requester VPC. Vpc *GetVpcPeerConnectionAttributeResponseBodyVpc `json:"Vpc,omitempty" xml:"Vpc,omitempty" type:"Struct"` }
func (GetVpcPeerConnectionAttributeResponseBody) GoString ¶
func (s GetVpcPeerConnectionAttributeResponseBody) GoString() string
func (*GetVpcPeerConnectionAttributeResponseBody) SetAcceptingOwnerUid ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetAcceptingOwnerUid(v int64) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetAcceptingRegionId ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetAcceptingRegionId(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetAcceptingVpc ¶
func (*GetVpcPeerConnectionAttributeResponseBody) SetBandwidth ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetBandwidth(v int32) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetBizStatus ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetBizStatus(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetDescription ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetDescription(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetGmtCreate ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetGmtCreate(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetGmtExpired ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetGmtExpired(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetGmtModified ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetGmtModified(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetInstanceId ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetInstanceId(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetName ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetName(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetOwnerId ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetOwnerId(v int64) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetRegionId ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetRegionId(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetRequestId ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetRequestId(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetResourceGroupId ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetResourceGroupId(v string) *GetVpcPeerConnectionAttributeResponseBody
func (*GetVpcPeerConnectionAttributeResponseBody) SetStatus ¶
func (s *GetVpcPeerConnectionAttributeResponseBody) SetStatus(v string) *GetVpcPeerConnectionAttributeResponseBody
func (GetVpcPeerConnectionAttributeResponseBody) String ¶
func (s GetVpcPeerConnectionAttributeResponseBody) String() string
type GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc ¶
type GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc struct { // The CIDR block of the accepter VPC. Ipv4Cidrs []*string `json:"Ipv4Cidrs,omitempty" xml:"Ipv4Cidrs,omitempty" type:"Repeated"` // The IPv6 CIDR block of the accepter VPC. Ipv6Cidrs []*string `json:"Ipv6Cidrs,omitempty" xml:"Ipv6Cidrs,omitempty" type:"Repeated"` // The ID of the accepter VPC. VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` }
func (GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) GoString ¶
func (s GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) GoString() string
func (*GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetIpv4Cidrs ¶
func (s *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetIpv4Cidrs(v []*string) *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc
func (*GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetIpv6Cidrs ¶
func (s *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetIpv6Cidrs(v []*string) *GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc
func (GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) String ¶
func (s GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) String() string
type GetVpcPeerConnectionAttributeResponseBodyTags ¶
type GetVpcPeerConnectionAttributeResponseBodyTags struct { // The tag key. Key *string `json:"Key,omitempty" xml:"Key,omitempty"` // The tag value. Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (GetVpcPeerConnectionAttributeResponseBodyTags) GoString ¶
func (s GetVpcPeerConnectionAttributeResponseBodyTags) GoString() string
func (*GetVpcPeerConnectionAttributeResponseBodyTags) SetValue ¶
func (s *GetVpcPeerConnectionAttributeResponseBodyTags) SetValue(v string) *GetVpcPeerConnectionAttributeResponseBodyTags
func (GetVpcPeerConnectionAttributeResponseBodyTags) String ¶
func (s GetVpcPeerConnectionAttributeResponseBodyTags) String() string
type GetVpcPeerConnectionAttributeResponseBodyVpc ¶
type GetVpcPeerConnectionAttributeResponseBodyVpc struct { // The CIDR block of the requester VPC. Ipv4Cidrs []*string `json:"Ipv4Cidrs,omitempty" xml:"Ipv4Cidrs,omitempty" type:"Repeated"` // The IPv6 CIDR block of the requester VPC. Ipv6Cidrs []*string `json:"Ipv6Cidrs,omitempty" xml:"Ipv6Cidrs,omitempty" type:"Repeated"` // The ID of the requester VPC. VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` }
func (GetVpcPeerConnectionAttributeResponseBodyVpc) GoString ¶
func (s GetVpcPeerConnectionAttributeResponseBodyVpc) GoString() string
func (*GetVpcPeerConnectionAttributeResponseBodyVpc) SetIpv4Cidrs ¶
func (s *GetVpcPeerConnectionAttributeResponseBodyVpc) SetIpv4Cidrs(v []*string) *GetVpcPeerConnectionAttributeResponseBodyVpc
func (*GetVpcPeerConnectionAttributeResponseBodyVpc) SetIpv6Cidrs ¶
func (s *GetVpcPeerConnectionAttributeResponseBodyVpc) SetIpv6Cidrs(v []*string) *GetVpcPeerConnectionAttributeResponseBodyVpc
func (*GetVpcPeerConnectionAttributeResponseBodyVpc) SetVpcId ¶
func (s *GetVpcPeerConnectionAttributeResponseBodyVpc) SetVpcId(v string) *GetVpcPeerConnectionAttributeResponseBodyVpc
func (GetVpcPeerConnectionAttributeResponseBodyVpc) String ¶
func (s GetVpcPeerConnectionAttributeResponseBodyVpc) String() string
type ListTagResourcesRequest ¶
type ListTagResourcesRequest struct { // The number of entries to return on each page. Valid values: **1** to **50**. Default value: **50**. MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"` // The token that is used for the next query. Valid values: // // * If this is your first query or no subsequent query is to be sent, ignore this parameter. // * If a next query is to be sent, set the value to the value of **NextToken** that is returned in the last call. NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` // The region ID of the resource. // // You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // Deprecated // The resource ID. ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"` // The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection. ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` // Deprecated // The tags. Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` }
func (ListTagResourcesRequest) GoString ¶
func (s ListTagResourcesRequest) GoString() string
func (*ListTagResourcesRequest) SetMaxResults ¶
func (s *ListTagResourcesRequest) SetMaxResults(v int32) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetNextToken ¶
func (s *ListTagResourcesRequest) SetNextToken(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetRegionId ¶
func (s *ListTagResourcesRequest) SetRegionId(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetResourceId ¶
func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetResourceType ¶
func (s *ListTagResourcesRequest) SetResourceType(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetTag ¶
func (s *ListTagResourcesRequest) SetTag(v []*ListTagResourcesRequestTag) *ListTagResourcesRequest
func (ListTagResourcesRequest) String ¶
func (s ListTagResourcesRequest) String() string
type ListTagResourcesRequestTag ¶
type ListTagResourcesRequestTag struct { // The key of the tag that is added to the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string. // // The key can be up to 64 characters in length and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The key must start with a letter but cannot start with `aliyun` or `acs:`. The key cannot contain `http://` or `https://`. // // > Specify at least one of the **ResourceId.N** and **Tag.N** parameters (**Tag.N.Key** and **Tag.N.Value**). Key *string `json:"Key,omitempty" xml:"Key,omitempty"` // The value of the tag that is added to the resource. You can specify up to 20 tag values. It can be an empty string. // // The value can be up to 128 characters in length and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The value must start with a letter but cannot start with `aliyun` or `acs:`. The value cannot contain `http://` or `https://`. // // > Specify at least one of the **ResourceId.N** and **Tag.N** parameters (**Tag.N.Key** and **Tag.N.Value**). Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (ListTagResourcesRequestTag) GoString ¶
func (s ListTagResourcesRequestTag) GoString() string
func (*ListTagResourcesRequestTag) SetKey ¶
func (s *ListTagResourcesRequestTag) SetKey(v string) *ListTagResourcesRequestTag
func (*ListTagResourcesRequestTag) SetValue ¶
func (s *ListTagResourcesRequestTag) SetValue(v string) *ListTagResourcesRequestTag
func (ListTagResourcesRequestTag) String ¶
func (s ListTagResourcesRequestTag) String() string
type ListTagResourcesResponse ¶
type ListTagResourcesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListTagResourcesResponse) GoString ¶
func (s ListTagResourcesResponse) GoString() string
func (*ListTagResourcesResponse) SetBody ¶
func (s *ListTagResourcesResponse) SetBody(v *ListTagResourcesResponseBody) *ListTagResourcesResponse
func (*ListTagResourcesResponse) SetHeaders ¶
func (s *ListTagResourcesResponse) SetHeaders(v map[string]*string) *ListTagResourcesResponse
func (*ListTagResourcesResponse) SetStatusCode ¶
func (s *ListTagResourcesResponse) SetStatusCode(v int32) *ListTagResourcesResponse
func (ListTagResourcesResponse) String ¶
func (s ListTagResourcesResponse) String() string
type ListTagResourcesResponseBody ¶
type ListTagResourcesResponseBody struct { // The number of entries returned per page. MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"` // The token that is used for the next query. Valid values: // // * If **NextToken** is empty, it indicates that no next query is to be sent. // * If **NextToken** is returned, the value indicates the token that is used for the next query. NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` // The ID of the request. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The resources to which the tags are added. TagResources []*ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Repeated"` }
func (ListTagResourcesResponseBody) GoString ¶
func (s ListTagResourcesResponseBody) GoString() string
func (*ListTagResourcesResponseBody) SetMaxResults ¶
func (s *ListTagResourcesResponseBody) SetMaxResults(v int32) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetNextToken ¶
func (s *ListTagResourcesResponseBody) SetNextToken(v string) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetRequestId ¶
func (s *ListTagResourcesResponseBody) SetRequestId(v string) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetTagResources ¶
func (s *ListTagResourcesResponseBody) SetTagResources(v []*ListTagResourcesResponseBodyTagResources) *ListTagResourcesResponseBody
func (ListTagResourcesResponseBody) String ¶
func (s ListTagResourcesResponseBody) String() string
type ListTagResourcesResponseBodyTagResources ¶
type ListTagResourcesResponseBodyTagResources struct { // The region of the requester VPC. RegionNo *string `json:"RegionNo,omitempty" xml:"RegionNo,omitempty"` // The ID of the resource. ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"` // The type of the resource. The value is set to **PeerConnection**, which indicates a VPC peering connection. ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` // The tag key. TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"` // The tag value. TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"` }
func (ListTagResourcesResponseBodyTagResources) GoString ¶
func (s ListTagResourcesResponseBodyTagResources) GoString() string
func (*ListTagResourcesResponseBodyTagResources) SetRegionNo ¶
func (s *ListTagResourcesResponseBodyTagResources) SetRegionNo(v string) *ListTagResourcesResponseBodyTagResources
func (*ListTagResourcesResponseBodyTagResources) SetResourceId ¶
func (s *ListTagResourcesResponseBodyTagResources) SetResourceId(v string) *ListTagResourcesResponseBodyTagResources
func (*ListTagResourcesResponseBodyTagResources) SetResourceType ¶
func (s *ListTagResourcesResponseBodyTagResources) SetResourceType(v string) *ListTagResourcesResponseBodyTagResources
func (*ListTagResourcesResponseBodyTagResources) SetTagKey ¶
func (s *ListTagResourcesResponseBodyTagResources) SetTagKey(v string) *ListTagResourcesResponseBodyTagResources
func (*ListTagResourcesResponseBodyTagResources) SetTagValue ¶
func (s *ListTagResourcesResponseBodyTagResources) SetTagValue(v string) *ListTagResourcesResponseBodyTagResources
func (ListTagResourcesResponseBodyTagResources) String ¶
func (s ListTagResourcesResponseBodyTagResources) String() string
type ListVpcPeerConnectionsRequest ¶
type ListVpcPeerConnectionsRequest struct { // The ID of the VPC peering connection that you want to query. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The number of entries to return per page. Valid values: **1** to **100**. Default value: **20**. MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"` // The name of the VPC peering connection that you want to query. Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The token that is used for the next query. Valid values: // // * You do not need to specify this parameter for the first request. // * You must specify the token that is obtained from the previous query as the value of NextToken. NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` // The ID of the region where you want to query VPC peering connections. // // You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The ID of the resource group. // // For more information about resource groups, see [What is a resource group?](~~94475~~) ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` // The tags. Tags []*ListVpcPeerConnectionsRequestTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"` // The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query. VpcId []*string `json:"VpcId,omitempty" xml:"VpcId,omitempty" type:"Repeated"` }
func (ListVpcPeerConnectionsRequest) GoString ¶
func (s ListVpcPeerConnectionsRequest) GoString() string
func (*ListVpcPeerConnectionsRequest) SetInstanceId ¶
func (s *ListVpcPeerConnectionsRequest) SetInstanceId(v string) *ListVpcPeerConnectionsRequest
func (*ListVpcPeerConnectionsRequest) SetMaxResults ¶
func (s *ListVpcPeerConnectionsRequest) SetMaxResults(v int32) *ListVpcPeerConnectionsRequest
func (*ListVpcPeerConnectionsRequest) SetName ¶
func (s *ListVpcPeerConnectionsRequest) SetName(v string) *ListVpcPeerConnectionsRequest
func (*ListVpcPeerConnectionsRequest) SetNextToken ¶
func (s *ListVpcPeerConnectionsRequest) SetNextToken(v string) *ListVpcPeerConnectionsRequest
func (*ListVpcPeerConnectionsRequest) SetRegionId ¶
func (s *ListVpcPeerConnectionsRequest) SetRegionId(v string) *ListVpcPeerConnectionsRequest
func (*ListVpcPeerConnectionsRequest) SetResourceGroupId ¶
func (s *ListVpcPeerConnectionsRequest) SetResourceGroupId(v string) *ListVpcPeerConnectionsRequest
func (*ListVpcPeerConnectionsRequest) SetTags ¶
func (s *ListVpcPeerConnectionsRequest) SetTags(v []*ListVpcPeerConnectionsRequestTags) *ListVpcPeerConnectionsRequest
func (*ListVpcPeerConnectionsRequest) SetVpcId ¶
func (s *ListVpcPeerConnectionsRequest) SetVpcId(v []*string) *ListVpcPeerConnectionsRequest
func (ListVpcPeerConnectionsRequest) String ¶
func (s ListVpcPeerConnectionsRequest) String() string
type ListVpcPeerConnectionsRequestTags ¶
type ListVpcPeerConnectionsRequestTags struct { // The tag key. You can specify at most 20 tag keys. It cannot be an empty string. // // The key cannot exceed 64 characters in length, and can contain digits, periods (.), underscores (\_), and hyphens (-). The key must start with a letter but cannot start with `aliyun` or `acs:`. The key cannot contain `http://` or `https://`. Key *string `json:"Key,omitempty" xml:"Key,omitempty"` // The tag value. You can specify at most 20 tag values. The tag key can be an empty string. // // The tag value cannot exceed 128 characters in length, and can contain digits, periods (.), underscores (\_), and hyphens (-). The key must start with a letter but cannot start with `aliyun` or `acs:`. The key cannot contain `http://` or `https://`. Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (ListVpcPeerConnectionsRequestTags) GoString ¶
func (s ListVpcPeerConnectionsRequestTags) GoString() string
func (*ListVpcPeerConnectionsRequestTags) SetKey ¶
func (s *ListVpcPeerConnectionsRequestTags) SetKey(v string) *ListVpcPeerConnectionsRequestTags
func (*ListVpcPeerConnectionsRequestTags) SetValue ¶
func (s *ListVpcPeerConnectionsRequestTags) SetValue(v string) *ListVpcPeerConnectionsRequestTags
func (ListVpcPeerConnectionsRequestTags) String ¶
func (s ListVpcPeerConnectionsRequestTags) String() string
type ListVpcPeerConnectionsResponse ¶
type ListVpcPeerConnectionsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListVpcPeerConnectionsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListVpcPeerConnectionsResponse) GoString ¶
func (s ListVpcPeerConnectionsResponse) GoString() string
func (*ListVpcPeerConnectionsResponse) SetBody ¶
func (s *ListVpcPeerConnectionsResponse) SetBody(v *ListVpcPeerConnectionsResponseBody) *ListVpcPeerConnectionsResponse
func (*ListVpcPeerConnectionsResponse) SetHeaders ¶
func (s *ListVpcPeerConnectionsResponse) SetHeaders(v map[string]*string) *ListVpcPeerConnectionsResponse
func (*ListVpcPeerConnectionsResponse) SetStatusCode ¶
func (s *ListVpcPeerConnectionsResponse) SetStatusCode(v int32) *ListVpcPeerConnectionsResponse
func (ListVpcPeerConnectionsResponse) String ¶
func (s ListVpcPeerConnectionsResponse) String() string
type ListVpcPeerConnectionsResponseBody ¶
type ListVpcPeerConnectionsResponseBody struct { // The number of entries per page. Valid values: **1** to **100**. Default value: **20**. MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"` // The token that is used for the next query. Valid values: // // * If no value is returned for **NextToken**, no next queries are sent. // * If the value of **NextToken** is returned, the value indicates the token that is used for the next query. NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` // The request ID. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The number of entries returned. TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` // The details of the VPC peering connections. VpcPeerConnects []*ListVpcPeerConnectionsResponseBodyVpcPeerConnects `json:"VpcPeerConnects,omitempty" xml:"VpcPeerConnects,omitempty" type:"Repeated"` }
func (ListVpcPeerConnectionsResponseBody) GoString ¶
func (s ListVpcPeerConnectionsResponseBody) GoString() string
func (*ListVpcPeerConnectionsResponseBody) SetMaxResults ¶
func (s *ListVpcPeerConnectionsResponseBody) SetMaxResults(v int32) *ListVpcPeerConnectionsResponseBody
func (*ListVpcPeerConnectionsResponseBody) SetNextToken ¶
func (s *ListVpcPeerConnectionsResponseBody) SetNextToken(v string) *ListVpcPeerConnectionsResponseBody
func (*ListVpcPeerConnectionsResponseBody) SetRequestId ¶
func (s *ListVpcPeerConnectionsResponseBody) SetRequestId(v string) *ListVpcPeerConnectionsResponseBody
func (*ListVpcPeerConnectionsResponseBody) SetTotalCount ¶
func (s *ListVpcPeerConnectionsResponseBody) SetTotalCount(v int32) *ListVpcPeerConnectionsResponseBody
func (*ListVpcPeerConnectionsResponseBody) SetVpcPeerConnects ¶
func (s *ListVpcPeerConnectionsResponseBody) SetVpcPeerConnects(v []*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) *ListVpcPeerConnectionsResponseBody
func (ListVpcPeerConnectionsResponseBody) String ¶
func (s ListVpcPeerConnectionsResponseBody) String() string
type ListVpcPeerConnectionsResponseBodyVpcPeerConnects ¶
type ListVpcPeerConnectionsResponseBodyVpcPeerConnects struct { // The ID of the Alibaba Cloud account to which the accepter VPC belongs. AcceptingOwnerUid *int64 `json:"AcceptingOwnerUid,omitempty" xml:"AcceptingOwnerUid,omitempty"` // The region ID of the accepter VPC. AcceptingRegionId *string `json:"AcceptingRegionId,omitempty" xml:"AcceptingRegionId,omitempty"` // The details of the accepter VPC. AcceptingVpc *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc `json:"AcceptingVpc,omitempty" xml:"AcceptingVpc,omitempty" type:"Struct"` // The bandwidth of the VPC peering connection. Unit: Mbit/s. The value is an integer greater than 0. // // > If the value is set to -1, it indicates that no limit is imposed on the bandwidth. // // Default value: // // * The default bandwidth of an inter-region VPC peering connection is **1024** Mbit/s. // * The default bandwidth of an intra-region VPC peering connection is **-1** Mbit/s. Bandwidth *int32 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` // The business status of the VPC peering connection. Valid values: // // * **Normal** // * **FinancialLocked** BizStatus *string `json:"BizStatus,omitempty" xml:"BizStatus,omitempty"` // The description of the VPC peering connection. Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The time when the VPC peering connection was created. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC. GmtCreate *string `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"` // The expiration time of the VPC peering connection. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC. // // The expiration time is returned only when the **Status** of the VPC peering connection is **Accepting** or **Expired**. Otherwise, **null** is returned. GmtExpired *string `json:"GmtExpired,omitempty" xml:"GmtExpired,omitempty"` // The time when the VPC peering connection was modified. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC. GmtModified *string `json:"GmtModified,omitempty" xml:"GmtModified,omitempty"` // The ID of the VPC peering connection. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The name of the VPC peering connection. Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The ID of the Alibaba Cloud account to which the requester VPC belongs. OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"` // The region ID of the requester VPC. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The ID of the resource group. ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` // The status of the VPC peering connection. Valid values: // // * **Creating** // * **Accepting** // * **Updating** // * **Rejected** // * **Expired** // * **Activated** // * **Deleting** // * **Deleted** // // For more information about the status of VPC peering connections, see [Overview of VPC peering connections](~~418507~~). Status *string `json:"Status,omitempty" xml:"Status,omitempty"` // The tag list. Tags []*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"` // The details of the requester VPC. Vpc *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc `json:"Vpc,omitempty" xml:"Vpc,omitempty" type:"Struct"` }
func (ListVpcPeerConnectionsResponseBodyVpcPeerConnects) GoString ¶
func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnects) GoString() string
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingOwnerUid ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingOwnerUid(v int64) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingRegionId ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingRegionId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingVpc ¶
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetBandwidth ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetBandwidth(v int32) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetBizStatus ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetBizStatus(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetDescription ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetDescription(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtCreate ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtCreate(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtExpired ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtExpired(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtModified ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtModified(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetInstanceId ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetInstanceId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetOwnerId ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetOwnerId(v int64) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetRegionId ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetRegionId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetResourceGroupId ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetResourceGroupId(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetStatus ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetStatus(v string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnects
func (ListVpcPeerConnectionsResponseBodyVpcPeerConnects) String ¶
func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnects) String() string
type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc ¶
type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc struct { // The CIDR block of the accepter VPC. Ipv4Cidrs []*string `json:"Ipv4Cidrs,omitempty" xml:"Ipv4Cidrs,omitempty" type:"Repeated"` // The IPv6 CIDR block of the accepter VPC. Ipv6Cidrs []*string `json:"Ipv6Cidrs,omitempty" xml:"Ipv6Cidrs,omitempty" type:"Repeated"` // The ID of the accepter VPC. VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` }
func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) GoString ¶
func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) GoString() string
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetIpv4Cidrs ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetIpv4Cidrs(v []*string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetIpv6Cidrs ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetIpv6Cidrs(v []*string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc
func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) String ¶
func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) String() string
type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags ¶
type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags struct { // The tag key. Key *string `json:"Key,omitempty" xml:"Key,omitempty"` // The tag value. Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) GoString ¶
func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) GoString() string
func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) String ¶
func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) String() string
type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc ¶
type ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc struct { // The CIDR block of the requester VPC. Ipv4Cidrs []*string `json:"Ipv4Cidrs,omitempty" xml:"Ipv4Cidrs,omitempty" type:"Repeated"` // The IPv6 CIDR block of the requester VPC. Ipv6Cidrs []*string `json:"Ipv6Cidrs,omitempty" xml:"Ipv6Cidrs,omitempty" type:"Repeated"` // The ID of the requester VPC. VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` }
func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) GoString ¶
func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) GoString() string
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetIpv4Cidrs ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetIpv4Cidrs(v []*string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc
func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetIpv6Cidrs ¶
func (s *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetIpv6Cidrs(v []*string) *ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc
func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) String ¶
func (s ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) String() string
type ListVpcPeerConnectionsShrinkRequest ¶
type ListVpcPeerConnectionsShrinkRequest struct { // The ID of the VPC peering connection that you want to query. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The number of entries to return per page. Valid values: **1** to **100**. Default value: **20**. MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"` // The name of the VPC peering connection that you want to query. Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The token that is used for the next query. Valid values: // // * You do not need to specify this parameter for the first request. // * You must specify the token that is obtained from the previous query as the value of NextToken. NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` // The ID of the region where you want to query VPC peering connections. // // You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The ID of the resource group. // // For more information about resource groups, see [What is a resource group?](~~94475~~) ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` // The tags. Tags []*ListVpcPeerConnectionsShrinkRequestTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"` // The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query. VpcIdShrink *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` }
func (ListVpcPeerConnectionsShrinkRequest) GoString ¶
func (s ListVpcPeerConnectionsShrinkRequest) GoString() string
func (*ListVpcPeerConnectionsShrinkRequest) SetInstanceId ¶
func (s *ListVpcPeerConnectionsShrinkRequest) SetInstanceId(v string) *ListVpcPeerConnectionsShrinkRequest
func (*ListVpcPeerConnectionsShrinkRequest) SetMaxResults ¶
func (s *ListVpcPeerConnectionsShrinkRequest) SetMaxResults(v int32) *ListVpcPeerConnectionsShrinkRequest
func (*ListVpcPeerConnectionsShrinkRequest) SetName ¶
func (s *ListVpcPeerConnectionsShrinkRequest) SetName(v string) *ListVpcPeerConnectionsShrinkRequest
func (*ListVpcPeerConnectionsShrinkRequest) SetNextToken ¶
func (s *ListVpcPeerConnectionsShrinkRequest) SetNextToken(v string) *ListVpcPeerConnectionsShrinkRequest
func (*ListVpcPeerConnectionsShrinkRequest) SetRegionId ¶
func (s *ListVpcPeerConnectionsShrinkRequest) SetRegionId(v string) *ListVpcPeerConnectionsShrinkRequest
func (*ListVpcPeerConnectionsShrinkRequest) SetResourceGroupId ¶
func (s *ListVpcPeerConnectionsShrinkRequest) SetResourceGroupId(v string) *ListVpcPeerConnectionsShrinkRequest
func (*ListVpcPeerConnectionsShrinkRequest) SetVpcIdShrink ¶
func (s *ListVpcPeerConnectionsShrinkRequest) SetVpcIdShrink(v string) *ListVpcPeerConnectionsShrinkRequest
func (ListVpcPeerConnectionsShrinkRequest) String ¶
func (s ListVpcPeerConnectionsShrinkRequest) String() string
type ListVpcPeerConnectionsShrinkRequestTags ¶
type ListVpcPeerConnectionsShrinkRequestTags struct { // The tag key. You can specify at most 20 tag keys. It cannot be an empty string. // // The key cannot exceed 64 characters in length, and can contain digits, periods (.), underscores (\_), and hyphens (-). The key must start with a letter but cannot start with `aliyun` or `acs:`. The key cannot contain `http://` or `https://`. Key *string `json:"Key,omitempty" xml:"Key,omitempty"` // The tag value. You can specify at most 20 tag values. The tag key can be an empty string. // // The tag value cannot exceed 128 characters in length, and can contain digits, periods (.), underscores (\_), and hyphens (-). The key must start with a letter but cannot start with `aliyun` or `acs:`. The key cannot contain `http://` or `https://`. Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (ListVpcPeerConnectionsShrinkRequestTags) GoString ¶
func (s ListVpcPeerConnectionsShrinkRequestTags) GoString() string
func (*ListVpcPeerConnectionsShrinkRequestTags) SetKey ¶
func (s *ListVpcPeerConnectionsShrinkRequestTags) SetKey(v string) *ListVpcPeerConnectionsShrinkRequestTags
func (*ListVpcPeerConnectionsShrinkRequestTags) SetValue ¶
func (s *ListVpcPeerConnectionsShrinkRequestTags) SetValue(v string) *ListVpcPeerConnectionsShrinkRequestTags
func (ListVpcPeerConnectionsShrinkRequestTags) String ¶
func (s ListVpcPeerConnectionsShrinkRequestTags) String() string
type ModifyVpcPeerConnectionRequest ¶
type ModifyVpcPeerConnectionRequest struct { // The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Bandwidth *int32 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` // The client token that is used to ensure the idempotence of the request. // // You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters. // // > If you do not specify this parameter, the system uses **RequestId** as **ClientToken**. **RequestId** may be different for each API request. ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"` // The new description of the VPC peering connection. // // The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`. Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // Specifies whether to only precheck the request. Valid values: // // * **true**: checks the request without performing the operation. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned. // * **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed. DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The ID of the VPC peering connection whose name or description you want to modify. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` // The new name of the VPC peering connection. // // The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`. Name *string `json:"Name,omitempty" xml:"Name,omitempty"` }
func (ModifyVpcPeerConnectionRequest) GoString ¶
func (s ModifyVpcPeerConnectionRequest) GoString() string
func (*ModifyVpcPeerConnectionRequest) SetBandwidth ¶
func (s *ModifyVpcPeerConnectionRequest) SetBandwidth(v int32) *ModifyVpcPeerConnectionRequest
func (*ModifyVpcPeerConnectionRequest) SetClientToken ¶
func (s *ModifyVpcPeerConnectionRequest) SetClientToken(v string) *ModifyVpcPeerConnectionRequest
func (*ModifyVpcPeerConnectionRequest) SetDescription ¶
func (s *ModifyVpcPeerConnectionRequest) SetDescription(v string) *ModifyVpcPeerConnectionRequest
func (*ModifyVpcPeerConnectionRequest) SetDryRun ¶
func (s *ModifyVpcPeerConnectionRequest) SetDryRun(v bool) *ModifyVpcPeerConnectionRequest
func (*ModifyVpcPeerConnectionRequest) SetInstanceId ¶
func (s *ModifyVpcPeerConnectionRequest) SetInstanceId(v string) *ModifyVpcPeerConnectionRequest
func (*ModifyVpcPeerConnectionRequest) SetName ¶
func (s *ModifyVpcPeerConnectionRequest) SetName(v string) *ModifyVpcPeerConnectionRequest
func (ModifyVpcPeerConnectionRequest) String ¶
func (s ModifyVpcPeerConnectionRequest) String() string
type ModifyVpcPeerConnectionResponse ¶
type ModifyVpcPeerConnectionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ModifyVpcPeerConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ModifyVpcPeerConnectionResponse) GoString ¶
func (s ModifyVpcPeerConnectionResponse) GoString() string
func (*ModifyVpcPeerConnectionResponse) SetBody ¶
func (s *ModifyVpcPeerConnectionResponse) SetBody(v *ModifyVpcPeerConnectionResponseBody) *ModifyVpcPeerConnectionResponse
func (*ModifyVpcPeerConnectionResponse) SetHeaders ¶
func (s *ModifyVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *ModifyVpcPeerConnectionResponse
func (*ModifyVpcPeerConnectionResponse) SetStatusCode ¶
func (s *ModifyVpcPeerConnectionResponse) SetStatusCode(v int32) *ModifyVpcPeerConnectionResponse
func (ModifyVpcPeerConnectionResponse) String ¶
func (s ModifyVpcPeerConnectionResponse) String() string
type ModifyVpcPeerConnectionResponseBody ¶
type ModifyVpcPeerConnectionResponseBody struct { // The ID of the request. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (ModifyVpcPeerConnectionResponseBody) GoString ¶
func (s ModifyVpcPeerConnectionResponseBody) GoString() string
func (*ModifyVpcPeerConnectionResponseBody) SetRequestId ¶
func (s *ModifyVpcPeerConnectionResponseBody) SetRequestId(v string) *ModifyVpcPeerConnectionResponseBody
func (ModifyVpcPeerConnectionResponseBody) String ¶
func (s ModifyVpcPeerConnectionResponseBody) String() string
type MoveResourceGroupRequest ¶
type MoveResourceGroupRequest struct { // The ID of the new resource group. // // > You can use resource groups to manage resources owned by your Alibaba Cloud account. Resource groups simplify the resource and permission management of your Alibaba Cloud account. For more information, see [What is resource management?](~~94475~~). NewResourceGroupId *string `json:"NewResourceGroupId,omitempty" xml:"NewResourceGroupId,omitempty"` // The ID of the region to which the resource belongs. // // You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The ID of the VPC peering connection. ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"` // The resource type. Set the value to **PeerConnection**, which specifies a VPC peering connection. ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` }
func (MoveResourceGroupRequest) GoString ¶
func (s MoveResourceGroupRequest) GoString() string
func (*MoveResourceGroupRequest) SetNewResourceGroupId ¶
func (s *MoveResourceGroupRequest) SetNewResourceGroupId(v string) *MoveResourceGroupRequest
func (*MoveResourceGroupRequest) SetRegionId ¶
func (s *MoveResourceGroupRequest) SetRegionId(v string) *MoveResourceGroupRequest
func (*MoveResourceGroupRequest) SetResourceId ¶
func (s *MoveResourceGroupRequest) SetResourceId(v string) *MoveResourceGroupRequest
func (*MoveResourceGroupRequest) SetResourceType ¶
func (s *MoveResourceGroupRequest) SetResourceType(v string) *MoveResourceGroupRequest
func (MoveResourceGroupRequest) String ¶
func (s MoveResourceGroupRequest) String() string
type MoveResourceGroupResponse ¶
type MoveResourceGroupResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *MoveResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (MoveResourceGroupResponse) GoString ¶
func (s MoveResourceGroupResponse) GoString() string
func (*MoveResourceGroupResponse) SetBody ¶
func (s *MoveResourceGroupResponse) SetBody(v *MoveResourceGroupResponseBody) *MoveResourceGroupResponse
func (*MoveResourceGroupResponse) SetHeaders ¶
func (s *MoveResourceGroupResponse) SetHeaders(v map[string]*string) *MoveResourceGroupResponse
func (*MoveResourceGroupResponse) SetStatusCode ¶
func (s *MoveResourceGroupResponse) SetStatusCode(v int32) *MoveResourceGroupResponse
func (MoveResourceGroupResponse) String ¶
func (s MoveResourceGroupResponse) String() string
type MoveResourceGroupResponseBody ¶
type MoveResourceGroupResponseBody struct { // The request ID. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // Indicates whether the operation is successful. Valid values: // // * **true** // * **false** Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (MoveResourceGroupResponseBody) GoString ¶
func (s MoveResourceGroupResponseBody) GoString() string
func (*MoveResourceGroupResponseBody) SetRequestId ¶
func (s *MoveResourceGroupResponseBody) SetRequestId(v string) *MoveResourceGroupResponseBody
func (*MoveResourceGroupResponseBody) SetSuccess ¶
func (s *MoveResourceGroupResponseBody) SetSuccess(v bool) *MoveResourceGroupResponseBody
func (MoveResourceGroupResponseBody) String ¶
func (s MoveResourceGroupResponseBody) String() string
type RejectVpcPeerConnectionRequest ¶
type RejectVpcPeerConnectionRequest struct { // The client token that is used to ensure the idempotence of the request. // // You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters. // // > If you do not set this parameter, the system uses **RequestId** as **ClientToken**. The value of **RequestId** for each API request may be different. ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"` // Specifies whether to check the request without performing the operation. Valid values: // // * **true**: checks the request without performing the operation. The system checks the required parameters, request syntax, and limits. If the request fails to pass the check, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned. // * **false** (default): sends the request. If the request passes the check, an HTTP 2xx status code is returned and the operation is performed. DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The ID of the VPC peering connection to be rejected by the acceptor VPC. InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"` ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"` }
func (RejectVpcPeerConnectionRequest) GoString ¶
func (s RejectVpcPeerConnectionRequest) GoString() string
func (*RejectVpcPeerConnectionRequest) SetClientToken ¶
func (s *RejectVpcPeerConnectionRequest) SetClientToken(v string) *RejectVpcPeerConnectionRequest
func (*RejectVpcPeerConnectionRequest) SetDryRun ¶
func (s *RejectVpcPeerConnectionRequest) SetDryRun(v bool) *RejectVpcPeerConnectionRequest
func (*RejectVpcPeerConnectionRequest) SetInstanceId ¶
func (s *RejectVpcPeerConnectionRequest) SetInstanceId(v string) *RejectVpcPeerConnectionRequest
func (*RejectVpcPeerConnectionRequest) SetResourceOwnerAccount ¶
func (s *RejectVpcPeerConnectionRequest) SetResourceOwnerAccount(v string) *RejectVpcPeerConnectionRequest
func (RejectVpcPeerConnectionRequest) String ¶
func (s RejectVpcPeerConnectionRequest) String() string
type RejectVpcPeerConnectionResponse ¶
type RejectVpcPeerConnectionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *RejectVpcPeerConnectionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (RejectVpcPeerConnectionResponse) GoString ¶
func (s RejectVpcPeerConnectionResponse) GoString() string
func (*RejectVpcPeerConnectionResponse) SetBody ¶
func (s *RejectVpcPeerConnectionResponse) SetBody(v *RejectVpcPeerConnectionResponseBody) *RejectVpcPeerConnectionResponse
func (*RejectVpcPeerConnectionResponse) SetHeaders ¶
func (s *RejectVpcPeerConnectionResponse) SetHeaders(v map[string]*string) *RejectVpcPeerConnectionResponse
func (*RejectVpcPeerConnectionResponse) SetStatusCode ¶
func (s *RejectVpcPeerConnectionResponse) SetStatusCode(v int32) *RejectVpcPeerConnectionResponse
func (RejectVpcPeerConnectionResponse) String ¶
func (s RejectVpcPeerConnectionResponse) String() string
type RejectVpcPeerConnectionResponseBody ¶
type RejectVpcPeerConnectionResponseBody struct { // The ID of the request. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (RejectVpcPeerConnectionResponseBody) GoString ¶
func (s RejectVpcPeerConnectionResponseBody) GoString() string
func (*RejectVpcPeerConnectionResponseBody) SetRequestId ¶
func (s *RejectVpcPeerConnectionResponseBody) SetRequestId(v string) *RejectVpcPeerConnectionResponseBody
func (RejectVpcPeerConnectionResponseBody) String ¶
func (s RejectVpcPeerConnectionResponseBody) String() string
type TagResourcesRequest ¶
type TagResourcesRequest struct { // The client token that is used to ensure the idempotence of the request. // // You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters. // // > If you do not specify this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different. ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"` // The region ID of the resource to which you want to create and add tags. // // You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The IDs of resources. ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"` // The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection. ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` // The tags. Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` }
func (TagResourcesRequest) GoString ¶
func (s TagResourcesRequest) GoString() string
func (*TagResourcesRequest) SetClientToken ¶
func (s *TagResourcesRequest) SetClientToken(v string) *TagResourcesRequest
func (*TagResourcesRequest) SetRegionId ¶
func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest
func (*TagResourcesRequest) SetResourceId ¶
func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest
func (*TagResourcesRequest) SetResourceType ¶
func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest
func (*TagResourcesRequest) SetTag ¶
func (s *TagResourcesRequest) SetTag(v []*TagResourcesRequestTag) *TagResourcesRequest
func (TagResourcesRequest) String ¶
func (s TagResourcesRequest) String() string
type TagResourcesRequestTag ¶
type TagResourcesRequestTag struct { // The key of the tag. You must enter at least one tag key and at most 20 tag keys. The tag key cannot be an empty string. // // The key cannot exceed 64 characters in length, and can contain digits, periods (.), underscores (\_), and hyphens (-). The key must start with a letter but cannot start with `aliyun` or `acs:`. The key cannot contain `http://` or `https://`. Key *string `json:"Key,omitempty" xml:"Key,omitempty"` // The value of the tag. You must enter at least one tag value and at most 20 tag values. It can be an empty string. // // The tag value cannot exceed 128 characters in length, and can contain digits, periods (.), underscores (\_), and hyphens (-). It must start with a letter but cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`. Value *string `json:"Value,omitempty" xml:"Value,omitempty"` }
func (TagResourcesRequestTag) GoString ¶
func (s TagResourcesRequestTag) GoString() string
func (*TagResourcesRequestTag) SetKey ¶
func (s *TagResourcesRequestTag) SetKey(v string) *TagResourcesRequestTag
func (*TagResourcesRequestTag) SetValue ¶
func (s *TagResourcesRequestTag) SetValue(v string) *TagResourcesRequestTag
func (TagResourcesRequestTag) String ¶
func (s TagResourcesRequestTag) String() string
type TagResourcesResponse ¶
type TagResourcesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (TagResourcesResponse) GoString ¶
func (s TagResourcesResponse) GoString() string
func (*TagResourcesResponse) SetBody ¶
func (s *TagResourcesResponse) SetBody(v *TagResourcesResponseBody) *TagResourcesResponse
func (*TagResourcesResponse) SetHeaders ¶
func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse
func (*TagResourcesResponse) SetStatusCode ¶
func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse
func (TagResourcesResponse) String ¶
func (s TagResourcesResponse) String() string
type TagResourcesResponseBody ¶
type TagResourcesResponseBody struct { // The ID of the request. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // Indicates whether the operation is successful. Valid values: // // * **true**: yes // * **false**: no Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (TagResourcesResponseBody) GoString ¶
func (s TagResourcesResponseBody) GoString() string
func (*TagResourcesResponseBody) SetRequestId ¶
func (s *TagResourcesResponseBody) SetRequestId(v string) *TagResourcesResponseBody
func (*TagResourcesResponseBody) SetSuccess ¶
func (s *TagResourcesResponseBody) SetSuccess(v bool) *TagResourcesResponseBody
func (TagResourcesResponseBody) String ¶
func (s TagResourcesResponseBody) String() string
type UnTagResourcesRequest ¶
type UnTagResourcesRequest struct { // Specifies whether to remove all tags from the specified resource. Valid values: // // * **true**: removes all tags from the specified resource. // * **false**: does not remove all tags from the specified resource. This is the default value. All *bool `json:"All,omitempty" xml:"All,omitempty"` // The client token that is used to ensure the idempotence of the request. // // You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters. // // > If you do not specify this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different. ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"` // The region ID of the tag. // // You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list. RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` // The IDs of resources. ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"` // The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection. ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` // The tags. TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"` }
func (UnTagResourcesRequest) GoString ¶
func (s UnTagResourcesRequest) GoString() string
func (*UnTagResourcesRequest) SetAll ¶
func (s *UnTagResourcesRequest) SetAll(v bool) *UnTagResourcesRequest
func (*UnTagResourcesRequest) SetClientToken ¶
func (s *UnTagResourcesRequest) SetClientToken(v string) *UnTagResourcesRequest
func (*UnTagResourcesRequest) SetRegionId ¶
func (s *UnTagResourcesRequest) SetRegionId(v string) *UnTagResourcesRequest
func (*UnTagResourcesRequest) SetResourceId ¶
func (s *UnTagResourcesRequest) SetResourceId(v []*string) *UnTagResourcesRequest
func (*UnTagResourcesRequest) SetResourceType ¶
func (s *UnTagResourcesRequest) SetResourceType(v string) *UnTagResourcesRequest
func (*UnTagResourcesRequest) SetTagKey ¶
func (s *UnTagResourcesRequest) SetTagKey(v []*string) *UnTagResourcesRequest
func (UnTagResourcesRequest) String ¶
func (s UnTagResourcesRequest) String() string
type UnTagResourcesResponse ¶
type UnTagResourcesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UnTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UnTagResourcesResponse) GoString ¶
func (s UnTagResourcesResponse) GoString() string
func (*UnTagResourcesResponse) SetBody ¶
func (s *UnTagResourcesResponse) SetBody(v *UnTagResourcesResponseBody) *UnTagResourcesResponse
func (*UnTagResourcesResponse) SetHeaders ¶
func (s *UnTagResourcesResponse) SetHeaders(v map[string]*string) *UnTagResourcesResponse
func (*UnTagResourcesResponse) SetStatusCode ¶
func (s *UnTagResourcesResponse) SetStatusCode(v int32) *UnTagResourcesResponse
func (UnTagResourcesResponse) String ¶
func (s UnTagResourcesResponse) String() string
type UnTagResourcesResponseBody ¶
type UnTagResourcesResponseBody struct { // The ID of the request. RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // Indicates whether the tags are removed. Valid values: // // * **true**: yes // * **false**: no Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` }
func (UnTagResourcesResponseBody) GoString ¶
func (s UnTagResourcesResponseBody) GoString() string
func (*UnTagResourcesResponseBody) SetRequestId ¶
func (s *UnTagResourcesResponseBody) SetRequestId(v string) *UnTagResourcesResponseBody
func (*UnTagResourcesResponseBody) SetSuccess ¶
func (s *UnTagResourcesResponseBody) SetSuccess(v bool) *UnTagResourcesResponseBody
func (UnTagResourcesResponseBody) String ¶
func (s UnTagResourcesResponseBody) String() string
Click to show internal directories.
Click to hide internal directories.