client

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) CreateInstance

func (client *Client) CreateInstance(request *CreateInstanceRequest) (_result *CreateInstanceResponse, _err error)

func (*Client) CreateInstanceShutdownTimer

func (client *Client) CreateInstanceShutdownTimer(InstanceId *string, request *CreateInstanceShutdownTimerRequest) (_result *CreateInstanceShutdownTimerResponse, _err error)

func (*Client) CreateInstanceShutdownTimerWithOptions

func (client *Client) CreateInstanceShutdownTimerWithOptions(InstanceId *string, request *CreateInstanceShutdownTimerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateInstanceShutdownTimerResponse, _err error)

func (*Client) CreateInstanceSnapshot

func (client *Client) CreateInstanceSnapshot(InstanceId *string, request *CreateInstanceSnapshotRequest) (_result *CreateInstanceSnapshotResponse, _err error)

func (*Client) CreateInstanceSnapshotWithOptions

func (client *Client) CreateInstanceSnapshotWithOptions(InstanceId *string, request *CreateInstanceSnapshotRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateInstanceSnapshotResponse, _err error)

func (*Client) CreateInstanceWithOptions

func (client *Client) CreateInstanceWithOptions(request *CreateInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateInstanceResponse, _err error)

func (*Client) DeleteInstance

func (client *Client) DeleteInstance(InstanceId *string) (_result *DeleteInstanceResponse, _err error)

func (*Client) DeleteInstanceShutdownTimer

func (client *Client) DeleteInstanceShutdownTimer(InstanceId *string) (_result *DeleteInstanceShutdownTimerResponse, _err error)

func (*Client) DeleteInstanceShutdownTimerWithOptions

func (client *Client) DeleteInstanceShutdownTimerWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteInstanceShutdownTimerResponse, _err error)

func (*Client) DeleteInstanceSnapshot

func (client *Client) DeleteInstanceSnapshot(InstanceId *string, InstanceSnapshotId *string) (_result *DeleteInstanceSnapshotResponse, _err error)

func (*Client) DeleteInstanceSnapshotWithOptions

func (client *Client) DeleteInstanceSnapshotWithOptions(InstanceId *string, InstanceSnapshotId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteInstanceSnapshotResponse, _err error)

func (*Client) DeleteInstanceWithOptions

func (client *Client) DeleteInstanceWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteInstanceResponse, _err error)

func (*Client) GetAuthorization

func (client *Client) GetAuthorization() (_result *GetAuthorizationResponse, _err error)

func (*Client) GetAuthorizationWithOptions

func (client *Client) GetAuthorizationWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAuthorizationResponse, _err error)

func (*Client) GetDashboardStatistics

func (client *Client) GetDashboardStatistics(request *GetDashboardStatisticsRequest) (_result *GetDashboardStatisticsResponse, _err error)

func (*Client) GetDashboardStatisticsWithOptions

func (client *Client) GetDashboardStatisticsWithOptions(request *GetDashboardStatisticsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetDashboardStatisticsResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetInstance

func (client *Client) GetInstance(InstanceId *string) (_result *GetInstanceResponse, _err error)

func (*Client) GetInstanceShutdownTimer

func (client *Client) GetInstanceShutdownTimer(InstanceId *string) (_result *GetInstanceShutdownTimerResponse, _err error)

func (*Client) GetInstanceShutdownTimerWithOptions

func (client *Client) GetInstanceShutdownTimerWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetInstanceShutdownTimerResponse, _err error)

func (*Client) GetInstanceSnapshot

func (client *Client) GetInstanceSnapshot(InstanceId *string, InstanceSnapshotId *string) (_result *GetInstanceSnapshotResponse, _err error)

func (*Client) GetInstanceSnapshotWithOptions

func (client *Client) GetInstanceSnapshotWithOptions(InstanceId *string, InstanceSnapshotId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetInstanceSnapshotResponse, _err error)

func (*Client) GetInstanceWithOptions

func (client *Client) GetInstanceWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetInstanceResponse, _err error)

func (*Client) GetInstancesStatistics

func (client *Client) GetInstancesStatistics(request *GetInstancesStatisticsRequest) (_result *GetInstancesStatisticsResponse, _err error)

func (*Client) GetInstancesStatisticsWithOptions

func (client *Client) GetInstancesStatisticsWithOptions(request *GetInstancesStatisticsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetInstancesStatisticsResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListEcsSpecs

func (client *Client) ListEcsSpecs(request *ListEcsSpecsRequest) (_result *ListEcsSpecsResponse, _err error)

func (*Client) ListEcsSpecsWithOptions

func (client *Client) ListEcsSpecsWithOptions(request *ListEcsSpecsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListEcsSpecsResponse, _err error)

func (*Client) ListImages

func (client *Client) ListImages(request *ListImagesRequest) (_result *ListImagesResponse, _err error)

func (*Client) ListImagesWithOptions

func (client *Client) ListImagesWithOptions(request *ListImagesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListImagesResponse, _err error)

func (*Client) ListInstanceSnapshots

func (client *Client) ListInstanceSnapshots(InstanceId *string) (_result *ListInstanceSnapshotsResponse, _err error)

func (*Client) ListInstanceSnapshotsWithOptions

func (client *Client) ListInstanceSnapshotsWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListInstanceSnapshotsResponse, _err error)

func (*Client) ListInstances

func (client *Client) ListInstances(request *ListInstancesRequest) (_result *ListInstancesResponse, _err error)

func (*Client) ListInstancesStatus

func (client *Client) ListInstancesStatus(request *ListInstancesStatusRequest) (_result *ListInstancesStatusResponse, _err error)

func (*Client) ListInstancesStatusWithOptions

func (client *Client) ListInstancesStatusWithOptions(request *ListInstancesStatusRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListInstancesStatusResponse, _err error)

func (*Client) ListInstancesWithOptions

func (client *Client) ListInstancesWithOptions(request *ListInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListInstancesResponse, _err error)

func (*Client) StartInstance

func (client *Client) StartInstance(InstanceId *string) (_result *StartInstanceResponse, _err error)

func (*Client) StartInstanceWithOptions

func (client *Client) StartInstanceWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StartInstanceResponse, _err error)

func (*Client) StopInstance

func (client *Client) StopInstance(InstanceId *string, request *StopInstanceRequest) (_result *StopInstanceResponse, _err error)

func (*Client) StopInstanceWithOptions

func (client *Client) StopInstanceWithOptions(InstanceId *string, request *StopInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StopInstanceResponse, _err error)

func (*Client) UpdateInstance

func (client *Client) UpdateInstance(InstanceId *string, request *UpdateInstanceRequest) (_result *UpdateInstanceResponse, _err error)

func (*Client) UpdateInstanceSnapshot

func (client *Client) UpdateInstanceSnapshot(InstanceId *string, InstanceSnapshotId *string, request *UpdateInstanceSnapshotRequest) (_result *UpdateInstanceSnapshotResponse, _err error)

func (*Client) UpdateInstanceSnapshotWithOptions

func (client *Client) UpdateInstanceSnapshotWithOptions(InstanceId *string, InstanceSnapshotId *string, request *UpdateInstanceSnapshotRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateInstanceSnapshotResponse, _err error)

func (*Client) UpdateInstanceWithOptions

func (client *Client) UpdateInstanceWithOptions(InstanceId *string, request *UpdateInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateInstanceResponse, _err error)

func (*Client) UpdateV3InstanceByUser

func (client *Client) UpdateV3InstanceByUser(request *UpdateV3InstanceByUserRequest) (_result *UpdateV3InstanceByUserResponse, _err error)

func (*Client) UpdateV3InstanceByUserWithOptions

func (client *Client) UpdateV3InstanceByUserWithOptions(request *UpdateV3InstanceByUserRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateV3InstanceByUserResponse, _err error)

type Cluster

type Cluster struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitempty" xml:"ClusterId,omitempty"`
	// 集群类型
	ClusterType *string `json:"ClusterType,omitempty" xml:"ClusterType,omitempty"`
	// 集群配置
	Config *string `json:"Config,omitempty" xml:"Config,omitempty"`
	// 集群名称
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// nas文件id
	Nas *string `json:"Nas,omitempty" xml:"Nas,omitempty"`
	// 集群owner
	Owner *string `json:"Owner,omitempty" xml:"Owner,omitempty"`
	// 个人nas挂载到容器路径
	PrivateContainerPath *string `json:"PrivateContainerPath,omitempty" xml:"PrivateContainerPath,omitempty"`
	// 个人nas挂载路径
	PrivateNasPath *string `json:"PrivateNasPath,omitempty" xml:"PrivateNasPath,omitempty"`
	// 公共nas挂载到容器的路径
	PublicContainerPath *string `json:"PublicContainerPath,omitempty" xml:"PublicContainerPath,omitempty"`
	// 公共nas挂载路径
	PublicNasPath *string `json:"PublicNasPath,omitempty" xml:"PublicNasPath,omitempty"`
	// 集群状态
	State *string `json:"State,omitempty" xml:"State,omitempty"`
	// 集群vSwitch
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// 集群vpc
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (Cluster) GoString

func (s Cluster) GoString() string

func (*Cluster) SetClusterId

func (s *Cluster) SetClusterId(v string) *Cluster

func (*Cluster) SetClusterType

func (s *Cluster) SetClusterType(v string) *Cluster

func (*Cluster) SetConfig

func (s *Cluster) SetConfig(v string) *Cluster

func (*Cluster) SetName

func (s *Cluster) SetName(v string) *Cluster

func (*Cluster) SetNas

func (s *Cluster) SetNas(v string) *Cluster

func (*Cluster) SetOwner

func (s *Cluster) SetOwner(v string) *Cluster

func (*Cluster) SetPrivateContainerPath

func (s *Cluster) SetPrivateContainerPath(v string) *Cluster

func (*Cluster) SetPrivateNasPath

func (s *Cluster) SetPrivateNasPath(v string) *Cluster

func (*Cluster) SetPublicContainerPath

func (s *Cluster) SetPublicContainerPath(v string) *Cluster

func (*Cluster) SetPublicNasPath

func (s *Cluster) SetPublicNasPath(v string) *Cluster

func (*Cluster) SetState

func (s *Cluster) SetState(v string) *Cluster

func (*Cluster) SetVSwitchId

func (s *Cluster) SetVSwitchId(v string) *Cluster

func (*Cluster) SetVpcId

func (s *Cluster) SetVpcId(v string) *Cluster

func (Cluster) String

func (s Cluster) String() string

type Config

type Config struct {
	// 配置名称
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// 配置数值
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (Config) GoString

func (s Config) GoString() string

func (*Config) SetName

func (s *Config) SetName(v string) *Config

func (*Config) SetValue

func (s *Config) SetValue(v string) *Config

func (Config) String

func (s Config) String() string

type CreateInstanceRequest

type CreateInstanceRequest struct {
	DatasetList []*Dataset `json:"DatasetList,omitempty" xml:"DatasetList,omitempty" type:"Repeated"`
	// 实例规格
	EcsSpec *string `json:"EcsSpec,omitempty" xml:"EcsSpec,omitempty"`
	// 环境参数
	Environments map[string]interface{} `json:"Environments,omitempty" xml:"Environments,omitempty"`
	// 镜像id
	ImageId *string `json:"ImageId,omitempty" xml:"ImageId,omitempty"`
	// 镜像地址
	ImageUrl *string `json:"ImageUrl,omitempty" xml:"ImageUrl,omitempty"`
	// 实例名称
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	IsPublic     *int64  `json:"IsPublic,omitempty" xml:"IsPublic,omitempty"`
	// nas文件系统id
	NasFileSystemId *string `json:"NasFileSystemId,omitempty" xml:"NasFileSystemId,omitempty"`
	// 实例的真实用户名称
	UserName *string `json:"UserName,omitempty" xml:"UserName,omitempty"`
	// 打通的vpc网络配置
	UserVpc     *UserVpc `json:"UserVpc,omitempty" xml:"UserVpc,omitempty"`
	WorkspaceId *string  `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (CreateInstanceRequest) GoString

func (s CreateInstanceRequest) GoString() string

func (*CreateInstanceRequest) SetDatasetList

func (s *CreateInstanceRequest) SetDatasetList(v []*Dataset) *CreateInstanceRequest

func (*CreateInstanceRequest) SetEcsSpec

func (*CreateInstanceRequest) SetEnvironments

func (s *CreateInstanceRequest) SetEnvironments(v map[string]interface{}) *CreateInstanceRequest

func (*CreateInstanceRequest) SetImageId

func (*CreateInstanceRequest) SetImageUrl

func (*CreateInstanceRequest) SetInstanceName

func (s *CreateInstanceRequest) SetInstanceName(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetIsPublic

func (*CreateInstanceRequest) SetNasFileSystemId

func (s *CreateInstanceRequest) SetNasFileSystemId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetUserName

func (*CreateInstanceRequest) SetUserVpc

func (*CreateInstanceRequest) SetWorkspaceId

func (s *CreateInstanceRequest) SetWorkspaceId(v string) *CreateInstanceRequest

func (CreateInstanceRequest) String

func (s CreateInstanceRequest) String() string

type CreateInstanceResponse

type CreateInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateInstanceResponse) GoString

func (s CreateInstanceResponse) GoString() string

func (*CreateInstanceResponse) SetBody

func (*CreateInstanceResponse) SetHeaders

func (*CreateInstanceResponse) SetStatusCode added in v1.1.16

func (CreateInstanceResponse) String

func (s CreateInstanceResponse) String() string

type CreateInstanceResponseBody

type CreateInstanceResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateInstanceResponseBody) GoString

func (s CreateInstanceResponseBody) GoString() string

func (*CreateInstanceResponseBody) SetInstanceId

func (*CreateInstanceResponseBody) SetRequestId

func (CreateInstanceResponseBody) String

type CreateInstanceShutdownTimerRequest

type CreateInstanceShutdownTimerRequest struct {
	// 定时关机时间(GMT)
	ScheduleTime *string `json:"ScheduleTime,omitempty" xml:"ScheduleTime,omitempty"`
	// 多少毫秒后定时关机(如果设定可以覆盖ScheduleTime)
	TtlInMillis *int64 `json:"TtlInMillis,omitempty" xml:"TtlInMillis,omitempty"`
}

func (CreateInstanceShutdownTimerRequest) GoString

func (*CreateInstanceShutdownTimerRequest) SetScheduleTime

func (*CreateInstanceShutdownTimerRequest) SetTtlInMillis

func (CreateInstanceShutdownTimerRequest) String

type CreateInstanceShutdownTimerResponse

type CreateInstanceShutdownTimerResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateInstanceShutdownTimerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateInstanceShutdownTimerResponse) GoString

func (*CreateInstanceShutdownTimerResponse) SetHeaders

func (*CreateInstanceShutdownTimerResponse) SetStatusCode added in v1.1.16

func (CreateInstanceShutdownTimerResponse) String

type CreateInstanceShutdownTimerResponseBody

type CreateInstanceShutdownTimerResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateInstanceShutdownTimerResponseBody) GoString

func (*CreateInstanceShutdownTimerResponseBody) SetInstanceId

func (*CreateInstanceShutdownTimerResponseBody) SetRequestId

func (CreateInstanceShutdownTimerResponseBody) String

type CreateInstanceSnapshotRequest

type CreateInstanceSnapshotRequest struct {
	// 实例快照描述
	InstanceSnapshotDescription *string `json:"InstanceSnapshotDescription,omitempty" xml:"InstanceSnapshotDescription,omitempty"`
	// 实例快照名称
	InstanceSnapshotName *string `json:"InstanceSnapshotName,omitempty" xml:"InstanceSnapshotName,omitempty"`
	// 实例快照存储地址(可选)
	InstanceSnapshotRepoUrl *string `json:"InstanceSnapshotRepoUrl,omitempty" xml:"InstanceSnapshotRepoUrl,omitempty"`
}

func (CreateInstanceSnapshotRequest) GoString

func (*CreateInstanceSnapshotRequest) SetInstanceSnapshotDescription

func (s *CreateInstanceSnapshotRequest) SetInstanceSnapshotDescription(v string) *CreateInstanceSnapshotRequest

func (*CreateInstanceSnapshotRequest) SetInstanceSnapshotName

func (*CreateInstanceSnapshotRequest) SetInstanceSnapshotRepoUrl

func (s *CreateInstanceSnapshotRequest) SetInstanceSnapshotRepoUrl(v string) *CreateInstanceSnapshotRequest

func (CreateInstanceSnapshotRequest) String

type CreateInstanceSnapshotResponse

type CreateInstanceSnapshotResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateInstanceSnapshotResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateInstanceSnapshotResponse) GoString

func (*CreateInstanceSnapshotResponse) SetHeaders

func (*CreateInstanceSnapshotResponse) SetStatusCode added in v1.1.16

func (CreateInstanceSnapshotResponse) String

type CreateInstanceSnapshotResponseBody

type CreateInstanceSnapshotResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 实例快照ID
	InstanceSnapshotId *string `json:"InstanceSnapshotId,omitempty" xml:"InstanceSnapshotId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateInstanceSnapshotResponseBody) GoString

func (*CreateInstanceSnapshotResponseBody) SetInstanceId

func (*CreateInstanceSnapshotResponseBody) SetInstanceSnapshotId

func (*CreateInstanceSnapshotResponseBody) SetRequestId

func (CreateInstanceSnapshotResponseBody) String

type Dataset

type Dataset struct {
	// 数据集id
	DatasetId *string `json:"DatasetId,omitempty" xml:"DatasetId,omitempty"`
	// 默认挂载路径
	DefaultMountPath *string `json:"DefaultMountPath,omitempty" xml:"DefaultMountPath,omitempty"`
	// 文件系统Id
	FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"`
	// 挂载路径
	MountPath *string `json:"MountPath,omitempty" xml:"MountPath,omitempty"`
	// 数据集名称
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// 文件系统被挂载路径
	NasPath *string `json:"NasPath,omitempty" xml:"NasPath,omitempty"`
}

func (Dataset) GoString

func (s Dataset) GoString() string

func (*Dataset) SetDatasetId

func (s *Dataset) SetDatasetId(v string) *Dataset

func (*Dataset) SetDefaultMountPath

func (s *Dataset) SetDefaultMountPath(v string) *Dataset

func (*Dataset) SetFileSystemId

func (s *Dataset) SetFileSystemId(v string) *Dataset

func (*Dataset) SetMountPath

func (s *Dataset) SetMountPath(v string) *Dataset

func (*Dataset) SetName

func (s *Dataset) SetName(v string) *Dataset

func (*Dataset) SetNasPath

func (s *Dataset) SetNasPath(v string) *Dataset

func (Dataset) String

func (s Dataset) String() string

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteInstanceResponse) GoString

func (s DeleteInstanceResponse) GoString() string

func (*DeleteInstanceResponse) SetBody

func (*DeleteInstanceResponse) SetHeaders

func (*DeleteInstanceResponse) SetStatusCode added in v1.1.16

func (DeleteInstanceResponse) String

func (s DeleteInstanceResponse) String() string

type DeleteInstanceResponseBody

type DeleteInstanceResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteInstanceResponseBody) GoString

func (s DeleteInstanceResponseBody) GoString() string

func (*DeleteInstanceResponseBody) SetInstanceId

func (*DeleteInstanceResponseBody) SetRequestId

func (DeleteInstanceResponseBody) String

type DeleteInstanceShutdownTimerResponse

type DeleteInstanceShutdownTimerResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteInstanceShutdownTimerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteInstanceShutdownTimerResponse) GoString

func (*DeleteInstanceShutdownTimerResponse) SetHeaders

func (*DeleteInstanceShutdownTimerResponse) SetStatusCode added in v1.1.16

func (DeleteInstanceShutdownTimerResponse) String

type DeleteInstanceShutdownTimerResponseBody

type DeleteInstanceShutdownTimerResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteInstanceShutdownTimerResponseBody) GoString

func (*DeleteInstanceShutdownTimerResponseBody) SetInstanceId

func (*DeleteInstanceShutdownTimerResponseBody) SetRequestId

func (DeleteInstanceShutdownTimerResponseBody) String

type DeleteInstanceSnapshotResponse

type DeleteInstanceSnapshotResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteInstanceSnapshotResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteInstanceSnapshotResponse) GoString

func (*DeleteInstanceSnapshotResponse) SetHeaders

func (*DeleteInstanceSnapshotResponse) SetStatusCode added in v1.1.16

func (DeleteInstanceSnapshotResponse) String

type DeleteInstanceSnapshotResponseBody

type DeleteInstanceSnapshotResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 实例快照ID
	InstanceSnapshotId *string `json:"InstanceSnapshotId,omitempty" xml:"InstanceSnapshotId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteInstanceSnapshotResponseBody) GoString

func (*DeleteInstanceSnapshotResponseBody) SetInstanceId

func (*DeleteInstanceSnapshotResponseBody) SetInstanceSnapshotId

func (*DeleteInstanceSnapshotResponseBody) SetRequestId

func (DeleteInstanceSnapshotResponseBody) String

type EcsSpec

type EcsSpec struct {
	// cpu数量
	Cpu *int64 `json:"Cpu,omitempty" xml:"Cpu,omitempty"`
	// gpu卡数
	Gpu *int64 `json:"Gpu,omitempty" xml:"Gpu,omitempty"`
	// GPU卡类型
	GpuType *string `json:"GpuType,omitempty" xml:"GpuType,omitempty"`
	// 实例类型
	InstanceType *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// 内存(GiB)
	MemoryInGiB *int64 `json:"MemoryInGiB,omitempty" xml:"MemoryInGiB,omitempty"`
	// 磁盘类型
	SystemDiskCategory *string `json:"SystemDiskCategory,omitempty" xml:"SystemDiskCategory,omitempty"`
	// 磁盘大小(GiB)
	SystemDiskSizeInGiB *int64 `json:"SystemDiskSizeInGiB,omitempty" xml:"SystemDiskSizeInGiB,omitempty"`
}

func (EcsSpec) GoString

func (s EcsSpec) GoString() string

func (*EcsSpec) SetCpu

func (s *EcsSpec) SetCpu(v int64) *EcsSpec

func (*EcsSpec) SetGpu

func (s *EcsSpec) SetGpu(v int64) *EcsSpec

func (*EcsSpec) SetGpuType

func (s *EcsSpec) SetGpuType(v string) *EcsSpec

func (*EcsSpec) SetInstanceType

func (s *EcsSpec) SetInstanceType(v string) *EcsSpec

func (*EcsSpec) SetMemoryInGiB

func (s *EcsSpec) SetMemoryInGiB(v int64) *EcsSpec

func (*EcsSpec) SetSystemDiskCategory

func (s *EcsSpec) SetSystemDiskCategory(v string) *EcsSpec

func (*EcsSpec) SetSystemDiskSizeInGiB

func (s *EcsSpec) SetSystemDiskSizeInGiB(v int64) *EcsSpec

func (EcsSpec) String

func (s EcsSpec) String() string

type GetAuthorizationResponse

type GetAuthorizationResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetAuthorizationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAuthorizationResponse) GoString

func (s GetAuthorizationResponse) GoString() string

func (*GetAuthorizationResponse) SetBody

func (*GetAuthorizationResponse) SetHeaders

func (*GetAuthorizationResponse) SetStatusCode added in v1.1.16

func (GetAuthorizationResponse) String

func (s GetAuthorizationResponse) String() string

type GetAuthorizationResponseBody

type GetAuthorizationResponseBody struct {
	// 授权失败错误代码
	AuthorizationFailedCode *string `json:"AuthorizationFailedCode,omitempty" xml:"AuthorizationFailedCode,omitempty"`
	// 授权失败错误消息
	AuthorizationFailedMessage *string `json:"AuthorizationFailedMessage,omitempty" xml:"AuthorizationFailedMessage,omitempty"`
	// 是否已经给DSW服务账号授权
	Authorized *bool `json:"Authorized,omitempty" xml:"Authorized,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetAuthorizationResponseBody) GoString

func (s GetAuthorizationResponseBody) GoString() string

func (*GetAuthorizationResponseBody) SetAuthorizationFailedCode

func (s *GetAuthorizationResponseBody) SetAuthorizationFailedCode(v string) *GetAuthorizationResponseBody

func (*GetAuthorizationResponseBody) SetAuthorizationFailedMessage

func (s *GetAuthorizationResponseBody) SetAuthorizationFailedMessage(v string) *GetAuthorizationResponseBody

func (*GetAuthorizationResponseBody) SetAuthorized

func (*GetAuthorizationResponseBody) SetRequestId

func (GetAuthorizationResponseBody) String

type GetDashboardStatisticsRequest

type GetDashboardStatisticsRequest struct {
	// 工作空间ID
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (GetDashboardStatisticsRequest) GoString

func (*GetDashboardStatisticsRequest) SetWorkspaceId

func (GetDashboardStatisticsRequest) String

type GetDashboardStatisticsResponse

type GetDashboardStatisticsResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetDashboardStatisticsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetDashboardStatisticsResponse) GoString

func (*GetDashboardStatisticsResponse) SetHeaders

func (*GetDashboardStatisticsResponse) SetStatusCode added in v1.1.16

func (GetDashboardStatisticsResponse) String

type GetDashboardStatisticsResponseBody

type GetDashboardStatisticsResponseBody struct {
	// 实例数
	InstanceTotal *int64 `json:"InstanceTotal,omitempty" xml:"InstanceTotal,omitempty"`
	// 运行实例数
	InstsanceRunningTotal *int64 `json:"InstsanceRunningTotal,omitempty" xml:"InstsanceRunningTotal,omitempty"`
	// Id of the request
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetDashboardStatisticsResponseBody) GoString

func (*GetDashboardStatisticsResponseBody) SetInstanceTotal

func (*GetDashboardStatisticsResponseBody) SetInstsanceRunningTotal

func (*GetDashboardStatisticsResponseBody) SetRequestId

func (GetDashboardStatisticsResponseBody) String

type GetInstanceResponse

type GetInstanceResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetInstanceResponse) GoString

func (s GetInstanceResponse) GoString() string

func (*GetInstanceResponse) SetBody

func (*GetInstanceResponse) SetHeaders

func (s *GetInstanceResponse) SetHeaders(v map[string]*string) *GetInstanceResponse

func (*GetInstanceResponse) SetStatusCode added in v1.1.16

func (s *GetInstanceResponse) SetStatusCode(v int32) *GetInstanceResponse

func (GetInstanceResponse) String

func (s GetInstanceResponse) String() string

type GetInstanceResponseBody

type GetInstanceResponseBody struct {
	// 累计运行时间(分钟)
	AccumulativeRunningTimeInMinutes *int64 `json:"AccumulativeRunningTimeInMinutes,omitempty" xml:"AccumulativeRunningTimeInMinutes,omitempty"`
	// ecs规格
	EcsSpec *string `json:"EcsSpec,omitempty" xml:"EcsSpec,omitempty"`
	// 实例创建时间(GMT)
	GmtCreateTime *string `json:"GmtCreateTime,omitempty" xml:"GmtCreateTime,omitempty"`
	// 实例修改时间(GMT)
	GmtModifiedTime *string `json:"GmtModifiedTime,omitempty" xml:"GmtModifiedTime,omitempty"`
	// 镜像ID
	ImageId *string `json:"ImageId,omitempty" xml:"ImageId,omitempty"`
	// 镜像链接
	ImageUrl *string `json:"ImageUrl,omitempty" xml:"ImageUrl,omitempty"`
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 实例名称
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// 定时关机任务
	InstanceShutdownTimer *InstanceShutdownTimer `json:"InstanceShutdownTimer,omitempty" xml:"InstanceShutdownTimer,omitempty"`
	// 实例状态
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// jupyter链接
	JupyterlabUrl *string `json:"JupyterlabUrl,omitempty" xml:"JupyterlabUrl,omitempty"`
	// nas文件系统ID
	NasFileSystemId *string `json:"NasFileSystemId,omitempty" xml:"NasFileSystemId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// 命令行终端链接
	TerminalUrl *string `json:"TerminalUrl,omitempty" xml:"TerminalUrl,omitempty"`
	// 用户ID
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	// 被打通VPC配置
	UserVpc *UserVpc `json:"UserVpc,omitempty" xml:"UserVpc,omitempty"`
	// web ide链接
	WebIdeUrl *string `json:"WebIdeUrl,omitempty" xml:"WebIdeUrl,omitempty"`
}

func (GetInstanceResponseBody) GoString

func (s GetInstanceResponseBody) GoString() string

func (*GetInstanceResponseBody) SetAccumulativeRunningTimeInMinutes

func (s *GetInstanceResponseBody) SetAccumulativeRunningTimeInMinutes(v int64) *GetInstanceResponseBody

func (*GetInstanceResponseBody) SetEcsSpec

func (*GetInstanceResponseBody) SetGmtCreateTime

func (s *GetInstanceResponseBody) SetGmtCreateTime(v string) *GetInstanceResponseBody

func (*GetInstanceResponseBody) SetGmtModifiedTime

func (s *GetInstanceResponseBody) SetGmtModifiedTime(v string) *GetInstanceResponseBody

func (*GetInstanceResponseBody) SetImageId

func (*GetInstanceResponseBody) SetImageUrl

func (*GetInstanceResponseBody) SetInstanceId

func (*GetInstanceResponseBody) SetInstanceName

func (*GetInstanceResponseBody) SetInstanceShutdownTimer

func (*GetInstanceResponseBody) SetInstanceStatus

func (s *GetInstanceResponseBody) SetInstanceStatus(v string) *GetInstanceResponseBody

func (*GetInstanceResponseBody) SetJupyterlabUrl

func (s *GetInstanceResponseBody) SetJupyterlabUrl(v string) *GetInstanceResponseBody

func (*GetInstanceResponseBody) SetNasFileSystemId

func (s *GetInstanceResponseBody) SetNasFileSystemId(v string) *GetInstanceResponseBody

func (*GetInstanceResponseBody) SetRequestId

func (*GetInstanceResponseBody) SetTerminalUrl

func (*GetInstanceResponseBody) SetUserId

func (*GetInstanceResponseBody) SetUserVpc

func (*GetInstanceResponseBody) SetWebIdeUrl

func (GetInstanceResponseBody) String

func (s GetInstanceResponseBody) String() string

type GetInstanceShutdownTimerResponse

type GetInstanceShutdownTimerResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetInstanceShutdownTimerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetInstanceShutdownTimerResponse) GoString

func (*GetInstanceShutdownTimerResponse) SetHeaders

func (*GetInstanceShutdownTimerResponse) SetStatusCode added in v1.1.16

func (GetInstanceShutdownTimerResponse) String

type GetInstanceShutdownTimerResponseBody

type GetInstanceShutdownTimerResponseBody struct {
	// 任务创建时间(GMT)
	GmtCreateTime *string `json:"GmtCreateTime,omitempty" xml:"GmtCreateTime,omitempty"`
	// 任务修改时间(GMT)
	GmtModifiedTime *string `json:"GmtModifiedTime,omitempty" xml:"GmtModifiedTime,omitempty"`
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// 定时关机时间(GMT)
	ScheduleTime *string `json:"ScheduleTime,omitempty" xml:"ScheduleTime,omitempty"`
}

func (GetInstanceShutdownTimerResponseBody) GoString

func (*GetInstanceShutdownTimerResponseBody) SetGmtCreateTime

func (*GetInstanceShutdownTimerResponseBody) SetGmtModifiedTime

func (*GetInstanceShutdownTimerResponseBody) SetInstanceId

func (*GetInstanceShutdownTimerResponseBody) SetRequestId

func (*GetInstanceShutdownTimerResponseBody) SetScheduleTime

func (GetInstanceShutdownTimerResponseBody) String

type GetInstanceSnapshotResponse

type GetInstanceSnapshotResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetInstanceSnapshotResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetInstanceSnapshotResponse) GoString

func (s GetInstanceSnapshotResponse) GoString() string

func (*GetInstanceSnapshotResponse) SetBody

func (*GetInstanceSnapshotResponse) SetHeaders

func (*GetInstanceSnapshotResponse) SetStatusCode added in v1.1.16

func (GetInstanceSnapshotResponse) String

type GetInstanceSnapshotResponseBody

type GetInstanceSnapshotResponseBody struct {
	// 实例快照保存时间(GMT)
	GmtCreateTime *string `json:"GmtCreateTime,omitempty" xml:"GmtCreateTime,omitempty"`
	// 实例快照修改时间(GMT)
	GmtModifiedTime *string `json:"GmtModifiedTime,omitempty" xml:"GmtModifiedTime,omitempty"`
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 实例快照描述
	InstanceSnapshotDescription *string `json:"InstanceSnapshotDescription,omitempty" xml:"InstanceSnapshotDescription,omitempty"`
	// 实例快照ID
	InstanceSnapshotId *string `json:"InstanceSnapshotId,omitempty" xml:"InstanceSnapshotId,omitempty"`
	// 实例快照名称
	InstanceSnapshotName *string `json:"InstanceSnapshotName,omitempty" xml:"InstanceSnapshotName,omitempty"`
	// 实例快照存储地址
	InstanceSnapshotRepoUrl *string `json:"InstanceSnapshotRepoUrl,omitempty" xml:"InstanceSnapshotRepoUrl,omitempty"`
	// 实例快照状态
	InstanceSnapshotStatus *string `json:"InstanceSnapshotStatus,omitempty" xml:"InstanceSnapshotStatus,omitempty"`
	// 实例快照标签
	InstanceSnapshotTag *string `json:"InstanceSnapshotTag,omitempty" xml:"InstanceSnapshotTag,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetInstanceSnapshotResponseBody) GoString

func (*GetInstanceSnapshotResponseBody) SetGmtCreateTime

func (*GetInstanceSnapshotResponseBody) SetGmtModifiedTime

func (*GetInstanceSnapshotResponseBody) SetInstanceId

func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotDescription

func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotDescription(v string) *GetInstanceSnapshotResponseBody

func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotId

func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotName

func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotRepoUrl

func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotStatus

func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotTag

func (*GetInstanceSnapshotResponseBody) SetRequestId

func (GetInstanceSnapshotResponseBody) String

type GetInstancesStatisticsRequest

type GetInstancesStatisticsRequest struct {
	// 工作空间id列表
	WorkspaceIds *string `json:"WorkspaceIds,omitempty" xml:"WorkspaceIds,omitempty"`
}

func (GetInstancesStatisticsRequest) GoString

func (*GetInstancesStatisticsRequest) SetWorkspaceIds

func (GetInstancesStatisticsRequest) String

type GetInstancesStatisticsResponse

type GetInstancesStatisticsResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetInstancesStatisticsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetInstancesStatisticsResponse) GoString

func (*GetInstancesStatisticsResponse) SetHeaders

func (*GetInstancesStatisticsResponse) SetStatusCode added in v1.1.16

func (GetInstancesStatisticsResponse) String

type GetInstancesStatisticsResponseBody

type GetInstancesStatisticsResponseBody struct {
	// Id of the request
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// 统计数据
	Statistics map[string]interface{} `json:"Statistics,omitempty" xml:"Statistics,omitempty"`
}

func (GetInstancesStatisticsResponseBody) GoString

func (*GetInstancesStatisticsResponseBody) SetRequestId

func (*GetInstancesStatisticsResponseBody) SetStatistics

func (GetInstancesStatisticsResponseBody) String

type Image

type Image struct {
	// 资源类型
	AcceleratorType *string `json:"AcceleratorType,omitempty" xml:"AcceleratorType,omitempty"`
	// 镜像作者
	Author *string `json:"Author,omitempty" xml:"Author,omitempty"`
	// Cuda版本
	CudaVersion *string `json:"CudaVersion,omitempty" xml:"CudaVersion,omitempty"`
	// 镜像描述
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Ecs镜像key
	EcsImageKey *string `json:"EcsImageKey,omitempty" xml:"EcsImageKey,omitempty"`
	// 算法框架
	Framework *string `json:"Framework,omitempty" xml:"Framework,omitempty"`
	// 算法框架版本
	FrameworkVersion *string `json:"FrameworkVersion,omitempty" xml:"FrameworkVersion,omitempty"`
	// 镜像父镜像
	FromImageId *string `json:"FromImageId,omitempty" xml:"FromImageId,omitempty"`
	// 镜像名称
	FromImageName *string `json:"FromImageName,omitempty" xml:"FromImageName,omitempty"`
	// 创建时间
	GmtCreateTime *string `json:"GmtCreateTime,omitempty" xml:"GmtCreateTime,omitempty"`
	// 修改时间
	GmtModifiedTime *string `json:"GmtModifiedTime,omitempty" xml:"GmtModifiedTime,omitempty"`
	// 镜像ID
	ImageId *string `json:"ImageId,omitempty" xml:"ImageId,omitempty"`
	// 镜像名称
	ImageName *string `json:"ImageName,omitempty" xml:"ImageName,omitempty"`
	// 镜像url
	ImageUrl *string `json:"ImageUrl,omitempty" xml:"ImageUrl,omitempty"`
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 镜像命名空间
	Namespace *string `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	// 镜像操作系统分发版
	OS *string `json:"OS,omitempty" xml:"OS,omitempty"`
	// 分发版版本
	OSVersion *string `json:"OSVersion,omitempty" xml:"OSVersion,omitempty"`
	// python版本
	PythonVersion *string `json:"PythonVersion,omitempty" xml:"PythonVersion,omitempty"`
	// 地区
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// 镜像仓库
	Repository *string `json:"Repository,omitempty" xml:"Repository,omitempty"`
	// 跳转的镜像站点页面
	RepositoryPage *string `json:"RepositoryPage,omitempty" xml:"RepositoryPage,omitempty"`
	// 资源类型
	ResourceType *int64 `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// 镜像的根镜像
	RootImageId *string `json:"RootImageId,omitempty" xml:"RootImageId,omitempty"`
	// 镜像是否被其他实例共享
	Shared *bool `json:"Shared,omitempty" xml:"Shared,omitempty"`
	// 镜像短url
	ShortImageUrl *string `json:"ShortImageUrl,omitempty" xml:"ShortImageUrl,omitempty"`
	// 镜像仓库短名称
	ShortRepository *string `json:"ShortRepository,omitempty" xml:"ShortRepository,omitempty"`
	// 镜像状态
	Stage *string `json:"Stage,omitempty" xml:"Stage,omitempty"`
	// 镜像状态代码
	StageCode *int64 `json:"StageCode,omitempty" xml:"StageCode,omitempty"`
	// 保存镜像建议的名称
	SuggestedName *string `json:"SuggestedName,omitempty" xml:"SuggestedName,omitempty"`
	// Tag
	Tag *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
	// 镜像类型
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// 工作空间镜像id
	WorkspaceImageId *string `json:"WorkspaceImageId,omitempty" xml:"WorkspaceImageId,omitempty"`
}

func (Image) GoString

func (s Image) GoString() string

func (*Image) SetAcceleratorType

func (s *Image) SetAcceleratorType(v string) *Image

func (*Image) SetAuthor

func (s *Image) SetAuthor(v string) *Image

func (*Image) SetCudaVersion

func (s *Image) SetCudaVersion(v string) *Image

func (*Image) SetDescription

func (s *Image) SetDescription(v string) *Image

func (*Image) SetEcsImageKey

func (s *Image) SetEcsImageKey(v string) *Image

func (*Image) SetFramework

func (s *Image) SetFramework(v string) *Image

func (*Image) SetFrameworkVersion

func (s *Image) SetFrameworkVersion(v string) *Image

func (*Image) SetFromImageId

func (s *Image) SetFromImageId(v string) *Image

func (*Image) SetFromImageName

func (s *Image) SetFromImageName(v string) *Image

func (*Image) SetGmtCreateTime

func (s *Image) SetGmtCreateTime(v string) *Image

func (*Image) SetGmtModifiedTime

func (s *Image) SetGmtModifiedTime(v string) *Image

func (*Image) SetImageId

func (s *Image) SetImageId(v string) *Image

func (*Image) SetImageName

func (s *Image) SetImageName(v string) *Image

func (*Image) SetImageUrl

func (s *Image) SetImageUrl(v string) *Image

func (*Image) SetInstanceId

func (s *Image) SetInstanceId(v string) *Image

func (*Image) SetNamespace

func (s *Image) SetNamespace(v string) *Image

func (*Image) SetOS

func (s *Image) SetOS(v string) *Image

func (*Image) SetOSVersion

func (s *Image) SetOSVersion(v string) *Image

func (*Image) SetPythonVersion

func (s *Image) SetPythonVersion(v string) *Image

func (*Image) SetRegion

func (s *Image) SetRegion(v string) *Image

func (*Image) SetRepository

func (s *Image) SetRepository(v string) *Image

func (*Image) SetRepositoryPage

func (s *Image) SetRepositoryPage(v string) *Image

func (*Image) SetResourceType

func (s *Image) SetResourceType(v int64) *Image

func (*Image) SetRootImageId

func (s *Image) SetRootImageId(v string) *Image

func (*Image) SetShared

func (s *Image) SetShared(v bool) *Image

func (*Image) SetShortImageUrl

func (s *Image) SetShortImageUrl(v string) *Image

func (*Image) SetShortRepository

func (s *Image) SetShortRepository(v string) *Image

func (*Image) SetStage

func (s *Image) SetStage(v string) *Image

func (*Image) SetStageCode

func (s *Image) SetStageCode(v int64) *Image

func (*Image) SetSuggestedName

func (s *Image) SetSuggestedName(v string) *Image

func (*Image) SetTag

func (s *Image) SetTag(v string) *Image

func (*Image) SetType

func (s *Image) SetType(v string) *Image

func (*Image) SetWorkspaceImageId

func (s *Image) SetWorkspaceImageId(v string) *Image

func (Image) String

func (s Image) String() string

type ImageNamespace

type ImageNamespace struct {
	// 命名空间名称
	Namespace *string `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	// 命名空间状态
	NamespaceStatus *string `json:"NamespaceStatus,omitempty" xml:"NamespaceStatus,omitempty"`
}

func (ImageNamespace) GoString

func (s ImageNamespace) GoString() string

func (*ImageNamespace) SetNamespace

func (s *ImageNamespace) SetNamespace(v string) *ImageNamespace

func (*ImageNamespace) SetNamespaceStatus

func (s *ImageNamespace) SetNamespaceStatus(v string) *ImageNamespace

func (ImageNamespace) String

func (s ImageNamespace) String() string

type ImageRepository

type ImageRepository struct {
	// 创建时间
	GmtCreateTime *string `json:"GmtCreateTime,omitempty" xml:"GmtCreateTime,omitempty"`
	// 修改时间
	GmtModifiedTime *string `json:"GmtModifiedTime,omitempty" xml:"GmtModifiedTime,omitempty"`
	// 地区Id
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 仓库名称
	RepoName *string `json:"RepoName,omitempty" xml:"RepoName,omitempty"`
	// 仓库命名空间
	RepoNamespace *string `json:"RepoNamespace,omitempty" xml:"RepoNamespace,omitempty"`
	// 仓库状态
	RepoStatus *string `json:"RepoStatus,omitempty" xml:"RepoStatus,omitempty"`
	// 仓库地址
	Repository *string `json:"Repository,omitempty" xml:"Repository,omitempty"`
}

func (ImageRepository) GoString

func (s ImageRepository) GoString() string

func (*ImageRepository) SetGmtCreateTime

func (s *ImageRepository) SetGmtCreateTime(v string) *ImageRepository

func (*ImageRepository) SetGmtModifiedTime

func (s *ImageRepository) SetGmtModifiedTime(v string) *ImageRepository

func (*ImageRepository) SetRegionId

func (s *ImageRepository) SetRegionId(v string) *ImageRepository

func (*ImageRepository) SetRepoName

func (s *ImageRepository) SetRepoName(v string) *ImageRepository

func (*ImageRepository) SetRepoNamespace

func (s *ImageRepository) SetRepoNamespace(v string) *ImageRepository

func (*ImageRepository) SetRepoStatus

func (s *ImageRepository) SetRepoStatus(v string) *ImageRepository

func (*ImageRepository) SetRepository

func (s *ImageRepository) SetRepository(v string) *ImageRepository

func (ImageRepository) String

func (s ImageRepository) String() string

type Instance

type Instance struct {
	// 运行时间,毫秒数
	AccumulativeRunningTimeInMillis *int64 `json:"AccumulativeRunningTimeInMillis,omitempty" xml:"AccumulativeRunningTimeInMillis,omitempty"`
	// 累计运行时间(分钟)
	AccumulativeRunningTimeInMinutes *int64 `json:"AccumulativeRunningTimeInMinutes,omitempty" xml:"AccumulativeRunningTimeInMinutes,omitempty"`
	// 创建者
	CreateUser *string `json:"CreateUser,omitempty" xml:"CreateUser,omitempty"`
	// 数据集列表
	DatasetList []*Dataset `json:"DatasetList,omitempty" xml:"DatasetList,omitempty" type:"Repeated"`
	// ecs规格
	EcsSpec *string `json:"EcsSpec,omitempty" xml:"EcsSpec,omitempty"`
	// 创建时间(GMT)
	GmtCreateTime *string `json:"GmtCreateTime,omitempty" xml:"GmtCreateTime,omitempty"`
	// 修改时间(GMT)
	GmtModifiedTime *string `json:"GmtModifiedTime,omitempty" xml:"GmtModifiedTime,omitempty"`
	// 镜像ID
	ImageId *string `json:"ImageId,omitempty" xml:"ImageId,omitempty"`
	// 镜像名称
	ImageName *string `json:"ImageName,omitempty" xml:"ImageName,omitempty"`
	// 镜像类型
	ImageType *string `json:"ImageType,omitempty" xml:"ImageType,omitempty"`
	// 镜像链接
	ImageUrl *string `json:"ImageUrl,omitempty" xml:"ImageUrl,omitempty"`
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 实例名称
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// 定时关机任务
	InstanceShutdownTimer *InstanceShutdownTimer `json:"InstanceShutdownTimer,omitempty" xml:"InstanceShutdownTimer,omitempty"`
	// 实例状态
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// dsw实例链接
	InstanceUrl *string `json:"InstanceUrl,omitempty" xml:"InstanceUrl,omitempty"`
	// 实例版本
	InstanceVersion *string `json:"InstanceVersion,omitempty" xml:"InstanceVersion,omitempty"`
	// 是否他人可见
	IsPublic *int64 `json:"IsPublic,omitempty" xml:"IsPublic,omitempty"`
	// jupyter链接
	JupyterlabUrl *string `json:"JupyterlabUrl,omitempty" xml:"JupyterlabUrl,omitempty"`
	// 错误消息
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// nas文件系统ID
	NasFileSystemId *string `json:"NasFileSystemId,omitempty" xml:"NasFileSystemId,omitempty"`
	// 付费类型代码
	PayType *int64 `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// 付费类型名称
	PayTypeName *string `json:"PayTypeName,omitempty" xml:"PayTypeName,omitempty"`
	// 资源类型名称
	Resource *string `json:"Resource,omitempty" xml:"Resource,omitempty"`
	// 资源类型代码
	ResourceType *int64 `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// 是否支持定时关机
	ShutdownEnabled *bool `json:"ShutdownEnabled,omitempty" xml:"ShutdownEnabled,omitempty"`
	// 命令行终端链接
	TerminalUrl *string `json:"TerminalUrl,omitempty" xml:"TerminalUrl,omitempty"`
	// 用户ID
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	// 保存用户镜像列表
	UserImageList []*Image `json:"UserImageList,omitempty" xml:"UserImageList,omitempty" type:"Repeated"`
	// 被打通VPC配置
	UserVpc *UserVpc `json:"UserVpc,omitempty" xml:"UserVpc,omitempty"`
	// webIde链接
	WebIdeUrl *string `json:"WebIdeUrl,omitempty" xml:"WebIdeUrl,omitempty"`
	// 工作空间id
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
	// 工作空间名称
	WorkspaceName *string `json:"WorkspaceName,omitempty" xml:"WorkspaceName,omitempty"`
}

func (Instance) GoString

func (s Instance) GoString() string

func (*Instance) SetAccumulativeRunningTimeInMillis

func (s *Instance) SetAccumulativeRunningTimeInMillis(v int64) *Instance

func (*Instance) SetAccumulativeRunningTimeInMinutes

func (s *Instance) SetAccumulativeRunningTimeInMinutes(v int64) *Instance

func (*Instance) SetCreateUser

func (s *Instance) SetCreateUser(v string) *Instance

func (*Instance) SetDatasetList

func (s *Instance) SetDatasetList(v []*Dataset) *Instance

func (*Instance) SetEcsSpec

func (s *Instance) SetEcsSpec(v string) *Instance

func (*Instance) SetGmtCreateTime

func (s *Instance) SetGmtCreateTime(v string) *Instance

func (*Instance) SetGmtModifiedTime

func (s *Instance) SetGmtModifiedTime(v string) *Instance

func (*Instance) SetImageId

func (s *Instance) SetImageId(v string) *Instance

func (*Instance) SetImageName

func (s *Instance) SetImageName(v string) *Instance

func (*Instance) SetImageType

func (s *Instance) SetImageType(v string) *Instance

func (*Instance) SetImageUrl

func (s *Instance) SetImageUrl(v string) *Instance

func (*Instance) SetInstanceId

func (s *Instance) SetInstanceId(v string) *Instance

func (*Instance) SetInstanceName

func (s *Instance) SetInstanceName(v string) *Instance

func (*Instance) SetInstanceShutdownTimer

func (s *Instance) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *Instance

func (*Instance) SetInstanceStatus

func (s *Instance) SetInstanceStatus(v string) *Instance

func (*Instance) SetInstanceUrl

func (s *Instance) SetInstanceUrl(v string) *Instance

func (*Instance) SetInstanceVersion

func (s *Instance) SetInstanceVersion(v string) *Instance

func (*Instance) SetIsPublic

func (s *Instance) SetIsPublic(v int64) *Instance

func (*Instance) SetJupyterlabUrl

func (s *Instance) SetJupyterlabUrl(v string) *Instance

func (*Instance) SetMessage

func (s *Instance) SetMessage(v string) *Instance

func (*Instance) SetNasFileSystemId

func (s *Instance) SetNasFileSystemId(v string) *Instance

func (*Instance) SetPayType

func (s *Instance) SetPayType(v int64) *Instance

func (*Instance) SetPayTypeName

func (s *Instance) SetPayTypeName(v string) *Instance

func (*Instance) SetResource

func (s *Instance) SetResource(v string) *Instance

func (*Instance) SetResourceType

func (s *Instance) SetResourceType(v int64) *Instance

func (*Instance) SetShutdownEnabled

func (s *Instance) SetShutdownEnabled(v bool) *Instance

func (*Instance) SetTerminalUrl

func (s *Instance) SetTerminalUrl(v string) *Instance

func (*Instance) SetUserId

func (s *Instance) SetUserId(v string) *Instance

func (*Instance) SetUserImageList

func (s *Instance) SetUserImageList(v []*Image) *Instance

func (*Instance) SetUserVpc

func (s *Instance) SetUserVpc(v *UserVpc) *Instance

func (*Instance) SetWebIdeUrl

func (s *Instance) SetWebIdeUrl(v string) *Instance

func (*Instance) SetWorkspaceId

func (s *Instance) SetWorkspaceId(v string) *Instance

func (*Instance) SetWorkspaceName

func (s *Instance) SetWorkspaceName(v string) *Instance

func (Instance) String

func (s Instance) String() string

type InstanceShutdownTimer

type InstanceShutdownTimer struct {
	// 定时关机修改时间
	GmtCreateTime *string `json:"GmtCreateTime,omitempty" xml:"GmtCreateTime,omitempty"`
	// 定时关机创建时间
	GmtModifiedTime *string `json:"GmtModifiedTime,omitempty" xml:"GmtModifiedTime,omitempty"`
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 定时关机时间
	ScheduleTime *string `json:"ScheduleTime,omitempty" xml:"ScheduleTime,omitempty"`
	// 多少毫秒后定时关机(如果设定可以覆盖ScheduleTime)
	TtlInMillis *int64 `json:"TtlInMillis,omitempty" xml:"TtlInMillis,omitempty"`
}

func (InstanceShutdownTimer) GoString

func (s InstanceShutdownTimer) GoString() string

func (*InstanceShutdownTimer) SetGmtCreateTime

func (s *InstanceShutdownTimer) SetGmtCreateTime(v string) *InstanceShutdownTimer

func (*InstanceShutdownTimer) SetGmtModifiedTime

func (s *InstanceShutdownTimer) SetGmtModifiedTime(v string) *InstanceShutdownTimer

func (*InstanceShutdownTimer) SetInstanceId

func (s *InstanceShutdownTimer) SetInstanceId(v string) *InstanceShutdownTimer

func (*InstanceShutdownTimer) SetScheduleTime

func (s *InstanceShutdownTimer) SetScheduleTime(v string) *InstanceShutdownTimer

func (*InstanceShutdownTimer) SetTtlInMillis

func (s *InstanceShutdownTimer) SetTtlInMillis(v int64) *InstanceShutdownTimer

func (InstanceShutdownTimer) String

func (s InstanceShutdownTimer) String() string

type InstanceSnapshot

type InstanceSnapshot struct {
	// 实例快照保存时间(GMT)
	GmtCreateTime *string `json:"GmtCreateTime,omitempty" xml:"GmtCreateTime,omitempty"`
	// 实例快照修改时间(GMT)
	GmtModifiedTime *string `json:"GmtModifiedTime,omitempty" xml:"GmtModifiedTime,omitempty"`
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 实例快照描述
	InstanceSnapshotDescription *string `json:"InstanceSnapshotDescription,omitempty" xml:"InstanceSnapshotDescription,omitempty"`
	// 实例快照ID
	InstanceSnapshotId *string `json:"InstanceSnapshotId,omitempty" xml:"InstanceSnapshotId,omitempty"`
	// 实例快照名称
	InstanceSnapshotName *string `json:"InstanceSnapshotName,omitempty" xml:"InstanceSnapshotName,omitempty"`
	// 实例快照存储地址
	InstanceSnapshotRepoUrl *string `json:"InstanceSnapshotRepoUrl,omitempty" xml:"InstanceSnapshotRepoUrl,omitempty"`
	// 实例快照状态
	InstanceSnapshotStatus *string `json:"InstanceSnapshotStatus,omitempty" xml:"InstanceSnapshotStatus,omitempty"`
	// 实例快照标签
	InstanceSnapshotTag *string `json:"InstanceSnapshotTag,omitempty" xml:"InstanceSnapshotTag,omitempty"`
}

func (InstanceSnapshot) GoString

func (s InstanceSnapshot) GoString() string

func (*InstanceSnapshot) SetGmtCreateTime

func (s *InstanceSnapshot) SetGmtCreateTime(v string) *InstanceSnapshot

func (*InstanceSnapshot) SetGmtModifiedTime

func (s *InstanceSnapshot) SetGmtModifiedTime(v string) *InstanceSnapshot

func (*InstanceSnapshot) SetInstanceId

func (s *InstanceSnapshot) SetInstanceId(v string) *InstanceSnapshot

func (*InstanceSnapshot) SetInstanceSnapshotDescription

func (s *InstanceSnapshot) SetInstanceSnapshotDescription(v string) *InstanceSnapshot

func (*InstanceSnapshot) SetInstanceSnapshotId

func (s *InstanceSnapshot) SetInstanceSnapshotId(v string) *InstanceSnapshot

func (*InstanceSnapshot) SetInstanceSnapshotName

func (s *InstanceSnapshot) SetInstanceSnapshotName(v string) *InstanceSnapshot

func (*InstanceSnapshot) SetInstanceSnapshotRepoUrl

func (s *InstanceSnapshot) SetInstanceSnapshotRepoUrl(v string) *InstanceSnapshot

func (*InstanceSnapshot) SetInstanceSnapshotStatus

func (s *InstanceSnapshot) SetInstanceSnapshotStatus(v string) *InstanceSnapshot

func (*InstanceSnapshot) SetInstanceSnapshotTag

func (s *InstanceSnapshot) SetInstanceSnapshotTag(v string) *InstanceSnapshot

func (InstanceSnapshot) String

func (s InstanceSnapshot) String() string

type InstanceStatus

type InstanceStatus struct {
	// 累计运行时间(分钟)
	AccumulativeRunningTimeInMinutes *int64 `json:"AccumulativeRunningTimeInMinutes,omitempty" xml:"AccumulativeRunningTimeInMinutes,omitempty"`
	// 实例ID
	InstanceId            *string                `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	InstanceShutdownTimer *InstanceShutdownTimer `json:"InstanceShutdownTimer,omitempty" xml:"InstanceShutdownTimer,omitempty"`
	// 实例状态
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// 实例消息
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// 是否允许使用定时关机
	ShutdownEnabled *bool `json:"ShutdownEnabled,omitempty" xml:"ShutdownEnabled,omitempty"`
	// 实例类型
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (InstanceStatus) GoString

func (s InstanceStatus) GoString() string

func (*InstanceStatus) SetAccumulativeRunningTimeInMinutes

func (s *InstanceStatus) SetAccumulativeRunningTimeInMinutes(v int64) *InstanceStatus

func (*InstanceStatus) SetInstanceId

func (s *InstanceStatus) SetInstanceId(v string) *InstanceStatus

func (*InstanceStatus) SetInstanceShutdownTimer

func (s *InstanceStatus) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *InstanceStatus

func (*InstanceStatus) SetInstanceStatus

func (s *InstanceStatus) SetInstanceStatus(v string) *InstanceStatus

func (*InstanceStatus) SetMsg

func (s *InstanceStatus) SetMsg(v string) *InstanceStatus

func (*InstanceStatus) SetShutdownEnabled

func (s *InstanceStatus) SetShutdownEnabled(v bool) *InstanceStatus

func (*InstanceStatus) SetType

func (s *InstanceStatus) SetType(v string) *InstanceStatus

func (InstanceStatus) String

func (s InstanceStatus) String() string

type InstanceType

type InstanceType struct {
	// CPU核数
	CpuCoreCount *int64 `json:"CpuCoreCount,omitempty" xml:"CpuCoreCount,omitempty"`
	// 折扣
	Discount *float32 `json:"Discount,omitempty" xml:"Discount,omitempty"`
	// 内部价
	DomesticPrice *float32 `json:"DomesticPrice,omitempty" xml:"DomesticPrice,omitempty"`
	// GPU卡数
	GPUAmount *int64 `json:"GPUAmount,omitempty" xml:"GPUAmount,omitempty"`
	// GPU规格
	GPUSpec *string `json:"GPUSpec,omitempty" xml:"GPUSpec,omitempty"`
	// 实例接收带宽
	InstanceBandwidthRx *int64 `json:"InstanceBandwidthRx,omitempty" xml:"InstanceBandwidthRx,omitempty"`
	// 实例发送带宽
	InstanceBandwidthTx *int64 `json:"InstanceBandwidthTx,omitempty" xml:"InstanceBandwidthTx,omitempty"`
	// 实例每秒发包数量
	InstancePpsRx *int64 `json:"InstancePpsRx,omitempty" xml:"InstancePpsRx,omitempty"`
	// 实例每秒收包数量
	InstancePpsTx *int64 `json:"InstancePpsTx,omitempty" xml:"InstancePpsTx,omitempty"`
	// 实例规格族
	InstanceTypeFamily *string `json:"InstanceTypeFamily,omitempty" xml:"InstanceTypeFamily,omitempty"`
	// 实例类型Id
	InstanceTypeId *string `json:"InstanceTypeId,omitempty" xml:"InstanceTypeId,omitempty"`
	// 是否国际站
	International *bool `json:"International,omitempty" xml:"International,omitempty"`
	// 本地磁盘容量
	LocalStorageCapacity *int64 `json:"LocalStorageCapacity,omitempty" xml:"LocalStorageCapacity,omitempty"`
	// 内存容量
	MemorySize *float32 `json:"MemorySize,omitempty" xml:"MemorySize,omitempty"`
	// 价格
	Price *float32 `json:"Price,omitempty" xml:"Price,omitempty"`
	// 价格(人民币)
	PriceCNY *float32 `json:"PriceCNY,omitempty" xml:"PriceCNY,omitempty"`
	// 价格(美元)
	PriceUSD *float32 `json:"PriceUSD,omitempty" xml:"PriceUSD,omitempty"`
	// 资源类型
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// 磁盘存储类型
	SystemDiskCategory *string `json:"SystemDiskCategory,omitempty" xml:"SystemDiskCategory,omitempty"`
	// 磁盘容量
	SystemDiskSize *int64 `json:"SystemDiskSize,omitempty" xml:"SystemDiskSize,omitempty"`
}

func (InstanceType) GoString

func (s InstanceType) GoString() string

func (*InstanceType) SetCpuCoreCount

func (s *InstanceType) SetCpuCoreCount(v int64) *InstanceType

func (*InstanceType) SetDiscount

func (s *InstanceType) SetDiscount(v float32) *InstanceType

func (*InstanceType) SetDomesticPrice

func (s *InstanceType) SetDomesticPrice(v float32) *InstanceType

func (*InstanceType) SetGPUAmount

func (s *InstanceType) SetGPUAmount(v int64) *InstanceType

func (*InstanceType) SetGPUSpec

func (s *InstanceType) SetGPUSpec(v string) *InstanceType

func (*InstanceType) SetInstanceBandwidthRx

func (s *InstanceType) SetInstanceBandwidthRx(v int64) *InstanceType

func (*InstanceType) SetInstanceBandwidthTx

func (s *InstanceType) SetInstanceBandwidthTx(v int64) *InstanceType

func (*InstanceType) SetInstancePpsRx

func (s *InstanceType) SetInstancePpsRx(v int64) *InstanceType

func (*InstanceType) SetInstancePpsTx

func (s *InstanceType) SetInstancePpsTx(v int64) *InstanceType

func (*InstanceType) SetInstanceTypeFamily

func (s *InstanceType) SetInstanceTypeFamily(v string) *InstanceType

func (*InstanceType) SetInstanceTypeId

func (s *InstanceType) SetInstanceTypeId(v string) *InstanceType

func (*InstanceType) SetInternational

func (s *InstanceType) SetInternational(v bool) *InstanceType

func (*InstanceType) SetLocalStorageCapacity

func (s *InstanceType) SetLocalStorageCapacity(v int64) *InstanceType

func (*InstanceType) SetMemorySize

func (s *InstanceType) SetMemorySize(v float32) *InstanceType

func (*InstanceType) SetPrice

func (s *InstanceType) SetPrice(v float32) *InstanceType

func (*InstanceType) SetPriceCNY

func (s *InstanceType) SetPriceCNY(v float32) *InstanceType

func (*InstanceType) SetPriceUSD

func (s *InstanceType) SetPriceUSD(v float32) *InstanceType

func (*InstanceType) SetResourceType

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

func (*InstanceType) SetSystemDiskCategory

func (s *InstanceType) SetSystemDiskCategory(v string) *InstanceType

func (*InstanceType) SetSystemDiskSize

func (s *InstanceType) SetSystemDiskSize(v int64) *InstanceType

func (InstanceType) String

func (s InstanceType) String() string

type ListEcsSpecsRequest

type ListEcsSpecsRequest struct {
	// 每页返回的实例数
	AcceleratorTypeEquals *string `json:"AcceleratorTypeEquals,omitempty" xml:"AcceleratorTypeEquals,omitempty"`
}

func (ListEcsSpecsRequest) GoString

func (s ListEcsSpecsRequest) GoString() string

func (*ListEcsSpecsRequest) SetAcceleratorTypeEquals

func (s *ListEcsSpecsRequest) SetAcceleratorTypeEquals(v string) *ListEcsSpecsRequest

func (ListEcsSpecsRequest) String

func (s ListEcsSpecsRequest) String() string

type ListEcsSpecsResponse

type ListEcsSpecsResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListEcsSpecsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListEcsSpecsResponse) GoString

func (s ListEcsSpecsResponse) GoString() string

func (*ListEcsSpecsResponse) SetBody

func (*ListEcsSpecsResponse) SetHeaders

func (s *ListEcsSpecsResponse) SetHeaders(v map[string]*string) *ListEcsSpecsResponse

func (*ListEcsSpecsResponse) SetStatusCode added in v1.1.16

func (s *ListEcsSpecsResponse) SetStatusCode(v int32) *ListEcsSpecsResponse

func (ListEcsSpecsResponse) String

func (s ListEcsSpecsResponse) String() string

type ListEcsSpecsResponseBody

type ListEcsSpecsResponseBody struct {
	// 请求ecs规格列表
	EcsSpecs []*EcsSpec `json:"EcsSpecs,omitempty" xml:"EcsSpecs,omitempty" type:"Repeated"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// 符合要求的ecs规格数量
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListEcsSpecsResponseBody) GoString

func (s ListEcsSpecsResponseBody) GoString() string

func (*ListEcsSpecsResponseBody) SetEcsSpecs

func (*ListEcsSpecsResponseBody) SetRequestId

func (*ListEcsSpecsResponseBody) SetTotalCount

func (ListEcsSpecsResponseBody) String

func (s ListEcsSpecsResponseBody) String() string

type ListImagesRequest

type ListImagesRequest struct {
	// 资源类型
	AcceleratorTypeEquals *string `json:"AcceleratorTypeEquals,omitempty" xml:"AcceleratorTypeEquals,omitempty"`
	// 容器名称关键字
	ImageNameContains *string `json:"ImageNameContains,omitempty" xml:"ImageNameContains,omitempty"`
	// 镜像类型
	ImageTypeEquals *string `json:"ImageTypeEquals,omitempty" xml:"ImageTypeEquals,omitempty"`
	// 产品
	Product *string `json:"Product,omitempty" xml:"Product,omitempty"`
	// 工作空间Id
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (ListImagesRequest) GoString

func (s ListImagesRequest) GoString() string

func (*ListImagesRequest) SetAcceleratorTypeEquals

func (s *ListImagesRequest) SetAcceleratorTypeEquals(v string) *ListImagesRequest

func (*ListImagesRequest) SetImageNameContains

func (s *ListImagesRequest) SetImageNameContains(v string) *ListImagesRequest

func (*ListImagesRequest) SetImageTypeEquals

func (s *ListImagesRequest) SetImageTypeEquals(v string) *ListImagesRequest

func (*ListImagesRequest) SetProduct

func (s *ListImagesRequest) SetProduct(v string) *ListImagesRequest

func (*ListImagesRequest) SetWorkspaceId

func (s *ListImagesRequest) SetWorkspaceId(v string) *ListImagesRequest

func (ListImagesRequest) String

func (s ListImagesRequest) String() string

type ListImagesResponse

type ListImagesResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListImagesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListImagesResponse) GoString

func (s ListImagesResponse) GoString() string

func (*ListImagesResponse) SetBody

func (*ListImagesResponse) SetHeaders

func (s *ListImagesResponse) SetHeaders(v map[string]*string) *ListImagesResponse

func (*ListImagesResponse) SetStatusCode added in v1.1.16

func (s *ListImagesResponse) SetStatusCode(v int32) *ListImagesResponse

func (ListImagesResponse) String

func (s ListImagesResponse) String() string

type ListImagesResponseBody

type ListImagesResponseBody struct {
	// 镜像列表
	Images []*Image `json:"Images,omitempty" xml:"Images,omitempty" type:"Repeated"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListImagesResponseBody) GoString

func (s ListImagesResponseBody) GoString() string

func (*ListImagesResponseBody) SetImages

func (*ListImagesResponseBody) SetRequestId

func (ListImagesResponseBody) String

func (s ListImagesResponseBody) String() string

type ListInstanceSnapshotsResponse

type ListInstanceSnapshotsResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListInstanceSnapshotsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListInstanceSnapshotsResponse) GoString

func (*ListInstanceSnapshotsResponse) SetBody

func (*ListInstanceSnapshotsResponse) SetHeaders

func (*ListInstanceSnapshotsResponse) SetStatusCode added in v1.1.16

func (ListInstanceSnapshotsResponse) String

type ListInstanceSnapshotsResponseBody

type ListInstanceSnapshotsResponseBody struct {
	// 镜像快照列表
	InstanceSnapshots []*InstanceSnapshot `json:"InstanceSnapshots,omitempty" xml:"InstanceSnapshots,omitempty" type:"Repeated"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListInstanceSnapshotsResponseBody) GoString

func (*ListInstanceSnapshotsResponseBody) SetInstanceSnapshots

func (*ListInstanceSnapshotsResponseBody) SetRequestId

func (ListInstanceSnapshotsResponseBody) String

type ListInstancesRequest

type ListInstancesRequest struct {
	// 是否在工作空间内查询
	InWorkspace *bool `json:"InWorkspace,omitempty" xml:"InWorkspace,omitempty"`
	// 实例名称关键字
	InstanceNameContains *string `json:"InstanceNameContains,omitempty" xml:"InstanceNameContains,omitempty"`
	// 实例状态
	InstanceStatusEquals *string `json:"InstanceStatusEquals,omitempty" xml:"InstanceStatusEquals,omitempty"`
	// 当前页
	PageNumber *string `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// 每页返回的实例数
	PageSize *string `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// 排序字段
	SortBy *string `json:"SortBy,omitempty" xml:"SortBy,omitempty"`
	// 升序降序
	SortOrder *string `json:"SortOrder,omitempty" xml:"SortOrder,omitempty"`
	// 工作空间Id
	WorkspaceIdEquals *string `json:"WorkspaceIdEquals,omitempty" xml:"WorkspaceIdEquals,omitempty"`
}

func (ListInstancesRequest) GoString

func (s ListInstancesRequest) GoString() string

func (*ListInstancesRequest) SetInWorkspace

func (s *ListInstancesRequest) SetInWorkspace(v bool) *ListInstancesRequest

func (*ListInstancesRequest) SetInstanceNameContains

func (s *ListInstancesRequest) SetInstanceNameContains(v string) *ListInstancesRequest

func (*ListInstancesRequest) SetInstanceStatusEquals

func (s *ListInstancesRequest) SetInstanceStatusEquals(v string) *ListInstancesRequest

func (*ListInstancesRequest) SetPageNumber

func (s *ListInstancesRequest) SetPageNumber(v string) *ListInstancesRequest

func (*ListInstancesRequest) SetPageSize

func (*ListInstancesRequest) SetSortBy

func (*ListInstancesRequest) SetSortOrder

func (s *ListInstancesRequest) SetSortOrder(v string) *ListInstancesRequest

func (*ListInstancesRequest) SetWorkspaceIdEquals

func (s *ListInstancesRequest) SetWorkspaceIdEquals(v string) *ListInstancesRequest

func (ListInstancesRequest) String

func (s ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListInstancesResponse) GoString

func (s ListInstancesResponse) GoString() string

func (*ListInstancesResponse) SetBody

func (*ListInstancesResponse) SetHeaders

func (*ListInstancesResponse) SetStatusCode added in v1.1.16

func (s *ListInstancesResponse) SetStatusCode(v int32) *ListInstancesResponse

func (ListInstancesResponse) String

func (s ListInstancesResponse) String() string

type ListInstancesResponseBody

type ListInstancesResponseBody struct {
	// 实例列表
	Instances []*Instance `json:"Instances,omitempty" xml:"Instances,omitempty" type:"Repeated"`
	// 当前页
	PageNumber *int64 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// 每页返回的实例数
	PageSize *int64 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// 符合条件的实例数
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (ListInstancesResponseBody) GoString

func (s ListInstancesResponseBody) GoString() string

func (*ListInstancesResponseBody) SetInstances

func (*ListInstancesResponseBody) SetPageNumber

func (*ListInstancesResponseBody) SetPageSize

func (*ListInstancesResponseBody) SetRequestId

func (*ListInstancesResponseBody) SetTotalCount

func (ListInstancesResponseBody) String

func (s ListInstancesResponseBody) String() string

type ListInstancesStatusRequest

type ListInstancesStatusRequest struct {
	// 实例Id列表
	InstanceIds *string `json:"InstanceIds,omitempty" xml:"InstanceIds,omitempty"`
}

func (ListInstancesStatusRequest) GoString

func (s ListInstancesStatusRequest) GoString() string

func (*ListInstancesStatusRequest) SetInstanceIds

func (ListInstancesStatusRequest) String

type ListInstancesStatusResponse

type ListInstancesStatusResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListInstancesStatusResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListInstancesStatusResponse) GoString

func (s ListInstancesStatusResponse) GoString() string

func (*ListInstancesStatusResponse) SetBody

func (*ListInstancesStatusResponse) SetHeaders

func (*ListInstancesStatusResponse) SetStatusCode added in v1.1.16

func (ListInstancesStatusResponse) String

type ListInstancesStatusResponseBody

type ListInstancesStatusResponseBody struct {
	// Id of the request
	RequestId *string           `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Statuses  []*InstanceStatus `json:"Statuses,omitempty" xml:"Statuses,omitempty" type:"Repeated"`
}

func (ListInstancesStatusResponseBody) GoString

func (*ListInstancesStatusResponseBody) SetRequestId

func (*ListInstancesStatusResponseBody) SetStatuses

func (ListInstancesStatusResponseBody) String

type Nas

type Nas struct {
	// Nas盘描述
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// Nas文件系统Id
	FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"`
	// Nas盘状态
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (Nas) GoString

func (s Nas) GoString() string

func (*Nas) SetDescription

func (s *Nas) SetDescription(v string) *Nas

func (*Nas) SetFileSystemId

func (s *Nas) SetFileSystemId(v string) *Nas

func (*Nas) SetStatus

func (s *Nas) SetStatus(v string) *Nas

func (Nas) String

func (s Nas) String() string

type Region

type Region struct {
	// 城市
	RegionCity *string `json:"RegionCity,omitempty" xml:"RegionCity,omitempty"`
	// id
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// 名称
	RegionName *string `json:"RegionName,omitempty" xml:"RegionName,omitempty"`
	// 州省
	RegionState *string `json:"RegionState,omitempty" xml:"RegionState,omitempty"`
	// 服务地址
	ServiceUrl *string `json:"ServiceUrl,omitempty" xml:"ServiceUrl,omitempty"`
}

func (Region) GoString

func (s Region) GoString() string

func (*Region) SetRegionCity

func (s *Region) SetRegionCity(v string) *Region

func (*Region) SetRegionId

func (s *Region) SetRegionId(v string) *Region

func (*Region) SetRegionName

func (s *Region) SetRegionName(v string) *Region

func (*Region) SetRegionState

func (s *Region) SetRegionState(v string) *Region

func (*Region) SetServiceUrl

func (s *Region) SetServiceUrl(v string) *Region

func (Region) String

func (s Region) String() string

type ResourceInfo

type ResourceInfo struct {
	// 显卡类型
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// 支付类型
	PayType *int64 `json:"PayType,omitempty" xml:"PayType,omitempty"`
	// 资源类型
	ResourceType *int64 `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ResourceInfo) GoString

func (s ResourceInfo) GoString() string

func (*ResourceInfo) SetName

func (s *ResourceInfo) SetName(v string) *ResourceInfo

func (*ResourceInfo) SetPayType

func (s *ResourceInfo) SetPayType(v int64) *ResourceInfo

func (*ResourceInfo) SetResourceType

func (s *ResourceInfo) SetResourceType(v int64) *ResourceInfo

func (ResourceInfo) String

func (s ResourceInfo) String() string

type SecurityGroup

type SecurityGroup struct {
	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// 描述
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// 安全组id
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	// 名称
	SecurityGroupName *string `json:"SecurityGroupName,omitempty" xml:"SecurityGroupName,omitempty"`
	// vpc id
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (SecurityGroup) GoString

func (s SecurityGroup) GoString() string

func (*SecurityGroup) SetCreateTime

func (s *SecurityGroup) SetCreateTime(v string) *SecurityGroup

func (*SecurityGroup) SetDescription

func (s *SecurityGroup) SetDescription(v string) *SecurityGroup

func (*SecurityGroup) SetSecurityGroupId

func (s *SecurityGroup) SetSecurityGroupId(v string) *SecurityGroup

func (*SecurityGroup) SetSecurityGroupName

func (s *SecurityGroup) SetSecurityGroupName(v string) *SecurityGroup

func (*SecurityGroup) SetVpcId

func (s *SecurityGroup) SetVpcId(v string) *SecurityGroup

func (SecurityGroup) String

func (s SecurityGroup) String() string

type StartInstanceResponse

type StartInstanceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StartInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StartInstanceResponse) GoString

func (s StartInstanceResponse) GoString() string

func (*StartInstanceResponse) SetBody

func (*StartInstanceResponse) SetHeaders

func (*StartInstanceResponse) SetStatusCode added in v1.1.16

func (s *StartInstanceResponse) SetStatusCode(v int32) *StartInstanceResponse

func (StartInstanceResponse) String

func (s StartInstanceResponse) String() string

type StartInstanceResponseBody

type StartInstanceResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartInstanceResponseBody) GoString

func (s StartInstanceResponseBody) GoString() string

func (*StartInstanceResponseBody) SetInstanceId

func (*StartInstanceResponseBody) SetRequestId

func (StartInstanceResponseBody) String

func (s StartInstanceResponseBody) String() string

type Status

type Status struct {
	// 累计运行时间(分钟)
	AccumulativeRunningTimeInMinutes *int64 `json:"AccumulativeRunningTimeInMinutes,omitempty" xml:"AccumulativeRunningTimeInMinutes,omitempty"`
	// 实例ID
	InstanceId            *string                `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	InstanceShutdownTimer *InstanceShutdownTimer `json:"InstanceShutdownTimer,omitempty" xml:"InstanceShutdownTimer,omitempty"`
	// 实例状态
	InstanceStatus *string `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// 实例消息
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// 实例类型
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (Status) GoString

func (s Status) GoString() string

func (*Status) SetAccumulativeRunningTimeInMinutes

func (s *Status) SetAccumulativeRunningTimeInMinutes(v int64) *Status

func (*Status) SetInstanceId

func (s *Status) SetInstanceId(v string) *Status

func (*Status) SetInstanceShutdownTimer

func (s *Status) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *Status

func (*Status) SetInstanceStatus

func (s *Status) SetInstanceStatus(v string) *Status

func (*Status) SetMsg

func (s *Status) SetMsg(v string) *Status

func (*Status) SetType

func (s *Status) SetType(v string) *Status

func (Status) String

func (s Status) String() string

type StopInstanceRequest

type StopInstanceRequest struct {
	// 是否保存镜像后停止
	SaveImage *bool `json:"SaveImage,omitempty" xml:"SaveImage,omitempty"`
}

func (StopInstanceRequest) GoString

func (s StopInstanceRequest) GoString() string

func (*StopInstanceRequest) SetSaveImage

func (s *StopInstanceRequest) SetSaveImage(v bool) *StopInstanceRequest

func (StopInstanceRequest) String

func (s StopInstanceRequest) String() string

type StopInstanceResponse

type StopInstanceResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StopInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StopInstanceResponse) GoString

func (s StopInstanceResponse) GoString() string

func (*StopInstanceResponse) SetBody

func (*StopInstanceResponse) SetHeaders

func (s *StopInstanceResponse) SetHeaders(v map[string]*string) *StopInstanceResponse

func (*StopInstanceResponse) SetStatusCode added in v1.1.16

func (s *StopInstanceResponse) SetStatusCode(v int32) *StopInstanceResponse

func (StopInstanceResponse) String

func (s StopInstanceResponse) String() string

type StopInstanceResponseBody

type StopInstanceResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StopInstanceResponseBody) GoString

func (s StopInstanceResponseBody) GoString() string

func (*StopInstanceResponseBody) SetInstanceId

func (*StopInstanceResponseBody) SetRequestId

func (StopInstanceResponseBody) String

func (s StopInstanceResponseBody) String() string

type UpdateInstanceRequest

type UpdateInstanceRequest struct {
	// 修改后实例名称
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
}

func (UpdateInstanceRequest) GoString

func (s UpdateInstanceRequest) GoString() string

func (*UpdateInstanceRequest) SetInstanceName

func (s *UpdateInstanceRequest) SetInstanceName(v string) *UpdateInstanceRequest

func (UpdateInstanceRequest) String

func (s UpdateInstanceRequest) String() string

type UpdateInstanceResponse

type UpdateInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateInstanceResponse) GoString

func (s UpdateInstanceResponse) GoString() string

func (*UpdateInstanceResponse) SetBody

func (*UpdateInstanceResponse) SetHeaders

func (*UpdateInstanceResponse) SetStatusCode added in v1.1.16

func (UpdateInstanceResponse) String

func (s UpdateInstanceResponse) String() string

type UpdateInstanceResponseBody

type UpdateInstanceResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateInstanceResponseBody) GoString

func (s UpdateInstanceResponseBody) GoString() string

func (*UpdateInstanceResponseBody) SetInstanceId

func (*UpdateInstanceResponseBody) SetRequestId

func (UpdateInstanceResponseBody) String

type UpdateInstanceSnapshotRequest

type UpdateInstanceSnapshotRequest struct {
	// 实例快照名称
	InstanceSnapshotName *string `json:"InstanceSnapshotName,omitempty" xml:"InstanceSnapshotName,omitempty"`
}

func (UpdateInstanceSnapshotRequest) GoString

func (*UpdateInstanceSnapshotRequest) SetInstanceSnapshotName

func (UpdateInstanceSnapshotRequest) String

type UpdateInstanceSnapshotResponse

type UpdateInstanceSnapshotResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateInstanceSnapshotResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateInstanceSnapshotResponse) GoString

func (*UpdateInstanceSnapshotResponse) SetHeaders

func (*UpdateInstanceSnapshotResponse) SetStatusCode added in v1.1.16

func (UpdateInstanceSnapshotResponse) String

type UpdateInstanceSnapshotResponseBody

type UpdateInstanceSnapshotResponseBody struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// 实例镜像ID
	InstanceSnapshotId *string `json:"InstanceSnapshotId,omitempty" xml:"InstanceSnapshotId,omitempty"`
	// 请求ID
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateInstanceSnapshotResponseBody) GoString

func (*UpdateInstanceSnapshotResponseBody) SetInstanceId

func (*UpdateInstanceSnapshotResponseBody) SetInstanceSnapshotId

func (*UpdateInstanceSnapshotResponseBody) SetRequestId

func (UpdateInstanceSnapshotResponseBody) String

type UpdateV3InstanceByUserRequest

type UpdateV3InstanceByUserRequest struct {
	UserId      *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
	WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (UpdateV3InstanceByUserRequest) GoString

func (*UpdateV3InstanceByUserRequest) SetUserId

func (*UpdateV3InstanceByUserRequest) SetWorkspaceId

func (UpdateV3InstanceByUserRequest) String

type UpdateV3InstanceByUserResponse

type UpdateV3InstanceByUserResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateV3InstanceByUserResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateV3InstanceByUserResponse) GoString

func (*UpdateV3InstanceByUserResponse) SetHeaders

func (*UpdateV3InstanceByUserResponse) SetStatusCode added in v1.1.16

func (UpdateV3InstanceByUserResponse) String

type UpdateV3InstanceByUserResponseBody

type UpdateV3InstanceByUserResponseBody struct {
	// 状态码
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// http状态码
	HttpStatusCode *int32   `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	IdList         []*int64 `json:"IdList,omitempty" xml:"IdList,omitempty" type:"Repeated"`
	// 说明
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// 请求Id
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// 成功标志
	Success     *bool     `json:"Success,omitempty" xml:"Success,omitempty"`
	UserSet     []*string `json:"UserSet,omitempty" xml:"UserSet,omitempty" type:"Repeated"`
	WorkspaceId *string   `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"`
}

func (UpdateV3InstanceByUserResponseBody) GoString

func (*UpdateV3InstanceByUserResponseBody) SetCode

func (*UpdateV3InstanceByUserResponseBody) SetHttpStatusCode

func (*UpdateV3InstanceByUserResponseBody) SetIdList

func (*UpdateV3InstanceByUserResponseBody) SetMessage

func (*UpdateV3InstanceByUserResponseBody) SetRequestId

func (*UpdateV3InstanceByUserResponseBody) SetSuccess

func (*UpdateV3InstanceByUserResponseBody) SetUserSet added in v1.1.11

func (*UpdateV3InstanceByUserResponseBody) SetWorkspaceId

func (UpdateV3InstanceByUserResponseBody) String

type UserVpc

type UserVpc struct {
	// 角色标识码
	RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"`
	// 安全组ID
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	// 虚拟网络ID
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// 虚拟交换机ID
	VswitchId *string `json:"VswitchId,omitempty" xml:"VswitchId,omitempty"`
}

func (UserVpc) GoString

func (s UserVpc) GoString() string

func (*UserVpc) SetRoleArn

func (s *UserVpc) SetRoleArn(v string) *UserVpc

func (*UserVpc) SetSecurityGroupId

func (s *UserVpc) SetSecurityGroupId(v string) *UserVpc

func (*UserVpc) SetVpcId

func (s *UserVpc) SetVpcId(v string) *UserVpc

func (*UserVpc) SetVswitchId

func (s *UserVpc) SetVswitchId(v string) *UserVpc

func (UserVpc) String

func (s UserVpc) String() string

type VSwitch

type VSwitch struct {
	// 可用ip数量
	AvailableIpAddressCount *int64 `json:"AvailableIpAddressCount,omitempty" xml:"AvailableIpAddressCount,omitempty"`
	// 子网
	CidrBlock *string `json:"CidrBlock,omitempty" xml:"CidrBlock,omitempty"`
	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// 描述
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// 是否默认
	IsDefault *bool `json:"IsDefault,omitempty" xml:"IsDefault,omitempty"`
	// 状态
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// VSwitch Id
	VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"`
	// 名称
	VSwitchName *string `json:"VSwitchName,omitempty" xml:"VSwitchName,omitempty"`
	// vpc id
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// 可用区
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (VSwitch) GoString

func (s VSwitch) GoString() string

func (*VSwitch) SetAvailableIpAddressCount

func (s *VSwitch) SetAvailableIpAddressCount(v int64) *VSwitch

func (*VSwitch) SetCidrBlock

func (s *VSwitch) SetCidrBlock(v string) *VSwitch

func (*VSwitch) SetCreateTime

func (s *VSwitch) SetCreateTime(v string) *VSwitch

func (*VSwitch) SetDescription

func (s *VSwitch) SetDescription(v string) *VSwitch

func (*VSwitch) SetIsDefault

func (s *VSwitch) SetIsDefault(v bool) *VSwitch

func (*VSwitch) SetStatus

func (s *VSwitch) SetStatus(v string) *VSwitch

func (*VSwitch) SetVSwitchId

func (s *VSwitch) SetVSwitchId(v string) *VSwitch

func (*VSwitch) SetVSwitchName

func (s *VSwitch) SetVSwitchName(v string) *VSwitch

func (*VSwitch) SetVpcId

func (s *VSwitch) SetVpcId(v string) *VSwitch

func (*VSwitch) SetZoneId

func (s *VSwitch) SetZoneId(v string) *VSwitch

func (VSwitch) String

func (s VSwitch) String() string

type Vpc

type Vpc struct {
	// vpc子网
	CidrBlock *string `json:"CidrBlock,omitempty" xml:"CidrBlock,omitempty"`
	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// vpc描述
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// 是否默认
	IsDefault *bool `json:"IsDefault,omitempty" xml:"IsDefault,omitempty"`
	// vpc状态
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// 路由id
	VRouterId *string `json:"VRouterId,omitempty" xml:"VRouterId,omitempty"`
	// vpc id
	VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
	// vpc名称
	VpcName *string `json:"VpcName,omitempty" xml:"VpcName,omitempty"`
}

func (Vpc) GoString

func (s Vpc) GoString() string

func (*Vpc) SetCidrBlock

func (s *Vpc) SetCidrBlock(v string) *Vpc

func (*Vpc) SetCreateTime

func (s *Vpc) SetCreateTime(v string) *Vpc

func (*Vpc) SetDescription

func (s *Vpc) SetDescription(v string) *Vpc

func (*Vpc) SetIsDefault

func (s *Vpc) SetIsDefault(v bool) *Vpc

func (*Vpc) SetStatus

func (s *Vpc) SetStatus(v string) *Vpc

func (*Vpc) SetVRouterId

func (s *Vpc) SetVRouterId(v string) *Vpc

func (*Vpc) SetVpcId

func (s *Vpc) SetVpcId(v string) *Vpc

func (*Vpc) SetVpcName

func (s *Vpc) SetVpcName(v string) *Vpc

func (Vpc) String

func (s Vpc) String() string

Jump to

Keyboard shortcuts

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