yundun_bastionhost

package
v1.62.305 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	sdk.Client
}

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

func NewClient

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

NewClient creates a sdk client with environment variables Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func NewClientWithEcsRamRole

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

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-bastionhost instead

func (*Client) ConfigInstanceNetwork

func (client *Client) ConfigInstanceNetwork(request *ConfigInstanceNetworkRequest) (response *ConfigInstanceNetworkResponse, err error)

ConfigInstanceNetwork invokes the yundun_bastionhost.ConfigInstanceNetwork API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancenetwork.html

func (*Client) ConfigInstanceNetworkWithCallback

func (client *Client) ConfigInstanceNetworkWithCallback(request *ConfigInstanceNetworkRequest, callback func(response *ConfigInstanceNetworkResponse, err error)) <-chan int

ConfigInstanceNetworkWithCallback invokes the yundun_bastionhost.ConfigInstanceNetwork API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancenetwork.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ConfigInstanceNetworkWithChan

func (client *Client) ConfigInstanceNetworkWithChan(request *ConfigInstanceNetworkRequest) (<-chan *ConfigInstanceNetworkResponse, <-chan error)

ConfigInstanceNetworkWithChan invokes the yundun_bastionhost.ConfigInstanceNetwork API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancenetwork.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ConfigInstanceSecurityGroups

func (client *Client) ConfigInstanceSecurityGroups(request *ConfigInstanceSecurityGroupsRequest) (response *ConfigInstanceSecurityGroupsResponse, err error)

ConfigInstanceSecurityGroups invokes the yundun_bastionhost.ConfigInstanceSecurityGroups API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancesecuritygroups.html

func (*Client) ConfigInstanceSecurityGroupsWithCallback

func (client *Client) ConfigInstanceSecurityGroupsWithCallback(request *ConfigInstanceSecurityGroupsRequest, callback func(response *ConfigInstanceSecurityGroupsResponse, err error)) <-chan int

ConfigInstanceSecurityGroupsWithCallback invokes the yundun_bastionhost.ConfigInstanceSecurityGroups API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancesecuritygroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ConfigInstanceSecurityGroupsWithChan

func (client *Client) ConfigInstanceSecurityGroupsWithChan(request *ConfigInstanceSecurityGroupsRequest) (<-chan *ConfigInstanceSecurityGroupsResponse, <-chan error)

ConfigInstanceSecurityGroupsWithChan invokes the yundun_bastionhost.ConfigInstanceSecurityGroups API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancesecuritygroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ConfigInstanceWhiteList

func (client *Client) ConfigInstanceWhiteList(request *ConfigInstanceWhiteListRequest) (response *ConfigInstanceWhiteListResponse, err error)

ConfigInstanceWhiteList invokes the yundun_bastionhost.ConfigInstanceWhiteList API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancewhitelist.html

func (*Client) ConfigInstanceWhiteListWithCallback

func (client *Client) ConfigInstanceWhiteListWithCallback(request *ConfigInstanceWhiteListRequest, callback func(response *ConfigInstanceWhiteListResponse, err error)) <-chan int

ConfigInstanceWhiteListWithCallback invokes the yundun_bastionhost.ConfigInstanceWhiteList API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancewhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ConfigInstanceWhiteListWithChan

func (client *Client) ConfigInstanceWhiteListWithChan(request *ConfigInstanceWhiteListRequest) (<-chan *ConfigInstanceWhiteListResponse, <-chan error)

ConfigInstanceWhiteListWithChan invokes the yundun_bastionhost.ConfigInstanceWhiteList API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/configinstancewhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeGrant

func (client *Client) DescribeGrant(request *DescribeGrantRequest) (response *DescribeGrantResponse, err error)

DescribeGrant invokes the yundun_bastionhost.DescribeGrant API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describegrant.html

func (*Client) DescribeGrantWithCallback

func (client *Client) DescribeGrantWithCallback(request *DescribeGrantRequest, callback func(response *DescribeGrantResponse, err error)) <-chan int

DescribeGrantWithCallback invokes the yundun_bastionhost.DescribeGrant API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describegrant.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeGrantWithChan

func (client *Client) DescribeGrantWithChan(request *DescribeGrantRequest) (<-chan *DescribeGrantResponse, <-chan error)

DescribeGrantWithChan invokes the yundun_bastionhost.DescribeGrant API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describegrant.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstance

func (client *Client) DescribeInstance(request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)

DescribeInstance invokes the yundun_bastionhost.DescribeInstance API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstance.html

func (*Client) DescribeInstanceAttribute

func (client *Client) DescribeInstanceAttribute(request *DescribeInstanceAttributeRequest) (response *DescribeInstanceAttributeResponse, err error)

DescribeInstanceAttribute invokes the yundun_bastionhost.DescribeInstanceAttribute API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceattribute.html

func (*Client) DescribeInstanceAttributeWithCallback

func (client *Client) DescribeInstanceAttributeWithCallback(request *DescribeInstanceAttributeRequest, callback func(response *DescribeInstanceAttributeResponse, err error)) <-chan int

DescribeInstanceAttributeWithCallback invokes the yundun_bastionhost.DescribeInstanceAttribute API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceattribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceAttributeWithChan

func (client *Client) DescribeInstanceAttributeWithChan(request *DescribeInstanceAttributeRequest) (<-chan *DescribeInstanceAttributeResponse, <-chan error)

DescribeInstanceAttributeWithChan invokes the yundun_bastionhost.DescribeInstanceAttribute API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceattribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceBastionhost

func (client *Client) DescribeInstanceBastionhost(request *DescribeInstanceBastionhostRequest) (response *DescribeInstanceBastionhostResponse, err error)

DescribeInstanceBastionhost invokes the yundun_bastionhost.DescribeInstanceBastionhost API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstancebastionhost.html

func (*Client) DescribeInstanceBastionhostWithCallback

func (client *Client) DescribeInstanceBastionhostWithCallback(request *DescribeInstanceBastionhostRequest, callback func(response *DescribeInstanceBastionhostResponse, err error)) <-chan int

DescribeInstanceBastionhostWithCallback invokes the yundun_bastionhost.DescribeInstanceBastionhost API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstancebastionhost.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceBastionhostWithChan

func (client *Client) DescribeInstanceBastionhostWithChan(request *DescribeInstanceBastionhostRequest) (<-chan *DescribeInstanceBastionhostResponse, <-chan error)

DescribeInstanceBastionhostWithChan invokes the yundun_bastionhost.DescribeInstanceBastionhost API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstancebastionhost.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceLoginTicket

func (client *Client) DescribeInstanceLoginTicket(request *DescribeInstanceLoginTicketRequest) (response *DescribeInstanceLoginTicketResponse, err error)

DescribeInstanceLoginTicket invokes the yundun_bastionhost.DescribeInstanceLoginTicket API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceloginticket.html

func (*Client) DescribeInstanceLoginTicketWithCallback

func (client *Client) DescribeInstanceLoginTicketWithCallback(request *DescribeInstanceLoginTicketRequest, callback func(response *DescribeInstanceLoginTicketResponse, err error)) <-chan int

DescribeInstanceLoginTicketWithCallback invokes the yundun_bastionhost.DescribeInstanceLoginTicket API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceloginticket.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceLoginTicketWithChan

func (client *Client) DescribeInstanceLoginTicketWithChan(request *DescribeInstanceLoginTicketRequest) (<-chan *DescribeInstanceLoginTicketResponse, <-chan error)

DescribeInstanceLoginTicketWithChan invokes the yundun_bastionhost.DescribeInstanceLoginTicket API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceloginticket.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceOperationTicket

func (client *Client) DescribeInstanceOperationTicket(request *DescribeInstanceOperationTicketRequest) (response *DescribeInstanceOperationTicketResponse, err error)

DescribeInstanceOperationTicket invokes the yundun_bastionhost.DescribeInstanceOperationTicket API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceoperationticket.html

func (*Client) DescribeInstanceOperationTicketWithCallback

func (client *Client) DescribeInstanceOperationTicketWithCallback(request *DescribeInstanceOperationTicketRequest, callback func(response *DescribeInstanceOperationTicketResponse, err error)) <-chan int

DescribeInstanceOperationTicketWithCallback invokes the yundun_bastionhost.DescribeInstanceOperationTicket API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceoperationticket.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceOperationTicketWithChan

func (client *Client) DescribeInstanceOperationTicketWithChan(request *DescribeInstanceOperationTicketRequest) (<-chan *DescribeInstanceOperationTicketResponse, <-chan error)

DescribeInstanceOperationTicketWithChan invokes the yundun_bastionhost.DescribeInstanceOperationTicket API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstanceoperationticket.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceWithCallback

func (client *Client) DescribeInstanceWithCallback(request *DescribeInstanceRequest, callback func(response *DescribeInstanceResponse, err error)) <-chan int

DescribeInstanceWithCallback invokes the yundun_bastionhost.DescribeInstance API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstanceWithChan

func (client *Client) DescribeInstanceWithChan(request *DescribeInstanceRequest) (<-chan *DescribeInstanceResponse, <-chan error)

DescribeInstanceWithChan invokes the yundun_bastionhost.DescribeInstance API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstances

func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

DescribeInstances invokes the yundun_bastionhost.DescribeInstances API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstances.html

func (*Client) DescribeInstancesWithCallback

func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, callback func(response *DescribeInstancesResponse, err error)) <-chan int

DescribeInstancesWithCallback invokes the yundun_bastionhost.DescribeInstances API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeInstancesWithChan

func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error)

DescribeInstancesWithChan invokes the yundun_bastionhost.DescribeInstances API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeOpenService

func (client *Client) DescribeOpenService(request *DescribeOpenServiceRequest) (response *DescribeOpenServiceResponse, err error)

DescribeOpenService invokes the yundun_bastionhost.DescribeOpenService API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeopenservice.html

func (*Client) DescribeOpenServiceWithCallback

func (client *Client) DescribeOpenServiceWithCallback(request *DescribeOpenServiceRequest, callback func(response *DescribeOpenServiceResponse, err error)) <-chan int

DescribeOpenServiceWithCallback invokes the yundun_bastionhost.DescribeOpenService API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeopenservice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeOpenServiceWithChan

func (client *Client) DescribeOpenServiceWithChan(request *DescribeOpenServiceRequest) (<-chan *DescribeOpenServiceResponse, <-chan error)

DescribeOpenServiceWithChan invokes the yundun_bastionhost.DescribeOpenService API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeopenservice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the yundun_bastionhost.DescribeRegions API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeregions.html

func (*Client) DescribeRegionsWithCallback

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the yundun_bastionhost.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRegionsWithChan

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the yundun_bastionhost.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeResume

func (client *Client) DescribeResume(request *DescribeResumeRequest) (response *DescribeResumeResponse, err error)

DescribeResume invokes the yundun_bastionhost.DescribeResume API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeresume.html

func (*Client) DescribeResumeWithCallback

func (client *Client) DescribeResumeWithCallback(request *DescribeResumeRequest, callback func(response *DescribeResumeResponse, err error)) <-chan int

DescribeResumeWithCallback invokes the yundun_bastionhost.DescribeResume API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeresume.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeResumeWithChan

func (client *Client) DescribeResumeWithChan(request *DescribeResumeRequest) (<-chan *DescribeResumeResponse, <-chan error)

DescribeResumeWithChan invokes the yundun_bastionhost.DescribeResume API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describeresume.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeSyncInfo

func (client *Client) DescribeSyncInfo(request *DescribeSyncInfoRequest) (response *DescribeSyncInfoResponse, err error)

DescribeSyncInfo invokes the yundun_bastionhost.DescribeSyncInfo API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describesyncinfo.html

func (*Client) DescribeSyncInfoWithCallback

func (client *Client) DescribeSyncInfoWithCallback(request *DescribeSyncInfoRequest, callback func(response *DescribeSyncInfoResponse, err error)) <-chan int

DescribeSyncInfoWithCallback invokes the yundun_bastionhost.DescribeSyncInfo API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describesyncinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeSyncInfoWithChan

func (client *Client) DescribeSyncInfoWithChan(request *DescribeSyncInfoRequest) (<-chan *DescribeSyncInfoResponse, <-chan error)

DescribeSyncInfoWithChan invokes the yundun_bastionhost.DescribeSyncInfo API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/describesyncinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DisableInstancePublicAccess

func (client *Client) DisableInstancePublicAccess(request *DisableInstancePublicAccessRequest) (response *DisableInstancePublicAccessResponse, err error)

DisableInstancePublicAccess invokes the yundun_bastionhost.DisableInstancePublicAccess API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/disableinstancepublicaccess.html

func (*Client) DisableInstancePublicAccessWithCallback

func (client *Client) DisableInstancePublicAccessWithCallback(request *DisableInstancePublicAccessRequest, callback func(response *DisableInstancePublicAccessResponse, err error)) <-chan int

DisableInstancePublicAccessWithCallback invokes the yundun_bastionhost.DisableInstancePublicAccess API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/disableinstancepublicaccess.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DisableInstancePublicAccessWithChan

func (client *Client) DisableInstancePublicAccessWithChan(request *DisableInstancePublicAccessRequest) (<-chan *DisableInstancePublicAccessResponse, <-chan error)

DisableInstancePublicAccessWithChan invokes the yundun_bastionhost.DisableInstancePublicAccess API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/disableinstancepublicaccess.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) EnableInstancePublicAccess

func (client *Client) EnableInstancePublicAccess(request *EnableInstancePublicAccessRequest) (response *EnableInstancePublicAccessResponse, err error)

EnableInstancePublicAccess invokes the yundun_bastionhost.EnableInstancePublicAccess API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/enableinstancepublicaccess.html

func (*Client) EnableInstancePublicAccessWithCallback

func (client *Client) EnableInstancePublicAccessWithCallback(request *EnableInstancePublicAccessRequest, callback func(response *EnableInstancePublicAccessResponse, err error)) <-chan int

EnableInstancePublicAccessWithCallback invokes the yundun_bastionhost.EnableInstancePublicAccess API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/enableinstancepublicaccess.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) EnableInstancePublicAccessWithChan

func (client *Client) EnableInstancePublicAccessWithChan(request *EnableInstancePublicAccessRequest) (<-chan *EnableInstancePublicAccessResponse, <-chan error)

EnableInstancePublicAccessWithChan invokes the yundun_bastionhost.EnableInstancePublicAccess API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/enableinstancepublicaccess.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListTagKeys added in v1.60.291

func (client *Client) ListTagKeys(request *ListTagKeysRequest) (response *ListTagKeysResponse, err error)

ListTagKeys invokes the yundun_bastionhost.ListTagKeys API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/listtagkeys.html

func (*Client) ListTagKeysWithCallback added in v1.60.291

func (client *Client) ListTagKeysWithCallback(request *ListTagKeysRequest, callback func(response *ListTagKeysResponse, err error)) <-chan int

ListTagKeysWithCallback invokes the yundun_bastionhost.ListTagKeys API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/listtagkeys.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListTagKeysWithChan added in v1.60.291

func (client *Client) ListTagKeysWithChan(request *ListTagKeysRequest) (<-chan *ListTagKeysResponse, <-chan error)

ListTagKeysWithChan invokes the yundun_bastionhost.ListTagKeys API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/listtagkeys.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListTagResources added in v1.60.291

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

ListTagResources invokes the yundun_bastionhost.ListTagResources API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/listtagresources.html

func (*Client) ListTagResourcesWithCallback added in v1.60.291

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

ListTagResourcesWithCallback invokes the yundun_bastionhost.ListTagResources API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/listtagresources.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListTagResourcesWithChan added in v1.60.291

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

ListTagResourcesWithChan invokes the yundun_bastionhost.ListTagResources API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/listtagresources.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyInstanceAttribute

func (client *Client) ModifyInstanceAttribute(request *ModifyInstanceAttributeRequest) (response *ModifyInstanceAttributeResponse, err error)

ModifyInstanceAttribute invokes the yundun_bastionhost.ModifyInstanceAttribute API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/modifyinstanceattribute.html

func (*Client) ModifyInstanceAttributeWithCallback

func (client *Client) ModifyInstanceAttributeWithCallback(request *ModifyInstanceAttributeRequest, callback func(response *ModifyInstanceAttributeResponse, err error)) <-chan int

ModifyInstanceAttributeWithCallback invokes the yundun_bastionhost.ModifyInstanceAttribute API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/modifyinstanceattribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyInstanceAttributeWithChan

func (client *Client) ModifyInstanceAttributeWithChan(request *ModifyInstanceAttributeRequest) (<-chan *ModifyInstanceAttributeResponse, <-chan error)

ModifyInstanceAttributeWithChan invokes the yundun_bastionhost.ModifyInstanceAttribute API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/modifyinstanceattribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyPlan

func (client *Client) ModifyPlan(request *ModifyPlanRequest) (response *ModifyPlanResponse, err error)

ModifyPlan invokes the yundun_bastionhost.ModifyPlan API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/modifyplan.html

func (*Client) ModifyPlanWithCallback

func (client *Client) ModifyPlanWithCallback(request *ModifyPlanRequest, callback func(response *ModifyPlanResponse, err error)) <-chan int

ModifyPlanWithCallback invokes the yundun_bastionhost.ModifyPlan API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/modifyplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyPlanWithChan

func (client *Client) ModifyPlanWithChan(request *ModifyPlanRequest) (<-chan *ModifyPlanResponse, <-chan error)

ModifyPlanWithChan invokes the yundun_bastionhost.ModifyPlan API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/modifyplan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoveResourceGroup

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

MoveResourceGroup invokes the yundun_bastionhost.MoveResourceGroup API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/moveresourcegroup.html

func (*Client) MoveResourceGroupWithCallback

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

MoveResourceGroupWithCallback invokes the yundun_bastionhost.MoveResourceGroup API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/moveresourcegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoveResourceGroupWithChan

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

MoveResourceGroupWithChan invokes the yundun_bastionhost.MoveResourceGroup API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/moveresourcegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RefundInstance

func (client *Client) RefundInstance(request *RefundInstanceRequest) (response *RefundInstanceResponse, err error)

RefundInstance invokes the yundun_bastionhost.RefundInstance API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/refundinstance.html

func (*Client) RefundInstanceWithCallback

func (client *Client) RefundInstanceWithCallback(request *RefundInstanceRequest, callback func(response *RefundInstanceResponse, err error)) <-chan int

RefundInstanceWithCallback invokes the yundun_bastionhost.RefundInstance API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/refundinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RefundInstanceWithChan

func (client *Client) RefundInstanceWithChan(request *RefundInstanceRequest) (<-chan *RefundInstanceResponse, <-chan error)

RefundInstanceWithChan invokes the yundun_bastionhost.RefundInstance API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/refundinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) StartInstance

func (client *Client) StartInstance(request *StartInstanceRequest) (response *StartInstanceResponse, err error)

StartInstance invokes the yundun_bastionhost.StartInstance API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/startinstance.html

func (*Client) StartInstanceWithCallback

func (client *Client) StartInstanceWithCallback(request *StartInstanceRequest, callback func(response *StartInstanceResponse, err error)) <-chan int

StartInstanceWithCallback invokes the yundun_bastionhost.StartInstance API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/startinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) StartInstanceWithChan

func (client *Client) StartInstanceWithChan(request *StartInstanceRequest) (<-chan *StartInstanceResponse, <-chan error)

StartInstanceWithChan invokes the yundun_bastionhost.StartInstance API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/startinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) TagResources added in v1.60.291

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

TagResources invokes the yundun_bastionhost.TagResources API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/tagresources.html

func (*Client) TagResourcesWithCallback added in v1.60.291

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

TagResourcesWithCallback invokes the yundun_bastionhost.TagResources API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/tagresources.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) TagResourcesWithChan added in v1.60.291

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

TagResourcesWithChan invokes the yundun_bastionhost.TagResources API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/tagresources.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UntagResources added in v1.60.291

func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)

UntagResources invokes the yundun_bastionhost.UntagResources API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/untagresources.html

func (*Client) UntagResourcesWithCallback added in v1.60.291

func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, callback func(response *UntagResourcesResponse, err error)) <-chan int

UntagResourcesWithCallback invokes the yundun_bastionhost.UntagResources API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/untagresources.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UntagResourcesWithChan added in v1.60.291

func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)

UntagResourcesWithChan invokes the yundun_bastionhost.UntagResources API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/untagresources.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpgradeInstanceVersion

func (client *Client) UpgradeInstanceVersion(request *UpgradeInstanceVersionRequest) (response *UpgradeInstanceVersionResponse, err error)

UpgradeInstanceVersion invokes the yundun_bastionhost.UpgradeInstanceVersion API synchronously api document: https://help.aliyun.com/api/yundun-bastionhost/upgradeinstanceversion.html

func (*Client) UpgradeInstanceVersionWithCallback

func (client *Client) UpgradeInstanceVersionWithCallback(request *UpgradeInstanceVersionRequest, callback func(response *UpgradeInstanceVersionResponse, err error)) <-chan int

UpgradeInstanceVersionWithCallback invokes the yundun_bastionhost.UpgradeInstanceVersion API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/upgradeinstanceversion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpgradeInstanceVersionWithChan

func (client *Client) UpgradeInstanceVersionWithChan(request *UpgradeInstanceVersionRequest) (<-chan *UpgradeInstanceVersionResponse, <-chan error)

UpgradeInstanceVersionWithChan invokes the yundun_bastionhost.UpgradeInstanceVersion API asynchronously api document: https://help.aliyun.com/api/yundun-bastionhost/upgradeinstanceversion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type ConfigInstanceNetworkRequest

type ConfigInstanceNetworkRequest struct {
	*requests.RpcRequest
	SourceIp            string           `position:"Query" name:"SourceIp"`
	PublicAccessControl requests.Integer `position:"Query" name:"PublicAccessControl"`
	Lang                string           `position:"Query" name:"Lang"`
	PrivateWhiteList    *[]string        `position:"Query" name:"PrivateWhiteList"  type:"Repeated"`
	PublicWhiteList     *[]string        `position:"Query" name:"PublicWhiteList"  type:"Repeated"`
	SecurityGroupIds    *[]string        `position:"Query" name:"SecurityGroupIds"  type:"Repeated"`
	InstanceId          string           `position:"Query" name:"InstanceId"`
}

ConfigInstanceNetworkRequest is the request struct for api ConfigInstanceNetwork

func CreateConfigInstanceNetworkRequest

func CreateConfigInstanceNetworkRequest() (request *ConfigInstanceNetworkRequest)

CreateConfigInstanceNetworkRequest creates a request to invoke ConfigInstanceNetwork API

type ConfigInstanceNetworkResponse

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

ConfigInstanceNetworkResponse is the response struct for api ConfigInstanceNetwork

func CreateConfigInstanceNetworkResponse

func CreateConfigInstanceNetworkResponse() (response *ConfigInstanceNetworkResponse)

CreateConfigInstanceNetworkResponse creates a response to parse from ConfigInstanceNetwork response

type ConfigInstanceSecurityGroupsRequest

type ConfigInstanceSecurityGroupsRequest struct {
	*requests.RpcRequest
	SecurityGroupIds *[]string `position:"Query" name:"SecurityGroupIds"  type:"Repeated"`
	InstanceId       string    `position:"Query" name:"InstanceId"`
	SourceIp         string    `position:"Query" name:"SourceIp"`
	Lang             string    `position:"Query" name:"Lang"`
}

ConfigInstanceSecurityGroupsRequest is the request struct for api ConfigInstanceSecurityGroups

func CreateConfigInstanceSecurityGroupsRequest

func CreateConfigInstanceSecurityGroupsRequest() (request *ConfigInstanceSecurityGroupsRequest)

CreateConfigInstanceSecurityGroupsRequest creates a request to invoke ConfigInstanceSecurityGroups API

type ConfigInstanceSecurityGroupsResponse

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

ConfigInstanceSecurityGroupsResponse is the response struct for api ConfigInstanceSecurityGroups

func CreateConfigInstanceSecurityGroupsResponse

func CreateConfigInstanceSecurityGroupsResponse() (response *ConfigInstanceSecurityGroupsResponse)

CreateConfigInstanceSecurityGroupsResponse creates a response to parse from ConfigInstanceSecurityGroups response

type ConfigInstanceWhiteListRequest

type ConfigInstanceWhiteListRequest struct {
	*requests.RpcRequest
	WhiteList  *[]string `position:"Query" name:"WhiteList"  type:"Repeated"`
	InstanceId string    `position:"Query" name:"InstanceId"`
	SourceIp   string    `position:"Query" name:"SourceIp"`
	Lang       string    `position:"Query" name:"Lang"`
}

ConfigInstanceWhiteListRequest is the request struct for api ConfigInstanceWhiteList

func CreateConfigInstanceWhiteListRequest

func CreateConfigInstanceWhiteListRequest() (request *ConfigInstanceWhiteListRequest)

CreateConfigInstanceWhiteListRequest creates a request to invoke ConfigInstanceWhiteList API

type ConfigInstanceWhiteListResponse

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

ConfigInstanceWhiteListResponse is the response struct for api ConfigInstanceWhiteList

func CreateConfigInstanceWhiteListResponse

func CreateConfigInstanceWhiteListResponse() (response *ConfigInstanceWhiteListResponse)

CreateConfigInstanceWhiteListResponse creates a response to parse from ConfigInstanceWhiteList response

type Data

type Data struct {
	AssetCount      int `json:"AssetCount" xml:"AssetCount"`
	AssetGroupCount int `json:"AssetGroupCount" xml:"AssetGroupCount"`
	UserCount       int `json:"UserCount" xml:"UserCount"`
	UserGroupCount  int `json:"UserGroupCount" xml:"UserGroupCount"`
}

Data is a nested struct in yundun_bastionhost response

type DescribeGrantRequest

type DescribeGrantRequest struct {
	*requests.RpcRequest
	SourceIp string `position:"Query" name:"SourceIp"`
	Lang     string `position:"Query" name:"Lang"`
}

DescribeGrantRequest is the request struct for api DescribeGrant

func CreateDescribeGrantRequest

func CreateDescribeGrantRequest() (request *DescribeGrantRequest)

CreateDescribeGrantRequest creates a request to invoke DescribeGrant API

type DescribeGrantResponse

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

DescribeGrantResponse is the response struct for api DescribeGrant

func CreateDescribeGrantResponse

func CreateDescribeGrantResponse() (response *DescribeGrantResponse)

CreateDescribeGrantResponse creates a response to parse from DescribeGrant response

type DescribeInstanceAttributeRequest

type DescribeInstanceAttributeRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
	Lang       string `position:"Query" name:"Lang"`
}

DescribeInstanceAttributeRequest is the request struct for api DescribeInstanceAttribute

func CreateDescribeInstanceAttributeRequest

func CreateDescribeInstanceAttributeRequest() (request *DescribeInstanceAttributeRequest)

CreateDescribeInstanceAttributeRequest creates a request to invoke DescribeInstanceAttribute API

type DescribeInstanceAttributeResponse

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

DescribeInstanceAttributeResponse is the response struct for api DescribeInstanceAttribute

func CreateDescribeInstanceAttributeResponse

func CreateDescribeInstanceAttributeResponse() (response *DescribeInstanceAttributeResponse)

CreateDescribeInstanceAttributeResponse creates a response to parse from DescribeInstanceAttribute response

type DescribeInstanceBastionhostRequest

type DescribeInstanceBastionhostRequest struct {
	*requests.RpcRequest
	ResourceGroupId string                            `position:"Query" name:"ResourceGroupId"`
	SourceIp        string                            `position:"Query" name:"SourceIp"`
	PageSize        requests.Integer                  `position:"Query" name:"PageSize"`
	Tag             *[]DescribeInstanceBastionhostTag `position:"Query" name:"Tag"  type:"Repeated"`
	Lang            string                            `position:"Query" name:"Lang"`
	InstanceStatus  string                            `position:"Query" name:"InstanceStatus"`
	CurrentPage     requests.Integer                  `position:"Query" name:"CurrentPage"`
	InstanceId      *[]string                         `position:"Query" name:"InstanceId"  type:"Repeated"`
}

DescribeInstanceBastionhostRequest is the request struct for api DescribeInstanceBastionhost

func CreateDescribeInstanceBastionhostRequest

func CreateDescribeInstanceBastionhostRequest() (request *DescribeInstanceBastionhostRequest)

CreateDescribeInstanceBastionhostRequest creates a request to invoke DescribeInstanceBastionhost API

type DescribeInstanceBastionhostResponse

type DescribeInstanceBastionhostResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	TotalCount int64      `json:"TotalCount" xml:"TotalCount"`
	Instances  []Instance `json:"Instances" xml:"Instances"`
}

DescribeInstanceBastionhostResponse is the response struct for api DescribeInstanceBastionhost

func CreateDescribeInstanceBastionhostResponse

func CreateDescribeInstanceBastionhostResponse() (response *DescribeInstanceBastionhostResponse)

CreateDescribeInstanceBastionhostResponse creates a response to parse from DescribeInstanceBastionhost response

type DescribeInstanceBastionhostTag

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

DescribeInstanceBastionhostTag is a repeated param struct in DescribeInstanceBastionhostRequest

type DescribeInstanceLoginTicketRequest

type DescribeInstanceLoginTicketRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
	Lang       string `position:"Query" name:"Lang"`
}

DescribeInstanceLoginTicketRequest is the request struct for api DescribeInstanceLoginTicket

func CreateDescribeInstanceLoginTicketRequest

func CreateDescribeInstanceLoginTicketRequest() (request *DescribeInstanceLoginTicketRequest)

CreateDescribeInstanceLoginTicketRequest creates a request to invoke DescribeInstanceLoginTicket API

type DescribeInstanceLoginTicketResponse

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

DescribeInstanceLoginTicketResponse is the response struct for api DescribeInstanceLoginTicket

func CreateDescribeInstanceLoginTicketResponse

func CreateDescribeInstanceLoginTicketResponse() (response *DescribeInstanceLoginTicketResponse)

CreateDescribeInstanceLoginTicketResponse creates a response to parse from DescribeInstanceLoginTicket response

type DescribeInstanceOperationTicketRequest

type DescribeInstanceOperationTicketRequest struct {
	*requests.RpcRequest
	Target     string `position:"Query" name:"Target"`
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
	Lang       string `position:"Query" name:"Lang"`
}

DescribeInstanceOperationTicketRequest is the request struct for api DescribeInstanceOperationTicket

func CreateDescribeInstanceOperationTicketRequest

func CreateDescribeInstanceOperationTicketRequest() (request *DescribeInstanceOperationTicketRequest)

CreateDescribeInstanceOperationTicketRequest creates a request to invoke DescribeInstanceOperationTicket API

type DescribeInstanceOperationTicketResponse

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

DescribeInstanceOperationTicketResponse is the response struct for api DescribeInstanceOperationTicket

func CreateDescribeInstanceOperationTicketResponse

func CreateDescribeInstanceOperationTicketResponse() (response *DescribeInstanceOperationTicketResponse)

CreateDescribeInstanceOperationTicketResponse creates a response to parse from DescribeInstanceOperationTicket response

type DescribeInstanceRequest

type DescribeInstanceRequest struct {
	*requests.RpcRequest
	RegionNo string           `position:"Query" name:"regionNo"`
	SourceIp string           `position:"Query" name:"SourceIp"`
	PageNo   requests.Integer `position:"Query" name:"PageNo"`
	PageSize requests.Integer `position:"Query" name:"PageSize"`
}

DescribeInstanceRequest is the request struct for api DescribeInstance

func CreateDescribeInstanceRequest

func CreateDescribeInstanceRequest() (request *DescribeInstanceRequest)

CreateDescribeInstanceRequest creates a request to invoke DescribeInstance API

type DescribeInstanceResponse

type DescribeInstanceResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	TotalCount int64      `json:"TotalCount" xml:"TotalCount"`
	Instances  []Instance `json:"Instances" xml:"Instances"`
}

DescribeInstanceResponse is the response struct for api DescribeInstance

func CreateDescribeInstanceResponse

func CreateDescribeInstanceResponse() (response *DescribeInstanceResponse)

CreateDescribeInstanceResponse creates a response to parse from DescribeInstance response

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*requests.RpcRequest
	SourceIp string           `position:"Query" name:"SourceIp"`
	PageNo   requests.Integer `position:"Query" name:"PageNo"`
	PageSize requests.Integer `position:"Query" name:"PageSize"`
}

DescribeInstancesRequest is the request struct for api DescribeInstances

func CreateDescribeInstancesRequest

func CreateDescribeInstancesRequest() (request *DescribeInstancesRequest)

CreateDescribeInstancesRequest creates a request to invoke DescribeInstances API

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	*responses.BaseResponse
	RequestId  string                        `json:"RequestId" xml:"RequestId"`
	TotalCount int64                         `json:"TotalCount" xml:"TotalCount"`
	Instances  []InstanceInDescribeInstances `json:"Instances" xml:"Instances"`
}

DescribeInstancesResponse is the response struct for api DescribeInstances

func CreateDescribeInstancesResponse

func CreateDescribeInstancesResponse() (response *DescribeInstancesResponse)

CreateDescribeInstancesResponse creates a response to parse from DescribeInstances response

type DescribeOpenServiceRequest

type DescribeOpenServiceRequest struct {
	*requests.RpcRequest
	SourceIp   string `position:"Query" name:"SourceIp"`
	Lang       string `position:"Query" name:"Lang"`
	VendorCode string `position:"Query" name:"VendorCode"`
}

DescribeOpenServiceRequest is the request struct for api DescribeOpenService

func CreateDescribeOpenServiceRequest

func CreateDescribeOpenServiceRequest() (request *DescribeOpenServiceRequest)

CreateDescribeOpenServiceRequest creates a request to invoke DescribeOpenService API

type DescribeOpenServiceResponse

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

DescribeOpenServiceResponse is the response struct for api DescribeOpenService

func CreateDescribeOpenServiceResponse

func CreateDescribeOpenServiceResponse() (response *DescribeOpenServiceResponse)

CreateDescribeOpenServiceResponse creates a response to parse from DescribeOpenService response

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*requests.RpcRequest
	SourceIp       string `position:"Query" name:"SourceIp"`
	AcceptLanguage string `position:"Query" name:"AcceptLanguage"`
	Lang           string `position:"Query" name:"Lang"`
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Regions   []Region `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DescribeResumeRequest

type DescribeResumeRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
}

DescribeResumeRequest is the request struct for api DescribeResume

func CreateDescribeResumeRequest

func CreateDescribeResumeRequest() (request *DescribeResumeRequest)

CreateDescribeResumeRequest creates a request to invoke DescribeResume API

type DescribeResumeResponse

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

DescribeResumeResponse is the response struct for api DescribeResume

func CreateDescribeResumeResponse

func CreateDescribeResumeResponse() (response *DescribeResumeResponse)

CreateDescribeResumeResponse creates a response to parse from DescribeResume response

type DescribeSyncInfoRequest

type DescribeSyncInfoRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
	Lang       string `position:"Query" name:"Lang"`
}

DescribeSyncInfoRequest is the request struct for api DescribeSyncInfo

func CreateDescribeSyncInfoRequest

func CreateDescribeSyncInfoRequest() (request *DescribeSyncInfoRequest)

CreateDescribeSyncInfoRequest creates a request to invoke DescribeSyncInfo API

type DescribeSyncInfoResponse

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

DescribeSyncInfoResponse is the response struct for api DescribeSyncInfo

func CreateDescribeSyncInfoResponse

func CreateDescribeSyncInfoResponse() (response *DescribeSyncInfoResponse)

CreateDescribeSyncInfoResponse creates a response to parse from DescribeSyncInfo response

type DisableInstancePublicAccessRequest

type DisableInstancePublicAccessRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
	Lang       string `position:"Query" name:"Lang"`
}

DisableInstancePublicAccessRequest is the request struct for api DisableInstancePublicAccess

func CreateDisableInstancePublicAccessRequest

func CreateDisableInstancePublicAccessRequest() (request *DisableInstancePublicAccessRequest)

CreateDisableInstancePublicAccessRequest creates a request to invoke DisableInstancePublicAccess API

type DisableInstancePublicAccessResponse

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

DisableInstancePublicAccessResponse is the response struct for api DisableInstancePublicAccess

func CreateDisableInstancePublicAccessResponse

func CreateDisableInstancePublicAccessResponse() (response *DisableInstancePublicAccessResponse)

CreateDisableInstancePublicAccessResponse creates a response to parse from DisableInstancePublicAccess response

type EnableInstancePublicAccessRequest

type EnableInstancePublicAccessRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
	Lang       string `position:"Query" name:"Lang"`
}

EnableInstancePublicAccessRequest is the request struct for api EnableInstancePublicAccess

func CreateEnableInstancePublicAccessRequest

func CreateEnableInstancePublicAccessRequest() (request *EnableInstancePublicAccessRequest)

CreateEnableInstancePublicAccessRequest creates a request to invoke EnableInstancePublicAccess API

type EnableInstancePublicAccessResponse

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

EnableInstancePublicAccessResponse is the response struct for api EnableInstancePublicAccess

func CreateEnableInstancePublicAccessResponse

func CreateEnableInstancePublicAccessResponse() (response *EnableInstancePublicAccessResponse)

CreateEnableInstancePublicAccessResponse creates a response to parse from EnableInstancePublicAccess response

type Instance

type Instance struct {
	EcsIntranetIp       string `json:"EcsIntranetIp" xml:"EcsIntranetIp"`
	EcsInternetIp       string `json:"EcsInternetIp" xml:"EcsInternetIp"`
	ImageVersionName    string `json:"ImageVersionName" xml:"ImageVersionName"`
	StartTime           int64  `json:"StartTime" xml:"StartTime"`
	RegionId            string `json:"RegionId" xml:"RegionId"`
	InternetEndpoint    string `json:"InternetEndpoint" xml:"InternetEndpoint"`
	RegionNo            string `json:"RegionNo" xml:"RegionNo"`
	InstanceId          string `json:"InstanceId" xml:"InstanceId"`
	VswitchId           string `json:"VswitchId" xml:"VswitchId"`
	InstanceStatus      string `json:"InstanceStatus" xml:"InstanceStatus"`
	VpcId               string `json:"VpcId" xml:"VpcId"`
	NetworkType         string `json:"NetworkType" xml:"NetworkType"`
	IntranetIp          string `json:"IntranetIp" xml:"IntranetIp"`
	Description         string `json:"Description" xml:"Description"`
	SeriesCode          string `json:"SeriesCode" xml:"SeriesCode"`
	LicenseCode         string `json:"LicenseCode" xml:"LicenseCode"`
	Legacy              bool   `json:"Legacy" xml:"Legacy"`
	Status              int    `json:"Status" xml:"Status"`
	PublicNetworkAccess bool   `json:"PublicNetworkAccess" xml:"PublicNetworkAccess"`
	InternetIp          string `json:"InternetIp" xml:"InternetIp"`
	EcsNetworkType      string `json:"EcsNetworkType" xml:"EcsNetworkType"`
	Renewable           bool   `json:"Renewable" xml:"Renewable"`
	Upgradeable         bool   `json:"Upgradeable" xml:"Upgradeable"`
	CustomName          string `json:"CustomName" xml:"CustomName"`
	Operatable          bool   `json:"Operatable" xml:"Operatable"`
	EcsInstanceId       string `json:"EcsInstanceId" xml:"EcsInstanceId"`
	PlanUpgradeable     bool   `json:"PlanUpgradeable" xml:"PlanUpgradeable"`
	IntranetEndpoint    string `json:"IntranetEndpoint" xml:"IntranetEndpoint"`
	EcsStatus           string `json:"EcsStatus" xml:"EcsStatus"`
	PlanUpgradeStatus   int    `json:"PlanUpgradeStatus" xml:"PlanUpgradeStatus"`
	ExpireTime          int64  `json:"ExpireTime" xml:"ExpireTime"`
	UpgradeStatus       int    `json:"UpgradeStatus" xml:"UpgradeStatus"`
}

Instance is a nested struct in yundun_bastionhost response

type InstanceAttribute

type InstanceAttribute struct {
	RegionId               string   `json:"RegionId" xml:"RegionId"`
	InstanceId             string   `json:"InstanceId" xml:"InstanceId"`
	InstanceStatus         string   `json:"InstanceStatus" xml:"InstanceStatus"`
	VpcId                  string   `json:"VpcId" xml:"VpcId"`
	VswitchId              string   `json:"VswitchId" xml:"VswitchId"`
	IntranetIp             string   `json:"IntranetIp" xml:"IntranetIp"`
	InternetIp             string   `json:"InternetIp" xml:"InternetIp"`
	IntranetEndpoint       string   `json:"IntranetEndpoint" xml:"IntranetEndpoint"`
	InternetEndpoint       string   `json:"InternetEndpoint" xml:"InternetEndpoint"`
	NetworkType            string   `json:"NetworkType" xml:"NetworkType"`
	EcsStatus              string   `json:"EcsStatus" xml:"EcsStatus"`
	ImageVersionName       string   `json:"ImageVersionName" xml:"ImageVersionName"`
	Renewable              bool     `json:"Renewable" xml:"Renewable"`
	PlanUpgradeable        bool     `json:"PlanUpgradeable" xml:"PlanUpgradeable"`
	PlanUpgradeStatus      int      `json:"PlanUpgradeStatus" xml:"PlanUpgradeStatus"`
	Upgradeable            bool     `json:"Upgradeable" xml:"Upgradeable"`
	UpgradeStatus          int      `json:"UpgradeStatus" xml:"UpgradeStatus"`
	AccessType             int      `json:"AccessType" xml:"AccessType"`
	PublicAccessControl    int      `json:"PublicAccessControl" xml:"PublicAccessControl"`
	PublicNetworkAccess    bool     `json:"PublicNetworkAccess" xml:"PublicNetworkAccess"`
	EniInstanceId          string   `json:"EniInstanceId" xml:"EniInstanceId"`
	StartTime              int64    `json:"StartTime" xml:"StartTime"`
	ExpireTime             int64    `json:"ExpireTime" xml:"ExpireTime"`
	Description            string   `json:"Description" xml:"Description"`
	LicenseCode            string   `json:"LicenseCode" xml:"LicenseCode"`
	SeriesCode             string   `json:"SeriesCode" xml:"SeriesCode"`
	PublicWhiteList        []string `json:"PublicWhiteList" xml:"PublicWhiteList"`
	PrivateWhiteList       []string `json:"PrivateWhiteList" xml:"PrivateWhiteList"`
	SecurityGroupIds       []string `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
	ReferredSecurityGroups []string `json:"ReferredSecurityGroups" xml:"ReferredSecurityGroups"`
}

InstanceAttribute is a nested struct in yundun_bastionhost response

type InstanceInDescribeInstances

type InstanceInDescribeInstances struct {
	InstanceId     string `json:"InstanceId" xml:"InstanceId"`
	RegionId       string `json:"RegionId" xml:"RegionId"`
	NetworkType    string `json:"NetworkType" xml:"NetworkType"`
	IntranetIp     string `json:"IntranetIp" xml:"IntranetIp"`
	InternetIp     string `json:"InternetIp" xml:"InternetIp"`
	InstanceStatus int    `json:"InstanceStatus" xml:"InstanceStatus"`
	StartTime      int64  `json:"StartTime" xml:"StartTime"`
	ExpireTime     int64  `json:"ExpireTime" xml:"ExpireTime"`
	VpcId          string `json:"VpcId" xml:"VpcId"`
	VswitchId      string `json:"VswitchId" xml:"VswitchId"`
	Description    string `json:"Description" xml:"Description"`
}

InstanceInDescribeInstances is a nested struct in yundun_bastionhost response

type InstanceInfo

type InstanceInfo struct {
	EcsNetworkType      string `json:"EcsNetworkType" xml:"EcsNetworkType"`
	RegionName          string `json:"RegionName" xml:"RegionName"`
	PlanName            string `json:"PlanName" xml:"PlanName"`
	PlanUpgradeable     string `json:"PlanUpgradeable" xml:"PlanUpgradeable"`
	ProductName         string `json:"ProductName" xml:"ProductName"`
	RegionNo            string `json:"RegionNo" xml:"RegionNo"`
	VendorCode          string `json:"VendorCode" xml:"VendorCode"`
	AccessType          int    `json:"AccessType" xml:"AccessType"`
	UpgradeStatus       int    `json:"UpgradeStatus" xml:"UpgradeStatus"`
	VswitchId           string `json:"VswitchId" xml:"VswitchId"`
	InstanceId          string `json:"InstanceId" xml:"InstanceId"`
	EcsStatus           string `json:"EcsStatus" xml:"EcsStatus"`
	StartTime           int64  `json:"StartTime" xml:"StartTime"`
	Aliuid              int64  `json:"Aliuid" xml:"Aliuid"`
	EcsInternetIp       string `json:"EcsInternetIp" xml:"EcsInternetIp"`
	CustomName          string `json:"CustomName" xml:"CustomName"`
	PlanUpgradeStatus   int    `json:"PlanUpgradeStatus" xml:"PlanUpgradeStatus"`
	PlanCode            string `json:"PlanCode" xml:"PlanCode"`
	EcsUuid             string `json:"EcsUuid" xml:"EcsUuid"`
	PublicAccessControl int    `json:"PublicAccessControl" xml:"PublicAccessControl"`
	EcsInstanceId       string `json:"EcsInstanceId" xml:"EcsInstanceId"`
	ExpireTime          int64  `json:"ExpireTime" xml:"ExpireTime"`
	ProductCode         string `json:"ProductCode" xml:"ProductCode"`
	ZoneNo              string `json:"ZoneNo" xml:"ZoneNo"`
	EcsEip              string `json:"EcsEip" xml:"EcsEip"`
	Renewable           bool   `json:"Renewable" xml:"Renewable"`
	EcsIntranetIp       string `json:"EcsIntranetIp" xml:"EcsIntranetIp"`
	ImageVersionName    string `json:"ImageVersionName" xml:"ImageVersionName"`
	Status              int    `json:"Status" xml:"Status"`
}

InstanceInfo is a nested struct in yundun_bastionhost response

type InstancesInDescribeInstance

type InstancesInDescribeInstance struct {
	Instance []Instance `json:"Instance" xml:"Instance"`
}

InstancesInDescribeInstance is a nested struct in yundun_bastionhost response

type InstancesInDescribeInstanceBastionhost

type InstancesInDescribeInstanceBastionhost struct {
	Instance []Instance `json:"Instance" xml:"Instance"`
}

InstancesInDescribeInstanceBastionhost is a nested struct in yundun_bastionhost response

type InstancesInDescribeInstances

type InstancesInDescribeInstances struct {
	Instance []InstanceInDescribeInstances `json:"Instance" xml:"Instance"`
}

InstancesInDescribeInstances is a nested struct in yundun_bastionhost response

type ListTagKeysRequest added in v1.60.291

type ListTagKeysRequest struct {
	*requests.RpcRequest
	CurrentPage  requests.Integer `position:"Query" name:"CurrentPage"`
	ResourceType string           `position:"Query" name:"ResourceType"`
	SourceIp     string           `position:"Query" name:"SourceIp"`
	PageSize     requests.Integer `position:"Query" name:"PageSize"`
}

ListTagKeysRequest is the request struct for api ListTagKeys

func CreateListTagKeysRequest added in v1.60.291

func CreateListTagKeysRequest() (request *ListTagKeysRequest)

CreateListTagKeysRequest creates a request to invoke ListTagKeys API

type ListTagKeysResponse added in v1.60.291

type ListTagKeysResponse struct {
	*responses.BaseResponse
	RequestId   string   `json:"RequestId" xml:"RequestId"`
	CurrentPage int      `json:"CurrentPage" xml:"CurrentPage"`
	PageSize    int      `json:"PageSize" xml:"PageSize"`
	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
	TagKeys     []TagKey `json:"TagKeys" xml:"TagKeys"`
}

ListTagKeysResponse is the response struct for api ListTagKeys

func CreateListTagKeysResponse added in v1.60.291

func CreateListTagKeysResponse() (response *ListTagKeysResponse)

CreateListTagKeysResponse creates a response to parse from ListTagKeys response

type ListTagResourcesRequest added in v1.60.291

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

ListTagResourcesRequest is the request struct for api ListTagResources

func CreateListTagResourcesRequest added in v1.60.291

func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)

CreateListTagResourcesRequest creates a request to invoke ListTagResources API

type ListTagResourcesResponse added in v1.60.291

type ListTagResourcesResponse struct {
	*responses.BaseResponse
	RequestId    string       `json:"RequestId" xml:"RequestId"`
	NextToken    string       `json:"NextToken" xml:"NextToken"`
	TagResources TagResources `json:"TagResources" xml:"TagResources"`
}

ListTagResourcesResponse is the response struct for api ListTagResources

func CreateListTagResourcesResponse added in v1.60.291

func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)

CreateListTagResourcesResponse creates a response to parse from ListTagResources response

type ListTagResourcesTag added in v1.60.291

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

ListTagResourcesTag is a repeated param struct in ListTagResourcesRequest

type LoginTicket

type LoginTicket struct {
	Certificate string `json:"Certificate" xml:"Certificate"`
	Ticket      string `json:"Ticket" xml:"Ticket"`
	Zones       []Zone `json:"Zones" xml:"Zones"`
}

LoginTicket is a nested struct in yundun_bastionhost response

type ModifyInstanceAttributeRequest

type ModifyInstanceAttributeRequest struct {
	*requests.RpcRequest
	Description string `position:"Query" name:"Description"`
	InstanceId  string `position:"Query" name:"InstanceId"`
	SourceIp    string `position:"Query" name:"SourceIp"`
	Lang        string `position:"Query" name:"Lang"`
}

ModifyInstanceAttributeRequest is the request struct for api ModifyInstanceAttribute

func CreateModifyInstanceAttributeRequest

func CreateModifyInstanceAttributeRequest() (request *ModifyInstanceAttributeRequest)

CreateModifyInstanceAttributeRequest creates a request to invoke ModifyInstanceAttribute API

type ModifyInstanceAttributeResponse

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

ModifyInstanceAttributeResponse is the response struct for api ModifyInstanceAttribute

func CreateModifyInstanceAttributeResponse

func CreateModifyInstanceAttributeResponse() (response *ModifyInstanceAttributeResponse)

CreateModifyInstanceAttributeResponse creates a response to parse from ModifyInstanceAttribute response

type ModifyPlanRequest

type ModifyPlanRequest struct {
	*requests.RpcRequest
	CommodityCode string `position:"Query" name:"CommodityCode"`
	InstanceId    string `position:"Query" name:"InstanceId"`
	SourceIp      string `position:"Query" name:"SourceIp"`
	Lang          string `position:"Query" name:"Lang"`
}

ModifyPlanRequest is the request struct for api ModifyPlan

func CreateModifyPlanRequest

func CreateModifyPlanRequest() (request *ModifyPlanRequest)

CreateModifyPlanRequest creates a request to invoke ModifyPlan API

type ModifyPlanResponse

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

ModifyPlanResponse is the response struct for api ModifyPlan

func CreateModifyPlanResponse

func CreateModifyPlanResponse() (response *ModifyPlanResponse)

CreateModifyPlanResponse creates a response to parse from ModifyPlan response

type MoveResourceGroupRequest

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

MoveResourceGroupRequest is the request struct for api MoveResourceGroup

func CreateMoveResourceGroupRequest

func CreateMoveResourceGroupRequest() (request *MoveResourceGroupRequest)

CreateMoveResourceGroupRequest creates a request to invoke MoveResourceGroup API

type MoveResourceGroupResponse

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

MoveResourceGroupResponse is the response struct for api MoveResourceGroup

func CreateMoveResourceGroupResponse

func CreateMoveResourceGroupResponse() (response *MoveResourceGroupResponse)

CreateMoveResourceGroupResponse creates a response to parse from MoveResourceGroup response

type PrivateWhiteList

type PrivateWhiteList struct {
	PrivateIp []string `json:"PrivateIp" xml:"PrivateIp"`
}

PrivateWhiteList is a nested struct in yundun_bastionhost response

type PublicWhiteList

type PublicWhiteList struct {
	Cidr []string `json:"Cidr" xml:"Cidr"`
}

PublicWhiteList is a nested struct in yundun_bastionhost response

type ReferredSecurityGroups

type ReferredSecurityGroups struct {
	ReferredSecurityGroup []string `json:"ReferredSecurityGroup" xml:"ReferredSecurityGroup"`
}

ReferredSecurityGroups is a nested struct in yundun_bastionhost response

type RefundInstanceRequest

type RefundInstanceRequest struct {
	*requests.RpcRequest
	InstanceId  string `position:"Query" name:"InstanceId"`
	SourceIp    string `position:"Query" name:"SourceIp"`
	ServiceCode string `position:"Query" name:"ServiceCode"`
	Lang        string `position:"Query" name:"Lang"`
}

RefundInstanceRequest is the request struct for api RefundInstance

func CreateRefundInstanceRequest

func CreateRefundInstanceRequest() (request *RefundInstanceRequest)

CreateRefundInstanceRequest creates a request to invoke RefundInstance API

type RefundInstanceResponse

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

RefundInstanceResponse is the response struct for api RefundInstance

func CreateRefundInstanceResponse

func CreateRefundInstanceResponse() (response *RefundInstanceResponse)

CreateRefundInstanceResponse creates a response to parse from RefundInstance response

type Region

type Region struct {
	RegionId       string `json:"RegionId" xml:"RegionId"`
	LocalName      string `json:"LocalName" xml:"LocalName"`
	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
}

Region is a nested struct in yundun_bastionhost response

type Regions

type Regions struct {
	Region []Region `json:"Region" xml:"Region"`
}

Regions is a nested struct in yundun_bastionhost response

type SecurityGroupIds

type SecurityGroupIds struct {
	SecurityGroupId []string `json:"SecurityGroupId" xml:"SecurityGroupId"`
}

SecurityGroupIds is a nested struct in yundun_bastionhost response

type StartInstanceRequest

type StartInstanceRequest struct {
	*requests.RpcRequest
	SecurityGroupIds *[]string `position:"Query" name:"SecurityGroupIds"  type:"Repeated"`
	VswitchId        string    `position:"Query" name:"VswitchId"`
	InstanceId       string    `position:"Query" name:"InstanceId"`
	SourceIp         string    `position:"Query" name:"SourceIp"`
	Lang             string    `position:"Query" name:"Lang"`
}

StartInstanceRequest is the request struct for api StartInstance

func CreateStartInstanceRequest

func CreateStartInstanceRequest() (request *StartInstanceRequest)

CreateStartInstanceRequest creates a request to invoke StartInstance API

type StartInstanceResponse

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

StartInstanceResponse is the response struct for api StartInstance

func CreateStartInstanceResponse

func CreateStartInstanceResponse() (response *StartInstanceResponse)

CreateStartInstanceResponse creates a response to parse from StartInstance response

type StsToken

type StsToken struct {
	Certificate string `json:"Certificate" xml:"Certificate"`
	Token       string `json:"Token" xml:"Token"`
}

StsToken is a nested struct in yundun_bastionhost response

type TagKey added in v1.60.291

type TagKey struct {
	TagKey   string `json:"TagKey" xml:"TagKey"`
	TagCount int    `json:"TagCount" xml:"TagCount"`
}

TagKey is a nested struct in yundun_bastionhost response

type TagKeys added in v1.60.291

type TagKeys struct {
	TagKey []TagKey `json:"TagKey" xml:"TagKey"`
}

TagKeys is a nested struct in yundun_bastionhost response

type TagResource added in v1.60.291

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

TagResource is a nested struct in yundun_bastionhost response

type TagResources added in v1.60.291

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

TagResources is a nested struct in yundun_bastionhost response

type TagResourcesRequest added in v1.60.291

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

TagResourcesRequest is the request struct for api TagResources

func CreateTagResourcesRequest added in v1.60.291

func CreateTagResourcesRequest() (request *TagResourcesRequest)

CreateTagResourcesRequest creates a request to invoke TagResources API

type TagResourcesResponse added in v1.60.291

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

TagResourcesResponse is the response struct for api TagResources

func CreateTagResourcesResponse added in v1.60.291

func CreateTagResourcesResponse() (response *TagResourcesResponse)

CreateTagResourcesResponse creates a response to parse from TagResources response

type TagResourcesTag added in v1.60.291

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

TagResourcesTag is a repeated param struct in TagResourcesRequest

type UntagResourcesRequest added in v1.60.291

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

UntagResourcesRequest is the request struct for api UntagResources

func CreateUntagResourcesRequest added in v1.60.291

func CreateUntagResourcesRequest() (request *UntagResourcesRequest)

CreateUntagResourcesRequest creates a request to invoke UntagResources API

type UntagResourcesResponse added in v1.60.291

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

UntagResourcesResponse is the response struct for api UntagResources

func CreateUntagResourcesResponse added in v1.60.291

func CreateUntagResourcesResponse() (response *UntagResourcesResponse)

CreateUntagResourcesResponse creates a response to parse from UntagResources response

type UpgradeInstanceVersionRequest

type UpgradeInstanceVersionRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Query" name:"InstanceId"`
	SourceIp   string `position:"Query" name:"SourceIp"`
	Lang       string `position:"Query" name:"Lang"`
}

UpgradeInstanceVersionRequest is the request struct for api UpgradeInstanceVersion

func CreateUpgradeInstanceVersionRequest

func CreateUpgradeInstanceVersionRequest() (request *UpgradeInstanceVersionRequest)

CreateUpgradeInstanceVersionRequest creates a request to invoke UpgradeInstanceVersion API

type UpgradeInstanceVersionResponse

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

UpgradeInstanceVersionResponse is the response struct for api UpgradeInstanceVersion

func CreateUpgradeInstanceVersionResponse

func CreateUpgradeInstanceVersionResponse() (response *UpgradeInstanceVersionResponse)

CreateUpgradeInstanceVersionResponse creates a response to parse from UpgradeInstanceVersion response

type Zone

type Zone struct {
	ZoneId    string `json:"ZoneId" xml:"ZoneId"`
	LocalName string `json:"LocalName" xml:"LocalName"`
}

Zone is a nested struct in yundun_bastionhost response

type Zones

type Zones struct {
	Zone []Zone `json:"Zone" xml:"Zone"`
}

Zones is a nested struct in yundun_bastionhost response

Jump to

Keyboard shortcuts

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