Documentation ¶
Index ¶
- Constants
- type Autoscaler
- type Client
- func (c *Client) CreateApplication(request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
- func (c *Client) CreateApplicationAutoscaler(request *CreateApplicationAutoscalerRequest) (response *CreateApplicationAutoscalerResponse, err error)
- func (c *Client) CreateApplicationAutoscalerWithContext(ctx context.Context, request *CreateApplicationAutoscalerRequest) (response *CreateApplicationAutoscalerResponse, err error)
- func (c *Client) CreateApplicationService(request *CreateApplicationServiceRequest) (response *CreateApplicationServiceResponse, err error)
- func (c *Client) CreateApplicationServiceWithContext(ctx context.Context, request *CreateApplicationServiceRequest) (response *CreateApplicationServiceResponse, err error)
- func (c *Client) CreateApplicationWithContext(ctx context.Context, request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
- func (c *Client) CreateConfigData(request *CreateConfigDataRequest) (response *CreateConfigDataResponse, err error)
- func (c *Client) CreateConfigDataWithContext(ctx context.Context, request *CreateConfigDataRequest) (response *CreateConfigDataResponse, err error)
- func (c *Client) CreateCosToken(request *CreateCosTokenRequest) (response *CreateCosTokenResponse, err error)
- func (c *Client) CreateCosTokenWithContext(ctx context.Context, request *CreateCosTokenRequest) (response *CreateCosTokenResponse, err error)
- func (c *Client) CreateEnvironment(request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
- func (c *Client) CreateEnvironmentWithContext(ctx context.Context, request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
- func (c *Client) CreateLogConfig(request *CreateLogConfigRequest) (response *CreateLogConfigResponse, err error)
- func (c *Client) CreateLogConfigWithContext(ctx context.Context, request *CreateLogConfigRequest) (response *CreateLogConfigResponse, err error)
- func (c *Client) CreateResource(request *CreateResourceRequest) (response *CreateResourceResponse, err error)
- func (c *Client) CreateResourceWithContext(ctx context.Context, request *CreateResourceRequest) (response *CreateResourceResponse, err error)
- func (c *Client) DeleteApplication(request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
- func (c *Client) DeleteApplicationAutoscaler(request *DeleteApplicationAutoscalerRequest) (response *DeleteApplicationAutoscalerResponse, err error)
- func (c *Client) DeleteApplicationAutoscalerWithContext(ctx context.Context, request *DeleteApplicationAutoscalerRequest) (response *DeleteApplicationAutoscalerResponse, err error)
- func (c *Client) DeleteApplicationService(request *DeleteApplicationServiceRequest) (response *DeleteApplicationServiceResponse, err error)
- func (c *Client) DeleteApplicationServiceWithContext(ctx context.Context, request *DeleteApplicationServiceRequest) (response *DeleteApplicationServiceResponse, err error)
- func (c *Client) DeleteApplicationWithContext(ctx context.Context, request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
- func (c *Client) DeleteIngress(request *DeleteIngressRequest) (response *DeleteIngressResponse, err error)
- func (c *Client) DeleteIngressWithContext(ctx context.Context, request *DeleteIngressRequest) (response *DeleteIngressResponse, err error)
- func (c *Client) DeployApplication(request *DeployApplicationRequest) (response *DeployApplicationResponse, err error)
- func (c *Client) DeployApplicationWithContext(ctx context.Context, request *DeployApplicationRequest) (response *DeployApplicationResponse, err error)
- func (c *Client) DescribeApplicationAutoscalerList(request *DescribeApplicationAutoscalerListRequest) (response *DescribeApplicationAutoscalerListResponse, err error)
- func (c *Client) DescribeApplicationAutoscalerListWithContext(ctx context.Context, request *DescribeApplicationAutoscalerListRequest) (response *DescribeApplicationAutoscalerListResponse, err error)
- func (c *Client) DescribeApplicationInfo(request *DescribeApplicationInfoRequest) (response *DescribeApplicationInfoResponse, err error)
- func (c *Client) DescribeApplicationInfoWithContext(ctx context.Context, request *DescribeApplicationInfoRequest) (response *DescribeApplicationInfoResponse, err error)
- func (c *Client) DescribeApplicationPods(request *DescribeApplicationPodsRequest) (response *DescribeApplicationPodsResponse, err error)
- func (c *Client) DescribeApplicationPodsWithContext(ctx context.Context, request *DescribeApplicationPodsRequest) (response *DescribeApplicationPodsResponse, err error)
- func (c *Client) DescribeApplicationServiceList(request *DescribeApplicationServiceListRequest) (response *DescribeApplicationServiceListResponse, err error)
- func (c *Client) DescribeApplicationServiceListWithContext(ctx context.Context, request *DescribeApplicationServiceListRequest) (response *DescribeApplicationServiceListResponse, err error)
- func (c *Client) DescribeApplications(request *DescribeApplicationsRequest) (response *DescribeApplicationsResponse, err error)
- func (c *Client) DescribeApplicationsStatus(request *DescribeApplicationsStatusRequest) (response *DescribeApplicationsStatusResponse, err error)
- func (c *Client) DescribeApplicationsStatusWithContext(ctx context.Context, request *DescribeApplicationsStatusRequest) (response *DescribeApplicationsStatusResponse, err error)
- func (c *Client) DescribeApplicationsWithContext(ctx context.Context, request *DescribeApplicationsRequest) (response *DescribeApplicationsResponse, err error)
- func (c *Client) DescribeConfigData(request *DescribeConfigDataRequest) (response *DescribeConfigDataResponse, err error)
- func (c *Client) DescribeConfigDataList(request *DescribeConfigDataListRequest) (response *DescribeConfigDataListResponse, err error)
- func (c *Client) DescribeConfigDataListWithContext(ctx context.Context, request *DescribeConfigDataListRequest) (response *DescribeConfigDataListResponse, err error)
- func (c *Client) DescribeConfigDataWithContext(ctx context.Context, request *DescribeConfigDataRequest) (response *DescribeConfigDataResponse, err error)
- func (c *Client) DescribeEnvironment(request *DescribeEnvironmentRequest) (response *DescribeEnvironmentResponse, err error)
- func (c *Client) DescribeEnvironmentStatus(request *DescribeEnvironmentStatusRequest) (response *DescribeEnvironmentStatusResponse, err error)
- func (c *Client) DescribeEnvironmentStatusWithContext(ctx context.Context, request *DescribeEnvironmentStatusRequest) (response *DescribeEnvironmentStatusResponse, err error)
- func (c *Client) DescribeEnvironmentWithContext(ctx context.Context, request *DescribeEnvironmentRequest) (response *DescribeEnvironmentResponse, err error)
- func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeIngress(request *DescribeIngressRequest) (response *DescribeIngressResponse, err error)
- func (c *Client) DescribeIngressWithContext(ctx context.Context, request *DescribeIngressRequest) (response *DescribeIngressResponse, err error)
- func (c *Client) DescribeIngresses(request *DescribeIngressesRequest) (response *DescribeIngressesResponse, err error)
- func (c *Client) DescribeIngressesWithContext(ctx context.Context, request *DescribeIngressesRequest) (response *DescribeIngressesResponse, err error)
- func (c *Client) DescribeLogConfig(request *DescribeLogConfigRequest) (response *DescribeLogConfigResponse, err error)
- func (c *Client) DescribeLogConfigWithContext(ctx context.Context, request *DescribeLogConfigRequest) (response *DescribeLogConfigResponse, err error)
- func (c *Client) DescribePagedLogConfigList(request *DescribePagedLogConfigListRequest) (response *DescribePagedLogConfigListResponse, err error)
- func (c *Client) DescribePagedLogConfigListWithContext(ctx context.Context, request *DescribePagedLogConfigListRequest) (response *DescribePagedLogConfigListResponse, err error)
- func (c *Client) DescribeRelatedIngresses(request *DescribeRelatedIngressesRequest) (response *DescribeRelatedIngressesResponse, err error)
- func (c *Client) DescribeRelatedIngressesWithContext(ctx context.Context, request *DescribeRelatedIngressesRequest) (response *DescribeRelatedIngressesResponse, err error)
- func (c *Client) DestroyConfigData(request *DestroyConfigDataRequest) (response *DestroyConfigDataResponse, err error)
- func (c *Client) DestroyConfigDataWithContext(ctx context.Context, request *DestroyConfigDataRequest) (response *DestroyConfigDataResponse, err error)
- func (c *Client) DestroyEnvironment(request *DestroyEnvironmentRequest) (response *DestroyEnvironmentResponse, err error)
- func (c *Client) DestroyEnvironmentWithContext(ctx context.Context, request *DestroyEnvironmentRequest) (response *DestroyEnvironmentResponse, err error)
- func (c *Client) DestroyLogConfig(request *DestroyLogConfigRequest) (response *DestroyLogConfigResponse, err error)
- func (c *Client) DestroyLogConfigWithContext(ctx context.Context, request *DestroyLogConfigRequest) (response *DestroyLogConfigResponse, err error)
- func (c *Client) DisableApplicationAutoscaler(request *DisableApplicationAutoscalerRequest) (response *DisableApplicationAutoscalerResponse, err error)
- func (c *Client) DisableApplicationAutoscalerWithContext(ctx context.Context, request *DisableApplicationAutoscalerRequest) (response *DisableApplicationAutoscalerResponse, err error)
- func (c *Client) EnableApplicationAutoscaler(request *EnableApplicationAutoscalerRequest) (response *EnableApplicationAutoscalerResponse, err error)
- func (c *Client) EnableApplicationAutoscalerWithContext(ctx context.Context, request *EnableApplicationAutoscalerRequest) (response *EnableApplicationAutoscalerResponse, err error)
- func (c *Client) GenerateApplicationPackageDownloadUrl(request *GenerateApplicationPackageDownloadUrlRequest) (response *GenerateApplicationPackageDownloadUrlResponse, err error)
- func (c *Client) GenerateApplicationPackageDownloadUrlWithContext(ctx context.Context, request *GenerateApplicationPackageDownloadUrlRequest) (response *GenerateApplicationPackageDownloadUrlResponse, err error)
- func (c *Client) ModifyApplicationAutoscaler(request *ModifyApplicationAutoscalerRequest) (response *ModifyApplicationAutoscalerResponse, err error)
- func (c *Client) ModifyApplicationAutoscalerWithContext(ctx context.Context, request *ModifyApplicationAutoscalerRequest) (response *ModifyApplicationAutoscalerResponse, err error)
- func (c *Client) ModifyApplicationInfo(request *ModifyApplicationInfoRequest) (response *ModifyApplicationInfoResponse, err error)
- func (c *Client) ModifyApplicationInfoWithContext(ctx context.Context, request *ModifyApplicationInfoRequest) (response *ModifyApplicationInfoResponse, err error)
- func (c *Client) ModifyApplicationService(request *ModifyApplicationServiceRequest) (response *ModifyApplicationServiceResponse, err error)
- func (c *Client) ModifyApplicationServiceWithContext(ctx context.Context, request *ModifyApplicationServiceRequest) (response *ModifyApplicationServiceResponse, err error)
- func (c *Client) ModifyConfigData(request *ModifyConfigDataRequest) (response *ModifyConfigDataResponse, err error)
- func (c *Client) ModifyConfigDataWithContext(ctx context.Context, request *ModifyConfigDataRequest) (response *ModifyConfigDataResponse, err error)
- func (c *Client) ModifyEnvironment(request *ModifyEnvironmentRequest) (response *ModifyEnvironmentResponse, err error)
- func (c *Client) ModifyEnvironmentWithContext(ctx context.Context, request *ModifyEnvironmentRequest) (response *ModifyEnvironmentResponse, err error)
- func (c *Client) ModifyIngress(request *ModifyIngressRequest) (response *ModifyIngressResponse, err error)
- func (c *Client) ModifyIngressWithContext(ctx context.Context, request *ModifyIngressRequest) (response *ModifyIngressResponse, err error)
- func (c *Client) ModifyLogConfig(request *ModifyLogConfigRequest) (response *ModifyLogConfigResponse, err error)
- func (c *Client) ModifyLogConfigWithContext(ctx context.Context, request *ModifyLogConfigRequest) (response *ModifyLogConfigResponse, err error)
- func (c *Client) RestartApplication(request *RestartApplicationRequest) (response *RestartApplicationResponse, err error)
- func (c *Client) RestartApplicationPod(request *RestartApplicationPodRequest) (response *RestartApplicationPodResponse, err error)
- func (c *Client) RestartApplicationPodWithContext(ctx context.Context, request *RestartApplicationPodRequest) (response *RestartApplicationPodResponse, err error)
- func (c *Client) RestartApplicationWithContext(ctx context.Context, request *RestartApplicationRequest) (response *RestartApplicationResponse, err error)
- func (c *Client) RollingUpdateApplicationByVersion(request *RollingUpdateApplicationByVersionRequest) (response *RollingUpdateApplicationByVersionResponse, err error)
- func (c *Client) RollingUpdateApplicationByVersionWithContext(ctx context.Context, request *RollingUpdateApplicationByVersionRequest) (response *RollingUpdateApplicationByVersionResponse, err error)
- func (c *Client) StopApplication(request *StopApplicationRequest) (response *StopApplicationResponse, err error)
- func (c *Client) StopApplicationWithContext(ctx context.Context, request *StopApplicationRequest) (response *StopApplicationResponse, err error)
- type ConfigData
- type CosToken
- type CreateApplicationAutoscalerRequest
- type CreateApplicationAutoscalerRequestParams
- type CreateApplicationAutoscalerResponse
- type CreateApplicationAutoscalerResponseParams
- type CreateApplicationRequest
- type CreateApplicationRequestParams
- type CreateApplicationResponse
- type CreateApplicationResponseParams
- type CreateApplicationServiceRequest
- type CreateApplicationServiceRequestParams
- type CreateApplicationServiceResponse
- type CreateApplicationServiceResponseParams
- type CreateConfigDataRequest
- type CreateConfigDataRequestParams
- type CreateConfigDataResponse
- type CreateConfigDataResponseParams
- type CreateCosTokenRequest
- type CreateCosTokenRequestParams
- type CreateCosTokenResponse
- type CreateCosTokenResponseParams
- type CreateEnvironmentRequest
- type CreateEnvironmentRequestParams
- type CreateEnvironmentResponse
- type CreateEnvironmentResponseParams
- type CreateLogConfigRequest
- type CreateLogConfigRequestParams
- type CreateLogConfigResponse
- type CreateLogConfigResponseParams
- type CreateResourceRequest
- type CreateResourceRequestParams
- type CreateResourceResponse
- type CreateResourceResponseParams
- type CronHorizontalAutoscaler
- type CronHorizontalAutoscalerSchedule
- type DeleteApplicationAutoscalerRequest
- type DeleteApplicationAutoscalerRequestParams
- type DeleteApplicationAutoscalerResponse
- type DeleteApplicationAutoscalerResponseParams
- type DeleteApplicationRequest
- type DeleteApplicationRequestParams
- type DeleteApplicationResponse
- type DeleteApplicationResponseParams
- type DeleteApplicationServiceRequest
- type DeleteApplicationServiceRequestParams
- type DeleteApplicationServiceResponse
- type DeleteApplicationServiceResponseParams
- type DeleteIngressRequest
- type DeleteIngressRequestParams
- type DeleteIngressResponse
- type DeleteIngressResponseParams
- type DeployApplicationRequest
- type DeployApplicationRequestParams
- type DeployApplicationResponse
- type DeployApplicationResponseParams
- type DeployStrategyConf
- type DescribeApplicationAutoscalerListRequest
- type DescribeApplicationAutoscalerListRequestParams
- type DescribeApplicationAutoscalerListResponse
- type DescribeApplicationAutoscalerListResponseParams
- type DescribeApplicationInfoRequest
- type DescribeApplicationInfoRequestParams
- type DescribeApplicationInfoResponse
- type DescribeApplicationInfoResponseParams
- type DescribeApplicationPodsRequest
- type DescribeApplicationPodsRequestParams
- type DescribeApplicationPodsResponse
- type DescribeApplicationPodsResponseParams
- type DescribeApplicationServiceListRequest
- type DescribeApplicationServiceListRequestParams
- type DescribeApplicationServiceListResponse
- type DescribeApplicationServiceListResponseParams
- type DescribeApplicationsRequest
- type DescribeApplicationsRequestParams
- type DescribeApplicationsResponse
- type DescribeApplicationsResponseParams
- type DescribeApplicationsStatusRequest
- type DescribeApplicationsStatusRequestParams
- type DescribeApplicationsStatusResponse
- type DescribeApplicationsStatusResponseParams
- type DescribeConfigDataListPage
- type DescribeConfigDataListRequest
- type DescribeConfigDataListRequestParams
- type DescribeConfigDataListResponse
- type DescribeConfigDataListResponseParams
- type DescribeConfigDataRequest
- type DescribeConfigDataRequestParams
- type DescribeConfigDataResponse
- type DescribeConfigDataResponseParams
- type DescribeEnvironmentRequest
- type DescribeEnvironmentRequestParams
- type DescribeEnvironmentResponse
- type DescribeEnvironmentResponseParams
- type DescribeEnvironmentStatusRequest
- type DescribeEnvironmentStatusRequestParams
- type DescribeEnvironmentStatusResponse
- type DescribeEnvironmentStatusResponseParams
- type DescribeEnvironmentsRequest
- type DescribeEnvironmentsRequestParams
- type DescribeEnvironmentsResponse
- type DescribeEnvironmentsResponseParams
- type DescribeIngressRequest
- type DescribeIngressRequestParams
- type DescribeIngressResponse
- type DescribeIngressResponseParams
- type DescribeIngressesRequest
- type DescribeIngressesRequestParams
- type DescribeIngressesResponse
- type DescribeIngressesResponseParams
- type DescribeLogConfigRequest
- type DescribeLogConfigRequestParams
- type DescribeLogConfigResponse
- type DescribeLogConfigResponseParams
- type DescribePagedLogConfigListRequest
- type DescribePagedLogConfigListRequestParams
- type DescribePagedLogConfigListResponse
- type DescribePagedLogConfigListResponseParams
- type DescribeRelatedIngressesRequest
- type DescribeRelatedIngressesRequestParams
- type DescribeRelatedIngressesResponse
- type DescribeRelatedIngressesResponseParams
- type DescribeRunPodPage
- type DestroyConfigDataRequest
- type DestroyConfigDataRequestParams
- type DestroyConfigDataResponse
- type DestroyConfigDataResponseParams
- type DestroyEnvironmentRequest
- type DestroyEnvironmentRequestParams
- type DestroyEnvironmentResponse
- type DestroyEnvironmentResponseParams
- type DestroyLogConfigRequest
- type DestroyLogConfigRequestParams
- type DestroyLogConfigResponse
- type DestroyLogConfigResponseParams
- type DisableApplicationAutoscalerRequest
- type DisableApplicationAutoscalerRequestParams
- type DisableApplicationAutoscalerResponse
- type DisableApplicationAutoscalerResponseParams
- type EksService
- type EnableApplicationAutoscalerRequest
- type EnableApplicationAutoscalerRequestParams
- type EnableApplicationAutoscalerResponse
- type EnableApplicationAutoscalerResponseParams
- type EnablePrometheusConf
- type EsInfo
- type GenerateApplicationPackageDownloadUrlRequest
- type GenerateApplicationPackageDownloadUrlRequestParams
- type GenerateApplicationPackageDownloadUrlResponse
- type GenerateApplicationPackageDownloadUrlResponseParams
- type HealthCheckConfig
- type HorizontalAutoscaler
- type IngressInfo
- type IngressRule
- type IngressRuleBackend
- type IngressRulePath
- type IngressRuleValue
- type IngressTls
- type LogConfig
- type LogConfigExtractRule
- type LogConfigListPage
- type LogOutputConf
- type ModifyApplicationAutoscalerRequest
- type ModifyApplicationAutoscalerRequestParams
- type ModifyApplicationAutoscalerResponse
- type ModifyApplicationAutoscalerResponseParams
- type ModifyApplicationInfoRequest
- type ModifyApplicationInfoRequestParams
- type ModifyApplicationInfoResponse
- type ModifyApplicationInfoResponseParams
- type ModifyApplicationServiceRequest
- type ModifyApplicationServiceRequestParams
- type ModifyApplicationServiceResponse
- type ModifyApplicationServiceResponseParams
- type ModifyConfigDataRequest
- type ModifyConfigDataRequestParams
- type ModifyConfigDataResponse
- type ModifyConfigDataResponseParams
- type ModifyEnvironmentRequest
- type ModifyEnvironmentRequestParams
- type ModifyEnvironmentResponse
- type ModifyEnvironmentResponseParams
- type ModifyIngressRequest
- type ModifyIngressRequestParams
- type ModifyIngressResponse
- type ModifyIngressResponseParams
- type ModifyLogConfigRequest
- type ModifyLogConfigRequestParams
- type ModifyLogConfigResponse
- type ModifyLogConfigResponseParams
- type MountedSettingConf
- type NamespaceInfo
- type NamespacePage
- type NamespaceStatusInfo
- type NodeInfo
- type Pair
- type PortMapping
- type QueryFilter
- type RestartApplicationPodRequest
- type RestartApplicationPodRequestParams
- type RestartApplicationPodResponse
- type RestartApplicationPodResponseParams
- type RestartApplicationRequest
- type RestartApplicationRequestParams
- type RestartApplicationResponse
- type RestartApplicationResponseParams
- type RollingUpdateApplicationByVersionRequest
- type RollingUpdateApplicationByVersionRequestParams
- type RollingUpdateApplicationByVersionResponse
- type RollingUpdateApplicationByVersionResponseParams
- type RunVersionPod
- type ServicePage
- type ServicePortMapping
- type ServicePortMappingItem
- type ServiceVersionBrief
- type SortType
- type StopApplicationRequest
- type StopApplicationRequestParams
- type StopApplicationResponse
- type StopApplicationResponseParams
- type StorageConf
- type StorageMountConf
- type Tag
- type TemEnvironmentStartingStatus
- type TemEnvironmentStoppingStatus
- type TemNamespaceInfo
- type TemService
- type TemServiceVersionInfo
- type UseDefaultRepoParameters
- type WorkloadInfo
Constants ¶
const ( // FAILEDOPERATION_CREATESERVICEERROR = "FailedOperation.CreateServiceError" // FAILEDOPERATION_DEFAULTINTERNALERROR = "FailedOperation.DefaultInternalError" // FAILEDOPERATION_DELETESERVICEERROR = "FailedOperation.DeleteServiceError" // Request timed out INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" // Exception occurs while adding the subnet/virtual node INTERNALERROR_ADDNEWNODEERROR = "InternalError.AddNewNodeError" // Failed to create the APM resource INTERNALERROR_CREATEAPMRESOURCEERROR = "InternalError.CreateApmResourceError" // Failed to create the configuration. INTERNALERROR_CREATECONFIGDATAERROR = "InternalError.CreateConfigDataError" // Failed to create the underlayer cluster INTERNALERROR_CREATEEKSCLUSTERERROR = "InternalError.CreateEksClusterError" // Error while creating the LogConfig. INTERNALERROR_CREATELOGCONFIGERROR = "InternalError.CreateLogConfigError" // Failed to create the service. INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError" // The server is busy. Retry later. INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" // Failed to delete the ingress INTERNALERROR_DELETEINGRESSERROR = "InternalError.DeleteIngressError" // Error while deleting the LogConfig. INTERNALERROR_DELETELOGCONFIGERROR = "InternalError.DeleteLogConfigError" // Failed to delete the application INTERNALERROR_DELETESERVICEERROR = "InternalError.DeleteServiceError" // Failed to invoke the version deployment INTERNALERROR_DEPLOYVERSIONERROR = "InternalError.DeployVersionError" // Failed to query the configuration details. INTERNALERROR_DESCRIBECONFIGDATAERROR = "InternalError.DescribeConfigDataError" // Failed to query the configuration list. INTERNALERROR_DESCRIBECONFIGDATALISTERROR = "InternalError.DescribeConfigDataListError" // Failed to query the ingress. INTERNALERROR_DESCRIBEINGRESSERROR = "InternalError.DescribeIngressError" // Failed to query the ingress list INTERNALERROR_DESCRIBEINGRESSLISTERROR = "InternalError.DescribeIngressListError" // Error while querying the LogConfig. INTERNALERROR_DESCRIBELOGCONFIGERROR = "InternalError.DescribeLogConfigError" // Error while querying the LogConfig list. INTERNALERROR_DESCRIBELOGCONFIGLISTERROR = "InternalError.DescribeLogConfigListError" // Failed to query the instance information INTERNALERROR_DESCRIBERUNPODLISTERROR = "InternalError.DescribeRunPodListError" // Failed to query the service. INTERNALERROR_DESCRIBESERVICEERROR = "InternalError.DescribeServiceError" // Failed to query the list of ingress associated with the service. INTERNALERROR_DESCRIBESERVICEINGRESSERROR = "InternalError.DescribeServiceIngressError" // Failed to query the service list INTERNALERROR_DESCRIBESERVICELISTERROR = "InternalError.DescribeServiceListError" // Failed to modify the configuration. INTERNALERROR_MODIFYCONFIGDATAERROR = "InternalError.ModifyConfigDataError" // Error while modifying the LogConfig. INTERNALERROR_MODIFYLOGCONFIGERROR = "InternalError.ModifyLogConfigError" // Failed to restart INTERNALERROR_RESTARTAPPLICATIONERROR = "InternalError.RestartApplicationError" // Failed to stop an application INTERNALERROR_STOPAPPLICATIONERROR = "InternalError.StopApplicationError" // Exception while calling the tag-related APIs. INTERNALERROR_TAGINTERFACEERROR = "InternalError.TagInterfaceError" // Failed to update the ingress INTERNALERROR_UPDATEINGRESSERROR = "InternalError.UpdateIngressError" // Reached the upper limit of access policies for this application. INVALIDPARAMETER_APPLICATIONACCESSSERVICEREACHMAXIMUM = "InvalidParameter.ApplicationAccessServiceReachMaximum" // For an LB application, TCP and UDP cannot be both supported.. INVALIDPARAMETER_LBSERVICECANNOTSUPPORTTCPUDPSAMETIME = "InvalidParameter.LBServiceCannotSupportTcpUdpSameTime" // The PortMapping rule is required. INVALIDPARAMETER_MUSTPROVIDEPORTMAPPINGRULES = "InvalidParameter.MustProvidePortMappingRules" // The application name is invalid. INVALIDPARAMETER_SERVICENAMENOTVALID = "InvalidParameter.ServiceNameNotValid" // The suffix of the application name is not allowed. INVALIDPARAMETER_SERVICEUSERESERVESUFFIX = "InvalidParameter.ServiceUseReserveSuffix" // Reached the upper limit of PortMapping rules. INVALIDPARAMETER_TOOMANYPORTMAPPINGRULES = "InvalidParameter.TooManyPortMappingRules" // The APM is not bound with the current environment. INVALIDPARAMETERVALUE_APMNOTBIND = "InvalidParameterValue.ApmNotBind" // Reached the upper limit of access policies for this application. INVALIDPARAMETERVALUE_APPLICATIONACCESSSERVICEREACHMAXIMUM = "InvalidParameterValue.ApplicationAccessServiceReachMaximum" // The access policy name already exists. INVALIDPARAMETERVALUE_APPLICATIONSERVICEALREADYEXIST = "InvalidParameterValue.ApplicationServiceAlreadyExist" // The access policy does not exist. INVALIDPARAMETERVALUE_APPLICATIONSERVICENOTFOUND = "InvalidParameterValue.ApplicationServiceNotFound" // Please enable at least one type of scaling rules. INVALIDPARAMETERVALUE_ATLEASTONESCALERRULESHOULDBEAPPLIED = "InvalidParameterValue.AtLeastOneScalerRuleShouldBeApplied" // Only one auto scaler can be specified. INVALIDPARAMETERVALUE_AUTOSCALERLARGERTHANONE = "InvalidParameterValue.AutoScalerLargerThanOne" // The access mode of other applications cannot be overwritten. INVALIDPARAMETERVALUE_CANNOTOVERWRITEOTHERAPPLICATIONSERVICE = "InvalidParameterValue.CannotOverWriteOtherApplicationService" // Full update and single-entry update cannot be specified at the same time. INVALIDPARAMETERVALUE_CANNOTUPDATESERVICEBYBOTHMETHODS = "InvalidParameterValue.CannotUpdateServiceByBothMethods" // This configuration already exists. INVALIDPARAMETERVALUE_CONFIGDATAALREADYEXIST = "InvalidParameterValue.ConfigDataAlreadyExist" // The configuration is incorrect. INVALIDPARAMETERVALUE_CONFIGDATAINVALID = "InvalidParameterValue.ConfigDataInvalid" // The specified desired capacity of the scheduled action is incorrect. INVALIDPARAMETERVALUE_CRONHPAREPLICASINVALID = "InvalidParameterValue.CronHpaReplicasInvalid" // Reached the upper limit of environment created every day INVALIDPARAMETERVALUE_DAILYCREATENAMESPACEREACHMAXIMUM = "InvalidParameterValue.DailyCreateNamespaceReachMaximum" // There is an auto scaler in used. Please disable it first. INVALIDPARAMETERVALUE_DISABLESCALERBEFOREDELETE = "InvalidParameterValue.DisableScalerBeforeDelete" // The environment name cannot be changed. INVALIDPARAMETERVALUE_ENVIRONMENTNAMEIMMUTABLE = "InvalidParameterValue.EnvironmentNameImmutable" // The desired capacity of scaling is incorrect. INVALIDPARAMETERVALUE_HPAMETRICSINVALID = "InvalidParameterValue.HpaMetricsInvalid" // The minimum or maximum number for auto scaling is invalid. INVALIDPARAMETERVALUE_HPAMINMAXINVALID = "InvalidParameterValue.HpaMinMaxInvalid" // Invalid elastic scaling threshold INVALIDPARAMETERVALUE_HPATHRESHOLDINVALID = "InvalidParameterValue.HpaThresholdInvalid" // To enable access configuration redirection, you need to enable HTTPS. INVALIDPARAMETERVALUE_INGRESSREWRITEREQUIREDHTTPSENABLE = "InvalidParameterValue.IngressRewriteRequiredHttpsEnable" // Invalid scheduled period INVALIDPARAMETERVALUE_INVALIDCRONSCALERPERIOD = "InvalidParameterValue.InvalidCronScalerPeriod" // The version number is invalid. INVALIDPARAMETERVALUE_INVALIDDEPLOYVERSION = "InvalidParameterValue.InvalidDeployVersion" // The access type is not supported. INVALIDPARAMETERVALUE_INVALIDEKSSERVICETYPE = "InvalidParameterValue.InvalidEksServiceType" // Invalid environment parameter name. It must be a combination of [a-z], [A-Z], [0-9] and [._-]. It cannot start with a digit. INVALIDPARAMETERVALUE_INVALIDENVNAME = "InvalidParameterValue.InvalidEnvName" // The length of environment variable cannot exceed 1,000. INVALIDPARAMETERVALUE_INVALIDENVVALUE = "InvalidParameterValue.InvalidEnvValue" // Invalid mounting path. It cannot be /app. INVALIDPARAMETERVALUE_INVALIDMOUNTPATH = "InvalidParameterValue.InvalidMountPath" // Invalid application name INVALIDPARAMETERVALUE_INVALIDSERVICENAME = "InvalidParameterValue.InvalidServiceName" // Unable to identify the tenant information INVALIDPARAMETERVALUE_INVALIDTENANTINFO = "InvalidParameterValue.InvalidTenantInfo" // The JDK version is required. INVALIDPARAMETERVALUE_JDKVERSIONREQUIRED = "InvalidParameterValue.JdkVersionRequired" // The LogConfig already exists. INVALIDPARAMETERVALUE_LOGCONFIGALREADYEXIST = "InvalidParameterValue.LogConfigAlreadyExist" // The PortMapping rule is required. INVALIDPARAMETERVALUE_MUSTPROVIDEPORTMAPPINGRULES = "InvalidParameterValue.MustProvidePortMappingRules" // The environment already exists. INVALIDPARAMETERVALUE_NAMESPACEDUPLICATEERROR = "InvalidParameterValue.NamespaceDuplicateError" // The namespace does not belong to the current account. INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" // The environment does not exist. INVALIDPARAMETERVALUE_NAMESPACENOTFOUND = "InvalidParameterValue.NamespaceNotFound" // Failed to create the environment. The upper limit of environment is reached. INVALIDPARAMETERVALUE_NAMESPACEREACHMAXIMUM = "InvalidParameterValue.NamespaceReachMaximum" // Failed to create the environment. The upper limit of environment is reached. INVALIDPARAMETERVALUE_NAMESPACERESOURCEREACHMAXIMUM = "InvalidParameterValue.NamespaceResourceReachMaximum" // The operating system is not supported. INVALIDPARAMETERVALUE_OSNOTSUPPORT = "InvalidParameterValue.OsNotSupport" // The application port mapping already exists. INVALIDPARAMETERVALUE_PORTDUPLICATEERROR = "InvalidParameterValue.PortDuplicateError" // The application port is a reserved port. INVALIDPARAMETERVALUE_PORTISRESERVED = "InvalidParameterValue.PortIsReserved" // Public image parameter error INVALIDPARAMETERVALUE_PUBLICREPOTYPEPARAMETERERROR = "InvalidParameterValue.PublicRepoTypeParameterError" // The registry is not associated with the current environment. INVALIDPARAMETERVALUE_REGISTRYNOTBIND = "InvalidParameterValue.RegistryNotBind" // The auto scaler name already exists. INVALIDPARAMETERVALUE_SCALERNAMEDUPLICATED = "InvalidParameterValue.ScalerNameDuplicated" // There are running pods in this application. INVALIDPARAMETERVALUE_SERVICEFOUNDRUNNINGVERSION = "InvalidParameterValue.ServiceFoundRunningVersion" // The application name must be in lowercase. INVALIDPARAMETERVALUE_SERVICELOWERCASE = "InvalidParameterValue.ServiceLowerCase" // This application name already exists. INVALIDPARAMETERVALUE_SERVICENAMEDUPLICATEERROR = "InvalidParameterValue.ServiceNameDuplicateError" // You are not the owner of this application. INVALIDPARAMETERVALUE_SERVICENOTBELONGTOAPPID = "InvalidParameterValue.ServiceNotBelongToAppid" // Failed to create the instance. The upper limit is reached. INVALIDPARAMETERVALUE_SERVICEPODREACHMAXIMUM = "InvalidParameterValue.ServicePodReachMaximum" // Failed to create the application. The upper limit is reached. INVALIDPARAMETERVALUE_SERVICEREACHMAXIMUM = "InvalidParameterValue.ServiceReachMaximum" // The suffix of the application name is not allowed. INVALIDPARAMETERVALUE_SERVICEUSERESERVESUFFIX = "InvalidParameterValue.ServiceUseReserveSuffix" // The TCR Enterprise instance name is invalid. INVALIDPARAMETERVALUE_TCRENTINSTANCENAMENOTVALID = "InvalidParameterValue.TcrEntInstanceNameNotValid" // The TEM ID is incorrect. INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" // Linkage tracing is not available for non-JAVA applications. INVALIDPARAMETERVALUE_TRAITSTRACINGNOTSUPPORTED = "InvalidParameterValue.TraitsTracingNotSupported" // The value of `version` cannot exceed 128 characters. INVALIDPARAMETERVALUE_VERSIONLENGTHLIMIT = "InvalidParameterValue.VersionLengthLimit" // The version must be in lower case. INVALIDPARAMETERVALUE_VERSIONLOWERCASE = "InvalidParameterValue.VersionLowerCase" // There is still traffic routed to this version. INVALIDPARAMETERVALUE_VERSIONROUTERATENOTZERO = "InvalidParameterValue.VersionRouteRateNotZero" // INVALIDPARAMETERVALUE_VPCINVALID = "InvalidParameterValue.VpcInvalid" // The scaling rule name cannot be empty MISSINGPARAMETER_AUTOSCALERNAMENULL = "MissingParameter.AutoScalerNameNull" // The deployment method is required. MISSINGPARAMETER_DEPLOYMODENULL = "MissingParameter.DeployModeNull" // The deployment version cannot be empty. MISSINGPARAMETER_DEPLOYVERSIONNULL = "MissingParameter.DeployVersionNull" // The environment name is required. MISSINGPARAMETER_ENVIRONMENTNAMENULL = "MissingParameter.EnvironmentNameNull" // The `logset` and `topic` are required. MISSINGPARAMETER_LOGSETORTOPICNULL = "MissingParameter.LogsetOrTopicNull" // The minimum and maximum number for auto scaling are required. MISSINGPARAMETER_MINMAXNUMNULL = "MissingParameter.MinMaxNumNull" // The environment ID can not be left empty. MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" // The package name cannot be left empty. MISSINGPARAMETER_PKGNAMENULL = "MissingParameter.PkgNameNull" // The scaling rule ID is missing. MISSINGPARAMETER_SCALERIDNULL = "MissingParameter.ScalerIdNull" // The service ID cannot be empty. MISSINGPARAMETER_SERVICEIDNULL = "MissingParameter.ServiceIdNull" // The image repository is not ready. MISSINGPARAMETER_SVCREPONOTREADY = "MissingParameter.SvcRepoNotReady" // The TCR Enterprise instance name is required. MISSINGPARAMETER_TCRENTINSTANCENAMENULL = "MissingParameter.TcrEntInstanceNameNull" // For intra-VPC acess, the subnet ID is required. MISSINGPARAMETER_VPCSERVICESUBNETNULL = "MissingParameter.VpcServiceSubnetNull" // Insufficient account balance. OPERATIONDENIED_BALANCENOTENOUGH = "OperationDenied.BalanceNotEnough" // There’re overdue payments under your account. Please make the payment first. OPERATIONDENIED_RESOURCEISOLATED = "OperationDenied.ResourceIsolated" // The environment is locked. RESOURCEINUSE_ENVIRONMENTALREADYLOCKED = "ResourceInUse.EnvironmentAlreadyLocked" // The specified resource is occupied by another operation. Please try again later. RESOURCEINUSE_RESOURCEALREADYLOCKED = "ResourceInUse.ResourceAlreadyLocked" // This resource is already bound. RESOURCEINUSE_RESOURCEALREADYUSED = "ResourceInUse.ResourceAlreadyUsed" // The application is being deployed. RESOURCEINUSE_SERVICEDEPLOYING = "ResourceInUse.ServiceDeploying" // This API is not available. RESOURCENOTFOUND_INTERFACENOTFOUND = "ResourceNotFound.InterfaceNotFound" // The target microservice is offline. RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" // The environment does not exist. RESOURCENOTFOUND_NAMESPACENOTFOUND = "ResourceNotFound.NamespaceNotFound" // The application is not found. RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" // No running pod is found. RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" // The environment corresponding to this version is not found. RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" // The environment corresponding to this version is not found. RESOURCENOTFOUND_VERSIONSERVICENOTFOUND = "ResourceNotFound.VersionServiceNotFound" // Failed to delete: The application is used by other resources. RESOURCEUNAVAILABLE_APPLICATIONNOTDELETABLE = "ResourceUnavailable.ApplicationNotDeletable" // The application is stopped. RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" // Waiting for the installation of addon RESOURCEUNAVAILABLE_WAITFORKRUISE = "ResourceUnavailable.WaitForKruise" // TKE does not have the permission to access CLS. Please assign the permission first. UNAUTHORIZEDOPERATION_MISSINGEKSLOGROLE = "UnauthorizedOperation.MissingEksLogRole" // Not authorized UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation" // ACTION not supported UNSUPPORTEDOPERATION_UNSUPPORTACTION = "UnsupportedOperation.UnsupportAction" )
const APIVersion = "2021-07-01"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Autoscaler ¶
type Autoscaler struct { // Minimum number of instances in a scaling group MinReplicas *int64 `json:"MinReplicas,omitempty" name:"MinReplicas"` // Maximum number of instances in a scaling group MaxReplicas *int64 `json:"MaxReplicas,omitempty" name:"MaxReplicas"` // Policy of the scaling rule // Note: This field may return `null`, indicating that no valid values can be obtained. HorizontalAutoscaler []*HorizontalAutoscaler `json:"HorizontalAutoscaler,omitempty" name:"HorizontalAutoscaler"` // Scheduled auto-scaler policy // Note: This field may return `null`, indicating that no valid values can be obtained. CronHorizontalAutoscaler []*CronHorizontalAutoscaler `json:"CronHorizontalAutoscaler,omitempty" name:"CronHorizontalAutoscaler"` // Scaling rule ID // Note: This field may return `null`, indicating that no valid values can be obtained. AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` // Scaling rule name // Note: This field may return `null`, indicating that no valid values can be obtained. AutoscalerName *string `json:"AutoscalerName,omitempty" name:"AutoscalerName"` // Description of the scaling rule // Note: This field may return `null`, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // Creation time // Note: This field may return `null`, indicating that no valid values can be obtained. CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` // Modification time // Note: This field may return `null`, indicating that no valid values can be obtained. ModifyDate *string `json:"ModifyDate,omitempty" name:"ModifyDate"` // Start Time // Note: This field may return `null`, indicating that no valid values can be obtained. EnableDate *string `json:"EnableDate,omitempty" name:"EnableDate"` // Whether it is enabled // Note: This field may return `null`, indicating that no valid values can be obtained. Enabled *bool `json:"Enabled,omitempty" name:"Enabled"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateApplication ¶
func (c *Client) CreateApplication(request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
CreateApplication This API is used to create an application.
error code that may be returned:
FAILEDOPERATION_CREATESERVICEERROR = "FailedOperation.CreateServiceError" INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_TAGINTERFACEERROR = "InternalError.TagInterfaceError" INVALIDPARAMETERVALUE_INVALIDSERVICENAME = "InvalidParameterValue.InvalidServiceName" INVALIDPARAMETERVALUE_PUBLICREPOTYPEPARAMETERERROR = "InvalidParameterValue.PublicRepoTypeParameterError" INVALIDPARAMETERVALUE_SERVICELOWERCASE = "InvalidParameterValue.ServiceLowerCase" INVALIDPARAMETERVALUE_SERVICENAMEDUPLICATEERROR = "InvalidParameterValue.ServiceNameDuplicateError" INVALIDPARAMETERVALUE_SERVICEREACHMAXIMUM = "InvalidParameterValue.ServiceReachMaximum" INVALIDPARAMETERVALUE_TCRENTINSTANCENAMENOTVALID = "InvalidParameterValue.TcrEntInstanceNameNotValid" MISSINGPARAMETER_TCRENTINSTANCENAMENULL = "MissingParameter.TcrEntInstanceNameNull" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation" UNSUPPORTEDOPERATION_UNSUPPORTACTION = "UnsupportedOperation.UnsupportAction"
func (*Client) CreateApplicationAutoscaler ¶
func (c *Client) CreateApplicationAutoscaler(request *CreateApplicationAutoscalerRequest) (response *CreateApplicationAutoscalerResponse, err error)
CreateApplicationAutoscaler This API is used to create a scaling rule.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_ATLEASTONESCALERRULESHOULDBEAPPLIED = "InvalidParameterValue.AtLeastOneScalerRuleShouldBeApplied" INVALIDPARAMETERVALUE_AUTOSCALERLARGERTHANONE = "InvalidParameterValue.AutoScalerLargerThanOne" INVALIDPARAMETERVALUE_CRONHPAREPLICASINVALID = "InvalidParameterValue.CronHpaReplicasInvalid" INVALIDPARAMETERVALUE_HPAMETRICSINVALID = "InvalidParameterValue.HpaMetricsInvalid" INVALIDPARAMETERVALUE_HPATHRESHOLDINVALID = "InvalidParameterValue.HpaThresholdInvalid" INVALIDPARAMETERVALUE_INVALIDCRONSCALERPERIOD = "InvalidParameterValue.InvalidCronScalerPeriod" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_SCALERNAMEDUPLICATED = "InvalidParameterValue.ScalerNameDuplicated" MISSINGPARAMETER_AUTOSCALERNAMENULL = "MissingParameter.AutoScalerNameNull" MISSINGPARAMETER_MINMAXNUMNULL = "MissingParameter.MinMaxNumNull" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateApplicationAutoscalerWithContext ¶
func (c *Client) CreateApplicationAutoscalerWithContext(ctx context.Context, request *CreateApplicationAutoscalerRequest) (response *CreateApplicationAutoscalerResponse, err error)
CreateApplicationAutoscaler This API is used to create a scaling rule.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_ATLEASTONESCALERRULESHOULDBEAPPLIED = "InvalidParameterValue.AtLeastOneScalerRuleShouldBeApplied" INVALIDPARAMETERVALUE_AUTOSCALERLARGERTHANONE = "InvalidParameterValue.AutoScalerLargerThanOne" INVALIDPARAMETERVALUE_CRONHPAREPLICASINVALID = "InvalidParameterValue.CronHpaReplicasInvalid" INVALIDPARAMETERVALUE_HPAMETRICSINVALID = "InvalidParameterValue.HpaMetricsInvalid" INVALIDPARAMETERVALUE_HPATHRESHOLDINVALID = "InvalidParameterValue.HpaThresholdInvalid" INVALIDPARAMETERVALUE_INVALIDCRONSCALERPERIOD = "InvalidParameterValue.InvalidCronScalerPeriod" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_SCALERNAMEDUPLICATED = "InvalidParameterValue.ScalerNameDuplicated" MISSINGPARAMETER_AUTOSCALERNAMENULL = "MissingParameter.AutoScalerNameNull" MISSINGPARAMETER_MINMAXNUMNULL = "MissingParameter.MinMaxNumNull" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateApplicationService ¶
func (c *Client) CreateApplicationService(request *CreateApplicationServiceRequest) (response *CreateApplicationServiceResponse, err error)
CreateApplicationService This API is used to create an access policy.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETER_APPLICATIONACCESSSERVICEREACHMAXIMUM = "InvalidParameter.ApplicationAccessServiceReachMaximum" INVALIDPARAMETER_LBSERVICECANNOTSUPPORTTCPUDPSAMETIME = "InvalidParameter.LBServiceCannotSupportTcpUdpSameTime" INVALIDPARAMETER_MUSTPROVIDEPORTMAPPINGRULES = "InvalidParameter.MustProvidePortMappingRules" INVALIDPARAMETER_SERVICENAMENOTVALID = "InvalidParameter.ServiceNameNotValid" INVALIDPARAMETER_SERVICEUSERESERVESUFFIX = "InvalidParameter.ServiceUseReserveSuffix" INVALIDPARAMETER_TOOMANYPORTMAPPINGRULES = "InvalidParameter.TooManyPortMappingRules" INVALIDPARAMETERVALUE_APPLICATIONACCESSSERVICEREACHMAXIMUM = "InvalidParameterValue.ApplicationAccessServiceReachMaximum" INVALIDPARAMETERVALUE_APPLICATIONSERVICEALREADYEXIST = "InvalidParameterValue.ApplicationServiceAlreadyExist" INVALIDPARAMETERVALUE_APPLICATIONSERVICENOTFOUND = "InvalidParameterValue.ApplicationServiceNotFound" INVALIDPARAMETERVALUE_CANNOTOVERWRITEOTHERAPPLICATIONSERVICE = "InvalidParameterValue.CannotOverWriteOtherApplicationService" INVALIDPARAMETERVALUE_CANNOTUPDATESERVICEBYBOTHMETHODS = "InvalidParameterValue.CannotUpdateServiceByBothMethods" INVALIDPARAMETERVALUE_INVALIDEKSSERVICETYPE = "InvalidParameterValue.InvalidEksServiceType" INVALIDPARAMETERVALUE_PORTDUPLICATEERROR = "InvalidParameterValue.PortDuplicateError" INVALIDPARAMETERVALUE_PORTISRESERVED = "InvalidParameterValue.PortIsReserved" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNSUPPORTEDOPERATION_UNSUPPORTACTION = "UnsupportedOperation.UnsupportAction"
func (*Client) CreateApplicationServiceWithContext ¶
func (c *Client) CreateApplicationServiceWithContext(ctx context.Context, request *CreateApplicationServiceRequest) (response *CreateApplicationServiceResponse, err error)
CreateApplicationService This API is used to create an access policy.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETER_APPLICATIONACCESSSERVICEREACHMAXIMUM = "InvalidParameter.ApplicationAccessServiceReachMaximum" INVALIDPARAMETER_LBSERVICECANNOTSUPPORTTCPUDPSAMETIME = "InvalidParameter.LBServiceCannotSupportTcpUdpSameTime" INVALIDPARAMETER_MUSTPROVIDEPORTMAPPINGRULES = "InvalidParameter.MustProvidePortMappingRules" INVALIDPARAMETER_SERVICENAMENOTVALID = "InvalidParameter.ServiceNameNotValid" INVALIDPARAMETER_SERVICEUSERESERVESUFFIX = "InvalidParameter.ServiceUseReserveSuffix" INVALIDPARAMETER_TOOMANYPORTMAPPINGRULES = "InvalidParameter.TooManyPortMappingRules" INVALIDPARAMETERVALUE_APPLICATIONACCESSSERVICEREACHMAXIMUM = "InvalidParameterValue.ApplicationAccessServiceReachMaximum" INVALIDPARAMETERVALUE_APPLICATIONSERVICEALREADYEXIST = "InvalidParameterValue.ApplicationServiceAlreadyExist" INVALIDPARAMETERVALUE_APPLICATIONSERVICENOTFOUND = "InvalidParameterValue.ApplicationServiceNotFound" INVALIDPARAMETERVALUE_CANNOTOVERWRITEOTHERAPPLICATIONSERVICE = "InvalidParameterValue.CannotOverWriteOtherApplicationService" INVALIDPARAMETERVALUE_CANNOTUPDATESERVICEBYBOTHMETHODS = "InvalidParameterValue.CannotUpdateServiceByBothMethods" INVALIDPARAMETERVALUE_INVALIDEKSSERVICETYPE = "InvalidParameterValue.InvalidEksServiceType" INVALIDPARAMETERVALUE_PORTDUPLICATEERROR = "InvalidParameterValue.PortDuplicateError" INVALIDPARAMETERVALUE_PORTISRESERVED = "InvalidParameterValue.PortIsReserved" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNSUPPORTEDOPERATION_UNSUPPORTACTION = "UnsupportedOperation.UnsupportAction"
func (*Client) CreateApplicationWithContext ¶
func (c *Client) CreateApplicationWithContext(ctx context.Context, request *CreateApplicationRequest) (response *CreateApplicationResponse, err error)
CreateApplication This API is used to create an application.
error code that may be returned:
FAILEDOPERATION_CREATESERVICEERROR = "FailedOperation.CreateServiceError" INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_TAGINTERFACEERROR = "InternalError.TagInterfaceError" INVALIDPARAMETERVALUE_INVALIDSERVICENAME = "InvalidParameterValue.InvalidServiceName" INVALIDPARAMETERVALUE_PUBLICREPOTYPEPARAMETERERROR = "InvalidParameterValue.PublicRepoTypeParameterError" INVALIDPARAMETERVALUE_SERVICELOWERCASE = "InvalidParameterValue.ServiceLowerCase" INVALIDPARAMETERVALUE_SERVICENAMEDUPLICATEERROR = "InvalidParameterValue.ServiceNameDuplicateError" INVALIDPARAMETERVALUE_SERVICEREACHMAXIMUM = "InvalidParameterValue.ServiceReachMaximum" INVALIDPARAMETERVALUE_TCRENTINSTANCENAMENOTVALID = "InvalidParameterValue.TcrEntInstanceNameNotValid" MISSINGPARAMETER_TCRENTINSTANCENAMENULL = "MissingParameter.TcrEntInstanceNameNull" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation" UNSUPPORTEDOPERATION_UNSUPPORTACTION = "UnsupportedOperation.UnsupportAction"
func (*Client) CreateConfigData ¶
func (c *Client) CreateConfigData(request *CreateConfigDataRequest) (response *CreateConfigDataResponse, err error)
CreateConfigData This API is used to create a configuration.
error code that may be returned:
INTERNALERROR_CREATECONFIGDATAERROR = "InternalError.CreateConfigDataError" INVALIDPARAMETERVALUE_CONFIGDATAALREADYEXIST = "InvalidParameterValue.ConfigDataAlreadyExist" INVALIDPARAMETERVALUE_CONFIGDATAINVALID = "InvalidParameterValue.ConfigDataInvalid" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateConfigDataWithContext ¶
func (c *Client) CreateConfigDataWithContext(ctx context.Context, request *CreateConfigDataRequest) (response *CreateConfigDataResponse, err error)
CreateConfigData This API is used to create a configuration.
error code that may be returned:
INTERNALERROR_CREATECONFIGDATAERROR = "InternalError.CreateConfigDataError" INVALIDPARAMETERVALUE_CONFIGDATAALREADYEXIST = "InvalidParameterValue.ConfigDataAlreadyExist" INVALIDPARAMETERVALUE_CONFIGDATAINVALID = "InvalidParameterValue.ConfigDataInvalid" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateCosToken ¶
func (c *Client) CreateCosToken(request *CreateCosTokenRequest) (response *CreateCosTokenResponse, err error)
CreateCosToken This API is used to generate a COS temporary key.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateCosTokenWithContext ¶
func (c *Client) CreateCosTokenWithContext(ctx context.Context, request *CreateCosTokenRequest) (response *CreateCosTokenResponse, err error)
CreateCosToken This API is used to generate a COS temporary key.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateEnvironment ¶
func (c *Client) CreateEnvironment(request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
CreateEnvironment This API is used to create an environment.
error code that may be returned:
INTERNALERROR_CREATEEKSCLUSTERERROR = "InternalError.CreateEksClusterError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_DAILYCREATENAMESPACEREACHMAXIMUM = "InvalidParameterValue.DailyCreateNamespaceReachMaximum" INVALIDPARAMETERVALUE_NAMESPACEDUPLICATEERROR = "InvalidParameterValue.NamespaceDuplicateError" INVALIDPARAMETERVALUE_NAMESPACEREACHMAXIMUM = "InvalidParameterValue.NamespaceReachMaximum" MISSINGPARAMETER_ENVIRONMENTNAMENULL = "MissingParameter.EnvironmentNameNull" OPERATIONDENIED_BALANCENOTENOUGH = "OperationDenied.BalanceNotEnough" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateEnvironmentWithContext ¶
func (c *Client) CreateEnvironmentWithContext(ctx context.Context, request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
CreateEnvironment This API is used to create an environment.
error code that may be returned:
INTERNALERROR_CREATEEKSCLUSTERERROR = "InternalError.CreateEksClusterError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_DAILYCREATENAMESPACEREACHMAXIMUM = "InvalidParameterValue.DailyCreateNamespaceReachMaximum" INVALIDPARAMETERVALUE_NAMESPACEDUPLICATEERROR = "InvalidParameterValue.NamespaceDuplicateError" INVALIDPARAMETERVALUE_NAMESPACEREACHMAXIMUM = "InvalidParameterValue.NamespaceReachMaximum" MISSINGPARAMETER_ENVIRONMENTNAMENULL = "MissingParameter.EnvironmentNameNull" OPERATIONDENIED_BALANCENOTENOUGH = "OperationDenied.BalanceNotEnough" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateLogConfig ¶
func (c *Client) CreateLogConfig(request *CreateLogConfigRequest) (response *CreateLogConfigResponse, err error)
CreateLogConfig This API is used to create a log collecting configuration.
error code that may be returned:
INTERNALERROR_CREATECONFIGDATAERROR = "InternalError.CreateConfigDataError" INTERNALERROR_CREATELOGCONFIGERROR = "InternalError.CreateLogConfigError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_CONFIGDATAALREADYEXIST = "InvalidParameterValue.ConfigDataAlreadyExist" INVALIDPARAMETERVALUE_LOGCONFIGALREADYEXIST = "InvalidParameterValue.LogConfigAlreadyExist" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateLogConfigWithContext ¶
func (c *Client) CreateLogConfigWithContext(ctx context.Context, request *CreateLogConfigRequest) (response *CreateLogConfigResponse, err error)
CreateLogConfig This API is used to create a log collecting configuration.
error code that may be returned:
INTERNALERROR_CREATECONFIGDATAERROR = "InternalError.CreateConfigDataError" INTERNALERROR_CREATELOGCONFIGERROR = "InternalError.CreateLogConfigError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_CONFIGDATAALREADYEXIST = "InvalidParameterValue.ConfigDataAlreadyExist" INVALIDPARAMETERVALUE_LOGCONFIGALREADYEXIST = "InvalidParameterValue.LogConfigAlreadyExist" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateResource ¶
func (c *Client) CreateResource(request *CreateResourceRequest) (response *CreateResourceResponse, err error)
CreateResource This API is used to bind a cloud resource.
error code that may be returned:
FAILEDOPERATION_DEFAULTINTERNALERROR = "FailedOperation.DefaultInternalError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_NAMESPACEREACHMAXIMUM = "InvalidParameterValue.NamespaceReachMaximum" INVALIDPARAMETERVALUE_NAMESPACERESOURCEREACHMAXIMUM = "InvalidParameterValue.NamespaceResourceReachMaximum" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" INVALIDPARAMETERVALUE_VPCINVALID = "InvalidParameterValue.VpcInvalid" RESOURCEINUSE_RESOURCEALREADYUSED = "ResourceInUse.ResourceAlreadyUsed" RESOURCENOTFOUND_NAMESPACENOTFOUND = "ResourceNotFound.NamespaceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) CreateResourceWithContext ¶
func (c *Client) CreateResourceWithContext(ctx context.Context, request *CreateResourceRequest) (response *CreateResourceResponse, err error)
CreateResource This API is used to bind a cloud resource.
error code that may be returned:
FAILEDOPERATION_DEFAULTINTERNALERROR = "FailedOperation.DefaultInternalError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_NAMESPACEREACHMAXIMUM = "InvalidParameterValue.NamespaceReachMaximum" INVALIDPARAMETERVALUE_NAMESPACERESOURCEREACHMAXIMUM = "InvalidParameterValue.NamespaceResourceReachMaximum" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" INVALIDPARAMETERVALUE_VPCINVALID = "InvalidParameterValue.VpcInvalid" RESOURCEINUSE_RESOURCEALREADYUSED = "ResourceInUse.ResourceAlreadyUsed" RESOURCENOTFOUND_NAMESPACENOTFOUND = "ResourceNotFound.NamespaceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeleteApplication ¶
func (c *Client) DeleteApplication(request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
DeleteApplication This API is used to delete an application.
Stop running the current application
Delete resources related to the application
Delete the application
error code that may be returned:
FAILEDOPERATION_DELETESERVICEERROR = "FailedOperation.DeleteServiceError" INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DELETESERVICEERROR = "InternalError.DeleteServiceError" INTERNALERROR_DESCRIBEINGRESSLISTERROR = "InternalError.DescribeIngressListError" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_SERVICEFOUNDRUNNINGVERSION = "InvalidParameterValue.ServiceFoundRunningVersion" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" INVALIDPARAMETERVALUE_VERSIONROUTERATENOTZERO = "InvalidParameterValue.VersionRouteRateNotZero" RESOURCEINUSE_RESOURCEALREADYLOCKED = "ResourceInUse.ResourceAlreadyLocked" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" RESOURCENOTFOUND_VERSIONSERVICENOTFOUND = "ResourceNotFound.VersionServiceNotFound" RESOURCEUNAVAILABLE_APPLICATIONNOTDELETABLE = "ResourceUnavailable.ApplicationNotDeletable" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeleteApplicationAutoscaler ¶
func (c *Client) DeleteApplicationAutoscaler(request *DeleteApplicationAutoscalerRequest) (response *DeleteApplicationAutoscalerResponse, err error)
DeleteApplicationAutoscaler This API is used to delete a scaling rule.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_DISABLESCALERBEFOREDELETE = "InvalidParameterValue.DisableScalerBeforeDelete" MISSINGPARAMETER_SCALERIDNULL = "MissingParameter.ScalerIdNull" RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeleteApplicationAutoscalerWithContext ¶
func (c *Client) DeleteApplicationAutoscalerWithContext(ctx context.Context, request *DeleteApplicationAutoscalerRequest) (response *DeleteApplicationAutoscalerResponse, err error)
DeleteApplicationAutoscaler This API is used to delete a scaling rule.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_DISABLESCALERBEFOREDELETE = "InvalidParameterValue.DisableScalerBeforeDelete" MISSINGPARAMETER_SCALERIDNULL = "MissingParameter.ScalerIdNull" RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeleteApplicationService ¶
func (c *Client) DeleteApplicationService(request *DeleteApplicationServiceRequest) (response *DeleteApplicationServiceResponse, err error)
DeleteApplicationService This API is used to delete an access policy.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_APPLICATIONSERVICENOTFOUND = "InvalidParameterValue.ApplicationServiceNotFound" INVALIDPARAMETERVALUE_CANNOTUPDATESERVICEBYBOTHMETHODS = "InvalidParameterValue.CannotUpdateServiceByBothMethods" INVALIDPARAMETERVALUE_INVALIDEKSSERVICETYPE = "InvalidParameterValue.InvalidEksServiceType" INVALIDPARAMETERVALUE_PORTISRESERVED = "InvalidParameterValue.PortIsReserved" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeleteApplicationServiceWithContext ¶
func (c *Client) DeleteApplicationServiceWithContext(ctx context.Context, request *DeleteApplicationServiceRequest) (response *DeleteApplicationServiceResponse, err error)
DeleteApplicationService This API is used to delete an access policy.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_APPLICATIONSERVICENOTFOUND = "InvalidParameterValue.ApplicationServiceNotFound" INVALIDPARAMETERVALUE_CANNOTUPDATESERVICEBYBOTHMETHODS = "InvalidParameterValue.CannotUpdateServiceByBothMethods" INVALIDPARAMETERVALUE_INVALIDEKSSERVICETYPE = "InvalidParameterValue.InvalidEksServiceType" INVALIDPARAMETERVALUE_PORTISRESERVED = "InvalidParameterValue.PortIsReserved" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeleteApplicationWithContext ¶
func (c *Client) DeleteApplicationWithContext(ctx context.Context, request *DeleteApplicationRequest) (response *DeleteApplicationResponse, err error)
DeleteApplication This API is used to delete an application.
Stop running the current application
Delete resources related to the application
Delete the application
error code that may be returned:
FAILEDOPERATION_DELETESERVICEERROR = "FailedOperation.DeleteServiceError" INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DELETESERVICEERROR = "InternalError.DeleteServiceError" INTERNALERROR_DESCRIBEINGRESSLISTERROR = "InternalError.DescribeIngressListError" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_SERVICEFOUNDRUNNINGVERSION = "InvalidParameterValue.ServiceFoundRunningVersion" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" INVALIDPARAMETERVALUE_VERSIONROUTERATENOTZERO = "InvalidParameterValue.VersionRouteRateNotZero" RESOURCEINUSE_RESOURCEALREADYLOCKED = "ResourceInUse.ResourceAlreadyLocked" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" RESOURCENOTFOUND_VERSIONSERVICENOTFOUND = "ResourceNotFound.VersionServiceNotFound" RESOURCEUNAVAILABLE_APPLICATIONNOTDELETABLE = "ResourceUnavailable.ApplicationNotDeletable" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeleteIngress ¶
func (c *Client) DeleteIngress(request *DeleteIngressRequest) (response *DeleteIngressResponse, err error)
DeleteIngress This API is used to delete an ingress rule.
error code that may be returned:
INTERNALERROR_DELETEINGRESSERROR = "InternalError.DeleteIngressError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeleteIngressWithContext ¶
func (c *Client) DeleteIngressWithContext(ctx context.Context, request *DeleteIngressRequest) (response *DeleteIngressResponse, err error)
DeleteIngress This API is used to delete an ingress rule.
error code that may be returned:
INTERNALERROR_DELETEINGRESSERROR = "InternalError.DeleteIngressError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeployApplication ¶
func (c *Client) DeployApplication(request *DeployApplicationRequest) (response *DeployApplicationResponse, err error)
DeployApplication This API is used to deploy an application.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_CREATEAPMRESOURCEERROR = "InternalError.CreateApmResourceError" INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DEPLOYVERSIONERROR = "InternalError.DeployVersionError" INVALIDPARAMETERVALUE_APMNOTBIND = "InvalidParameterValue.ApmNotBind" INVALIDPARAMETERVALUE_AUTOSCALERLARGERTHANONE = "InvalidParameterValue.AutoScalerLargerThanOne" INVALIDPARAMETERVALUE_CANNOTOVERWRITEOTHERAPPLICATIONSERVICE = "InvalidParameterValue.CannotOverWriteOtherApplicationService" INVALIDPARAMETERVALUE_INVALIDDEPLOYVERSION = "InvalidParameterValue.InvalidDeployVersion" INVALIDPARAMETERVALUE_INVALIDENVNAME = "InvalidParameterValue.InvalidEnvName" INVALIDPARAMETERVALUE_INVALIDENVVALUE = "InvalidParameterValue.InvalidEnvValue" INVALIDPARAMETERVALUE_INVALIDMOUNTPATH = "InvalidParameterValue.InvalidMountPath" INVALIDPARAMETERVALUE_INVALIDTENANTINFO = "InvalidParameterValue.InvalidTenantInfo" INVALIDPARAMETERVALUE_JDKVERSIONREQUIRED = "InvalidParameterValue.JdkVersionRequired" INVALIDPARAMETERVALUE_MUSTPROVIDEPORTMAPPINGRULES = "InvalidParameterValue.MustProvidePortMappingRules" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_OSNOTSUPPORT = "InvalidParameterValue.OsNotSupport" INVALIDPARAMETERVALUE_REGISTRYNOTBIND = "InvalidParameterValue.RegistryNotBind" INVALIDPARAMETERVALUE_SERVICENAMEDUPLICATEERROR = "InvalidParameterValue.ServiceNameDuplicateError" INVALIDPARAMETERVALUE_SERVICENOTBELONGTOAPPID = "InvalidParameterValue.ServiceNotBelongToAppid" INVALIDPARAMETERVALUE_SERVICEPODREACHMAXIMUM = "InvalidParameterValue.ServicePodReachMaximum" INVALIDPARAMETERVALUE_SERVICEUSERESERVESUFFIX = "InvalidParameterValue.ServiceUseReserveSuffix" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" INVALIDPARAMETERVALUE_TRAITSTRACINGNOTSUPPORTED = "InvalidParameterValue.TraitsTracingNotSupported" INVALIDPARAMETERVALUE_VERSIONLENGTHLIMIT = "InvalidParameterValue.VersionLengthLimit" INVALIDPARAMETERVALUE_VERSIONLOWERCASE = "InvalidParameterValue.VersionLowerCase" MISSINGPARAMETER_DEPLOYMODENULL = "MissingParameter.DeployModeNull" MISSINGPARAMETER_DEPLOYVERSIONNULL = "MissingParameter.DeployVersionNull" MISSINGPARAMETER_LOGSETORTOPICNULL = "MissingParameter.LogsetOrTopicNull" MISSINGPARAMETER_PKGNAMENULL = "MissingParameter.PkgNameNull" MISSINGPARAMETER_SERVICEIDNULL = "MissingParameter.ServiceIdNull" MISSINGPARAMETER_SVCREPONOTREADY = "MissingParameter.SvcRepoNotReady" MISSINGPARAMETER_VPCSERVICESUBNETNULL = "MissingParameter.VpcServiceSubnetNull" RESOURCEINUSE_SERVICEDEPLOYING = "ResourceInUse.ServiceDeploying" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" RESOURCEUNAVAILABLE_WAITFORKRUISE = "ResourceUnavailable.WaitForKruise" UNAUTHORIZEDOPERATION_MISSINGEKSLOGROLE = "UnauthorizedOperation.MissingEksLogRole" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DeployApplicationWithContext ¶
func (c *Client) DeployApplicationWithContext(ctx context.Context, request *DeployApplicationRequest) (response *DeployApplicationResponse, err error)
DeployApplication This API is used to deploy an application.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_CREATEAPMRESOURCEERROR = "InternalError.CreateApmResourceError" INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DEPLOYVERSIONERROR = "InternalError.DeployVersionError" INVALIDPARAMETERVALUE_APMNOTBIND = "InvalidParameterValue.ApmNotBind" INVALIDPARAMETERVALUE_AUTOSCALERLARGERTHANONE = "InvalidParameterValue.AutoScalerLargerThanOne" INVALIDPARAMETERVALUE_CANNOTOVERWRITEOTHERAPPLICATIONSERVICE = "InvalidParameterValue.CannotOverWriteOtherApplicationService" INVALIDPARAMETERVALUE_INVALIDDEPLOYVERSION = "InvalidParameterValue.InvalidDeployVersion" INVALIDPARAMETERVALUE_INVALIDENVNAME = "InvalidParameterValue.InvalidEnvName" INVALIDPARAMETERVALUE_INVALIDENVVALUE = "InvalidParameterValue.InvalidEnvValue" INVALIDPARAMETERVALUE_INVALIDMOUNTPATH = "InvalidParameterValue.InvalidMountPath" INVALIDPARAMETERVALUE_INVALIDTENANTINFO = "InvalidParameterValue.InvalidTenantInfo" INVALIDPARAMETERVALUE_JDKVERSIONREQUIRED = "InvalidParameterValue.JdkVersionRequired" INVALIDPARAMETERVALUE_MUSTPROVIDEPORTMAPPINGRULES = "InvalidParameterValue.MustProvidePortMappingRules" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_OSNOTSUPPORT = "InvalidParameterValue.OsNotSupport" INVALIDPARAMETERVALUE_REGISTRYNOTBIND = "InvalidParameterValue.RegistryNotBind" INVALIDPARAMETERVALUE_SERVICENAMEDUPLICATEERROR = "InvalidParameterValue.ServiceNameDuplicateError" INVALIDPARAMETERVALUE_SERVICENOTBELONGTOAPPID = "InvalidParameterValue.ServiceNotBelongToAppid" INVALIDPARAMETERVALUE_SERVICEPODREACHMAXIMUM = "InvalidParameterValue.ServicePodReachMaximum" INVALIDPARAMETERVALUE_SERVICEUSERESERVESUFFIX = "InvalidParameterValue.ServiceUseReserveSuffix" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" INVALIDPARAMETERVALUE_TRAITSTRACINGNOTSUPPORTED = "InvalidParameterValue.TraitsTracingNotSupported" INVALIDPARAMETERVALUE_VERSIONLENGTHLIMIT = "InvalidParameterValue.VersionLengthLimit" INVALIDPARAMETERVALUE_VERSIONLOWERCASE = "InvalidParameterValue.VersionLowerCase" MISSINGPARAMETER_DEPLOYMODENULL = "MissingParameter.DeployModeNull" MISSINGPARAMETER_DEPLOYVERSIONNULL = "MissingParameter.DeployVersionNull" MISSINGPARAMETER_LOGSETORTOPICNULL = "MissingParameter.LogsetOrTopicNull" MISSINGPARAMETER_PKGNAMENULL = "MissingParameter.PkgNameNull" MISSINGPARAMETER_SERVICEIDNULL = "MissingParameter.ServiceIdNull" MISSINGPARAMETER_SVCREPONOTREADY = "MissingParameter.SvcRepoNotReady" MISSINGPARAMETER_VPCSERVICESUBNETNULL = "MissingParameter.VpcServiceSubnetNull" RESOURCEINUSE_SERVICEDEPLOYING = "ResourceInUse.ServiceDeploying" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" RESOURCEUNAVAILABLE_WAITFORKRUISE = "ResourceUnavailable.WaitForKruise" UNAUTHORIZEDOPERATION_MISSINGEKSLOGROLE = "UnauthorizedOperation.MissingEksLogRole" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationAutoscalerList ¶
func (c *Client) DescribeApplicationAutoscalerList(request *DescribeApplicationAutoscalerListRequest) (response *DescribeApplicationAutoscalerListResponse, err error)
DescribeApplicationAutoscalerList This API is used to query the scaling rules of an application.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationAutoscalerListWithContext ¶
func (c *Client) DescribeApplicationAutoscalerListWithContext(ctx context.Context, request *DescribeApplicationAutoscalerListRequest) (response *DescribeApplicationAutoscalerListResponse, err error)
DescribeApplicationAutoscalerList This API is used to query the scaling rules of an application.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationInfo ¶
func (c *Client) DescribeApplicationInfo(request *DescribeApplicationInfoRequest) (response *DescribeApplicationInfoResponse, err error)
DescribeApplicationInfo This API is used to check the basic information of an application.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBERUNPODLISTERROR = "InternalError.DescribeRunPodListError" INTERNALERROR_DESCRIBESERVICEERROR = "InternalError.DescribeServiceError" INVALIDPARAMETERVALUE_SERVICENOTBELONGTOAPPID = "InvalidParameterValue.ServiceNotBelongToAppid" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_SERVICEIDNULL = "MissingParameter.ServiceIdNull" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" RESOURCENOTFOUND_VERSIONSERVICENOTFOUND = "ResourceNotFound.VersionServiceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationInfoWithContext ¶
func (c *Client) DescribeApplicationInfoWithContext(ctx context.Context, request *DescribeApplicationInfoRequest) (response *DescribeApplicationInfoResponse, err error)
DescribeApplicationInfo This API is used to check the basic information of an application.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBERUNPODLISTERROR = "InternalError.DescribeRunPodListError" INTERNALERROR_DESCRIBESERVICEERROR = "InternalError.DescribeServiceError" INVALIDPARAMETERVALUE_SERVICENOTBELONGTOAPPID = "InvalidParameterValue.ServiceNotBelongToAppid" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_SERVICEIDNULL = "MissingParameter.ServiceIdNull" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" RESOURCENOTFOUND_VERSIONSERVICENOTFOUND = "ResourceNotFound.VersionServiceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationPods ¶
func (c *Client) DescribeApplicationPods(request *DescribeApplicationPodsRequest) (response *DescribeApplicationPodsResponse, err error)
DescribeApplicationPods This API is used to get the list of application pods.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBERUNPODLISTERROR = "InternalError.DescribeRunPodListError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationPodsWithContext ¶
func (c *Client) DescribeApplicationPodsWithContext(ctx context.Context, request *DescribeApplicationPodsRequest) (response *DescribeApplicationPodsResponse, err error)
DescribeApplicationPods This API is used to get the list of application pods.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBERUNPODLISTERROR = "InternalError.DescribeRunPodListError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationServiceList ¶
func (c *Client) DescribeApplicationServiceList(request *DescribeApplicationServiceListRequest) (response *DescribeApplicationServiceListResponse, err error)
DescribeApplicationServiceList This API is used to query the list of access policies.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_INTERFACENOTFOUND = "ResourceNotFound.InterfaceNotFound" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation" UNSUPPORTEDOPERATION_UNSUPPORTACTION = "UnsupportedOperation.UnsupportAction"
func (*Client) DescribeApplicationServiceListWithContext ¶
func (c *Client) DescribeApplicationServiceListWithContext(ctx context.Context, request *DescribeApplicationServiceListRequest) (response *DescribeApplicationServiceListResponse, err error)
DescribeApplicationServiceList This API is used to query the list of access policies.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_INTERFACENOTFOUND = "ResourceNotFound.InterfaceNotFound" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation" UNSUPPORTEDOPERATION_UNSUPPORTACTION = "UnsupportedOperation.UnsupportAction"
func (*Client) DescribeApplications ¶
func (c *Client) DescribeApplications(request *DescribeApplicationsRequest) (response *DescribeApplicationsResponse, err error)
DescribeApplications This API is to query the list of running applications.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline"
func (*Client) DescribeApplicationsStatus ¶
func (c *Client) DescribeApplicationsStatus(request *DescribeApplicationsStatusRequest) (response *DescribeApplicationsStatusResponse, err error)
DescribeApplicationsStatus This API is used to query the status of all applications in an envrionment.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationsStatusWithContext ¶
func (c *Client) DescribeApplicationsStatusWithContext(ctx context.Context, request *DescribeApplicationsStatusRequest) (response *DescribeApplicationsStatusResponse, err error)
DescribeApplicationsStatus This API is used to query the status of all applications in an envrionment.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeApplicationsWithContext ¶
func (c *Client) DescribeApplicationsWithContext(ctx context.Context, request *DescribeApplicationsRequest) (response *DescribeApplicationsResponse, err error)
DescribeApplications This API is to query the list of running applications.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline"
func (*Client) DescribeConfigData ¶
func (c *Client) DescribeConfigData(request *DescribeConfigDataRequest) (response *DescribeConfigDataResponse, err error)
DescribeConfigData This API is used to query details of a configuration.
error code that may be returned:
INTERNALERROR_DESCRIBECONFIGDATAERROR = "InternalError.DescribeConfigDataError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeConfigDataList ¶
func (c *Client) DescribeConfigDataList(request *DescribeConfigDataListRequest) (response *DescribeConfigDataListResponse, err error)
DescribeConfigDataList This API is used to query the list of configurations.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBECONFIGDATALISTERROR = "InternalError.DescribeConfigDataListError" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeConfigDataListWithContext ¶
func (c *Client) DescribeConfigDataListWithContext(ctx context.Context, request *DescribeConfigDataListRequest) (response *DescribeConfigDataListResponse, err error)
DescribeConfigDataList This API is used to query the list of configurations.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBECONFIGDATALISTERROR = "InternalError.DescribeConfigDataListError" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeConfigDataWithContext ¶
func (c *Client) DescribeConfigDataWithContext(ctx context.Context, request *DescribeConfigDataRequest) (response *DescribeConfigDataResponse, err error)
DescribeConfigData This API is used to query details of a configuration.
error code that may be returned:
INTERNALERROR_DESCRIBECONFIGDATAERROR = "InternalError.DescribeConfigDataError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeEnvironment ¶
func (c *Client) DescribeEnvironment(request *DescribeEnvironmentRequest) (response *DescribeEnvironmentResponse, err error)
DescribeEnvironment This API is used to obtain the basic information of an environment.
error code that may be returned:
INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_NAMESPACENOTFOUND = "InvalidParameterValue.NamespaceNotFound" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeEnvironmentStatus ¶
func (c *Client) DescribeEnvironmentStatus(request *DescribeEnvironmentStatusRequest) (response *DescribeEnvironmentStatusResponse, err error)
DescribeEnvironmentStatus This API is used to obtain the environment status.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_NAMESPACENOTFOUND = "ResourceNotFound.NamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeEnvironmentStatusWithContext ¶
func (c *Client) DescribeEnvironmentStatusWithContext(ctx context.Context, request *DescribeEnvironmentStatusRequest) (response *DescribeEnvironmentStatusResponse, err error)
DescribeEnvironmentStatus This API is used to obtain the environment status.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_NAMESPACENOTFOUND = "ResourceNotFound.NamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeEnvironmentWithContext ¶
func (c *Client) DescribeEnvironmentWithContext(ctx context.Context, request *DescribeEnvironmentRequest) (response *DescribeEnvironmentResponse, err error)
DescribeEnvironment This API is used to obtain the basic information of an environment.
error code that may be returned:
INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_NAMESPACENOTFOUND = "InvalidParameterValue.NamespaceNotFound" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeEnvironments ¶
func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
DescribeEnvironments This API is used to obtain the list of environments.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_INVALIDTENANTINFO = "InvalidParameterValue.InvalidTenantInfo" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_NAMESPACENOTFOUND = "ResourceNotFound.NamespaceNotFound"
func (*Client) DescribeEnvironmentsWithContext ¶
func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
DescribeEnvironments This API is used to obtain the list of environments.
error code that may be returned:
INTERNALERROR_ACTIONREADTIMEOUT = "InternalError.ActionReadTimeout" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_INVALIDTENANTINFO = "InvalidParameterValue.InvalidTenantInfo" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_NAMESPACENOTFOUND = "ResourceNotFound.NamespaceNotFound"
func (*Client) DescribeIngress ¶
func (c *Client) DescribeIngress(request *DescribeIngressRequest) (response *DescribeIngressResponse, err error)
DescribeIngress This API is used to query an ingress rule.
error code that may be returned:
INTERNALERROR_DESCRIBEINGRESSERROR = "InternalError.DescribeIngressError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeIngressWithContext ¶
func (c *Client) DescribeIngressWithContext(ctx context.Context, request *DescribeIngressRequest) (response *DescribeIngressResponse, err error)
DescribeIngress This API is used to query an ingress rule.
error code that may be returned:
INTERNALERROR_DESCRIBEINGRESSERROR = "InternalError.DescribeIngressError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeIngresses ¶
func (c *Client) DescribeIngresses(request *DescribeIngressesRequest) (response *DescribeIngressesResponse, err error)
DescribeIngresses This API is used to query the list of ingress rules.
error code that may be returned:
INTERNALERROR_DESCRIBESERVICELISTERROR = "InternalError.DescribeServiceListError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound"
func (*Client) DescribeIngressesWithContext ¶
func (c *Client) DescribeIngressesWithContext(ctx context.Context, request *DescribeIngressesRequest) (response *DescribeIngressesResponse, err error)
DescribeIngresses This API is used to query the list of ingress rules.
error code that may be returned:
INTERNALERROR_DESCRIBESERVICELISTERROR = "InternalError.DescribeServiceListError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound"
func (*Client) DescribeLogConfig ¶
func (c *Client) DescribeLogConfig(request *DescribeLogConfigRequest) (response *DescribeLogConfigResponse, err error)
DescribeLogConfig This API is used to query details of a log collecting configuration.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBELOGCONFIGERROR = "InternalError.DescribeLogConfigError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeLogConfigWithContext ¶
func (c *Client) DescribeLogConfigWithContext(ctx context.Context, request *DescribeLogConfigRequest) (response *DescribeLogConfigResponse, err error)
DescribeLogConfig This API is used to query details of a log collecting configuration.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBELOGCONFIGERROR = "InternalError.DescribeLogConfigError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribePagedLogConfigList ¶
func (c *Client) DescribePagedLogConfigList(request *DescribePagedLogConfigListRequest) (response *DescribePagedLogConfigListResponse, err error)
DescribePagedLogConfigList This API is used to querying the list of log collecting configurations.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBECONFIGDATALISTERROR = "InternalError.DescribeConfigDataListError" INTERNALERROR_DESCRIBELOGCONFIGLISTERROR = "InternalError.DescribeLogConfigListError" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribePagedLogConfigListWithContext ¶
func (c *Client) DescribePagedLogConfigListWithContext(ctx context.Context, request *DescribePagedLogConfigListRequest) (response *DescribePagedLogConfigListResponse, err error)
DescribePagedLogConfigList This API is used to querying the list of log collecting configurations.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DESCRIBECONFIGDATALISTERROR = "InternalError.DescribeConfigDataListError" INTERNALERROR_DESCRIBELOGCONFIGLISTERROR = "InternalError.DescribeLogConfigListError" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DescribeRelatedIngresses ¶
func (c *Client) DescribeRelatedIngresses(request *DescribeRelatedIngressesRequest) (response *DescribeRelatedIngressesResponse, err error)
DescribeRelatedIngresses This API is used to query the list of ingress rules associated with the application.
error code that may be returned:
INTERNALERROR_DESCRIBESERVICEINGRESSERROR = "InternalError.DescribeServiceIngressError" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" MISSINGPARAMETER_SERVICEIDNULL = "MissingParameter.ServiceIdNull" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound"
func (*Client) DescribeRelatedIngressesWithContext ¶
func (c *Client) DescribeRelatedIngressesWithContext(ctx context.Context, request *DescribeRelatedIngressesRequest) (response *DescribeRelatedIngressesResponse, err error)
DescribeRelatedIngresses This API is used to query the list of ingress rules associated with the application.
error code that may be returned:
INTERNALERROR_DESCRIBESERVICEINGRESSERROR = "InternalError.DescribeServiceIngressError" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" MISSINGPARAMETER_SERVICEIDNULL = "MissingParameter.ServiceIdNull" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound"
func (*Client) DestroyConfigData ¶
func (c *Client) DestroyConfigData(request *DestroyConfigDataRequest) (response *DestroyConfigDataResponse, err error)
DestroyConfigData This API is used to terminate a configuration.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DestroyConfigDataWithContext ¶
func (c *Client) DestroyConfigDataWithContext(ctx context.Context, request *DestroyConfigDataRequest) (response *DestroyConfigDataResponse, err error)
DestroyConfigData This API is used to terminate a configuration.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DestroyEnvironment ¶
func (c *Client) DestroyEnvironment(request *DestroyEnvironmentRequest) (response *DestroyEnvironmentResponse, err error)
DestroyEnvironment This API is used to terminate an environment.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCEINUSE_ENVIRONMENTALREADYLOCKED = "ResourceInUse.EnvironmentAlreadyLocked" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DestroyEnvironmentWithContext ¶
func (c *Client) DestroyEnvironmentWithContext(ctx context.Context, request *DestroyEnvironmentRequest) (response *DestroyEnvironmentResponse, err error)
DestroyEnvironment This API is used to terminate an environment.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCEINUSE_ENVIRONMENTALREADYLOCKED = "ResourceInUse.EnvironmentAlreadyLocked" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DestroyLogConfig ¶
func (c *Client) DestroyLogConfig(request *DestroyLogConfigRequest) (response *DestroyLogConfigResponse, err error)
DestroyLogConfig This API is used to terminate a log collecting configuration.
error code that may be returned:
INTERNALERROR_DELETELOGCONFIGERROR = "InternalError.DeleteLogConfigError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DestroyLogConfigWithContext ¶
func (c *Client) DestroyLogConfigWithContext(ctx context.Context, request *DestroyLogConfigRequest) (response *DestroyLogConfigResponse, err error)
DestroyLogConfig This API is used to terminate a log collecting configuration.
error code that may be returned:
INTERNALERROR_DELETELOGCONFIGERROR = "InternalError.DeleteLogConfigError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DisableApplicationAutoscaler ¶
func (c *Client) DisableApplicationAutoscaler(request *DisableApplicationAutoscalerRequest) (response *DisableApplicationAutoscalerResponse, err error)
DisableApplicationAutoscaler This API is used to disable a scaling rule.
error code that may be returned:
RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) DisableApplicationAutoscalerWithContext ¶
func (c *Client) DisableApplicationAutoscalerWithContext(ctx context.Context, request *DisableApplicationAutoscalerRequest) (response *DisableApplicationAutoscalerResponse, err error)
DisableApplicationAutoscaler This API is used to disable a scaling rule.
error code that may be returned:
RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) EnableApplicationAutoscaler ¶
func (c *Client) EnableApplicationAutoscaler(request *EnableApplicationAutoscalerRequest) (response *EnableApplicationAutoscalerResponse, err error)
EnableApplicationAutoscaler This API is used to enable a scaling rule.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) EnableApplicationAutoscalerWithContext ¶
func (c *Client) EnableApplicationAutoscalerWithContext(ctx context.Context, request *EnableApplicationAutoscalerRequest) (response *EnableApplicationAutoscalerResponse, err error)
EnableApplicationAutoscaler This API is used to enable a scaling rule.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) GenerateApplicationPackageDownloadUrl ¶
func (c *Client) GenerateApplicationPackageDownloadUrl(request *GenerateApplicationPackageDownloadUrlRequest) (response *GenerateApplicationPackageDownloadUrlResponse, err error)
GenerateApplicationPackageDownloadUrl This API is used to generate the pre-signed download URL for the specified application package.
error code that may be returned:
UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) GenerateApplicationPackageDownloadUrlWithContext ¶
func (c *Client) GenerateApplicationPackageDownloadUrlWithContext(ctx context.Context, request *GenerateApplicationPackageDownloadUrlRequest) (response *GenerateApplicationPackageDownloadUrlResponse, err error)
GenerateApplicationPackageDownloadUrl This API is used to generate the pre-signed download URL for the specified application package.
error code that may be returned:
UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyApplicationAutoscaler ¶
func (c *Client) ModifyApplicationAutoscaler(request *ModifyApplicationAutoscalerRequest) (response *ModifyApplicationAutoscalerResponse, err error)
ModifyApplicationAutoscaler This API is used to modify a scaling rule.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_ATLEASTONESCALERRULESHOULDBEAPPLIED = "InvalidParameterValue.AtLeastOneScalerRuleShouldBeApplied" INVALIDPARAMETERVALUE_AUTOSCALERLARGERTHANONE = "InvalidParameterValue.AutoScalerLargerThanOne" INVALIDPARAMETERVALUE_CRONHPAREPLICASINVALID = "InvalidParameterValue.CronHpaReplicasInvalid" INVALIDPARAMETERVALUE_HPAMINMAXINVALID = "InvalidParameterValue.HpaMinMaxInvalid" MISSINGPARAMETER_MINMAXNUMNULL = "MissingParameter.MinMaxNumNull" MISSINGPARAMETER_SCALERIDNULL = "MissingParameter.ScalerIdNull" RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyApplicationAutoscalerWithContext ¶
func (c *Client) ModifyApplicationAutoscalerWithContext(ctx context.Context, request *ModifyApplicationAutoscalerRequest) (response *ModifyApplicationAutoscalerResponse, err error)
ModifyApplicationAutoscaler This API is used to modify a scaling rule.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_ATLEASTONESCALERRULESHOULDBEAPPLIED = "InvalidParameterValue.AtLeastOneScalerRuleShouldBeApplied" INVALIDPARAMETERVALUE_AUTOSCALERLARGERTHANONE = "InvalidParameterValue.AutoScalerLargerThanOne" INVALIDPARAMETERVALUE_CRONHPAREPLICASINVALID = "InvalidParameterValue.CronHpaReplicasInvalid" INVALIDPARAMETERVALUE_HPAMINMAXINVALID = "InvalidParameterValue.HpaMinMaxInvalid" MISSINGPARAMETER_MINMAXNUMNULL = "MissingParameter.MinMaxNumNull" MISSINGPARAMETER_SCALERIDNULL = "MissingParameter.ScalerIdNull" RESOURCEUNAVAILABLE_APPLICATIONSTOPPED = "ResourceUnavailable.ApplicationStopped" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyApplicationInfo ¶
func (c *Client) ModifyApplicationInfo(request *ModifyApplicationInfoRequest) (response *ModifyApplicationInfoResponse, err error)
ModifyApplicationInfo This API is used to modify the basic information of an application.
error code that may be returned:
INTERNALERROR_CREATEAPMRESOURCEERROR = "InternalError.CreateApmResourceError" INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyApplicationInfoWithContext ¶
func (c *Client) ModifyApplicationInfoWithContext(ctx context.Context, request *ModifyApplicationInfoRequest) (response *ModifyApplicationInfoResponse, err error)
ModifyApplicationInfo This API is used to modify the basic information of an application.
error code that may be returned:
INTERNALERROR_CREATEAPMRESOURCEERROR = "InternalError.CreateApmResourceError" INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyApplicationService ¶
func (c *Client) ModifyApplicationService(request *ModifyApplicationServiceRequest) (response *ModifyApplicationServiceResponse, err error)
ModifyApplicationService This API is used to modify an access policy.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETER_APPLICATIONACCESSSERVICEREACHMAXIMUM = "InvalidParameter.ApplicationAccessServiceReachMaximum" INVALIDPARAMETER_LBSERVICECANNOTSUPPORTTCPUDPSAMETIME = "InvalidParameter.LBServiceCannotSupportTcpUdpSameTime" INVALIDPARAMETER_MUSTPROVIDEPORTMAPPINGRULES = "InvalidParameter.MustProvidePortMappingRules" INVALIDPARAMETER_SERVICENAMENOTVALID = "InvalidParameter.ServiceNameNotValid" INVALIDPARAMETER_SERVICEUSERESERVESUFFIX = "InvalidParameter.ServiceUseReserveSuffix" INVALIDPARAMETER_TOOMANYPORTMAPPINGRULES = "InvalidParameter.TooManyPortMappingRules" INVALIDPARAMETERVALUE_INVALIDEKSSERVICETYPE = "InvalidParameterValue.InvalidEksServiceType" INVALIDPARAMETERVALUE_PORTISRESERVED = "InvalidParameterValue.PortIsReserved" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound"
func (*Client) ModifyApplicationServiceWithContext ¶
func (c *Client) ModifyApplicationServiceWithContext(ctx context.Context, request *ModifyApplicationServiceRequest) (response *ModifyApplicationServiceResponse, err error)
ModifyApplicationService This API is used to modify an access policy.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETER_APPLICATIONACCESSSERVICEREACHMAXIMUM = "InvalidParameter.ApplicationAccessServiceReachMaximum" INVALIDPARAMETER_LBSERVICECANNOTSUPPORTTCPUDPSAMETIME = "InvalidParameter.LBServiceCannotSupportTcpUdpSameTime" INVALIDPARAMETER_MUSTPROVIDEPORTMAPPINGRULES = "InvalidParameter.MustProvidePortMappingRules" INVALIDPARAMETER_SERVICENAMENOTVALID = "InvalidParameter.ServiceNameNotValid" INVALIDPARAMETER_SERVICEUSERESERVESUFFIX = "InvalidParameter.ServiceUseReserveSuffix" INVALIDPARAMETER_TOOMANYPORTMAPPINGRULES = "InvalidParameter.TooManyPortMappingRules" INVALIDPARAMETERVALUE_INVALIDEKSSERVICETYPE = "InvalidParameterValue.InvalidEksServiceType" INVALIDPARAMETERVALUE_PORTISRESERVED = "InvalidParameterValue.PortIsReserved" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound"
func (*Client) ModifyConfigData ¶
func (c *Client) ModifyConfigData(request *ModifyConfigDataRequest) (response *ModifyConfigDataResponse, err error)
ModifyConfigData This API is used to modify a configuration.
error code that may be returned:
INTERNALERROR_MODIFYCONFIGDATAERROR = "InternalError.ModifyConfigDataError" INVALIDPARAMETERVALUE_CONFIGDATAINVALID = "InvalidParameterValue.ConfigDataInvalid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyConfigDataWithContext ¶
func (c *Client) ModifyConfigDataWithContext(ctx context.Context, request *ModifyConfigDataRequest) (response *ModifyConfigDataResponse, err error)
ModifyConfigData This API is used to modify a configuration.
error code that may be returned:
INTERNALERROR_MODIFYCONFIGDATAERROR = "InternalError.ModifyConfigDataError" INVALIDPARAMETERVALUE_CONFIGDATAINVALID = "InvalidParameterValue.ConfigDataInvalid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyEnvironment ¶
func (c *Client) ModifyEnvironment(request *ModifyEnvironmentRequest) (response *ModifyEnvironmentResponse, err error)
ModifyEnvironment This API is used to edit an environment.
error code that may be returned:
INTERNALERROR_ADDNEWNODEERROR = "InternalError.AddNewNodeError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_ENVIRONMENTNAMEIMMUTABLE = "InvalidParameterValue.EnvironmentNameImmutable" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" OPERATIONDENIED_RESOURCEISOLATED = "OperationDenied.ResourceIsolated" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyEnvironmentWithContext ¶
func (c *Client) ModifyEnvironmentWithContext(ctx context.Context, request *ModifyEnvironmentRequest) (response *ModifyEnvironmentResponse, err error)
ModifyEnvironment This API is used to edit an environment.
error code that may be returned:
INTERNALERROR_ADDNEWNODEERROR = "InternalError.AddNewNodeError" INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INVALIDPARAMETERVALUE_ENVIRONMENTNAMEIMMUTABLE = "InvalidParameterValue.EnvironmentNameImmutable" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" OPERATIONDENIED_RESOURCEISOLATED = "OperationDenied.ResourceIsolated" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyIngress ¶
func (c *Client) ModifyIngress(request *ModifyIngressRequest) (response *ModifyIngressResponse, err error)
ModifyIngress This API is used to create or update an ingress rule.
error code that may be returned:
INTERNALERROR_UPDATEINGRESSERROR = "InternalError.UpdateIngressError" INVALIDPARAMETERVALUE_INGRESSREWRITEREQUIREDHTTPSENABLE = "InvalidParameterValue.IngressRewriteRequiredHttpsEnable" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyIngressWithContext ¶
func (c *Client) ModifyIngressWithContext(ctx context.Context, request *ModifyIngressRequest) (response *ModifyIngressResponse, err error)
ModifyIngress This API is used to create or update an ingress rule.
error code that may be returned:
INTERNALERROR_UPDATEINGRESSERROR = "InternalError.UpdateIngressError" INVALIDPARAMETERVALUE_INGRESSREWRITEREQUIREDHTTPSENABLE = "InvalidParameterValue.IngressRewriteRequiredHttpsEnable" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyLogConfig ¶
func (c *Client) ModifyLogConfig(request *ModifyLogConfigRequest) (response *ModifyLogConfigResponse, err error)
ModifyLogConfig This API is used to modify a log collecting configuration.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_MODIFYLOGCONFIGERROR = "InternalError.ModifyLogConfigError" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) ModifyLogConfigWithContext ¶
func (c *Client) ModifyLogConfigWithContext(ctx context.Context, request *ModifyLogConfigRequest) (response *ModifyLogConfigResponse, err error)
ModifyLogConfig This API is used to modify a log collecting configuration.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_MODIFYLOGCONFIGERROR = "InternalError.ModifyLogConfigError" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) RestartApplication ¶
func (c *Client) RestartApplication(request *RestartApplicationRequest) (response *RestartApplicationResponse, err error)
RestartApplication This API is used to restart an application.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_RESTARTAPPLICATIONERROR = "InternalError.RestartApplicationError" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" OPERATIONDENIED_RESOURCEISOLATED = "OperationDenied.ResourceIsolated" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) RestartApplicationPod ¶
func (c *Client) RestartApplicationPod(request *RestartApplicationPodRequest) (response *RestartApplicationPodResponse, err error)
RestartApplicationPod This API is used to restart an application pod.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) RestartApplicationPodWithContext ¶
func (c *Client) RestartApplicationPodWithContext(ctx context.Context, request *RestartApplicationPodRequest) (response *RestartApplicationPodResponse, err error)
RestartApplicationPod This API is used to restart an application pod.
error code that may be returned:
INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) RestartApplicationWithContext ¶
func (c *Client) RestartApplicationWithContext(ctx context.Context, request *RestartApplicationRequest) (response *RestartApplicationResponse, err error)
RestartApplication This API is used to restart an application.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_RESTARTAPPLICATIONERROR = "InternalError.RestartApplicationError" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" OPERATIONDENIED_RESOURCEISOLATED = "OperationDenied.ResourceIsolated" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) RollingUpdateApplicationByVersion ¶
func (c *Client) RollingUpdateApplicationByVersion(request *RollingUpdateApplicationByVersionRequest) (response *RollingUpdateApplicationByVersionResponse, err error)
RollingUpdateApplicationByVersion This API is used to configure the rolling update policy for an application.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DEPLOYVERSIONERROR = "InternalError.DeployVersionError" INVALIDPARAMETERVALUE_APMNOTBIND = "InvalidParameterValue.ApmNotBind" INVALIDPARAMETERVALUE_INVALIDDEPLOYVERSION = "InvalidParameterValue.InvalidDeployVersion" INVALIDPARAMETERVALUE_INVALIDENVNAME = "InvalidParameterValue.InvalidEnvName" INVALIDPARAMETERVALUE_INVALIDMOUNTPATH = "InvalidParameterValue.InvalidMountPath" INVALIDPARAMETERVALUE_JDKVERSIONREQUIRED = "InvalidParameterValue.JdkVersionRequired" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_OSNOTSUPPORT = "InvalidParameterValue.OsNotSupport" INVALIDPARAMETERVALUE_REGISTRYNOTBIND = "InvalidParameterValue.RegistryNotBind" INVALIDPARAMETERVALUE_SERVICENOTBELONGTOAPPID = "InvalidParameterValue.ServiceNotBelongToAppid" INVALIDPARAMETERVALUE_SERVICEPODREACHMAXIMUM = "InvalidParameterValue.ServicePodReachMaximum" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" INVALIDPARAMETERVALUE_VERSIONLENGTHLIMIT = "InvalidParameterValue.VersionLengthLimit" INVALIDPARAMETERVALUE_VERSIONLOWERCASE = "InvalidParameterValue.VersionLowerCase" MISSINGPARAMETER_DEPLOYMODENULL = "MissingParameter.DeployModeNull" MISSINGPARAMETER_LOGSETORTOPICNULL = "MissingParameter.LogsetOrTopicNull" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" MISSINGPARAMETER_SVCREPONOTREADY = "MissingParameter.SvcRepoNotReady" RESOURCEINUSE_SERVICEDEPLOYING = "ResourceInUse.ServiceDeploying" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" RESOURCEUNAVAILABLE_WAITFORKRUISE = "ResourceUnavailable.WaitForKruise" UNAUTHORIZEDOPERATION_MISSINGEKSLOGROLE = "UnauthorizedOperation.MissingEksLogRole" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) RollingUpdateApplicationByVersionWithContext ¶
func (c *Client) RollingUpdateApplicationByVersionWithContext(ctx context.Context, request *RollingUpdateApplicationByVersionRequest) (response *RollingUpdateApplicationByVersionResponse, err error)
RollingUpdateApplicationByVersion This API is used to configure the rolling update policy for an application.
error code that may be returned:
INTERNALERROR_DEFAULTINTERNALERROR = "InternalError.DefaultInternalError" INTERNALERROR_DEPLOYVERSIONERROR = "InternalError.DeployVersionError" INVALIDPARAMETERVALUE_APMNOTBIND = "InvalidParameterValue.ApmNotBind" INVALIDPARAMETERVALUE_INVALIDDEPLOYVERSION = "InvalidParameterValue.InvalidDeployVersion" INVALIDPARAMETERVALUE_INVALIDENVNAME = "InvalidParameterValue.InvalidEnvName" INVALIDPARAMETERVALUE_INVALIDMOUNTPATH = "InvalidParameterValue.InvalidMountPath" INVALIDPARAMETERVALUE_JDKVERSIONREQUIRED = "InvalidParameterValue.JdkVersionRequired" INVALIDPARAMETERVALUE_NAMESPACENOTBELONGTOAPPID = "InvalidParameterValue.NamespaceNotBelongToAppid" INVALIDPARAMETERVALUE_OSNOTSUPPORT = "InvalidParameterValue.OsNotSupport" INVALIDPARAMETERVALUE_REGISTRYNOTBIND = "InvalidParameterValue.RegistryNotBind" INVALIDPARAMETERVALUE_SERVICENOTBELONGTOAPPID = "InvalidParameterValue.ServiceNotBelongToAppid" INVALIDPARAMETERVALUE_SERVICEPODREACHMAXIMUM = "InvalidParameterValue.ServicePodReachMaximum" INVALIDPARAMETERVALUE_TEMIDINVALID = "InvalidParameterValue.TemIdInvalid" INVALIDPARAMETERVALUE_VERSIONLENGTHLIMIT = "InvalidParameterValue.VersionLengthLimit" INVALIDPARAMETERVALUE_VERSIONLOWERCASE = "InvalidParameterValue.VersionLowerCase" MISSINGPARAMETER_DEPLOYMODENULL = "MissingParameter.DeployModeNull" MISSINGPARAMETER_LOGSETORTOPICNULL = "MissingParameter.LogsetOrTopicNull" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" MISSINGPARAMETER_SVCREPONOTREADY = "MissingParameter.SvcRepoNotReady" RESOURCEINUSE_SERVICEDEPLOYING = "ResourceInUse.ServiceDeploying" RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" RESOURCEUNAVAILABLE_WAITFORKRUISE = "ResourceUnavailable.WaitForKruise" UNAUTHORIZEDOPERATION_MISSINGEKSLOGROLE = "UnauthorizedOperation.MissingEksLogRole" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) StopApplication ¶
func (c *Client) StopApplication(request *StopApplicationRequest) (response *StopApplicationResponse, err error)
StopApplication This API is used to stop an application.
error code that may be returned:
INTERNALERROR_STOPAPPLICATIONERROR = "InternalError.StopApplicationError" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
func (*Client) StopApplicationWithContext ¶
func (c *Client) StopApplicationWithContext(ctx context.Context, request *StopApplicationRequest) (response *StopApplicationResponse, err error)
StopApplication This API is used to stop an application.
error code that may be returned:
INTERNALERROR_STOPAPPLICATIONERROR = "InternalError.StopApplicationError" MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" RESOURCENOTFOUND_SERVICERUNNINGVERSIONNOTFOUND = "ResourceNotFound.ServiceRunningVersionNotFound" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATION = "UnauthorizedOperation.UnauthorizedOperation"
type ConfigData ¶
type ConfigData struct { // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Creation time. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // List of associated applications RelatedApplications []*TemService `json:"RelatedApplications,omitempty" name:"RelatedApplications"` // Configuration item Data []*Pair `json:"Data,omitempty" name:"Data"` }
type CosToken ¶
type CosToken struct { // Unique request ID RequestId *string `json:"RequestId,omitempty" name:"RequestId"` // Bucket name Bucket *string `json:"Bucket,omitempty" name:"Bucket"` // Bucket region Region *string `json:"Region,omitempty" name:"Region"` // Temporary key SecretId TmpSecretId *string `json:"TmpSecretId,omitempty" name:"TmpSecretId"` // Temporary key SecretKey TmpSecretKey *string `json:"TmpSecretKey,omitempty" name:"TmpSecretKey"` // `sessionToken` of temporary key SessionToken *string `json:"SessionToken,omitempty" name:"SessionToken"` // Start time of temporary key acquisition StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // `ExpiredTime` of temporary key ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"` // Full package path FullPath *string `json:"FullPath,omitempty" name:"FullPath"` }
type CreateApplicationAutoscalerRequest ¶
type CreateApplicationAutoscalerRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Auto scaling rule Autoscaler *Autoscaler `json:"Autoscaler,omitempty" name:"Autoscaler"` }
func NewCreateApplicationAutoscalerRequest ¶
func NewCreateApplicationAutoscalerRequest() (request *CreateApplicationAutoscalerRequest)
func (*CreateApplicationAutoscalerRequest) FromJsonString ¶
func (r *CreateApplicationAutoscalerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationAutoscalerRequest) ToJsonString ¶
func (r *CreateApplicationAutoscalerRequest) ToJsonString() string
type CreateApplicationAutoscalerRequestParams ¶
type CreateApplicationAutoscalerRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Auto scaling rule Autoscaler *Autoscaler `json:"Autoscaler,omitempty" name:"Autoscaler"` }
Predefined struct for user
type CreateApplicationAutoscalerResponse ¶
type CreateApplicationAutoscalerResponse struct { *tchttp.BaseResponse Response *CreateApplicationAutoscalerResponseParams `json:"Response"` }
func NewCreateApplicationAutoscalerResponse ¶
func NewCreateApplicationAutoscalerResponse() (response *CreateApplicationAutoscalerResponse)
func (*CreateApplicationAutoscalerResponse) FromJsonString ¶
func (r *CreateApplicationAutoscalerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationAutoscalerResponse) ToJsonString ¶
func (r *CreateApplicationAutoscalerResponse) ToJsonString() string
type CreateApplicationAutoscalerResponseParams ¶
type CreateApplicationAutoscalerResponseParams struct { // Scaling rule ID // Note: This field may return `null`, indicating that no valid values can be obtained. Result *string `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { *tchttp.BaseRequest // Application name ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Description Description *string `json:"Description,omitempty" name:"Description"` // Whether to use the default image service. `1`: yes; `0`: no UseDefaultImageService *int64 `json:"UseDefaultImageService,omitempty" name:"UseDefaultImageService"` // Type of the bound repository. `0`: TCR Personal; `1`: TCR Enterprise RepoType *int64 `json:"RepoType,omitempty" name:"RepoType"` // TCR Enterprise instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Address of the bound image server RepoServer *string `json:"RepoServer,omitempty" name:"RepoServer"` // Name of the bound image repository RepoName *string `json:"RepoName,omitempty" name:"RepoName"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Application subnet SubnetList []*string `json:"SubnetList,omitempty" name:"SubnetList"` // Programming language // - JAVA // - OTHER CodingLanguage *string `json:"CodingLanguage,omitempty" name:"CodingLanguage"` // Deployment mode // - IMAGE // - JAR // - WAR DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"` // Whether to enable APM tracing for the Java application. `1`: Enable, `0`: Disable EnableTracing *int64 `json:"EnableTracing,omitempty" name:"EnableTracing"` // Parameters of the default image service UseDefaultImageServiceParameters *UseDefaultRepoParameters `json:"UseDefaultImageServiceParameters,omitempty" name:"UseDefaultImageServiceParameters"` // Tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewCreateApplicationRequest ¶
func NewCreateApplicationRequest() (request *CreateApplicationRequest)
func (*CreateApplicationRequest) FromJsonString ¶
func (r *CreateApplicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationRequest) ToJsonString ¶
func (r *CreateApplicationRequest) ToJsonString() string
type CreateApplicationRequestParams ¶
type CreateApplicationRequestParams struct { // Application name ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Description Description *string `json:"Description,omitempty" name:"Description"` // Whether to use the default image service. `1`: yes; `0`: no UseDefaultImageService *int64 `json:"UseDefaultImageService,omitempty" name:"UseDefaultImageService"` // Type of the bound repository. `0`: TCR Personal; `1`: TCR Enterprise RepoType *int64 `json:"RepoType,omitempty" name:"RepoType"` // TCR Enterprise instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Address of the bound image server RepoServer *string `json:"RepoServer,omitempty" name:"RepoServer"` // Name of the bound image repository RepoName *string `json:"RepoName,omitempty" name:"RepoName"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Application subnet SubnetList []*string `json:"SubnetList,omitempty" name:"SubnetList"` // Programming language // - JAVA // - OTHER CodingLanguage *string `json:"CodingLanguage,omitempty" name:"CodingLanguage"` // Deployment mode // - IMAGE // - JAR // - WAR DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"` // Whether to enable APM tracing for the Java application. `1`: Enable, `0`: Disable EnableTracing *int64 `json:"EnableTracing,omitempty" name:"EnableTracing"` // Parameters of the default image service UseDefaultImageServiceParameters *UseDefaultRepoParameters `json:"UseDefaultImageServiceParameters,omitempty" name:"UseDefaultImageServiceParameters"` // Tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type CreateApplicationResponse ¶
type CreateApplicationResponse struct { *tchttp.BaseResponse Response *CreateApplicationResponseParams `json:"Response"` }
func NewCreateApplicationResponse ¶
func NewCreateApplicationResponse() (response *CreateApplicationResponse)
func (*CreateApplicationResponse) FromJsonString ¶
func (r *CreateApplicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationResponse) ToJsonString ¶
func (r *CreateApplicationResponse) ToJsonString() string
type CreateApplicationResponseParams ¶
type CreateApplicationResponseParams struct { // ID of the created application Result *string `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateApplicationServiceRequest ¶
type CreateApplicationServiceRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Details of the access policy Service *ServicePortMapping `json:"Service,omitempty" name:"Service"` }
func NewCreateApplicationServiceRequest ¶
func NewCreateApplicationServiceRequest() (request *CreateApplicationServiceRequest)
func (*CreateApplicationServiceRequest) FromJsonString ¶
func (r *CreateApplicationServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationServiceRequest) ToJsonString ¶
func (r *CreateApplicationServiceRequest) ToJsonString() string
type CreateApplicationServiceRequestParams ¶
type CreateApplicationServiceRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Details of the access policy Service *ServicePortMapping `json:"Service,omitempty" name:"Service"` }
Predefined struct for user
type CreateApplicationServiceResponse ¶
type CreateApplicationServiceResponse struct { *tchttp.BaseResponse Response *CreateApplicationServiceResponseParams `json:"Response"` }
func NewCreateApplicationServiceResponse ¶
func NewCreateApplicationServiceResponse() (response *CreateApplicationServiceResponse)
func (*CreateApplicationServiceResponse) FromJsonString ¶
func (r *CreateApplicationServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationServiceResponse) ToJsonString ¶
func (r *CreateApplicationServiceResponse) ToJsonString() string
type CreateApplicationServiceResponseParams ¶
type CreateApplicationServiceResponseParams struct { // Whether the action succeeded // Note: This field may return null, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateConfigDataRequest ¶
type CreateConfigDataRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Configuration information Data []*Pair `json:"Data,omitempty" name:"Data"` }
func NewCreateConfigDataRequest ¶
func NewCreateConfigDataRequest() (request *CreateConfigDataRequest)
func (*CreateConfigDataRequest) FromJsonString ¶
func (r *CreateConfigDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigDataRequest) ToJsonString ¶
func (r *CreateConfigDataRequest) ToJsonString() string
type CreateConfigDataRequestParams ¶
type CreateConfigDataRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Configuration information Data []*Pair `json:"Data,omitempty" name:"Data"` }
Predefined struct for user
type CreateConfigDataResponse ¶
type CreateConfigDataResponse struct { *tchttp.BaseResponse Response *CreateConfigDataResponseParams `json:"Response"` }
func NewCreateConfigDataResponse ¶
func NewCreateConfigDataResponse() (response *CreateConfigDataResponse)
func (*CreateConfigDataResponse) FromJsonString ¶
func (r *CreateConfigDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigDataResponse) ToJsonString ¶
func (r *CreateConfigDataResponse) ToJsonString() string
type CreateConfigDataResponseParams ¶
type CreateConfigDataResponseParams struct { // Whether the creation is successful Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCosTokenRequest ¶
type CreateCosTokenRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Package name PkgName *string `json:"PkgName,omitempty" name:"PkgName"` // Operation type. 1: upload; 2: query OptType *int64 `json:"OptType,omitempty" name:"OptType"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Input parameter of `deployVersion` TimeVersion *string `json:"TimeVersion,omitempty" name:"TimeVersion"` }
func NewCreateCosTokenRequest ¶
func NewCreateCosTokenRequest() (request *CreateCosTokenRequest)
func (*CreateCosTokenRequest) FromJsonString ¶
func (r *CreateCosTokenRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCosTokenRequest) ToJsonString ¶
func (r *CreateCosTokenRequest) ToJsonString() string
type CreateCosTokenRequestParams ¶
type CreateCosTokenRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Package name PkgName *string `json:"PkgName,omitempty" name:"PkgName"` // Operation type. 1: upload; 2: query OptType *int64 `json:"OptType,omitempty" name:"OptType"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Input parameter of `deployVersion` TimeVersion *string `json:"TimeVersion,omitempty" name:"TimeVersion"` }
Predefined struct for user
type CreateCosTokenResponse ¶
type CreateCosTokenResponse struct { *tchttp.BaseResponse Response *CreateCosTokenResponseParams `json:"Response"` }
func NewCreateCosTokenResponse ¶
func NewCreateCosTokenResponse() (response *CreateCosTokenResponse)
func (*CreateCosTokenResponse) FromJsonString ¶
func (r *CreateCosTokenResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCosTokenResponse) ToJsonString ¶
func (r *CreateCosTokenResponse) ToJsonString() string
type CreateCosTokenResponseParams ¶
type CreateCosTokenResponseParams struct { // `CosToken` object in case of success and `null` in case of failure // Note: this field may return `null`, indicating that no valid values can be obtained. Result *CosToken `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct { *tchttp.BaseRequest // Environment name EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // VPC name Vpc *string `json:"Vpc,omitempty" name:"Vpc"` // List of subnets SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Environment description Description *string `json:"Description,omitempty" name:"Description"` // Kubernetes version K8sVersion *string `json:"K8sVersion,omitempty" name:"K8sVersion"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Whether to enable the TSW service EnableTswTraceService *bool `json:"EnableTswTraceService,omitempty" name:"EnableTswTraceService"` // Tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // Environment type. Values: `test`, `pre`, `prod` EnvType *string `json:"EnvType,omitempty" name:"EnvType"` // The region to create the environment CreateRegion *string `json:"CreateRegion,omitempty" name:"CreateRegion"` }
func NewCreateEnvironmentRequest ¶
func NewCreateEnvironmentRequest() (request *CreateEnvironmentRequest)
func (*CreateEnvironmentRequest) FromJsonString ¶
func (r *CreateEnvironmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEnvironmentRequest) ToJsonString ¶
func (r *CreateEnvironmentRequest) ToJsonString() string
type CreateEnvironmentRequestParams ¶
type CreateEnvironmentRequestParams struct { // Environment name EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // VPC name Vpc *string `json:"Vpc,omitempty" name:"Vpc"` // List of subnets SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Environment description Description *string `json:"Description,omitempty" name:"Description"` // Kubernetes version K8sVersion *string `json:"K8sVersion,omitempty" name:"K8sVersion"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Whether to enable the TSW service EnableTswTraceService *bool `json:"EnableTswTraceService,omitempty" name:"EnableTswTraceService"` // Tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // Environment type. Values: `test`, `pre`, `prod` EnvType *string `json:"EnvType,omitempty" name:"EnvType"` // The region to create the environment CreateRegion *string `json:"CreateRegion,omitempty" name:"CreateRegion"` }
Predefined struct for user
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct { *tchttp.BaseResponse Response *CreateEnvironmentResponseParams `json:"Response"` }
func NewCreateEnvironmentResponse ¶
func NewCreateEnvironmentResponse() (response *CreateEnvironmentResponse)
func (*CreateEnvironmentResponse) FromJsonString ¶
func (r *CreateEnvironmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEnvironmentResponse) ToJsonString ¶
func (r *CreateEnvironmentResponse) ToJsonString() string
type CreateEnvironmentResponseParams ¶
type CreateEnvironmentResponseParams struct { // Environment ID in case of success and `null` in case of failure // Note: this field may return `null`, indicating that no valid values can be obtained. Result *string `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLogConfigRequest ¶
type CreateLogConfigRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Collection type. Values: `container_stdout` (standard); `container_file` (file) InputType *string `json:"InputType,omitempty" name:"InputType"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Logset ID LogsetId *string `json:"LogsetId,omitempty" name:"LogsetId"` // Log topic ID TopicId *string `json:"TopicId,omitempty" name:"TopicId"` // Log withdrawal mode. Values: `minimalist_log` (full text in a single line); `multiline_log` (full text in multiple lines); `json_log` (JSON); `fullregex_log` (regex in a single line); `multiline_fullregex_log` (regex in multiple lines) LogType *string `json:"LogType,omitempty" name:"LogType"` // The first line regex. It’s valid when `LogType` is `multiline_log`. BeginningRegex *string `json:"BeginningRegex,omitempty" name:"BeginningRegex"` // Directory of files to collect. It’s valid when `InputType` is `container_file`. LogPath *string `json:"LogPath,omitempty" name:"LogPath"` // Name pattern of files to collect. It’s valid when `InputType` is `container_file`. FilePattern *string `json:"FilePattern,omitempty" name:"FilePattern"` // Export ExtractRule *LogConfigExtractRule `json:"ExtractRule,omitempty" name:"ExtractRule"` }
func NewCreateLogConfigRequest ¶
func NewCreateLogConfigRequest() (request *CreateLogConfigRequest)
func (*CreateLogConfigRequest) FromJsonString ¶
func (r *CreateLogConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogConfigRequest) ToJsonString ¶
func (r *CreateLogConfigRequest) ToJsonString() string
type CreateLogConfigRequestParams ¶
type CreateLogConfigRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Collection type. Values: `container_stdout` (standard); `container_file` (file) InputType *string `json:"InputType,omitempty" name:"InputType"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Logset ID LogsetId *string `json:"LogsetId,omitempty" name:"LogsetId"` // Log topic ID TopicId *string `json:"TopicId,omitempty" name:"TopicId"` // Log withdrawal mode. Values: `minimalist_log` (full text in a single line); `multiline_log` (full text in multiple lines); `json_log` (JSON); `fullregex_log` (regex in a single line); `multiline_fullregex_log` (regex in multiple lines) LogType *string `json:"LogType,omitempty" name:"LogType"` // The first line regex. It’s valid when `LogType` is `multiline_log`. BeginningRegex *string `json:"BeginningRegex,omitempty" name:"BeginningRegex"` // Directory of files to collect. It’s valid when `InputType` is `container_file`. LogPath *string `json:"LogPath,omitempty" name:"LogPath"` // Name pattern of files to collect. It’s valid when `InputType` is `container_file`. FilePattern *string `json:"FilePattern,omitempty" name:"FilePattern"` // Export ExtractRule *LogConfigExtractRule `json:"ExtractRule,omitempty" name:"ExtractRule"` }
Predefined struct for user
type CreateLogConfigResponse ¶
type CreateLogConfigResponse struct { *tchttp.BaseResponse Response *CreateLogConfigResponseParams `json:"Response"` }
func NewCreateLogConfigResponse ¶
func NewCreateLogConfigResponse() (response *CreateLogConfigResponse)
func (*CreateLogConfigResponse) FromJsonString ¶
func (r *CreateLogConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogConfigResponse) ToJsonString ¶
func (r *CreateLogConfigResponse) ToJsonString() string
type CreateLogConfigResponseParams ¶
type CreateLogConfigResponseParams struct { // Whether the creation is successful Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateResourceRequest ¶
type CreateResourceRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Resource type. Valid values: `CFS` (file system), `CLS` (log service), `TSE_SRE` (registry) ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // Resource ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Source of the resource. Values: `existing` (choose an existing resource), `creating` (create a new resource) ResourceFrom *string `json:"ResourceFrom,omitempty" name:"ResourceFrom"` // Resource extra configuration ResourceConfig *string `json:"ResourceConfig,omitempty" name:"ResourceConfig"` }
func NewCreateResourceRequest ¶
func NewCreateResourceRequest() (request *CreateResourceRequest)
func (*CreateResourceRequest) FromJsonString ¶
func (r *CreateResourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateResourceRequest) ToJsonString ¶
func (r *CreateResourceRequest) ToJsonString() string
type CreateResourceRequestParams ¶
type CreateResourceRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Resource type. Valid values: `CFS` (file system), `CLS` (log service), `TSE_SRE` (registry) ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // Resource ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Source of the resource. Values: `existing` (choose an existing resource), `creating` (create a new resource) ResourceFrom *string `json:"ResourceFrom,omitempty" name:"ResourceFrom"` // Resource extra configuration ResourceConfig *string `json:"ResourceConfig,omitempty" name:"ResourceConfig"` }
Predefined struct for user
type CreateResourceResponse ¶
type CreateResourceResponse struct { *tchttp.BaseResponse Response *CreateResourceResponseParams `json:"Response"` }
func NewCreateResourceResponse ¶
func NewCreateResourceResponse() (response *CreateResourceResponse)
func (*CreateResourceResponse) FromJsonString ¶
func (r *CreateResourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateResourceResponse) ToJsonString ¶
func (r *CreateResourceResponse) ToJsonString() string
type CreateResourceResponseParams ¶
type CreateResourceResponseParams struct { // Result // Note: this field may return `null`, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CronHorizontalAutoscaler ¶
type CronHorizontalAutoscaler struct { // Name of a scheduled scaling policy Name *string `json:"Name,omitempty" name:"Name"` // Policy period // "* * *" indicates three ranges. The first is day, the second month, and the third week. The three parts are separated by spaces. // Examples: // * * * (every day) // * * 0-3 (every Sunday through Wednesday) // 1,11,21 * * (1st, 11th, and 21st of every month) Period *string `json:"Period,omitempty" name:"Period"` // Details of a scheduled scaling policy Schedules []*CronHorizontalAutoscalerSchedule `json:"Schedules,omitempty" name:"Schedules"` // Enabled or not Enabled *bool `json:"Enabled,omitempty" name:"Enabled"` // Policy priority. The higher the value, the higher the priority. The minimum value is 0. Priority *int64 `json:"Priority,omitempty" name:"Priority"` }
type CronHorizontalAutoscalerSchedule ¶
type CronHorizontalAutoscalerSchedule struct { // Triggering time, in the format of HH:MM // Example: // 00:00 (Trigger at midnight) StartAt *string `json:"StartAt,omitempty" name:"StartAt"` // Number of target pods (less than 50) // Note: this field may return `null`, indicating that no valid values can be obtained. TargetReplicas *int64 `json:"TargetReplicas,omitempty" name:"TargetReplicas"` }
type DeleteApplicationAutoscalerRequest ¶
type DeleteApplicationAutoscalerRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Scaling rule ID AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` }
func NewDeleteApplicationAutoscalerRequest ¶
func NewDeleteApplicationAutoscalerRequest() (request *DeleteApplicationAutoscalerRequest)
func (*DeleteApplicationAutoscalerRequest) FromJsonString ¶
func (r *DeleteApplicationAutoscalerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationAutoscalerRequest) ToJsonString ¶
func (r *DeleteApplicationAutoscalerRequest) ToJsonString() string
type DeleteApplicationAutoscalerRequestParams ¶
type DeleteApplicationAutoscalerRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Scaling rule ID AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` }
Predefined struct for user
type DeleteApplicationAutoscalerResponse ¶
type DeleteApplicationAutoscalerResponse struct { *tchttp.BaseResponse Response *DeleteApplicationAutoscalerResponseParams `json:"Response"` }
func NewDeleteApplicationAutoscalerResponse ¶
func NewDeleteApplicationAutoscalerResponse() (response *DeleteApplicationAutoscalerResponse)
func (*DeleteApplicationAutoscalerResponse) FromJsonString ¶
func (r *DeleteApplicationAutoscalerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationAutoscalerResponse) ToJsonString ¶
func (r *DeleteApplicationAutoscalerResponse) ToJsonString() string
type DeleteApplicationAutoscalerResponseParams ¶
type DeleteApplicationAutoscalerResponseParams struct { // Whether the action is successful // Note: This field may return `null`, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct { *tchttp.BaseRequest // Application ID. ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Whether to delete this application automatically when there is no running version. DeleteApplicationIfNoRunningVersion *bool `json:"DeleteApplicationIfNoRunningVersion,omitempty" name:"DeleteApplicationIfNoRunningVersion"` }
func NewDeleteApplicationRequest ¶
func NewDeleteApplicationRequest() (request *DeleteApplicationRequest)
func (*DeleteApplicationRequest) FromJsonString ¶
func (r *DeleteApplicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationRequest) ToJsonString ¶
func (r *DeleteApplicationRequest) ToJsonString() string
type DeleteApplicationRequestParams ¶
type DeleteApplicationRequestParams struct { // Application ID. ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Whether to delete this application automatically when there is no running version. DeleteApplicationIfNoRunningVersion *bool `json:"DeleteApplicationIfNoRunningVersion,omitempty" name:"DeleteApplicationIfNoRunningVersion"` }
Predefined struct for user
type DeleteApplicationResponse ¶
type DeleteApplicationResponse struct { *tchttp.BaseResponse Response *DeleteApplicationResponseParams `json:"Response"` }
func NewDeleteApplicationResponse ¶
func NewDeleteApplicationResponse() (response *DeleteApplicationResponse)
func (*DeleteApplicationResponse) FromJsonString ¶
func (r *DeleteApplicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationResponse) ToJsonString ¶
func (r *DeleteApplicationResponse) ToJsonString() string
type DeleteApplicationResponseParams ¶
type DeleteApplicationResponseParams struct { // Returned result. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationServiceRequest ¶
type DeleteApplicationServiceRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Service name ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` }
func NewDeleteApplicationServiceRequest ¶
func NewDeleteApplicationServiceRequest() (request *DeleteApplicationServiceRequest)
func (*DeleteApplicationServiceRequest) FromJsonString ¶
func (r *DeleteApplicationServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationServiceRequest) ToJsonString ¶
func (r *DeleteApplicationServiceRequest) ToJsonString() string
type DeleteApplicationServiceRequestParams ¶
type DeleteApplicationServiceRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Service name ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` }
Predefined struct for user
type DeleteApplicationServiceResponse ¶
type DeleteApplicationServiceResponse struct { *tchttp.BaseResponse Response *DeleteApplicationServiceResponseParams `json:"Response"` }
func NewDeleteApplicationServiceResponse ¶
func NewDeleteApplicationServiceResponse() (response *DeleteApplicationServiceResponse)
func (*DeleteApplicationServiceResponse) FromJsonString ¶
func (r *DeleteApplicationServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationServiceResponse) ToJsonString ¶
func (r *DeleteApplicationServiceResponse) ToJsonString() string
type DeleteApplicationServiceResponseParams ¶
type DeleteApplicationServiceResponseParams struct { // Whether the action succeeded // Note: This field may return null, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteIngressRequest ¶
type DeleteIngressRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // Ingress rule name IngressName *string `json:"IngressName,omitempty" name:"IngressName"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDeleteIngressRequest ¶
func NewDeleteIngressRequest() (request *DeleteIngressRequest)
func (*DeleteIngressRequest) FromJsonString ¶
func (r *DeleteIngressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIngressRequest) ToJsonString ¶
func (r *DeleteIngressRequest) ToJsonString() string
type DeleteIngressRequestParams ¶
type DeleteIngressRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // Ingress rule name IngressName *string `json:"IngressName,omitempty" name:"IngressName"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DeleteIngressResponse ¶
type DeleteIngressResponse struct { *tchttp.BaseResponse Response *DeleteIngressResponseParams `json:"Response"` }
func NewDeleteIngressResponse ¶
func NewDeleteIngressResponse() (response *DeleteIngressResponse)
func (*DeleteIngressResponse) FromJsonString ¶
func (r *DeleteIngressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIngressResponse) ToJsonString ¶
func (r *DeleteIngressResponse) ToJsonString() string
type DeleteIngressResponseParams ¶
type DeleteIngressResponseParams struct { // Whether deletion is successful Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeployApplicationRequest ¶
type DeployApplicationRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Number of initialized pods InitPodNum *uint64 `json:"InitPodNum,omitempty" name:"InitPodNum"` // CPU specification CpuSpec *float64 `json:"CpuSpec,omitempty" name:"CpuSpec"` // Memory specification MemorySpec *float64 `json:"MemorySpec,omitempty" name:"MemorySpec"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Image repository ImgRepo *string `json:"ImgRepo,omitempty" name:"ImgRepo"` // Version description VersionDesc *string `json:"VersionDesc,omitempty" name:"VersionDesc"` // Launch parameters JvmOpts *string `json:"JvmOpts,omitempty" name:"JvmOpts"` // Auto scaling configuration (This field is disused. Please use `HorizontalAutoscaler` to set the auto scaling policy.) EsInfo *EsInfo `json:"EsInfo,omitempty" name:"EsInfo"` // Environment variable configuration EnvConf []*Pair `json:"EnvConf,omitempty" name:"EnvConf"` // Log configuration LogConfs []*string `json:"LogConfs,omitempty" name:"LogConfs"` // Data volume configuration StorageConfs []*StorageConf `json:"StorageConfs,omitempty" name:"StorageConfs"` // Data volume mount configuration StorageMountConfs []*StorageMountConf `json:"StorageMountConfs,omitempty" name:"StorageMountConfs"` // Deployment type // - JAR: deployment through JAR package // - WAR: deployment through WAR package // - IMAGE: deployment through image DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"` // When the deployment type is `IMAGE`, this parameter indicates the image tag // When the deployment type is `JAR` or `WAR`, this parameter indicates the package version number DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"` // Package name, which is required when using JAR or WAR packages for deployment PkgName *string `json:"PkgName,omitempty" name:"PkgName"` // JDK version // - KONA: use KONA JDK // - OPEN: use open JDK // - KONA: use KONA JDK // - OPEN: use open JDK JdkVersion *string `json:"JdkVersion,omitempty" name:"JdkVersion"` // Security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // Log output configuration LogOutputConf *LogOutputConf `json:"LogOutputConf,omitempty" name:"LogOutputConf"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Version description Description *string `json:"Description,omitempty" name:"Description"` // Image command ImageCommand *string `json:"ImageCommand,omitempty" name:"ImageCommand"` // Image command parameters ImageArgs []*string `json:"ImageArgs,omitempty" name:"ImageArgs"` // Whether to add the registry's default configurations UseRegistryDefaultConfig *bool `json:"UseRegistryDefaultConfig,omitempty" name:"UseRegistryDefaultConfig"` // Mounting configurations SettingConfs []*MountedSettingConf `json:"SettingConfs,omitempty" name:"SettingConfs"` // Application access configuration Service *EksService `json:"Service,omitempty" name:"Service"` // ID of the version that you want to roll back to VersionId *string `json:"VersionId,omitempty" name:"VersionId"` // The script to run after startup PostStart *string `json:"PostStart,omitempty" name:"PostStart"` // The script to run before stop PreStop *string `json:"PreStop,omitempty" name:"PreStop"` // Configuration of aliveness probe Liveness *HealthCheckConfig `json:"Liveness,omitempty" name:"Liveness"` // Configuration of readiness probe Readiness *HealthCheckConfig `json:"Readiness,omitempty" name:"Readiness"` // Configuration of batch release policies DeployStrategyConf *DeployStrategyConf `json:"DeployStrategyConf,omitempty" name:"DeployStrategyConf"` // Auto scaling policy. (Disused. Please use APIs for auto scaling policy combinations) HorizontalAutoscaler []*HorizontalAutoscaler `json:"HorizontalAutoscaler,omitempty" name:"HorizontalAutoscaler"` // Scheduled scaling policy (Disused. Please use APIs for auto scaling policy combinations) CronHorizontalAutoscaler []*CronHorizontalAutoscaler `json:"CronHorizontalAutoscaler,omitempty" name:"CronHorizontalAutoscaler"` // Specifies whether to enable logging. `1`: enable; `0`: do not enable LogEnable *int64 `json:"LogEnable,omitempty" name:"LogEnable"` // Whether the configuration is modified (except for the image configuration) ConfEdited *bool `json:"ConfEdited,omitempty" name:"ConfEdited"` // Whether the application acceleration is enabled SpeedUp *bool `json:"SpeedUp,omitempty" name:"SpeedUp"` // Whether to enable probing StartupProbe *HealthCheckConfig `json:"StartupProbe,omitempty" name:"StartupProbe"` // The version of the operating system // If `openjdk` is selected, the value can be: // - ALPINE // - CENTOS // If `konajdk` is selected, the value can be: // - ALPINE // - TENCENTOS OsFlavour *string `json:"OsFlavour,omitempty" name:"OsFlavour"` // Configuration of metrics of this application EnablePrometheusConf *EnablePrometheusConf `json:"EnablePrometheusConf,omitempty" name:"EnablePrometheusConf"` // `1`: Automatically enable APM tracing (Skywalking) // `0`: Disable APM tracing EnableTracing *int64 `json:"EnableTracing,omitempty" name:"EnableTracing"` // `1`: Automatically enable metrics collection (open-telemetry) // `0`: Disable metrics collection EnableMetrics *int64 `json:"EnableMetrics,omitempty" name:"EnableMetrics"` // ID of the TCR instance used for image deployment TcrInstanceId *string `json:"TcrInstanceId,omitempty" name:"TcrInstanceId"` // Image server address for image deployment RepoServer *string `json:"RepoServer,omitempty" name:"RepoServer"` // Type of the repository. `0`: TCR Personal; `1`: TCR Enterprise; `2`: Public repository; `3`: TEM hosted repository; `4`: Demo repository RepoType *int64 `json:"RepoType,omitempty" name:"RepoType"` }
func NewDeployApplicationRequest ¶
func NewDeployApplicationRequest() (request *DeployApplicationRequest)
func (*DeployApplicationRequest) FromJsonString ¶
func (r *DeployApplicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployApplicationRequest) ToJsonString ¶
func (r *DeployApplicationRequest) ToJsonString() string
type DeployApplicationRequestParams ¶
type DeployApplicationRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Number of initialized pods InitPodNum *uint64 `json:"InitPodNum,omitempty" name:"InitPodNum"` // CPU specification CpuSpec *float64 `json:"CpuSpec,omitempty" name:"CpuSpec"` // Memory specification MemorySpec *float64 `json:"MemorySpec,omitempty" name:"MemorySpec"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Image repository ImgRepo *string `json:"ImgRepo,omitempty" name:"ImgRepo"` // Version description VersionDesc *string `json:"VersionDesc,omitempty" name:"VersionDesc"` // Launch parameters JvmOpts *string `json:"JvmOpts,omitempty" name:"JvmOpts"` // Auto scaling configuration (This field is disused. Please use `HorizontalAutoscaler` to set the auto scaling policy.) EsInfo *EsInfo `json:"EsInfo,omitempty" name:"EsInfo"` // Environment variable configuration EnvConf []*Pair `json:"EnvConf,omitempty" name:"EnvConf"` // Log configuration LogConfs []*string `json:"LogConfs,omitempty" name:"LogConfs"` // Data volume configuration StorageConfs []*StorageConf `json:"StorageConfs,omitempty" name:"StorageConfs"` // Data volume mount configuration StorageMountConfs []*StorageMountConf `json:"StorageMountConfs,omitempty" name:"StorageMountConfs"` // Deployment type // - JAR: deployment through JAR package // - WAR: deployment through WAR package // - IMAGE: deployment through image DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"` // When the deployment type is `IMAGE`, this parameter indicates the image tag // When the deployment type is `JAR` or `WAR`, this parameter indicates the package version number DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"` // Package name, which is required when using JAR or WAR packages for deployment PkgName *string `json:"PkgName,omitempty" name:"PkgName"` // JDK version // - KONA: use KONA JDK // - OPEN: use open JDK // - KONA: use KONA JDK // - OPEN: use open JDK JdkVersion *string `json:"JdkVersion,omitempty" name:"JdkVersion"` // Security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // Log output configuration LogOutputConf *LogOutputConf `json:"LogOutputConf,omitempty" name:"LogOutputConf"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Version description Description *string `json:"Description,omitempty" name:"Description"` // Image command ImageCommand *string `json:"ImageCommand,omitempty" name:"ImageCommand"` // Image command parameters ImageArgs []*string `json:"ImageArgs,omitempty" name:"ImageArgs"` // Whether to add the registry's default configurations UseRegistryDefaultConfig *bool `json:"UseRegistryDefaultConfig,omitempty" name:"UseRegistryDefaultConfig"` // Mounting configurations SettingConfs []*MountedSettingConf `json:"SettingConfs,omitempty" name:"SettingConfs"` // Application access configuration Service *EksService `json:"Service,omitempty" name:"Service"` // ID of the version that you want to roll back to VersionId *string `json:"VersionId,omitempty" name:"VersionId"` // The script to run after startup PostStart *string `json:"PostStart,omitempty" name:"PostStart"` // The script to run before stop PreStop *string `json:"PreStop,omitempty" name:"PreStop"` // Configuration of aliveness probe Liveness *HealthCheckConfig `json:"Liveness,omitempty" name:"Liveness"` // Configuration of readiness probe Readiness *HealthCheckConfig `json:"Readiness,omitempty" name:"Readiness"` // Configuration of batch release policies DeployStrategyConf *DeployStrategyConf `json:"DeployStrategyConf,omitempty" name:"DeployStrategyConf"` // Auto scaling policy. (Disused. Please use APIs for auto scaling policy combinations) HorizontalAutoscaler []*HorizontalAutoscaler `json:"HorizontalAutoscaler,omitempty" name:"HorizontalAutoscaler"` // Scheduled scaling policy (Disused. Please use APIs for auto scaling policy combinations) CronHorizontalAutoscaler []*CronHorizontalAutoscaler `json:"CronHorizontalAutoscaler,omitempty" name:"CronHorizontalAutoscaler"` // Specifies whether to enable logging. `1`: enable; `0`: do not enable LogEnable *int64 `json:"LogEnable,omitempty" name:"LogEnable"` // Whether the configuration is modified (except for the image configuration) ConfEdited *bool `json:"ConfEdited,omitempty" name:"ConfEdited"` // Whether the application acceleration is enabled SpeedUp *bool `json:"SpeedUp,omitempty" name:"SpeedUp"` // Whether to enable probing StartupProbe *HealthCheckConfig `json:"StartupProbe,omitempty" name:"StartupProbe"` // The version of the operating system // If `openjdk` is selected, the value can be: // - ALPINE // - CENTOS // If `konajdk` is selected, the value can be: // - ALPINE // - TENCENTOS OsFlavour *string `json:"OsFlavour,omitempty" name:"OsFlavour"` // Configuration of metrics of this application EnablePrometheusConf *EnablePrometheusConf `json:"EnablePrometheusConf,omitempty" name:"EnablePrometheusConf"` // `1`: Automatically enable APM tracing (Skywalking) // `0`: Disable APM tracing EnableTracing *int64 `json:"EnableTracing,omitempty" name:"EnableTracing"` // `1`: Automatically enable metrics collection (open-telemetry) // `0`: Disable metrics collection EnableMetrics *int64 `json:"EnableMetrics,omitempty" name:"EnableMetrics"` // ID of the TCR instance used for image deployment TcrInstanceId *string `json:"TcrInstanceId,omitempty" name:"TcrInstanceId"` // Image server address for image deployment RepoServer *string `json:"RepoServer,omitempty" name:"RepoServer"` // Type of the repository. `0`: TCR Personal; `1`: TCR Enterprise; `2`: Public repository; `3`: TEM hosted repository; `4`: Demo repository RepoType *int64 `json:"RepoType,omitempty" name:"RepoType"` }
Predefined struct for user
type DeployApplicationResponse ¶
type DeployApplicationResponse struct { *tchttp.BaseResponse Response *DeployApplicationResponseParams `json:"Response"` }
func NewDeployApplicationResponse ¶
func NewDeployApplicationResponse() (response *DeployApplicationResponse)
func (*DeployApplicationResponse) FromJsonString ¶
func (r *DeployApplicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployApplicationResponse) ToJsonString ¶
func (r *DeployApplicationResponse) ToJsonString() string
type DeployApplicationResponseParams ¶
type DeployApplicationResponseParams struct { // Version ID (which can be ignored for the frontend) Result *string `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeployStrategyConf ¶
type DeployStrategyConf struct { // Total batches TotalBatchCount *int64 `json:"TotalBatchCount,omitempty" name:"TotalBatchCount"` // Number of pods for the beta batch BetaBatchNum *int64 `json:"BetaBatchNum,omitempty" name:"BetaBatchNum"` // Batch deployment policy. `0`: automatically; `1`: manually; `2`: beta batch (manual), `3`: initial release DeployStrategyType *int64 `json:"DeployStrategyType,omitempty" name:"DeployStrategyType"` // Interval between batches BatchInterval *int64 `json:"BatchInterval,omitempty" name:"BatchInterval"` // The minimum number of available pods MinAvailable *int64 `json:"MinAvailable,omitempty" name:"MinAvailable"` // Whether to enable force release Force *bool `json:"Force,omitempty" name:"Force"` }
type DescribeApplicationAutoscalerListRequest ¶
type DescribeApplicationAutoscalerListRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDescribeApplicationAutoscalerListRequest ¶
func NewDescribeApplicationAutoscalerListRequest() (request *DescribeApplicationAutoscalerListRequest)
func (*DescribeApplicationAutoscalerListRequest) FromJsonString ¶
func (r *DescribeApplicationAutoscalerListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationAutoscalerListRequest) ToJsonString ¶
func (r *DescribeApplicationAutoscalerListRequest) ToJsonString() string
type DescribeApplicationAutoscalerListRequestParams ¶
type DescribeApplicationAutoscalerListRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DescribeApplicationAutoscalerListResponse ¶
type DescribeApplicationAutoscalerListResponse struct { *tchttp.BaseResponse Response *DescribeApplicationAutoscalerListResponseParams `json:"Response"` }
func NewDescribeApplicationAutoscalerListResponse ¶
func NewDescribeApplicationAutoscalerListResponse() (response *DescribeApplicationAutoscalerListResponse)
func (*DescribeApplicationAutoscalerListResponse) FromJsonString ¶
func (r *DescribeApplicationAutoscalerListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationAutoscalerListResponse) ToJsonString ¶
func (r *DescribeApplicationAutoscalerListResponse) ToJsonString() string
type DescribeApplicationAutoscalerListResponseParams ¶
type DescribeApplicationAutoscalerListResponseParams struct { // Scaling rule // Note: This field may return `null`, indicating that no valid values can be obtained. Result []*Autoscaler `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationInfoRequest ¶
type DescribeApplicationInfoRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
func NewDescribeApplicationInfoRequest ¶
func NewDescribeApplicationInfoRequest() (request *DescribeApplicationInfoRequest)
func (*DescribeApplicationInfoRequest) FromJsonString ¶
func (r *DescribeApplicationInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationInfoRequest) ToJsonString ¶
func (r *DescribeApplicationInfoRequest) ToJsonString() string
type DescribeApplicationInfoRequestParams ¶
type DescribeApplicationInfoRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
Predefined struct for user
type DescribeApplicationInfoResponse ¶
type DescribeApplicationInfoResponse struct { *tchttp.BaseResponse Response *DescribeApplicationInfoResponseParams `json:"Response"` }
func NewDescribeApplicationInfoResponse ¶
func NewDescribeApplicationInfoResponse() (response *DescribeApplicationInfoResponse)
func (*DescribeApplicationInfoResponse) FromJsonString ¶
func (r *DescribeApplicationInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationInfoResponse) ToJsonString ¶
func (r *DescribeApplicationInfoResponse) ToJsonString() string
type DescribeApplicationInfoResponseParams ¶
type DescribeApplicationInfoResponseParams struct { // Returned result. Result *TemServiceVersionInfo `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationPodsRequest ¶
type DescribeApplicationPodsRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Number of items per page. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pod status // - Running // - Pending // - Error Status *string `json:"Status,omitempty" name:"Status"` // Pod name PodName *string `json:"PodName,omitempty" name:"PodName"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDescribeApplicationPodsRequest ¶
func NewDescribeApplicationPodsRequest() (request *DescribeApplicationPodsRequest)
func (*DescribeApplicationPodsRequest) FromJsonString ¶
func (r *DescribeApplicationPodsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationPodsRequest) ToJsonString ¶
func (r *DescribeApplicationPodsRequest) ToJsonString() string
type DescribeApplicationPodsRequestParams ¶
type DescribeApplicationPodsRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Number of items per page. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page number. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pod status // - Running // - Pending // - Error Status *string `json:"Status,omitempty" name:"Status"` // Pod name PodName *string `json:"PodName,omitempty" name:"PodName"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DescribeApplicationPodsResponse ¶
type DescribeApplicationPodsResponse struct { *tchttp.BaseResponse Response *DescribeApplicationPodsResponseParams `json:"Response"` }
func NewDescribeApplicationPodsResponse ¶
func NewDescribeApplicationPodsResponse() (response *DescribeApplicationPodsResponse)
func (*DescribeApplicationPodsResponse) FromJsonString ¶
func (r *DescribeApplicationPodsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationPodsResponse) ToJsonString ¶
func (r *DescribeApplicationPodsResponse) ToJsonString() string
type DescribeApplicationPodsResponseParams ¶
type DescribeApplicationPodsResponseParams struct { // Returned result Result *DescribeRunPodPage `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationServiceListRequest ¶
type DescribeApplicationServiceListRequest struct { *tchttp.BaseRequest // ID of the environment EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // ID of the application ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // xx SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDescribeApplicationServiceListRequest ¶
func NewDescribeApplicationServiceListRequest() (request *DescribeApplicationServiceListRequest)
func (*DescribeApplicationServiceListRequest) FromJsonString ¶
func (r *DescribeApplicationServiceListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationServiceListRequest) ToJsonString ¶
func (r *DescribeApplicationServiceListRequest) ToJsonString() string
type DescribeApplicationServiceListRequestParams ¶
type DescribeApplicationServiceListRequestParams struct { // ID of the environment EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // ID of the application ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // xx SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DescribeApplicationServiceListResponse ¶
type DescribeApplicationServiceListResponse struct { *tchttp.BaseResponse Response *DescribeApplicationServiceListResponseParams `json:"Response"` }
func NewDescribeApplicationServiceListResponse ¶
func NewDescribeApplicationServiceListResponse() (response *DescribeApplicationServiceListResponse)
func (*DescribeApplicationServiceListResponse) FromJsonString ¶
func (r *DescribeApplicationServiceListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationServiceListResponse) ToJsonString ¶
func (r *DescribeApplicationServiceListResponse) ToJsonString() string
type DescribeApplicationServiceListResponseParams ¶
type DescribeApplicationServiceListResponseParams struct { // Application EKS service list Result *EksService `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationsRequest ¶
type DescribeApplicationsRequest struct { *tchttp.BaseRequest // ID of the environment EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Pagination limit Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Keyword for searching. Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // Filters for query Filters []*QueryFilter `json:"Filters,omitempty" name:"Filters"` // Sorting field SortInfo *SortType `json:"SortInfo,omitempty" name:"SortInfo"` }
func NewDescribeApplicationsRequest ¶
func NewDescribeApplicationsRequest() (request *DescribeApplicationsRequest)
func (*DescribeApplicationsRequest) FromJsonString ¶
func (r *DescribeApplicationsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationsRequest) ToJsonString ¶
func (r *DescribeApplicationsRequest) ToJsonString() string
type DescribeApplicationsRequestParams ¶
type DescribeApplicationsRequestParams struct { // ID of the environment EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Pagination limit Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Keyword for searching. Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // Filters for query Filters []*QueryFilter `json:"Filters,omitempty" name:"Filters"` // Sorting field SortInfo *SortType `json:"SortInfo,omitempty" name:"SortInfo"` }
Predefined struct for user
type DescribeApplicationsResponse ¶
type DescribeApplicationsResponse struct { *tchttp.BaseResponse Response *DescribeApplicationsResponseParams `json:"Response"` }
func NewDescribeApplicationsResponse ¶
func NewDescribeApplicationsResponse() (response *DescribeApplicationsResponse)
func (*DescribeApplicationsResponse) FromJsonString ¶
func (r *DescribeApplicationsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationsResponse) ToJsonString ¶
func (r *DescribeApplicationsResponse) ToJsonString() string
type DescribeApplicationsResponseParams ¶
type DescribeApplicationsResponseParams struct { // Returned result. Result *ServicePage `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationsStatusRequest ¶
type DescribeApplicationsStatusRequest struct { *tchttp.BaseRequest // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
func NewDescribeApplicationsStatusRequest ¶
func NewDescribeApplicationsStatusRequest() (request *DescribeApplicationsStatusRequest)
func (*DescribeApplicationsStatusRequest) FromJsonString ¶
func (r *DescribeApplicationsStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationsStatusRequest) ToJsonString ¶
func (r *DescribeApplicationsStatusRequest) ToJsonString() string
type DescribeApplicationsStatusRequestParams ¶
type DescribeApplicationsStatusRequestParams struct { // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
Predefined struct for user
type DescribeApplicationsStatusResponse ¶
type DescribeApplicationsStatusResponse struct { *tchttp.BaseResponse Response *DescribeApplicationsStatusResponseParams `json:"Response"` }
func NewDescribeApplicationsStatusResponse ¶
func NewDescribeApplicationsStatusResponse() (response *DescribeApplicationsStatusResponse)
func (*DescribeApplicationsStatusResponse) FromJsonString ¶
func (r *DescribeApplicationsStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationsStatusResponse) ToJsonString ¶
func (r *DescribeApplicationsStatusResponse) ToJsonString() string
type DescribeApplicationsStatusResponseParams ¶
type DescribeApplicationsStatusResponseParams struct { // Returned result. Result []*ServiceVersionBrief `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConfigDataListPage ¶
type DescribeConfigDataListPage struct { // Record Records []*ConfigData `json:"Records,omitempty" name:"Records"` // Paging cursor // Note: This field may return `null`, indicating that no valid values can be obtained. ContinueToken *string `json:"ContinueToken,omitempty" name:"ContinueToken"` // Remaining number // Note: This field may return `null`, indicating that no valid values can be obtained. RemainingCount *int64 `json:"RemainingCount,omitempty" name:"RemainingCount"` }
type DescribeConfigDataListRequest ¶
type DescribeConfigDataListRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Paging cursor ContinueToken *string `json:"ContinueToken,omitempty" name:"ContinueToken"` // Pagination limit Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeConfigDataListRequest ¶
func NewDescribeConfigDataListRequest() (request *DescribeConfigDataListRequest)
func (*DescribeConfigDataListRequest) FromJsonString ¶
func (r *DescribeConfigDataListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigDataListRequest) ToJsonString ¶
func (r *DescribeConfigDataListRequest) ToJsonString() string
type DescribeConfigDataListRequestParams ¶
type DescribeConfigDataListRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Paging cursor ContinueToken *string `json:"ContinueToken,omitempty" name:"ContinueToken"` // Pagination limit Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeConfigDataListResponse ¶
type DescribeConfigDataListResponse struct { *tchttp.BaseResponse Response *DescribeConfigDataListResponseParams `json:"Response"` }
func NewDescribeConfigDataListResponse ¶
func NewDescribeConfigDataListResponse() (response *DescribeConfigDataListResponse)
func (*DescribeConfigDataListResponse) FromJsonString ¶
func (r *DescribeConfigDataListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigDataListResponse) ToJsonString ¶
func (r *DescribeConfigDataListResponse) ToJsonString() string
type DescribeConfigDataListResponseParams ¶
type DescribeConfigDataListResponseParams struct { // Configuration list. Result *DescribeConfigDataListPage `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConfigDataRequest ¶
type DescribeConfigDataRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDescribeConfigDataRequest ¶
func NewDescribeConfigDataRequest() (request *DescribeConfigDataRequest)
func (*DescribeConfigDataRequest) FromJsonString ¶
func (r *DescribeConfigDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigDataRequest) ToJsonString ¶
func (r *DescribeConfigDataRequest) ToJsonString() string
type DescribeConfigDataRequestParams ¶
type DescribeConfigDataRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DescribeConfigDataResponse ¶
type DescribeConfigDataResponse struct { *tchttp.BaseResponse Response *DescribeConfigDataResponseParams `json:"Response"` }
func NewDescribeConfigDataResponse ¶
func NewDescribeConfigDataResponse() (response *DescribeConfigDataResponse)
func (*DescribeConfigDataResponse) FromJsonString ¶
func (r *DescribeConfigDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigDataResponse) ToJsonString ¶
func (r *DescribeConfigDataResponse) ToJsonString() string
type DescribeConfigDataResponseParams ¶
type DescribeConfigDataResponseParams struct { // Configuration Result *ConfigData `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEnvironmentRequest ¶
type DescribeEnvironmentRequest struct { *tchttp.BaseRequest // Namespace ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDescribeEnvironmentRequest ¶
func NewDescribeEnvironmentRequest() (request *DescribeEnvironmentRequest)
func (*DescribeEnvironmentRequest) FromJsonString ¶
func (r *DescribeEnvironmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentRequest) ToJsonString ¶
func (r *DescribeEnvironmentRequest) ToJsonString() string
type DescribeEnvironmentRequestParams ¶
type DescribeEnvironmentRequestParams struct { // Namespace ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DescribeEnvironmentResponse ¶
type DescribeEnvironmentResponse struct { *tchttp.BaseResponse Response *DescribeEnvironmentResponseParams `json:"Response"` }
func NewDescribeEnvironmentResponse ¶
func NewDescribeEnvironmentResponse() (response *DescribeEnvironmentResponse)
func (*DescribeEnvironmentResponse) FromJsonString ¶
func (r *DescribeEnvironmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentResponse) ToJsonString ¶
func (r *DescribeEnvironmentResponse) ToJsonString() string
type DescribeEnvironmentResponseParams ¶
type DescribeEnvironmentResponseParams struct { // Environment information Result *NamespaceInfo `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEnvironmentStatusRequest ¶
type DescribeEnvironmentStatusRequest struct { *tchttp.BaseRequest // ID of the environment EnvironmentIds []*string `json:"EnvironmentIds,omitempty" name:"EnvironmentIds"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDescribeEnvironmentStatusRequest ¶
func NewDescribeEnvironmentStatusRequest() (request *DescribeEnvironmentStatusRequest)
func (*DescribeEnvironmentStatusRequest) FromJsonString ¶
func (r *DescribeEnvironmentStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentStatusRequest) ToJsonString ¶
func (r *DescribeEnvironmentStatusRequest) ToJsonString() string
type DescribeEnvironmentStatusRequestParams ¶
type DescribeEnvironmentStatusRequestParams struct { // ID of the environment EnvironmentIds []*string `json:"EnvironmentIds,omitempty" name:"EnvironmentIds"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DescribeEnvironmentStatusResponse ¶
type DescribeEnvironmentStatusResponse struct { *tchttp.BaseResponse Response *DescribeEnvironmentStatusResponseParams `json:"Response"` }
func NewDescribeEnvironmentStatusResponse ¶
func NewDescribeEnvironmentStatusResponse() (response *DescribeEnvironmentStatusResponse)
func (*DescribeEnvironmentStatusResponse) FromJsonString ¶
func (r *DescribeEnvironmentStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentStatusResponse) ToJsonString ¶
func (r *DescribeEnvironmentStatusResponse) ToJsonString() string
type DescribeEnvironmentStatusResponseParams ¶
type DescribeEnvironmentStatusResponseParams struct { // List of environment status Result []*NamespaceStatusInfo `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEnvironmentsRequest ¶
type DescribeEnvironmentsRequest struct { *tchttp.BaseRequest // Pagination limit Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Source SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Filters for query Filters []*QueryFilter `json:"Filters,omitempty" name:"Filters"` // Sorting field SortInfo *SortType `json:"SortInfo,omitempty" name:"SortInfo"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
func NewDescribeEnvironmentsRequest ¶
func NewDescribeEnvironmentsRequest() (request *DescribeEnvironmentsRequest)
func (*DescribeEnvironmentsRequest) FromJsonString ¶
func (r *DescribeEnvironmentsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentsRequest) ToJsonString ¶
func (r *DescribeEnvironmentsRequest) ToJsonString() string
type DescribeEnvironmentsRequestParams ¶
type DescribeEnvironmentsRequestParams struct { // Pagination limit Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Source SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Filters for query Filters []*QueryFilter `json:"Filters,omitempty" name:"Filters"` // Sorting field SortInfo *SortType `json:"SortInfo,omitempty" name:"SortInfo"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
Predefined struct for user
type DescribeEnvironmentsResponse ¶
type DescribeEnvironmentsResponse struct { *tchttp.BaseResponse Response *DescribeEnvironmentsResponseParams `json:"Response"` }
func NewDescribeEnvironmentsResponse ¶
func NewDescribeEnvironmentsResponse() (response *DescribeEnvironmentsResponse)
func (*DescribeEnvironmentsResponse) FromJsonString ¶
func (r *DescribeEnvironmentsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentsResponse) ToJsonString ¶
func (r *DescribeEnvironmentsResponse) ToJsonString() string
type DescribeEnvironmentsResponseParams ¶
type DescribeEnvironmentsResponseParams struct { // Returned result Result *NamespacePage `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIngressRequest ¶
type DescribeIngressRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // Ingress rule name IngressName *string `json:"IngressName,omitempty" name:"IngressName"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDescribeIngressRequest ¶
func NewDescribeIngressRequest() (request *DescribeIngressRequest)
func (*DescribeIngressRequest) FromJsonString ¶
func (r *DescribeIngressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIngressRequest) ToJsonString ¶
func (r *DescribeIngressRequest) ToJsonString() string
type DescribeIngressRequestParams ¶
type DescribeIngressRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // Ingress rule name IngressName *string `json:"IngressName,omitempty" name:"IngressName"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DescribeIngressResponse ¶
type DescribeIngressResponse struct { *tchttp.BaseResponse Response *DescribeIngressResponseParams `json:"Response"` }
func NewDescribeIngressResponse ¶
func NewDescribeIngressResponse() (response *DescribeIngressResponse)
func (*DescribeIngressResponse) FromJsonString ¶
func (r *DescribeIngressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIngressResponse) ToJsonString ¶
func (r *DescribeIngressResponse) ToJsonString() string
type DescribeIngressResponseParams ¶
type DescribeIngressResponseParams struct { // Ingress rule configuration Result *IngressInfo `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIngressesRequest ¶
type DescribeIngressesRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Ingress rule name list IngressNames []*string `json:"IngressNames,omitempty" name:"IngressNames"` }
func NewDescribeIngressesRequest ¶
func NewDescribeIngressesRequest() (request *DescribeIngressesRequest)
func (*DescribeIngressesRequest) FromJsonString ¶
func (r *DescribeIngressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIngressesRequest) ToJsonString ¶
func (r *DescribeIngressesRequest) ToJsonString() string
type DescribeIngressesRequestParams ¶
type DescribeIngressesRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Ingress rule name list IngressNames []*string `json:"IngressNames,omitempty" name:"IngressNames"` }
Predefined struct for user
type DescribeIngressesResponse ¶
type DescribeIngressesResponse struct { *tchttp.BaseResponse Response *DescribeIngressesResponseParams `json:"Response"` }
func NewDescribeIngressesResponse ¶
func NewDescribeIngressesResponse() (response *DescribeIngressesResponse)
func (*DescribeIngressesResponse) FromJsonString ¶
func (r *DescribeIngressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIngressesResponse) ToJsonString ¶
func (r *DescribeIngressesResponse) ToJsonString() string
type DescribeIngressesResponseParams ¶
type DescribeIngressesResponseParams struct { // Ingress array // Note: this field may return `null`, indicating that no valid values can be obtained. Result []*IngressInfo `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLogConfigRequest ¶
type DescribeLogConfigRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` }
func NewDescribeLogConfigRequest ¶
func NewDescribeLogConfigRequest() (request *DescribeLogConfigRequest)
func (*DescribeLogConfigRequest) FromJsonString ¶
func (r *DescribeLogConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogConfigRequest) ToJsonString ¶
func (r *DescribeLogConfigRequest) ToJsonString() string
type DescribeLogConfigRequestParams ¶
type DescribeLogConfigRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` }
Predefined struct for user
type DescribeLogConfigResponse ¶
type DescribeLogConfigResponse struct { *tchttp.BaseResponse Response *DescribeLogConfigResponseParams `json:"Response"` }
func NewDescribeLogConfigResponse ¶
func NewDescribeLogConfigResponse() (response *DescribeLogConfigResponse)
func (*DescribeLogConfigResponse) FromJsonString ¶
func (r *DescribeLogConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogConfigResponse) ToJsonString ¶
func (r *DescribeLogConfigResponse) ToJsonString() string
type DescribeLogConfigResponseParams ¶
type DescribeLogConfigResponseParams struct { // Configuration Result *LogConfig `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePagedLogConfigListRequest ¶
type DescribePagedLogConfigListRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Application name ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Name of the rule Name *string `json:"Name,omitempty" name:"Name"` // Number of entries per page. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Paging cursor ContinueToken *string `json:"ContinueToken,omitempty" name:"ContinueToken"` }
func NewDescribePagedLogConfigListRequest ¶
func NewDescribePagedLogConfigListRequest() (request *DescribePagedLogConfigListRequest)
func (*DescribePagedLogConfigListRequest) FromJsonString ¶
func (r *DescribePagedLogConfigListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePagedLogConfigListRequest) ToJsonString ¶
func (r *DescribePagedLogConfigListRequest) ToJsonString() string
type DescribePagedLogConfigListRequestParams ¶
type DescribePagedLogConfigListRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Application name ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Name of the rule Name *string `json:"Name,omitempty" name:"Name"` // Number of entries per page. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Paging cursor ContinueToken *string `json:"ContinueToken,omitempty" name:"ContinueToken"` }
Predefined struct for user
type DescribePagedLogConfigListResponse ¶
type DescribePagedLogConfigListResponse struct { *tchttp.BaseResponse Response *DescribePagedLogConfigListResponseParams `json:"Response"` }
func NewDescribePagedLogConfigListResponse ¶
func NewDescribePagedLogConfigListResponse() (response *DescribePagedLogConfigListResponse)
func (*DescribePagedLogConfigListResponse) FromJsonString ¶
func (r *DescribePagedLogConfigListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePagedLogConfigListResponse) ToJsonString ¶
func (r *DescribePagedLogConfigListResponse) ToJsonString() string
type DescribePagedLogConfigListResponseParams ¶
type DescribePagedLogConfigListResponseParams struct { // List of log collecting configurations Result *LogConfigListPage `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRelatedIngressesRequest ¶
type DescribeRelatedIngressesRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` }
func NewDescribeRelatedIngressesRequest ¶
func NewDescribeRelatedIngressesRequest() (request *DescribeRelatedIngressesRequest)
func (*DescribeRelatedIngressesRequest) FromJsonString ¶
func (r *DescribeRelatedIngressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRelatedIngressesRequest) ToJsonString ¶
func (r *DescribeRelatedIngressesRequest) ToJsonString() string
type DescribeRelatedIngressesRequestParams ¶
type DescribeRelatedIngressesRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` }
Predefined struct for user
type DescribeRelatedIngressesResponse ¶
type DescribeRelatedIngressesResponse struct { *tchttp.BaseResponse Response *DescribeRelatedIngressesResponseParams `json:"Response"` }
func NewDescribeRelatedIngressesResponse ¶
func NewDescribeRelatedIngressesResponse() (response *DescribeRelatedIngressesResponse)
func (*DescribeRelatedIngressesResponse) FromJsonString ¶
func (r *DescribeRelatedIngressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRelatedIngressesResponse) ToJsonString ¶
func (r *DescribeRelatedIngressesResponse) ToJsonString() string
type DescribeRelatedIngressesResponseParams ¶
type DescribeRelatedIngressesResponseParams struct { // Ingress array // Note: this field may return `null`, indicating that no valid values can be obtained. Result []*IngressInfo `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRunPodPage ¶
type DescribeRunPodPage struct { // Page offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of records per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Total number of returned records TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Request ID RequestId *string `json:"RequestId,omitempty" name:"RequestId"` // List of pods PodList []*RunVersionPod `json:"PodList,omitempty" name:"PodList"` }
type DestroyConfigDataRequest ¶
type DestroyConfigDataRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDestroyConfigDataRequest ¶
func NewDestroyConfigDataRequest() (request *DestroyConfigDataRequest)
func (*DestroyConfigDataRequest) FromJsonString ¶
func (r *DestroyConfigDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyConfigDataRequest) ToJsonString ¶
func (r *DestroyConfigDataRequest) ToJsonString() string
type DestroyConfigDataRequestParams ¶
type DestroyConfigDataRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DestroyConfigDataResponse ¶
type DestroyConfigDataResponse struct { *tchttp.BaseResponse Response *DestroyConfigDataResponseParams `json:"Response"` }
func NewDestroyConfigDataResponse ¶
func NewDestroyConfigDataResponse() (response *DestroyConfigDataResponse)
func (*DestroyConfigDataResponse) FromJsonString ¶
func (r *DestroyConfigDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyConfigDataResponse) ToJsonString ¶
func (r *DestroyConfigDataResponse) ToJsonString() string
type DestroyConfigDataResponseParams ¶
type DestroyConfigDataResponseParams struct { // Returned result. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyEnvironmentRequest ¶
type DestroyEnvironmentRequest struct { *tchttp.BaseRequest // Namespace ID. EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Namespace SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewDestroyEnvironmentRequest ¶
func NewDestroyEnvironmentRequest() (request *DestroyEnvironmentRequest)
func (*DestroyEnvironmentRequest) FromJsonString ¶
func (r *DestroyEnvironmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyEnvironmentRequest) ToJsonString ¶
func (r *DestroyEnvironmentRequest) ToJsonString() string
type DestroyEnvironmentRequestParams ¶
type DestroyEnvironmentRequestParams struct { // Namespace ID. EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Namespace SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type DestroyEnvironmentResponse ¶
type DestroyEnvironmentResponse struct { *tchttp.BaseResponse Response *DestroyEnvironmentResponseParams `json:"Response"` }
func NewDestroyEnvironmentResponse ¶
func NewDestroyEnvironmentResponse() (response *DestroyEnvironmentResponse)
func (*DestroyEnvironmentResponse) FromJsonString ¶
func (r *DestroyEnvironmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyEnvironmentResponse) ToJsonString ¶
func (r *DestroyEnvironmentResponse) ToJsonString() string
type DestroyEnvironmentResponseParams ¶
type DestroyEnvironmentResponseParams struct { // Returned result. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyLogConfigRequest ¶
type DestroyLogConfigRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` }
func NewDestroyLogConfigRequest ¶
func NewDestroyLogConfigRequest() (request *DestroyLogConfigRequest)
func (*DestroyLogConfigRequest) FromJsonString ¶
func (r *DestroyLogConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyLogConfigRequest) ToJsonString ¶
func (r *DestroyLogConfigRequest) ToJsonString() string
type DestroyLogConfigRequestParams ¶
type DestroyLogConfigRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` }
Predefined struct for user
type DestroyLogConfigResponse ¶
type DestroyLogConfigResponse struct { *tchttp.BaseResponse Response *DestroyLogConfigResponseParams `json:"Response"` }
func NewDestroyLogConfigResponse ¶
func NewDestroyLogConfigResponse() (response *DestroyLogConfigResponse)
func (*DestroyLogConfigResponse) FromJsonString ¶
func (r *DestroyLogConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyLogConfigResponse) ToJsonString ¶
func (r *DestroyLogConfigResponse) ToJsonString() string
type DestroyLogConfigResponseParams ¶
type DestroyLogConfigResponseParams struct { // Returned result. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DisableApplicationAutoscalerRequest ¶
type DisableApplicationAutoscalerRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Scaling rule ID AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` }
func NewDisableApplicationAutoscalerRequest ¶
func NewDisableApplicationAutoscalerRequest() (request *DisableApplicationAutoscalerRequest)
func (*DisableApplicationAutoscalerRequest) FromJsonString ¶
func (r *DisableApplicationAutoscalerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableApplicationAutoscalerRequest) ToJsonString ¶
func (r *DisableApplicationAutoscalerRequest) ToJsonString() string
type DisableApplicationAutoscalerRequestParams ¶
type DisableApplicationAutoscalerRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Scaling rule ID AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` }
Predefined struct for user
type DisableApplicationAutoscalerResponse ¶
type DisableApplicationAutoscalerResponse struct { *tchttp.BaseResponse Response *DisableApplicationAutoscalerResponseParams `json:"Response"` }
func NewDisableApplicationAutoscalerResponse ¶
func NewDisableApplicationAutoscalerResponse() (response *DisableApplicationAutoscalerResponse)
func (*DisableApplicationAutoscalerResponse) FromJsonString ¶
func (r *DisableApplicationAutoscalerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableApplicationAutoscalerResponse) ToJsonString ¶
func (r *DisableApplicationAutoscalerResponse) ToJsonString() string
type DisableApplicationAutoscalerResponseParams ¶
type DisableApplicationAutoscalerResponseParams struct { // Whether the action succeeded // Note: This field may return null, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type EksService ¶
type EksService struct { // Service name Name *string `json:"Name,omitempty" name:"Name"` // Available ports Ports []*int64 `json:"Ports,omitempty" name:"Ports"` // Yaml contents Yaml *string `json:"Yaml,omitempty" name:"Yaml"` // Service name // Note: this field may return `null`, indicating that no valid values can be obtained. ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Version name // Note: this field may return `null`, indicating that no valid values can be obtained. VersionName *string `json:"VersionName,omitempty" name:"VersionName"` // Private IP // Note: this field may return `null`, indicating that no valid values can be obtained. ClusterIp []*string `json:"ClusterIp,omitempty" name:"ClusterIp"` // Public IP // Note: this field may return `null`, indicating that no valid values can be obtained. ExternalIp *string `json:"ExternalIp,omitempty" name:"ExternalIp"` // The access type. Valid values: // - EXTERNAL (internet access) // - VPC (Intra-VPC access) // - CLUSTER (Intra-cluster access) // Note: this field may return `null`, indicating that no valid values can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // Subnet ID. It is filled when the access type is `VPC`. // Note: this field may return `null`, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Load balancer ID. It is filled when the access type is `EXTERNAL` or `CLUSTER`. It’s created automatically by default. // Note: this field may return `null`, indicating that no valid values can be obtained. LoadBalanceId *string `json:"LoadBalanceId,omitempty" name:"LoadBalanceId"` // Port mapping // Note: this field may return `null`, indicating that no valid values can be obtained. PortMappings []*PortMapping `json:"PortMappings,omitempty" name:"PortMappings"` // Details of each type of access configuration // Note: This field may return `null`, indicating that no valid values can be obtained. ServicePortMappingList []*ServicePortMapping `json:"ServicePortMappingList,omitempty" name:"ServicePortMappingList"` // Flush all types // Note: This field may return `null`, indicating that no valid values can be obtained. FlushAll *bool `json:"FlushAll,omitempty" name:"FlushAll"` // `0`: Do not inject. `1`: Inject registry information automatically for the next deployment // Note: This field may return `null`, indicating that no valid values can be obtained. EnableRegistryNextDeploy *int64 `json:"EnableRegistryNextDeploy,omitempty" name:"EnableRegistryNextDeploy"` // The application ID returned. // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Whether all the application IPs are ready // Note: This field may return `null`, indicating that no valid values can be obtained. AllIpDone *bool `json:"AllIpDone,omitempty" name:"AllIpDone"` }
type EnableApplicationAutoscalerRequest ¶
type EnableApplicationAutoscalerRequest struct { *tchttp.BaseRequest // Service ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Scaling rule ID AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` }
func NewEnableApplicationAutoscalerRequest ¶
func NewEnableApplicationAutoscalerRequest() (request *EnableApplicationAutoscalerRequest)
func (*EnableApplicationAutoscalerRequest) FromJsonString ¶
func (r *EnableApplicationAutoscalerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableApplicationAutoscalerRequest) ToJsonString ¶
func (r *EnableApplicationAutoscalerRequest) ToJsonString() string
type EnableApplicationAutoscalerRequestParams ¶
type EnableApplicationAutoscalerRequestParams struct { // Service ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Scaling rule ID AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` }
Predefined struct for user
type EnableApplicationAutoscalerResponse ¶
type EnableApplicationAutoscalerResponse struct { *tchttp.BaseResponse Response *EnableApplicationAutoscalerResponseParams `json:"Response"` }
func NewEnableApplicationAutoscalerResponse ¶
func NewEnableApplicationAutoscalerResponse() (response *EnableApplicationAutoscalerResponse)
func (*EnableApplicationAutoscalerResponse) FromJsonString ¶
func (r *EnableApplicationAutoscalerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableApplicationAutoscalerResponse) ToJsonString ¶
func (r *EnableApplicationAutoscalerResponse) ToJsonString() string
type EnableApplicationAutoscalerResponseParams ¶
type EnableApplicationAutoscalerResponseParams struct { // Whether the action succeeded // Note: This field may return null, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type EnablePrometheusConf ¶
type EsInfo ¶
type EsInfo struct { // Minimum number of instances MinAliveInstances *int64 `json:"MinAliveInstances,omitempty" name:"MinAliveInstances"` // Maximum number of instances MaxAliveInstances *int64 `json:"MaxAliveInstances,omitempty" name:"MaxAliveInstances"` // Auto scaling policy. 1: CPU; 2: memory EsStrategy *int64 `json:"EsStrategy,omitempty" name:"EsStrategy"` // Auto scaling condition value Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"` // Version ID VersionId *string `json:"VersionId,omitempty" name:"VersionId"` }
type GenerateApplicationPackageDownloadUrlRequest ¶
type GenerateApplicationPackageDownloadUrlRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Package name PkgName *string `json:"PkgName,omitempty" name:"PkgName"` // Version of the package to download DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewGenerateApplicationPackageDownloadUrlRequest ¶
func NewGenerateApplicationPackageDownloadUrlRequest() (request *GenerateApplicationPackageDownloadUrlRequest)
func (*GenerateApplicationPackageDownloadUrlRequest) FromJsonString ¶
func (r *GenerateApplicationPackageDownloadUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GenerateApplicationPackageDownloadUrlRequest) ToJsonString ¶
func (r *GenerateApplicationPackageDownloadUrlRequest) ToJsonString() string
type GenerateApplicationPackageDownloadUrlRequestParams ¶
type GenerateApplicationPackageDownloadUrlRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Package name PkgName *string `json:"PkgName,omitempty" name:"PkgName"` // Version of the package to download DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type GenerateApplicationPackageDownloadUrlResponse ¶
type GenerateApplicationPackageDownloadUrlResponse struct { *tchttp.BaseResponse Response *GenerateApplicationPackageDownloadUrlResponseParams `json:"Response"` }
func NewGenerateApplicationPackageDownloadUrlResponse ¶
func NewGenerateApplicationPackageDownloadUrlResponse() (response *GenerateApplicationPackageDownloadUrlResponse)
func (*GenerateApplicationPackageDownloadUrlResponse) FromJsonString ¶
func (r *GenerateApplicationPackageDownloadUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GenerateApplicationPackageDownloadUrlResponse) ToJsonString ¶
func (r *GenerateApplicationPackageDownloadUrlResponse) ToJsonString() string
type GenerateApplicationPackageDownloadUrlResponseParams ¶
type GenerateApplicationPackageDownloadUrlResponseParams struct { // Temp download URL for the package // Note: this field may return `null`, indicating that no valid values can be obtained. Result *string `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type HealthCheckConfig ¶
type HealthCheckConfig struct { // Health check type. Valid values: `HttpGet`, `TcpSocket`, `Exec` Type *string `json:"Type,omitempty" name:"Type"` // The protocol type. It’s only valid when the health check type is `HttpGet`. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // The request path. It’s only valid when the health check type is `HttpGet`. Path *string `json:"Path,omitempty" name:"Path"` // The script to be executed. It’s only valid when the health check type is `Exec`. Exec *string `json:"Exec,omitempty" name:"Exec"` // The request port. It’s only valid when the health check type is `HttpGet` or `TcpSocket `. Port *int64 `json:"Port,omitempty" name:"Port"` // The initial delay for health check in seconds. Default: `0` InitialDelaySeconds *int64 `json:"InitialDelaySeconds,omitempty" name:"InitialDelaySeconds"` // Timeout period in seconds. Default: `1` TimeoutSeconds *int64 `json:"TimeoutSeconds,omitempty" name:"TimeoutSeconds"` // Interval period in seconds. Default: `10` PeriodSeconds *int64 `json:"PeriodSeconds,omitempty" name:"PeriodSeconds"` }
type HorizontalAutoscaler ¶
type HorizontalAutoscaler struct { // (Optional) Minimum number of instances MinReplicas *int64 `json:"MinReplicas,omitempty" name:"MinReplicas"` // (Optional) Maximum number of instances MaxReplicas *int64 `json:"MaxReplicas,omitempty" name:"MaxReplicas"` // Metric measurement // `CPU`: CPU utilization (%) // `MEMORY`: Memory utilization (%) // `CPU_CORE_USED`: CPU usage (core) // `MEMORY_SIZE_USED`: Memory usage (MiB) // `NETWORK_BANDWIDTH_RECEIVE`: Network bandwidth in (Mbps) // `NETWORK_BANDWIDTH_TRANSMIT`: Network bandwidth out (Mbps) // `NETWORK_TRAFFIC_RECEIVE`: Network traffic in (MiB/s) // `NETWORK_TRAFFIC_TRANSMIT`: Network traffic out (MiB/s) // `NETWORK_PACKETS_RECEIVE`: Network packets in (packets/sec) // `NETWORK_PACKETS_TRANSMIT`: Network packets out (packets/sec) // `FS_IOPS_WRITE`: Disk writes (count/sec) // `FS_IOPS_READ`: Disk reads (count/sec) // `FS_SIZE_WRITE`: Disk write size (MiB/s) // `FS_SIZE_READ`: Disk read size (MiB/s) Metrics *string `json:"Metrics,omitempty" name:"Metrics"` // The value of threshold (integer) Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"` // Whether it is enabled Enabled *bool `json:"Enabled,omitempty" name:"Enabled"` // The value of threshold (demical) // Note: This field may return null, indicating that no valid values can be obtained. DoubleThreshold *float64 `json:"DoubleThreshold,omitempty" name:"DoubleThreshold"` }
type IngressInfo ¶
type IngressInfo struct { // Environment ID // Note: this field may return `null`, indicating that no valid values can be obtained. EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment namespace ClusterNamespace *string `json:"ClusterNamespace,omitempty" name:"ClusterNamespace"` // ip version AddressIPVersion *string `json:"AddressIPVersion,omitempty" name:"AddressIPVersion"` // ingress name IngressName *string `json:"IngressName,omitempty" name:"IngressName"` // Rules configuration Rules []*IngressRule `json:"Rules,omitempty" name:"Rules"` // clb ID // Note: this field may return `null`, indicating that no valid values can be obtained. ClbId *string `json:"ClbId,omitempty" name:"ClbId"` // TLS configuration // Note: this field may return `null`, indicating that no valid values can be obtained. Tls []*IngressTls `json:"Tls,omitempty" name:"Tls"` // Environment cluster ID // Note: this field may return `null`, indicating that no valid values can be obtained. ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // clb ip // Note: this field may return `null`, indicating that no valid values can be obtained. Vip *string `json:"Vip,omitempty" name:"Vip"` // Creation time // Note: this field may return `null`, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Whether to listen on both the HTTP 80 port and HTTPS 443 port. The default value is `false`. The optional value `true` means listening on both the HTTP 80 port and HTTPS 443 port. Mixed *bool `json:"Mixed,omitempty" name:"Mixed"` // Redirection mode. Values: // - `AUTO` (automatically redirect HTTP to HTTPS) // - `NONE` (no redirection) // Note: This field may return `null`, indicating that no valid value can be obtained. RewriteType *string `json:"RewriteType,omitempty" name:"RewriteType"` }
type IngressRule ¶
type IngressRule struct { // ingress rule value Http *IngressRuleValue `json:"Http,omitempty" name:"Http"` // Host address // Note: this field may return `null`, indicating that no valid values can be obtained. Host *string `json:"Host,omitempty" name:"Host"` // Protocol. Options include HTTP and HTTPS. The default option is HTTP. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
type IngressRuleBackend ¶
type IngressRulePath ¶
type IngressRulePath struct { // Path information Path *string `json:"Path,omitempty" name:"Path"` // Backend configuration Backend *IngressRuleBackend `json:"Backend,omitempty" name:"Backend"` }
type IngressRuleValue ¶
type IngressRuleValue struct { // Overall rule configuration Paths []*IngressRulePath `json:"Paths,omitempty" name:"Paths"` }
type IngressTls ¶
type IngressTls struct { // Host array. An empty array indicates the default certificate for all domain names. Hosts []*string `json:"Hosts,omitempty" name:"Hosts"` // Secret name. If a certificate is used, this field is left empty. SecretName *string `json:"SecretName,omitempty" name:"SecretName"` // SSL Certificate Id CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"` }
type LogConfig ¶
type LogConfig struct { // Name. Name *string `json:"Name,omitempty" name:"Name"` // Collection type. Values: `container_stdout` (standard); `container_file` (file) InputType *string `json:"InputType,omitempty" name:"InputType"` // Logset ID // Note: This field may return `null`, indicating that no valid values can be obtained. LogsetId *string `json:"LogsetId,omitempty" name:"LogsetId"` // Log topic ID // Note: This field may return `null`, indicating that no valid values can be obtained. TopicId *string `json:"TopicId,omitempty" name:"TopicId"` // Log withdrawal mode. Values: `minimalist_log` (full text in a single line); `multiline_log` (full text in multiple lines); `fullregex_log` (regex in a single line); `multiline_fullregex_log` (regex in multiple lines), `json_log` (JSON); LogType *string `json:"LogType,omitempty" name:"LogType"` // First line regex. It’s valid when `LogType` is `multiline_log` or `multiline_fullregex_log`. // Note: This field may return `null`, indicating that no valid value was found. BeginningRegex *string `json:"BeginningRegex,omitempty" name:"BeginningRegex"` // Directory of files to collect. It’s valid when `InputType` is `container_file`. // Note: This field may return `null`, indicating that no valid values can be obtained. LogPath *string `json:"LogPath,omitempty" name:"LogPath"` // Name pattern of files to collect. It’s valid when `InputType` is `container_file`. // Note: This field may return `null`, indicating that no valid values can be obtained. FilePattern *string `json:"FilePattern,omitempty" name:"FilePattern"` // Creation time. // Note: This field may return `null`, indicating that no valid values can be obtained. CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` // Update time // Note: This field may return `null`, indicating that no valid values can be obtained. ModifyDate *string `json:"ModifyDate,omitempty" name:"ModifyDate"` // Application ID // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Application name // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Export rules // Note: This field may return `null`, indicating that no valid value was found. ExtractRule *LogConfigExtractRule `json:"ExtractRule,omitempty" name:"ExtractRule"` }
type LogConfigExtractRule ¶
type LogConfigExtractRule struct { // First line regex // Note: This field may return `null`, indicating that no valid value was found. BeginningRegex *string `json:"BeginningRegex,omitempty" name:"BeginningRegex"` // Withdrawl result // Note: This field may return `null`, indicating that no valid value was found. Keys []*string `json:"Keys,omitempty" name:"Keys"` // Filter keys // Note: This field may return `null`, indicating that no valid value was found. FilterKeys []*string `json:"FilterKeys,omitempty" name:"FilterKeys"` // Filter values // Note: This field may return `null`, indicating that no valid value was found. FilterRegex []*string `json:"FilterRegex,omitempty" name:"FilterRegex"` // Log regex // Note: This field may return `null`, indicating that no valid value was found. LogRegex *string `json:"LogRegex,omitempty" name:"LogRegex"` // Time field // Note: This field may return `null`, indicating that no valid value was found. TimeKey *string `json:"TimeKey,omitempty" name:"TimeKey"` // Time Format // Note: This field may return `null`, indicating that no valid value was found. TimeFormat *string `json:"TimeFormat,omitempty" name:"TimeFormat"` // - Enable the upload of the log that failed to parse // Note: This field may return `null`, indicating that no valid value was found. UnMatchUpload *string `json:"UnMatchUpload,omitempty" name:"UnMatchUpload"` // Key of log failed to be parsed // Note: This field may return `null`, indicating that no valid value was found. UnMatchedKey *string `json:"UnMatchedKey,omitempty" name:"UnMatchedKey"` }
type LogConfigListPage ¶
type LogConfigListPage struct { // Record // Note: This field may return `null`, indicating that no valid values can be obtained. Records []*LogConfig `json:"Records,omitempty" name:"Records"` // Paging cursor // Note: This field may return `null`, indicating that no valid values can be obtained. ContinueToken *string `json:"ContinueToken,omitempty" name:"ContinueToken"` }
type LogOutputConf ¶
type LogOutputConf struct { // Log consumer type OutputType *string `json:"OutputType,omitempty" name:"OutputType"` // CLS logset ClsLogsetName *string `json:"ClsLogsetName,omitempty" name:"ClsLogsetName"` // CLS log topic ClsLogTopicId *string `json:"ClsLogTopicId,omitempty" name:"ClsLogTopicId"` // CLS logset ID ClsLogsetId *string `json:"ClsLogsetId,omitempty" name:"ClsLogsetId"` // CLS log topic name ClsLogTopicName *string `json:"ClsLogTopicName,omitempty" name:"ClsLogTopicName"` }
type ModifyApplicationAutoscalerRequest ¶
type ModifyApplicationAutoscalerRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Scaling rule ID AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` // Auto scaling policy Autoscaler *Autoscaler `json:"Autoscaler,omitempty" name:"Autoscaler"` }
func NewModifyApplicationAutoscalerRequest ¶
func NewModifyApplicationAutoscalerRequest() (request *ModifyApplicationAutoscalerRequest)
func (*ModifyApplicationAutoscalerRequest) FromJsonString ¶
func (r *ModifyApplicationAutoscalerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationAutoscalerRequest) ToJsonString ¶
func (r *ModifyApplicationAutoscalerRequest) ToJsonString() string
type ModifyApplicationAutoscalerRequestParams ¶
type ModifyApplicationAutoscalerRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Scaling rule ID AutoscalerId *string `json:"AutoscalerId,omitempty" name:"AutoscalerId"` // Auto scaling policy Autoscaler *Autoscaler `json:"Autoscaler,omitempty" name:"Autoscaler"` }
Predefined struct for user
type ModifyApplicationAutoscalerResponse ¶
type ModifyApplicationAutoscalerResponse struct { *tchttp.BaseResponse Response *ModifyApplicationAutoscalerResponseParams `json:"Response"` }
func NewModifyApplicationAutoscalerResponse ¶
func NewModifyApplicationAutoscalerResponse() (response *ModifyApplicationAutoscalerResponse)
func (*ModifyApplicationAutoscalerResponse) FromJsonString ¶
func (r *ModifyApplicationAutoscalerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationAutoscalerResponse) ToJsonString ¶
func (r *ModifyApplicationAutoscalerResponse) ToJsonString() string
type ModifyApplicationAutoscalerResponseParams ¶
type ModifyApplicationAutoscalerResponseParams struct { // Whether the action is successful // Note: This field may return `null`, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationInfoRequest ¶
type ModifyApplicationInfoRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Description Description *string `json:"Description,omitempty" name:"Description"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // (Disused) Whether to enable the call chain. EnableTracing *uint64 `json:"EnableTracing,omitempty" name:"EnableTracing"` }
func NewModifyApplicationInfoRequest ¶
func NewModifyApplicationInfoRequest() (request *ModifyApplicationInfoRequest)
func (*ModifyApplicationInfoRequest) FromJsonString ¶
func (r *ModifyApplicationInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationInfoRequest) ToJsonString ¶
func (r *ModifyApplicationInfoRequest) ToJsonString() string
type ModifyApplicationInfoRequestParams ¶
type ModifyApplicationInfoRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Description Description *string `json:"Description,omitempty" name:"Description"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // (Disused) Whether to enable the call chain. EnableTracing *uint64 `json:"EnableTracing,omitempty" name:"EnableTracing"` }
Predefined struct for user
type ModifyApplicationInfoResponse ¶
type ModifyApplicationInfoResponse struct { *tchttp.BaseResponse Response *ModifyApplicationInfoResponseParams `json:"Response"` }
func NewModifyApplicationInfoResponse ¶
func NewModifyApplicationInfoResponse() (response *ModifyApplicationInfoResponse)
func (*ModifyApplicationInfoResponse) FromJsonString ¶
func (r *ModifyApplicationInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationInfoResponse) ToJsonString ¶
func (r *ModifyApplicationInfoResponse) ToJsonString() string
type ModifyApplicationInfoResponseParams ¶
type ModifyApplicationInfoResponseParams struct { // Success or not // Note: this field may return `null`, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationServiceRequest ¶
type ModifyApplicationServiceRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Full access mode settings Service *EksService `json:"Service,omitempty" name:"Service"` // Single entry access mode settings Data *ServicePortMapping `json:"Data,omitempty" name:"Data"` }
func NewModifyApplicationServiceRequest ¶
func NewModifyApplicationServiceRequest() (request *ModifyApplicationServiceRequest)
func (*ModifyApplicationServiceRequest) FromJsonString ¶
func (r *ModifyApplicationServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationServiceRequest) ToJsonString ¶
func (r *ModifyApplicationServiceRequest) ToJsonString() string
type ModifyApplicationServiceRequestParams ¶
type ModifyApplicationServiceRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Full access mode settings Service *EksService `json:"Service,omitempty" name:"Service"` // Single entry access mode settings Data *ServicePortMapping `json:"Data,omitempty" name:"Data"` }
Predefined struct for user
type ModifyApplicationServiceResponse ¶
type ModifyApplicationServiceResponse struct { *tchttp.BaseResponse Response *ModifyApplicationServiceResponseParams `json:"Response"` }
func NewModifyApplicationServiceResponse ¶
func NewModifyApplicationServiceResponse() (response *ModifyApplicationServiceResponse)
func (*ModifyApplicationServiceResponse) FromJsonString ¶
func (r *ModifyApplicationServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationServiceResponse) ToJsonString ¶
func (r *ModifyApplicationServiceResponse) ToJsonString() string
type ModifyApplicationServiceResponseParams ¶
type ModifyApplicationServiceResponseParams struct { // Whether the action succeeded // Note: This field may return null, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyConfigDataRequest ¶
type ModifyConfigDataRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Configuration information Data []*Pair `json:"Data,omitempty" name:"Data"` }
func NewModifyConfigDataRequest ¶
func NewModifyConfigDataRequest() (request *ModifyConfigDataRequest)
func (*ModifyConfigDataRequest) FromJsonString ¶
func (r *ModifyConfigDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigDataRequest) ToJsonString ¶
func (r *ModifyConfigDataRequest) ToJsonString() string
type ModifyConfigDataRequestParams ¶
type ModifyConfigDataRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Source channel. Please keep the default value. SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Configuration information Data []*Pair `json:"Data,omitempty" name:"Data"` }
Predefined struct for user
type ModifyConfigDataResponse ¶
type ModifyConfigDataResponse struct { *tchttp.BaseResponse Response *ModifyConfigDataResponseParams `json:"Response"` }
func NewModifyConfigDataResponse ¶
func NewModifyConfigDataResponse() (response *ModifyConfigDataResponse)
func (*ModifyConfigDataResponse) FromJsonString ¶
func (r *ModifyConfigDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigDataResponse) ToJsonString ¶
func (r *ModifyConfigDataResponse) ToJsonString() string
type ModifyConfigDataResponseParams ¶
type ModifyConfigDataResponseParams struct { // Result of the modification Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyEnvironmentRequest ¶
type ModifyEnvironmentRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment name EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // Environment description Description *string `json:"Description,omitempty" name:"Description"` // VPC name Vpc *string `json:"Vpc,omitempty" name:"Vpc"` // Subnets SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment type. Values: `test`, `pre`, `prod` EnvType *string `json:"EnvType,omitempty" name:"EnvType"` }
func NewModifyEnvironmentRequest ¶
func NewModifyEnvironmentRequest() (request *ModifyEnvironmentRequest)
func (*ModifyEnvironmentRequest) FromJsonString ¶
func (r *ModifyEnvironmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEnvironmentRequest) ToJsonString ¶
func (r *ModifyEnvironmentRequest) ToJsonString() string
type ModifyEnvironmentRequestParams ¶
type ModifyEnvironmentRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment name EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // Environment description Description *string `json:"Description,omitempty" name:"Description"` // VPC name Vpc *string `json:"Vpc,omitempty" name:"Vpc"` // Subnets SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment type. Values: `test`, `pre`, `prod` EnvType *string `json:"EnvType,omitempty" name:"EnvType"` }
Predefined struct for user
type ModifyEnvironmentResponse ¶
type ModifyEnvironmentResponse struct { *tchttp.BaseResponse Response *ModifyEnvironmentResponseParams `json:"Response"` }
func NewModifyEnvironmentResponse ¶
func NewModifyEnvironmentResponse() (response *ModifyEnvironmentResponse)
func (*ModifyEnvironmentResponse) FromJsonString ¶
func (r *ModifyEnvironmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEnvironmentResponse) ToJsonString ¶
func (r *ModifyEnvironmentResponse) ToJsonString() string
type ModifyEnvironmentResponseParams ¶
type ModifyEnvironmentResponseParams struct { // Environment ID in case of success and `null` in case of failure // Note: this field may return `null`, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyIngressRequest ¶
type ModifyIngressRequest struct { *tchttp.BaseRequest // Ingress rule configuration Ingress *IngressInfo `json:"Ingress,omitempty" name:"Ingress"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewModifyIngressRequest ¶
func NewModifyIngressRequest() (request *ModifyIngressRequest)
func (*ModifyIngressRequest) FromJsonString ¶
func (r *ModifyIngressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIngressRequest) ToJsonString ¶
func (r *ModifyIngressRequest) ToJsonString() string
type ModifyIngressRequestParams ¶
type ModifyIngressRequestParams struct { // Ingress rule configuration Ingress *IngressInfo `json:"Ingress,omitempty" name:"Ingress"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type ModifyIngressResponse ¶
type ModifyIngressResponse struct { *tchttp.BaseResponse Response *ModifyIngressResponseParams `json:"Response"` }
func NewModifyIngressResponse ¶
func NewModifyIngressResponse() (response *ModifyIngressResponse)
func (*ModifyIngressResponse) FromJsonString ¶
func (r *ModifyIngressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIngressResponse) ToJsonString ¶
func (r *ModifyIngressResponse) ToJsonString() string
type ModifyIngressResponseParams ¶
type ModifyIngressResponseParams struct { // Created successfully. // Note: this field may return `null`, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLogConfigRequest ¶
type ModifyLogConfigRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Log collector configuration Data *LogConfig `json:"Data,omitempty" name:"Data"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` }
func NewModifyLogConfigRequest ¶
func NewModifyLogConfigRequest() (request *ModifyLogConfigRequest)
func (*ModifyLogConfigRequest) FromJsonString ¶
func (r *ModifyLogConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLogConfigRequest) ToJsonString ¶
func (r *ModifyLogConfigRequest) ToJsonString() string
type ModifyLogConfigRequestParams ¶
type ModifyLogConfigRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Configuration name Name *string `json:"Name,omitempty" name:"Name"` // Log collector configuration Data *LogConfig `json:"Data,omitempty" name:"Data"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` }
Predefined struct for user
type ModifyLogConfigResponse ¶
type ModifyLogConfigResponse struct { *tchttp.BaseResponse Response *ModifyLogConfigResponseParams `json:"Response"` }
func NewModifyLogConfigResponse ¶
func NewModifyLogConfigResponse() (response *ModifyLogConfigResponse)
func (*ModifyLogConfigResponse) FromJsonString ¶
func (r *ModifyLogConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLogConfigResponse) ToJsonString ¶
func (r *ModifyLogConfigResponse) ToJsonString() string
type ModifyLogConfigResponseParams ¶
type ModifyLogConfigResponseParams struct { // Result of the modification Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type MountedSettingConf ¶
type MountedSettingConf struct { // Configuration name ConfigDataName *string `json:"ConfigDataName,omitempty" name:"ConfigDataName"` // Mount point path MountedPath *string `json:"MountedPath,omitempty" name:"MountedPath"` // Configuration content Data []*Pair `json:"Data,omitempty" name:"Data"` // Encrypt configuration name SecretDataName *string `json:"SecretDataName,omitempty" name:"SecretDataName"` }
type NamespaceInfo ¶
type NamespaceInfo struct { // ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // (Disused) Name NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"` // Region Region *string `json:"Region,omitempty" name:"Region"` // vpc id VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Array of subnet IDs SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Description Description *string `json:"Description,omitempty" name:"Description"` // Creation time CreatedDate *string `json:"CreatedDate,omitempty" name:"CreatedDate"` // Environment name // Note: This field may return null, indicating that no valid values can be obtained. EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // APM instance ID // Note: This field may return null, indicating that no valid values can be obtained. ApmInstanceId *string `json:"ApmInstanceId,omitempty" name:"ApmInstanceId"` // Whether the environment is locked. `1`: Locked, `0`: Not locked // Note: This field may return null, indicating that no valid values can be obtained. Locked *int64 `json:"Locked,omitempty" name:"Locked"` // Tag // Note: This field may return `null`, indicating that no valid value was found. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // Environment type. Values: `test`, `pre`, `prod` // Note: This field may return `null`, indicating that no valid value was found. EnvType *string `json:"EnvType,omitempty" name:"EnvType"` }
type NamespacePage ¶
type NamespacePage struct { // Details of the returned records Records []*TemNamespaceInfo `json:"Records,omitempty" name:"Records"` // Total number of returned records Total *int64 `json:"Total,omitempty" name:"Total"` // Number of records per page Size *int64 `json:"Size,omitempty" name:"Size"` // Total number of pages Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Current entry // Note: This field may return null, indicating that no valid values can be obtained. Current *int64 `json:"Current,omitempty" name:"Current"` }
type NamespaceStatusInfo ¶
type NamespaceStatusInfo struct { // ID of the environment EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment name EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // TCB envId | EKS clusterId ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Environment status ClusterStatus *string `json:"ClusterStatus,omitempty" name:"ClusterStatus"` // Whether the environment is being started. `null` is returned if it’s not being started. // Note: This field may return `null`, indicating that no valid values can be obtained. EnvironmentStartingStatus *TemEnvironmentStartingStatus `json:"EnvironmentStartingStatus,omitempty" name:"EnvironmentStartingStatus"` // Whether the environment is being stopped. `null` is returned if it’s not being stopped. // Note: This field may return `null`, indicating that no valid values can be obtained. EnvironmentStoppingStatus *TemEnvironmentStoppingStatus `json:"EnvironmentStoppingStatus,omitempty" name:"EnvironmentStoppingStatus"` }
type NodeInfo ¶
type NodeInfo struct { // Node name Name *string `json:"Name,omitempty" name:"Name"` // Availability zone of the node // Note: This field may return `null`, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitempty" name:"Zone"` // Node subnet ID // Note: This field may return `null`, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Number of available IPs // Note: This field may return `null`, indicating that no valid values can be obtained. AvailableIpCount *string `json:"AvailableIpCount,omitempty" name:"AvailableIpCount"` // CIDR block // Note: This field may return `null`, indicating that no valid values can be obtained. Cidr *string `json:"Cidr,omitempty" name:"Cidr"` }
type Pair ¶
type Pair struct { // Key Key *string `json:"Key,omitempty" name:"Key"` // Value Value *string `json:"Value,omitempty" name:"Value"` // `default“: Custom. `reserved`: System variable. `referenced`: Referenced configuration item. // Note: This field may return `null`, indicating that no valid value can be found. Type *string `json:"Type,omitempty" name:"Type"` // Configuration name // Note: This field may return `null`, indicating that no valid value can be found. Config *string `json:"Config,omitempty" name:"Config"` // Encrypt configuration name // Note: This field may return `null`, indicating that no valid value was found. Secret *string `json:"Secret,omitempty" name:"Secret"` }
type PortMapping ¶
type PortMapping struct { // Port. Port *int64 `json:"Port,omitempty" name:"Port"` // Mapped port TargetPort *int64 `json:"TargetPort,omitempty" name:"TargetPort"` // TCP/UDP protocol stack. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // K8s service name ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` }
type QueryFilter ¶
type RestartApplicationPodRequest ¶
type RestartApplicationPodRequest struct { *tchttp.BaseRequest // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Name PodName *string `json:"PodName,omitempty" name:"PodName"` // Number of items per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pod status Status *string `json:"Status,omitempty" name:"Status"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
func NewRestartApplicationPodRequest ¶
func NewRestartApplicationPodRequest() (request *RestartApplicationPodRequest)
func (*RestartApplicationPodRequest) FromJsonString ¶
func (r *RestartApplicationPodRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartApplicationPodRequest) ToJsonString ¶
func (r *RestartApplicationPodRequest) ToJsonString() string
type RestartApplicationPodRequestParams ¶
type RestartApplicationPodRequestParams struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Name PodName *string `json:"PodName,omitempty" name:"PodName"` // Number of items per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pod status Status *string `json:"Status,omitempty" name:"Status"` // Source channel SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` }
Predefined struct for user
type RestartApplicationPodResponse ¶
type RestartApplicationPodResponse struct { *tchttp.BaseResponse Response *RestartApplicationPodResponseParams `json:"Response"` }
func NewRestartApplicationPodResponse ¶
func NewRestartApplicationPodResponse() (response *RestartApplicationPodResponse)
func (*RestartApplicationPodResponse) FromJsonString ¶
func (r *RestartApplicationPodResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartApplicationPodResponse) ToJsonString ¶
func (r *RestartApplicationPodResponse) ToJsonString() string
type RestartApplicationPodResponseParams ¶
type RestartApplicationPodResponseParams struct { // Returned result // Note: this field may return `null`, indicating that no valid values can be obtained. Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RestartApplicationRequest ¶
type RestartApplicationRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Retain as default SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
func NewRestartApplicationRequest ¶
func NewRestartApplicationRequest() (request *RestartApplicationRequest)
func (*RestartApplicationRequest) FromJsonString ¶
func (r *RestartApplicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartApplicationRequest) ToJsonString ¶
func (r *RestartApplicationRequest) ToJsonString() string
type RestartApplicationRequestParams ¶
type RestartApplicationRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Retain as default SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
Predefined struct for user
type RestartApplicationResponse ¶
type RestartApplicationResponse struct { *tchttp.BaseResponse Response *RestartApplicationResponseParams `json:"Response"` }
func NewRestartApplicationResponse ¶
func NewRestartApplicationResponse() (response *RestartApplicationResponse)
func (*RestartApplicationResponse) FromJsonString ¶
func (r *RestartApplicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartApplicationResponse) ToJsonString ¶
func (r *RestartApplicationResponse) ToJsonString() string
type RestartApplicationResponseParams ¶
type RestartApplicationResponseParams struct { // Returned result Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RollingUpdateApplicationByVersionRequest ¶
type RollingUpdateApplicationByVersionRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Update version. For image-based deployment, it is the value. For deployment with JAR/WAR files, it is `Version`. DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"` // JAR/WAR package name. It’s only required for deployment with JAR/WAR files. PackageName *string `json:"PackageName,omitempty" name:"PackageName"` // Request source. Options: `IntelliJ`, `Coding` From *string `json:"From,omitempty" name:"From"` // The deployment policy. Values: `AUTO` (automatically deploy), `BETA` (deploy a small batch first to test the result, and deploy the rest automatically) and `MANUAL` (manually deploy) DeployStrategyType *string `json:"DeployStrategyType,omitempty" name:"DeployStrategyType"` // Total number of batches TotalBatchCount *int64 `json:"TotalBatchCount,omitempty" name:"TotalBatchCount"` // Interval between the batches BatchInterval *int64 `json:"BatchInterval,omitempty" name:"BatchInterval"` // Number of instances in a beta batch BetaBatchNum *int64 `json:"BetaBatchNum,omitempty" name:"BetaBatchNum"` // Minimum number of available instances during the deployment MinAvailable *int64 `json:"MinAvailable,omitempty" name:"MinAvailable"` }
func NewRollingUpdateApplicationByVersionRequest ¶
func NewRollingUpdateApplicationByVersionRequest() (request *RollingUpdateApplicationByVersionRequest)
func (*RollingUpdateApplicationByVersionRequest) FromJsonString ¶
func (r *RollingUpdateApplicationByVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RollingUpdateApplicationByVersionRequest) ToJsonString ¶
func (r *RollingUpdateApplicationByVersionRequest) ToJsonString() string
type RollingUpdateApplicationByVersionRequestParams ¶
type RollingUpdateApplicationByVersionRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Update version. For image-based deployment, it is the value. For deployment with JAR/WAR files, it is `Version`. DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"` // JAR/WAR package name. It’s only required for deployment with JAR/WAR files. PackageName *string `json:"PackageName,omitempty" name:"PackageName"` // Request source. Options: `IntelliJ`, `Coding` From *string `json:"From,omitempty" name:"From"` // The deployment policy. Values: `AUTO` (automatically deploy), `BETA` (deploy a small batch first to test the result, and deploy the rest automatically) and `MANUAL` (manually deploy) DeployStrategyType *string `json:"DeployStrategyType,omitempty" name:"DeployStrategyType"` // Total number of batches TotalBatchCount *int64 `json:"TotalBatchCount,omitempty" name:"TotalBatchCount"` // Interval between the batches BatchInterval *int64 `json:"BatchInterval,omitempty" name:"BatchInterval"` // Number of instances in a beta batch BetaBatchNum *int64 `json:"BetaBatchNum,omitempty" name:"BetaBatchNum"` // Minimum number of available instances during the deployment MinAvailable *int64 `json:"MinAvailable,omitempty" name:"MinAvailable"` }
Predefined struct for user
type RollingUpdateApplicationByVersionResponse ¶
type RollingUpdateApplicationByVersionResponse struct { *tchttp.BaseResponse Response *RollingUpdateApplicationByVersionResponseParams `json:"Response"` }
func NewRollingUpdateApplicationByVersionResponse ¶
func NewRollingUpdateApplicationByVersionResponse() (response *RollingUpdateApplicationByVersionResponse)
func (*RollingUpdateApplicationByVersionResponse) FromJsonString ¶
func (r *RollingUpdateApplicationByVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RollingUpdateApplicationByVersionResponse) ToJsonString ¶
func (r *RollingUpdateApplicationByVersionResponse) ToJsonString() string
type RollingUpdateApplicationByVersionResponseParams ¶
type RollingUpdateApplicationByVersionResponseParams struct { // Version ID Result *string `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RunVersionPod ¶
type RunVersionPod struct { // Shell address Webshell *string `json:"Webshell,omitempty" name:"Webshell"` // Pod ID PodId *string `json:"PodId,omitempty" name:"PodId"` // Status Status *string `json:"Status,omitempty" name:"Status"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Pod IP PodIp *string `json:"PodIp,omitempty" name:"PodIp"` // Availability zone // Note: this field may return `null`, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitempty" name:"Zone"` // Deployed version // Note: this field may return `null`, indicating that no valid values can be obtained. DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"` // Number of restarts // Note: this field may return `null`, indicating that no valid values can be obtained. RestartCount *int64 `json:"RestartCount,omitempty" name:"RestartCount"` // Whether the pod is ready // Note: this field may return `null`, indicating that no valid values can be obtained. Ready *bool `json:"Ready,omitempty" name:"Ready"` // Container status // Note: this field may return `null`, indicating that no valid values can be obtained. ContainerState *string `json:"ContainerState,omitempty" name:"ContainerState"` // Information of the node whether the instance locates // Note: This field may return `null`, indicating that no valid value was found. NodeInfo *NodeInfo `json:"NodeInfo,omitempty" name:"NodeInfo"` // Start time // Note: this field may return `null`, indicating that no valid value can be obtained. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Whether the status is unhealthy or healthy // Note: this field may return `null`, indicating that no valid value can be obtained. Unhealthy *bool `json:"Unhealthy,omitempty" name:"Unhealthy"` // Warning message when the result is unhealthy // Note: This field may return `null`, indicating that no valid value was found. UnhealthyWarningMsg *string `json:"UnhealthyWarningMsg,omitempty" name:"UnhealthyWarningMsg"` // Version ID // Note: This field may return `null`, indicating that no valid value was found. VersionId *string `json:"VersionId,omitempty" name:"VersionId"` // Application name // Note: this field may return `null`, indicating that no valid values can be obtained. ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` }
type ServicePage ¶
type ServicePage struct { // List of applications Records []*TemService `json:"Records,omitempty" name:"Records"` // Total number of applications Total *int64 `json:"Total,omitempty" name:"Total"` // Number of applications per page Size *int64 `json:"Size,omitempty" name:"Size"` // Total number of pages Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Number of current entries // Note: This field may return `null`, indicating that no valid value was found. Current *int64 `json:"Current,omitempty" name:"Current"` }
type ServicePortMapping ¶
type ServicePortMapping struct { // Specifies how a layer-4 proxy is created. // Note: This field may return `null`, indicating that no valid values can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // Application name // Note: This field may return `null`, indicating that no valid values can be obtained. ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"` // VIP for access within the environment // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterIp *string `json:"ClusterIp,omitempty" name:"ClusterIp"` // Cluster external IP // Note: This field may return `null`, indicating that no valid values can be obtained. ExternalIp *string `json:"ExternalIp,omitempty" name:"ExternalIp"` // Subnet ID // Note: This field may return `null`, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // VPC ID // Note: This field may return `null`, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Load balancer ID // Note: This field may return `null`, indicating that no valid values can be obtained. LoadBalanceId *string `json:"LoadBalanceId,omitempty" name:"LoadBalanceId"` // YAML contents // Note: This field may return `null`, indicating that no valid values can be obtained. Yaml *string `json:"Yaml,omitempty" name:"Yaml"` // List of exposed ports // Note: This field may return `null`, indicating that no valid values can be obtained. Ports []*int64 `json:"Ports,omitempty" name:"Ports"` // Port mapping array // Note: This field may return `null`, indicating that no valid values can be obtained. PortMappingItemList []*ServicePortMappingItem `json:"PortMappingItemList,omitempty" name:"PortMappingItemList"` }
type ServicePortMappingItem ¶
type ServicePortMappingItem struct { // Application access port // Note: This field may return `null`, indicating that no valid values can be obtained. Port *int64 `json:"Port,omitempty" name:"Port"` // Application listening port // Note: This field may return `null`, indicating that no valid values can be obtained. TargetPort *int64 `json:"TargetPort,omitempty" name:"TargetPort"` // Protocol type // Note: This field may return `null`, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
type ServiceVersionBrief ¶
type ServiceVersionBrief struct { // Version name VersionName *string `json:"VersionName,omitempty" name:"VersionName"` // Status of version Status *string `json:"Status,omitempty" name:"Status"` // (Disused) Whether to enable elastic scaling EnableEs *int64 `json:"EnableEs,omitempty" name:"EnableEs"` // Number of current instances CurrentInstances *int64 `json:"CurrentInstances,omitempty" name:"CurrentInstances"` // Version ID VersionId *string `json:"VersionId,omitempty" name:"VersionId"` // (Disused) Log output configuration // Note: This field may return null, indicating that no valid values can be obtained. LogOutputConf *LogOutputConf `json:"LogOutputConf,omitempty" name:"LogOutputConf"` // Expected number of instances // Note: This field may return null, indicating that no valid values can be obtained. ExpectedInstances *int64 `json:"ExpectedInstances,omitempty" name:"ExpectedInstances"` // Deployment mode // Note: This field may return null, indicating that no valid values can be obtained. DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"` // Task ID // Note: This field may return null, indicating that no valid values can be obtained. BuildTaskId *string `json:"BuildTaskId,omitempty" name:"BuildTaskId"` // Environment ID // Note: This field may return null, indicating that no valid values can be obtained. EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Environment name // Note: This field may return null, indicating that no valid values can be obtained. EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // Application ID. // Note: This field may return null, indicating that no valid values can be obtained. ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Application name // Note: This field may return null, indicating that no valid values can be obtained. ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Whether the application is being deployed // Note: This field may return null, indicating that no valid values can be obtained. UnderDeploying *bool `json:"UnderDeploying,omitempty" name:"UnderDeploying"` // Status of batch deployment // Note: This field may return `null`, indicating that no valid value was found. BatchDeployStatus *string `json:"BatchDeployStatus,omitempty" name:"BatchDeployStatus"` // Availability zones // Note: This field may return `null`, indicating that no valid value was found. Zones []*string `json:"Zones,omitempty" name:"Zones"` // Node information // Note: This field may return `null`, indicating that no valid value was found. NodeInfos []*NodeInfo `json:"NodeInfos,omitempty" name:"NodeInfos"` // Pod information // Note: This field may return `null`, indicating that no valid value was found. PodList *DescribeRunPodPage `json:"PodList,omitempty" name:"PodList"` // Workload information // Note: This field may return `null`, indicating that no valid value was found. WorkloadInfo *WorkloadInfo `json:"WorkloadInfo,omitempty" name:"WorkloadInfo"` // Creation time // Note: This field may return `null`, indicating that no valid value was found. CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` }
type StopApplicationRequest ¶
type StopApplicationRequest struct { *tchttp.BaseRequest // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Retain as default SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
func NewStopApplicationRequest ¶
func NewStopApplicationRequest() (request *StopApplicationRequest)
func (*StopApplicationRequest) FromJsonString ¶
func (r *StopApplicationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopApplicationRequest) ToJsonString ¶
func (r *StopApplicationRequest) ToJsonString() string
type StopApplicationRequestParams ¶
type StopApplicationRequestParams struct { // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Retain as default SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"` // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
Predefined struct for user
type StopApplicationResponse ¶
type StopApplicationResponse struct { *tchttp.BaseResponse Response *StopApplicationResponseParams `json:"Response"` }
func NewStopApplicationResponse ¶
func NewStopApplicationResponse() (response *StopApplicationResponse)
func (*StopApplicationResponse) FromJsonString ¶
func (r *StopApplicationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopApplicationResponse) ToJsonString ¶
func (r *StopApplicationResponse) ToJsonString() string
type StopApplicationResponseParams ¶
type StopApplicationResponseParams struct { // Returned result Result *bool `json:"Result,omitempty" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StorageConf ¶
type StorageConf struct { // Storage volume name StorageVolName *string `json:"StorageVolName,omitempty" name:"StorageVolName"` // Storage volume path StorageVolPath *string `json:"StorageVolPath,omitempty" name:"StorageVolPath"` // Storage volume IP // Note: this field may return `null`, indicating that no valid values can be obtained. StorageVolIp *string `json:"StorageVolIp,omitempty" name:"StorageVolIp"` }
type StorageMountConf ¶
type Tag ¶
type Tag struct { // The tag key. // Note: This field may return null, indicating that no valid values can be obtained. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // The tag value. // Note: This field may return null, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` }
type TemEnvironmentStartingStatus ¶
type TemEnvironmentStartingStatus struct { // Number of applications to start // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationNumNeedToStart *int64 `json:"ApplicationNumNeedToStart,omitempty" name:"ApplicationNumNeedToStart"` // Number of started applictions // Note: This field may return `null`, indicating that no valid values can be obtained. StartedApplicationNum *int64 `json:"StartedApplicationNum,omitempty" name:"StartedApplicationNum"` }
type TemEnvironmentStoppingStatus ¶
type TemEnvironmentStoppingStatus struct { // Number of applications to stop // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationNumNeedToStop *int64 `json:"ApplicationNumNeedToStop,omitempty" name:"ApplicationNumNeedToStop"` // Number of stopped applications // Note: This field may return `null`, indicating that no valid values can be obtained. StoppedApplicationNum *int64 `json:"StoppedApplicationNum,omitempty" name:"StoppedApplicationNum"` }
type TemNamespaceInfo ¶
type TemNamespaceInfo struct { // Environment ID EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Channel Channel *string `json:"Channel,omitempty" name:"Channel"` // Environment name EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // Region name Region *string `json:"Region,omitempty" name:"Region"` // Environment description // Note: this field may return `null`, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // Status. `1`: terminated; `0`: normal Status *int64 `json:"Status,omitempty" name:"Status"` // VPC network Vpc *string `json:"Vpc,omitempty" name:"Vpc"` // Creation time CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` // Modification time ModifyDate *string `json:"ModifyDate,omitempty" name:"ModifyDate"` // Modifier Modifier *string `json:"Modifier,omitempty" name:"Modifier"` // Creator Creator *string `json:"Creator,omitempty" name:"Creator"` // Number of applications ApplicationNum *int64 `json:"ApplicationNum,omitempty" name:"ApplicationNum"` // Number of running instances RunInstancesNum *int64 `json:"RunInstancesNum,omitempty" name:"RunInstancesNum"` // Subnet SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Environment cluster status ClusterStatus *string `json:"ClusterStatus,omitempty" name:"ClusterStatus"` // Whether to enable TSW EnableTswTraceService *bool `json:"EnableTswTraceService,omitempty" name:"EnableTswTraceService"` // Whether the environment is locked. `1`: locked; `0`: not locked Locked *int64 `json:"Locked,omitempty" name:"Locked"` // User AppId // Note: This field may return null, indicating that no valid values can be obtained. AppId *string `json:"AppId,omitempty" name:"AppId"` // User UIN // Note: This field may return null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitempty" name:"Uin"` // The UIN of sub-account // Note: This field may return null, indicating that no valid values can be obtained. SubAccountUin *string `json:"SubAccountUin,omitempty" name:"SubAccountUin"` // Application ID // Note: This field may return null, indicating that no valid values can be obtained. ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Tag. // Note: this field may return `null`, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // Whether it’s authorized to access the resource // Note: This field may return null, indicating that no valid values can be obtained. HasAuthority *bool `json:"HasAuthority,omitempty" name:"HasAuthority"` // Environment type. Values: `test`, `pre`, `prod` // Note: This field may return `null`, indicating that no valid value was found. EnvType *string `json:"EnvType,omitempty" name:"EnvType"` // Region code // Note: This field may return `null`, indicating that no valid value was found. RegionId *string `json:"RegionId,omitempty" name:"RegionId"` }
type TemService ¶
type TemService struct { // Version ID // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Application name // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Description // Note: This field may return `null`, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // ID of the environment // Note: This field may return `null`, indicating that no valid values can be obtained. EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Creation time. // Note: This field may return `null`, indicating that no valid values can be obtained. CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` // Modification time // Note: This field may return `null`, indicating that no valid values can be obtained. ModifyDate *string `json:"ModifyDate,omitempty" name:"ModifyDate"` // Modifier // Note: This field may return `null`, indicating that no valid values can be obtained. Modifier *string `json:"Modifier,omitempty" name:"Modifier"` // Creator account // Note: This field may return `null`, indicating that no valid values can be obtained. Creator *string `json:"Creator,omitempty" name:"Creator"` // TCR Individual or TCR Enterprise // Note: This field may return `null`, indicating that no valid values can be obtained. RepoType *int64 `json:"RepoType,omitempty" name:"RepoType"` // ID of the TCR Enterprise instance // Note: This field may return `null`, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Name of the TCR instance // Note: This field may return `null`, indicating that no valid values can be obtained. RepoName *string `json:"RepoName,omitempty" name:"RepoName"` // Programming Language // Note: This field may return `null`, indicating that no valid values can be obtained. CodingLanguage *string `json:"CodingLanguage,omitempty" name:"CodingLanguage"` // Deployment mode // Note: This field may return `null`, indicating that no valid values can be obtained. DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"` // Environment name // Note: This field may return `null`, indicating that no valid values can be obtained. EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // The instance information where the application is running // Note: This field may return `null`, indicating that no valid values can be obtained. ActiveVersions []*ServiceVersionBrief `json:"ActiveVersions,omitempty" name:"ActiveVersions"` // Whether to enable link tracing // Note: This field may return `null`, indicating that no valid values can be obtained. EnableTracing *uint64 `json:"EnableTracing,omitempty" name:"EnableTracing"` // Tag // Note: This field may return `null`, indicating that no valid value was found. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // Whether it’s authorized to access the resource // Note: This field may return null, indicating that no valid values can be obtained. HasAuthority *bool `json:"HasAuthority,omitempty" name:"HasAuthority"` }
type TemServiceVersionInfo ¶
type TemServiceVersionInfo struct { // Version ID VersionId *string `json:"VersionId,omitempty" name:"VersionId"` // Application ID ApplicationId *string `json:"ApplicationId,omitempty" name:"ApplicationId"` // Deployment mode DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"` // JDK version JdkVersion *string `json:"JdkVersion,omitempty" name:"JdkVersion"` // Description Description *string `json:"Description,omitempty" name:"Description"` // Deployed version DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"` // Publish mode PublishMode *string `json:"PublishMode,omitempty" name:"PublishMode"` // Launch parameter JvmOpts *string `json:"JvmOpts,omitempty" name:"JvmOpts"` // Number of initial pods InitPodNum *int64 `json:"InitPodNum,omitempty" name:"InitPodNum"` // CPU specification CpuSpec *float64 `json:"CpuSpec,omitempty" name:"CpuSpec"` // Memory specification MemorySpec *float64 `json:"MemorySpec,omitempty" name:"MemorySpec"` // Image path ImgRepo *string `json:"ImgRepo,omitempty" name:"ImgRepo"` // Image name ImgName *string `json:"ImgName,omitempty" name:"ImgName"` // Image version ImgVersion *string `json:"ImgVersion,omitempty" name:"ImgVersion"` // Scaling configuration // Note: This field may return null, indicating that no valid values can be obtained. EsInfo *EsInfo `json:"EsInfo,omitempty" name:"EsInfo"` // Environment configuration EnvConf []*Pair `json:"EnvConf,omitempty" name:"EnvConf"` // Storage configuration StorageConfs []*StorageConf `json:"StorageConfs,omitempty" name:"StorageConfs"` // Running status Status *string `json:"Status,omitempty" name:"Status"` // VPC Vpc *string `json:"Vpc,omitempty" name:"Vpc"` // Subnets SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Creation time CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` // Modification time ModifyDate *string `json:"ModifyDate,omitempty" name:"ModifyDate"` // Mounting configuration // Note: This field may return `null`, indicating that no valid values can be obtained. StorageMountConfs []*StorageMountConf `json:"StorageMountConfs,omitempty" name:"StorageMountConfs"` // Version name // Note: This field may return `null`, indicating that no valid values can be obtained. VersionName *string `json:"VersionName,omitempty" name:"VersionName"` // Log output configuration // Note: This field may return `null`, indicating that no valid values can be obtained. LogOutputConf *LogOutputConf `json:"LogOutputConf,omitempty" name:"LogOutputConf"` // Application name // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Application description // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationDescription *string `json:"ApplicationDescription,omitempty" name:"ApplicationDescription"` // Environment name // Note: This field may return `null`, indicating that no valid values can be obtained. EnvironmentName *string `json:"EnvironmentName,omitempty" name:"EnvironmentName"` // Environment ID // Note: This field may return `null`, indicating that no valid values can be obtained. EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Public network address // Note: This field may return `null`, indicating that no valid values can be obtained. PublicDomain *string `json:"PublicDomain,omitempty" name:"PublicDomain"` // Whether to enable public network access // Note: This field may return `null`, indicating that no valid values can be obtained. EnablePublicAccess *bool `json:"EnablePublicAccess,omitempty" name:"EnablePublicAccess"` // Number of current instances // Note: This field may return `null`, indicating that no valid values can be obtained. CurrentInstances *int64 `json:"CurrentInstances,omitempty" name:"CurrentInstances"` // Number of expected instances // Note: This field may return `null`, indicating that no valid values can be obtained. ExpectedInstances *int64 `json:"ExpectedInstances,omitempty" name:"ExpectedInstances"` // Programming Language // Note: This field may return `null`, indicating that no valid values can be obtained. CodingLanguage *string `json:"CodingLanguage,omitempty" name:"CodingLanguage"` // Program package name // Note: This field may return `null`, indicating that no valid values can be obtained. PkgName *string `json:"PkgName,omitempty" name:"PkgName"` // Whether to enable auto scaling // Note: This field may return `null`, indicating that no valid values can be obtained. EsEnable *int64 `json:"EsEnable,omitempty" name:"EsEnable"` // Auto scaling policy // Note: This field may return `null`, indicating that no valid values can be obtained. EsStrategy *int64 `json:"EsStrategy,omitempty" name:"EsStrategy"` // Image tag // Note: This field may return `null`, indicating that no valid values can be obtained. ImageTag *string `json:"ImageTag,omitempty" name:"ImageTag"` // Whether to enable logging // Note: This field may return `null`, indicating that no valid values can be obtained. LogEnable *int64 `json:"LogEnable,omitempty" name:"LogEnable"` // Minimum number of instances // Note: This field may return `null`, indicating that no valid values can be obtained. MinAliveInstances *string `json:"MinAliveInstances,omitempty" name:"MinAliveInstances"` // Security group IDs // Note: This field may return `null`, indicating that no valid values can be obtained. SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // Image command // Note: This field may return `null`, indicating that no valid values can be obtained. ImageCommand *string `json:"ImageCommand,omitempty" name:"ImageCommand"` // Image command parameters // Note: This field may return `null`, indicating that no valid values can be obtained. ImageArgs []*string `json:"ImageArgs,omitempty" name:"ImageArgs"` // Whether to use the default registry configurations // Note: This field may return `null`, indicating that no valid values can be obtained. UseRegistryDefaultConfig *bool `json:"UseRegistryDefaultConfig,omitempty" name:"UseRegistryDefaultConfig"` // EKS access configuration // Note: This field may return `null`, indicating that no valid values can be obtained. Service *EksService `json:"Service,omitempty" name:"Service"` // Mounting configurations // Note: This field may return `null`, indicating that no valid values can be obtained. SettingConfs []*MountedSettingConf `json:"SettingConfs,omitempty" name:"SettingConfs"` // Log path information // Note: This field may return `null`, indicating that no valid values can be obtained. LogConfs []*string `json:"LogConfs,omitempty" name:"LogConfs"` // The script to execute right after the startup // Note: This field may return `null`, indicating that no valid values can be obtained. PostStart *string `json:"PostStart,omitempty" name:"PostStart"` // The script to run before stop // Note: This field may return `null`, indicating that no valid values can be obtained. PreStop *string `json:"PreStop,omitempty" name:"PreStop"` // Configuration of aliveness probe // Note: This field may return `null`, indicating that no valid values can be obtained. Liveness *HealthCheckConfig `json:"Liveness,omitempty" name:"Liveness"` // Configuration of readiness probe // Note: This field may return `null`, indicating that no valid values can be obtained. Readiness *HealthCheckConfig `json:"Readiness,omitempty" name:"Readiness"` // Auto scaling policy // Note: This field may return `null`, indicating that no valid values can be obtained. HorizontalAutoscaler []*HorizontalAutoscaler `json:"HorizontalAutoscaler,omitempty" name:"HorizontalAutoscaler"` // Scheduled auto scaling policy // Note: This field may return `null`, indicating that no valid values can be obtained. CronHorizontalAutoscaler []*CronHorizontalAutoscaler `json:"CronHorizontalAutoscaler,omitempty" name:"CronHorizontalAutoscaler"` // Availability zone of the application // Note: This field may return `null`, indicating that no valid values can be obtained. Zones []*string `json:"Zones,omitempty" name:"Zones"` // The latest deployment time // Note: This field may return `null`, indicating that no valid values can be obtained. LastDeployDate *string `json:"LastDeployDate,omitempty" name:"LastDeployDate"` // The latest successful deployment time // Note: This field may return `null`, indicating that no valid values can be obtained. LastDeploySuccessDate *string `json:"LastDeploySuccessDate,omitempty" name:"LastDeploySuccessDate"` // Information of the node whether the application is deployed // Note: This field may return `null`, indicating that no valid values can be obtained. NodeInfos []*NodeInfo `json:"NodeInfos,omitempty" name:"NodeInfos"` // Image type. Values: `0` (Demo image), `1` (Normal image) // Note: This field may return `null`, indicating that no valid values can be obtained. ImageType *int64 `json:"ImageType,omitempty" name:"ImageType"` // Whether to // Note: This field may return `null`, indicating that no valid values can be obtained. EnableTracing *uint64 `json:"EnableTracing,omitempty" name:"EnableTracing"` // (Disused) Whether to enable linkage tracing and report. It only takes effect when EnableTracing = `1`. // Note: This field may return null, indicating that no valid values can be obtained. EnableTracingReport *uint64 `json:"EnableTracingReport,omitempty" name:"EnableTracingReport"` // Image type. `0`: Individual image; `1`: Enterprise image; `2`: Public image // Note: This field may return `null`, indicating that no valid values can be obtained. RepoType *uint64 `json:"RepoType,omitempty" name:"RepoType"` // Status of batch deployment: `batch_updating`, `batch_updating_waiting_confirm` // Note: This field may return `null`, indicating that no valid values can be obtained. BatchDeployStatus *string `json:"BatchDeployStatus,omitempty" name:"BatchDeployStatus"` // APM instance ID // Note: This field may return `null`, indicating that no valid values can be obtained. ApmInstanceId *string `json:"ApmInstanceId,omitempty" name:"ApmInstanceId"` // Workload information // Note: This field may return `null`, indicating that no valid values can be obtained. WorkloadInfo *WorkloadInfo `json:"WorkloadInfo,omitempty" name:"WorkloadInfo"` // Whether to enable application acceleration // Note: This field may return `null`, indicating that no valid values can be obtained. SpeedUp *bool `json:"SpeedUp,omitempty" name:"SpeedUp"` // Configuration of the startup probe // Note: This field may return `null`, indicating that no valid values can be obtained. StartupProbe *HealthCheckConfig `json:"StartupProbe,omitempty" name:"StartupProbe"` // OS version. Values: // - ALPINE // - CENTOS // Note: This field may return `null`, indicating that no valid values can be obtained. OsFlavour *string `json:"OsFlavour,omitempty" name:"OsFlavour"` // Image repository server // Note: This field may return `null`, indicating that no valid values can be obtained. RepoServer *string `json:"RepoServer,omitempty" name:"RepoServer"` // Whether the application is being deployed // Note: This field may return `null`, indicating that no valid values can be obtained. UnderDeploying *bool `json:"UnderDeploying,omitempty" name:"UnderDeploying"` // Whether to enable application metric monitoring // Note: This field may return null, indicating that no valid values can be obtained. EnablePrometheusConf *EnablePrometheusConf `json:"EnablePrometheusConf,omitempty" name:"EnablePrometheusConf"` // Whether it’s stopped manually // Note: This field may return `null`, indicating that no valid values can be obtained. StoppedManually *bool `json:"StoppedManually,omitempty" name:"StoppedManually"` // TCR instance ID // Note: This field may return `null`, indicating that no valid values can be obtained. TcrInstanceId *string `json:"TcrInstanceId,omitempty" name:"TcrInstanceId"` // `1`: Automatically enable metrics collection (open-telemetry) // `0`: Disable metrics collection // Note: This field may return null, indicating that no valid values can be obtained. EnableMetrics *int64 `json:"EnableMetrics,omitempty" name:"EnableMetrics"` // User AppId // Note: This field may return `null`, indicating that no valid value was found. AppId *string `json:"AppId,omitempty" name:"AppId"` // Sub Account UIN // Note: This field may return `null`, indicating that no valid value was found. SubAccountUin *string `json:"SubAccountUin,omitempty" name:"SubAccountUin"` // User UIN // Note: This field may return `null`, indicating that no valid value was found. Uin *string `json:"Uin,omitempty" name:"Uin"` // Region // Note: This field may return `null`, indicating that no valid value was found. Region *string `json:"Region,omitempty" name:"Region"` // Application group ID // Note: This field may return `null`, indicating that no valid value was found. GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // Whether to enable registry // Note: This field may return `null`, indicating that no valid value was found. EnableRegistry *int64 `json:"EnableRegistry,omitempty" name:"EnableRegistry"` // Array of scaling rules // Note: This field may return `null`, indicating that no valid value was found. AutoscalerList []*Autoscaler `json:"AutoscalerList,omitempty" name:"AutoscalerList"` // Modifier // Note: This field may return `null`, indicating that no valid value was found. Modifier *string `json:"Modifier,omitempty" name:"Modifier"` // Creator // Note: This field may return `null`, indicating that no valid value was found. Creator *string `json:"Creator,omitempty" name:"Creator"` // Deployment strategy // Note: This field may return `null`, indicating that no valid value was found. DeployStrategyConf *DeployStrategyConf `json:"DeployStrategyConf,omitempty" name:"DeployStrategyConf"` // List of pods // Note: This field may return `null`, indicating that no valid value was found. PodList *DescribeRunPodPage `json:"PodList,omitempty" name:"PodList"` // Whether the configuration has been changed during deployment // Note: This field may return `null`, indicating that no valid value was found. ConfEdited *bool `json:"ConfEdited,omitempty" name:"ConfEdited"` // Tag // Note: This field may return `null`, indicating that no valid value was found. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
type UseDefaultRepoParameters ¶
type UseDefaultRepoParameters struct { // TCR Enterprise instance name // Note: This field may return null, indicating that no valid values can be obtained. EnterpriseInstanceName *string `json:"EnterpriseInstanceName,omitempty" name:"EnterpriseInstanceName"` // TCR Enterprise billing mode. `0`: Pay-as-you-go // Note: This field may return null, indicating that no valid values can be obtained. EnterpriseInstanceChargeType *int64 `json:"EnterpriseInstanceChargeType,omitempty" name:"EnterpriseInstanceChargeType"` // Edition of the TCR Enterprise. Values: `basic`, `standard`, `premium` (Advanced edition) // Note: This field may return null, indicating that no valid values can be obtained. EnterpriseInstanceType *string `json:"EnterpriseInstanceType,omitempty" name:"EnterpriseInstanceType"` }
type WorkloadInfo ¶
type WorkloadInfo struct { // The resource ID. // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Application name // Note: This field may return `null`, indicating that no valid values can be obtained. ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Version name // Note: This field may return `null`, indicating that no valid value was found. VersionName *string `json:"VersionName,omitempty" name:"VersionName"` // Number of ready replicas // Note: This field may return `null`, indicating that no valid values can be obtained. ReadyReplicas *int64 `json:"ReadyReplicas,omitempty" name:"ReadyReplicas"` // Number of replicas // Note: This field may return `null`, indicating that no valid value was found. Replicas *int64 `json:"Replicas,omitempty" name:"Replicas"` // Number of updated replicas // Note: This field may return `null`, indicating that no valid value was found. UpdatedReplicas *int64 `json:"UpdatedReplicas,omitempty" name:"UpdatedReplicas"` // Number of replicas ready for update // Note: This field may return `null`, indicating that no valid value was found. UpdatedReadyReplicas *int64 `json:"UpdatedReadyReplicas,omitempty" name:"UpdatedReadyReplicas"` // ## Version Updates // Note: This field may return `null`, indicating that no valid value was found. UpdateRevision *string `json:"UpdateRevision,omitempty" name:"UpdateRevision"` // Current Version // Note: This field may return `null`, indicating that no valid value was found. CurrentRevision *string `json:"CurrentRevision,omitempty" name:"CurrentRevision"` }