Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type BatchGetInstanceRunSummaryRequest
- type BatchGetInstanceRunSummaryResponse
- type BindQueueRequest
- type BindQueueResponse
- type CalcPlanJsonResourceRequest
- type CalcPlanJsonResourceResponse
- type CheckRawPlanJsonRequest
- type CheckRawPlanJsonResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) BatchGetInstanceRunSummary(request *BatchGetInstanceRunSummaryRequest) (response *BatchGetInstanceRunSummaryResponse, err error)
- func (client *Client) BatchGetInstanceRunSummaryWithCallback(request *BatchGetInstanceRunSummaryRequest, ...) <-chan int
- func (client *Client) BatchGetInstanceRunSummaryWithChan(request *BatchGetInstanceRunSummaryRequest) (<-chan *BatchGetInstanceRunSummaryResponse, <-chan error)
- func (client *Client) BindQueue(request *BindQueueRequest) (response *BindQueueResponse, err error)
- func (client *Client) BindQueueWithCallback(request *BindQueueRequest, ...) <-chan int
- func (client *Client) BindQueueWithChan(request *BindQueueRequest) (<-chan *BindQueueResponse, <-chan error)
- func (client *Client) CalcPlanJsonResource(request *CalcPlanJsonResourceRequest) (response *CalcPlanJsonResourceResponse, err error)
- func (client *Client) CalcPlanJsonResourceWithCallback(request *CalcPlanJsonResourceRequest, ...) <-chan int
- func (client *Client) CalcPlanJsonResourceWithChan(request *CalcPlanJsonResourceRequest) (<-chan *CalcPlanJsonResourceResponse, <-chan error)
- func (client *Client) CheckRawPlanJson(request *CheckRawPlanJsonRequest) (response *CheckRawPlanJsonResponse, err error)
- func (client *Client) CheckRawPlanJsonWithCallback(request *CheckRawPlanJsonRequest, ...) <-chan int
- func (client *Client) CheckRawPlanJsonWithChan(request *CheckRawPlanJsonRequest) (<-chan *CheckRawPlanJsonResponse, <-chan error)
- func (client *Client) CommitJob(request *CommitJobRequest) (response *CommitJobResponse, err error)
- func (client *Client) CommitJobWithCallback(request *CommitJobRequest, ...) <-chan int
- func (client *Client) CommitJobWithChan(request *CommitJobRequest) (<-chan *CommitJobResponse, <-chan error)
- func (client *Client) CreateCellClusterOrder(request *CreateCellClusterOrderRequest) (response *CreateCellClusterOrderResponse, err error)
- func (client *Client) CreateCellClusterOrderWithCallback(request *CreateCellClusterOrderRequest, ...) <-chan int
- func (client *Client) CreateCellClusterOrderWithChan(request *CreateCellClusterOrderRequest) (<-chan *CreateCellClusterOrderResponse, <-chan error)
- func (client *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (client *Client) CreateClusterWithCallback(request *CreateClusterRequest, ...) <-chan int
- func (client *Client) CreateClusterWithChan(request *CreateClusterRequest) (<-chan *CreateClusterResponse, <-chan error)
- func (client *Client) CreateFolder(request *CreateFolderRequest) (response *CreateFolderResponse, err error)
- func (client *Client) CreateFolderWithCallback(request *CreateFolderRequest, ...) <-chan int
- func (client *Client) CreateFolderWithChan(request *CreateFolderRequest) (<-chan *CreateFolderResponse, <-chan error)
- func (client *Client) CreateJob(request *CreateJobRequest) (response *CreateJobResponse, err error)
- func (client *Client) CreateJobWithCallback(request *CreateJobRequest, ...) <-chan int
- func (client *Client) CreateJobWithChan(request *CreateJobRequest) (<-chan *CreateJobResponse, <-chan error)
- func (client *Client) CreatePackage(request *CreatePackageRequest) (response *CreatePackageResponse, err error)
- func (client *Client) CreatePackageWithCallback(request *CreatePackageRequest, ...) <-chan int
- func (client *Client) CreatePackageWithChan(request *CreatePackageRequest) (<-chan *CreatePackageResponse, <-chan error)
- func (client *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (client *Client) CreateProjectWithCallback(request *CreateProjectRequest, ...) <-chan int
- func (client *Client) CreateProjectWithChan(request *CreateProjectRequest) (<-chan *CreateProjectResponse, <-chan error)
- func (client *Client) CreateQueue(request *CreateQueueRequest) (response *CreateQueueResponse, err error)
- func (client *Client) CreateQueueWithCallback(request *CreateQueueRequest, ...) <-chan int
- func (client *Client) CreateQueueWithChan(request *CreateQueueRequest) (<-chan *CreateQueueResponse, <-chan error)
- func (client *Client) DeleteFolder(request *DeleteFolderRequest) (response *DeleteFolderResponse, err error)
- func (client *Client) DeleteFolderWithCallback(request *DeleteFolderRequest, ...) <-chan int
- func (client *Client) DeleteFolderWithChan(request *DeleteFolderRequest) (<-chan *DeleteFolderResponse, <-chan error)
- func (client *Client) DeleteJob(request *DeleteJobRequest) (response *DeleteJobResponse, err error)
- func (client *Client) DeleteJobWithCallback(request *DeleteJobRequest, ...) <-chan int
- func (client *Client) DeleteJobWithChan(request *DeleteJobRequest) (<-chan *DeleteJobResponse, <-chan error)
- func (client *Client) DeletePackage(request *DeletePackageRequest) (response *DeletePackageResponse, err error)
- func (client *Client) DeletePackageWithCallback(request *DeletePackageRequest, ...) <-chan int
- func (client *Client) DeletePackageWithChan(request *DeletePackageRequest) (<-chan *DeletePackageResponse, <-chan error)
- func (client *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (client *Client) DeleteProjectWithCallback(request *DeleteProjectRequest, ...) <-chan int
- func (client *Client) DeleteProjectWithChan(request *DeleteProjectRequest) (<-chan *DeleteProjectResponse, <-chan error)
- func (client *Client) DeleteQueue(request *DeleteQueueRequest) (response *DeleteQueueResponse, err error)
- func (client *Client) DeleteQueueWithCallback(request *DeleteQueueRequest, ...) <-chan int
- func (client *Client) DeleteQueueWithChan(request *DeleteQueueRequest) (<-chan *DeleteQueueResponse, <-chan error)
- func (client *Client) DestroyCluster(request *DestroyClusterRequest) (response *DestroyClusterResponse, err error)
- func (client *Client) DestroyClusterWithCallback(request *DestroyClusterRequest, ...) <-chan int
- func (client *Client) DestroyClusterWithChan(request *DestroyClusterRequest) (<-chan *DestroyClusterResponse, <-chan error)
- func (client *Client) ExpandCluster(request *ExpandClusterRequest) (response *ExpandClusterResponse, err error)
- func (client *Client) ExpandClusterWithCallback(request *ExpandClusterRequest, ...) <-chan int
- func (client *Client) ExpandClusterWithChan(request *ExpandClusterRequest) (<-chan *ExpandClusterResponse, <-chan error)
- func (client *Client) GetClusterDetails(request *GetClusterDetailsRequest) (response *GetClusterDetailsResponse, err error)
- func (client *Client) GetClusterDetailsWithCallback(request *GetClusterDetailsRequest, ...) <-chan int
- func (client *Client) GetClusterDetailsWithChan(request *GetClusterDetailsRequest) (<-chan *GetClusterDetailsResponse, <-chan error)
- func (client *Client) GetClusterEngineVersions(request *GetClusterEngineVersionsRequest) (response *GetClusterEngineVersionsResponse, err error)
- func (client *Client) GetClusterEngineVersionsWithCallback(request *GetClusterEngineVersionsRequest, ...) <-chan int
- func (client *Client) GetClusterEngineVersionsWithChan(request *GetClusterEngineVersionsRequest) (<-chan *GetClusterEngineVersionsResponse, <-chan error)
- func (client *Client) GetClusterMetrics(request *GetClusterMetricsRequest) (response *GetClusterMetricsResponse, err error)
- func (client *Client) GetClusterMetricsWithCallback(request *GetClusterMetricsRequest, ...) <-chan int
- func (client *Client) GetClusterMetricsWithChan(request *GetClusterMetricsRequest) (<-chan *GetClusterMetricsResponse, <-chan error)
- func (client *Client) GetClusterQueueInfo(request *GetClusterQueueInfoRequest) (response *GetClusterQueueInfoResponse, err error)
- func (client *Client) GetClusterQueueInfoWithCallback(request *GetClusterQueueInfoRequest, ...) <-chan int
- func (client *Client) GetClusterQueueInfoWithChan(request *GetClusterQueueInfoRequest) (<-chan *GetClusterQueueInfoResponse, <-chan error)
- func (client *Client) GetClusterResource(request *GetClusterResourceRequest) (response *GetClusterResourceResponse, err error)
- func (client *Client) GetClusterResourceWithCallback(request *GetClusterResourceRequest, ...) <-chan int
- func (client *Client) GetClusterResourceWithChan(request *GetClusterResourceRequest) (<-chan *GetClusterResourceResponse, <-chan error)
- func (client *Client) GetFolder(request *GetFolderRequest) (response *GetFolderResponse, err error)
- func (client *Client) GetFolderWithCallback(request *GetFolderRequest, ...) <-chan int
- func (client *Client) GetFolderWithChan(request *GetFolderRequest) (<-chan *GetFolderResponse, <-chan error)
- func (client *Client) GetInstance(request *GetInstanceRequest) (response *GetInstanceResponse, err error)
- func (client *Client) GetInstanceCheckpoint(request *GetInstanceCheckpointRequest) (response *GetInstanceCheckpointResponse, err error)
- func (client *Client) GetInstanceCheckpointWithCallback(request *GetInstanceCheckpointRequest, ...) <-chan int
- func (client *Client) GetInstanceCheckpointWithChan(request *GetInstanceCheckpointRequest) (<-chan *GetInstanceCheckpointResponse, <-chan error)
- func (client *Client) GetInstanceConfig(request *GetInstanceConfigRequest) (response *GetInstanceConfigResponse, err error)
- func (client *Client) GetInstanceConfigWithCallback(request *GetInstanceConfigRequest, ...) <-chan int
- func (client *Client) GetInstanceConfigWithChan(request *GetInstanceConfigRequest) (<-chan *GetInstanceConfigResponse, <-chan error)
- func (client *Client) GetInstanceDetail(request *GetInstanceDetailRequest) (response *GetInstanceDetailResponse, err error)
- func (client *Client) GetInstanceDetailWithCallback(request *GetInstanceDetailRequest, ...) <-chan int
- func (client *Client) GetInstanceDetailWithChan(request *GetInstanceDetailRequest) (<-chan *GetInstanceDetailResponse, <-chan error)
- func (client *Client) GetInstanceExceptions(request *GetInstanceExceptionsRequest) (response *GetInstanceExceptionsResponse, err error)
- func (client *Client) GetInstanceExceptionsWithCallback(request *GetInstanceExceptionsRequest, ...) <-chan int
- func (client *Client) GetInstanceExceptionsWithChan(request *GetInstanceExceptionsRequest) (<-chan *GetInstanceExceptionsResponse, <-chan error)
- func (client *Client) GetInstanceFinalState(request *GetInstanceFinalStateRequest) (response *GetInstanceFinalStateResponse, err error)
- func (client *Client) GetInstanceFinalStateWithCallback(request *GetInstanceFinalStateRequest, ...) <-chan int
- func (client *Client) GetInstanceFinalStateWithChan(request *GetInstanceFinalStateRequest) (<-chan *GetInstanceFinalStateResponse, <-chan error)
- func (client *Client) GetInstanceHistoryAutoScalePlanContent(request *GetInstanceHistoryAutoScalePlanContentRequest) (response *GetInstanceHistoryAutoScalePlanContentResponse, err error)
- func (client *Client) GetInstanceHistoryAutoScalePlanContentWithCallback(request *GetInstanceHistoryAutoScalePlanContentRequest, ...) <-chan int
- func (client *Client) GetInstanceHistoryAutoScalePlanContentWithChan(request *GetInstanceHistoryAutoScalePlanContentRequest) (<-chan *GetInstanceHistoryAutoScalePlanContentResponse, <-chan error)
- func (client *Client) GetInstanceHistoryAutoScalePlanList(request *GetInstanceHistoryAutoScalePlanListRequest) (response *GetInstanceHistoryAutoScalePlanListResponse, err error)
- func (client *Client) GetInstanceHistoryAutoScalePlanListWithCallback(request *GetInstanceHistoryAutoScalePlanListRequest, ...) <-chan int
- func (client *Client) GetInstanceHistoryAutoScalePlanListWithChan(request *GetInstanceHistoryAutoScalePlanListRequest) (<-chan *GetInstanceHistoryAutoScalePlanListResponse, <-chan error)
- func (client *Client) GetInstanceMetric(request *GetInstanceMetricRequest) (response *GetInstanceMetricResponse, err error)
- func (client *Client) GetInstanceMetricWithCallback(request *GetInstanceMetricRequest, ...) <-chan int
- func (client *Client) GetInstanceMetricWithChan(request *GetInstanceMetricRequest) (<-chan *GetInstanceMetricResponse, <-chan error)
- func (client *Client) GetInstanceResource(request *GetInstanceResourceRequest) (response *GetInstanceResourceResponse, err error)
- func (client *Client) GetInstanceResourceWithCallback(request *GetInstanceResourceRequest, ...) <-chan int
- func (client *Client) GetInstanceResourceWithChan(request *GetInstanceResourceRequest) (<-chan *GetInstanceResourceResponse, <-chan error)
- func (client *Client) GetInstanceRunSummary(request *GetInstanceRunSummaryRequest) (response *GetInstanceRunSummaryResponse, err error)
- func (client *Client) GetInstanceRunSummaryWithCallback(request *GetInstanceRunSummaryRequest, ...) <-chan int
- func (client *Client) GetInstanceRunSummaryWithChan(request *GetInstanceRunSummaryRequest) (<-chan *GetInstanceRunSummaryResponse, <-chan error)
- func (client *Client) GetInstanceWithCallback(request *GetInstanceRequest, ...) <-chan int
- func (client *Client) GetInstanceWithChan(request *GetInstanceRequest) (<-chan *GetInstanceResponse, <-chan error)
- func (client *Client) GetJob(request *GetJobRequest) (response *GetJobResponse, err error)
- func (client *Client) GetJobLatestAutoScalePlan(request *GetJobLatestAutoScalePlanRequest) (response *GetJobLatestAutoScalePlanResponse, err error)
- func (client *Client) GetJobLatestAutoScalePlanWithCallback(request *GetJobLatestAutoScalePlanRequest, ...) <-chan int
- func (client *Client) GetJobLatestAutoScalePlanWithChan(request *GetJobLatestAutoScalePlanRequest) (<-chan *GetJobLatestAutoScalePlanResponse, <-chan error)
- func (client *Client) GetJobWithCallback(request *GetJobRequest, callback func(response *GetJobResponse, err error)) <-chan int
- func (client *Client) GetJobWithChan(request *GetJobRequest) (<-chan *GetJobResponse, <-chan error)
- func (client *Client) GetPackage(request *GetPackageRequest) (response *GetPackageResponse, err error)
- func (client *Client) GetPackageWithCallback(request *GetPackageRequest, ...) <-chan int
- func (client *Client) GetPackageWithChan(request *GetPackageRequest) (<-chan *GetPackageResponse, <-chan error)
- func (client *Client) GetProject(request *GetProjectRequest) (response *GetProjectResponse, err error)
- func (client *Client) GetProjectWithCallback(request *GetProjectRequest, ...) <-chan int
- func (client *Client) GetProjectWithChan(request *GetProjectRequest) (<-chan *GetProjectResponse, <-chan error)
- func (client *Client) GetRawPlanJson(request *GetRawPlanJsonRequest) (response *GetRawPlanJsonResponse, err error)
- func (client *Client) GetRawPlanJsonWithCallback(request *GetRawPlanJsonRequest, ...) <-chan int
- func (client *Client) GetRawPlanJsonWithChan(request *GetRawPlanJsonRequest) (<-chan *GetRawPlanJsonResponse, <-chan error)
- func (client *Client) GetRefPackageJob(request *GetRefPackageJobRequest) (response *GetRefPackageJobResponse, err error)
- func (client *Client) GetRefPackageJobWithCallback(request *GetRefPackageJobRequest, ...) <-chan int
- func (client *Client) GetRefPackageJobWithChan(request *GetRefPackageJobRequest) (<-chan *GetRefPackageJobResponse, <-chan error)
- func (client *Client) ListChildFolder(request *ListChildFolderRequest) (response *ListChildFolderResponse, err error)
- func (client *Client) ListChildFolderWithCallback(request *ListChildFolderRequest, ...) <-chan int
- func (client *Client) ListChildFolderWithChan(request *ListChildFolderRequest) (<-chan *ListChildFolderResponse, <-chan error)
- func (client *Client) ListCluster(request *ListClusterRequest) (response *ListClusterResponse, err error)
- func (client *Client) ListClusterWithCallback(request *ListClusterRequest, ...) <-chan int
- func (client *Client) ListClusterWithChan(request *ListClusterRequest) (<-chan *ListClusterResponse, <-chan error)
- func (client *Client) ListInstance(request *ListInstanceRequest) (response *ListInstanceResponse, err error)
- func (client *Client) ListInstanceWithCallback(request *ListInstanceRequest, ...) <-chan int
- func (client *Client) ListInstanceWithChan(request *ListInstanceRequest) (<-chan *ListInstanceResponse, <-chan error)
- func (client *Client) ListJob(request *ListJobRequest) (response *ListJobResponse, err error)
- func (client *Client) ListJobWithCallback(request *ListJobRequest, callback func(response *ListJobResponse, err error)) <-chan int
- func (client *Client) ListJobWithChan(request *ListJobRequest) (<-chan *ListJobResponse, <-chan error)
- func (client *Client) ListPackage(request *ListPackageRequest) (response *ListPackageResponse, err error)
- func (client *Client) ListPackageWithCallback(request *ListPackageRequest, ...) <-chan int
- func (client *Client) ListPackageWithChan(request *ListPackageRequest) (<-chan *ListPackageResponse, <-chan error)
- func (client *Client) ListProject(request *ListProjectRequest) (response *ListProjectResponse, err error)
- func (client *Client) ListProjectBindQueue(request *ListProjectBindQueueRequest) (response *ListProjectBindQueueResponse, err error)
- func (client *Client) ListProjectBindQueueResource(request *ListProjectBindQueueResourceRequest) (response *ListProjectBindQueueResourceResponse, err error)
- func (client *Client) ListProjectBindQueueResourceWithCallback(request *ListProjectBindQueueResourceRequest, ...) <-chan int
- func (client *Client) ListProjectBindQueueResourceWithChan(request *ListProjectBindQueueResourceRequest) (<-chan *ListProjectBindQueueResourceResponse, <-chan error)
- func (client *Client) ListProjectBindQueueWithCallback(request *ListProjectBindQueueRequest, ...) <-chan int
- func (client *Client) ListProjectBindQueueWithChan(request *ListProjectBindQueueRequest) (<-chan *ListProjectBindQueueResponse, <-chan error)
- func (client *Client) ListProjectWithCallback(request *ListProjectRequest, ...) <-chan int
- func (client *Client) ListProjectWithChan(request *ListProjectRequest) (<-chan *ListProjectResponse, <-chan error)
- func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)
- func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, ...) <-chan int
- func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)
- func (client *Client) MVFolder(request *MVFolderRequest) (response *MVFolderResponse, err error)
- func (client *Client) MVFolderWithCallback(request *MVFolderRequest, callback func(response *MVFolderResponse, err error)) <-chan int
- func (client *Client) MVFolderWithChan(request *MVFolderRequest) (<-chan *MVFolderResponse, <-chan error)
- func (client *Client) ModifyInstanceState(request *ModifyInstanceStateRequest) (response *ModifyInstanceStateResponse, err error)
- func (client *Client) ModifyInstanceStateWithCallback(request *ModifyInstanceStateRequest, ...) <-chan int
- func (client *Client) ModifyInstanceStateWithChan(request *ModifyInstanceStateRequest) (<-chan *ModifyInstanceStateResponse, <-chan error)
- func (client *Client) ModifyMasterSpec(request *ModifyMasterSpecRequest) (response *ModifyMasterSpecResponse, err error)
- func (client *Client) ModifyMasterSpecWithCallback(request *ModifyMasterSpecRequest, ...) <-chan int
- func (client *Client) ModifyMasterSpecWithChan(request *ModifyMasterSpecRequest) (<-chan *ModifyMasterSpecResponse, <-chan error)
- func (client *Client) OfflineJob(request *OfflineJobRequest) (response *OfflineJobResponse, err error)
- func (client *Client) OfflineJobWithCallback(request *OfflineJobRequest, ...) <-chan int
- func (client *Client) OfflineJobWithChan(request *OfflineJobRequest) (<-chan *OfflineJobResponse, <-chan error)
- func (client *Client) ShrinkCluster(request *ShrinkClusterRequest) (response *ShrinkClusterResponse, err error)
- func (client *Client) ShrinkClusterWithCallback(request *ShrinkClusterRequest, ...) <-chan int
- func (client *Client) ShrinkClusterWithChan(request *ShrinkClusterRequest) (<-chan *ShrinkClusterResponse, <-chan error)
- func (client *Client) StartJob(request *StartJobRequest) (response *StartJobResponse, err error)
- func (client *Client) StartJobWithCallback(request *StartJobRequest, callback func(response *StartJobResponse, err error)) <-chan int
- func (client *Client) StartJobWithChan(request *StartJobRequest) (<-chan *StartJobResponse, <-chan error)
- func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
- func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, ...) <-chan int
- func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)
- func (client *Client) UnbindQueue(request *UnbindQueueRequest) (response *UnbindQueueResponse, err error)
- func (client *Client) UnbindQueueWithCallback(request *UnbindQueueRequest, ...) <-chan int
- func (client *Client) UnbindQueueWithChan(request *UnbindQueueRequest) (<-chan *UnbindQueueResponse, <-chan error)
- func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)
- func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, ...) <-chan int
- func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)
- func (client *Client) UpdateAutoScaleConfig(request *UpdateAutoScaleConfigRequest) (response *UpdateAutoScaleConfigResponse, err error)
- func (client *Client) UpdateAutoScaleConfigWithCallback(request *UpdateAutoScaleConfigRequest, ...) <-chan int
- func (client *Client) UpdateAutoScaleConfigWithChan(request *UpdateAutoScaleConfigRequest) (<-chan *UpdateAutoScaleConfigResponse, <-chan error)
- func (client *Client) UpdateJob(request *UpdateJobRequest) (response *UpdateJobResponse, err error)
- func (client *Client) UpdateJobWithCallback(request *UpdateJobRequest, ...) <-chan int
- func (client *Client) UpdateJobWithChan(request *UpdateJobRequest) (<-chan *UpdateJobResponse, <-chan error)
- func (client *Client) UpdatePackage(request *UpdatePackageRequest) (response *UpdatePackageResponse, err error)
- func (client *Client) UpdatePackageWithCallback(request *UpdatePackageRequest, ...) <-chan int
- func (client *Client) UpdatePackageWithChan(request *UpdatePackageRequest) (<-chan *UpdatePackageResponse, <-chan error)
- func (client *Client) UpdateProject(request *UpdateProjectRequest) (response *UpdateProjectResponse, err error)
- func (client *Client) UpdateProjectConfig(request *UpdateProjectConfigRequest) (response *UpdateProjectConfigResponse, err error)
- func (client *Client) UpdateProjectConfigWithCallback(request *UpdateProjectConfigRequest, ...) <-chan int
- func (client *Client) UpdateProjectConfigWithChan(request *UpdateProjectConfigRequest) (<-chan *UpdateProjectConfigResponse, <-chan error)
- func (client *Client) UpdateProjectWithCallback(request *UpdateProjectRequest, ...) <-chan int
- func (client *Client) UpdateProjectWithChan(request *UpdateProjectRequest) (<-chan *UpdateProjectResponse, <-chan error)
- func (client *Client) UpdateQueue(request *UpdateQueueRequest) (response *UpdateQueueResponse, err error)
- func (client *Client) UpdateQueueWithCallback(request *UpdateQueueRequest, ...) <-chan int
- func (client *Client) UpdateQueueWithChan(request *UpdateQueueRequest) (<-chan *UpdateQueueResponse, <-chan error)
- func (client *Client) ValidateJob(request *ValidateJobRequest) (response *ValidateJobResponse, err error)
- func (client *Client) ValidateJobWithCallback(request *ValidateJobRequest, ...) <-chan int
- func (client *Client) ValidateJobWithChan(request *ValidateJobRequest) (<-chan *ValidateJobResponse, <-chan error)
- type Cluster
- type Clusters
- type CommitJobRequest
- type CommitJobResponse
- type CommitJobSuspendPeriodParam
- type CreateCellClusterOrderRequest
- type CreateCellClusterOrderResponse
- type CreateClusterRequest
- type CreateClusterResponse
- type CreateFolderRequest
- type CreateFolderResponse
- type CreateJobRequest
- type CreateJobResponse
- type CreatePackageRequest
- type CreatePackageResponse
- type CreateProjectRequest
- type CreateProjectResponse
- type CreateQueueRequest
- type CreateQueueResponse
- type Data
- type DeleteFolderRequest
- type DeleteFolderResponse
- type DeleteJobRequest
- type DeleteJobResponse
- type DeletePackageRequest
- type DeletePackageResponse
- type DeleteProjectRequest
- type DeleteProjectResponse
- type DeleteQueueRequest
- type DeleteQueueResponse
- type DestroyClusterRequest
- type DestroyClusterResponse
- type Details
- type Dim
- type Dims
- type EngineVersions
- type ExpandClusterRequest
- type ExpandClusterResponse
- type Folder
- type Folders
- type GetClusterDetailsRequest
- type GetClusterDetailsResponse
- type GetClusterEngineVersionsRequest
- type GetClusterEngineVersionsResponse
- type GetClusterMetricsRequest
- type GetClusterMetricsResponse
- type GetClusterQueueInfoRequest
- type GetClusterQueueInfoResponse
- type GetClusterResourceRequest
- type GetClusterResourceResponse
- type GetFolderRequest
- type GetFolderResponse
- type GetInstanceCheckpointRequest
- type GetInstanceCheckpointResponse
- type GetInstanceConfigRequest
- type GetInstanceConfigResponse
- type GetInstanceDetailRequest
- type GetInstanceDetailResponse
- type GetInstanceExceptionsRequest
- type GetInstanceExceptionsResponse
- type GetInstanceFinalStateRequest
- type GetInstanceFinalStateResponse
- type GetInstanceHistoryAutoScalePlanContentRequest
- type GetInstanceHistoryAutoScalePlanContentResponse
- type GetInstanceHistoryAutoScalePlanListRequest
- type GetInstanceHistoryAutoScalePlanListResponse
- type GetInstanceMetricRequest
- type GetInstanceMetricResponse
- type GetInstanceRequest
- type GetInstanceResourceRequest
- type GetInstanceResourceResponse
- type GetInstanceResponse
- type GetInstanceRunSummaryRequest
- type GetInstanceRunSummaryResponse
- type GetJobLatestAutoScalePlanRequest
- type GetJobLatestAutoScalePlanResponse
- type GetJobRequest
- type GetJobResponse
- type GetPackageRequest
- type GetPackageResponse
- type GetProjectRequest
- type GetProjectResponse
- type GetRawPlanJsonRequest
- type GetRawPlanJsonResponse
- type GetRefPackageJobRequest
- type GetRefPackageJobResponse
- type Input
- type Inputs
- type Instance
- type Instances
- type Job
- type JobInOut
- type JobsInGetRefPackageJob
- type JobsInListJob
- type ListChildFolderRequest
- type ListChildFolderResponse
- type ListClusterRequest
- type ListClusterResponse
- type ListInstanceRequest
- type ListInstanceResponse
- type ListJobRequest
- type ListJobResponse
- type ListPackageRequest
- type ListPackageResponse
- type ListProjectBindQueueRequest
- type ListProjectBindQueueResourceRequest
- type ListProjectBindQueueResourceResponse
- type ListProjectBindQueueResponse
- type ListProjectRequest
- type ListProjectResponse
- type ListTagResourcesRequest
- type ListTagResourcesResponse
- type MVFolderRequest
- type MVFolderResponse
- type Metric
- type MetricsInGetClusterMetrics
- type MetricsInGetInstanceMetric
- type ModifyInstanceStateRequest
- type ModifyInstanceStateResponse
- type ModifyMasterSpecRequest
- type ModifyMasterSpecResponse
- type OfflineJobRequest
- type OfflineJobResponse
- type Output
- type Outputs
- type Package
- type Packages
- type PlanJsonInfo
- type PlanJsonResource
- type PlanList
- type Project
- type Projects
- type Queue
- type QueuesInGetClusterQueueInfo
- type QueuesInListProjectBindQueue
- type QueuesInListProjectBindQueueResource
- type Resource
- type RunSummary
- type RunSummarys
- type ShrinkClusterRequest
- type ShrinkClusterResponse
- type StartJobRequest
- type StartJobResponse
- type TagResource
- type TagResources
- type TagResourcesRequest
- type TagResourcesResponse
- type UnbindQueueRequest
- type UnbindQueueResponse
- type UntagResourcesRequest
- type UntagResourcesResponse
- type UpdateAutoScaleConfigRequest
- type UpdateAutoScaleConfigResponse
- type UpdateJobRequest
- type UpdateJobResponse
- type UpdatePackageRequest
- type UpdatePackageResponse
- type UpdateProjectConfigRequest
- type UpdateProjectConfigResponse
- type UpdateProjectRequest
- type UpdateProjectResponse
- type UpdateQueueRequest
- type UpdateQueueResponse
- type ValidateJobRequest
- type ValidateJobResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type BatchGetInstanceRunSummaryRequest ¶
type BatchGetInstanceRunSummaryRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` JobNames string `position:"Query" name:"jobNames"` JobType string `position:"Query" name:"jobType"` }
BatchGetInstanceRunSummaryRequest is the request struct for api BatchGetInstanceRunSummary
func CreateBatchGetInstanceRunSummaryRequest ¶
func CreateBatchGetInstanceRunSummaryRequest() (request *BatchGetInstanceRunSummaryRequest)
CreateBatchGetInstanceRunSummaryRequest creates a request to invoke BatchGetInstanceRunSummary API
type BatchGetInstanceRunSummaryResponse ¶
type BatchGetInstanceRunSummaryResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` RunSummarys RunSummarys `json:"RunSummarys" xml:"RunSummarys"` }
BatchGetInstanceRunSummaryResponse is the response struct for api BatchGetInstanceRunSummary
func CreateBatchGetInstanceRunSummaryResponse ¶
func CreateBatchGetInstanceRunSummaryResponse() (response *BatchGetInstanceRunSummaryResponse)
CreateBatchGetInstanceRunSummaryResponse creates a response to parse from BatchGetInstanceRunSummary response
type BindQueueRequest ¶
type BindQueueRequest struct { *requests.RoaRequest QueueName string `position:"Body" name:"queueName"` ProjectName string `position:"Path" name:"projectName"` ClusterId string `position:"Body" name:"clusterId"` }
BindQueueRequest is the request struct for api BindQueue
func CreateBindQueueRequest ¶
func CreateBindQueueRequest() (request *BindQueueRequest)
CreateBindQueueRequest creates a request to invoke BindQueue API
type BindQueueResponse ¶
type BindQueueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BindQueueResponse is the response struct for api BindQueue
func CreateBindQueueResponse ¶
func CreateBindQueueResponse() (response *BindQueueResponse)
CreateBindQueueResponse creates a response to parse from BindQueue response
type CalcPlanJsonResourceRequest ¶
type CalcPlanJsonResourceRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` JobName string `position:"Path" name:"jobName"` }
CalcPlanJsonResourceRequest is the request struct for api CalcPlanJsonResource
func CreateCalcPlanJsonResourceRequest ¶
func CreateCalcPlanJsonResourceRequest() (request *CalcPlanJsonResourceRequest)
CreateCalcPlanJsonResourceRequest creates a request to invoke CalcPlanJsonResource API
type CalcPlanJsonResourceResponse ¶
type CalcPlanJsonResourceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PlanJsonResource PlanJsonResource `json:"PlanJsonResource" xml:"PlanJsonResource"` }
CalcPlanJsonResourceResponse is the response struct for api CalcPlanJsonResource
func CreateCalcPlanJsonResourceResponse ¶
func CreateCalcPlanJsonResourceResponse() (response *CalcPlanJsonResourceResponse)
CreateCalcPlanJsonResourceResponse creates a response to parse from CalcPlanJsonResource response
type CheckRawPlanJsonRequest ¶
type CheckRawPlanJsonRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` SessionId string `position:"Query" name:"sessionId"` JobName string `position:"Path" name:"jobName"` }
CheckRawPlanJsonRequest is the request struct for api CheckRawPlanJson
func CreateCheckRawPlanJsonRequest ¶
func CreateCheckRawPlanJsonRequest() (request *CheckRawPlanJsonRequest)
CreateCheckRawPlanJsonRequest creates a request to invoke CheckRawPlanJson API
type CheckRawPlanJsonResponse ¶
type CheckRawPlanJsonResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PlanJsonInfo PlanJsonInfo `json:"PlanJsonInfo" xml:"PlanJsonInfo"` }
CheckRawPlanJsonResponse is the response struct for api CheckRawPlanJson
func CreateCheckRawPlanJsonResponse ¶
func CreateCheckRawPlanJsonResponse() (response *CheckRawPlanJsonResponse)
CreateCheckRawPlanJsonResponse creates a response to parse from CheckRawPlanJson response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) BatchGetInstanceRunSummary ¶
func (client *Client) BatchGetInstanceRunSummary(request *BatchGetInstanceRunSummaryRequest) (response *BatchGetInstanceRunSummaryResponse, err error)
BatchGetInstanceRunSummary invokes the foas.BatchGetInstanceRunSummary API synchronously
func (*Client) BatchGetInstanceRunSummaryWithCallback ¶
func (client *Client) BatchGetInstanceRunSummaryWithCallback(request *BatchGetInstanceRunSummaryRequest, callback func(response *BatchGetInstanceRunSummaryResponse, err error)) <-chan int
BatchGetInstanceRunSummaryWithCallback invokes the foas.BatchGetInstanceRunSummary API asynchronously
func (*Client) BatchGetInstanceRunSummaryWithChan ¶
func (client *Client) BatchGetInstanceRunSummaryWithChan(request *BatchGetInstanceRunSummaryRequest) (<-chan *BatchGetInstanceRunSummaryResponse, <-chan error)
BatchGetInstanceRunSummaryWithChan invokes the foas.BatchGetInstanceRunSummary API asynchronously
func (*Client) BindQueue ¶
func (client *Client) BindQueue(request *BindQueueRequest) (response *BindQueueResponse, err error)
BindQueue invokes the foas.BindQueue API synchronously
func (*Client) BindQueueWithCallback ¶
func (client *Client) BindQueueWithCallback(request *BindQueueRequest, callback func(response *BindQueueResponse, err error)) <-chan int
BindQueueWithCallback invokes the foas.BindQueue API asynchronously
func (*Client) BindQueueWithChan ¶
func (client *Client) BindQueueWithChan(request *BindQueueRequest) (<-chan *BindQueueResponse, <-chan error)
BindQueueWithChan invokes the foas.BindQueue API asynchronously
func (*Client) CalcPlanJsonResource ¶
func (client *Client) CalcPlanJsonResource(request *CalcPlanJsonResourceRequest) (response *CalcPlanJsonResourceResponse, err error)
CalcPlanJsonResource invokes the foas.CalcPlanJsonResource API synchronously
func (*Client) CalcPlanJsonResourceWithCallback ¶
func (client *Client) CalcPlanJsonResourceWithCallback(request *CalcPlanJsonResourceRequest, callback func(response *CalcPlanJsonResourceResponse, err error)) <-chan int
CalcPlanJsonResourceWithCallback invokes the foas.CalcPlanJsonResource API asynchronously
func (*Client) CalcPlanJsonResourceWithChan ¶
func (client *Client) CalcPlanJsonResourceWithChan(request *CalcPlanJsonResourceRequest) (<-chan *CalcPlanJsonResourceResponse, <-chan error)
CalcPlanJsonResourceWithChan invokes the foas.CalcPlanJsonResource API asynchronously
func (*Client) CheckRawPlanJson ¶
func (client *Client) CheckRawPlanJson(request *CheckRawPlanJsonRequest) (response *CheckRawPlanJsonResponse, err error)
CheckRawPlanJson invokes the foas.CheckRawPlanJson API synchronously
func (*Client) CheckRawPlanJsonWithCallback ¶
func (client *Client) CheckRawPlanJsonWithCallback(request *CheckRawPlanJsonRequest, callback func(response *CheckRawPlanJsonResponse, err error)) <-chan int
CheckRawPlanJsonWithCallback invokes the foas.CheckRawPlanJson API asynchronously
func (*Client) CheckRawPlanJsonWithChan ¶
func (client *Client) CheckRawPlanJsonWithChan(request *CheckRawPlanJsonRequest) (<-chan *CheckRawPlanJsonResponse, <-chan error)
CheckRawPlanJsonWithChan invokes the foas.CheckRawPlanJson API asynchronously
func (*Client) CommitJob ¶
func (client *Client) CommitJob(request *CommitJobRequest) (response *CommitJobResponse, err error)
CommitJob invokes the foas.CommitJob API synchronously
func (*Client) CommitJobWithCallback ¶
func (client *Client) CommitJobWithCallback(request *CommitJobRequest, callback func(response *CommitJobResponse, err error)) <-chan int
CommitJobWithCallback invokes the foas.CommitJob API asynchronously
func (*Client) CommitJobWithChan ¶
func (client *Client) CommitJobWithChan(request *CommitJobRequest) (<-chan *CommitJobResponse, <-chan error)
CommitJobWithChan invokes the foas.CommitJob API asynchronously
func (*Client) CreateCellClusterOrder ¶
func (client *Client) CreateCellClusterOrder(request *CreateCellClusterOrderRequest) (response *CreateCellClusterOrderResponse, err error)
CreateCellClusterOrder invokes the foas.CreateCellClusterOrder API synchronously
func (*Client) CreateCellClusterOrderWithCallback ¶
func (client *Client) CreateCellClusterOrderWithCallback(request *CreateCellClusterOrderRequest, callback func(response *CreateCellClusterOrderResponse, err error)) <-chan int
CreateCellClusterOrderWithCallback invokes the foas.CreateCellClusterOrder API asynchronously
func (*Client) CreateCellClusterOrderWithChan ¶
func (client *Client) CreateCellClusterOrderWithChan(request *CreateCellClusterOrderRequest) (<-chan *CreateCellClusterOrderResponse, <-chan error)
CreateCellClusterOrderWithChan invokes the foas.CreateCellClusterOrder API asynchronously
func (*Client) CreateCluster ¶
func (client *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster invokes the foas.CreateCluster API synchronously
func (*Client) CreateClusterWithCallback ¶
func (client *Client) CreateClusterWithCallback(request *CreateClusterRequest, callback func(response *CreateClusterResponse, err error)) <-chan int
CreateClusterWithCallback invokes the foas.CreateCluster API asynchronously
func (*Client) CreateClusterWithChan ¶
func (client *Client) CreateClusterWithChan(request *CreateClusterRequest) (<-chan *CreateClusterResponse, <-chan error)
CreateClusterWithChan invokes the foas.CreateCluster API asynchronously
func (*Client) CreateFolder ¶
func (client *Client) CreateFolder(request *CreateFolderRequest) (response *CreateFolderResponse, err error)
CreateFolder invokes the foas.CreateFolder API synchronously
func (*Client) CreateFolderWithCallback ¶
func (client *Client) CreateFolderWithCallback(request *CreateFolderRequest, callback func(response *CreateFolderResponse, err error)) <-chan int
CreateFolderWithCallback invokes the foas.CreateFolder API asynchronously
func (*Client) CreateFolderWithChan ¶
func (client *Client) CreateFolderWithChan(request *CreateFolderRequest) (<-chan *CreateFolderResponse, <-chan error)
CreateFolderWithChan invokes the foas.CreateFolder API asynchronously
func (*Client) CreateJob ¶
func (client *Client) CreateJob(request *CreateJobRequest) (response *CreateJobResponse, err error)
CreateJob invokes the foas.CreateJob API synchronously
func (*Client) CreateJobWithCallback ¶
func (client *Client) CreateJobWithCallback(request *CreateJobRequest, callback func(response *CreateJobResponse, err error)) <-chan int
CreateJobWithCallback invokes the foas.CreateJob API asynchronously
func (*Client) CreateJobWithChan ¶
func (client *Client) CreateJobWithChan(request *CreateJobRequest) (<-chan *CreateJobResponse, <-chan error)
CreateJobWithChan invokes the foas.CreateJob API asynchronously
func (*Client) CreatePackage ¶
func (client *Client) CreatePackage(request *CreatePackageRequest) (response *CreatePackageResponse, err error)
CreatePackage invokes the foas.CreatePackage API synchronously
func (*Client) CreatePackageWithCallback ¶
func (client *Client) CreatePackageWithCallback(request *CreatePackageRequest, callback func(response *CreatePackageResponse, err error)) <-chan int
CreatePackageWithCallback invokes the foas.CreatePackage API asynchronously
func (*Client) CreatePackageWithChan ¶
func (client *Client) CreatePackageWithChan(request *CreatePackageRequest) (<-chan *CreatePackageResponse, <-chan error)
CreatePackageWithChan invokes the foas.CreatePackage API asynchronously
func (*Client) CreateProject ¶
func (client *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject invokes the foas.CreateProject API synchronously
func (*Client) CreateProjectWithCallback ¶
func (client *Client) CreateProjectWithCallback(request *CreateProjectRequest, callback func(response *CreateProjectResponse, err error)) <-chan int
CreateProjectWithCallback invokes the foas.CreateProject API asynchronously
func (*Client) CreateProjectWithChan ¶
func (client *Client) CreateProjectWithChan(request *CreateProjectRequest) (<-chan *CreateProjectResponse, <-chan error)
CreateProjectWithChan invokes the foas.CreateProject API asynchronously
func (*Client) CreateQueue ¶
func (client *Client) CreateQueue(request *CreateQueueRequest) (response *CreateQueueResponse, err error)
CreateQueue invokes the foas.CreateQueue API synchronously
func (*Client) CreateQueueWithCallback ¶
func (client *Client) CreateQueueWithCallback(request *CreateQueueRequest, callback func(response *CreateQueueResponse, err error)) <-chan int
CreateQueueWithCallback invokes the foas.CreateQueue API asynchronously
func (*Client) CreateQueueWithChan ¶
func (client *Client) CreateQueueWithChan(request *CreateQueueRequest) (<-chan *CreateQueueResponse, <-chan error)
CreateQueueWithChan invokes the foas.CreateQueue API asynchronously
func (*Client) DeleteFolder ¶
func (client *Client) DeleteFolder(request *DeleteFolderRequest) (response *DeleteFolderResponse, err error)
DeleteFolder invokes the foas.DeleteFolder API synchronously
func (*Client) DeleteFolderWithCallback ¶
func (client *Client) DeleteFolderWithCallback(request *DeleteFolderRequest, callback func(response *DeleteFolderResponse, err error)) <-chan int
DeleteFolderWithCallback invokes the foas.DeleteFolder API asynchronously
func (*Client) DeleteFolderWithChan ¶
func (client *Client) DeleteFolderWithChan(request *DeleteFolderRequest) (<-chan *DeleteFolderResponse, <-chan error)
DeleteFolderWithChan invokes the foas.DeleteFolder API asynchronously
func (*Client) DeleteJob ¶
func (client *Client) DeleteJob(request *DeleteJobRequest) (response *DeleteJobResponse, err error)
DeleteJob invokes the foas.DeleteJob API synchronously
func (*Client) DeleteJobWithCallback ¶
func (client *Client) DeleteJobWithCallback(request *DeleteJobRequest, callback func(response *DeleteJobResponse, err error)) <-chan int
DeleteJobWithCallback invokes the foas.DeleteJob API asynchronously
func (*Client) DeleteJobWithChan ¶
func (client *Client) DeleteJobWithChan(request *DeleteJobRequest) (<-chan *DeleteJobResponse, <-chan error)
DeleteJobWithChan invokes the foas.DeleteJob API asynchronously
func (*Client) DeletePackage ¶
func (client *Client) DeletePackage(request *DeletePackageRequest) (response *DeletePackageResponse, err error)
DeletePackage invokes the foas.DeletePackage API synchronously
func (*Client) DeletePackageWithCallback ¶
func (client *Client) DeletePackageWithCallback(request *DeletePackageRequest, callback func(response *DeletePackageResponse, err error)) <-chan int
DeletePackageWithCallback invokes the foas.DeletePackage API asynchronously
func (*Client) DeletePackageWithChan ¶
func (client *Client) DeletePackageWithChan(request *DeletePackageRequest) (<-chan *DeletePackageResponse, <-chan error)
DeletePackageWithChan invokes the foas.DeletePackage API asynchronously
func (*Client) DeleteProject ¶
func (client *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
DeleteProject invokes the foas.DeleteProject API synchronously
func (*Client) DeleteProjectWithCallback ¶
func (client *Client) DeleteProjectWithCallback(request *DeleteProjectRequest, callback func(response *DeleteProjectResponse, err error)) <-chan int
DeleteProjectWithCallback invokes the foas.DeleteProject API asynchronously
func (*Client) DeleteProjectWithChan ¶
func (client *Client) DeleteProjectWithChan(request *DeleteProjectRequest) (<-chan *DeleteProjectResponse, <-chan error)
DeleteProjectWithChan invokes the foas.DeleteProject API asynchronously
func (*Client) DeleteQueue ¶
func (client *Client) DeleteQueue(request *DeleteQueueRequest) (response *DeleteQueueResponse, err error)
DeleteQueue invokes the foas.DeleteQueue API synchronously
func (*Client) DeleteQueueWithCallback ¶
func (client *Client) DeleteQueueWithCallback(request *DeleteQueueRequest, callback func(response *DeleteQueueResponse, err error)) <-chan int
DeleteQueueWithCallback invokes the foas.DeleteQueue API asynchronously
func (*Client) DeleteQueueWithChan ¶
func (client *Client) DeleteQueueWithChan(request *DeleteQueueRequest) (<-chan *DeleteQueueResponse, <-chan error)
DeleteQueueWithChan invokes the foas.DeleteQueue API asynchronously
func (*Client) DestroyCluster ¶
func (client *Client) DestroyCluster(request *DestroyClusterRequest) (response *DestroyClusterResponse, err error)
DestroyCluster invokes the foas.DestroyCluster API synchronously
func (*Client) DestroyClusterWithCallback ¶
func (client *Client) DestroyClusterWithCallback(request *DestroyClusterRequest, callback func(response *DestroyClusterResponse, err error)) <-chan int
DestroyClusterWithCallback invokes the foas.DestroyCluster API asynchronously
func (*Client) DestroyClusterWithChan ¶
func (client *Client) DestroyClusterWithChan(request *DestroyClusterRequest) (<-chan *DestroyClusterResponse, <-chan error)
DestroyClusterWithChan invokes the foas.DestroyCluster API asynchronously
func (*Client) ExpandCluster ¶
func (client *Client) ExpandCluster(request *ExpandClusterRequest) (response *ExpandClusterResponse, err error)
ExpandCluster invokes the foas.ExpandCluster API synchronously
func (*Client) ExpandClusterWithCallback ¶
func (client *Client) ExpandClusterWithCallback(request *ExpandClusterRequest, callback func(response *ExpandClusterResponse, err error)) <-chan int
ExpandClusterWithCallback invokes the foas.ExpandCluster API asynchronously
func (*Client) ExpandClusterWithChan ¶
func (client *Client) ExpandClusterWithChan(request *ExpandClusterRequest) (<-chan *ExpandClusterResponse, <-chan error)
ExpandClusterWithChan invokes the foas.ExpandCluster API asynchronously
func (*Client) GetClusterDetails ¶
func (client *Client) GetClusterDetails(request *GetClusterDetailsRequest) (response *GetClusterDetailsResponse, err error)
GetClusterDetails invokes the foas.GetClusterDetails API synchronously
func (*Client) GetClusterDetailsWithCallback ¶
func (client *Client) GetClusterDetailsWithCallback(request *GetClusterDetailsRequest, callback func(response *GetClusterDetailsResponse, err error)) <-chan int
GetClusterDetailsWithCallback invokes the foas.GetClusterDetails API asynchronously
func (*Client) GetClusterDetailsWithChan ¶
func (client *Client) GetClusterDetailsWithChan(request *GetClusterDetailsRequest) (<-chan *GetClusterDetailsResponse, <-chan error)
GetClusterDetailsWithChan invokes the foas.GetClusterDetails API asynchronously
func (*Client) GetClusterEngineVersions ¶
func (client *Client) GetClusterEngineVersions(request *GetClusterEngineVersionsRequest) (response *GetClusterEngineVersionsResponse, err error)
GetClusterEngineVersions invokes the foas.GetClusterEngineVersions API synchronously
func (*Client) GetClusterEngineVersionsWithCallback ¶
func (client *Client) GetClusterEngineVersionsWithCallback(request *GetClusterEngineVersionsRequest, callback func(response *GetClusterEngineVersionsResponse, err error)) <-chan int
GetClusterEngineVersionsWithCallback invokes the foas.GetClusterEngineVersions API asynchronously
func (*Client) GetClusterEngineVersionsWithChan ¶
func (client *Client) GetClusterEngineVersionsWithChan(request *GetClusterEngineVersionsRequest) (<-chan *GetClusterEngineVersionsResponse, <-chan error)
GetClusterEngineVersionsWithChan invokes the foas.GetClusterEngineVersions API asynchronously
func (*Client) GetClusterMetrics ¶
func (client *Client) GetClusterMetrics(request *GetClusterMetricsRequest) (response *GetClusterMetricsResponse, err error)
GetClusterMetrics invokes the foas.GetClusterMetrics API synchronously
func (*Client) GetClusterMetricsWithCallback ¶
func (client *Client) GetClusterMetricsWithCallback(request *GetClusterMetricsRequest, callback func(response *GetClusterMetricsResponse, err error)) <-chan int
GetClusterMetricsWithCallback invokes the foas.GetClusterMetrics API asynchronously
func (*Client) GetClusterMetricsWithChan ¶
func (client *Client) GetClusterMetricsWithChan(request *GetClusterMetricsRequest) (<-chan *GetClusterMetricsResponse, <-chan error)
GetClusterMetricsWithChan invokes the foas.GetClusterMetrics API asynchronously
func (*Client) GetClusterQueueInfo ¶
func (client *Client) GetClusterQueueInfo(request *GetClusterQueueInfoRequest) (response *GetClusterQueueInfoResponse, err error)
GetClusterQueueInfo invokes the foas.GetClusterQueueInfo API synchronously
func (*Client) GetClusterQueueInfoWithCallback ¶
func (client *Client) GetClusterQueueInfoWithCallback(request *GetClusterQueueInfoRequest, callback func(response *GetClusterQueueInfoResponse, err error)) <-chan int
GetClusterQueueInfoWithCallback invokes the foas.GetClusterQueueInfo API asynchronously
func (*Client) GetClusterQueueInfoWithChan ¶
func (client *Client) GetClusterQueueInfoWithChan(request *GetClusterQueueInfoRequest) (<-chan *GetClusterQueueInfoResponse, <-chan error)
GetClusterQueueInfoWithChan invokes the foas.GetClusterQueueInfo API asynchronously
func (*Client) GetClusterResource ¶
func (client *Client) GetClusterResource(request *GetClusterResourceRequest) (response *GetClusterResourceResponse, err error)
GetClusterResource invokes the foas.GetClusterResource API synchronously
func (*Client) GetClusterResourceWithCallback ¶
func (client *Client) GetClusterResourceWithCallback(request *GetClusterResourceRequest, callback func(response *GetClusterResourceResponse, err error)) <-chan int
GetClusterResourceWithCallback invokes the foas.GetClusterResource API asynchronously
func (*Client) GetClusterResourceWithChan ¶
func (client *Client) GetClusterResourceWithChan(request *GetClusterResourceRequest) (<-chan *GetClusterResourceResponse, <-chan error)
GetClusterResourceWithChan invokes the foas.GetClusterResource API asynchronously
func (*Client) GetFolder ¶
func (client *Client) GetFolder(request *GetFolderRequest) (response *GetFolderResponse, err error)
GetFolder invokes the foas.GetFolder API synchronously
func (*Client) GetFolderWithCallback ¶
func (client *Client) GetFolderWithCallback(request *GetFolderRequest, callback func(response *GetFolderResponse, err error)) <-chan int
GetFolderWithCallback invokes the foas.GetFolder API asynchronously
func (*Client) GetFolderWithChan ¶
func (client *Client) GetFolderWithChan(request *GetFolderRequest) (<-chan *GetFolderResponse, <-chan error)
GetFolderWithChan invokes the foas.GetFolder API asynchronously
func (*Client) GetInstance ¶
func (client *Client) GetInstance(request *GetInstanceRequest) (response *GetInstanceResponse, err error)
GetInstance invokes the foas.GetInstance API synchronously
func (*Client) GetInstanceCheckpoint ¶
func (client *Client) GetInstanceCheckpoint(request *GetInstanceCheckpointRequest) (response *GetInstanceCheckpointResponse, err error)
GetInstanceCheckpoint invokes the foas.GetInstanceCheckpoint API synchronously
func (*Client) GetInstanceCheckpointWithCallback ¶
func (client *Client) GetInstanceCheckpointWithCallback(request *GetInstanceCheckpointRequest, callback func(response *GetInstanceCheckpointResponse, err error)) <-chan int
GetInstanceCheckpointWithCallback invokes the foas.GetInstanceCheckpoint API asynchronously
func (*Client) GetInstanceCheckpointWithChan ¶
func (client *Client) GetInstanceCheckpointWithChan(request *GetInstanceCheckpointRequest) (<-chan *GetInstanceCheckpointResponse, <-chan error)
GetInstanceCheckpointWithChan invokes the foas.GetInstanceCheckpoint API asynchronously
func (*Client) GetInstanceConfig ¶
func (client *Client) GetInstanceConfig(request *GetInstanceConfigRequest) (response *GetInstanceConfigResponse, err error)
GetInstanceConfig invokes the foas.GetInstanceConfig API synchronously
func (*Client) GetInstanceConfigWithCallback ¶
func (client *Client) GetInstanceConfigWithCallback(request *GetInstanceConfigRequest, callback func(response *GetInstanceConfigResponse, err error)) <-chan int
GetInstanceConfigWithCallback invokes the foas.GetInstanceConfig API asynchronously
func (*Client) GetInstanceConfigWithChan ¶
func (client *Client) GetInstanceConfigWithChan(request *GetInstanceConfigRequest) (<-chan *GetInstanceConfigResponse, <-chan error)
GetInstanceConfigWithChan invokes the foas.GetInstanceConfig API asynchronously
func (*Client) GetInstanceDetail ¶
func (client *Client) GetInstanceDetail(request *GetInstanceDetailRequest) (response *GetInstanceDetailResponse, err error)
GetInstanceDetail invokes the foas.GetInstanceDetail API synchronously
func (*Client) GetInstanceDetailWithCallback ¶
func (client *Client) GetInstanceDetailWithCallback(request *GetInstanceDetailRequest, callback func(response *GetInstanceDetailResponse, err error)) <-chan int
GetInstanceDetailWithCallback invokes the foas.GetInstanceDetail API asynchronously
func (*Client) GetInstanceDetailWithChan ¶
func (client *Client) GetInstanceDetailWithChan(request *GetInstanceDetailRequest) (<-chan *GetInstanceDetailResponse, <-chan error)
GetInstanceDetailWithChan invokes the foas.GetInstanceDetail API asynchronously
func (*Client) GetInstanceExceptions ¶
func (client *Client) GetInstanceExceptions(request *GetInstanceExceptionsRequest) (response *GetInstanceExceptionsResponse, err error)
GetInstanceExceptions invokes the foas.GetInstanceExceptions API synchronously
func (*Client) GetInstanceExceptionsWithCallback ¶
func (client *Client) GetInstanceExceptionsWithCallback(request *GetInstanceExceptionsRequest, callback func(response *GetInstanceExceptionsResponse, err error)) <-chan int
GetInstanceExceptionsWithCallback invokes the foas.GetInstanceExceptions API asynchronously
func (*Client) GetInstanceExceptionsWithChan ¶
func (client *Client) GetInstanceExceptionsWithChan(request *GetInstanceExceptionsRequest) (<-chan *GetInstanceExceptionsResponse, <-chan error)
GetInstanceExceptionsWithChan invokes the foas.GetInstanceExceptions API asynchronously
func (*Client) GetInstanceFinalState ¶
func (client *Client) GetInstanceFinalState(request *GetInstanceFinalStateRequest) (response *GetInstanceFinalStateResponse, err error)
GetInstanceFinalState invokes the foas.GetInstanceFinalState API synchronously
func (*Client) GetInstanceFinalStateWithCallback ¶
func (client *Client) GetInstanceFinalStateWithCallback(request *GetInstanceFinalStateRequest, callback func(response *GetInstanceFinalStateResponse, err error)) <-chan int
GetInstanceFinalStateWithCallback invokes the foas.GetInstanceFinalState API asynchronously
func (*Client) GetInstanceFinalStateWithChan ¶
func (client *Client) GetInstanceFinalStateWithChan(request *GetInstanceFinalStateRequest) (<-chan *GetInstanceFinalStateResponse, <-chan error)
GetInstanceFinalStateWithChan invokes the foas.GetInstanceFinalState API asynchronously
func (*Client) GetInstanceHistoryAutoScalePlanContent ¶
func (client *Client) GetInstanceHistoryAutoScalePlanContent(request *GetInstanceHistoryAutoScalePlanContentRequest) (response *GetInstanceHistoryAutoScalePlanContentResponse, err error)
GetInstanceHistoryAutoScalePlanContent invokes the foas.GetInstanceHistoryAutoScalePlanContent API synchronously
func (*Client) GetInstanceHistoryAutoScalePlanContentWithCallback ¶
func (client *Client) GetInstanceHistoryAutoScalePlanContentWithCallback(request *GetInstanceHistoryAutoScalePlanContentRequest, callback func(response *GetInstanceHistoryAutoScalePlanContentResponse, err error)) <-chan int
GetInstanceHistoryAutoScalePlanContentWithCallback invokes the foas.GetInstanceHistoryAutoScalePlanContent API asynchronously
func (*Client) GetInstanceHistoryAutoScalePlanContentWithChan ¶
func (client *Client) GetInstanceHistoryAutoScalePlanContentWithChan(request *GetInstanceHistoryAutoScalePlanContentRequest) (<-chan *GetInstanceHistoryAutoScalePlanContentResponse, <-chan error)
GetInstanceHistoryAutoScalePlanContentWithChan invokes the foas.GetInstanceHistoryAutoScalePlanContent API asynchronously
func (*Client) GetInstanceHistoryAutoScalePlanList ¶
func (client *Client) GetInstanceHistoryAutoScalePlanList(request *GetInstanceHistoryAutoScalePlanListRequest) (response *GetInstanceHistoryAutoScalePlanListResponse, err error)
GetInstanceHistoryAutoScalePlanList invokes the foas.GetInstanceHistoryAutoScalePlanList API synchronously
func (*Client) GetInstanceHistoryAutoScalePlanListWithCallback ¶
func (client *Client) GetInstanceHistoryAutoScalePlanListWithCallback(request *GetInstanceHistoryAutoScalePlanListRequest, callback func(response *GetInstanceHistoryAutoScalePlanListResponse, err error)) <-chan int
GetInstanceHistoryAutoScalePlanListWithCallback invokes the foas.GetInstanceHistoryAutoScalePlanList API asynchronously
func (*Client) GetInstanceHistoryAutoScalePlanListWithChan ¶
func (client *Client) GetInstanceHistoryAutoScalePlanListWithChan(request *GetInstanceHistoryAutoScalePlanListRequest) (<-chan *GetInstanceHistoryAutoScalePlanListResponse, <-chan error)
GetInstanceHistoryAutoScalePlanListWithChan invokes the foas.GetInstanceHistoryAutoScalePlanList API asynchronously
func (*Client) GetInstanceMetric ¶
func (client *Client) GetInstanceMetric(request *GetInstanceMetricRequest) (response *GetInstanceMetricResponse, err error)
GetInstanceMetric invokes the foas.GetInstanceMetric API synchronously
func (*Client) GetInstanceMetricWithCallback ¶
func (client *Client) GetInstanceMetricWithCallback(request *GetInstanceMetricRequest, callback func(response *GetInstanceMetricResponse, err error)) <-chan int
GetInstanceMetricWithCallback invokes the foas.GetInstanceMetric API asynchronously
func (*Client) GetInstanceMetricWithChan ¶
func (client *Client) GetInstanceMetricWithChan(request *GetInstanceMetricRequest) (<-chan *GetInstanceMetricResponse, <-chan error)
GetInstanceMetricWithChan invokes the foas.GetInstanceMetric API asynchronously
func (*Client) GetInstanceResource ¶
func (client *Client) GetInstanceResource(request *GetInstanceResourceRequest) (response *GetInstanceResourceResponse, err error)
GetInstanceResource invokes the foas.GetInstanceResource API synchronously
func (*Client) GetInstanceResourceWithCallback ¶
func (client *Client) GetInstanceResourceWithCallback(request *GetInstanceResourceRequest, callback func(response *GetInstanceResourceResponse, err error)) <-chan int
GetInstanceResourceWithCallback invokes the foas.GetInstanceResource API asynchronously
func (*Client) GetInstanceResourceWithChan ¶
func (client *Client) GetInstanceResourceWithChan(request *GetInstanceResourceRequest) (<-chan *GetInstanceResourceResponse, <-chan error)
GetInstanceResourceWithChan invokes the foas.GetInstanceResource API asynchronously
func (*Client) GetInstanceRunSummary ¶
func (client *Client) GetInstanceRunSummary(request *GetInstanceRunSummaryRequest) (response *GetInstanceRunSummaryResponse, err error)
GetInstanceRunSummary invokes the foas.GetInstanceRunSummary API synchronously
func (*Client) GetInstanceRunSummaryWithCallback ¶
func (client *Client) GetInstanceRunSummaryWithCallback(request *GetInstanceRunSummaryRequest, callback func(response *GetInstanceRunSummaryResponse, err error)) <-chan int
GetInstanceRunSummaryWithCallback invokes the foas.GetInstanceRunSummary API asynchronously
func (*Client) GetInstanceRunSummaryWithChan ¶
func (client *Client) GetInstanceRunSummaryWithChan(request *GetInstanceRunSummaryRequest) (<-chan *GetInstanceRunSummaryResponse, <-chan error)
GetInstanceRunSummaryWithChan invokes the foas.GetInstanceRunSummary API asynchronously
func (*Client) GetInstanceWithCallback ¶
func (client *Client) GetInstanceWithCallback(request *GetInstanceRequest, callback func(response *GetInstanceResponse, err error)) <-chan int
GetInstanceWithCallback invokes the foas.GetInstance API asynchronously
func (*Client) GetInstanceWithChan ¶
func (client *Client) GetInstanceWithChan(request *GetInstanceRequest) (<-chan *GetInstanceResponse, <-chan error)
GetInstanceWithChan invokes the foas.GetInstance API asynchronously
func (*Client) GetJob ¶
func (client *Client) GetJob(request *GetJobRequest) (response *GetJobResponse, err error)
GetJob invokes the foas.GetJob API synchronously
func (*Client) GetJobLatestAutoScalePlan ¶
func (client *Client) GetJobLatestAutoScalePlan(request *GetJobLatestAutoScalePlanRequest) (response *GetJobLatestAutoScalePlanResponse, err error)
GetJobLatestAutoScalePlan invokes the foas.GetJobLatestAutoScalePlan API synchronously
func (*Client) GetJobLatestAutoScalePlanWithCallback ¶
func (client *Client) GetJobLatestAutoScalePlanWithCallback(request *GetJobLatestAutoScalePlanRequest, callback func(response *GetJobLatestAutoScalePlanResponse, err error)) <-chan int
GetJobLatestAutoScalePlanWithCallback invokes the foas.GetJobLatestAutoScalePlan API asynchronously
func (*Client) GetJobLatestAutoScalePlanWithChan ¶
func (client *Client) GetJobLatestAutoScalePlanWithChan(request *GetJobLatestAutoScalePlanRequest) (<-chan *GetJobLatestAutoScalePlanResponse, <-chan error)
GetJobLatestAutoScalePlanWithChan invokes the foas.GetJobLatestAutoScalePlan API asynchronously
func (*Client) GetJobWithCallback ¶
func (client *Client) GetJobWithCallback(request *GetJobRequest, callback func(response *GetJobResponse, err error)) <-chan int
GetJobWithCallback invokes the foas.GetJob API asynchronously
func (*Client) GetJobWithChan ¶
func (client *Client) GetJobWithChan(request *GetJobRequest) (<-chan *GetJobResponse, <-chan error)
GetJobWithChan invokes the foas.GetJob API asynchronously
func (*Client) GetPackage ¶
func (client *Client) GetPackage(request *GetPackageRequest) (response *GetPackageResponse, err error)
GetPackage invokes the foas.GetPackage API synchronously
func (*Client) GetPackageWithCallback ¶
func (client *Client) GetPackageWithCallback(request *GetPackageRequest, callback func(response *GetPackageResponse, err error)) <-chan int
GetPackageWithCallback invokes the foas.GetPackage API asynchronously
func (*Client) GetPackageWithChan ¶
func (client *Client) GetPackageWithChan(request *GetPackageRequest) (<-chan *GetPackageResponse, <-chan error)
GetPackageWithChan invokes the foas.GetPackage API asynchronously
func (*Client) GetProject ¶
func (client *Client) GetProject(request *GetProjectRequest) (response *GetProjectResponse, err error)
GetProject invokes the foas.GetProject API synchronously
func (*Client) GetProjectWithCallback ¶
func (client *Client) GetProjectWithCallback(request *GetProjectRequest, callback func(response *GetProjectResponse, err error)) <-chan int
GetProjectWithCallback invokes the foas.GetProject API asynchronously
func (*Client) GetProjectWithChan ¶
func (client *Client) GetProjectWithChan(request *GetProjectRequest) (<-chan *GetProjectResponse, <-chan error)
GetProjectWithChan invokes the foas.GetProject API asynchronously
func (*Client) GetRawPlanJson ¶
func (client *Client) GetRawPlanJson(request *GetRawPlanJsonRequest) (response *GetRawPlanJsonResponse, err error)
GetRawPlanJson invokes the foas.GetRawPlanJson API synchronously
func (*Client) GetRawPlanJsonWithCallback ¶
func (client *Client) GetRawPlanJsonWithCallback(request *GetRawPlanJsonRequest, callback func(response *GetRawPlanJsonResponse, err error)) <-chan int
GetRawPlanJsonWithCallback invokes the foas.GetRawPlanJson API asynchronously
func (*Client) GetRawPlanJsonWithChan ¶
func (client *Client) GetRawPlanJsonWithChan(request *GetRawPlanJsonRequest) (<-chan *GetRawPlanJsonResponse, <-chan error)
GetRawPlanJsonWithChan invokes the foas.GetRawPlanJson API asynchronously
func (*Client) GetRefPackageJob ¶
func (client *Client) GetRefPackageJob(request *GetRefPackageJobRequest) (response *GetRefPackageJobResponse, err error)
GetRefPackageJob invokes the foas.GetRefPackageJob API synchronously
func (*Client) GetRefPackageJobWithCallback ¶
func (client *Client) GetRefPackageJobWithCallback(request *GetRefPackageJobRequest, callback func(response *GetRefPackageJobResponse, err error)) <-chan int
GetRefPackageJobWithCallback invokes the foas.GetRefPackageJob API asynchronously
func (*Client) GetRefPackageJobWithChan ¶
func (client *Client) GetRefPackageJobWithChan(request *GetRefPackageJobRequest) (<-chan *GetRefPackageJobResponse, <-chan error)
GetRefPackageJobWithChan invokes the foas.GetRefPackageJob API asynchronously
func (*Client) ListChildFolder ¶
func (client *Client) ListChildFolder(request *ListChildFolderRequest) (response *ListChildFolderResponse, err error)
ListChildFolder invokes the foas.ListChildFolder API synchronously
func (*Client) ListChildFolderWithCallback ¶
func (client *Client) ListChildFolderWithCallback(request *ListChildFolderRequest, callback func(response *ListChildFolderResponse, err error)) <-chan int
ListChildFolderWithCallback invokes the foas.ListChildFolder API asynchronously
func (*Client) ListChildFolderWithChan ¶
func (client *Client) ListChildFolderWithChan(request *ListChildFolderRequest) (<-chan *ListChildFolderResponse, <-chan error)
ListChildFolderWithChan invokes the foas.ListChildFolder API asynchronously
func (*Client) ListCluster ¶
func (client *Client) ListCluster(request *ListClusterRequest) (response *ListClusterResponse, err error)
ListCluster invokes the foas.ListCluster API synchronously
func (*Client) ListClusterWithCallback ¶
func (client *Client) ListClusterWithCallback(request *ListClusterRequest, callback func(response *ListClusterResponse, err error)) <-chan int
ListClusterWithCallback invokes the foas.ListCluster API asynchronously
func (*Client) ListClusterWithChan ¶
func (client *Client) ListClusterWithChan(request *ListClusterRequest) (<-chan *ListClusterResponse, <-chan error)
ListClusterWithChan invokes the foas.ListCluster API asynchronously
func (*Client) ListInstance ¶
func (client *Client) ListInstance(request *ListInstanceRequest) (response *ListInstanceResponse, err error)
ListInstance invokes the foas.ListInstance API synchronously
func (*Client) ListInstanceWithCallback ¶
func (client *Client) ListInstanceWithCallback(request *ListInstanceRequest, callback func(response *ListInstanceResponse, err error)) <-chan int
ListInstanceWithCallback invokes the foas.ListInstance API asynchronously
func (*Client) ListInstanceWithChan ¶
func (client *Client) ListInstanceWithChan(request *ListInstanceRequest) (<-chan *ListInstanceResponse, <-chan error)
ListInstanceWithChan invokes the foas.ListInstance API asynchronously
func (*Client) ListJob ¶
func (client *Client) ListJob(request *ListJobRequest) (response *ListJobResponse, err error)
ListJob invokes the foas.ListJob API synchronously
func (*Client) ListJobWithCallback ¶
func (client *Client) ListJobWithCallback(request *ListJobRequest, callback func(response *ListJobResponse, err error)) <-chan int
ListJobWithCallback invokes the foas.ListJob API asynchronously
func (*Client) ListJobWithChan ¶
func (client *Client) ListJobWithChan(request *ListJobRequest) (<-chan *ListJobResponse, <-chan error)
ListJobWithChan invokes the foas.ListJob API asynchronously
func (*Client) ListPackage ¶
func (client *Client) ListPackage(request *ListPackageRequest) (response *ListPackageResponse, err error)
ListPackage invokes the foas.ListPackage API synchronously
func (*Client) ListPackageWithCallback ¶
func (client *Client) ListPackageWithCallback(request *ListPackageRequest, callback func(response *ListPackageResponse, err error)) <-chan int
ListPackageWithCallback invokes the foas.ListPackage API asynchronously
func (*Client) ListPackageWithChan ¶
func (client *Client) ListPackageWithChan(request *ListPackageRequest) (<-chan *ListPackageResponse, <-chan error)
ListPackageWithChan invokes the foas.ListPackage API asynchronously
func (*Client) ListProject ¶
func (client *Client) ListProject(request *ListProjectRequest) (response *ListProjectResponse, err error)
ListProject invokes the foas.ListProject API synchronously
func (*Client) ListProjectBindQueue ¶
func (client *Client) ListProjectBindQueue(request *ListProjectBindQueueRequest) (response *ListProjectBindQueueResponse, err error)
ListProjectBindQueue invokes the foas.ListProjectBindQueue API synchronously
func (*Client) ListProjectBindQueueResource ¶
func (client *Client) ListProjectBindQueueResource(request *ListProjectBindQueueResourceRequest) (response *ListProjectBindQueueResourceResponse, err error)
ListProjectBindQueueResource invokes the foas.ListProjectBindQueueResource API synchronously
func (*Client) ListProjectBindQueueResourceWithCallback ¶
func (client *Client) ListProjectBindQueueResourceWithCallback(request *ListProjectBindQueueResourceRequest, callback func(response *ListProjectBindQueueResourceResponse, err error)) <-chan int
ListProjectBindQueueResourceWithCallback invokes the foas.ListProjectBindQueueResource API asynchronously
func (*Client) ListProjectBindQueueResourceWithChan ¶
func (client *Client) ListProjectBindQueueResourceWithChan(request *ListProjectBindQueueResourceRequest) (<-chan *ListProjectBindQueueResourceResponse, <-chan error)
ListProjectBindQueueResourceWithChan invokes the foas.ListProjectBindQueueResource API asynchronously
func (*Client) ListProjectBindQueueWithCallback ¶
func (client *Client) ListProjectBindQueueWithCallback(request *ListProjectBindQueueRequest, callback func(response *ListProjectBindQueueResponse, err error)) <-chan int
ListProjectBindQueueWithCallback invokes the foas.ListProjectBindQueue API asynchronously
func (*Client) ListProjectBindQueueWithChan ¶
func (client *Client) ListProjectBindQueueWithChan(request *ListProjectBindQueueRequest) (<-chan *ListProjectBindQueueResponse, <-chan error)
ListProjectBindQueueWithChan invokes the foas.ListProjectBindQueue API asynchronously
func (*Client) ListProjectWithCallback ¶
func (client *Client) ListProjectWithCallback(request *ListProjectRequest, callback func(response *ListProjectResponse, err error)) <-chan int
ListProjectWithCallback invokes the foas.ListProject API asynchronously
func (*Client) ListProjectWithChan ¶
func (client *Client) ListProjectWithChan(request *ListProjectRequest) (<-chan *ListProjectResponse, <-chan error)
ListProjectWithChan invokes the foas.ListProject API asynchronously
func (*Client) ListTagResources ¶ added in v1.61.1315
func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)
ListTagResources invokes the foas.ListTagResources API synchronously
func (*Client) ListTagResourcesWithCallback ¶ added in v1.61.1315
func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int
ListTagResourcesWithCallback invokes the foas.ListTagResources API asynchronously
func (*Client) ListTagResourcesWithChan ¶ added in v1.61.1315
func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)
ListTagResourcesWithChan invokes the foas.ListTagResources API asynchronously
func (*Client) MVFolder ¶
func (client *Client) MVFolder(request *MVFolderRequest) (response *MVFolderResponse, err error)
MVFolder invokes the foas.MVFolder API synchronously
func (*Client) MVFolderWithCallback ¶
func (client *Client) MVFolderWithCallback(request *MVFolderRequest, callback func(response *MVFolderResponse, err error)) <-chan int
MVFolderWithCallback invokes the foas.MVFolder API asynchronously
func (*Client) MVFolderWithChan ¶
func (client *Client) MVFolderWithChan(request *MVFolderRequest) (<-chan *MVFolderResponse, <-chan error)
MVFolderWithChan invokes the foas.MVFolder API asynchronously
func (*Client) ModifyInstanceState ¶
func (client *Client) ModifyInstanceState(request *ModifyInstanceStateRequest) (response *ModifyInstanceStateResponse, err error)
ModifyInstanceState invokes the foas.ModifyInstanceState API synchronously
func (*Client) ModifyInstanceStateWithCallback ¶
func (client *Client) ModifyInstanceStateWithCallback(request *ModifyInstanceStateRequest, callback func(response *ModifyInstanceStateResponse, err error)) <-chan int
ModifyInstanceStateWithCallback invokes the foas.ModifyInstanceState API asynchronously
func (*Client) ModifyInstanceStateWithChan ¶
func (client *Client) ModifyInstanceStateWithChan(request *ModifyInstanceStateRequest) (<-chan *ModifyInstanceStateResponse, <-chan error)
ModifyInstanceStateWithChan invokes the foas.ModifyInstanceState API asynchronously
func (*Client) ModifyMasterSpec ¶
func (client *Client) ModifyMasterSpec(request *ModifyMasterSpecRequest) (response *ModifyMasterSpecResponse, err error)
ModifyMasterSpec invokes the foas.ModifyMasterSpec API synchronously
func (*Client) ModifyMasterSpecWithCallback ¶
func (client *Client) ModifyMasterSpecWithCallback(request *ModifyMasterSpecRequest, callback func(response *ModifyMasterSpecResponse, err error)) <-chan int
ModifyMasterSpecWithCallback invokes the foas.ModifyMasterSpec API asynchronously
func (*Client) ModifyMasterSpecWithChan ¶
func (client *Client) ModifyMasterSpecWithChan(request *ModifyMasterSpecRequest) (<-chan *ModifyMasterSpecResponse, <-chan error)
ModifyMasterSpecWithChan invokes the foas.ModifyMasterSpec API asynchronously
func (*Client) OfflineJob ¶
func (client *Client) OfflineJob(request *OfflineJobRequest) (response *OfflineJobResponse, err error)
OfflineJob invokes the foas.OfflineJob API synchronously
func (*Client) OfflineJobWithCallback ¶
func (client *Client) OfflineJobWithCallback(request *OfflineJobRequest, callback func(response *OfflineJobResponse, err error)) <-chan int
OfflineJobWithCallback invokes the foas.OfflineJob API asynchronously
func (*Client) OfflineJobWithChan ¶
func (client *Client) OfflineJobWithChan(request *OfflineJobRequest) (<-chan *OfflineJobResponse, <-chan error)
OfflineJobWithChan invokes the foas.OfflineJob API asynchronously
func (*Client) ShrinkCluster ¶
func (client *Client) ShrinkCluster(request *ShrinkClusterRequest) (response *ShrinkClusterResponse, err error)
ShrinkCluster invokes the foas.ShrinkCluster API synchronously
func (*Client) ShrinkClusterWithCallback ¶
func (client *Client) ShrinkClusterWithCallback(request *ShrinkClusterRequest, callback func(response *ShrinkClusterResponse, err error)) <-chan int
ShrinkClusterWithCallback invokes the foas.ShrinkCluster API asynchronously
func (*Client) ShrinkClusterWithChan ¶
func (client *Client) ShrinkClusterWithChan(request *ShrinkClusterRequest) (<-chan *ShrinkClusterResponse, <-chan error)
ShrinkClusterWithChan invokes the foas.ShrinkCluster API asynchronously
func (*Client) StartJob ¶
func (client *Client) StartJob(request *StartJobRequest) (response *StartJobResponse, err error)
StartJob invokes the foas.StartJob API synchronously
func (*Client) StartJobWithCallback ¶
func (client *Client) StartJobWithCallback(request *StartJobRequest, callback func(response *StartJobResponse, err error)) <-chan int
StartJobWithCallback invokes the foas.StartJob API asynchronously
func (*Client) StartJobWithChan ¶
func (client *Client) StartJobWithChan(request *StartJobRequest) (<-chan *StartJobResponse, <-chan error)
StartJobWithChan invokes the foas.StartJob API asynchronously
func (*Client) TagResources ¶ added in v1.61.1315
func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
TagResources invokes the foas.TagResources API synchronously
func (*Client) TagResourcesWithCallback ¶ added in v1.61.1315
func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int
TagResourcesWithCallback invokes the foas.TagResources API asynchronously
func (*Client) TagResourcesWithChan ¶ added in v1.61.1315
func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)
TagResourcesWithChan invokes the foas.TagResources API asynchronously
func (*Client) UnbindQueue ¶
func (client *Client) UnbindQueue(request *UnbindQueueRequest) (response *UnbindQueueResponse, err error)
UnbindQueue invokes the foas.UnbindQueue API synchronously
func (*Client) UnbindQueueWithCallback ¶
func (client *Client) UnbindQueueWithCallback(request *UnbindQueueRequest, callback func(response *UnbindQueueResponse, err error)) <-chan int
UnbindQueueWithCallback invokes the foas.UnbindQueue API asynchronously
func (*Client) UnbindQueueWithChan ¶
func (client *Client) UnbindQueueWithChan(request *UnbindQueueRequest) (<-chan *UnbindQueueResponse, <-chan error)
UnbindQueueWithChan invokes the foas.UnbindQueue API asynchronously
func (*Client) UntagResources ¶ added in v1.61.1315
func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)
UntagResources invokes the foas.UntagResources API synchronously
func (*Client) UntagResourcesWithCallback ¶ added in v1.61.1315
func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, callback func(response *UntagResourcesResponse, err error)) <-chan int
UntagResourcesWithCallback invokes the foas.UntagResources API asynchronously
func (*Client) UntagResourcesWithChan ¶ added in v1.61.1315
func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)
UntagResourcesWithChan invokes the foas.UntagResources API asynchronously
func (*Client) UpdateAutoScaleConfig ¶
func (client *Client) UpdateAutoScaleConfig(request *UpdateAutoScaleConfigRequest) (response *UpdateAutoScaleConfigResponse, err error)
UpdateAutoScaleConfig invokes the foas.UpdateAutoScaleConfig API synchronously
func (*Client) UpdateAutoScaleConfigWithCallback ¶
func (client *Client) UpdateAutoScaleConfigWithCallback(request *UpdateAutoScaleConfigRequest, callback func(response *UpdateAutoScaleConfigResponse, err error)) <-chan int
UpdateAutoScaleConfigWithCallback invokes the foas.UpdateAutoScaleConfig API asynchronously
func (*Client) UpdateAutoScaleConfigWithChan ¶
func (client *Client) UpdateAutoScaleConfigWithChan(request *UpdateAutoScaleConfigRequest) (<-chan *UpdateAutoScaleConfigResponse, <-chan error)
UpdateAutoScaleConfigWithChan invokes the foas.UpdateAutoScaleConfig API asynchronously
func (*Client) UpdateJob ¶
func (client *Client) UpdateJob(request *UpdateJobRequest) (response *UpdateJobResponse, err error)
UpdateJob invokes the foas.UpdateJob API synchronously
func (*Client) UpdateJobWithCallback ¶
func (client *Client) UpdateJobWithCallback(request *UpdateJobRequest, callback func(response *UpdateJobResponse, err error)) <-chan int
UpdateJobWithCallback invokes the foas.UpdateJob API asynchronously
func (*Client) UpdateJobWithChan ¶
func (client *Client) UpdateJobWithChan(request *UpdateJobRequest) (<-chan *UpdateJobResponse, <-chan error)
UpdateJobWithChan invokes the foas.UpdateJob API asynchronously
func (*Client) UpdatePackage ¶
func (client *Client) UpdatePackage(request *UpdatePackageRequest) (response *UpdatePackageResponse, err error)
UpdatePackage invokes the foas.UpdatePackage API synchronously
func (*Client) UpdatePackageWithCallback ¶
func (client *Client) UpdatePackageWithCallback(request *UpdatePackageRequest, callback func(response *UpdatePackageResponse, err error)) <-chan int
UpdatePackageWithCallback invokes the foas.UpdatePackage API asynchronously
func (*Client) UpdatePackageWithChan ¶
func (client *Client) UpdatePackageWithChan(request *UpdatePackageRequest) (<-chan *UpdatePackageResponse, <-chan error)
UpdatePackageWithChan invokes the foas.UpdatePackage API asynchronously
func (*Client) UpdateProject ¶ added in v1.61.1315
func (client *Client) UpdateProject(request *UpdateProjectRequest) (response *UpdateProjectResponse, err error)
UpdateProject invokes the foas.UpdateProject API synchronously
func (*Client) UpdateProjectConfig ¶ added in v1.61.1315
func (client *Client) UpdateProjectConfig(request *UpdateProjectConfigRequest) (response *UpdateProjectConfigResponse, err error)
UpdateProjectConfig invokes the foas.UpdateProjectConfig API synchronously
func (*Client) UpdateProjectConfigWithCallback ¶ added in v1.61.1315
func (client *Client) UpdateProjectConfigWithCallback(request *UpdateProjectConfigRequest, callback func(response *UpdateProjectConfigResponse, err error)) <-chan int
UpdateProjectConfigWithCallback invokes the foas.UpdateProjectConfig API asynchronously
func (*Client) UpdateProjectConfigWithChan ¶ added in v1.61.1315
func (client *Client) UpdateProjectConfigWithChan(request *UpdateProjectConfigRequest) (<-chan *UpdateProjectConfigResponse, <-chan error)
UpdateProjectConfigWithChan invokes the foas.UpdateProjectConfig API asynchronously
func (*Client) UpdateProjectWithCallback ¶ added in v1.61.1315
func (client *Client) UpdateProjectWithCallback(request *UpdateProjectRequest, callback func(response *UpdateProjectResponse, err error)) <-chan int
UpdateProjectWithCallback invokes the foas.UpdateProject API asynchronously
func (*Client) UpdateProjectWithChan ¶ added in v1.61.1315
func (client *Client) UpdateProjectWithChan(request *UpdateProjectRequest) (<-chan *UpdateProjectResponse, <-chan error)
UpdateProjectWithChan invokes the foas.UpdateProject API asynchronously
func (*Client) UpdateQueue ¶ added in v1.61.1315
func (client *Client) UpdateQueue(request *UpdateQueueRequest) (response *UpdateQueueResponse, err error)
UpdateQueue invokes the foas.UpdateQueue API synchronously
func (*Client) UpdateQueueWithCallback ¶ added in v1.61.1315
func (client *Client) UpdateQueueWithCallback(request *UpdateQueueRequest, callback func(response *UpdateQueueResponse, err error)) <-chan int
UpdateQueueWithCallback invokes the foas.UpdateQueue API asynchronously
func (*Client) UpdateQueueWithChan ¶ added in v1.61.1315
func (client *Client) UpdateQueueWithChan(request *UpdateQueueRequest) (<-chan *UpdateQueueResponse, <-chan error)
UpdateQueueWithChan invokes the foas.UpdateQueue API asynchronously
func (*Client) ValidateJob ¶
func (client *Client) ValidateJob(request *ValidateJobRequest) (response *ValidateJobResponse, err error)
ValidateJob invokes the foas.ValidateJob API synchronously
func (*Client) ValidateJobWithCallback ¶
func (client *Client) ValidateJobWithCallback(request *ValidateJobRequest, callback func(response *ValidateJobResponse, err error)) <-chan int
ValidateJobWithCallback invokes the foas.ValidateJob API asynchronously
func (*Client) ValidateJobWithChan ¶
func (client *Client) ValidateJobWithChan(request *ValidateJobRequest) (<-chan *ValidateJobResponse, <-chan error)
ValidateJobWithChan invokes the foas.ValidateJob API asynchronously
type Cluster ¶
type Cluster struct { ClusterId string `json:"ClusterId" xml:"ClusterId"` RegionId string `json:"RegionId" xml:"RegionId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` State string `json:"State" xml:"State"` OwnerId string `json:"OwnerId" xml:"OwnerId"` Operator string `json:"Operator" xml:"Operator"` DisplayName string `json:"DisplayName" xml:"DisplayName"` Description string `json:"Description" xml:"Description"` GmtCreate int64 `json:"GmtCreate" xml:"GmtCreate"` GmtModified int64 `json:"GmtModified" xml:"GmtModified"` }
Cluster is a nested struct in foas response
type Clusters ¶
type Clusters struct {
Cluster []Cluster `json:"Cluster" xml:"Cluster"`
}
Clusters is a nested struct in foas response
type CommitJobRequest ¶
type CommitJobRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` RecommendOnly requests.Boolean `position:"Body" name:"recommendOnly"` SuspendPeriods string `position:"Body" name:"suspendPeriods"` MaxCU requests.Float `position:"Body" name:"maxCU"` Configure string `position:"Body" name:"configure"` IsOnOff requests.Boolean `position:"Body" name:"isOnOff"` JobName string `position:"Path" name:"jobName"` SuspendPeriodParam *[]CommitJobSuspendPeriodParam `position:"Body" name:"suspendPeriodParam" type:"Repeated"` }
CommitJobRequest is the request struct for api CommitJob
func CreateCommitJobRequest ¶
func CreateCommitJobRequest() (request *CommitJobRequest)
CreateCommitJobRequest creates a request to invoke CommitJob API
type CommitJobResponse ¶
type CommitJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CommitJobResponse is the response struct for api CommitJob
func CreateCommitJobResponse ¶
func CreateCommitJobResponse() (response *CommitJobResponse)
CreateCommitJobResponse creates a response to parse from CommitJob response
type CommitJobSuspendPeriodParam ¶ added in v1.61.1315
type CommitJobSuspendPeriodParam struct { EndTime string `name:"endTime"` StartTime string `name:"startTime"` Plan string `name:"plan"` Policy string `name:"policy"` }
CommitJobSuspendPeriodParam is a repeated param struct in CommitJobRequest
type CreateCellClusterOrderRequest ¶
type CreateCellClusterOrderRequest struct { *requests.RoaRequest Period requests.Integer `position:"Body" name:"period"` SlaveNum requests.Integer `position:"Body" name:"slaveNum"` SlaveSpec string `position:"Body" name:"slaveSpec"` Region string `position:"Body" name:"region"` MasterNum requests.Integer `position:"Body" name:"masterNum"` MasterSpec string `position:"Body" name:"masterSpec"` PayModel string `position:"Body" name:"payModel"` }
CreateCellClusterOrderRequest is the request struct for api CreateCellClusterOrder
func CreateCreateCellClusterOrderRequest ¶
func CreateCreateCellClusterOrderRequest() (request *CreateCellClusterOrderRequest)
CreateCreateCellClusterOrderRequest creates a request to invoke CreateCellClusterOrder API
type CreateCellClusterOrderResponse ¶
type CreateCellClusterOrderResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` OrderId string `json:"OrderId" xml:"OrderId"` }
CreateCellClusterOrderResponse is the response struct for api CreateCellClusterOrder
func CreateCreateCellClusterOrderResponse ¶
func CreateCreateCellClusterOrderResponse() (response *CreateCellClusterOrderResponse)
CreateCreateCellClusterOrderResponse creates a response to parse from CreateCellClusterOrder response
type CreateClusterRequest ¶
type CreateClusterRequest struct { *requests.RoaRequest OrderId string `position:"Body" name:"orderId"` UserOssBucket string `position:"Body" name:"userOssBucket"` DisplayName string `position:"Body" name:"displayName"` UserVpcId string `position:"Body" name:"userVpcId"` ZoneId string `position:"Body" name:"zoneId"` Description string `position:"Body" name:"description"` UserVSwitch string `position:"Body" name:"userVSwitch"` }
CreateClusterRequest is the request struct for api CreateCluster
func CreateCreateClusterRequest ¶
func CreateCreateClusterRequest() (request *CreateClusterRequest)
CreateCreateClusterRequest creates a request to invoke CreateCluster API
type CreateClusterResponse ¶
type CreateClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ClusterId string `json:"ClusterId" xml:"ClusterId"` }
CreateClusterResponse is the response struct for api CreateCluster
func CreateCreateClusterResponse ¶
func CreateCreateClusterResponse() (response *CreateClusterResponse)
CreateCreateClusterResponse creates a response to parse from CreateCluster response
type CreateFolderRequest ¶
type CreateFolderRequest struct { *requests.RoaRequest Path string `position:"Body" name:"path"` ProjectName string `position:"Path" name:"projectName"` }
CreateFolderRequest is the request struct for api CreateFolder
func CreateCreateFolderRequest ¶
func CreateCreateFolderRequest() (request *CreateFolderRequest)
CreateCreateFolderRequest creates a request to invoke CreateFolder API
type CreateFolderResponse ¶
type CreateFolderResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` FolderId int64 `json:"FolderId" xml:"FolderId"` }
CreateFolderResponse is the response struct for api CreateFolder
func CreateCreateFolderResponse ¶
func CreateCreateFolderResponse() (response *CreateFolderResponse)
CreateCreateFolderResponse creates a response to parse from CreateFolder response
type CreateJobRequest ¶
type CreateJobRequest struct { *requests.RoaRequest QueueName string `position:"Body" name:"queueName"` ProjectName string `position:"Path" name:"projectName"` Code string `position:"Body" name:"code"` Description string `position:"Body" name:"description"` EngineVersion string `position:"Body" name:"engineVersion"` ClusterId string `position:"Body" name:"clusterId"` Packages string `position:"Body" name:"packages"` JobType string `position:"Body" name:"jobType"` ApiType string `position:"Body" name:"apiType"` FolderId requests.Integer `position:"Body" name:"folderId"` PlanJson string `position:"Body" name:"planJson"` Properties string `position:"Body" name:"properties"` JobName string `position:"Body" name:"jobName"` }
CreateJobRequest is the request struct for api CreateJob
func CreateCreateJobRequest ¶
func CreateCreateJobRequest() (request *CreateJobRequest)
CreateCreateJobRequest creates a request to invoke CreateJob API
type CreateJobResponse ¶
type CreateJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateJobResponse is the response struct for api CreateJob
func CreateCreateJobResponse ¶
func CreateCreateJobResponse() (response *CreateJobResponse)
CreateCreateJobResponse creates a response to parse from CreateJob response
type CreatePackageRequest ¶
type CreatePackageRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` OssBucket string `position:"Body" name:"ossBucket"` OssOwner string `position:"Body" name:"ossOwner"` PackageName string `position:"Body" name:"packageName"` OssEndpoint string `position:"Body" name:"ossEndpoint"` Description string `position:"Body" name:"description"` Tag string `position:"Body" name:"tag"` OriginName string `position:"Body" name:"originName"` Type string `position:"Body" name:"type"` OssPath string `position:"Body" name:"ossPath"` Md5 string `position:"Body" name:"md5"` }
CreatePackageRequest is the request struct for api CreatePackage
func CreateCreatePackageRequest ¶
func CreateCreatePackageRequest() (request *CreatePackageRequest)
CreateCreatePackageRequest creates a request to invoke CreatePackage API
type CreatePackageResponse ¶
type CreatePackageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreatePackageResponse is the response struct for api CreatePackage
func CreateCreatePackageResponse ¶
func CreateCreatePackageResponse() (response *CreatePackageResponse)
CreateCreatePackageResponse creates a response to parse from CreatePackage response
type CreateProjectRequest ¶
type CreateProjectRequest struct { *requests.RoaRequest ManagerIds string `position:"Body" name:"managerIds"` OrderId string `position:"Body" name:"orderId"` Name string `position:"Body" name:"name"` Description string `position:"Body" name:"description"` ClusterId string `position:"Body" name:"clusterId"` DeployType string `position:"Body" name:"deployType"` }
CreateProjectRequest is the request struct for api CreateProject
func CreateCreateProjectRequest ¶
func CreateCreateProjectRequest() (request *CreateProjectRequest)
CreateCreateProjectRequest creates a request to invoke CreateProject API
type CreateProjectResponse ¶
type CreateProjectResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateProjectResponse is the response struct for api CreateProject
func CreateCreateProjectResponse ¶
func CreateCreateProjectResponse() (response *CreateProjectResponse)
CreateCreateProjectResponse creates a response to parse from CreateProject response
type CreateQueueRequest ¶
type CreateQueueRequest struct { *requests.RoaRequest QueueName string `position:"Body" name:"queueName"` MaxMemMB requests.Integer `position:"Body" name:"maxMemMB"` ClusterId string `position:"Path" name:"clusterId"` Gpu requests.Integer `position:"Body" name:"gpu"` MaxVcore requests.Integer `position:"Body" name:"maxVcore"` }
CreateQueueRequest is the request struct for api CreateQueue
func CreateCreateQueueRequest ¶
func CreateCreateQueueRequest() (request *CreateQueueRequest)
CreateCreateQueueRequest creates a request to invoke CreateQueue API
type CreateQueueResponse ¶
type CreateQueueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateQueueResponse is the response struct for api CreateQueue
func CreateCreateQueueResponse ¶
func CreateCreateQueueResponse() (response *CreateQueueResponse)
CreateCreateQueueResponse creates a response to parse from CreateQueue response
type Data ¶ added in v1.61.1315
type Data struct { NextToken string `json:"NextToken" xml:"NextToken"` TagResources []TagResource `json:"TagResources" xml:"TagResources"` }
Data is a nested struct in foas response
type DeleteFolderRequest ¶
type DeleteFolderRequest struct { *requests.RoaRequest Path string `position:"Query" name:"path"` ProjectName string `position:"Path" name:"projectName"` }
DeleteFolderRequest is the request struct for api DeleteFolder
func CreateDeleteFolderRequest ¶
func CreateDeleteFolderRequest() (request *DeleteFolderRequest)
CreateDeleteFolderRequest creates a request to invoke DeleteFolder API
type DeleteFolderResponse ¶
type DeleteFolderResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteFolderResponse is the response struct for api DeleteFolder
func CreateDeleteFolderResponse ¶
func CreateDeleteFolderResponse() (response *DeleteFolderResponse)
CreateDeleteFolderResponse creates a response to parse from DeleteFolder response
type DeleteJobRequest ¶
type DeleteJobRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` JobName string `position:"Path" name:"jobName"` }
DeleteJobRequest is the request struct for api DeleteJob
func CreateDeleteJobRequest ¶
func CreateDeleteJobRequest() (request *DeleteJobRequest)
CreateDeleteJobRequest creates a request to invoke DeleteJob API
type DeleteJobResponse ¶
type DeleteJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteJobResponse is the response struct for api DeleteJob
func CreateDeleteJobResponse ¶
func CreateDeleteJobResponse() (response *DeleteJobResponse)
CreateDeleteJobResponse creates a response to parse from DeleteJob response
type DeletePackageRequest ¶
type DeletePackageRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` PackageName string `position:"Path" name:"packageName"` }
DeletePackageRequest is the request struct for api DeletePackage
func CreateDeletePackageRequest ¶
func CreateDeletePackageRequest() (request *DeletePackageRequest)
CreateDeletePackageRequest creates a request to invoke DeletePackage API
type DeletePackageResponse ¶
type DeletePackageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeletePackageResponse is the response struct for api DeletePackage
func CreateDeletePackageResponse ¶
func CreateDeletePackageResponse() (response *DeletePackageResponse)
CreateDeletePackageResponse creates a response to parse from DeletePackage response
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` }
DeleteProjectRequest is the request struct for api DeleteProject
func CreateDeleteProjectRequest ¶
func CreateDeleteProjectRequest() (request *DeleteProjectRequest)
CreateDeleteProjectRequest creates a request to invoke DeleteProject API
type DeleteProjectResponse ¶
type DeleteProjectResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteProjectResponse is the response struct for api DeleteProject
func CreateDeleteProjectResponse ¶
func CreateDeleteProjectResponse() (response *DeleteProjectResponse)
CreateDeleteProjectResponse creates a response to parse from DeleteProject response
type DeleteQueueRequest ¶
type DeleteQueueRequest struct { *requests.RoaRequest QueueName string `position:"Query" name:"queueName"` ClusterId string `position:"Path" name:"clusterId"` }
DeleteQueueRequest is the request struct for api DeleteQueue
func CreateDeleteQueueRequest ¶
func CreateDeleteQueueRequest() (request *DeleteQueueRequest)
CreateDeleteQueueRequest creates a request to invoke DeleteQueue API
type DeleteQueueResponse ¶
type DeleteQueueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteQueueResponse is the response struct for api DeleteQueue
func CreateDeleteQueueResponse ¶
func CreateDeleteQueueResponse() (response *DeleteQueueResponse)
CreateDeleteQueueResponse creates a response to parse from DeleteQueue response
type DestroyClusterRequest ¶
type DestroyClusterRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"clusterId"` }
DestroyClusterRequest is the request struct for api DestroyCluster
func CreateDestroyClusterRequest ¶
func CreateDestroyClusterRequest() (request *DestroyClusterRequest)
CreateDestroyClusterRequest creates a request to invoke DestroyCluster API
type DestroyClusterResponse ¶
type DestroyClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DestroyClusterResponse is the response struct for api DestroyCluster
func CreateDestroyClusterResponse ¶
func CreateDestroyClusterResponse() (response *DestroyClusterResponse)
CreateDestroyClusterResponse creates a response to parse from DestroyCluster response
type Details ¶
type Details struct { ClusterId string `json:"ClusterId" xml:"ClusterId"` RegionId string `json:"RegionId" xml:"RegionId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` State string `json:"State" xml:"State"` Description string `json:"Description" xml:"Description"` DisplayName string `json:"DisplayName" xml:"DisplayName"` OwnerId string `json:"OwnerId" xml:"OwnerId"` Operator string `json:"Operator" xml:"Operator"` StorageType string `json:"StorageType" xml:"StorageType"` GmtCreate int64 `json:"GmtCreate" xml:"GmtCreate"` GmtModified int64 `json:"GmtModified" xml:"GmtModified"` UserOssInfo string `json:"UserOssInfo" xml:"UserOssInfo"` UserVpcId string `json:"UserVpcId" xml:"UserVpcId"` UserSGId string `json:"UserSGId" xml:"UserSGId"` UserVSwitchList string `json:"UserVSwitchList" xml:"UserVSwitchList"` IsMixDeploy bool `json:"IsMixDeploy" xml:"IsMixDeploy"` InstanceInfos string `json:"InstanceInfos" xml:"InstanceInfos"` }
Details is a nested struct in foas response
type Dim ¶ added in v1.61.1315
type Dim struct { Type string `json:"Type" xml:"Type"` Workspace string `json:"Workspace" xml:"Workspace"` Name string `json:"Name" xml:"Name"` Properties map[string]interface{} `json:"Properties" xml:"Properties"` Alias string `json:"Alias" xml:"Alias"` }
Dim is a nested struct in foas response
type Dims ¶ added in v1.61.1315
type Dims struct {
Dim []Dim `json:"Dim" xml:"Dim"`
}
Dims is a nested struct in foas response
type EngineVersions ¶
type EngineVersions struct {
EngineVersion []string `json:"EngineVersion" xml:"EngineVersion"`
}
EngineVersions is a nested struct in foas response
type ExpandClusterRequest ¶
type ExpandClusterRequest struct { *requests.RoaRequest Count requests.Integer `position:"Body" name:"count"` Model string `position:"Body" name:"model"` UserVSwitch string `position:"Body" name:"userVSwitch"` ClusterId string `position:"Path" name:"clusterId"` }
ExpandClusterRequest is the request struct for api ExpandCluster
func CreateExpandClusterRequest ¶
func CreateExpandClusterRequest() (request *ExpandClusterRequest)
CreateExpandClusterRequest creates a request to invoke ExpandCluster API
type ExpandClusterResponse ¶
type ExpandClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ExpandClusterResponse is the response struct for api ExpandCluster
func CreateExpandClusterResponse ¶
func CreateExpandClusterResponse() (response *ExpandClusterResponse)
CreateExpandClusterResponse creates a response to parse from ExpandCluster response
type Folder ¶
type Folder struct { Path string `json:"Path" xml:"Path"` FolderId int64 `json:"FolderId" xml:"FolderId"` }
Folder is a nested struct in foas response
type Folders ¶
type Folders struct {
Folder []Folder `json:"Folder" xml:"Folder"`
}
Folders is a nested struct in foas response
type GetClusterDetailsRequest ¶
type GetClusterDetailsRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"clusterId"` }
GetClusterDetailsRequest is the request struct for api GetClusterDetails
func CreateGetClusterDetailsRequest ¶
func CreateGetClusterDetailsRequest() (request *GetClusterDetailsRequest)
CreateGetClusterDetailsRequest creates a request to invoke GetClusterDetails API
type GetClusterDetailsResponse ¶
type GetClusterDetailsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Details Details `json:"Details" xml:"Details"` }
GetClusterDetailsResponse is the response struct for api GetClusterDetails
func CreateGetClusterDetailsResponse ¶
func CreateGetClusterDetailsResponse() (response *GetClusterDetailsResponse)
CreateGetClusterDetailsResponse creates a response to parse from GetClusterDetails response
type GetClusterEngineVersionsRequest ¶
type GetClusterEngineVersionsRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"clusterId"` }
GetClusterEngineVersionsRequest is the request struct for api GetClusterEngineVersions
func CreateGetClusterEngineVersionsRequest ¶
func CreateGetClusterEngineVersionsRequest() (request *GetClusterEngineVersionsRequest)
CreateGetClusterEngineVersionsRequest creates a request to invoke GetClusterEngineVersions API
type GetClusterEngineVersionsResponse ¶
type GetClusterEngineVersionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` EngineVersions EngineVersions `json:"EngineVersions" xml:"EngineVersions"` }
GetClusterEngineVersionsResponse is the response struct for api GetClusterEngineVersions
func CreateGetClusterEngineVersionsResponse ¶
func CreateGetClusterEngineVersionsResponse() (response *GetClusterEngineVersionsResponse)
CreateGetClusterEngineVersionsResponse creates a response to parse from GetClusterEngineVersions response
type GetClusterMetricsRequest ¶
type GetClusterMetricsRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"clusterId"` MetricJson string `position:"Body" name:"metricJson"` }
GetClusterMetricsRequest is the request struct for api GetClusterMetrics
func CreateGetClusterMetricsRequest ¶
func CreateGetClusterMetricsRequest() (request *GetClusterMetricsRequest)
CreateGetClusterMetricsRequest creates a request to invoke GetClusterMetrics API
type GetClusterMetricsResponse ¶
type GetClusterMetricsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Metrics MetricsInGetClusterMetrics `json:"Metrics" xml:"Metrics"` }
GetClusterMetricsResponse is the response struct for api GetClusterMetrics
func CreateGetClusterMetricsResponse ¶
func CreateGetClusterMetricsResponse() (response *GetClusterMetricsResponse)
CreateGetClusterMetricsResponse creates a response to parse from GetClusterMetrics response
type GetClusterQueueInfoRequest ¶
type GetClusterQueueInfoRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"clusterId"` }
GetClusterQueueInfoRequest is the request struct for api GetClusterQueueInfo
func CreateGetClusterQueueInfoRequest ¶
func CreateGetClusterQueueInfoRequest() (request *GetClusterQueueInfoRequest)
CreateGetClusterQueueInfoRequest creates a request to invoke GetClusterQueueInfo API
type GetClusterQueueInfoResponse ¶
type GetClusterQueueInfoResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Queues QueuesInGetClusterQueueInfo `json:"Queues" xml:"Queues"` }
GetClusterQueueInfoResponse is the response struct for api GetClusterQueueInfo
func CreateGetClusterQueueInfoResponse ¶
func CreateGetClusterQueueInfoResponse() (response *GetClusterQueueInfoResponse)
CreateGetClusterQueueInfoResponse creates a response to parse from GetClusterQueueInfo response
type GetClusterResourceRequest ¶
type GetClusterResourceRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"clusterId"` }
GetClusterResourceRequest is the request struct for api GetClusterResource
func CreateGetClusterResourceRequest ¶
func CreateGetClusterResourceRequest() (request *GetClusterResourceRequest)
CreateGetClusterResourceRequest creates a request to invoke GetClusterResource API
type GetClusterResourceResponse ¶
type GetClusterResourceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Resource Resource `json:"Resource" xml:"Resource"` }
GetClusterResourceResponse is the response struct for api GetClusterResource
func CreateGetClusterResourceResponse ¶
func CreateGetClusterResourceResponse() (response *GetClusterResourceResponse)
CreateGetClusterResourceResponse creates a response to parse from GetClusterResource response
type GetFolderRequest ¶
type GetFolderRequest struct { *requests.RoaRequest Path string `position:"Query" name:"path"` ProjectName string `position:"Path" name:"projectName"` }
GetFolderRequest is the request struct for api GetFolder
func CreateGetFolderRequest ¶
func CreateGetFolderRequest() (request *GetFolderRequest)
CreateGetFolderRequest creates a request to invoke GetFolder API
type GetFolderResponse ¶
type GetFolderResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Folder Folder `json:"Folder" xml:"Folder"` }
GetFolderResponse is the response struct for api GetFolder
func CreateGetFolderResponse ¶
func CreateGetFolderResponse() (response *GetFolderResponse)
CreateGetFolderResponse creates a response to parse from GetFolder response
type GetInstanceCheckpointRequest ¶
type GetInstanceCheckpointRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceCheckpointRequest is the request struct for api GetInstanceCheckpoint
func CreateGetInstanceCheckpointRequest ¶
func CreateGetInstanceCheckpointRequest() (request *GetInstanceCheckpointRequest)
CreateGetInstanceCheckpointRequest creates a request to invoke GetInstanceCheckpoint API
type GetInstanceCheckpointResponse ¶
type GetInstanceCheckpointResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Checkpoints string `json:"Checkpoints" xml:"Checkpoints"` }
GetInstanceCheckpointResponse is the response struct for api GetInstanceCheckpoint
func CreateGetInstanceCheckpointResponse ¶
func CreateGetInstanceCheckpointResponse() (response *GetInstanceCheckpointResponse)
CreateGetInstanceCheckpointResponse creates a response to parse from GetInstanceCheckpoint response
type GetInstanceConfigRequest ¶
type GetInstanceConfigRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceConfigRequest is the request struct for api GetInstanceConfig
func CreateGetInstanceConfigRequest ¶
func CreateGetInstanceConfigRequest() (request *GetInstanceConfigRequest)
CreateGetInstanceConfigRequest creates a request to invoke GetInstanceConfig API
type GetInstanceConfigResponse ¶
type GetInstanceConfigResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Config string `json:"Config" xml:"Config"` }
GetInstanceConfigResponse is the response struct for api GetInstanceConfig
func CreateGetInstanceConfigResponse ¶
func CreateGetInstanceConfigResponse() (response *GetInstanceConfigResponse)
CreateGetInstanceConfigResponse creates a response to parse from GetInstanceConfig response
type GetInstanceDetailRequest ¶
type GetInstanceDetailRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceDetailRequest is the request struct for api GetInstanceDetail
func CreateGetInstanceDetailRequest ¶
func CreateGetInstanceDetailRequest() (request *GetInstanceDetailRequest)
CreateGetInstanceDetailRequest creates a request to invoke GetInstanceDetail API
type GetInstanceDetailResponse ¶
type GetInstanceDetailResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Detail string `json:"Detail" xml:"Detail"` }
GetInstanceDetailResponse is the response struct for api GetInstanceDetail
func CreateGetInstanceDetailResponse ¶
func CreateGetInstanceDetailResponse() (response *GetInstanceDetailResponse)
CreateGetInstanceDetailResponse creates a response to parse from GetInstanceDetail response
type GetInstanceExceptionsRequest ¶
type GetInstanceExceptionsRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceExceptionsRequest is the request struct for api GetInstanceExceptions
func CreateGetInstanceExceptionsRequest ¶
func CreateGetInstanceExceptionsRequest() (request *GetInstanceExceptionsRequest)
CreateGetInstanceExceptionsRequest creates a request to invoke GetInstanceExceptions API
type GetInstanceExceptionsResponse ¶
type GetInstanceExceptionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Exceptions string `json:"Exceptions" xml:"Exceptions"` }
GetInstanceExceptionsResponse is the response struct for api GetInstanceExceptions
func CreateGetInstanceExceptionsResponse ¶
func CreateGetInstanceExceptionsResponse() (response *GetInstanceExceptionsResponse)
CreateGetInstanceExceptionsResponse creates a response to parse from GetInstanceExceptions response
type GetInstanceFinalStateRequest ¶
type GetInstanceFinalStateRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceFinalStateRequest is the request struct for api GetInstanceFinalState
func CreateGetInstanceFinalStateRequest ¶
func CreateGetInstanceFinalStateRequest() (request *GetInstanceFinalStateRequest)
CreateGetInstanceFinalStateRequest creates a request to invoke GetInstanceFinalState API
type GetInstanceFinalStateResponse ¶
type GetInstanceFinalStateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Finalstate string `json:"Finalstate" xml:"Finalstate"` }
GetInstanceFinalStateResponse is the response struct for api GetInstanceFinalState
func CreateGetInstanceFinalStateResponse ¶
func CreateGetInstanceFinalStateResponse() (response *GetInstanceFinalStateResponse)
CreateGetInstanceFinalStateResponse creates a response to parse from GetInstanceFinalState response
type GetInstanceHistoryAutoScalePlanContentRequest ¶
type GetInstanceHistoryAutoScalePlanContentRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` PlanName string `position:"Query" name:"planName"` JobName string `position:"Path" name:"jobName"` }
GetInstanceHistoryAutoScalePlanContentRequest is the request struct for api GetInstanceHistoryAutoScalePlanContent
func CreateGetInstanceHistoryAutoScalePlanContentRequest ¶
func CreateGetInstanceHistoryAutoScalePlanContentRequest() (request *GetInstanceHistoryAutoScalePlanContentRequest)
CreateGetInstanceHistoryAutoScalePlanContentRequest creates a request to invoke GetInstanceHistoryAutoScalePlanContent API
type GetInstanceHistoryAutoScalePlanContentResponse ¶
type GetInstanceHistoryAutoScalePlanContentResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PlanContent string `json:"PlanContent" xml:"PlanContent"` }
GetInstanceHistoryAutoScalePlanContentResponse is the response struct for api GetInstanceHistoryAutoScalePlanContent
func CreateGetInstanceHistoryAutoScalePlanContentResponse ¶
func CreateGetInstanceHistoryAutoScalePlanContentResponse() (response *GetInstanceHistoryAutoScalePlanContentResponse)
CreateGetInstanceHistoryAutoScalePlanContentResponse creates a response to parse from GetInstanceHistoryAutoScalePlanContent response
type GetInstanceHistoryAutoScalePlanListRequest ¶
type GetInstanceHistoryAutoScalePlanListRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceHistoryAutoScalePlanListRequest is the request struct for api GetInstanceHistoryAutoScalePlanList
func CreateGetInstanceHistoryAutoScalePlanListRequest ¶
func CreateGetInstanceHistoryAutoScalePlanListRequest() (request *GetInstanceHistoryAutoScalePlanListRequest)
CreateGetInstanceHistoryAutoScalePlanListRequest creates a request to invoke GetInstanceHistoryAutoScalePlanList API
type GetInstanceHistoryAutoScalePlanListResponse ¶
type GetInstanceHistoryAutoScalePlanListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PlanList PlanList `json:"PlanList" xml:"PlanList"` }
GetInstanceHistoryAutoScalePlanListResponse is the response struct for api GetInstanceHistoryAutoScalePlanList
func CreateGetInstanceHistoryAutoScalePlanListResponse ¶
func CreateGetInstanceHistoryAutoScalePlanListResponse() (response *GetInstanceHistoryAutoScalePlanListResponse)
CreateGetInstanceHistoryAutoScalePlanListResponse creates a response to parse from GetInstanceHistoryAutoScalePlanList response
type GetInstanceMetricRequest ¶
type GetInstanceMetricRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Query" name:"instanceId"` MetricJson string `position:"Body" name:"metricJson"` JobName string `position:"Path" name:"jobName"` }
GetInstanceMetricRequest is the request struct for api GetInstanceMetric
func CreateGetInstanceMetricRequest ¶
func CreateGetInstanceMetricRequest() (request *GetInstanceMetricRequest)
CreateGetInstanceMetricRequest creates a request to invoke GetInstanceMetric API
type GetInstanceMetricResponse ¶
type GetInstanceMetricResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Metrics MetricsInGetInstanceMetric `json:"Metrics" xml:"Metrics"` }
GetInstanceMetricResponse is the response struct for api GetInstanceMetric
func CreateGetInstanceMetricResponse ¶
func CreateGetInstanceMetricResponse() (response *GetInstanceMetricResponse)
CreateGetInstanceMetricResponse creates a response to parse from GetInstanceMetric response
type GetInstanceRequest ¶
type GetInstanceRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceRequest is the request struct for api GetInstance
func CreateGetInstanceRequest ¶
func CreateGetInstanceRequest() (request *GetInstanceRequest)
CreateGetInstanceRequest creates a request to invoke GetInstance API
type GetInstanceResourceRequest ¶
type GetInstanceResourceRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceResourceRequest is the request struct for api GetInstanceResource
func CreateGetInstanceResourceRequest ¶
func CreateGetInstanceResourceRequest() (request *GetInstanceResourceRequest)
CreateGetInstanceResourceRequest creates a request to invoke GetInstanceResource API
type GetInstanceResourceResponse ¶
type GetInstanceResourceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Resource Resource `json:"Resource" xml:"Resource"` }
GetInstanceResourceResponse is the response struct for api GetInstanceResource
func CreateGetInstanceResourceResponse ¶
func CreateGetInstanceResourceResponse() (response *GetInstanceResourceResponse)
CreateGetInstanceResourceResponse creates a response to parse from GetInstanceResource response
type GetInstanceResponse ¶
type GetInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Instance Instance `json:"Instance" xml:"Instance"` }
GetInstanceResponse is the response struct for api GetInstance
func CreateGetInstanceResponse ¶
func CreateGetInstanceResponse() (response *GetInstanceResponse)
CreateGetInstanceResponse creates a response to parse from GetInstance response
type GetInstanceRunSummaryRequest ¶
type GetInstanceRunSummaryRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` JobName string `position:"Path" name:"jobName"` }
GetInstanceRunSummaryRequest is the request struct for api GetInstanceRunSummary
func CreateGetInstanceRunSummaryRequest ¶
func CreateGetInstanceRunSummaryRequest() (request *GetInstanceRunSummaryRequest)
CreateGetInstanceRunSummaryRequest creates a request to invoke GetInstanceRunSummary API
type GetInstanceRunSummaryResponse ¶
type GetInstanceRunSummaryResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` RunSummary RunSummary `json:"RunSummary" xml:"RunSummary"` }
GetInstanceRunSummaryResponse is the response struct for api GetInstanceRunSummary
func CreateGetInstanceRunSummaryResponse ¶
func CreateGetInstanceRunSummaryResponse() (response *GetInstanceRunSummaryResponse)
CreateGetInstanceRunSummaryResponse creates a response to parse from GetInstanceRunSummary response
type GetJobLatestAutoScalePlanRequest ¶
type GetJobLatestAutoScalePlanRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` JobName string `position:"Path" name:"jobName"` }
GetJobLatestAutoScalePlanRequest is the request struct for api GetJobLatestAutoScalePlan
func CreateGetJobLatestAutoScalePlanRequest ¶
func CreateGetJobLatestAutoScalePlanRequest() (request *GetJobLatestAutoScalePlanRequest)
CreateGetJobLatestAutoScalePlanRequest creates a request to invoke GetJobLatestAutoScalePlan API
type GetJobLatestAutoScalePlanResponse ¶
type GetJobLatestAutoScalePlanResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PlanJson string `json:"PlanJson" xml:"PlanJson"` }
GetJobLatestAutoScalePlanResponse is the response struct for api GetJobLatestAutoScalePlan
func CreateGetJobLatestAutoScalePlanResponse ¶
func CreateGetJobLatestAutoScalePlanResponse() (response *GetJobLatestAutoScalePlanResponse)
CreateGetJobLatestAutoScalePlanResponse creates a response to parse from GetJobLatestAutoScalePlan response
type GetJobRequest ¶
type GetJobRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` JobName string `position:"Path" name:"jobName"` }
GetJobRequest is the request struct for api GetJob
func CreateGetJobRequest ¶
func CreateGetJobRequest() (request *GetJobRequest)
CreateGetJobRequest creates a request to invoke GetJob API
type GetJobResponse ¶
type GetJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Job Job `json:"Job" xml:"Job"` }
GetJobResponse is the response struct for api GetJob
func CreateGetJobResponse ¶
func CreateGetJobResponse() (response *GetJobResponse)
CreateGetJobResponse creates a response to parse from GetJob response
type GetPackageRequest ¶
type GetPackageRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` PackageName string `position:"Path" name:"packageName"` }
GetPackageRequest is the request struct for api GetPackage
func CreateGetPackageRequest ¶
func CreateGetPackageRequest() (request *GetPackageRequest)
CreateGetPackageRequest creates a request to invoke GetPackage API
type GetPackageResponse ¶
type GetPackageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Package Package `json:"Package" xml:"Package"` }
GetPackageResponse is the response struct for api GetPackage
func CreateGetPackageResponse ¶
func CreateGetPackageResponse() (response *GetPackageResponse)
CreateGetPackageResponse creates a response to parse from GetPackage response
type GetProjectRequest ¶
type GetProjectRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` }
GetProjectRequest is the request struct for api GetProject
func CreateGetProjectRequest ¶
func CreateGetProjectRequest() (request *GetProjectRequest)
CreateGetProjectRequest creates a request to invoke GetProject API
type GetProjectResponse ¶
type GetProjectResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Project Project `json:"Project" xml:"Project"` }
GetProjectResponse is the response struct for api GetProject
func CreateGetProjectResponse ¶
func CreateGetProjectResponse() (response *GetProjectResponse)
CreateGetProjectResponse creates a response to parse from GetProject response
type GetRawPlanJsonRequest ¶
type GetRawPlanJsonRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` ExpectedGB requests.Float `position:"Query" name:"expectedGB"` ExpectedCore requests.Float `position:"Query" name:"expectedCore"` AdvisorAction string `position:"Query" name:"AdvisorAction"` JobName string `position:"Path" name:"jobName"` AutoconfEnable requests.Boolean `position:"Query" name:"autoconfEnable"` }
GetRawPlanJsonRequest is the request struct for api GetRawPlanJson
func CreateGetRawPlanJsonRequest ¶
func CreateGetRawPlanJsonRequest() (request *GetRawPlanJsonRequest)
CreateGetRawPlanJsonRequest creates a request to invoke GetRawPlanJson API
type GetRawPlanJsonResponse ¶
type GetRawPlanJsonResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SessionId string `json:"SessionId" xml:"SessionId"` }
GetRawPlanJsonResponse is the response struct for api GetRawPlanJson
func CreateGetRawPlanJsonResponse ¶
func CreateGetRawPlanJsonResponse() (response *GetRawPlanJsonResponse)
CreateGetRawPlanJsonResponse creates a response to parse from GetRawPlanJson response
type GetRefPackageJobRequest ¶
type GetRefPackageJobRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` PackageName string `position:"Path" name:"packageName"` PageSize requests.Integer `position:"Query" name:"pageSize"` PageIndex requests.Integer `position:"Query" name:"pageIndex"` }
GetRefPackageJobRequest is the request struct for api GetRefPackageJob
func CreateGetRefPackageJobRequest ¶
func CreateGetRefPackageJobRequest() (request *GetRefPackageJobRequest)
CreateGetRefPackageJobRequest creates a request to invoke GetRefPackageJob API
type GetRefPackageJobResponse ¶
type GetRefPackageJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageIndex int `json:"PageIndex" xml:"PageIndex"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int64 `json:"TotalCount" xml:"TotalCount"` TotalPage int `json:"TotalPage" xml:"TotalPage"` Jobs JobsInGetRefPackageJob `json:"Jobs" xml:"Jobs"` }
GetRefPackageJobResponse is the response struct for api GetRefPackageJob
func CreateGetRefPackageJobResponse ¶
func CreateGetRefPackageJobResponse() (response *GetRefPackageJobResponse)
CreateGetRefPackageJobResponse creates a response to parse from GetRefPackageJob response
type Input ¶
type Input struct { Type string `json:"Type" xml:"Type"` Workspace string `json:"Workspace" xml:"Workspace"` Name string `json:"Name" xml:"Name"` Properties map[string]interface{} `json:"Properties" xml:"Properties"` Alias string `json:"Alias" xml:"Alias"` }
Input is a nested struct in foas response
type Inputs ¶
type Inputs struct {
Input []Input `json:"Input" xml:"Input"`
}
Inputs is a nested struct in foas response
type Instance ¶
type Instance struct { QueueName string `json:"QueueName" xml:"QueueName"` LastOperateTime int64 `json:"LastOperateTime" xml:"LastOperateTime"` ApiType string `json:"ApiType" xml:"ApiType"` LastOperator string `json:"LastOperator" xml:"LastOperator"` Packages string `json:"Packages" xml:"Packages"` Starter string `json:"Starter" xml:"Starter"` EndTime int64 `json:"EndTime" xml:"EndTime"` StartTime int64 `json:"StartTime" xml:"StartTime"` PlanJson string `json:"PlanJson" xml:"PlanJson"` ProjectName string `json:"ProjectName" xml:"ProjectName"` JobType string `json:"JobType" xml:"JobType"` LastErrorMessage string `json:"LastErrorMessage" xml:"LastErrorMessage"` JobName string `json:"JobName" xml:"JobName"` Properties string `json:"Properties" xml:"Properties"` ClusterId string `json:"ClusterId" xml:"ClusterId"` Priority int `json:"Priority" xml:"Priority"` Code string `json:"Code" xml:"Code"` EngineVersion string `json:"EngineVersion" xml:"EngineVersion"` LastErrorTime int64 `json:"LastErrorTime" xml:"LastErrorTime"` InputDelay int64 `json:"InputDelay" xml:"InputDelay"` Id int64 `json:"Id" xml:"Id"` AutoScaleParams string `json:"AutoScaleParams" xml:"AutoScaleParams"` EngineJobHandler string `json:"EngineJobHandler" xml:"EngineJobHandler"` ActualState string `json:"ActualState" xml:"ActualState"` ExpectState string `json:"ExpectState" xml:"ExpectState"` }
Instance is a nested struct in foas response
type Instances ¶
type Instances struct {
Instance []Instance `json:"Instance" xml:"Instance"`
}
Instances is a nested struct in foas response
type Job ¶
type Job struct { FileId string `json:"FileId" xml:"FileId"` ModifyTime int64 `json:"ModifyTime" xml:"ModifyTime"` ClusterId string `json:"ClusterId" xml:"ClusterId"` QueueName string `json:"QueueName" xml:"QueueName"` JobId string `json:"JobId" xml:"JobId"` Code string `json:"Code" xml:"Code"` EngineVersion string `json:"EngineVersion" xml:"EngineVersion"` ApiType string `json:"ApiType" xml:"ApiType"` IsCommitted bool `json:"IsCommitted" xml:"IsCommitted"` FolderId int64 `json:"FolderId" xml:"FolderId"` Packages string `json:"Packages" xml:"Packages"` CreateTime int64 `json:"CreateTime" xml:"CreateTime"` PlanJson string `json:"PlanJson" xml:"PlanJson"` ProjectName string `json:"ProjectName" xml:"ProjectName"` Modifier string `json:"Modifier" xml:"Modifier"` Creator string `json:"Creator" xml:"Creator"` JobType string `json:"JobType" xml:"JobType"` JobName string `json:"JobName" xml:"JobName"` Properties string `json:"Properties" xml:"Properties"` Description string `json:"Description" xml:"Description"` }
Job is a nested struct in foas response
type JobInOut ¶
type JobInOut struct { Inputs Inputs `json:"Inputs" xml:"Inputs"` Outputs Outputs `json:"Outputs" xml:"Outputs"` Dims Dims `json:"Dims" xml:"Dims"` }
JobInOut is a nested struct in foas response
type JobsInGetRefPackageJob ¶
type JobsInGetRefPackageJob struct {
Job []Job `json:"Job" xml:"Job"`
}
JobsInGetRefPackageJob is a nested struct in foas response
type JobsInListJob ¶
type JobsInListJob struct {
Job []Job `json:"Job" xml:"Job"`
}
JobsInListJob is a nested struct in foas response
type ListChildFolderRequest ¶
type ListChildFolderRequest struct { *requests.RoaRequest Path string `position:"Query" name:"path"` ProjectName string `position:"Path" name:"projectName"` }
ListChildFolderRequest is the request struct for api ListChildFolder
func CreateListChildFolderRequest ¶
func CreateListChildFolderRequest() (request *ListChildFolderRequest)
CreateListChildFolderRequest creates a request to invoke ListChildFolder API
type ListChildFolderResponse ¶
type ListChildFolderResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Folders Folders `json:"Folders" xml:"Folders"` }
ListChildFolderResponse is the response struct for api ListChildFolder
func CreateListChildFolderResponse ¶
func CreateListChildFolderResponse() (response *ListChildFolderResponse)
CreateListChildFolderResponse creates a response to parse from ListChildFolder response
type ListClusterRequest ¶
type ListClusterRequest struct { *requests.RoaRequest DisplayName string `position:"Query" name:"displayName"` PageSize requests.Integer `position:"Query" name:"pageSize"` PageIndex requests.Integer `position:"Query" name:"pageIndex"` ClusterId string `position:"Query" name:"clusterId"` State string `position:"Query" name:"state"` Region string `position:"Query" name:"region"` }
ListClusterRequest is the request struct for api ListCluster
func CreateListClusterRequest ¶
func CreateListClusterRequest() (request *ListClusterRequest)
CreateListClusterRequest creates a request to invoke ListCluster API
type ListClusterResponse ¶
type ListClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int64 `json:"TotalCount" xml:"TotalCount"` TotalPage int `json:"TotalPage" xml:"TotalPage"` PageIndex int `json:"PageIndex" xml:"PageIndex"` PageSize int `json:"PageSize" xml:"PageSize"` Clusters Clusters `json:"Clusters" xml:"Clusters"` }
ListClusterResponse is the response struct for api ListCluster
func CreateListClusterResponse ¶
func CreateListClusterResponse() (response *ListClusterResponse)
CreateListClusterResponse creates a response to parse from ListCluster response
type ListInstanceRequest ¶
type ListInstanceRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` EndBeginTs requests.Integer `position:"Query" name:"endBeginTs"` ExpectState string `position:"Query" name:"expectState"` JobType string `position:"Query" name:"jobType"` ApiType string `position:"Query" name:"apiType"` ActualState string `position:"Query" name:"actualState"` EndEndTs requests.Integer `position:"Query" name:"endEndTs"` StartEndTs requests.Integer `position:"Query" name:"startEndTs"` PageSize requests.Integer `position:"Query" name:"pageSize"` StartBeginTs requests.Integer `position:"Query" name:"startBeginTs"` PageIndex requests.Integer `position:"Query" name:"pageIndex"` IsArchived requests.Boolean `position:"Query" name:"isArchived"` JobName string `position:"Query" name:"jobName"` }
ListInstanceRequest is the request struct for api ListInstance
func CreateListInstanceRequest ¶
func CreateListInstanceRequest() (request *ListInstanceRequest)
CreateListInstanceRequest creates a request to invoke ListInstance API
type ListInstanceResponse ¶
type ListInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageIndex int `json:"PageIndex" xml:"PageIndex"` PageSize int `json:"PageSize" xml:"PageSize"` TotalPage int `json:"TotalPage" xml:"TotalPage"` TotalCount int64 `json:"TotalCount" xml:"TotalCount"` Instances Instances `json:"Instances" xml:"Instances"` }
ListInstanceResponse is the response struct for api ListInstance
func CreateListInstanceResponse ¶
func CreateListInstanceResponse() (response *ListInstanceResponse)
CreateListInstanceResponse creates a response to parse from ListInstance response
type ListJobRequest ¶
type ListJobRequest struct { *requests.RoaRequest QueueName string `position:"Query" name:"queueName"` ProjectName string `position:"Path" name:"projectName"` PageSize requests.Integer `position:"Query" name:"pageSize"` IsShowFullField requests.Boolean `position:"Query" name:"isShowFullField"` PageIndex requests.Integer `position:"Query" name:"pageIndex"` EngineVersion string `position:"Query" name:"engineVersion"` ClusterId string `position:"Query" name:"clusterId"` JobType string `position:"Query" name:"jobType"` ApiType string `position:"Query" name:"apiType"` JobName string `position:"Query" name:"jobName"` FolderId requests.Integer `position:"Query" name:"folderId"` }
ListJobRequest is the request struct for api ListJob
func CreateListJobRequest ¶
func CreateListJobRequest() (request *ListJobRequest)
CreateListJobRequest creates a request to invoke ListJob API
type ListJobResponse ¶
type ListJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageIndex int `json:"PageIndex" xml:"PageIndex"` PageSize int `json:"PageSize" xml:"PageSize"` TotalPage int `json:"TotalPage" xml:"TotalPage"` TotalCount int64 `json:"TotalCount" xml:"TotalCount"` Jobs JobsInListJob `json:"Jobs" xml:"Jobs"` }
ListJobResponse is the response struct for api ListJob
func CreateListJobResponse ¶
func CreateListJobResponse() (response *ListJobResponse)
CreateListJobResponse creates a response to parse from ListJob response
type ListPackageRequest ¶
type ListPackageRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` PackageName string `position:"Query" name:"packageName"` PageSize requests.Integer `position:"Query" name:"pageSize"` PageIndex requests.Integer `position:"Query" name:"pageIndex"` Tag string `position:"Query" name:"tag"` Type string `position:"Query" name:"type"` }
ListPackageRequest is the request struct for api ListPackage
func CreateListPackageRequest ¶
func CreateListPackageRequest() (request *ListPackageRequest)
CreateListPackageRequest creates a request to invoke ListPackage API
type ListPackageResponse ¶
type ListPackageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageIndex int `json:"PageIndex" xml:"PageIndex"` PageSize int `json:"PageSize" xml:"PageSize"` TotalPage int `json:"TotalPage" xml:"TotalPage"` TotalCount int64 `json:"TotalCount" xml:"TotalCount"` Packages Packages `json:"Packages" xml:"Packages"` }
ListPackageResponse is the response struct for api ListPackage
func CreateListPackageResponse ¶
func CreateListPackageResponse() (response *ListPackageResponse)
CreateListPackageResponse creates a response to parse from ListPackage response
type ListProjectBindQueueRequest ¶
type ListProjectBindQueueRequest struct { *requests.RoaRequest QueueName string `position:"Query" name:"queueName"` ProjectName string `position:"Path" name:"projectName"` ClusterId string `position:"Query" name:"clusterId"` }
ListProjectBindQueueRequest is the request struct for api ListProjectBindQueue
func CreateListProjectBindQueueRequest ¶
func CreateListProjectBindQueueRequest() (request *ListProjectBindQueueRequest)
CreateListProjectBindQueueRequest creates a request to invoke ListProjectBindQueue API
type ListProjectBindQueueResourceRequest ¶
type ListProjectBindQueueResourceRequest struct { *requests.RoaRequest QueueName string `position:"Query" name:"queueName"` ProjectName string `position:"Path" name:"projectName"` ClusterId string `position:"Query" name:"clusterId"` }
ListProjectBindQueueResourceRequest is the request struct for api ListProjectBindQueueResource
func CreateListProjectBindQueueResourceRequest ¶
func CreateListProjectBindQueueResourceRequest() (request *ListProjectBindQueueResourceRequest)
CreateListProjectBindQueueResourceRequest creates a request to invoke ListProjectBindQueueResource API
type ListProjectBindQueueResourceResponse ¶
type ListProjectBindQueueResourceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Queues QueuesInListProjectBindQueueResource `json:"Queues" xml:"Queues"` }
ListProjectBindQueueResourceResponse is the response struct for api ListProjectBindQueueResource
func CreateListProjectBindQueueResourceResponse ¶
func CreateListProjectBindQueueResourceResponse() (response *ListProjectBindQueueResourceResponse)
CreateListProjectBindQueueResourceResponse creates a response to parse from ListProjectBindQueueResource response
type ListProjectBindQueueResponse ¶
type ListProjectBindQueueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Queues QueuesInListProjectBindQueue `json:"Queues" xml:"Queues"` }
ListProjectBindQueueResponse is the response struct for api ListProjectBindQueue
func CreateListProjectBindQueueResponse ¶
func CreateListProjectBindQueueResponse() (response *ListProjectBindQueueResponse)
CreateListProjectBindQueueResponse creates a response to parse from ListProjectBindQueue response
type ListProjectRequest ¶
type ListProjectRequest struct { *requests.RoaRequest Name string `position:"Query" name:"name"` PageSize requests.Integer `position:"Query" name:"pageSize"` PageIndex requests.Integer `position:"Query" name:"pageIndex"` ClusterId string `position:"Query" name:"clusterId"` Region string `position:"Query" name:"region"` DeployType string `position:"Query" name:"deployType"` }
ListProjectRequest is the request struct for api ListProject
func CreateListProjectRequest ¶
func CreateListProjectRequest() (request *ListProjectRequest)
CreateListProjectRequest creates a request to invoke ListProject API
type ListProjectResponse ¶
type ListProjectResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageIndex int `json:"PageIndex" xml:"PageIndex"` PageSize int `json:"PageSize" xml:"PageSize"` TotalPage int `json:"TotalPage" xml:"TotalPage"` TotalCount int64 `json:"TotalCount" xml:"TotalCount"` Projects Projects `json:"Projects" xml:"Projects"` }
ListProjectResponse is the response struct for api ListProject
func CreateListProjectResponse ¶
func CreateListProjectResponse() (response *ListProjectResponse)
CreateListProjectResponse creates a response to parse from ListProject response
type ListTagResourcesRequest ¶ added in v1.61.1315
type ListTagResourcesRequest struct { *requests.RoaRequest NextToken string `position:"Query" name:"NextToken"` ResourceType string `position:"Query" name:"ResourceType"` ResourceIds string `position:"Query" name:"ResourceIds"` Tags string `position:"Query" name:"Tags"` }
ListTagResourcesRequest is the request struct for api ListTagResources
func CreateListTagResourcesRequest ¶ added in v1.61.1315
func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)
CreateListTagResourcesRequest creates a request to invoke ListTagResources API
type ListTagResourcesResponse ¶ added in v1.61.1315
type ListTagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data Data `json:"Data" xml:"Data"` }
ListTagResourcesResponse is the response struct for api ListTagResources
func CreateListTagResourcesResponse ¶ added in v1.61.1315
func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)
CreateListTagResourcesResponse creates a response to parse from ListTagResources response
type MVFolderRequest ¶
type MVFolderRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` SrcPath string `position:"Body" name:"srcPath"` DestPath string `position:"Body" name:"destPath"` }
MVFolderRequest is the request struct for api MVFolder
func CreateMVFolderRequest ¶
func CreateMVFolderRequest() (request *MVFolderRequest)
CreateMVFolderRequest creates a request to invoke MVFolder API
type MVFolderResponse ¶
type MVFolderResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
MVFolderResponse is the response struct for api MVFolder
func CreateMVFolderResponse ¶
func CreateMVFolderResponse() (response *MVFolderResponse)
CreateMVFolderResponse creates a response to parse from MVFolder response
type Metric ¶
type Metric struct { Dps map[string]interface{} `json:"Dps" xml:"Dps"` Summary float64 `json:"Summary" xml:"Summary"` MetricName string `json:"MetricName" xml:"MetricName"` Tags map[string]interface{} `json:"Tags" xml:"Tags"` }
Metric is a nested struct in foas response
type MetricsInGetClusterMetrics ¶
type MetricsInGetClusterMetrics struct {
Metric []Metric `json:"Metric" xml:"Metric"`
}
MetricsInGetClusterMetrics is a nested struct in foas response
type MetricsInGetInstanceMetric ¶
type MetricsInGetInstanceMetric struct {
Metric []Metric `json:"Metric" xml:"Metric"`
}
MetricsInGetInstanceMetric is a nested struct in foas response
type ModifyInstanceStateRequest ¶
type ModifyInstanceStateRequest struct { *requests.RoaRequest IsFlush requests.Boolean `position:"Body" name:"isFlush"` ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` TriggerCheckpoint requests.Boolean `position:"Body" name:"triggerCheckpoint"` ExpectState string `position:"Body" name:"expectState"` JobName string `position:"Path" name:"jobName"` }
ModifyInstanceStateRequest is the request struct for api ModifyInstanceState
func CreateModifyInstanceStateRequest ¶
func CreateModifyInstanceStateRequest() (request *ModifyInstanceStateRequest)
CreateModifyInstanceStateRequest creates a request to invoke ModifyInstanceState API
type ModifyInstanceStateResponse ¶
type ModifyInstanceStateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyInstanceStateResponse is the response struct for api ModifyInstanceState
func CreateModifyInstanceStateResponse ¶
func CreateModifyInstanceStateResponse() (response *ModifyInstanceStateResponse)
CreateModifyInstanceStateResponse creates a response to parse from ModifyInstanceState response
type ModifyMasterSpecRequest ¶
type ModifyMasterSpecRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"clusterId"` MasterTargetModel string `position:"Body" name:"masterTargetModel"` }
ModifyMasterSpecRequest is the request struct for api ModifyMasterSpec
func CreateModifyMasterSpecRequest ¶
func CreateModifyMasterSpecRequest() (request *ModifyMasterSpecRequest)
CreateModifyMasterSpecRequest creates a request to invoke ModifyMasterSpec API
type ModifyMasterSpecResponse ¶
type ModifyMasterSpecResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyMasterSpecResponse is the response struct for api ModifyMasterSpec
func CreateModifyMasterSpecResponse ¶
func CreateModifyMasterSpecResponse() (response *ModifyMasterSpecResponse)
CreateModifyMasterSpecResponse creates a response to parse from ModifyMasterSpec response
type OfflineJobRequest ¶
type OfflineJobRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` JobName string `position:"Path" name:"jobName"` }
OfflineJobRequest is the request struct for api OfflineJob
func CreateOfflineJobRequest ¶
func CreateOfflineJobRequest() (request *OfflineJobRequest)
CreateOfflineJobRequest creates a request to invoke OfflineJob API
type OfflineJobResponse ¶
type OfflineJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
OfflineJobResponse is the response struct for api OfflineJob
func CreateOfflineJobResponse ¶
func CreateOfflineJobResponse() (response *OfflineJobResponse)
CreateOfflineJobResponse creates a response to parse from OfflineJob response
type Output ¶
type Output struct { Type string `json:"Type" xml:"Type"` Workspace string `json:"Workspace" xml:"Workspace"` Name string `json:"Name" xml:"Name"` Properties map[string]interface{} `json:"Properties" xml:"Properties"` Alias string `json:"Alias" xml:"Alias"` }
Output is a nested struct in foas response
type Outputs ¶
type Outputs struct {
Output []Output `json:"Output" xml:"Output"`
}
Outputs is a nested struct in foas response
type Package ¶
type Package struct { ModifyTime int64 `json:"ModifyTime" xml:"ModifyTime"` OriginName string `json:"OriginName" xml:"OriginName"` OssOwner string `json:"OssOwner" xml:"OssOwner"` ScanErrorMessage string `json:"ScanErrorMessage" xml:"ScanErrorMessage"` PackageName string `json:"PackageName" xml:"PackageName"` ScanExtBizNo string `json:"ScanExtBizNo" xml:"ScanExtBizNo"` CreateTime int64 `json:"CreateTime" xml:"CreateTime"` ScanLink string `json:"ScanLink" xml:"ScanLink"` OssBucket string `json:"OssBucket" xml:"OssBucket"` OssPath string `json:"OssPath" xml:"OssPath"` Tag string `json:"Tag" xml:"Tag"` ProjectName string `json:"ProjectName" xml:"ProjectName"` Modifier string `json:"Modifier" xml:"Modifier"` Md5 string `json:"Md5" xml:"Md5"` Creator string `json:"Creator" xml:"Creator"` OssEndpoint string `json:"OssEndpoint" xml:"OssEndpoint"` ScanState string `json:"ScanState" xml:"ScanState"` Description string `json:"Description" xml:"Description"` Type string `json:"Type" xml:"Type"` }
Package is a nested struct in foas response
type Packages ¶
type Packages struct {
Package []Package `json:"Package" xml:"Package"`
}
Packages is a nested struct in foas response
type PlanJsonInfo ¶
type PlanJsonInfo struct { Status string `json:"Status" xml:"Status"` PlanJson string `json:"PlanJson" xml:"PlanJson"` ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` }
PlanJsonInfo is a nested struct in foas response
type PlanJsonResource ¶
type PlanJsonResource struct { Cores float64 `json:"Cores" xml:"Cores"` MemoryGB float64 `json:"MemoryGB" xml:"MemoryGB"` }
PlanJsonResource is a nested struct in foas response
type PlanList ¶
type PlanList struct {
Plan []string `json:"Plan" xml:"Plan"`
}
PlanList is a nested struct in foas response
type Project ¶
type Project struct { Name string `json:"Name" xml:"Name"` Region string `json:"Region" xml:"Region"` ModifyTime int64 `json:"ModifyTime" xml:"ModifyTime"` ClusterId string `json:"ClusterId" xml:"ClusterId"` ManagerIds string `json:"ManagerIds" xml:"ManagerIds"` GlobalJobConfig string `json:"GlobalJobConfig" xml:"GlobalJobConfig"` CreateTime int64 `json:"CreateTime" xml:"CreateTime"` DeployType string `json:"DeployType" xml:"DeployType"` State string `json:"State" xml:"State"` Modifier string `json:"Modifier" xml:"Modifier"` Creator string `json:"Creator" xml:"Creator"` Id string `json:"Id" xml:"Id"` Description string `json:"Description" xml:"Description"` }
Project is a nested struct in foas response
type Projects ¶
type Projects struct {
Project []Project `json:"Project" xml:"Project"`
}
Projects is a nested struct in foas response
type Queue ¶
type Queue struct { ClusterId string `json:"ClusterId" xml:"ClusterId"` QueueName string `json:"QueueName" xml:"QueueName"` UsedVCore int `json:"UsedVCore" xml:"UsedVCore"` ExternalInfo string `json:"ExternalInfo" xml:"ExternalInfo"` MinGpu int `json:"MinGpu" xml:"MinGpu"` UsedMem int `json:"UsedMem" xml:"UsedMem"` MaxVCore int `json:"MaxVCore" xml:"MaxVCore"` MaxMem int `json:"MaxMem" xml:"MaxMem"` MaxGpu int `json:"MaxGpu" xml:"MaxGpu"` UsedGpu int `json:"UsedGpu" xml:"UsedGpu"` MinMem int `json:"MinMem" xml:"MinMem"` MinVCore int `json:"MinVCore" xml:"MinVCore"` }
Queue is a nested struct in foas response
type QueuesInGetClusterQueueInfo ¶
type QueuesInGetClusterQueueInfo struct {
Queue []Queue `json:"Queue" xml:"Queue"`
}
QueuesInGetClusterQueueInfo is a nested struct in foas response
type QueuesInListProjectBindQueue ¶
type QueuesInListProjectBindQueue struct {
Queue []Queue `json:"Queue" xml:"Queue"`
}
QueuesInListProjectBindQueue is a nested struct in foas response
type QueuesInListProjectBindQueueResource ¶
type QueuesInListProjectBindQueueResource struct {
Queue []Queue `json:"Queue" xml:"Queue"`
}
QueuesInListProjectBindQueueResource is a nested struct in foas response
type Resource ¶
type Resource struct { AllocatedMB int64 `json:"AllocatedMB" xml:"AllocatedMB"` TotalVirtualCores int64 `json:"TotalVirtualCores" xml:"TotalVirtualCores"` AllocatedVirtualCores int64 `json:"AllocatedVirtualCores" xml:"AllocatedVirtualCores"` AvailableMB int64 `json:"AvailableMB" xml:"AvailableMB"` TotalMB int64 `json:"TotalMB" xml:"TotalMB"` AvailableVirtualCores int64 `json:"AvailableVirtualCores" xml:"AvailableVirtualCores"` }
Resource is a nested struct in foas response
type RunSummary ¶
type RunSummary struct { LastErrorTime int64 `json:"LastErrorTime" xml:"LastErrorTime"` InputDelay int64 `json:"InputDelay" xml:"InputDelay"` EngineJobHandler string `json:"EngineJobHandler" xml:"EngineJobHandler"` Id int64 `json:"Id" xml:"Id"` ActualState string `json:"ActualState" xml:"ActualState"` LastErrorMessage string `json:"LastErrorMessage" xml:"LastErrorMessage"` ExpectState string `json:"ExpectState" xml:"ExpectState"` JobName string `json:"JobName" xml:"JobName"` }
RunSummary is a nested struct in foas response
type RunSummarys ¶
type RunSummarys struct {
RunSummary []RunSummary `json:"RunSummary" xml:"RunSummary"`
}
RunSummarys is a nested struct in foas response
type ShrinkClusterRequest ¶
type ShrinkClusterRequest struct { *requests.RoaRequest InstanceIds string `position:"Body" name:"instanceIds"` ClusterId string `position:"Path" name:"clusterId"` ModelTargetCount string `position:"Body" name:"modelTargetCount"` }
ShrinkClusterRequest is the request struct for api ShrinkCluster
func CreateShrinkClusterRequest ¶
func CreateShrinkClusterRequest() (request *ShrinkClusterRequest)
CreateShrinkClusterRequest creates a request to invoke ShrinkCluster API
type ShrinkClusterResponse ¶
type ShrinkClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ShrinkClusterResponse is the response struct for api ShrinkCluster
func CreateShrinkClusterResponse ¶
func CreateShrinkClusterResponse() (response *ShrinkClusterResponse)
CreateShrinkClusterResponse creates a response to parse from ShrinkCluster response
type StartJobRequest ¶
type StartJobRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` ParameterJson string `position:"Body" name:"parameterJson"` JobName string `position:"Path" name:"jobName"` }
StartJobRequest is the request struct for api StartJob
func CreateStartJobRequest ¶
func CreateStartJobRequest() (request *StartJobRequest)
CreateStartJobRequest creates a request to invoke StartJob API
type StartJobResponse ¶
type StartJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId int64 `json:"instanceId" xml:"instanceId"` }
StartJobResponse is the response struct for api StartJob
func CreateStartJobResponse ¶
func CreateStartJobResponse() (response *StartJobResponse)
CreateStartJobResponse creates a response to parse from StartJob response
type TagResource ¶ added in v1.61.1315
type TagResource struct { ResourceType string `json:"ResourceType" xml:"ResourceType"` TagKey string `json:"TagKey" xml:"TagKey"` TagValue string `json:"TagValue" xml:"TagValue"` ResourceId string `json:"ResourceId" xml:"ResourceId"` }
TagResource is a nested struct in foas response
type TagResources ¶ added in v1.61.1315
type TagResources struct {
TagResource []TagResource `json:"TagResource" xml:"TagResource"`
}
TagResources is a nested struct in foas response
type TagResourcesRequest ¶ added in v1.61.1315
type TagResourcesRequest struct {
*requests.RoaRequest
}
TagResourcesRequest is the request struct for api TagResources
func CreateTagResourcesRequest ¶ added in v1.61.1315
func CreateTagResourcesRequest() (request *TagResourcesRequest)
CreateTagResourcesRequest creates a request to invoke TagResources API
type TagResourcesResponse ¶ added in v1.61.1315
type TagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data bool `json:"Data" xml:"Data"` }
TagResourcesResponse is the response struct for api TagResources
func CreateTagResourcesResponse ¶ added in v1.61.1315
func CreateTagResourcesResponse() (response *TagResourcesResponse)
CreateTagResourcesResponse creates a response to parse from TagResources response
type UnbindQueueRequest ¶
type UnbindQueueRequest struct { *requests.RoaRequest QueueName string `position:"Query" name:"queueName"` ProjectName string `position:"Path" name:"projectName"` ClusterId string `position:"Query" name:"clusterId"` }
UnbindQueueRequest is the request struct for api UnbindQueue
func CreateUnbindQueueRequest ¶
func CreateUnbindQueueRequest() (request *UnbindQueueRequest)
CreateUnbindQueueRequest creates a request to invoke UnbindQueue API
type UnbindQueueResponse ¶
type UnbindQueueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UnbindQueueResponse is the response struct for api UnbindQueue
func CreateUnbindQueueResponse ¶
func CreateUnbindQueueResponse() (response *UnbindQueueResponse)
CreateUnbindQueueResponse creates a response to parse from UnbindQueue response
type UntagResourcesRequest ¶ added in v1.61.1315
type UntagResourcesRequest struct { *requests.RoaRequest All requests.Boolean `position:"Query" name:"All"` TagKeys string `position:"Query" name:"TagKeys"` ResourceType string `position:"Query" name:"ResourceType"` ResourceIds string `position:"Query" name:"ResourceIds"` }
UntagResourcesRequest is the request struct for api UntagResources
func CreateUntagResourcesRequest ¶ added in v1.61.1315
func CreateUntagResourcesRequest() (request *UntagResourcesRequest)
CreateUntagResourcesRequest creates a request to invoke UntagResources API
type UntagResourcesResponse ¶ added in v1.61.1315
type UntagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Success bool `json:"Success" xml:"Success"` HttpStatusCode int `json:"HttpStatusCode" xml:"HttpStatusCode"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data bool `json:"Data" xml:"Data"` }
UntagResourcesResponse is the response struct for api UntagResources
func CreateUntagResourcesResponse ¶ added in v1.61.1315
func CreateUntagResourcesResponse() (response *UntagResourcesResponse)
CreateUntagResourcesResponse creates a response to parse from UntagResources response
type UpdateAutoScaleConfigRequest ¶
type UpdateAutoScaleConfigRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` InstanceId requests.Integer `position:"Path" name:"instanceId"` ConfigJson string `position:"Body" name:"configJson"` JobName string `position:"Path" name:"jobName"` }
UpdateAutoScaleConfigRequest is the request struct for api UpdateAutoScaleConfig
func CreateUpdateAutoScaleConfigRequest ¶
func CreateUpdateAutoScaleConfigRequest() (request *UpdateAutoScaleConfigRequest)
CreateUpdateAutoScaleConfigRequest creates a request to invoke UpdateAutoScaleConfig API
type UpdateAutoScaleConfigResponse ¶
type UpdateAutoScaleConfigResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateAutoScaleConfigResponse is the response struct for api UpdateAutoScaleConfig
func CreateUpdateAutoScaleConfigResponse ¶
func CreateUpdateAutoScaleConfigResponse() (response *UpdateAutoScaleConfigResponse)
CreateUpdateAutoScaleConfigResponse creates a response to parse from UpdateAutoScaleConfig response
type UpdateJobRequest ¶
type UpdateJobRequest struct { *requests.RoaRequest QueueName string `position:"Body" name:"queueName"` ProjectName string `position:"Path" name:"projectName"` Code string `position:"Body" name:"code"` Description string `position:"Body" name:"description"` PlanJson string `position:"Body" name:"planJson"` EngineVersion string `position:"Body" name:"engineVersion"` ClusterId string `position:"Body" name:"clusterId"` Packages string `position:"Body" name:"packages"` FolderId requests.Integer `position:"Body" name:"folderId"` Properties string `position:"Body" name:"properties"` JobName string `position:"Path" name:"jobName"` }
UpdateJobRequest is the request struct for api UpdateJob
func CreateUpdateJobRequest ¶
func CreateUpdateJobRequest() (request *UpdateJobRequest)
CreateUpdateJobRequest creates a request to invoke UpdateJob API
type UpdateJobResponse ¶
type UpdateJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateJobResponse is the response struct for api UpdateJob
func CreateUpdateJobResponse ¶
func CreateUpdateJobResponse() (response *UpdateJobResponse)
CreateUpdateJobResponse creates a response to parse from UpdateJob response
type UpdatePackageRequest ¶
type UpdatePackageRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` OssBucket string `position:"Body" name:"ossBucket"` OssOwner string `position:"Body" name:"ossOwner"` PackageName string `position:"Path" name:"packageName"` OssEndpoint string `position:"Body" name:"ossEndpoint"` Description string `position:"Body" name:"description"` Tag string `position:"Body" name:"tag"` OriginName string `position:"Body" name:"originName"` OssPath string `position:"Body" name:"ossPath"` Md5 string `position:"Body" name:"md5"` }
UpdatePackageRequest is the request struct for api UpdatePackage
func CreateUpdatePackageRequest ¶
func CreateUpdatePackageRequest() (request *UpdatePackageRequest)
CreateUpdatePackageRequest creates a request to invoke UpdatePackage API
type UpdatePackageResponse ¶
type UpdatePackageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdatePackageResponse is the response struct for api UpdatePackage
func CreateUpdatePackageResponse ¶
func CreateUpdatePackageResponse() (response *UpdatePackageResponse)
CreateUpdatePackageResponse creates a response to parse from UpdatePackage response
type UpdateProjectConfigRequest ¶ added in v1.61.1315
type UpdateProjectConfigRequest struct { *requests.RoaRequest ProjectName string `position:"Query" name:"ProjectName"` IsOpenBatchSQL requests.Boolean `position:"Query" name:"IsOpenBatchSQL"` }
UpdateProjectConfigRequest is the request struct for api UpdateProjectConfig
func CreateUpdateProjectConfigRequest ¶ added in v1.61.1315
func CreateUpdateProjectConfigRequest() (request *UpdateProjectConfigRequest)
CreateUpdateProjectConfigRequest creates a request to invoke UpdateProjectConfig API
type UpdateProjectConfigResponse ¶ added in v1.61.1315
type UpdateProjectConfigResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Data bool `json:"Data" xml:"Data"` }
UpdateProjectConfigResponse is the response struct for api UpdateProjectConfig
func CreateUpdateProjectConfigResponse ¶ added in v1.61.1315
func CreateUpdateProjectConfigResponse() (response *UpdateProjectConfigResponse)
CreateUpdateProjectConfigResponse creates a response to parse from UpdateProjectConfig response
type UpdateProjectRequest ¶ added in v1.61.1315
type UpdateProjectRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` GlobalJobConfig string `position:"Body" name:"globalJobConfig"` }
UpdateProjectRequest is the request struct for api UpdateProject
func CreateUpdateProjectRequest ¶ added in v1.61.1315
func CreateUpdateProjectRequest() (request *UpdateProjectRequest)
CreateUpdateProjectRequest creates a request to invoke UpdateProject API
type UpdateProjectResponse ¶ added in v1.61.1315
type UpdateProjectResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateProjectResponse is the response struct for api UpdateProject
func CreateUpdateProjectResponse ¶ added in v1.61.1315
func CreateUpdateProjectResponse() (response *UpdateProjectResponse)
CreateUpdateProjectResponse creates a response to parse from UpdateProject response
type UpdateQueueRequest ¶ added in v1.61.1315
type UpdateQueueRequest struct { *requests.RoaRequest QueueName string `position:"Body" name:"queueName"` MaxMemMB requests.Integer `position:"Body" name:"maxMemMB"` ClusterId string `position:"Path" name:"clusterId"` Gpu requests.Integer `position:"Body" name:"gpu"` MaxVcore requests.Integer `position:"Body" name:"maxVcore"` }
UpdateQueueRequest is the request struct for api UpdateQueue
func CreateUpdateQueueRequest ¶ added in v1.61.1315
func CreateUpdateQueueRequest() (request *UpdateQueueRequest)
CreateUpdateQueueRequest creates a request to invoke UpdateQueue API
type UpdateQueueResponse ¶ added in v1.61.1315
type UpdateQueueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UpdateQueueResponse is the response struct for api UpdateQueue
func CreateUpdateQueueResponse ¶ added in v1.61.1315
func CreateUpdateQueueResponse() (response *UpdateQueueResponse)
CreateUpdateQueueResponse creates a response to parse from UpdateQueue response
type ValidateJobRequest ¶
type ValidateJobRequest struct { *requests.RoaRequest ProjectName string `position:"Path" name:"projectName"` JobName string `position:"Path" name:"jobName"` }
ValidateJobRequest is the request struct for api ValidateJob
func CreateValidateJobRequest ¶
func CreateValidateJobRequest() (request *ValidateJobRequest)
CreateValidateJobRequest creates a request to invoke ValidateJob API
type ValidateJobResponse ¶
type ValidateJobResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` JobInOut JobInOut `json:"JobInOut" xml:"JobInOut"` }
ValidateJobResponse is the response struct for api ValidateJob
func CreateValidateJobResponse ¶
func CreateValidateJobResponse() (response *ValidateJobResponse)
CreateValidateJobResponse creates a response to parse from ValidateJob response
Source Files ¶
- batch_get_instance_run_summary.go
- bind_queue.go
- calc_plan_json_resource.go
- check_raw_plan_json.go
- client.go
- commit_job.go
- create_cell_cluster_order.go
- create_cluster.go
- create_folder.go
- create_job.go
- create_package.go
- create_project.go
- create_queue.go
- delete_folder.go
- delete_job.go
- delete_package.go
- delete_project.go
- delete_queue.go
- destroy_cluster.go
- endpoint.go
- expand_cluster.go
- get_cluster_details.go
- get_cluster_engine_versions.go
- get_cluster_metrics.go
- get_cluster_queue_info.go
- get_cluster_resource.go
- get_folder.go
- get_instance.go
- get_instance_checkpoint.go
- get_instance_config.go
- get_instance_detail.go
- get_instance_exceptions.go
- get_instance_final_state.go
- get_instance_history_auto_scale_plan_content.go
- get_instance_history_auto_scale_plan_list.go
- get_instance_metric.go
- get_instance_resource.go
- get_instance_run_summary.go
- get_job.go
- get_job_latest_auto_scale_plan.go
- get_package.go
- get_project.go
- get_raw_plan_json.go
- get_ref_package_job.go
- list_child_folder.go
- list_cluster.go
- list_instance.go
- list_job.go
- list_package.go
- list_project.go
- list_project_bind_queue.go
- list_project_bind_queue_resource.go
- list_tag_resources.go
- modify_instance_state.go
- modify_master_spec.go
- mv_folder.go
- offline_job.go
- shrink_cluster.go
- start_job.go
- struct_cluster.go
- struct_clusters.go
- struct_data.go
- struct_details.go
- struct_dim.go
- struct_dims.go
- struct_engine_versions.go
- struct_folder.go
- struct_folders.go
- struct_input.go
- struct_inputs.go
- struct_instance.go
- struct_instances.go
- struct_job.go
- struct_job_in_out.go
- struct_jobs_in_get_ref_package_job.go
- struct_jobs_in_list_job.go
- struct_metric.go
- struct_metrics_in_get_cluster_metrics.go
- struct_metrics_in_get_instance_metric.go
- struct_output.go
- struct_outputs.go
- struct_package.go
- struct_packages.go
- struct_plan_json_info.go
- struct_plan_json_resource.go
- struct_plan_list.go
- struct_project.go
- struct_projects.go
- struct_queue.go
- struct_queues_in_get_cluster_queue_info.go
- struct_queues_in_list_project_bind_queue.go
- struct_queues_in_list_project_bind_queue_resource.go
- struct_resource.go
- struct_run_summary.go
- struct_run_summarys.go
- struct_tag_resource.go
- struct_tag_resources.go
- tag_resources.go
- unbind_queue.go
- untag_resources.go
- update_auto_scale_config.go
- update_job.go
- update_package.go
- update_project.go
- update_project_config.go
- update_queue.go
- validate_job.go