client

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

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 (*AcceptVpcPeerConnectionRequest) SetClientToken

func (*AcceptVpcPeerConnectionRequest) SetDryRun

func (*AcceptVpcPeerConnectionRequest) SetInstanceId

func (*AcceptVpcPeerConnectionRequest) SetResourceGroupId

func (*AcceptVpcPeerConnectionRequest) SetResourceOwnerAccount

func (AcceptVpcPeerConnectionRequest) 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 (*AcceptVpcPeerConnectionResponse) SetHeaders

func (*AcceptVpcPeerConnectionResponse) SetStatusCode

func (AcceptVpcPeerConnectionResponse) String

type AcceptVpcPeerConnectionResponseBody

type AcceptVpcPeerConnectionResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AcceptVpcPeerConnectionResponseBody) GoString

func (*AcceptVpcPeerConnectionResponseBody) SetRequestId

func (AcceptVpcPeerConnectionResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

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 *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

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

func (client *Client) Init(config *openapi.Config) (_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 (*CreateVpcPeerConnectionRequest) SetAcceptingAliUid

func (*CreateVpcPeerConnectionRequest) SetAcceptingRegionId

func (*CreateVpcPeerConnectionRequest) SetAcceptingVpcId

func (*CreateVpcPeerConnectionRequest) SetBandwidth

func (*CreateVpcPeerConnectionRequest) SetClientToken

func (*CreateVpcPeerConnectionRequest) SetDescription

func (*CreateVpcPeerConnectionRequest) SetDryRun

func (*CreateVpcPeerConnectionRequest) SetName

func (*CreateVpcPeerConnectionRequest) SetRegionId

func (*CreateVpcPeerConnectionRequest) SetResourceGroupId

func (*CreateVpcPeerConnectionRequest) SetVpcId

func (CreateVpcPeerConnectionRequest) 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 (*CreateVpcPeerConnectionResponse) SetHeaders

func (*CreateVpcPeerConnectionResponse) SetStatusCode

func (CreateVpcPeerConnectionResponse) 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 (*CreateVpcPeerConnectionResponseBody) SetInstanceId

func (*CreateVpcPeerConnectionResponseBody) SetRequestId

func (CreateVpcPeerConnectionResponseBody) 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 (*DeleteVpcPeerConnectionRequest) SetClientToken

func (*DeleteVpcPeerConnectionRequest) SetDryRun

func (*DeleteVpcPeerConnectionRequest) SetForce

func (*DeleteVpcPeerConnectionRequest) SetInstanceId

func (DeleteVpcPeerConnectionRequest) 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 (*DeleteVpcPeerConnectionResponse) SetHeaders

func (*DeleteVpcPeerConnectionResponse) SetStatusCode

func (DeleteVpcPeerConnectionResponse) String

type DeleteVpcPeerConnectionResponseBody

type DeleteVpcPeerConnectionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteVpcPeerConnectionResponseBody) GoString

func (*DeleteVpcPeerConnectionResponseBody) SetRequestId

func (DeleteVpcPeerConnectionResponseBody) 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 (*GetVpcPeerConnectionAttributeRequest) SetInstanceId

func (*GetVpcPeerConnectionAttributeRequest) SetResourceOwnerAccount

func (GetVpcPeerConnectionAttributeRequest) 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 (*GetVpcPeerConnectionAttributeResponse) SetHeaders

func (*GetVpcPeerConnectionAttributeResponse) SetStatusCode

func (GetVpcPeerConnectionAttributeResponse) 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 (*GetVpcPeerConnectionAttributeResponseBody) SetAcceptingOwnerUid

func (*GetVpcPeerConnectionAttributeResponseBody) SetAcceptingRegionId

func (*GetVpcPeerConnectionAttributeResponseBody) SetBandwidth

func (*GetVpcPeerConnectionAttributeResponseBody) SetBizStatus

func (*GetVpcPeerConnectionAttributeResponseBody) SetDescription

func (*GetVpcPeerConnectionAttributeResponseBody) SetGmtCreate

func (*GetVpcPeerConnectionAttributeResponseBody) SetGmtExpired

func (*GetVpcPeerConnectionAttributeResponseBody) SetGmtModified

func (*GetVpcPeerConnectionAttributeResponseBody) SetInstanceId

func (*GetVpcPeerConnectionAttributeResponseBody) SetName

func (*GetVpcPeerConnectionAttributeResponseBody) SetOwnerId

func (*GetVpcPeerConnectionAttributeResponseBody) SetRegionId

func (*GetVpcPeerConnectionAttributeResponseBody) SetRequestId

func (*GetVpcPeerConnectionAttributeResponseBody) SetResourceGroupId

func (*GetVpcPeerConnectionAttributeResponseBody) SetStatus

func (GetVpcPeerConnectionAttributeResponseBody) 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 (*GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetIpv4Cidrs

func (*GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetIpv6Cidrs

func (*GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) SetVpcId

func (GetVpcPeerConnectionAttributeResponseBodyAcceptingVpc) 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 (*GetVpcPeerConnectionAttributeResponseBodyTags) SetKey

func (*GetVpcPeerConnectionAttributeResponseBodyTags) SetValue

func (GetVpcPeerConnectionAttributeResponseBodyTags) 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 (*GetVpcPeerConnectionAttributeResponseBodyVpc) SetIpv4Cidrs

func (*GetVpcPeerConnectionAttributeResponseBodyVpc) SetIpv6Cidrs

func (*GetVpcPeerConnectionAttributeResponseBodyVpc) SetVpcId

func (GetVpcPeerConnectionAttributeResponseBodyVpc) 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 (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetRegionId

func (*ListTagResourcesRequest) SetResourceId

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTag

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 (*ListTagResourcesRequestTag) SetValue

func (ListTagResourcesRequestTag) 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 (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

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 (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (*ListTagResourcesResponseBody) SetTagResources

func (ListTagResourcesResponseBody) 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 (*ListTagResourcesResponseBodyTagResources) SetRegionNo

func (*ListTagResourcesResponseBodyTagResources) SetResourceId

func (*ListTagResourcesResponseBodyTagResources) SetResourceType

func (*ListTagResourcesResponseBodyTagResources) SetTagKey

func (*ListTagResourcesResponseBodyTagResources) SetTagValue

func (ListTagResourcesResponseBodyTagResources) 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 (*ListVpcPeerConnectionsRequest) SetInstanceId

func (*ListVpcPeerConnectionsRequest) SetMaxResults

func (*ListVpcPeerConnectionsRequest) SetName

func (*ListVpcPeerConnectionsRequest) SetNextToken

func (*ListVpcPeerConnectionsRequest) SetRegionId

func (*ListVpcPeerConnectionsRequest) SetResourceGroupId

func (*ListVpcPeerConnectionsRequest) SetTags

func (*ListVpcPeerConnectionsRequest) SetVpcId

func (ListVpcPeerConnectionsRequest) 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 (*ListVpcPeerConnectionsRequestTags) SetKey

func (*ListVpcPeerConnectionsRequestTags) SetValue

func (ListVpcPeerConnectionsRequestTags) 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 (*ListVpcPeerConnectionsResponse) SetHeaders

func (*ListVpcPeerConnectionsResponse) SetStatusCode

func (ListVpcPeerConnectionsResponse) 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 (*ListVpcPeerConnectionsResponseBody) SetMaxResults

func (*ListVpcPeerConnectionsResponseBody) SetNextToken

func (*ListVpcPeerConnectionsResponseBody) SetRequestId

func (*ListVpcPeerConnectionsResponseBody) SetTotalCount

func (ListVpcPeerConnectionsResponseBody) 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 (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingOwnerUid

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetAcceptingRegionId

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetBandwidth

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetBizStatus

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetDescription

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtCreate

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtExpired

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetGmtModified

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetInstanceId

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetName

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetOwnerId

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetRegionId

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetResourceGroupId

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnects) SetStatus

func (ListVpcPeerConnectionsResponseBodyVpcPeerConnects) 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 (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetIpv4Cidrs

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetIpv6Cidrs

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) SetVpcId

func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsAcceptingVpc) 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 (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) SetKey

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) SetValue

func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsTags) 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 (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetIpv4Cidrs

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetIpv6Cidrs

func (*ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) SetVpcId

func (ListVpcPeerConnectionsResponseBodyVpcPeerConnectsVpc) 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 (*ListVpcPeerConnectionsShrinkRequest) SetInstanceId

func (*ListVpcPeerConnectionsShrinkRequest) SetMaxResults

func (*ListVpcPeerConnectionsShrinkRequest) SetName

func (*ListVpcPeerConnectionsShrinkRequest) SetNextToken

func (*ListVpcPeerConnectionsShrinkRequest) SetRegionId

func (*ListVpcPeerConnectionsShrinkRequest) SetResourceGroupId

func (*ListVpcPeerConnectionsShrinkRequest) SetVpcIdShrink

func (ListVpcPeerConnectionsShrinkRequest) 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 (*ListVpcPeerConnectionsShrinkRequestTags) SetKey

func (*ListVpcPeerConnectionsShrinkRequestTags) SetValue

func (ListVpcPeerConnectionsShrinkRequestTags) 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 (*ModifyVpcPeerConnectionRequest) SetBandwidth

func (*ModifyVpcPeerConnectionRequest) SetClientToken

func (*ModifyVpcPeerConnectionRequest) SetDescription

func (*ModifyVpcPeerConnectionRequest) SetDryRun

func (*ModifyVpcPeerConnectionRequest) SetInstanceId

func (*ModifyVpcPeerConnectionRequest) SetName

func (ModifyVpcPeerConnectionRequest) 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 (*ModifyVpcPeerConnectionResponse) SetHeaders

func (*ModifyVpcPeerConnectionResponse) SetStatusCode

func (ModifyVpcPeerConnectionResponse) String

type ModifyVpcPeerConnectionResponseBody

type ModifyVpcPeerConnectionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyVpcPeerConnectionResponseBody) GoString

func (*ModifyVpcPeerConnectionResponseBody) SetRequestId

func (ModifyVpcPeerConnectionResponseBody) 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 (*MoveResourceGroupRequest) SetResourceId

func (*MoveResourceGroupRequest) SetResourceType

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 (*MoveResourceGroupResponse) SetHeaders

func (*MoveResourceGroupResponse) SetStatusCode

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 (*MoveResourceGroupResponseBody) SetRequestId

func (*MoveResourceGroupResponseBody) SetSuccess

func (MoveResourceGroupResponseBody) 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 (*RejectVpcPeerConnectionRequest) SetClientToken

func (*RejectVpcPeerConnectionRequest) SetDryRun

func (*RejectVpcPeerConnectionRequest) SetInstanceId

func (*RejectVpcPeerConnectionRequest) SetResourceOwnerAccount

func (RejectVpcPeerConnectionRequest) 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 (*RejectVpcPeerConnectionResponse) SetHeaders

func (*RejectVpcPeerConnectionResponse) SetStatusCode

func (RejectVpcPeerConnectionResponse) String

type RejectVpcPeerConnectionResponseBody

type RejectVpcPeerConnectionResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RejectVpcPeerConnectionResponseBody) GoString

func (*RejectVpcPeerConnectionResponseBody) SetRequestId

func (RejectVpcPeerConnectionResponseBody) 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 (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 (*TagResourcesRequestTag) SetValue

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 (*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 (*TagResourcesResponseBody) SetSuccess

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 (*UnTagResourcesRequest) SetClientToken

func (s *UnTagResourcesRequest) SetClientToken(v string) *UnTagResourcesRequest

func (*UnTagResourcesRequest) SetRegionId

func (*UnTagResourcesRequest) SetResourceId

func (s *UnTagResourcesRequest) SetResourceId(v []*string) *UnTagResourcesRequest

func (*UnTagResourcesRequest) SetResourceType

func (s *UnTagResourcesRequest) SetResourceType(v string) *UnTagResourcesRequest

func (*UnTagResourcesRequest) SetTagKey

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 (*UnTagResourcesResponse) SetHeaders

func (*UnTagResourcesResponse) SetStatusCode

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 (*UnTagResourcesResponseBody) SetSuccess

func (UnTagResourcesResponseBody) String

Jump to

Keyboard shortcuts

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