smarthosting

package
v1.62.654 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

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

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type CapacityAttribute

type CapacityAttribute struct {
	AvailableHostCount int `json:"AvailableHostCount" xml:"AvailableHostCount"`
	TotalHostCount     int `json:"TotalHostCount" xml:"TotalHostCount"`
	AvailableMemories  int `json:"AvailableMemories" xml:"AvailableMemories"`
	ReservedMemories   int `json:"ReservedMemories" xml:"ReservedMemories"`
	AvailableVcpus     int `json:"AvailableVcpus" xml:"AvailableVcpus"`
	TotalVcpus         int `json:"TotalVcpus" xml:"TotalVcpus"`
	ReservedVcpus      int `json:"ReservedVcpus" xml:"ReservedVcpus"`
	ReservedHostCount  int `json:"ReservedHostCount" xml:"ReservedHostCount"`
	TotalMemories      int `json:"TotalMemories" xml:"TotalMemories"`
}

CapacityAttribute is a nested struct in smarthosting response

type Client

type Client struct {
	sdk.Client
}

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

func NewClient

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

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

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

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

func NewClientWithEcsRamRole

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

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

func NewClientWithOptions

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

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

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

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

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

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

func NewClientWithRamRoleArnAndPolicy

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

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

func NewClientWithRsaKeyPair

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

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

func NewClientWithStsToken

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

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

func (*Client) ListManagedHosts

func (client *Client) ListManagedHosts(request *ListManagedHostsRequest) (response *ListManagedHostsResponse, err error)

ListManagedHosts invokes the smarthosting.ListManagedHosts API synchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedhosts.html

func (*Client) ListManagedHostsWithCallback

func (client *Client) ListManagedHostsWithCallback(request *ListManagedHostsRequest, callback func(response *ListManagedHostsResponse, err error)) <-chan int

ListManagedHostsWithCallback invokes the smarthosting.ListManagedHosts API asynchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedhosts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListManagedHostsWithChan

func (client *Client) ListManagedHostsWithChan(request *ListManagedHostsRequest) (<-chan *ListManagedHostsResponse, <-chan error)

ListManagedHostsWithChan invokes the smarthosting.ListManagedHosts API asynchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedhosts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListManagedPrivateSpaces

func (client *Client) ListManagedPrivateSpaces(request *ListManagedPrivateSpacesRequest) (response *ListManagedPrivateSpacesResponse, err error)

ListManagedPrivateSpaces invokes the smarthosting.ListManagedPrivateSpaces API synchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedprivatespaces.html

func (*Client) ListManagedPrivateSpacesWithCallback

func (client *Client) ListManagedPrivateSpacesWithCallback(request *ListManagedPrivateSpacesRequest, callback func(response *ListManagedPrivateSpacesResponse, err error)) <-chan int

ListManagedPrivateSpacesWithCallback invokes the smarthosting.ListManagedPrivateSpaces API asynchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedprivatespaces.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListManagedPrivateSpacesWithChan

func (client *Client) ListManagedPrivateSpacesWithChan(request *ListManagedPrivateSpacesRequest) (<-chan *ListManagedPrivateSpacesResponse, <-chan error)

ListManagedPrivateSpacesWithChan invokes the smarthosting.ListManagedPrivateSpaces API asynchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedprivatespaces.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListManagedRacks

func (client *Client) ListManagedRacks(request *ListManagedRacksRequest) (response *ListManagedRacksResponse, err error)

ListManagedRacks invokes the smarthosting.ListManagedRacks API synchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedracks.html

func (*Client) ListManagedRacksWithCallback

func (client *Client) ListManagedRacksWithCallback(request *ListManagedRacksRequest, callback func(response *ListManagedRacksResponse, err error)) <-chan int

ListManagedRacksWithCallback invokes the smarthosting.ListManagedRacks API asynchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedracks.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListManagedRacksWithChan

func (client *Client) ListManagedRacksWithChan(request *ListManagedRacksRequest) (<-chan *ListManagedRacksResponse, <-chan error)

ListManagedRacksWithChan invokes the smarthosting.ListManagedRacks API asynchronously api document: https://help.aliyun.com/api/smarthosting/listmanagedracks.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateManagedHostAttributes

func (client *Client) UpdateManagedHostAttributes(request *UpdateManagedHostAttributesRequest) (response *UpdateManagedHostAttributesResponse, err error)

UpdateManagedHostAttributes invokes the smarthosting.UpdateManagedHostAttributes API synchronously api document: https://help.aliyun.com/api/smarthosting/updatemanagedhostattributes.html

func (*Client) UpdateManagedHostAttributesWithCallback

func (client *Client) UpdateManagedHostAttributesWithCallback(request *UpdateManagedHostAttributesRequest, callback func(response *UpdateManagedHostAttributesResponse, err error)) <-chan int

UpdateManagedHostAttributesWithCallback invokes the smarthosting.UpdateManagedHostAttributes API asynchronously api document: https://help.aliyun.com/api/smarthosting/updatemanagedhostattributes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateManagedHostAttributesWithChan

func (client *Client) UpdateManagedHostAttributesWithChan(request *UpdateManagedHostAttributesRequest) (<-chan *UpdateManagedHostAttributesResponse, <-chan error)

UpdateManagedHostAttributesWithChan invokes the smarthosting.UpdateManagedHostAttributes API asynchronously api document: https://help.aliyun.com/api/smarthosting/updatemanagedhostattributes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type DeploymentAttribute

type DeploymentAttribute struct {
	ContractId      string          `json:"ContractId" xml:"ContractId"`
	CreateTime      string          `json:"CreateTime" xml:"CreateTime"`
	Description     string          `json:"Description" xml:"Description"`
	DeploymentSteps DeploymentSteps `json:"DeploymentSteps" xml:"DeploymentSteps"`
}

DeploymentAttribute is a nested struct in smarthosting response

type DeploymentAttributes

type DeploymentAttributes struct {
	DeploymentAttribute []DeploymentAttribute `json:"DeploymentAttribute" xml:"DeploymentAttribute"`
}

DeploymentAttributes is a nested struct in smarthosting response

type DeploymentStep

type DeploymentStep struct {
	ActualTime  string `json:"ActualTime" xml:"ActualTime"`
	CurrentStep bool   `json:"CurrentStep" xml:"CurrentStep"`
	ExpectTime  string `json:"ExpectTime" xml:"ExpectTime"`
	Status      string `json:"Status" xml:"Status"`
}

DeploymentStep is a nested struct in smarthosting response

type DeploymentSteps

type DeploymentSteps struct {
	DeploymentStep []DeploymentStep `json:"DeploymentStep" xml:"DeploymentStep"`
}

DeploymentSteps is a nested struct in smarthosting response

type HostAttribute

type HostAttribute struct {
	HostType     string `json:"HostType" xml:"HostType"`
	CpuModelName string `json:"CpuModelName" xml:"CpuModelName"`
}

HostAttribute is a nested struct in smarthosting response

type InstanceSet

type InstanceSet struct {
	InstanceId string `json:"InstanceId" xml:"InstanceId"`
}

InstanceSet is a nested struct in smarthosting response

type InstanceSets

type InstanceSets struct {
	InstanceSet []InstanceSet `json:"InstanceSet" xml:"InstanceSet"`
}

InstanceSets is a nested struct in smarthosting response

type LifecycleAttribute

type LifecycleAttribute struct {
	DeliveryTime   string `json:"DeliveryTime" xml:"DeliveryTime"`
	ExpirationTime string `json:"ExpirationTime" xml:"ExpirationTime"`
	ReceptionTime  string `json:"ReceptionTime" xml:"ReceptionTime"`
}

LifecycleAttribute is a nested struct in smarthosting response

type ListManagedHostsRequest

type ListManagedHostsRequest struct {
	*requests.RpcRequest
	ResourceOwnerId       requests.Integer       `position:"Query" name:"ResourceOwnerId"`
	HostType              string                 `position:"Query" name:"HostType"`
	Mode                  string                 `position:"Query" name:"Mode"`
	ResourceGroupId       string                 `position:"Query" name:"ResourceGroupId"`
	NextToken             string                 `position:"Query" name:"NextToken"`
	Tag                   *[]ListManagedHostsTag `position:"Query" name:"Tag"  type:"Repeated"`
	ResourceOwnerAccount  string                 `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount          string                 `position:"Query" name:"OwnerAccount"`
	ManagedHostId         *[]string              `position:"Query" name:"ManagedHostId"  type:"Repeated"`
	OwnerId               requests.Integer       `position:"Query" name:"OwnerId"`
	ManagedPrivateSpaceId string                 `position:"Query" name:"ManagedPrivateSpaceId"`
	ZoneId                string                 `position:"Query" name:"ZoneId"`
	MaxResults            requests.Integer       `position:"Query" name:"MaxResults"`
	ManagedHostName       string                 `position:"Query" name:"ManagedHostName"`
	Status                string                 `position:"Query" name:"Status"`
}

ListManagedHostsRequest is the request struct for api ListManagedHosts

func CreateListManagedHostsRequest

func CreateListManagedHostsRequest() (request *ListManagedHostsRequest)

CreateListManagedHostsRequest creates a request to invoke ListManagedHosts API

type ListManagedHostsResponse

type ListManagedHostsResponse struct {
	*responses.BaseResponse
	NextToken       string                            `json:"NextToken" xml:"NextToken"`
	PageSize        int                               `json:"PageSize" xml:"PageSize"`
	RequestId       string                            `json:"RequestId" xml:"RequestId"`
	TotalCount      int                               `json:"TotalCount" xml:"TotalCount"`
	ManagedHostSets ManagedHostSetsInListManagedHosts `json:"ManagedHostSets" xml:"ManagedHostSets"`
}

ListManagedHostsResponse is the response struct for api ListManagedHosts

func CreateListManagedHostsResponse

func CreateListManagedHostsResponse() (response *ListManagedHostsResponse)

CreateListManagedHostsResponse creates a response to parse from ListManagedHosts response

type ListManagedHostsTag

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

ListManagedHostsTag is a repeated param struct in ListManagedHostsRequest

type ListManagedPrivateSpacesRequest

type ListManagedPrivateSpacesRequest struct {
	*requests.RpcRequest
	ResourceOwnerId         requests.Integer               `position:"Query" name:"ResourceOwnerId"`
	ManagedPrivateSpaceName string                         `position:"Query" name:"ManagedPrivateSpaceName"`
	ResourceGroupId         string                         `position:"Query" name:"ResourceGroupId"`
	NextToken               string                         `position:"Query" name:"NextToken"`
	Tag                     *[]ListManagedPrivateSpacesTag `position:"Query" name:"Tag"  type:"Repeated"`
	ResourceOwnerAccount    string                         `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount            string                         `position:"Query" name:"OwnerAccount"`
	OwnerId                 requests.Integer               `position:"Query" name:"OwnerId"`
	ManagedPrivateSpaceId   *[]string                      `position:"Query" name:"ManagedPrivateSpaceId"  type:"Repeated"`
	ZoneId                  string                         `position:"Query" name:"ZoneId"`
	MaxResults              requests.Integer               `position:"Query" name:"MaxResults"`
}

ListManagedPrivateSpacesRequest is the request struct for api ListManagedPrivateSpaces

func CreateListManagedPrivateSpacesRequest

func CreateListManagedPrivateSpacesRequest() (request *ListManagedPrivateSpacesRequest)

CreateListManagedPrivateSpacesRequest creates a request to invoke ListManagedPrivateSpaces API

type ListManagedPrivateSpacesResponse

type ListManagedPrivateSpacesResponse struct {
	*responses.BaseResponse
	NextToken               string                  `json:"NextToken" xml:"NextToken"`
	RequestId               string                  `json:"RequestId" xml:"RequestId"`
	TotalCount              int                     `json:"TotalCount" xml:"TotalCount"`
	ManagedPrivateSpaceSets ManagedPrivateSpaceSets `json:"ManagedPrivateSpaceSets" xml:"ManagedPrivateSpaceSets"`
}

ListManagedPrivateSpacesResponse is the response struct for api ListManagedPrivateSpaces

func CreateListManagedPrivateSpacesResponse

func CreateListManagedPrivateSpacesResponse() (response *ListManagedPrivateSpacesResponse)

CreateListManagedPrivateSpacesResponse creates a response to parse from ListManagedPrivateSpaces response

type ListManagedPrivateSpacesTag

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

ListManagedPrivateSpacesTag is a repeated param struct in ListManagedPrivateSpacesRequest

type ListManagedRacksRequest

type ListManagedRacksRequest struct {
	*requests.RpcRequest
	ResourceOwnerId       requests.Integer `position:"Query" name:"ResourceOwnerId"`
	HostType              string           `position:"Query" name:"HostType"`
	NextToken             string           `position:"Query" name:"NextToken"`
	ManagedRackId         *[]string        `position:"Query" name:"ManagedRackId"  type:"Repeated"`
	ResourceOwnerAccount  string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount          string           `position:"Query" name:"OwnerAccount"`
	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
	ManagedPrivateSpaceId string           `position:"Query" name:"ManagedPrivateSpaceId"`
	ZoneId                string           `position:"Query" name:"ZoneId"`
	MaxResults            requests.Integer `position:"Query" name:"MaxResults"`
}

ListManagedRacksRequest is the request struct for api ListManagedRacks

func CreateListManagedRacksRequest

func CreateListManagedRacksRequest() (request *ListManagedRacksRequest)

CreateListManagedRacksRequest creates a request to invoke ListManagedRacks API

type ListManagedRacksResponse

type ListManagedRacksResponse struct {
	*responses.BaseResponse
	NextToken        string           `json:"NextToken" xml:"NextToken"`
	PageSize         int              `json:"PageSize" xml:"PageSize"`
	RequestId        string           `json:"RequestId" xml:"RequestId"`
	TotalCount       int              `json:"TotalCount" xml:"TotalCount"`
	ManagedRacksSets ManagedRacksSets `json:"ManagedRacksSets" xml:"ManagedRacksSets"`
}

ListManagedRacksResponse is the response struct for api ListManagedRacks

func CreateListManagedRacksResponse

func CreateListManagedRacksResponse() (response *ListManagedRacksResponse)

CreateListManagedRacksResponse creates a response to parse from ListManagedRacks response

type LocationAttribute

type LocationAttribute struct {
	Address string `json:"Address" xml:"Address"`
}

LocationAttribute is a nested struct in smarthosting response

type ManagedHostSet

type ManagedHostSet struct {
	ManagedHostId                       string                              `json:"ManagedHostId" xml:"ManagedHostId"`
	ManagedHostStatus                   string                              `json:"ManagedHostStatus" xml:"ManagedHostStatus"`
	Mode                                string                              `json:"Mode" xml:"Mode"`
	ResourceGroupId                     string                              `json:"ResourceGroupId" xml:"ResourceGroupId"`
	ManagedHostName                     string                              `json:"ManagedHostName" xml:"ManagedHostName"`
	Status                              string                              `json:"Status" xml:"Status"`
	Description                         string                              `json:"Description" xml:"Description"`
	SupportedInstanceTypeFamilies       SupportedInstanceTypeFamilies       `json:"SupportedInstanceTypeFamilies" xml:"SupportedInstanceTypeFamilies"`
	SupportedInstanceTypes              SupportedInstanceTypes              `json:"SupportedInstanceTypes" xml:"SupportedInstanceTypes"`
	SupportedCustomInstanceTypeFamilies SupportedCustomInstanceTypeFamilies `json:"SupportedCustomInstanceTypeFamilies" xml:"SupportedCustomInstanceTypeFamilies"`
	NetworkAssociation                  NetworkAssociation                  `json:"NetworkAssociation" xml:"NetworkAssociation"`
	CapacityAttribute                   CapacityAttribute                   `json:"CapacityAttribute" xml:"CapacityAttribute"`
	HostAttribute                       HostAttribute                       `json:"HostAttribute" xml:"HostAttribute"`
	InstanceSets                        InstanceSets                        `json:"InstanceSets" xml:"InstanceSets"`
	Tags                                TagsInListManagedHosts              `json:"Tags" xml:"Tags"`
}

ManagedHostSet is a nested struct in smarthosting response

type ManagedHostSetsInListManagedHosts

type ManagedHostSetsInListManagedHosts struct {
	ManagedHostSet []ManagedHostSet `json:"ManagedHostSet" xml:"ManagedHostSet"`
}

ManagedHostSetsInListManagedHosts is a nested struct in smarthosting response

type ManagedHostSetsInListManagedPrivateSpaces

type ManagedHostSetsInListManagedPrivateSpaces struct {
	ManagedHostSet []ManagedHostSet `json:"ManagedHostSet" xml:"ManagedHostSet"`
}

ManagedHostSetsInListManagedPrivateSpaces is a nested struct in smarthosting response

type ManagedHostSetsInListManagedRacks

type ManagedHostSetsInListManagedRacks struct {
	ManagedHostSet []ManagedHostSet `json:"ManagedHostSet" xml:"ManagedHostSet"`
}

ManagedHostSetsInListManagedRacks is a nested struct in smarthosting response

type ManagedPrivateSpaceSet

type ManagedPrivateSpaceSet struct {
	CreationTime            string                                    `json:"CreationTime" xml:"CreationTime"`
	Description             string                                    `json:"Description" xml:"Description"`
	ManagedPrivateSpaceId   string                                    `json:"ManagedPrivateSpaceId" xml:"ManagedPrivateSpaceId"`
	ManagedPrivateSpaceName string                                    `json:"ManagedPrivateSpaceName" xml:"ManagedPrivateSpaceName"`
	ResourceGroupId         string                                    `json:"ResourceGroupId" xml:"ResourceGroupId"`
	SaleMode                string                                    `json:"SaleMode" xml:"SaleMode"`
	ZoneId                  string                                    `json:"ZoneId" xml:"ZoneId"`
	CapacityAttribute       CapacityAttribute                         `json:"CapacityAttribute" xml:"CapacityAttribute"`
	LifecycleAttribute      LifecycleAttribute                        `json:"LifecycleAttribute" xml:"LifecycleAttribute"`
	LocationAttribute       LocationAttribute                         `json:"LocationAttribute" xml:"LocationAttribute"`
	DeploymentAttributes    DeploymentAttributes                      `json:"DeploymentAttributes" xml:"DeploymentAttributes"`
	ManagedHostSets         ManagedHostSetsInListManagedPrivateSpaces `json:"ManagedHostSets" xml:"ManagedHostSets"`
	Tags                    TagsInListManagedPrivateSpaces            `json:"Tags" xml:"Tags"`
}

ManagedPrivateSpaceSet is a nested struct in smarthosting response

type ManagedPrivateSpaceSets

type ManagedPrivateSpaceSets struct {
	ManagedPrivateSpaceSet []ManagedPrivateSpaceSet `json:"ManagedPrivateSpaceSet" xml:"ManagedPrivateSpaceSet"`
}

ManagedPrivateSpaceSets is a nested struct in smarthosting response

type ManagedRacksSet

type ManagedRacksSet struct {
	ManagedRackId   string                            `json:"ManagedRackId" xml:"ManagedRackId"`
	ZoneId          string                            `json:"ZoneId" xml:"ZoneId"`
	ManagedHostSets ManagedHostSetsInListManagedRacks `json:"ManagedHostSets" xml:"ManagedHostSets"`
}

ManagedRacksSet is a nested struct in smarthosting response

type ManagedRacksSets

type ManagedRacksSets struct {
	ManagedRacksSet []ManagedRacksSet `json:"ManagedRacksSet" xml:"ManagedRacksSet"`
}

ManagedRacksSets is a nested struct in smarthosting response

type NetworkAssociation

type NetworkAssociation struct {
	SwitchSets SwitchSets `json:"SwitchSets" xml:"SwitchSets"`
}

NetworkAssociation is a nested struct in smarthosting response

type SupportedCustomInstanceTypeFamilies

type SupportedCustomInstanceTypeFamilies struct {
	SupportedCustomInstanceTypeFamily []string `json:"SupportedCustomInstanceTypeFamily" xml:"SupportedCustomInstanceTypeFamily"`
}

SupportedCustomInstanceTypeFamilies is a nested struct in smarthosting response

type SupportedInstanceTypeFamilies

type SupportedInstanceTypeFamilies struct {
	SupportedInstanceTypeFamily []string `json:"SupportedInstanceTypeFamily" xml:"SupportedInstanceTypeFamily"`
}

SupportedInstanceTypeFamilies is a nested struct in smarthosting response

type SupportedInstanceTypes

type SupportedInstanceTypes struct {
	SupportedInstanceType []string `json:"SupportedInstanceType" xml:"SupportedInstanceType"`
}

SupportedInstanceTypes is a nested struct in smarthosting response

type SwitchSet

type SwitchSet struct {
	SwitchId string `json:"SwitchId" xml:"SwitchId"`
}

SwitchSet is a nested struct in smarthosting response

type SwitchSets

type SwitchSets struct {
	SwitchSet []SwitchSet `json:"SwitchSet" xml:"SwitchSet"`
}

SwitchSets is a nested struct in smarthosting response

type Tag

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

Tag is a nested struct in smarthosting response

type TagsInListManagedHosts

type TagsInListManagedHosts struct {
	Tag []Tag `json:"Tag" xml:"Tag"`
}

TagsInListManagedHosts is a nested struct in smarthosting response

type TagsInListManagedPrivateSpaces

type TagsInListManagedPrivateSpaces struct {
	Tag []Tag `json:"Tag" xml:"Tag"`
}

TagsInListManagedPrivateSpaces is a nested struct in smarthosting response

type UpdateManagedHostAttributesRequest

type UpdateManagedHostAttributesRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	Mode                 string           `position:"Query" name:"Mode"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
	ManagedHostId        string           `position:"Query" name:"ManagedHostId"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ManagedHostName      string           `position:"Query" name:"ManagedHostName"`
}

UpdateManagedHostAttributesRequest is the request struct for api UpdateManagedHostAttributes

func CreateUpdateManagedHostAttributesRequest

func CreateUpdateManagedHostAttributesRequest() (request *UpdateManagedHostAttributesRequest)

CreateUpdateManagedHostAttributesRequest creates a request to invoke UpdateManagedHostAttributes API

type UpdateManagedHostAttributesResponse

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

UpdateManagedHostAttributesResponse is the response struct for api UpdateManagedHostAttributes

func CreateUpdateManagedHostAttributesResponse

func CreateUpdateManagedHostAttributesResponse() (response *UpdateManagedHostAttributesResponse)

CreateUpdateManagedHostAttributesResponse creates a response to parse from UpdateManagedHostAttributes response

Jump to

Keyboard shortcuts

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