Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) CreateInstance(request *CreateInstanceRequest) (_result *CreateInstanceResponse, _err error)
- func (client *Client) CreateInstanceShutdownTimer(InstanceId *string, request *CreateInstanceShutdownTimerRequest) (_result *CreateInstanceShutdownTimerResponse, _err error)
- func (client *Client) CreateInstanceShutdownTimerWithOptions(InstanceId *string, request *CreateInstanceShutdownTimerRequest, ...) (_result *CreateInstanceShutdownTimerResponse, _err error)
- func (client *Client) CreateInstanceSnapshot(InstanceId *string, request *CreateInstanceSnapshotRequest) (_result *CreateInstanceSnapshotResponse, _err error)
- func (client *Client) CreateInstanceSnapshotWithOptions(InstanceId *string, request *CreateInstanceSnapshotRequest, ...) (_result *CreateInstanceSnapshotResponse, _err error)
- func (client *Client) CreateInstanceWithOptions(request *CreateInstanceRequest, headers map[string]*string, ...) (_result *CreateInstanceResponse, _err error)
- func (client *Client) DeleteInstance(InstanceId *string) (_result *DeleteInstanceResponse, _err error)
- func (client *Client) DeleteInstanceShutdownTimer(InstanceId *string) (_result *DeleteInstanceShutdownTimerResponse, _err error)
- func (client *Client) DeleteInstanceShutdownTimerWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteInstanceShutdownTimerResponse, _err error)
- func (client *Client) DeleteInstanceSnapshot(InstanceId *string, InstanceSnapshotId *string) (_result *DeleteInstanceSnapshotResponse, _err error)
- func (client *Client) DeleteInstanceSnapshotWithOptions(InstanceId *string, InstanceSnapshotId *string, headers map[string]*string, ...) (_result *DeleteInstanceSnapshotResponse, _err error)
- func (client *Client) DeleteInstanceWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteInstanceResponse, _err error)
- func (client *Client) GetAuthorization() (_result *GetAuthorizationResponse, _err error)
- func (client *Client) GetAuthorizationWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAuthorizationResponse, _err error)
- func (client *Client) GetDashboardStatistics(request *GetDashboardStatisticsRequest) (_result *GetDashboardStatisticsResponse, _err error)
- func (client *Client) GetDashboardStatisticsWithOptions(request *GetDashboardStatisticsRequest, headers map[string]*string, ...) (_result *GetDashboardStatisticsResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GetInstance(InstanceId *string) (_result *GetInstanceResponse, _err error)
- func (client *Client) GetInstanceShutdownTimer(InstanceId *string) (_result *GetInstanceShutdownTimerResponse, _err error)
- func (client *Client) GetInstanceShutdownTimerWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetInstanceShutdownTimerResponse, _err error)
- func (client *Client) GetInstanceSnapshot(InstanceId *string, InstanceSnapshotId *string) (_result *GetInstanceSnapshotResponse, _err error)
- func (client *Client) GetInstanceSnapshotWithOptions(InstanceId *string, InstanceSnapshotId *string, headers map[string]*string, ...) (_result *GetInstanceSnapshotResponse, _err error)
- func (client *Client) GetInstanceWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetInstanceResponse, _err error)
- func (client *Client) GetInstancesStatistics(request *GetInstancesStatisticsRequest) (_result *GetInstancesStatisticsResponse, _err error)
- func (client *Client) GetInstancesStatisticsWithOptions(request *GetInstancesStatisticsRequest, headers map[string]*string, ...) (_result *GetInstancesStatisticsResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) ListEcsSpecs(request *ListEcsSpecsRequest) (_result *ListEcsSpecsResponse, _err error)
- func (client *Client) ListEcsSpecsWithOptions(request *ListEcsSpecsRequest, headers map[string]*string, ...) (_result *ListEcsSpecsResponse, _err error)
- func (client *Client) ListImages(request *ListImagesRequest) (_result *ListImagesResponse, _err error)
- func (client *Client) ListImagesWithOptions(request *ListImagesRequest, headers map[string]*string, ...) (_result *ListImagesResponse, _err error)
- func (client *Client) ListInstanceSnapshots(InstanceId *string) (_result *ListInstanceSnapshotsResponse, _err error)
- func (client *Client) ListInstanceSnapshotsWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListInstanceSnapshotsResponse, _err error)
- func (client *Client) ListInstances(request *ListInstancesRequest) (_result *ListInstancesResponse, _err error)
- func (client *Client) ListInstancesStatus(request *ListInstancesStatusRequest) (_result *ListInstancesStatusResponse, _err error)
- func (client *Client) ListInstancesStatusWithOptions(request *ListInstancesStatusRequest, headers map[string]*string, ...) (_result *ListInstancesStatusResponse, _err error)
- func (client *Client) ListInstancesWithOptions(request *ListInstancesRequest, headers map[string]*string, ...) (_result *ListInstancesResponse, _err error)
- func (client *Client) StartInstance(InstanceId *string) (_result *StartInstanceResponse, _err error)
- func (client *Client) StartInstanceWithOptions(InstanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StartInstanceResponse, _err error)
- func (client *Client) StopInstance(InstanceId *string, request *StopInstanceRequest) (_result *StopInstanceResponse, _err error)
- func (client *Client) StopInstanceWithOptions(InstanceId *string, request *StopInstanceRequest, headers map[string]*string, ...) (_result *StopInstanceResponse, _err error)
- func (client *Client) UpdateInstance(InstanceId *string, request *UpdateInstanceRequest) (_result *UpdateInstanceResponse, _err error)
- func (client *Client) UpdateInstanceSnapshot(InstanceId *string, InstanceSnapshotId *string, ...) (_result *UpdateInstanceSnapshotResponse, _err error)
- func (client *Client) UpdateInstanceSnapshotWithOptions(InstanceId *string, InstanceSnapshotId *string, ...) (_result *UpdateInstanceSnapshotResponse, _err error)
- func (client *Client) UpdateInstanceWithOptions(InstanceId *string, request *UpdateInstanceRequest, headers map[string]*string, ...) (_result *UpdateInstanceResponse, _err error)
- func (client *Client) UpdateV3InstanceByUser(request *UpdateV3InstanceByUserRequest) (_result *UpdateV3InstanceByUserResponse, _err error)
- func (client *Client) UpdateV3InstanceByUserWithOptions(request *UpdateV3InstanceByUserRequest, headers map[string]*string, ...) (_result *UpdateV3InstanceByUserResponse, _err error)
- type Cluster
- func (s Cluster) GoString() string
- func (s *Cluster) SetClusterId(v string) *Cluster
- func (s *Cluster) SetClusterType(v string) *Cluster
- func (s *Cluster) SetConfig(v string) *Cluster
- func (s *Cluster) SetName(v string) *Cluster
- func (s *Cluster) SetNas(v string) *Cluster
- func (s *Cluster) SetOwner(v string) *Cluster
- func (s *Cluster) SetPrivateContainerPath(v string) *Cluster
- func (s *Cluster) SetPrivateNasPath(v string) *Cluster
- func (s *Cluster) SetPublicContainerPath(v string) *Cluster
- func (s *Cluster) SetPublicNasPath(v string) *Cluster
- func (s *Cluster) SetState(v string) *Cluster
- func (s *Cluster) SetVSwitchId(v string) *Cluster
- func (s *Cluster) SetVpcId(v string) *Cluster
- func (s Cluster) String() string
- type Config
- type CreateInstanceRequest
- func (s CreateInstanceRequest) GoString() string
- func (s *CreateInstanceRequest) SetDatasetList(v []*Dataset) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetEcsSpec(v string) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetEnvironments(v map[string]interface{}) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetImageId(v string) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetImageUrl(v string) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetInstanceName(v string) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetIsPublic(v int64) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetNasFileSystemId(v string) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetUserName(v string) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetUserVpc(v *UserVpc) *CreateInstanceRequest
- func (s *CreateInstanceRequest) SetWorkspaceId(v string) *CreateInstanceRequest
- func (s CreateInstanceRequest) String() string
- type CreateInstanceResponse
- func (s CreateInstanceResponse) GoString() string
- func (s *CreateInstanceResponse) SetBody(v *CreateInstanceResponseBody) *CreateInstanceResponse
- func (s *CreateInstanceResponse) SetHeaders(v map[string]*string) *CreateInstanceResponse
- func (s *CreateInstanceResponse) SetStatusCode(v int32) *CreateInstanceResponse
- func (s CreateInstanceResponse) String() string
- type CreateInstanceResponseBody
- type CreateInstanceShutdownTimerRequest
- func (s CreateInstanceShutdownTimerRequest) GoString() string
- func (s *CreateInstanceShutdownTimerRequest) SetScheduleTime(v string) *CreateInstanceShutdownTimerRequest
- func (s *CreateInstanceShutdownTimerRequest) SetTtlInMillis(v int64) *CreateInstanceShutdownTimerRequest
- func (s CreateInstanceShutdownTimerRequest) String() string
- type CreateInstanceShutdownTimerResponse
- func (s CreateInstanceShutdownTimerResponse) GoString() string
- func (s *CreateInstanceShutdownTimerResponse) SetBody(v *CreateInstanceShutdownTimerResponseBody) *CreateInstanceShutdownTimerResponse
- func (s *CreateInstanceShutdownTimerResponse) SetHeaders(v map[string]*string) *CreateInstanceShutdownTimerResponse
- func (s *CreateInstanceShutdownTimerResponse) SetStatusCode(v int32) *CreateInstanceShutdownTimerResponse
- func (s CreateInstanceShutdownTimerResponse) String() string
- type CreateInstanceShutdownTimerResponseBody
- func (s CreateInstanceShutdownTimerResponseBody) GoString() string
- func (s *CreateInstanceShutdownTimerResponseBody) SetInstanceId(v string) *CreateInstanceShutdownTimerResponseBody
- func (s *CreateInstanceShutdownTimerResponseBody) SetRequestId(v string) *CreateInstanceShutdownTimerResponseBody
- func (s CreateInstanceShutdownTimerResponseBody) String() string
- type CreateInstanceSnapshotRequest
- func (s CreateInstanceSnapshotRequest) GoString() string
- func (s *CreateInstanceSnapshotRequest) SetInstanceSnapshotDescription(v string) *CreateInstanceSnapshotRequest
- func (s *CreateInstanceSnapshotRequest) SetInstanceSnapshotName(v string) *CreateInstanceSnapshotRequest
- func (s *CreateInstanceSnapshotRequest) SetInstanceSnapshotRepoUrl(v string) *CreateInstanceSnapshotRequest
- func (s CreateInstanceSnapshotRequest) String() string
- type CreateInstanceSnapshotResponse
- func (s CreateInstanceSnapshotResponse) GoString() string
- func (s *CreateInstanceSnapshotResponse) SetBody(v *CreateInstanceSnapshotResponseBody) *CreateInstanceSnapshotResponse
- func (s *CreateInstanceSnapshotResponse) SetHeaders(v map[string]*string) *CreateInstanceSnapshotResponse
- func (s *CreateInstanceSnapshotResponse) SetStatusCode(v int32) *CreateInstanceSnapshotResponse
- func (s CreateInstanceSnapshotResponse) String() string
- type CreateInstanceSnapshotResponseBody
- func (s CreateInstanceSnapshotResponseBody) GoString() string
- func (s *CreateInstanceSnapshotResponseBody) SetInstanceId(v string) *CreateInstanceSnapshotResponseBody
- func (s *CreateInstanceSnapshotResponseBody) SetInstanceSnapshotId(v string) *CreateInstanceSnapshotResponseBody
- func (s *CreateInstanceSnapshotResponseBody) SetRequestId(v string) *CreateInstanceSnapshotResponseBody
- func (s CreateInstanceSnapshotResponseBody) String() string
- type Dataset
- func (s Dataset) GoString() string
- func (s *Dataset) SetDatasetId(v string) *Dataset
- func (s *Dataset) SetDefaultMountPath(v string) *Dataset
- func (s *Dataset) SetFileSystemId(v string) *Dataset
- func (s *Dataset) SetMountPath(v string) *Dataset
- func (s *Dataset) SetName(v string) *Dataset
- func (s *Dataset) SetNasPath(v string) *Dataset
- func (s Dataset) String() string
- type DeleteInstanceResponse
- func (s DeleteInstanceResponse) GoString() string
- func (s *DeleteInstanceResponse) SetBody(v *DeleteInstanceResponseBody) *DeleteInstanceResponse
- func (s *DeleteInstanceResponse) SetHeaders(v map[string]*string) *DeleteInstanceResponse
- func (s *DeleteInstanceResponse) SetStatusCode(v int32) *DeleteInstanceResponse
- func (s DeleteInstanceResponse) String() string
- type DeleteInstanceResponseBody
- type DeleteInstanceShutdownTimerResponse
- func (s DeleteInstanceShutdownTimerResponse) GoString() string
- func (s *DeleteInstanceShutdownTimerResponse) SetBody(v *DeleteInstanceShutdownTimerResponseBody) *DeleteInstanceShutdownTimerResponse
- func (s *DeleteInstanceShutdownTimerResponse) SetHeaders(v map[string]*string) *DeleteInstanceShutdownTimerResponse
- func (s *DeleteInstanceShutdownTimerResponse) SetStatusCode(v int32) *DeleteInstanceShutdownTimerResponse
- func (s DeleteInstanceShutdownTimerResponse) String() string
- type DeleteInstanceShutdownTimerResponseBody
- func (s DeleteInstanceShutdownTimerResponseBody) GoString() string
- func (s *DeleteInstanceShutdownTimerResponseBody) SetInstanceId(v string) *DeleteInstanceShutdownTimerResponseBody
- func (s *DeleteInstanceShutdownTimerResponseBody) SetRequestId(v string) *DeleteInstanceShutdownTimerResponseBody
- func (s DeleteInstanceShutdownTimerResponseBody) String() string
- type DeleteInstanceSnapshotResponse
- func (s DeleteInstanceSnapshotResponse) GoString() string
- func (s *DeleteInstanceSnapshotResponse) SetBody(v *DeleteInstanceSnapshotResponseBody) *DeleteInstanceSnapshotResponse
- func (s *DeleteInstanceSnapshotResponse) SetHeaders(v map[string]*string) *DeleteInstanceSnapshotResponse
- func (s *DeleteInstanceSnapshotResponse) SetStatusCode(v int32) *DeleteInstanceSnapshotResponse
- func (s DeleteInstanceSnapshotResponse) String() string
- type DeleteInstanceSnapshotResponseBody
- func (s DeleteInstanceSnapshotResponseBody) GoString() string
- func (s *DeleteInstanceSnapshotResponseBody) SetInstanceId(v string) *DeleteInstanceSnapshotResponseBody
- func (s *DeleteInstanceSnapshotResponseBody) SetInstanceSnapshotId(v string) *DeleteInstanceSnapshotResponseBody
- func (s *DeleteInstanceSnapshotResponseBody) SetRequestId(v string) *DeleteInstanceSnapshotResponseBody
- func (s DeleteInstanceSnapshotResponseBody) String() string
- type EcsSpec
- func (s EcsSpec) GoString() string
- func (s *EcsSpec) SetCpu(v int64) *EcsSpec
- func (s *EcsSpec) SetGpu(v int64) *EcsSpec
- func (s *EcsSpec) SetGpuType(v string) *EcsSpec
- func (s *EcsSpec) SetInstanceType(v string) *EcsSpec
- func (s *EcsSpec) SetMemoryInGiB(v int64) *EcsSpec
- func (s *EcsSpec) SetSystemDiskCategory(v string) *EcsSpec
- func (s *EcsSpec) SetSystemDiskSizeInGiB(v int64) *EcsSpec
- func (s EcsSpec) String() string
- type GetAuthorizationResponse
- func (s GetAuthorizationResponse) GoString() string
- func (s *GetAuthorizationResponse) SetBody(v *GetAuthorizationResponseBody) *GetAuthorizationResponse
- func (s *GetAuthorizationResponse) SetHeaders(v map[string]*string) *GetAuthorizationResponse
- func (s *GetAuthorizationResponse) SetStatusCode(v int32) *GetAuthorizationResponse
- func (s GetAuthorizationResponse) String() string
- type GetAuthorizationResponseBody
- func (s GetAuthorizationResponseBody) GoString() string
- func (s *GetAuthorizationResponseBody) SetAuthorizationFailedCode(v string) *GetAuthorizationResponseBody
- func (s *GetAuthorizationResponseBody) SetAuthorizationFailedMessage(v string) *GetAuthorizationResponseBody
- func (s *GetAuthorizationResponseBody) SetAuthorized(v bool) *GetAuthorizationResponseBody
- func (s *GetAuthorizationResponseBody) SetRequestId(v string) *GetAuthorizationResponseBody
- func (s GetAuthorizationResponseBody) String() string
- type GetDashboardStatisticsRequest
- type GetDashboardStatisticsResponse
- func (s GetDashboardStatisticsResponse) GoString() string
- func (s *GetDashboardStatisticsResponse) SetBody(v *GetDashboardStatisticsResponseBody) *GetDashboardStatisticsResponse
- func (s *GetDashboardStatisticsResponse) SetHeaders(v map[string]*string) *GetDashboardStatisticsResponse
- func (s *GetDashboardStatisticsResponse) SetStatusCode(v int32) *GetDashboardStatisticsResponse
- func (s GetDashboardStatisticsResponse) String() string
- type GetDashboardStatisticsResponseBody
- func (s GetDashboardStatisticsResponseBody) GoString() string
- func (s *GetDashboardStatisticsResponseBody) SetInstanceTotal(v int64) *GetDashboardStatisticsResponseBody
- func (s *GetDashboardStatisticsResponseBody) SetInstsanceRunningTotal(v int64) *GetDashboardStatisticsResponseBody
- func (s *GetDashboardStatisticsResponseBody) SetRequestId(v string) *GetDashboardStatisticsResponseBody
- func (s GetDashboardStatisticsResponseBody) String() string
- type GetInstanceResponse
- func (s GetInstanceResponse) GoString() string
- func (s *GetInstanceResponse) SetBody(v *GetInstanceResponseBody) *GetInstanceResponse
- func (s *GetInstanceResponse) SetHeaders(v map[string]*string) *GetInstanceResponse
- func (s *GetInstanceResponse) SetStatusCode(v int32) *GetInstanceResponse
- func (s GetInstanceResponse) String() string
- type GetInstanceResponseBody
- func (s GetInstanceResponseBody) GoString() string
- func (s *GetInstanceResponseBody) SetAccumulativeRunningTimeInMinutes(v int64) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetEcsSpec(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetGmtCreateTime(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetGmtModifiedTime(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetImageId(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetImageUrl(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetInstanceId(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetInstanceName(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetInstanceStatus(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetJupyterlabUrl(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetNasFileSystemId(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetRequestId(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetTerminalUrl(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetUserId(v string) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetUserVpc(v *UserVpc) *GetInstanceResponseBody
- func (s *GetInstanceResponseBody) SetWebIdeUrl(v string) *GetInstanceResponseBody
- func (s GetInstanceResponseBody) String() string
- type GetInstanceShutdownTimerResponse
- func (s GetInstanceShutdownTimerResponse) GoString() string
- func (s *GetInstanceShutdownTimerResponse) SetBody(v *GetInstanceShutdownTimerResponseBody) *GetInstanceShutdownTimerResponse
- func (s *GetInstanceShutdownTimerResponse) SetHeaders(v map[string]*string) *GetInstanceShutdownTimerResponse
- func (s *GetInstanceShutdownTimerResponse) SetStatusCode(v int32) *GetInstanceShutdownTimerResponse
- func (s GetInstanceShutdownTimerResponse) String() string
- type GetInstanceShutdownTimerResponseBody
- func (s GetInstanceShutdownTimerResponseBody) GoString() string
- func (s *GetInstanceShutdownTimerResponseBody) SetGmtCreateTime(v string) *GetInstanceShutdownTimerResponseBody
- func (s *GetInstanceShutdownTimerResponseBody) SetGmtModifiedTime(v string) *GetInstanceShutdownTimerResponseBody
- func (s *GetInstanceShutdownTimerResponseBody) SetInstanceId(v string) *GetInstanceShutdownTimerResponseBody
- func (s *GetInstanceShutdownTimerResponseBody) SetRequestId(v string) *GetInstanceShutdownTimerResponseBody
- func (s *GetInstanceShutdownTimerResponseBody) SetScheduleTime(v string) *GetInstanceShutdownTimerResponseBody
- func (s GetInstanceShutdownTimerResponseBody) String() string
- type GetInstanceSnapshotResponse
- func (s GetInstanceSnapshotResponse) GoString() string
- func (s *GetInstanceSnapshotResponse) SetBody(v *GetInstanceSnapshotResponseBody) *GetInstanceSnapshotResponse
- func (s *GetInstanceSnapshotResponse) SetHeaders(v map[string]*string) *GetInstanceSnapshotResponse
- func (s *GetInstanceSnapshotResponse) SetStatusCode(v int32) *GetInstanceSnapshotResponse
- func (s GetInstanceSnapshotResponse) String() string
- type GetInstanceSnapshotResponseBody
- func (s GetInstanceSnapshotResponseBody) GoString() string
- func (s *GetInstanceSnapshotResponseBody) SetGmtCreateTime(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetGmtModifiedTime(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetInstanceId(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotDescription(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotId(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotName(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotRepoUrl(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotStatus(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotTag(v string) *GetInstanceSnapshotResponseBody
- func (s *GetInstanceSnapshotResponseBody) SetRequestId(v string) *GetInstanceSnapshotResponseBody
- func (s GetInstanceSnapshotResponseBody) String() string
- type GetInstancesStatisticsRequest
- type GetInstancesStatisticsResponse
- func (s GetInstancesStatisticsResponse) GoString() string
- func (s *GetInstancesStatisticsResponse) SetBody(v *GetInstancesStatisticsResponseBody) *GetInstancesStatisticsResponse
- func (s *GetInstancesStatisticsResponse) SetHeaders(v map[string]*string) *GetInstancesStatisticsResponse
- func (s *GetInstancesStatisticsResponse) SetStatusCode(v int32) *GetInstancesStatisticsResponse
- func (s GetInstancesStatisticsResponse) String() string
- type GetInstancesStatisticsResponseBody
- func (s GetInstancesStatisticsResponseBody) GoString() string
- func (s *GetInstancesStatisticsResponseBody) SetRequestId(v string) *GetInstancesStatisticsResponseBody
- func (s *GetInstancesStatisticsResponseBody) SetStatistics(v map[string]interface{}) *GetInstancesStatisticsResponseBody
- func (s GetInstancesStatisticsResponseBody) String() string
- type Image
- func (s Image) GoString() string
- func (s *Image) SetAcceleratorType(v string) *Image
- func (s *Image) SetAuthor(v string) *Image
- func (s *Image) SetCudaVersion(v string) *Image
- func (s *Image) SetDescription(v string) *Image
- func (s *Image) SetEcsImageKey(v string) *Image
- func (s *Image) SetFramework(v string) *Image
- func (s *Image) SetFrameworkVersion(v string) *Image
- func (s *Image) SetFromImageId(v string) *Image
- func (s *Image) SetFromImageName(v string) *Image
- func (s *Image) SetGmtCreateTime(v string) *Image
- func (s *Image) SetGmtModifiedTime(v string) *Image
- func (s *Image) SetImageId(v string) *Image
- func (s *Image) SetImageName(v string) *Image
- func (s *Image) SetImageUrl(v string) *Image
- func (s *Image) SetInstanceId(v string) *Image
- func (s *Image) SetNamespace(v string) *Image
- func (s *Image) SetOS(v string) *Image
- func (s *Image) SetOSVersion(v string) *Image
- func (s *Image) SetPythonVersion(v string) *Image
- func (s *Image) SetRegion(v string) *Image
- func (s *Image) SetRepository(v string) *Image
- func (s *Image) SetRepositoryPage(v string) *Image
- func (s *Image) SetResourceType(v int64) *Image
- func (s *Image) SetRootImageId(v string) *Image
- func (s *Image) SetShared(v bool) *Image
- func (s *Image) SetShortImageUrl(v string) *Image
- func (s *Image) SetShortRepository(v string) *Image
- func (s *Image) SetStage(v string) *Image
- func (s *Image) SetStageCode(v int64) *Image
- func (s *Image) SetSuggestedName(v string) *Image
- func (s *Image) SetTag(v string) *Image
- func (s *Image) SetType(v string) *Image
- func (s *Image) SetWorkspaceImageId(v string) *Image
- func (s Image) String() string
- type ImageNamespace
- type ImageRepository
- func (s ImageRepository) GoString() string
- func (s *ImageRepository) SetGmtCreateTime(v string) *ImageRepository
- func (s *ImageRepository) SetGmtModifiedTime(v string) *ImageRepository
- func (s *ImageRepository) SetRegionId(v string) *ImageRepository
- func (s *ImageRepository) SetRepoName(v string) *ImageRepository
- func (s *ImageRepository) SetRepoNamespace(v string) *ImageRepository
- func (s *ImageRepository) SetRepoStatus(v string) *ImageRepository
- func (s *ImageRepository) SetRepository(v string) *ImageRepository
- func (s ImageRepository) String() string
- type Instance
- func (s Instance) GoString() string
- func (s *Instance) SetAccumulativeRunningTimeInMillis(v int64) *Instance
- func (s *Instance) SetAccumulativeRunningTimeInMinutes(v int64) *Instance
- func (s *Instance) SetCreateUser(v string) *Instance
- func (s *Instance) SetDatasetList(v []*Dataset) *Instance
- func (s *Instance) SetEcsSpec(v string) *Instance
- func (s *Instance) SetGmtCreateTime(v string) *Instance
- func (s *Instance) SetGmtModifiedTime(v string) *Instance
- func (s *Instance) SetImageId(v string) *Instance
- func (s *Instance) SetImageName(v string) *Instance
- func (s *Instance) SetImageType(v string) *Instance
- func (s *Instance) SetImageUrl(v string) *Instance
- func (s *Instance) SetInstanceId(v string) *Instance
- func (s *Instance) SetInstanceName(v string) *Instance
- func (s *Instance) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *Instance
- func (s *Instance) SetInstanceStatus(v string) *Instance
- func (s *Instance) SetInstanceUrl(v string) *Instance
- func (s *Instance) SetInstanceVersion(v string) *Instance
- func (s *Instance) SetIsPublic(v int64) *Instance
- func (s *Instance) SetJupyterlabUrl(v string) *Instance
- func (s *Instance) SetMessage(v string) *Instance
- func (s *Instance) SetNasFileSystemId(v string) *Instance
- func (s *Instance) SetPayType(v int64) *Instance
- func (s *Instance) SetPayTypeName(v string) *Instance
- func (s *Instance) SetResource(v string) *Instance
- func (s *Instance) SetResourceType(v int64) *Instance
- func (s *Instance) SetShutdownEnabled(v bool) *Instance
- func (s *Instance) SetTerminalUrl(v string) *Instance
- func (s *Instance) SetUserId(v string) *Instance
- func (s *Instance) SetUserImageList(v []*Image) *Instance
- func (s *Instance) SetUserVpc(v *UserVpc) *Instance
- func (s *Instance) SetWebIdeUrl(v string) *Instance
- func (s *Instance) SetWorkspaceId(v string) *Instance
- func (s *Instance) SetWorkspaceName(v string) *Instance
- func (s Instance) String() string
- type InstanceShutdownTimer
- func (s InstanceShutdownTimer) GoString() string
- func (s *InstanceShutdownTimer) SetGmtCreateTime(v string) *InstanceShutdownTimer
- func (s *InstanceShutdownTimer) SetGmtModifiedTime(v string) *InstanceShutdownTimer
- func (s *InstanceShutdownTimer) SetInstanceId(v string) *InstanceShutdownTimer
- func (s *InstanceShutdownTimer) SetScheduleTime(v string) *InstanceShutdownTimer
- func (s *InstanceShutdownTimer) SetTtlInMillis(v int64) *InstanceShutdownTimer
- func (s InstanceShutdownTimer) String() string
- type InstanceSnapshot
- func (s InstanceSnapshot) GoString() string
- func (s *InstanceSnapshot) SetGmtCreateTime(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetGmtModifiedTime(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetInstanceId(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetInstanceSnapshotDescription(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetInstanceSnapshotId(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetInstanceSnapshotName(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetInstanceSnapshotRepoUrl(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetInstanceSnapshotStatus(v string) *InstanceSnapshot
- func (s *InstanceSnapshot) SetInstanceSnapshotTag(v string) *InstanceSnapshot
- func (s InstanceSnapshot) String() string
- type InstanceStatus
- func (s InstanceStatus) GoString() string
- func (s *InstanceStatus) SetAccumulativeRunningTimeInMinutes(v int64) *InstanceStatus
- func (s *InstanceStatus) SetInstanceId(v string) *InstanceStatus
- func (s *InstanceStatus) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *InstanceStatus
- func (s *InstanceStatus) SetInstanceStatus(v string) *InstanceStatus
- func (s *InstanceStatus) SetMsg(v string) *InstanceStatus
- func (s *InstanceStatus) SetShutdownEnabled(v bool) *InstanceStatus
- func (s *InstanceStatus) SetType(v string) *InstanceStatus
- func (s InstanceStatus) String() string
- type InstanceType
- func (s InstanceType) GoString() string
- func (s *InstanceType) SetCpuCoreCount(v int64) *InstanceType
- func (s *InstanceType) SetDiscount(v float32) *InstanceType
- func (s *InstanceType) SetDomesticPrice(v float32) *InstanceType
- func (s *InstanceType) SetGPUAmount(v int64) *InstanceType
- func (s *InstanceType) SetGPUSpec(v string) *InstanceType
- func (s *InstanceType) SetInstanceBandwidthRx(v int64) *InstanceType
- func (s *InstanceType) SetInstanceBandwidthTx(v int64) *InstanceType
- func (s *InstanceType) SetInstancePpsRx(v int64) *InstanceType
- func (s *InstanceType) SetInstancePpsTx(v int64) *InstanceType
- func (s *InstanceType) SetInstanceTypeFamily(v string) *InstanceType
- func (s *InstanceType) SetInstanceTypeId(v string) *InstanceType
- func (s *InstanceType) SetInternational(v bool) *InstanceType
- func (s *InstanceType) SetLocalStorageCapacity(v int64) *InstanceType
- func (s *InstanceType) SetMemorySize(v float32) *InstanceType
- func (s *InstanceType) SetPrice(v float32) *InstanceType
- func (s *InstanceType) SetPriceCNY(v float32) *InstanceType
- func (s *InstanceType) SetPriceUSD(v float32) *InstanceType
- func (s *InstanceType) SetResourceType(v string) *InstanceType
- func (s *InstanceType) SetSystemDiskCategory(v string) *InstanceType
- func (s *InstanceType) SetSystemDiskSize(v int64) *InstanceType
- func (s InstanceType) String() string
- type ListEcsSpecsRequest
- type ListEcsSpecsResponse
- func (s ListEcsSpecsResponse) GoString() string
- func (s *ListEcsSpecsResponse) SetBody(v *ListEcsSpecsResponseBody) *ListEcsSpecsResponse
- func (s *ListEcsSpecsResponse) SetHeaders(v map[string]*string) *ListEcsSpecsResponse
- func (s *ListEcsSpecsResponse) SetStatusCode(v int32) *ListEcsSpecsResponse
- func (s ListEcsSpecsResponse) String() string
- type ListEcsSpecsResponseBody
- func (s ListEcsSpecsResponseBody) GoString() string
- func (s *ListEcsSpecsResponseBody) SetEcsSpecs(v []*EcsSpec) *ListEcsSpecsResponseBody
- func (s *ListEcsSpecsResponseBody) SetRequestId(v string) *ListEcsSpecsResponseBody
- func (s *ListEcsSpecsResponseBody) SetTotalCount(v int64) *ListEcsSpecsResponseBody
- func (s ListEcsSpecsResponseBody) String() string
- type ListImagesRequest
- func (s ListImagesRequest) GoString() string
- func (s *ListImagesRequest) SetAcceleratorTypeEquals(v string) *ListImagesRequest
- func (s *ListImagesRequest) SetImageNameContains(v string) *ListImagesRequest
- func (s *ListImagesRequest) SetImageTypeEquals(v string) *ListImagesRequest
- func (s *ListImagesRequest) SetProduct(v string) *ListImagesRequest
- func (s *ListImagesRequest) SetWorkspaceId(v string) *ListImagesRequest
- func (s ListImagesRequest) String() string
- type ListImagesResponse
- func (s ListImagesResponse) GoString() string
- func (s *ListImagesResponse) SetBody(v *ListImagesResponseBody) *ListImagesResponse
- func (s *ListImagesResponse) SetHeaders(v map[string]*string) *ListImagesResponse
- func (s *ListImagesResponse) SetStatusCode(v int32) *ListImagesResponse
- func (s ListImagesResponse) String() string
- type ListImagesResponseBody
- type ListInstanceSnapshotsResponse
- func (s ListInstanceSnapshotsResponse) GoString() string
- func (s *ListInstanceSnapshotsResponse) SetBody(v *ListInstanceSnapshotsResponseBody) *ListInstanceSnapshotsResponse
- func (s *ListInstanceSnapshotsResponse) SetHeaders(v map[string]*string) *ListInstanceSnapshotsResponse
- func (s *ListInstanceSnapshotsResponse) SetStatusCode(v int32) *ListInstanceSnapshotsResponse
- func (s ListInstanceSnapshotsResponse) String() string
- type ListInstanceSnapshotsResponseBody
- func (s ListInstanceSnapshotsResponseBody) GoString() string
- func (s *ListInstanceSnapshotsResponseBody) SetInstanceSnapshots(v []*InstanceSnapshot) *ListInstanceSnapshotsResponseBody
- func (s *ListInstanceSnapshotsResponseBody) SetRequestId(v string) *ListInstanceSnapshotsResponseBody
- func (s ListInstanceSnapshotsResponseBody) String() string
- type ListInstancesRequest
- func (s ListInstancesRequest) GoString() string
- func (s *ListInstancesRequest) SetInWorkspace(v bool) *ListInstancesRequest
- func (s *ListInstancesRequest) SetInstanceNameContains(v string) *ListInstancesRequest
- func (s *ListInstancesRequest) SetInstanceStatusEquals(v string) *ListInstancesRequest
- func (s *ListInstancesRequest) SetPageNumber(v string) *ListInstancesRequest
- func (s *ListInstancesRequest) SetPageSize(v string) *ListInstancesRequest
- func (s *ListInstancesRequest) SetSortBy(v string) *ListInstancesRequest
- func (s *ListInstancesRequest) SetSortOrder(v string) *ListInstancesRequest
- func (s *ListInstancesRequest) SetWorkspaceIdEquals(v string) *ListInstancesRequest
- func (s ListInstancesRequest) String() string
- type ListInstancesResponse
- func (s ListInstancesResponse) GoString() string
- func (s *ListInstancesResponse) SetBody(v *ListInstancesResponseBody) *ListInstancesResponse
- func (s *ListInstancesResponse) SetHeaders(v map[string]*string) *ListInstancesResponse
- func (s *ListInstancesResponse) SetStatusCode(v int32) *ListInstancesResponse
- func (s ListInstancesResponse) String() string
- type ListInstancesResponseBody
- func (s ListInstancesResponseBody) GoString() string
- func (s *ListInstancesResponseBody) SetInstances(v []*Instance) *ListInstancesResponseBody
- func (s *ListInstancesResponseBody) SetPageNumber(v int64) *ListInstancesResponseBody
- func (s *ListInstancesResponseBody) SetPageSize(v int64) *ListInstancesResponseBody
- func (s *ListInstancesResponseBody) SetRequestId(v string) *ListInstancesResponseBody
- func (s *ListInstancesResponseBody) SetTotalCount(v int64) *ListInstancesResponseBody
- func (s ListInstancesResponseBody) String() string
- type ListInstancesStatusRequest
- type ListInstancesStatusResponse
- func (s ListInstancesStatusResponse) GoString() string
- func (s *ListInstancesStatusResponse) SetBody(v *ListInstancesStatusResponseBody) *ListInstancesStatusResponse
- func (s *ListInstancesStatusResponse) SetHeaders(v map[string]*string) *ListInstancesStatusResponse
- func (s *ListInstancesStatusResponse) SetStatusCode(v int32) *ListInstancesStatusResponse
- func (s ListInstancesStatusResponse) String() string
- type ListInstancesStatusResponseBody
- func (s ListInstancesStatusResponseBody) GoString() string
- func (s *ListInstancesStatusResponseBody) SetRequestId(v string) *ListInstancesStatusResponseBody
- func (s *ListInstancesStatusResponseBody) SetStatuses(v []*InstanceStatus) *ListInstancesStatusResponseBody
- func (s ListInstancesStatusResponseBody) String() string
- type Nas
- type Region
- func (s Region) GoString() string
- func (s *Region) SetRegionCity(v string) *Region
- func (s *Region) SetRegionId(v string) *Region
- func (s *Region) SetRegionName(v string) *Region
- func (s *Region) SetRegionState(v string) *Region
- func (s *Region) SetServiceUrl(v string) *Region
- func (s Region) String() string
- type ResourceInfo
- type SecurityGroup
- func (s SecurityGroup) GoString() string
- func (s *SecurityGroup) SetCreateTime(v string) *SecurityGroup
- func (s *SecurityGroup) SetDescription(v string) *SecurityGroup
- func (s *SecurityGroup) SetSecurityGroupId(v string) *SecurityGroup
- func (s *SecurityGroup) SetSecurityGroupName(v string) *SecurityGroup
- func (s *SecurityGroup) SetVpcId(v string) *SecurityGroup
- func (s SecurityGroup) String() string
- type StartInstanceResponse
- func (s StartInstanceResponse) GoString() string
- func (s *StartInstanceResponse) SetBody(v *StartInstanceResponseBody) *StartInstanceResponse
- func (s *StartInstanceResponse) SetHeaders(v map[string]*string) *StartInstanceResponse
- func (s *StartInstanceResponse) SetStatusCode(v int32) *StartInstanceResponse
- func (s StartInstanceResponse) String() string
- type StartInstanceResponseBody
- type Status
- func (s Status) GoString() string
- func (s *Status) SetAccumulativeRunningTimeInMinutes(v int64) *Status
- func (s *Status) SetInstanceId(v string) *Status
- func (s *Status) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *Status
- func (s *Status) SetInstanceStatus(v string) *Status
- func (s *Status) SetMsg(v string) *Status
- func (s *Status) SetType(v string) *Status
- func (s Status) String() string
- type StopInstanceRequest
- type StopInstanceResponse
- func (s StopInstanceResponse) GoString() string
- func (s *StopInstanceResponse) SetBody(v *StopInstanceResponseBody) *StopInstanceResponse
- func (s *StopInstanceResponse) SetHeaders(v map[string]*string) *StopInstanceResponse
- func (s *StopInstanceResponse) SetStatusCode(v int32) *StopInstanceResponse
- func (s StopInstanceResponse) String() string
- type StopInstanceResponseBody
- type UpdateInstanceRequest
- type UpdateInstanceResponse
- func (s UpdateInstanceResponse) GoString() string
- func (s *UpdateInstanceResponse) SetBody(v *UpdateInstanceResponseBody) *UpdateInstanceResponse
- func (s *UpdateInstanceResponse) SetHeaders(v map[string]*string) *UpdateInstanceResponse
- func (s *UpdateInstanceResponse) SetStatusCode(v int32) *UpdateInstanceResponse
- func (s UpdateInstanceResponse) String() string
- type UpdateInstanceResponseBody
- type UpdateInstanceSnapshotRequest
- type UpdateInstanceSnapshotResponse
- func (s UpdateInstanceSnapshotResponse) GoString() string
- func (s *UpdateInstanceSnapshotResponse) SetBody(v *UpdateInstanceSnapshotResponseBody) *UpdateInstanceSnapshotResponse
- func (s *UpdateInstanceSnapshotResponse) SetHeaders(v map[string]*string) *UpdateInstanceSnapshotResponse
- func (s *UpdateInstanceSnapshotResponse) SetStatusCode(v int32) *UpdateInstanceSnapshotResponse
- func (s UpdateInstanceSnapshotResponse) String() string
- type UpdateInstanceSnapshotResponseBody
- func (s UpdateInstanceSnapshotResponseBody) GoString() string
- func (s *UpdateInstanceSnapshotResponseBody) SetInstanceId(v string) *UpdateInstanceSnapshotResponseBody
- func (s *UpdateInstanceSnapshotResponseBody) SetInstanceSnapshotId(v string) *UpdateInstanceSnapshotResponseBody
- func (s *UpdateInstanceSnapshotResponseBody) SetRequestId(v string) *UpdateInstanceSnapshotResponseBody
- func (s UpdateInstanceSnapshotResponseBody) String() string
- type UpdateV3InstanceByUserRequest
- type UpdateV3InstanceByUserResponse
- func (s UpdateV3InstanceByUserResponse) GoString() string
- func (s *UpdateV3InstanceByUserResponse) SetBody(v *UpdateV3InstanceByUserResponseBody) *UpdateV3InstanceByUserResponse
- func (s *UpdateV3InstanceByUserResponse) SetHeaders(v map[string]*string) *UpdateV3InstanceByUserResponse
- func (s *UpdateV3InstanceByUserResponse) SetStatusCode(v int32) *UpdateV3InstanceByUserResponse
- func (s UpdateV3InstanceByUserResponse) String() string
- type UpdateV3InstanceByUserResponseBody
- func (s UpdateV3InstanceByUserResponseBody) GoString() string
- func (s *UpdateV3InstanceByUserResponseBody) SetCode(v string) *UpdateV3InstanceByUserResponseBody
- func (s *UpdateV3InstanceByUserResponseBody) SetHttpStatusCode(v int32) *UpdateV3InstanceByUserResponseBody
- func (s *UpdateV3InstanceByUserResponseBody) SetIdList(v []*int64) *UpdateV3InstanceByUserResponseBody
- func (s *UpdateV3InstanceByUserResponseBody) SetMessage(v string) *UpdateV3InstanceByUserResponseBody
- func (s *UpdateV3InstanceByUserResponseBody) SetRequestId(v string) *UpdateV3InstanceByUserResponseBody
- func (s *UpdateV3InstanceByUserResponseBody) SetSuccess(v bool) *UpdateV3InstanceByUserResponseBody
- func (s *UpdateV3InstanceByUserResponseBody) SetUserSet(v []*string) *UpdateV3InstanceByUserResponseBody
- func (s *UpdateV3InstanceByUserResponseBody) SetWorkspaceId(v string) *UpdateV3InstanceByUserResponseBody
- func (s UpdateV3InstanceByUserResponseBody) String() string
- type UserVpc
- type VSwitch
- func (s VSwitch) GoString() string
- func (s *VSwitch) SetAvailableIpAddressCount(v int64) *VSwitch
- func (s *VSwitch) SetCidrBlock(v string) *VSwitch
- func (s *VSwitch) SetCreateTime(v string) *VSwitch
- func (s *VSwitch) SetDescription(v string) *VSwitch
- func (s *VSwitch) SetIsDefault(v bool) *VSwitch
- func (s *VSwitch) SetStatus(v string) *VSwitch
- func (s *VSwitch) SetVSwitchId(v string) *VSwitch
- func (s *VSwitch) SetVSwitchName(v string) *VSwitch
- func (s *VSwitch) SetVpcId(v string) *VSwitch
- func (s *VSwitch) SetZoneId(v string) *VSwitch
- func (s VSwitch) String() string
- type Vpc
- func (s Vpc) GoString() string
- func (s *Vpc) SetCidrBlock(v string) *Vpc
- func (s *Vpc) SetCreateTime(v string) *Vpc
- func (s *Vpc) SetDescription(v string) *Vpc
- func (s *Vpc) SetIsDefault(v bool) *Vpc
- func (s *Vpc) SetStatus(v string) *Vpc
- func (s *Vpc) SetVRouterId(v string) *Vpc
- func (s *Vpc) SetVpcId(v string) *Vpc
- func (s *Vpc) SetVpcName(v string) *Vpc
- func (s Vpc) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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) 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) 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) SetClusterId ¶
func (*Cluster) SetClusterType ¶
func (*Cluster) SetPrivateContainerPath ¶
func (*Cluster) SetPrivateNasPath ¶
func (*Cluster) SetPublicContainerPath ¶
func (*Cluster) SetPublicNasPath ¶
func (*Cluster) SetVSwitchId ¶
type Config ¶
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 (s *CreateInstanceRequest) SetEcsSpec(v string) *CreateInstanceRequest
func (*CreateInstanceRequest) SetEnvironments ¶
func (s *CreateInstanceRequest) SetEnvironments(v map[string]interface{}) *CreateInstanceRequest
func (*CreateInstanceRequest) SetImageId ¶
func (s *CreateInstanceRequest) SetImageId(v string) *CreateInstanceRequest
func (*CreateInstanceRequest) SetImageUrl ¶
func (s *CreateInstanceRequest) SetImageUrl(v string) *CreateInstanceRequest
func (*CreateInstanceRequest) SetInstanceName ¶
func (s *CreateInstanceRequest) SetInstanceName(v string) *CreateInstanceRequest
func (*CreateInstanceRequest) SetIsPublic ¶
func (s *CreateInstanceRequest) SetIsPublic(v int64) *CreateInstanceRequest
func (*CreateInstanceRequest) SetNasFileSystemId ¶
func (s *CreateInstanceRequest) SetNasFileSystemId(v string) *CreateInstanceRequest
func (*CreateInstanceRequest) SetUserName ¶
func (s *CreateInstanceRequest) SetUserName(v string) *CreateInstanceRequest
func (*CreateInstanceRequest) SetUserVpc ¶
func (s *CreateInstanceRequest) SetUserVpc(v *UserVpc) *CreateInstanceRequest
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 (s *CreateInstanceResponse) SetBody(v *CreateInstanceResponseBody) *CreateInstanceResponse
func (*CreateInstanceResponse) SetHeaders ¶
func (s *CreateInstanceResponse) SetHeaders(v map[string]*string) *CreateInstanceResponse
func (*CreateInstanceResponse) SetStatusCode ¶ added in v1.1.16
func (s *CreateInstanceResponse) SetStatusCode(v int32) *CreateInstanceResponse
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 (s *CreateInstanceResponseBody) SetInstanceId(v string) *CreateInstanceResponseBody
func (*CreateInstanceResponseBody) SetRequestId ¶
func (s *CreateInstanceResponseBody) SetRequestId(v string) *CreateInstanceResponseBody
func (CreateInstanceResponseBody) String ¶
func (s CreateInstanceResponseBody) String() 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 (s CreateInstanceShutdownTimerRequest) GoString() string
func (*CreateInstanceShutdownTimerRequest) SetScheduleTime ¶
func (s *CreateInstanceShutdownTimerRequest) SetScheduleTime(v string) *CreateInstanceShutdownTimerRequest
func (*CreateInstanceShutdownTimerRequest) SetTtlInMillis ¶
func (s *CreateInstanceShutdownTimerRequest) SetTtlInMillis(v int64) *CreateInstanceShutdownTimerRequest
func (CreateInstanceShutdownTimerRequest) String ¶
func (s CreateInstanceShutdownTimerRequest) String() 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 (s CreateInstanceShutdownTimerResponse) GoString() string
func (*CreateInstanceShutdownTimerResponse) SetHeaders ¶
func (s *CreateInstanceShutdownTimerResponse) SetHeaders(v map[string]*string) *CreateInstanceShutdownTimerResponse
func (*CreateInstanceShutdownTimerResponse) SetStatusCode ¶ added in v1.1.16
func (s *CreateInstanceShutdownTimerResponse) SetStatusCode(v int32) *CreateInstanceShutdownTimerResponse
func (CreateInstanceShutdownTimerResponse) String ¶
func (s CreateInstanceShutdownTimerResponse) String() 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 (s CreateInstanceShutdownTimerResponseBody) GoString() string
func (*CreateInstanceShutdownTimerResponseBody) SetInstanceId ¶
func (s *CreateInstanceShutdownTimerResponseBody) SetInstanceId(v string) *CreateInstanceShutdownTimerResponseBody
func (*CreateInstanceShutdownTimerResponseBody) SetRequestId ¶
func (s *CreateInstanceShutdownTimerResponseBody) SetRequestId(v string) *CreateInstanceShutdownTimerResponseBody
func (CreateInstanceShutdownTimerResponseBody) String ¶
func (s CreateInstanceShutdownTimerResponseBody) String() 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 (s CreateInstanceSnapshotRequest) GoString() string
func (*CreateInstanceSnapshotRequest) SetInstanceSnapshotDescription ¶
func (s *CreateInstanceSnapshotRequest) SetInstanceSnapshotDescription(v string) *CreateInstanceSnapshotRequest
func (*CreateInstanceSnapshotRequest) SetInstanceSnapshotName ¶
func (s *CreateInstanceSnapshotRequest) SetInstanceSnapshotName(v string) *CreateInstanceSnapshotRequest
func (*CreateInstanceSnapshotRequest) SetInstanceSnapshotRepoUrl ¶
func (s *CreateInstanceSnapshotRequest) SetInstanceSnapshotRepoUrl(v string) *CreateInstanceSnapshotRequest
func (CreateInstanceSnapshotRequest) String ¶
func (s CreateInstanceSnapshotRequest) String() 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 (s CreateInstanceSnapshotResponse) GoString() string
func (*CreateInstanceSnapshotResponse) SetBody ¶
func (s *CreateInstanceSnapshotResponse) SetBody(v *CreateInstanceSnapshotResponseBody) *CreateInstanceSnapshotResponse
func (*CreateInstanceSnapshotResponse) SetHeaders ¶
func (s *CreateInstanceSnapshotResponse) SetHeaders(v map[string]*string) *CreateInstanceSnapshotResponse
func (*CreateInstanceSnapshotResponse) SetStatusCode ¶ added in v1.1.16
func (s *CreateInstanceSnapshotResponse) SetStatusCode(v int32) *CreateInstanceSnapshotResponse
func (CreateInstanceSnapshotResponse) String ¶
func (s CreateInstanceSnapshotResponse) String() 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 (s CreateInstanceSnapshotResponseBody) GoString() string
func (*CreateInstanceSnapshotResponseBody) SetInstanceId ¶
func (s *CreateInstanceSnapshotResponseBody) SetInstanceId(v string) *CreateInstanceSnapshotResponseBody
func (*CreateInstanceSnapshotResponseBody) SetInstanceSnapshotId ¶
func (s *CreateInstanceSnapshotResponseBody) SetInstanceSnapshotId(v string) *CreateInstanceSnapshotResponseBody
func (*CreateInstanceSnapshotResponseBody) SetRequestId ¶
func (s *CreateInstanceSnapshotResponseBody) SetRequestId(v string) *CreateInstanceSnapshotResponseBody
func (CreateInstanceSnapshotResponseBody) String ¶
func (s CreateInstanceSnapshotResponseBody) String() 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) SetDatasetId ¶
func (*Dataset) SetDefaultMountPath ¶
func (*Dataset) SetFileSystemId ¶
func (*Dataset) SetMountPath ¶
func (*Dataset) SetNasPath ¶
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 (s *DeleteInstanceResponse) SetBody(v *DeleteInstanceResponseBody) *DeleteInstanceResponse
func (*DeleteInstanceResponse) SetHeaders ¶
func (s *DeleteInstanceResponse) SetHeaders(v map[string]*string) *DeleteInstanceResponse
func (*DeleteInstanceResponse) SetStatusCode ¶ added in v1.1.16
func (s *DeleteInstanceResponse) SetStatusCode(v int32) *DeleteInstanceResponse
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 (s *DeleteInstanceResponseBody) SetInstanceId(v string) *DeleteInstanceResponseBody
func (*DeleteInstanceResponseBody) SetRequestId ¶
func (s *DeleteInstanceResponseBody) SetRequestId(v string) *DeleteInstanceResponseBody
func (DeleteInstanceResponseBody) String ¶
func (s DeleteInstanceResponseBody) String() 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 (s DeleteInstanceShutdownTimerResponse) GoString() string
func (*DeleteInstanceShutdownTimerResponse) SetHeaders ¶
func (s *DeleteInstanceShutdownTimerResponse) SetHeaders(v map[string]*string) *DeleteInstanceShutdownTimerResponse
func (*DeleteInstanceShutdownTimerResponse) SetStatusCode ¶ added in v1.1.16
func (s *DeleteInstanceShutdownTimerResponse) SetStatusCode(v int32) *DeleteInstanceShutdownTimerResponse
func (DeleteInstanceShutdownTimerResponse) String ¶
func (s DeleteInstanceShutdownTimerResponse) String() 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 (s DeleteInstanceShutdownTimerResponseBody) GoString() string
func (*DeleteInstanceShutdownTimerResponseBody) SetInstanceId ¶
func (s *DeleteInstanceShutdownTimerResponseBody) SetInstanceId(v string) *DeleteInstanceShutdownTimerResponseBody
func (*DeleteInstanceShutdownTimerResponseBody) SetRequestId ¶
func (s *DeleteInstanceShutdownTimerResponseBody) SetRequestId(v string) *DeleteInstanceShutdownTimerResponseBody
func (DeleteInstanceShutdownTimerResponseBody) String ¶
func (s DeleteInstanceShutdownTimerResponseBody) String() 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 (s DeleteInstanceSnapshotResponse) GoString() string
func (*DeleteInstanceSnapshotResponse) SetBody ¶
func (s *DeleteInstanceSnapshotResponse) SetBody(v *DeleteInstanceSnapshotResponseBody) *DeleteInstanceSnapshotResponse
func (*DeleteInstanceSnapshotResponse) SetHeaders ¶
func (s *DeleteInstanceSnapshotResponse) SetHeaders(v map[string]*string) *DeleteInstanceSnapshotResponse
func (*DeleteInstanceSnapshotResponse) SetStatusCode ¶ added in v1.1.16
func (s *DeleteInstanceSnapshotResponse) SetStatusCode(v int32) *DeleteInstanceSnapshotResponse
func (DeleteInstanceSnapshotResponse) String ¶
func (s DeleteInstanceSnapshotResponse) String() 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 (s DeleteInstanceSnapshotResponseBody) GoString() string
func (*DeleteInstanceSnapshotResponseBody) SetInstanceId ¶
func (s *DeleteInstanceSnapshotResponseBody) SetInstanceId(v string) *DeleteInstanceSnapshotResponseBody
func (*DeleteInstanceSnapshotResponseBody) SetInstanceSnapshotId ¶
func (s *DeleteInstanceSnapshotResponseBody) SetInstanceSnapshotId(v string) *DeleteInstanceSnapshotResponseBody
func (*DeleteInstanceSnapshotResponseBody) SetRequestId ¶
func (s *DeleteInstanceSnapshotResponseBody) SetRequestId(v string) *DeleteInstanceSnapshotResponseBody
func (DeleteInstanceSnapshotResponseBody) String ¶
func (s DeleteInstanceSnapshotResponseBody) String() 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) SetGpuType ¶
func (*EcsSpec) SetInstanceType ¶
func (*EcsSpec) SetMemoryInGiB ¶
func (*EcsSpec) SetSystemDiskCategory ¶
func (*EcsSpec) SetSystemDiskSizeInGiB ¶
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 (s *GetAuthorizationResponse) SetBody(v *GetAuthorizationResponseBody) *GetAuthorizationResponse
func (*GetAuthorizationResponse) SetHeaders ¶
func (s *GetAuthorizationResponse) SetHeaders(v map[string]*string) *GetAuthorizationResponse
func (*GetAuthorizationResponse) SetStatusCode ¶ added in v1.1.16
func (s *GetAuthorizationResponse) SetStatusCode(v int32) *GetAuthorizationResponse
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 (s *GetAuthorizationResponseBody) SetAuthorized(v bool) *GetAuthorizationResponseBody
func (*GetAuthorizationResponseBody) SetRequestId ¶
func (s *GetAuthorizationResponseBody) SetRequestId(v string) *GetAuthorizationResponseBody
func (GetAuthorizationResponseBody) String ¶
func (s GetAuthorizationResponseBody) String() string
type GetDashboardStatisticsRequest ¶
type GetDashboardStatisticsRequest struct { // 工作空间ID WorkspaceId *string `json:"WorkspaceId,omitempty" xml:"WorkspaceId,omitempty"` }
func (GetDashboardStatisticsRequest) GoString ¶
func (s GetDashboardStatisticsRequest) GoString() string
func (*GetDashboardStatisticsRequest) SetWorkspaceId ¶
func (s *GetDashboardStatisticsRequest) SetWorkspaceId(v string) *GetDashboardStatisticsRequest
func (GetDashboardStatisticsRequest) String ¶
func (s GetDashboardStatisticsRequest) String() 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 (s GetDashboardStatisticsResponse) GoString() string
func (*GetDashboardStatisticsResponse) SetBody ¶
func (s *GetDashboardStatisticsResponse) SetBody(v *GetDashboardStatisticsResponseBody) *GetDashboardStatisticsResponse
func (*GetDashboardStatisticsResponse) SetHeaders ¶
func (s *GetDashboardStatisticsResponse) SetHeaders(v map[string]*string) *GetDashboardStatisticsResponse
func (*GetDashboardStatisticsResponse) SetStatusCode ¶ added in v1.1.16
func (s *GetDashboardStatisticsResponse) SetStatusCode(v int32) *GetDashboardStatisticsResponse
func (GetDashboardStatisticsResponse) String ¶
func (s GetDashboardStatisticsResponse) String() 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 (s GetDashboardStatisticsResponseBody) GoString() string
func (*GetDashboardStatisticsResponseBody) SetInstanceTotal ¶
func (s *GetDashboardStatisticsResponseBody) SetInstanceTotal(v int64) *GetDashboardStatisticsResponseBody
func (*GetDashboardStatisticsResponseBody) SetInstsanceRunningTotal ¶
func (s *GetDashboardStatisticsResponseBody) SetInstsanceRunningTotal(v int64) *GetDashboardStatisticsResponseBody
func (*GetDashboardStatisticsResponseBody) SetRequestId ¶
func (s *GetDashboardStatisticsResponseBody) SetRequestId(v string) *GetDashboardStatisticsResponseBody
func (GetDashboardStatisticsResponseBody) String ¶
func (s GetDashboardStatisticsResponseBody) String() 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 (s *GetInstanceResponse) SetBody(v *GetInstanceResponseBody) *GetInstanceResponse
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 (s *GetInstanceResponseBody) SetEcsSpec(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetGmtCreateTime ¶
func (s *GetInstanceResponseBody) SetGmtCreateTime(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetGmtModifiedTime ¶
func (s *GetInstanceResponseBody) SetGmtModifiedTime(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetImageId ¶
func (s *GetInstanceResponseBody) SetImageId(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetImageUrl ¶
func (s *GetInstanceResponseBody) SetImageUrl(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetInstanceId ¶
func (s *GetInstanceResponseBody) SetInstanceId(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetInstanceName ¶
func (s *GetInstanceResponseBody) SetInstanceName(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetInstanceShutdownTimer ¶
func (s *GetInstanceResponseBody) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *GetInstanceResponseBody
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 (s *GetInstanceResponseBody) SetRequestId(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetTerminalUrl ¶
func (s *GetInstanceResponseBody) SetTerminalUrl(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetUserId ¶
func (s *GetInstanceResponseBody) SetUserId(v string) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetUserVpc ¶
func (s *GetInstanceResponseBody) SetUserVpc(v *UserVpc) *GetInstanceResponseBody
func (*GetInstanceResponseBody) SetWebIdeUrl ¶
func (s *GetInstanceResponseBody) SetWebIdeUrl(v string) *GetInstanceResponseBody
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 (s GetInstanceShutdownTimerResponse) GoString() string
func (*GetInstanceShutdownTimerResponse) SetBody ¶
func (s *GetInstanceShutdownTimerResponse) SetBody(v *GetInstanceShutdownTimerResponseBody) *GetInstanceShutdownTimerResponse
func (*GetInstanceShutdownTimerResponse) SetHeaders ¶
func (s *GetInstanceShutdownTimerResponse) SetHeaders(v map[string]*string) *GetInstanceShutdownTimerResponse
func (*GetInstanceShutdownTimerResponse) SetStatusCode ¶ added in v1.1.16
func (s *GetInstanceShutdownTimerResponse) SetStatusCode(v int32) *GetInstanceShutdownTimerResponse
func (GetInstanceShutdownTimerResponse) String ¶
func (s GetInstanceShutdownTimerResponse) String() 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 (s GetInstanceShutdownTimerResponseBody) GoString() string
func (*GetInstanceShutdownTimerResponseBody) SetGmtCreateTime ¶
func (s *GetInstanceShutdownTimerResponseBody) SetGmtCreateTime(v string) *GetInstanceShutdownTimerResponseBody
func (*GetInstanceShutdownTimerResponseBody) SetGmtModifiedTime ¶
func (s *GetInstanceShutdownTimerResponseBody) SetGmtModifiedTime(v string) *GetInstanceShutdownTimerResponseBody
func (*GetInstanceShutdownTimerResponseBody) SetInstanceId ¶
func (s *GetInstanceShutdownTimerResponseBody) SetInstanceId(v string) *GetInstanceShutdownTimerResponseBody
func (*GetInstanceShutdownTimerResponseBody) SetRequestId ¶
func (s *GetInstanceShutdownTimerResponseBody) SetRequestId(v string) *GetInstanceShutdownTimerResponseBody
func (*GetInstanceShutdownTimerResponseBody) SetScheduleTime ¶
func (s *GetInstanceShutdownTimerResponseBody) SetScheduleTime(v string) *GetInstanceShutdownTimerResponseBody
func (GetInstanceShutdownTimerResponseBody) String ¶
func (s GetInstanceShutdownTimerResponseBody) String() 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 (s *GetInstanceSnapshotResponse) SetBody(v *GetInstanceSnapshotResponseBody) *GetInstanceSnapshotResponse
func (*GetInstanceSnapshotResponse) SetHeaders ¶
func (s *GetInstanceSnapshotResponse) SetHeaders(v map[string]*string) *GetInstanceSnapshotResponse
func (*GetInstanceSnapshotResponse) SetStatusCode ¶ added in v1.1.16
func (s *GetInstanceSnapshotResponse) SetStatusCode(v int32) *GetInstanceSnapshotResponse
func (GetInstanceSnapshotResponse) String ¶
func (s GetInstanceSnapshotResponse) String() 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 (s GetInstanceSnapshotResponseBody) GoString() string
func (*GetInstanceSnapshotResponseBody) SetGmtCreateTime ¶
func (s *GetInstanceSnapshotResponseBody) SetGmtCreateTime(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetGmtModifiedTime ¶
func (s *GetInstanceSnapshotResponseBody) SetGmtModifiedTime(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetInstanceId ¶
func (s *GetInstanceSnapshotResponseBody) SetInstanceId(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotDescription ¶
func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotDescription(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotId ¶
func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotId(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotName ¶
func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotName(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotRepoUrl ¶
func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotRepoUrl(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotStatus ¶
func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotStatus(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetInstanceSnapshotTag ¶
func (s *GetInstanceSnapshotResponseBody) SetInstanceSnapshotTag(v string) *GetInstanceSnapshotResponseBody
func (*GetInstanceSnapshotResponseBody) SetRequestId ¶
func (s *GetInstanceSnapshotResponseBody) SetRequestId(v string) *GetInstanceSnapshotResponseBody
func (GetInstanceSnapshotResponseBody) String ¶
func (s GetInstanceSnapshotResponseBody) String() string
type GetInstancesStatisticsRequest ¶
type GetInstancesStatisticsRequest struct { // 工作空间id列表 WorkspaceIds *string `json:"WorkspaceIds,omitempty" xml:"WorkspaceIds,omitempty"` }
func (GetInstancesStatisticsRequest) GoString ¶
func (s GetInstancesStatisticsRequest) GoString() string
func (*GetInstancesStatisticsRequest) SetWorkspaceIds ¶
func (s *GetInstancesStatisticsRequest) SetWorkspaceIds(v string) *GetInstancesStatisticsRequest
func (GetInstancesStatisticsRequest) String ¶
func (s GetInstancesStatisticsRequest) String() 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 (s GetInstancesStatisticsResponse) GoString() string
func (*GetInstancesStatisticsResponse) SetBody ¶
func (s *GetInstancesStatisticsResponse) SetBody(v *GetInstancesStatisticsResponseBody) *GetInstancesStatisticsResponse
func (*GetInstancesStatisticsResponse) SetHeaders ¶
func (s *GetInstancesStatisticsResponse) SetHeaders(v map[string]*string) *GetInstancesStatisticsResponse
func (*GetInstancesStatisticsResponse) SetStatusCode ¶ added in v1.1.16
func (s *GetInstancesStatisticsResponse) SetStatusCode(v int32) *GetInstancesStatisticsResponse
func (GetInstancesStatisticsResponse) String ¶
func (s GetInstancesStatisticsResponse) String() 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 (s GetInstancesStatisticsResponseBody) GoString() string
func (*GetInstancesStatisticsResponseBody) SetRequestId ¶
func (s *GetInstancesStatisticsResponseBody) SetRequestId(v string) *GetInstancesStatisticsResponseBody
func (*GetInstancesStatisticsResponseBody) SetStatistics ¶
func (s *GetInstancesStatisticsResponseBody) SetStatistics(v map[string]interface{}) *GetInstancesStatisticsResponseBody
func (GetInstancesStatisticsResponseBody) String ¶
func (s GetInstancesStatisticsResponseBody) String() 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) SetAcceleratorType ¶
func (*Image) SetCudaVersion ¶
func (*Image) SetDescription ¶
func (*Image) SetEcsImageKey ¶
func (*Image) SetFramework ¶
func (*Image) SetFrameworkVersion ¶
func (*Image) SetFromImageId ¶
func (*Image) SetFromImageName ¶
func (*Image) SetGmtCreateTime ¶
func (*Image) SetGmtModifiedTime ¶
func (*Image) SetImageId ¶
func (*Image) SetImageName ¶
func (*Image) SetImageUrl ¶
func (*Image) SetInstanceId ¶
func (*Image) SetNamespace ¶
func (*Image) SetOSVersion ¶
func (*Image) SetPythonVersion ¶
func (*Image) SetRepository ¶
func (*Image) SetRepositoryPage ¶
func (*Image) SetResourceType ¶
func (*Image) SetRootImageId ¶
func (*Image) SetShortImageUrl ¶
func (*Image) SetShortRepository ¶
func (*Image) SetStageCode ¶
func (*Image) SetSuggestedName ¶
func (*Image) SetWorkspaceImageId ¶
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) SetAccumulativeRunningTimeInMillis ¶
func (*Instance) SetAccumulativeRunningTimeInMinutes ¶
func (*Instance) SetCreateUser ¶
func (*Instance) SetDatasetList ¶
func (*Instance) SetEcsSpec ¶
func (*Instance) SetGmtCreateTime ¶
func (*Instance) SetGmtModifiedTime ¶
func (*Instance) SetImageId ¶
func (*Instance) SetImageName ¶
func (*Instance) SetImageType ¶
func (*Instance) SetImageUrl ¶
func (*Instance) SetInstanceId ¶
func (*Instance) SetInstanceName ¶
func (*Instance) SetInstanceShutdownTimer ¶
func (s *Instance) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *Instance
func (*Instance) SetInstanceStatus ¶
func (*Instance) SetInstanceUrl ¶
func (*Instance) SetInstanceVersion ¶
func (*Instance) SetIsPublic ¶
func (*Instance) SetJupyterlabUrl ¶
func (*Instance) SetMessage ¶
func (*Instance) SetNasFileSystemId ¶
func (*Instance) SetPayType ¶
func (*Instance) SetPayTypeName ¶
func (*Instance) SetResource ¶
func (*Instance) SetResourceType ¶
func (*Instance) SetShutdownEnabled ¶
func (*Instance) SetTerminalUrl ¶
func (*Instance) SetUserImageList ¶
func (*Instance) SetUserVpc ¶
func (*Instance) SetWebIdeUrl ¶
func (*Instance) SetWorkspaceId ¶
func (*Instance) SetWorkspaceName ¶
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 (s *ListEcsSpecsResponse) SetBody(v *ListEcsSpecsResponseBody) *ListEcsSpecsResponse
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 (s *ListEcsSpecsResponseBody) SetEcsSpecs(v []*EcsSpec) *ListEcsSpecsResponseBody
func (*ListEcsSpecsResponseBody) SetRequestId ¶
func (s *ListEcsSpecsResponseBody) SetRequestId(v string) *ListEcsSpecsResponseBody
func (*ListEcsSpecsResponseBody) SetTotalCount ¶
func (s *ListEcsSpecsResponseBody) SetTotalCount(v int64) *ListEcsSpecsResponseBody
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 (s *ListImagesResponse) SetBody(v *ListImagesResponseBody) *ListImagesResponse
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 (s *ListImagesResponseBody) SetImages(v []*Image) *ListImagesResponseBody
func (*ListImagesResponseBody) SetRequestId ¶
func (s *ListImagesResponseBody) SetRequestId(v string) *ListImagesResponseBody
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 (s ListInstanceSnapshotsResponse) GoString() string
func (*ListInstanceSnapshotsResponse) SetBody ¶
func (s *ListInstanceSnapshotsResponse) SetBody(v *ListInstanceSnapshotsResponseBody) *ListInstanceSnapshotsResponse
func (*ListInstanceSnapshotsResponse) SetHeaders ¶
func (s *ListInstanceSnapshotsResponse) SetHeaders(v map[string]*string) *ListInstanceSnapshotsResponse
func (*ListInstanceSnapshotsResponse) SetStatusCode ¶ added in v1.1.16
func (s *ListInstanceSnapshotsResponse) SetStatusCode(v int32) *ListInstanceSnapshotsResponse
func (ListInstanceSnapshotsResponse) String ¶
func (s ListInstanceSnapshotsResponse) String() 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 (s ListInstanceSnapshotsResponseBody) GoString() string
func (*ListInstanceSnapshotsResponseBody) SetInstanceSnapshots ¶
func (s *ListInstanceSnapshotsResponseBody) SetInstanceSnapshots(v []*InstanceSnapshot) *ListInstanceSnapshotsResponseBody
func (*ListInstanceSnapshotsResponseBody) SetRequestId ¶
func (s *ListInstanceSnapshotsResponseBody) SetRequestId(v string) *ListInstanceSnapshotsResponseBody
func (ListInstanceSnapshotsResponseBody) String ¶
func (s ListInstanceSnapshotsResponseBody) String() 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 (s *ListInstancesRequest) SetPageSize(v string) *ListInstancesRequest
func (*ListInstancesRequest) SetSortBy ¶
func (s *ListInstancesRequest) SetSortBy(v string) *ListInstancesRequest
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 (s *ListInstancesResponse) SetBody(v *ListInstancesResponseBody) *ListInstancesResponse
func (*ListInstancesResponse) SetHeaders ¶
func (s *ListInstancesResponse) SetHeaders(v map[string]*string) *ListInstancesResponse
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 (s *ListInstancesResponseBody) SetInstances(v []*Instance) *ListInstancesResponseBody
func (*ListInstancesResponseBody) SetPageNumber ¶
func (s *ListInstancesResponseBody) SetPageNumber(v int64) *ListInstancesResponseBody
func (*ListInstancesResponseBody) SetPageSize ¶
func (s *ListInstancesResponseBody) SetPageSize(v int64) *ListInstancesResponseBody
func (*ListInstancesResponseBody) SetRequestId ¶
func (s *ListInstancesResponseBody) SetRequestId(v string) *ListInstancesResponseBody
func (*ListInstancesResponseBody) SetTotalCount ¶
func (s *ListInstancesResponseBody) SetTotalCount(v int64) *ListInstancesResponseBody
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 (s *ListInstancesStatusRequest) SetInstanceIds(v string) *ListInstancesStatusRequest
func (ListInstancesStatusRequest) String ¶
func (s ListInstancesStatusRequest) String() 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 (s *ListInstancesStatusResponse) SetBody(v *ListInstancesStatusResponseBody) *ListInstancesStatusResponse
func (*ListInstancesStatusResponse) SetHeaders ¶
func (s *ListInstancesStatusResponse) SetHeaders(v map[string]*string) *ListInstancesStatusResponse
func (*ListInstancesStatusResponse) SetStatusCode ¶ added in v1.1.16
func (s *ListInstancesStatusResponse) SetStatusCode(v int32) *ListInstancesStatusResponse
func (ListInstancesStatusResponse) String ¶
func (s ListInstancesStatusResponse) String() 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 (s ListInstancesStatusResponseBody) GoString() string
func (*ListInstancesStatusResponseBody) SetRequestId ¶
func (s *ListInstancesStatusResponseBody) SetRequestId(v string) *ListInstancesStatusResponseBody
func (*ListInstancesStatusResponseBody) SetStatuses ¶
func (s *ListInstancesStatusResponseBody) SetStatuses(v []*InstanceStatus) *ListInstancesStatusResponseBody
func (ListInstancesStatusResponseBody) String ¶
func (s ListInstancesStatusResponseBody) String() 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) SetDescription ¶
func (*Nas) SetFileSystemId ¶
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) SetRegionCity ¶
func (*Region) SetRegionId ¶
func (*Region) SetRegionName ¶
func (*Region) SetRegionState ¶
func (*Region) SetServiceUrl ¶
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 (s *StartInstanceResponse) SetBody(v *StartInstanceResponseBody) *StartInstanceResponse
func (*StartInstanceResponse) SetHeaders ¶
func (s *StartInstanceResponse) SetHeaders(v map[string]*string) *StartInstanceResponse
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 (s *StartInstanceResponseBody) SetInstanceId(v string) *StartInstanceResponseBody
func (*StartInstanceResponseBody) SetRequestId ¶
func (s *StartInstanceResponseBody) SetRequestId(v string) *StartInstanceResponseBody
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) SetAccumulativeRunningTimeInMinutes ¶
func (*Status) SetInstanceId ¶
func (*Status) SetInstanceShutdownTimer ¶
func (s *Status) SetInstanceShutdownTimer(v *InstanceShutdownTimer) *Status
func (*Status) SetInstanceStatus ¶
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 (s *StopInstanceResponse) SetBody(v *StopInstanceResponseBody) *StopInstanceResponse
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 (s *StopInstanceResponseBody) SetInstanceId(v string) *StopInstanceResponseBody
func (*StopInstanceResponseBody) SetRequestId ¶
func (s *StopInstanceResponseBody) SetRequestId(v string) *StopInstanceResponseBody
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 (s *UpdateInstanceResponse) SetBody(v *UpdateInstanceResponseBody) *UpdateInstanceResponse
func (*UpdateInstanceResponse) SetHeaders ¶
func (s *UpdateInstanceResponse) SetHeaders(v map[string]*string) *UpdateInstanceResponse
func (*UpdateInstanceResponse) SetStatusCode ¶ added in v1.1.16
func (s *UpdateInstanceResponse) SetStatusCode(v int32) *UpdateInstanceResponse
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 (s *UpdateInstanceResponseBody) SetInstanceId(v string) *UpdateInstanceResponseBody
func (*UpdateInstanceResponseBody) SetRequestId ¶
func (s *UpdateInstanceResponseBody) SetRequestId(v string) *UpdateInstanceResponseBody
func (UpdateInstanceResponseBody) String ¶
func (s UpdateInstanceResponseBody) String() string
type UpdateInstanceSnapshotRequest ¶
type UpdateInstanceSnapshotRequest struct { // 实例快照名称 InstanceSnapshotName *string `json:"InstanceSnapshotName,omitempty" xml:"InstanceSnapshotName,omitempty"` }
func (UpdateInstanceSnapshotRequest) GoString ¶
func (s UpdateInstanceSnapshotRequest) GoString() string
func (*UpdateInstanceSnapshotRequest) SetInstanceSnapshotName ¶
func (s *UpdateInstanceSnapshotRequest) SetInstanceSnapshotName(v string) *UpdateInstanceSnapshotRequest
func (UpdateInstanceSnapshotRequest) String ¶
func (s UpdateInstanceSnapshotRequest) String() 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 (s UpdateInstanceSnapshotResponse) GoString() string
func (*UpdateInstanceSnapshotResponse) SetBody ¶
func (s *UpdateInstanceSnapshotResponse) SetBody(v *UpdateInstanceSnapshotResponseBody) *UpdateInstanceSnapshotResponse
func (*UpdateInstanceSnapshotResponse) SetHeaders ¶
func (s *UpdateInstanceSnapshotResponse) SetHeaders(v map[string]*string) *UpdateInstanceSnapshotResponse
func (*UpdateInstanceSnapshotResponse) SetStatusCode ¶ added in v1.1.16
func (s *UpdateInstanceSnapshotResponse) SetStatusCode(v int32) *UpdateInstanceSnapshotResponse
func (UpdateInstanceSnapshotResponse) String ¶
func (s UpdateInstanceSnapshotResponse) String() 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 (s UpdateInstanceSnapshotResponseBody) GoString() string
func (*UpdateInstanceSnapshotResponseBody) SetInstanceId ¶
func (s *UpdateInstanceSnapshotResponseBody) SetInstanceId(v string) *UpdateInstanceSnapshotResponseBody
func (*UpdateInstanceSnapshotResponseBody) SetInstanceSnapshotId ¶
func (s *UpdateInstanceSnapshotResponseBody) SetInstanceSnapshotId(v string) *UpdateInstanceSnapshotResponseBody
func (*UpdateInstanceSnapshotResponseBody) SetRequestId ¶
func (s *UpdateInstanceSnapshotResponseBody) SetRequestId(v string) *UpdateInstanceSnapshotResponseBody
func (UpdateInstanceSnapshotResponseBody) String ¶
func (s UpdateInstanceSnapshotResponseBody) String() 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 (s UpdateV3InstanceByUserRequest) GoString() string
func (*UpdateV3InstanceByUserRequest) SetUserId ¶
func (s *UpdateV3InstanceByUserRequest) SetUserId(v string) *UpdateV3InstanceByUserRequest
func (*UpdateV3InstanceByUserRequest) SetWorkspaceId ¶
func (s *UpdateV3InstanceByUserRequest) SetWorkspaceId(v string) *UpdateV3InstanceByUserRequest
func (UpdateV3InstanceByUserRequest) String ¶
func (s UpdateV3InstanceByUserRequest) String() 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 (s UpdateV3InstanceByUserResponse) GoString() string
func (*UpdateV3InstanceByUserResponse) SetBody ¶
func (s *UpdateV3InstanceByUserResponse) SetBody(v *UpdateV3InstanceByUserResponseBody) *UpdateV3InstanceByUserResponse
func (*UpdateV3InstanceByUserResponse) SetHeaders ¶
func (s *UpdateV3InstanceByUserResponse) SetHeaders(v map[string]*string) *UpdateV3InstanceByUserResponse
func (*UpdateV3InstanceByUserResponse) SetStatusCode ¶ added in v1.1.16
func (s *UpdateV3InstanceByUserResponse) SetStatusCode(v int32) *UpdateV3InstanceByUserResponse
func (UpdateV3InstanceByUserResponse) String ¶
func (s UpdateV3InstanceByUserResponse) String() 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 (s UpdateV3InstanceByUserResponseBody) GoString() string
func (*UpdateV3InstanceByUserResponseBody) SetCode ¶
func (s *UpdateV3InstanceByUserResponseBody) SetCode(v string) *UpdateV3InstanceByUserResponseBody
func (*UpdateV3InstanceByUserResponseBody) SetHttpStatusCode ¶
func (s *UpdateV3InstanceByUserResponseBody) SetHttpStatusCode(v int32) *UpdateV3InstanceByUserResponseBody
func (*UpdateV3InstanceByUserResponseBody) SetIdList ¶
func (s *UpdateV3InstanceByUserResponseBody) SetIdList(v []*int64) *UpdateV3InstanceByUserResponseBody
func (*UpdateV3InstanceByUserResponseBody) SetMessage ¶
func (s *UpdateV3InstanceByUserResponseBody) SetMessage(v string) *UpdateV3InstanceByUserResponseBody
func (*UpdateV3InstanceByUserResponseBody) SetRequestId ¶
func (s *UpdateV3InstanceByUserResponseBody) SetRequestId(v string) *UpdateV3InstanceByUserResponseBody
func (*UpdateV3InstanceByUserResponseBody) SetSuccess ¶
func (s *UpdateV3InstanceByUserResponseBody) SetSuccess(v bool) *UpdateV3InstanceByUserResponseBody
func (*UpdateV3InstanceByUserResponseBody) SetUserSet ¶ added in v1.1.11
func (s *UpdateV3InstanceByUserResponseBody) SetUserSet(v []*string) *UpdateV3InstanceByUserResponseBody
func (*UpdateV3InstanceByUserResponseBody) SetWorkspaceId ¶
func (s *UpdateV3InstanceByUserResponseBody) SetWorkspaceId(v string) *UpdateV3InstanceByUserResponseBody
func (UpdateV3InstanceByUserResponseBody) String ¶
func (s UpdateV3InstanceByUserResponseBody) String() 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) SetRoleArn ¶
func (*UserVpc) SetSecurityGroupId ¶
func (*UserVpc) SetVswitchId ¶
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) SetAvailableIpAddressCount ¶
func (*VSwitch) SetCidrBlock ¶
func (*VSwitch) SetCreateTime ¶
func (*VSwitch) SetDescription ¶
func (*VSwitch) SetIsDefault ¶
func (*VSwitch) SetVSwitchId ¶
func (*VSwitch) SetVSwitchName ¶
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) SetCidrBlock ¶
func (*Vpc) SetCreateTime ¶
func (*Vpc) SetDescription ¶
func (*Vpc) SetIsDefault ¶
func (*Vpc) SetVRouterId ¶
func (*Vpc) SetVpcName ¶
Click to show internal directories.
Click to hide internal directories.