Documentation ¶
Index ¶
- Constants
- type BackingIndexMetaField
- type Client
- func (c *Client) CreateIndex(request *CreateIndexRequest) (response *CreateIndexResponse, err error)
- func (c *Client) CreateIndexWithContext(ctx context.Context, request *CreateIndexRequest) (response *CreateIndexResponse, err error)
- func (c *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
- func (c *Client) CreateInstanceWithContext(ctx context.Context, request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
- func (c *Client) DeleteIndex(request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
- func (c *Client) DeleteIndexWithContext(ctx context.Context, request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
- func (c *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
- func (c *Client) DeleteInstanceWithContext(ctx context.Context, request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
- func (c *Client) DescribeIndexList(request *DescribeIndexListRequest) (response *DescribeIndexListResponse, err error)
- func (c *Client) DescribeIndexListWithContext(ctx context.Context, request *DescribeIndexListRequest) (response *DescribeIndexListResponse, err error)
- func (c *Client) DescribeIndexMeta(request *DescribeIndexMetaRequest) (response *DescribeIndexMetaResponse, err error)
- func (c *Client) DescribeIndexMetaWithContext(ctx context.Context, request *DescribeIndexMetaRequest) (response *DescribeIndexMetaResponse, err error)
- func (c *Client) DescribeInstanceLogs(request *DescribeInstanceLogsRequest) (response *DescribeInstanceLogsResponse, err error)
- func (c *Client) DescribeInstanceLogsWithContext(ctx context.Context, request *DescribeInstanceLogsRequest) (response *DescribeInstanceLogsResponse, err error)
- func (c *Client) DescribeInstanceOperations(request *DescribeInstanceOperationsRequest) (response *DescribeInstanceOperationsResponse, err error)
- func (c *Client) DescribeInstanceOperationsWithContext(ctx context.Context, request *DescribeInstanceOperationsRequest) (response *DescribeInstanceOperationsResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeViews(request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)
- func (c *Client) DescribeViewsWithContext(ctx context.Context, request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)
- func (c *Client) GetRequestTargetNodeTypes(request *GetRequestTargetNodeTypesRequest) (response *GetRequestTargetNodeTypesResponse, err error)
- func (c *Client) GetRequestTargetNodeTypesWithContext(ctx context.Context, request *GetRequestTargetNodeTypesRequest) (response *GetRequestTargetNodeTypesResponse, err error)
- func (c *Client) RestartInstance(request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)
- func (c *Client) RestartInstanceWithContext(ctx context.Context, request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)
- func (c *Client) RestartKibana(request *RestartKibanaRequest) (response *RestartKibanaResponse, err error)
- func (c *Client) RestartKibanaWithContext(ctx context.Context, request *RestartKibanaRequest) (response *RestartKibanaResponse, err error)
- func (c *Client) RestartNodes(request *RestartNodesRequest) (response *RestartNodesResponse, err error)
- func (c *Client) RestartNodesWithContext(ctx context.Context, request *RestartNodesRequest) (response *RestartNodesResponse, err error)
- func (c *Client) UpdateDictionaries(request *UpdateDictionariesRequest) (response *UpdateDictionariesResponse, err error)
- func (c *Client) UpdateDictionariesWithContext(ctx context.Context, request *UpdateDictionariesRequest) (response *UpdateDictionariesResponse, err error)
- func (c *Client) UpdateIndex(request *UpdateIndexRequest) (response *UpdateIndexResponse, err error)
- func (c *Client) UpdateIndexWithContext(ctx context.Context, request *UpdateIndexRequest) (response *UpdateIndexResponse, err error)
- func (c *Client) UpdateInstance(request *UpdateInstanceRequest) (response *UpdateInstanceResponse, err error)
- func (c *Client) UpdateInstanceWithContext(ctx context.Context, request *UpdateInstanceRequest) (response *UpdateInstanceResponse, err error)
- func (c *Client) UpdatePlugins(request *UpdatePluginsRequest) (response *UpdatePluginsResponse, err error)
- func (c *Client) UpdatePluginsWithContext(ctx context.Context, request *UpdatePluginsRequest) (response *UpdatePluginsResponse, err error)
- func (c *Client) UpdateRequestTargetNodeTypes(request *UpdateRequestTargetNodeTypesRequest) (response *UpdateRequestTargetNodeTypesResponse, err error)
- func (c *Client) UpdateRequestTargetNodeTypesWithContext(ctx context.Context, request *UpdateRequestTargetNodeTypesRequest) (response *UpdateRequestTargetNodeTypesResponse, err error)
- func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
- func (c *Client) UpgradeInstanceWithContext(ctx context.Context, request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
- func (c *Client) UpgradeLicense(request *UpgradeLicenseRequest) (response *UpgradeLicenseResponse, err error)
- func (c *Client) UpgradeLicenseWithContext(ctx context.Context, request *UpgradeLicenseRequest) (response *UpgradeLicenseResponse, err error)
- type ClusterView
- type CosBackup
- type CreateIndexRequest
- type CreateIndexRequestParams
- type CreateIndexResponse
- type CreateIndexResponseParams
- type CreateInstanceRequest
- type CreateInstanceRequestParams
- type CreateInstanceResponse
- type CreateInstanceResponseParams
- type DeleteIndexRequest
- type DeleteIndexRequestParams
- type DeleteIndexResponse
- type DeleteIndexResponseParams
- type DeleteInstanceRequest
- type DeleteInstanceRequestParams
- type DeleteInstanceResponse
- type DeleteInstanceResponseParams
- type DescribeIndexListRequest
- type DescribeIndexListRequestParams
- type DescribeIndexListResponse
- type DescribeIndexListResponseParams
- type DescribeIndexMetaRequest
- type DescribeIndexMetaRequestParams
- type DescribeIndexMetaResponse
- type DescribeIndexMetaResponseParams
- type DescribeInstanceLogsRequest
- type DescribeInstanceLogsRequestParams
- type DescribeInstanceLogsResponse
- type DescribeInstanceLogsResponseParams
- type DescribeInstanceOperationsRequest
- type DescribeInstanceOperationsRequestParams
- type DescribeInstanceOperationsResponse
- type DescribeInstanceOperationsResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeViewsRequest
- type DescribeViewsRequestParams
- type DescribeViewsResponse
- type DescribeViewsResponseParams
- type DictInfo
- type EsAcl
- type EsConfigSetInfo
- type EsDictionaryInfo
- type EsPublicAcl
- type GetRequestTargetNodeTypesRequest
- type GetRequestTargetNodeTypesRequestParams
- type GetRequestTargetNodeTypesResponse
- type GetRequestTargetNodeTypesResponseParams
- type IndexMetaField
- type IndexOptionsField
- type IndexPolicyField
- type IndexSettingsField
- type InstanceInfo
- type InstanceLog
- type KeyValue
- type KibanaNodeInfo
- type KibanaView
- type LocalDiskInfo
- type MasterNodeInfo
- type NodeInfo
- type NodeView
- type Operation
- type OperationDetail
- type OperationDuration
- type OperationDurationUpdated
- type OptionalWebServiceInfo
- type RestartInstanceRequest
- type RestartInstanceRequestParams
- type RestartInstanceResponse
- type RestartInstanceResponseParams
- type RestartKibanaRequest
- type RestartKibanaRequestParams
- type RestartKibanaResponse
- type RestartKibanaResponseParams
- type RestartNodesRequest
- type RestartNodesRequestParams
- type RestartNodesResponse
- type RestartNodesResponseParams
- type SubTaskDetail
- type TagInfo
- type TaskDetail
- type UpdateDictionariesRequest
- type UpdateDictionariesRequestParams
- type UpdateDictionariesResponse
- type UpdateDictionariesResponseParams
- type UpdateIndexRequest
- type UpdateIndexRequestParams
- type UpdateIndexResponse
- type UpdateIndexResponseParams
- type UpdateInstanceRequest
- type UpdateInstanceRequestParams
- type UpdateInstanceResponse
- type UpdateInstanceResponseParams
- type UpdatePluginsRequest
- type UpdatePluginsRequestParams
- type UpdatePluginsResponse
- type UpdatePluginsResponseParams
- type UpdateRequestTargetNodeTypesRequest
- type UpdateRequestTargetNodeTypesRequestParams
- type UpdateRequestTargetNodeTypesResponse
- type UpdateRequestTargetNodeTypesResponseParams
- type UpgradeInstanceRequest
- type UpgradeInstanceRequestParams
- type UpgradeInstanceResponse
- type UpgradeInstanceResponseParams
- type UpgradeLicenseRequest
- type UpgradeLicenseRequestParams
- type UpgradeLicenseResponse
- type UpgradeLicenseResponseParams
- type WebNodeTypeInfo
- type ZoneDetail
Constants ¶
const ( // CAM signature/authentication error AUTHFAILURE = "AuthFailure" // Unauthorized operation. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // An error occurred with the cluster resource quota limit. FAILEDOPERATION_CLUSTERRESOURCELIMITERROR = "FailedOperation.ClusterResourceLimitError" // Failed to query the number of disks of the node FAILEDOPERATION_DISKCOUNTPARAMERROR = "FailedOperation.DiskCountParamError" // Incorrect cluster status FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" // No replicas for indexes in the cluster. FAILEDOPERATION_ERRORCLUSTERSTATENOREPLICATION = "FailedOperation.ErrorClusterStateNoReplication" // The cluster is unhealthy. FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" // No credit card or PayPal account is linked to the current account. Unable to make a payment. FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" // Unverified user. FAILEDOPERATION_NOTAUTHENTICATED = "FailedOperation.NotAuthenticated" // Cannot increase the number of disks during rolling restart of scaled-out compute resources. FAILEDOPERATION_UNSUPPORTRESETNODETYPEANDSCALEOUTDISK = "FailedOperation.UnsupportResetNodeTypeAndScaleoutDisk" // The disk capacity can’t be modified during rolling restart of scaled-in compute resources. FAILEDOPERATION_UNSUPPORTRESETSCALEDOWNANDMODIFYDISK = "FailedOperation.UnsupportResetScaledownAndModifyDisk" // Cannot adjust the node configuration and disk capacity reversely. FAILEDOPERATION_UNSUPPORTREVERSEREGULATIONNODETYPEANDDISK = "FailedOperation.UnsupportReverseRegulationNodeTypeAndDisk" // Internal error. INTERNALERROR = "InternalError" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // The number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // Resource is in use. RESOURCEINUSE = "ResourceInUse" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // Insufficient account balance. RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" // Dedicated master node resources in the hidden availability zone are insufficient. RESOURCEINSUFFICIENT_HIDDENZONE = "ResourceInsufficient.HiddenZone" // Insufficient number of remaining subnet IPs. RESOURCEINSUFFICIENT_SUBNET = "ResourceInsufficient.Subnet" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2018-04-16"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackingIndexMetaField ¶
type BackingIndexMetaField struct { // Backing index name // Note: This field may return `null`, indicating that no valid value can be obtained. IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // Backing index status // Note: This field may return `null`, indicating that no valid value can be obtained. IndexStatus *string `json:"IndexStatus,omitempty" name:"IndexStatus"` // Backing index size // Note: This field may return `null`, indicating that no valid value can be obtained. IndexStorage *int64 `json:"IndexStorage,omitempty" name:"IndexStorage"` // Current lifecycle phase of backing index // Note: This field may return `null`, indicating that no valid value can be obtained. IndexPhrase *string `json:"IndexPhrase,omitempty" name:"IndexPhrase"` // Backing index creation time // Note: This field may return `null`, indicating that no valid value can be obtained. IndexCreateTime *string `json:"IndexCreateTime,omitempty" name:"IndexCreateTime"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateIndex ¶
func (c *Client) CreateIndex(request *CreateIndexRequest) (response *CreateIndexResponse, err error)
CreateIndex This API is used to create indices.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateIndexWithContext ¶
func (c *Client) CreateIndexWithContext(ctx context.Context, request *CreateIndexRequest) (response *CreateIndexResponse, err error)
CreateIndex This API is used to create indices.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateInstance ¶
func (c *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
CreateInstance This API is used to create an ES cluster instance with the specified specification.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION_CLUSTERRESOURCELIMITERROR = "FailedOperation.ClusterResourceLimitError" FAILEDOPERATION_DISKCOUNTPARAMERROR = "FailedOperation.DiskCountParamError" FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" FAILEDOPERATION_NOTAUTHENTICATED = "FailedOperation.NotAuthenticated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" RESOURCEINSUFFICIENT_HIDDENZONE = "ResourceInsufficient.HiddenZone" RESOURCEINSUFFICIENT_SUBNET = "ResourceInsufficient.Subnet"
func (*Client) CreateInstanceWithContext ¶
func (c *Client) CreateInstanceWithContext(ctx context.Context, request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
CreateInstance This API is used to create an ES cluster instance with the specified specification.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION_CLUSTERRESOURCELIMITERROR = "FailedOperation.ClusterResourceLimitError" FAILEDOPERATION_DISKCOUNTPARAMERROR = "FailedOperation.DiskCountParamError" FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" FAILEDOPERATION_NOTAUTHENTICATED = "FailedOperation.NotAuthenticated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" RESOURCEINSUFFICIENT_HIDDENZONE = "ResourceInsufficient.HiddenZone" RESOURCEINSUFFICIENT_SUBNET = "ResourceInsufficient.Subnet"
func (*Client) DeleteIndex ¶
func (c *Client) DeleteIndex(request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
DeleteIndex This API is used to delete indices.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteIndexWithContext ¶
func (c *Client) DeleteIndexWithContext(ctx context.Context, request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
DeleteIndex This API is used to delete indices.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteInstance ¶
func (c *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
DeleteInstance This API is used to terminate a cluster instance.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteInstanceWithContext ¶
func (c *Client) DeleteInstanceWithContext(ctx context.Context, request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
DeleteInstance This API is used to terminate a cluster instance.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeIndexList ¶
func (c *Client) DescribeIndexList(request *DescribeIndexListRequest) (response *DescribeIndexListResponse, err error)
DescribeIndexList This API is used to obtain the index list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeIndexListWithContext ¶
func (c *Client) DescribeIndexListWithContext(ctx context.Context, request *DescribeIndexListRequest) (response *DescribeIndexListResponse, err error)
DescribeIndexList This API is used to obtain the index list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeIndexMeta ¶
func (c *Client) DescribeIndexMeta(request *DescribeIndexMetaRequest) (response *DescribeIndexMetaResponse, err error)
DescribeIndexMeta This API is used to obtain index metadata.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeIndexMetaWithContext ¶
func (c *Client) DescribeIndexMetaWithContext(ctx context.Context, request *DescribeIndexMetaRequest) (response *DescribeIndexMetaResponse, err error)
DescribeIndexMeta This API is used to obtain index metadata.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeInstanceLogs ¶
func (c *Client) DescribeInstanceLogs(request *DescribeInstanceLogsRequest) (response *DescribeInstanceLogsResponse, err error)
DescribeInstanceLogs This API is used to query the eligible ES cluster logs in the current region.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeInstanceLogsWithContext ¶
func (c *Client) DescribeInstanceLogsWithContext(ctx context.Context, request *DescribeInstanceLogsRequest) (response *DescribeInstanceLogsResponse, err error)
DescribeInstanceLogs This API is used to query the eligible ES cluster logs in the current region.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeInstanceOperations ¶
func (c *Client) DescribeInstanceOperations(request *DescribeInstanceOperationsRequest) (response *DescribeInstanceOperationsResponse, err error)
DescribeInstanceOperations This API is used to query the operation history of an instance by specified criteria.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse"
func (*Client) DescribeInstanceOperationsWithContext ¶
func (c *Client) DescribeInstanceOperationsWithContext(ctx context.Context, request *DescribeInstanceOperationsRequest) (response *DescribeInstanceOperationsResponse, err error)
DescribeInstanceOperations This API is used to query the operation history of an instance by specified criteria.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to query all eligible instances in the current region under the current account.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeInstancesWithContext ¶
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to query all eligible instances in the current region under the current account.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeViews ¶
func (c *Client) DescribeViews(request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)
DescribeViews This API is used to query view data from three dimensions: cluster, node, and Kibana.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse"
func (*Client) DescribeViewsWithContext ¶
func (c *Client) DescribeViewsWithContext(ctx context.Context, request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)
DescribeViews This API is used to query view data from three dimensions: cluster, node, and Kibana.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse"
func (*Client) GetRequestTargetNodeTypes ¶
func (c *Client) GetRequestTargetNodeTypes(request *GetRequestTargetNodeTypesRequest) (response *GetRequestTargetNodeTypesResponse, err error)
GetRequestTargetNodeTypes This API is used to get the node types used to receive client requests.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetRequestTargetNodeTypesWithContext ¶
func (c *Client) GetRequestTargetNodeTypesWithContext(ctx context.Context, request *GetRequestTargetNodeTypesRequest) (response *GetRequestTargetNodeTypesResponse, err error)
GetRequestTargetNodeTypes This API is used to get the node types used to receive client requests.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RestartInstance ¶
func (c *Client) RestartInstance(request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)
RestartInstance This API is used to restart an ES cluster instance (for operations such as system update).
error code that may be returned:
FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse"
func (*Client) RestartInstanceWithContext ¶
func (c *Client) RestartInstanceWithContext(ctx context.Context, request *RestartInstanceRequest) (response *RestartInstanceResponse, err error)
RestartInstance This API is used to restart an ES cluster instance (for operations such as system update).
error code that may be returned:
FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse"
func (*Client) RestartKibana ¶
func (c *Client) RestartKibana(request *RestartKibanaRequest) (response *RestartKibanaResponse, err error)
RestartKibana This API is used to restart Kibana.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse"
func (*Client) RestartKibanaWithContext ¶
func (c *Client) RestartKibanaWithContext(ctx context.Context, request *RestartKibanaRequest) (response *RestartKibanaResponse, err error)
RestartKibana This API is used to restart Kibana.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse"
func (*Client) RestartNodes ¶
func (c *Client) RestartNodes(request *RestartNodesRequest) (response *RestartNodesResponse, err error)
RestartNodes This API is used to restart cluster nodes.
error code that may be returned:
FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) RestartNodesWithContext ¶
func (c *Client) RestartNodesWithContext(ctx context.Context, request *RestartNodesRequest) (response *RestartNodesResponse, err error)
RestartNodes This API is used to restart cluster nodes.
error code that may be returned:
FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateDictionaries ¶
func (c *Client) UpdateDictionaries(request *UpdateDictionariesRequest) (response *UpdateDictionariesResponse, err error)
UpdateDictionaries This API is used to update ES cluster dictionaries.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateDictionariesWithContext ¶
func (c *Client) UpdateDictionariesWithContext(ctx context.Context, request *UpdateDictionariesRequest) (response *UpdateDictionariesResponse, err error)
UpdateDictionaries This API is used to update ES cluster dictionaries.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateIndex ¶
func (c *Client) UpdateIndex(request *UpdateIndexRequest) (response *UpdateIndexResponse, err error)
UpdateIndex This API is used to update indices.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateIndexWithContext ¶
func (c *Client) UpdateIndexWithContext(ctx context.Context, request *UpdateIndexRequest) (response *UpdateIndexResponse, err error)
UpdateIndex This API is used to update indices.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnAuthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateInstance ¶
func (c *Client) UpdateInstance(request *UpdateInstanceRequest) (response *UpdateInstanceResponse, err error)
UpdateInstance This API is used for operations such as modifying node specification, renaming an instance, modifying configuration, resetting password, and setting Kibana blocklist/allowlist. `InstanceId` is required, while `ForceRestart` is optional. Other parameters or parameter combinations and their meanings are as follows:
- InstanceName: renames an instance (only for instance identification)
- NodeInfoList: modifies node configuration (horizontally scaling nodes, vertically scaling nodes, adding primary nodes, adding cold nodes, etc.)
- EsConfig: modifies cluster configuration
- Password: changes the password of the default user "elastic"
- EsAcl: modifies the ACL
- CosBackUp: sets auto-backup to COS for a cluster
Only one of the parameters or parameter combinations above can be passed in at a time, while passing fewer or more ones will cause the request to fail.
error code that may be returned:
FAILEDOPERATION_CLUSTERRESOURCELIMITERROR = "FailedOperation.ClusterResourceLimitError" FAILEDOPERATION_DISKCOUNTPARAMERROR = "FailedOperation.DiskCountParamError" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" FAILEDOPERATION_UNSUPPORTRESETNODETYPEANDSCALEOUTDISK = "FailedOperation.UnsupportResetNodeTypeAndScaleoutDisk" FAILEDOPERATION_UNSUPPORTRESETSCALEDOWNANDMODIFYDISK = "FailedOperation.UnsupportResetScaledownAndModifyDisk" FAILEDOPERATION_UNSUPPORTREVERSEREGULATIONNODETYPEANDDISK = "FailedOperation.UnsupportReverseRegulationNodeTypeAndDisk" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" RESOURCEINSUFFICIENT_SUBNET = "ResourceInsufficient.Subnet" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateInstanceWithContext ¶
func (c *Client) UpdateInstanceWithContext(ctx context.Context, request *UpdateInstanceRequest) (response *UpdateInstanceResponse, err error)
UpdateInstance This API is used for operations such as modifying node specification, renaming an instance, modifying configuration, resetting password, and setting Kibana blocklist/allowlist. `InstanceId` is required, while `ForceRestart` is optional. Other parameters or parameter combinations and their meanings are as follows:
- InstanceName: renames an instance (only for instance identification)
- NodeInfoList: modifies node configuration (horizontally scaling nodes, vertically scaling nodes, adding primary nodes, adding cold nodes, etc.)
- EsConfig: modifies cluster configuration
- Password: changes the password of the default user "elastic"
- EsAcl: modifies the ACL
- CosBackUp: sets auto-backup to COS for a cluster
Only one of the parameters or parameter combinations above can be passed in at a time, while passing fewer or more ones will cause the request to fail.
error code that may be returned:
FAILEDOPERATION_CLUSTERRESOURCELIMITERROR = "FailedOperation.ClusterResourceLimitError" FAILEDOPERATION_DISKCOUNTPARAMERROR = "FailedOperation.DiskCountParamError" FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" FAILEDOPERATION_UNSUPPORTRESETNODETYPEANDSCALEOUTDISK = "FailedOperation.UnsupportResetNodeTypeAndScaleoutDisk" FAILEDOPERATION_UNSUPPORTRESETSCALEDOWNANDMODIFYDISK = "FailedOperation.UnsupportResetScaledownAndModifyDisk" FAILEDOPERATION_UNSUPPORTREVERSEREGULATIONNODETYPEANDDISK = "FailedOperation.UnsupportReverseRegulationNodeTypeAndDisk" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" RESOURCEINSUFFICIENT_SUBNET = "ResourceInsufficient.Subnet" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdatePlugins ¶
func (c *Client) UpdatePlugins(request *UpdatePluginsRequest) (response *UpdatePluginsResponse, err error)
UpdatePlugins This API is used to change the list of plugins.
error code that may be returned:
FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATENOREPLICATION = "FailedOperation.ErrorClusterStateNoReplication" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdatePluginsWithContext ¶
func (c *Client) UpdatePluginsWithContext(ctx context.Context, request *UpdatePluginsRequest) (response *UpdatePluginsResponse, err error)
UpdatePlugins This API is used to change the list of plugins.
error code that may be returned:
FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATENOREPLICATION = "FailedOperation.ErrorClusterStateNoReplication" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateRequestTargetNodeTypes ¶
func (c *Client) UpdateRequestTargetNodeTypes(request *UpdateRequestTargetNodeTypesRequest) (response *UpdateRequestTargetNodeTypesResponse, err error)
UpdateRequestTargetNodeTypes This API is used to update the node types used to receive client requests.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateRequestTargetNodeTypesWithContext ¶
func (c *Client) UpdateRequestTargetNodeTypesWithContext(ctx context.Context, request *UpdateRequestTargetNodeTypesRequest) (response *UpdateRequestTargetNodeTypesResponse, err error)
UpdateRequestTargetNodeTypes This API is used to update the node types used to receive client requests.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpgradeInstance ¶
func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
UpgradeInstance This API is used to upgrade ES cluster version
error code that may be returned:
FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" RESOURCEINSUFFICIENT_SUBNET = "ResourceInsufficient.Subnet" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpgradeInstanceWithContext ¶
func (c *Client) UpgradeInstanceWithContext(ctx context.Context, request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
UpgradeInstance This API is used to upgrade ES cluster version
error code that may be returned:
FAILEDOPERATION_ERRORCLUSTERSTATE = "FailedOperation.ErrorClusterState" FAILEDOPERATION_ERRORCLUSTERSTATEUNHEALTH = "FailedOperation.ErrorClusterStateUnhealth" FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" RESOURCEINSUFFICIENT_SUBNET = "ResourceInsufficient.Subnet" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpgradeLicense ¶
func (c *Client) UpgradeLicense(request *UpgradeLicenseRequest) (response *UpgradeLicenseResponse, err error)
UpgradeLicense This API is used to upgrade ES X-Pack.
error code that may be returned:
FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpgradeLicenseWithContext ¶
func (c *Client) UpgradeLicenseWithContext(ctx context.Context, request *UpgradeLicenseRequest) (response *UpgradeLicenseResponse, err error)
UpgradeLicense This API is used to upgrade ES X-Pack.
error code that may be returned:
FAILEDOPERATION_NOPAYMENT = "FailedOperation.NoPayment" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type ClusterView ¶
type ClusterView struct { // Cluster health status Health *float64 `json:"Health,omitempty" name:"Health"` // Whether the cluster is visible Visible *float64 `json:"Visible,omitempty" name:"Visible"` // Whether the cluster encounters circuit breaking Break *float64 `json:"Break,omitempty" name:"Break"` // Average disk usage AvgDiskUsage *float64 `json:"AvgDiskUsage,omitempty" name:"AvgDiskUsage"` // Average memory usage AvgMemUsage *float64 `json:"AvgMemUsage,omitempty" name:"AvgMemUsage"` // Average CPU usage AvgCpuUsage *float64 `json:"AvgCpuUsage,omitempty" name:"AvgCpuUsage"` // Total disk size of the cluster TotalDiskSize *uint64 `json:"TotalDiskSize,omitempty" name:"TotalDiskSize"` // Types of nodes to receive client requests TargetNodeTypes []*string `json:"TargetNodeTypes,omitempty" name:"TargetNodeTypes"` // Number of online nodes NodeNum *int64 `json:"NodeNum,omitempty" name:"NodeNum"` // Total number of nodes TotalNodeNum *int64 `json:"TotalNodeNum,omitempty" name:"TotalNodeNum"` // Number of data nodes DataNodeNum *int64 `json:"DataNodeNum,omitempty" name:"DataNodeNum"` // Number of indices IndexNum *int64 `json:"IndexNum,omitempty" name:"IndexNum"` // Number of documents DocNum *int64 `json:"DocNum,omitempty" name:"DocNum"` // Used disk size (in bytes) DiskUsedInBytes *int64 `json:"DiskUsedInBytes,omitempty" name:"DiskUsedInBytes"` // Number of shards ShardNum *int64 `json:"ShardNum,omitempty" name:"ShardNum"` // Number of primary shards PrimaryShardNum *int64 `json:"PrimaryShardNum,omitempty" name:"PrimaryShardNum"` // Number of relocating shards RelocatingShardNum *int64 `json:"RelocatingShardNum,omitempty" name:"RelocatingShardNum"` // Number of initializing shards InitializingShardNum *int64 `json:"InitializingShardNum,omitempty" name:"InitializingShardNum"` // Number of unassigned shards UnassignedShardNum *int64 `json:"UnassignedShardNum,omitempty" name:"UnassignedShardNum"` // Total COS storage of an enterprise cluster, in GB TotalCosStorage *int64 `json:"TotalCosStorage,omitempty" name:"TotalCosStorage"` // Name of the COS bucket that stores searchable snapshots of an enterprise cluster // Note: This field may return `null`, indicating that no valid value was found. SearchableSnapshotCosBucket *string `json:"SearchableSnapshotCosBucket,omitempty" name:"SearchableSnapshotCosBucket"` // COS app ID of the searchable snapshots of an enterprise cluster // Note: This field may return `null`, indicating that no valid value was found. SearchableSnapshotCosAppId *string `json:"SearchableSnapshotCosAppId,omitempty" name:"SearchableSnapshotCosAppId"` }
type CreateIndexRequest ¶
type CreateIndexRequest struct { *tchttp.BaseRequest // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type of the index to create. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Name of the index to create IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // JSON-formatted index metadata to create, such as `mappings` and `settings` IndexMetaJson *string `json:"IndexMetaJson,omitempty" name:"IndexMetaJson"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` }
func NewCreateIndexRequest ¶
func NewCreateIndexRequest() (request *CreateIndexRequest)
func (*CreateIndexRequest) FromJsonString ¶
func (r *CreateIndexRequest) 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 (*CreateIndexRequest) ToJsonString ¶
func (r *CreateIndexRequest) ToJsonString() string
type CreateIndexRequestParams ¶
type CreateIndexRequestParams struct { // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type of the index to create. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Name of the index to create IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // JSON-formatted index metadata to create, such as `mappings` and `settings` IndexMetaJson *string `json:"IndexMetaJson,omitempty" name:"IndexMetaJson"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` }
Predefined struct for user
type CreateIndexResponse ¶
type CreateIndexResponse struct { *tchttp.BaseResponse Response *CreateIndexResponseParams `json:"Response"` }
func NewCreateIndexResponse ¶
func NewCreateIndexResponse() (response *CreateIndexResponse)
func (*CreateIndexResponse) FromJsonString ¶
func (r *CreateIndexResponse) 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 (*CreateIndexResponse) ToJsonString ¶
func (r *CreateIndexResponse) ToJsonString() string
type CreateIndexResponseParams ¶
type CreateIndexResponseParams struct { // 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 CreateInstanceRequest ¶
type CreateInstanceRequest struct { *tchttp.BaseRequest // Availability Zone Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance version. Valid values: `5.6.4`, `6.4.3`, `6.8.2`, `7.5.1`, `7.10.1` EsVersion *string `json:"EsVersion,omitempty" name:"EsVersion"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] Password *string `json:"Password,omitempty" name:"Password"` // Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_) InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // This parameter has been disused. Please use `NodeInfoList` // Number of nodes (2-50) NodeNum *uint64 `json:"NodeNum,omitempty" name:"NodeNum"` // Billing mode <li>POSTPAID_BY_HOUR: Pay-as-you-go hourly </li>Default value: POSTPAID_BY_HOUR ChargeType *string `json:"ChargeType,omitempty" name:"ChargeType"` // This parameter is not used on the global website ChargePeriod *uint64 `json:"ChargePeriod,omitempty" name:"ChargePeriod"` // This parameter is not used on the global website RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"` // This parameter has been disused. Please use `NodeInfoList` // Node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> NodeType *string `json:"NodeType,omitempty" name:"NodeType"` // This parameter has been disused. Please use `NodeInfoList` // Node storage type <li>CLOUD_SSD: SSD cloud storage </li><li>CLOUD_PREMIUM: premium cloud storage </li>Default value: CLOUD_SSD DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // This parameter has been disused. Please use `NodeInfoList` // Node disk size in GB DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` // This parameter is not used on the global website TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` // Whether to automatically use vouchers <li>0: No </li><li>1: Yes </li>Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // List of voucher IDs (only one voucher can be specified at a time currently) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // This parameter has been disused. Please use `NodeInfoList` // Whether to create a dedicated primary node <li>true: yes </li><li>false: no </li>Default value: false EnableDedicatedMaster *bool `json:"EnableDedicatedMaster,omitempty" name:"EnableDedicatedMaster"` // This parameter has been disused. Please use `NodeInfoList` // Number of dedicated primary nodes (only 3 and 5 are supported. This value must be passed in if `EnableDedicatedMaster` is `true`) MasterNodeNum *uint64 `json:"MasterNodeNum,omitempty" name:"MasterNodeNum"` // This parameter has been disused. Please use `NodeInfoList` // Dedicated primary node type, which must be passed in if `EnableDedicatedMaster` is `true` <li>ES.S1.SMALL2: 1-core 2 GB</li><li>ES.S1.MEDIUM4: 2-core 4 GB</li><li>ES.S1.MEDIUM8: 2-core 8 GB</li><li>ES.S1.LARGE16: 4-core 16 GB</li><li>ES.S1.2XLARGE32: 8-core 32 GB</li><li>ES.S1.4XLARGE32: 16-core 32 GB</li><li>ES.S1.4XLARGE64: 16-core 64 GB</li> MasterNodeType *string `json:"MasterNodeType,omitempty" name:"MasterNodeType"` // This parameter has been disused. Please use `NodeInfoList` // Dedicated primary node disk size in GB, which is optional. If passed in, it can only be 50 and cannot be customized currently MasterNodeDiskSize *uint64 `json:"MasterNodeDiskSize,omitempty" name:"MasterNodeDiskSize"` // ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customized ClusterNameInConf *string `json:"ClusterNameInConf,omitempty" name:"ClusterNameInConf"` // Cluster deployment mode <li>0: single-AZ deployment </li><li>1: multi-AZ deployment </li>Default value: 0 DeployMode *uint64 `json:"DeployMode,omitempty" name:"DeployMode"` // Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1) MultiZoneInfo []*ZoneDetail `json:"MultiZoneInfo,omitempty" name:"MultiZoneInfo"` // License type <li>oss: Open Source Edition </li><li>basic: Basic Edition </li><li>platinum: Platinum Edition </li>Default value: Platinum LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size NodeInfoList []*NodeInfo `json:"NodeInfoList,omitempty" name:"NodeInfoList"` // Node tag information list TagList []*TagInfo `json:"TagList,omitempty" name:"TagList"` // Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li> BasicSecurityType *uint64 `json:"BasicSecurityType,omitempty" name:"BasicSecurityType"` // Scenario template type. 0: not enabled; 1: general; 2: log; 3: search SceneType *int64 `json:"SceneType,omitempty" name:"SceneType"` // Visual node configuration WebNodeTypeInfo *WebNodeTypeInfo `json:"WebNodeTypeInfo,omitempty" name:"WebNodeTypeInfo"` // Valid values: `https`, `http` (default) Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // The maintenance time slot OperationDuration *OperationDuration `json:"OperationDuration,omitempty" name:"OperationDuration"` // Whether to enable the storage-computing separation feature. EnableHybridStorage *bool `json:"EnableHybridStorage,omitempty" name:"EnableHybridStorage"` // Whether to enable enhanced SSD DiskEnhance *uint64 `json:"DiskEnhance,omitempty" name:"DiskEnhance"` }
func NewCreateInstanceRequest ¶
func NewCreateInstanceRequest() (request *CreateInstanceRequest)
func (*CreateInstanceRequest) FromJsonString ¶
func (r *CreateInstanceRequest) 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 (*CreateInstanceRequest) ToJsonString ¶
func (r *CreateInstanceRequest) ToJsonString() string
type CreateInstanceRequestParams ¶
type CreateInstanceRequestParams struct { // Availability Zone Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance version. Valid values: `5.6.4`, `6.4.3`, `6.8.2`, `7.5.1`, `7.10.1` EsVersion *string `json:"EsVersion,omitempty" name:"EsVersion"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] Password *string `json:"Password,omitempty" name:"Password"` // Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_) InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // This parameter has been disused. Please use `NodeInfoList` // Number of nodes (2-50) NodeNum *uint64 `json:"NodeNum,omitempty" name:"NodeNum"` // Billing mode <li>POSTPAID_BY_HOUR: Pay-as-you-go hourly </li>Default value: POSTPAID_BY_HOUR ChargeType *string `json:"ChargeType,omitempty" name:"ChargeType"` // This parameter is not used on the global website ChargePeriod *uint64 `json:"ChargePeriod,omitempty" name:"ChargePeriod"` // This parameter is not used on the global website RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"` // This parameter has been disused. Please use `NodeInfoList` // Node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> NodeType *string `json:"NodeType,omitempty" name:"NodeType"` // This parameter has been disused. Please use `NodeInfoList` // Node storage type <li>CLOUD_SSD: SSD cloud storage </li><li>CLOUD_PREMIUM: premium cloud storage </li>Default value: CLOUD_SSD DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // This parameter has been disused. Please use `NodeInfoList` // Node disk size in GB DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` // This parameter is not used on the global website TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` // Whether to automatically use vouchers <li>0: No </li><li>1: Yes </li>Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // List of voucher IDs (only one voucher can be specified at a time currently) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // This parameter has been disused. Please use `NodeInfoList` // Whether to create a dedicated primary node <li>true: yes </li><li>false: no </li>Default value: false EnableDedicatedMaster *bool `json:"EnableDedicatedMaster,omitempty" name:"EnableDedicatedMaster"` // This parameter has been disused. Please use `NodeInfoList` // Number of dedicated primary nodes (only 3 and 5 are supported. This value must be passed in if `EnableDedicatedMaster` is `true`) MasterNodeNum *uint64 `json:"MasterNodeNum,omitempty" name:"MasterNodeNum"` // This parameter has been disused. Please use `NodeInfoList` // Dedicated primary node type, which must be passed in if `EnableDedicatedMaster` is `true` <li>ES.S1.SMALL2: 1-core 2 GB</li><li>ES.S1.MEDIUM4: 2-core 4 GB</li><li>ES.S1.MEDIUM8: 2-core 8 GB</li><li>ES.S1.LARGE16: 4-core 16 GB</li><li>ES.S1.2XLARGE32: 8-core 32 GB</li><li>ES.S1.4XLARGE32: 16-core 32 GB</li><li>ES.S1.4XLARGE64: 16-core 64 GB</li> MasterNodeType *string `json:"MasterNodeType,omitempty" name:"MasterNodeType"` // This parameter has been disused. Please use `NodeInfoList` // Dedicated primary node disk size in GB, which is optional. If passed in, it can only be 50 and cannot be customized currently MasterNodeDiskSize *uint64 `json:"MasterNodeDiskSize,omitempty" name:"MasterNodeDiskSize"` // ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customized ClusterNameInConf *string `json:"ClusterNameInConf,omitempty" name:"ClusterNameInConf"` // Cluster deployment mode <li>0: single-AZ deployment </li><li>1: multi-AZ deployment </li>Default value: 0 DeployMode *uint64 `json:"DeployMode,omitempty" name:"DeployMode"` // Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1) MultiZoneInfo []*ZoneDetail `json:"MultiZoneInfo,omitempty" name:"MultiZoneInfo"` // License type <li>oss: Open Source Edition </li><li>basic: Basic Edition </li><li>platinum: Platinum Edition </li>Default value: Platinum LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size NodeInfoList []*NodeInfo `json:"NodeInfoList,omitempty" name:"NodeInfoList"` // Node tag information list TagList []*TagInfo `json:"TagList,omitempty" name:"TagList"` // Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li> BasicSecurityType *uint64 `json:"BasicSecurityType,omitempty" name:"BasicSecurityType"` // Scenario template type. 0: not enabled; 1: general; 2: log; 3: search SceneType *int64 `json:"SceneType,omitempty" name:"SceneType"` // Visual node configuration WebNodeTypeInfo *WebNodeTypeInfo `json:"WebNodeTypeInfo,omitempty" name:"WebNodeTypeInfo"` // Valid values: `https`, `http` (default) Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // The maintenance time slot OperationDuration *OperationDuration `json:"OperationDuration,omitempty" name:"OperationDuration"` // Whether to enable the storage-computing separation feature. EnableHybridStorage *bool `json:"EnableHybridStorage,omitempty" name:"EnableHybridStorage"` // Whether to enable enhanced SSD DiskEnhance *uint64 `json:"DiskEnhance,omitempty" name:"DiskEnhance"` }
Predefined struct for user
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { *tchttp.BaseResponse Response *CreateInstanceResponseParams `json:"Response"` }
func NewCreateInstanceResponse ¶
func NewCreateInstanceResponse() (response *CreateInstanceResponse)
func (*CreateInstanceResponse) FromJsonString ¶
func (r *CreateInstanceResponse) 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 (*CreateInstanceResponse) ToJsonString ¶
func (r *CreateInstanceResponse) ToJsonString() string
type CreateInstanceResponseParams ¶
type CreateInstanceResponseParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Order ID // Note: This field may return `null`, indicating that no valid value was found. DealName *string `json:"DealName,omitempty" name:"DealName"` // 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 DeleteIndexRequest ¶
type DeleteIndexRequest struct { *tchttp.BaseRequest // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type of the index to delete. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Name of the index to delete IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` // Backing index name BackingIndexName *string `json:"BackingIndexName,omitempty" name:"BackingIndexName"` }
func NewDeleteIndexRequest ¶
func NewDeleteIndexRequest() (request *DeleteIndexRequest)
func (*DeleteIndexRequest) FromJsonString ¶
func (r *DeleteIndexRequest) 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 (*DeleteIndexRequest) ToJsonString ¶
func (r *DeleteIndexRequest) ToJsonString() string
type DeleteIndexRequestParams ¶
type DeleteIndexRequestParams struct { // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type of the index to delete. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Name of the index to delete IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` // Backing index name BackingIndexName *string `json:"BackingIndexName,omitempty" name:"BackingIndexName"` }
Predefined struct for user
type DeleteIndexResponse ¶
type DeleteIndexResponse struct { *tchttp.BaseResponse Response *DeleteIndexResponseParams `json:"Response"` }
func NewDeleteIndexResponse ¶
func NewDeleteIndexResponse() (response *DeleteIndexResponse)
func (*DeleteIndexResponse) FromJsonString ¶
func (r *DeleteIndexResponse) 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 (*DeleteIndexResponse) ToJsonString ¶
func (r *DeleteIndexResponse) ToJsonString() string
type DeleteIndexResponseParams ¶
type DeleteIndexResponseParams struct { // 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 DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDeleteInstanceRequest ¶
func NewDeleteInstanceRequest() (request *DeleteInstanceRequest)
func (*DeleteInstanceRequest) FromJsonString ¶
func (r *DeleteInstanceRequest) 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 (*DeleteInstanceRequest) ToJsonString ¶
func (r *DeleteInstanceRequest) ToJsonString() string
type DeleteInstanceRequestParams ¶
type DeleteInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { *tchttp.BaseResponse Response *DeleteInstanceResponseParams `json:"Response"` }
func NewDeleteInstanceResponse ¶
func NewDeleteInstanceResponse() (response *DeleteInstanceResponse)
func (*DeleteInstanceResponse) FromJsonString ¶
func (r *DeleteInstanceResponse) 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 (*DeleteInstanceResponse) ToJsonString ¶
func (r *DeleteInstanceResponse) ToJsonString() string
type DeleteInstanceResponseParams ¶
type DeleteInstanceResponseParams struct { // 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 DescribeIndexListRequest ¶
type DescribeIndexListRequest struct { *tchttp.BaseRequest // Index type. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Index name. `null` indicates that all indexes are requested. IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` // The starting position of paging Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The number of results per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Sorting condition field, which can be `IndexName`, `IndexStorage`, or `IndexCreateTime`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Filtering by index status IndexStatusList []*string `json:"IndexStatusList,omitempty" name:"IndexStatusList"` // Sorting mode, which can be `asc` and `desc`. Order *string `json:"Order,omitempty" name:"Order"` }
func NewDescribeIndexListRequest ¶
func NewDescribeIndexListRequest() (request *DescribeIndexListRequest)
func (*DescribeIndexListRequest) FromJsonString ¶
func (r *DescribeIndexListRequest) 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 (*DescribeIndexListRequest) ToJsonString ¶
func (r *DescribeIndexListRequest) ToJsonString() string
type DescribeIndexListRequestParams ¶
type DescribeIndexListRequestParams struct { // Index type. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Index name. `null` indicates that all indexes are requested. IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` // The starting position of paging Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The number of results per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Sorting condition field, which can be `IndexName`, `IndexStorage`, or `IndexCreateTime`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Filtering by index status IndexStatusList []*string `json:"IndexStatusList,omitempty" name:"IndexStatusList"` // Sorting mode, which can be `asc` and `desc`. Order *string `json:"Order,omitempty" name:"Order"` }
Predefined struct for user
type DescribeIndexListResponse ¶
type DescribeIndexListResponse struct { *tchttp.BaseResponse Response *DescribeIndexListResponseParams `json:"Response"` }
func NewDescribeIndexListResponse ¶
func NewDescribeIndexListResponse() (response *DescribeIndexListResponse)
func (*DescribeIndexListResponse) FromJsonString ¶
func (r *DescribeIndexListResponse) 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 (*DescribeIndexListResponse) ToJsonString ¶
func (r *DescribeIndexListResponse) ToJsonString() string
type DescribeIndexListResponseParams ¶
type DescribeIndexListResponseParams struct { // Index metadata field // Note: This field may return `null`, indicating that no valid value can be obtained. IndexMetaFields []*IndexMetaField `json:"IndexMetaFields,omitempty" name:"IndexMetaFields"` // Total number of results // Note: This field may return `null`, indicating that no valid value can be obtained. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 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 DescribeIndexMetaRequest ¶
type DescribeIndexMetaRequest struct { *tchttp.BaseRequest // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Index type. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Index name. `null` indicates that all indexes are requested. IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` }
func NewDescribeIndexMetaRequest ¶
func NewDescribeIndexMetaRequest() (request *DescribeIndexMetaRequest)
func (*DescribeIndexMetaRequest) FromJsonString ¶
func (r *DescribeIndexMetaRequest) 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 (*DescribeIndexMetaRequest) ToJsonString ¶
func (r *DescribeIndexMetaRequest) ToJsonString() string
type DescribeIndexMetaRequestParams ¶
type DescribeIndexMetaRequestParams struct { // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Index type. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Index name. `null` indicates that all indexes are requested. IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` }
Predefined struct for user
type DescribeIndexMetaResponse ¶
type DescribeIndexMetaResponse struct { *tchttp.BaseResponse Response *DescribeIndexMetaResponseParams `json:"Response"` }
func NewDescribeIndexMetaResponse ¶
func NewDescribeIndexMetaResponse() (response *DescribeIndexMetaResponse)
func (*DescribeIndexMetaResponse) FromJsonString ¶
func (r *DescribeIndexMetaResponse) 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 (*DescribeIndexMetaResponse) ToJsonString ¶
func (r *DescribeIndexMetaResponse) ToJsonString() string
type DescribeIndexMetaResponseParams ¶
type DescribeIndexMetaResponseParams struct { // Index metadata field // Note: This field may return `null`, indicating that no valid value can be obtained. IndexMetaField *IndexMetaField `json:"IndexMetaField,omitempty" name:"IndexMetaField"` // 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 DescribeInstanceLogsRequest ¶
type DescribeInstanceLogsRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Log type. Default value: 1 // <li>1: primary log</li> // <li>2: search slow log</li> // <li>3: index slow log</li> // <li>4: GC log</li> LogType *uint64 `json:"LogType,omitempty" name:"LogType"` // Search keyword, which supports LUCENE syntax, such as `level:WARN`, `ip:1.1.1.1`, and `message:test-index` SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` // Log start time in the format of YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Log end time in the format of YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Pagination start value. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 100. Maximum value: 100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Time sorting order. Default value: 0 // <li>0: descending</li> // <li>1: ascending</li> OrderByType *uint64 `json:"OrderByType,omitempty" name:"OrderByType"` }
func NewDescribeInstanceLogsRequest ¶
func NewDescribeInstanceLogsRequest() (request *DescribeInstanceLogsRequest)
func (*DescribeInstanceLogsRequest) FromJsonString ¶
func (r *DescribeInstanceLogsRequest) 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 (*DescribeInstanceLogsRequest) ToJsonString ¶
func (r *DescribeInstanceLogsRequest) ToJsonString() string
type DescribeInstanceLogsRequestParams ¶
type DescribeInstanceLogsRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Log type. Default value: 1 // <li>1: primary log</li> // <li>2: search slow log</li> // <li>3: index slow log</li> // <li>4: GC log</li> LogType *uint64 `json:"LogType,omitempty" name:"LogType"` // Search keyword, which supports LUCENE syntax, such as `level:WARN`, `ip:1.1.1.1`, and `message:test-index` SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` // Log start time in the format of YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Log end time in the format of YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Pagination start value. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 100. Maximum value: 100 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Time sorting order. Default value: 0 // <li>0: descending</li> // <li>1: ascending</li> OrderByType *uint64 `json:"OrderByType,omitempty" name:"OrderByType"` }
Predefined struct for user
type DescribeInstanceLogsResponse ¶
type DescribeInstanceLogsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceLogsResponseParams `json:"Response"` }
func NewDescribeInstanceLogsResponse ¶
func NewDescribeInstanceLogsResponse() (response *DescribeInstanceLogsResponse)
func (*DescribeInstanceLogsResponse) FromJsonString ¶
func (r *DescribeInstanceLogsResponse) 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 (*DescribeInstanceLogsResponse) ToJsonString ¶
func (r *DescribeInstanceLogsResponse) ToJsonString() string
type DescribeInstanceLogsResponseParams ¶
type DescribeInstanceLogsResponseParams struct { // Number of returned logs TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Log details list InstanceLogList []*InstanceLog `json:"InstanceLogList,omitempty" name:"InstanceLogList"` // 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 DescribeInstanceOperationsRequest ¶
type DescribeInstanceOperationsRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start time, such as "2019-03-07 16:30:39" StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time, such as "2019-03-30 20:18:03" EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Pagination start value Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeInstanceOperationsRequest ¶
func NewDescribeInstanceOperationsRequest() (request *DescribeInstanceOperationsRequest)
func (*DescribeInstanceOperationsRequest) FromJsonString ¶
func (r *DescribeInstanceOperationsRequest) 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 (*DescribeInstanceOperationsRequest) ToJsonString ¶
func (r *DescribeInstanceOperationsRequest) ToJsonString() string
type DescribeInstanceOperationsRequestParams ¶
type DescribeInstanceOperationsRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start time, such as "2019-03-07 16:30:39" StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time, such as "2019-03-30 20:18:03" EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Pagination start value Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeInstanceOperationsResponse ¶
type DescribeInstanceOperationsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceOperationsResponseParams `json:"Response"` }
func NewDescribeInstanceOperationsResponse ¶
func NewDescribeInstanceOperationsResponse() (response *DescribeInstanceOperationsResponse)
func (*DescribeInstanceOperationsResponse) FromJsonString ¶
func (r *DescribeInstanceOperationsResponse) 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 (*DescribeInstanceOperationsResponse) ToJsonString ¶
func (r *DescribeInstanceOperationsResponse) ToJsonString() string
type DescribeInstanceOperationsResponseParams ¶
type DescribeInstanceOperationsResponseParams struct { // Total number of operation records TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Operation history Operations []*Operation `json:"Operations,omitempty" name:"Operations"` // 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 DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // AZ of the cluster instance. If this is not passed in, all AZs are used by default Zone *string `json:"Zone,omitempty" name:"Zone"` // List of cluster instance IDs InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // List of cluster instance names InstanceNames []*string `json:"InstanceNames,omitempty" name:"InstanceNames"` // Pagination start value. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Sort by field <li>1: instance ID </li><li>2: instance name </li><li>3: AZ </li><li>4: creation time </li>If `orderKey` is not passed in, sort by creation time in descending order OrderByKey *uint64 `json:"OrderByKey,omitempty" name:"OrderByKey"` // Sorting order <li>0: ascending </li><li>1: descending </li>If orderByKey is passed in but orderByType is not, ascending order is used by default OrderByType *uint64 `json:"OrderByType,omitempty" name:"OrderByType"` // Node tag information list TagList []*TagInfo `json:"TagList,omitempty" name:"TagList"` // VPC VIP list IpList []*string `json:"IpList,omitempty" name:"IpList"` // List of availability zones ZoneList []*string `json:"ZoneList,omitempty" name:"ZoneList"` // Health status filter list HealthStatus []*int64 `json:"HealthStatus,omitempty" name:"HealthStatus"` // VPC IDs VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
func (*DescribeInstancesRequest) FromJsonString ¶
func (r *DescribeInstancesRequest) 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 (*DescribeInstancesRequest) ToJsonString ¶
func (r *DescribeInstancesRequest) ToJsonString() string
type DescribeInstancesRequestParams ¶
type DescribeInstancesRequestParams struct { // AZ of the cluster instance. If this is not passed in, all AZs are used by default Zone *string `json:"Zone,omitempty" name:"Zone"` // List of cluster instance IDs InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // List of cluster instance names InstanceNames []*string `json:"InstanceNames,omitempty" name:"InstanceNames"` // Pagination start value. Default value: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Sort by field <li>1: instance ID </li><li>2: instance name </li><li>3: AZ </li><li>4: creation time </li>If `orderKey` is not passed in, sort by creation time in descending order OrderByKey *uint64 `json:"OrderByKey,omitempty" name:"OrderByKey"` // Sorting order <li>0: ascending </li><li>1: descending </li>If orderByKey is passed in but orderByType is not, ascending order is used by default OrderByType *uint64 `json:"OrderByType,omitempty" name:"OrderByType"` // Node tag information list TagList []*TagInfo `json:"TagList,omitempty" name:"TagList"` // VPC VIP list IpList []*string `json:"IpList,omitempty" name:"IpList"` // List of availability zones ZoneList []*string `json:"ZoneList,omitempty" name:"ZoneList"` // Health status filter list HealthStatus []*int64 `json:"HealthStatus,omitempty" name:"HealthStatus"` // VPC IDs VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds"` }
Predefined struct for user
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *tchttp.BaseResponse Response *DescribeInstancesResponseParams `json:"Response"` }
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
func (*DescribeInstancesResponse) FromJsonString ¶
func (r *DescribeInstancesResponse) 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 (*DescribeInstancesResponse) ToJsonString ¶
func (r *DescribeInstancesResponse) ToJsonString() string
type DescribeInstancesResponseParams ¶
type DescribeInstancesResponseParams struct { // Number of returned instances TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of instance details InstanceList []*InstanceInfo `json:"InstanceList,omitempty" name:"InstanceList"` // 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 DescribeViewsRequest ¶
type DescribeViewsRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeViewsRequest ¶
func NewDescribeViewsRequest() (request *DescribeViewsRequest)
func (*DescribeViewsRequest) FromJsonString ¶
func (r *DescribeViewsRequest) 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 (*DescribeViewsRequest) ToJsonString ¶
func (r *DescribeViewsRequest) ToJsonString() string
type DescribeViewsRequestParams ¶
type DescribeViewsRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeViewsResponse ¶
type DescribeViewsResponse struct { *tchttp.BaseResponse Response *DescribeViewsResponseParams `json:"Response"` }
func NewDescribeViewsResponse ¶
func NewDescribeViewsResponse() (response *DescribeViewsResponse)
func (*DescribeViewsResponse) FromJsonString ¶
func (r *DescribeViewsResponse) 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 (*DescribeViewsResponse) ToJsonString ¶
func (r *DescribeViewsResponse) ToJsonString() string
type DescribeViewsResponseParams ¶
type DescribeViewsResponseParams struct { // Cluster view // Note: This field may return `null`, indicating that no valid value was found. ClusterView *ClusterView `json:"ClusterView,omitempty" name:"ClusterView"` // Node view // Note: This field may return `null`, indicating that no valid value was found. NodesView []*NodeView `json:"NodesView,omitempty" name:"NodesView"` // Kibana view // Note: This field may return `null`, indicating that no valid value was found. KibanasView []*KibanaView `json:"KibanasView,omitempty" name:"KibanasView"` // 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 EsConfigSetInfo ¶
type EsConfigSetInfo struct { // Configuration set type, such as `LDAP` and `AD`. Type *string `json:"Type,omitempty" name:"Type"` // "{\"order\":0,\"url\":\"ldap://10.0.1.72:389\",\"bind_dn\":\"cn=admin,dc=tencent,dc=com\",\"user_search.base_dn\":\"dc=tencent,dc=com\",\"user_search.filter\":\"(cn={0})\",\"group_search.base_dn\":\"dc=tencent,dc=com\"}" EsConfig *string `json:"EsConfig,omitempty" name:"EsConfig"` }
type EsDictionaryInfo ¶
type EsDictionaryInfo struct { // List of non-stop words MainDict []*DictInfo `json:"MainDict,omitempty" name:"MainDict"` // List of stop words Stopwords []*DictInfo `json:"Stopwords,omitempty" name:"Stopwords"` // QQ dictionary list QQDict []*DictInfo `json:"QQDict,omitempty" name:"QQDict"` // Synonym dictionary list Synonym []*DictInfo `json:"Synonym,omitempty" name:"Synonym"` // Update dictionary type UpdateType *string `json:"UpdateType,omitempty" name:"UpdateType"` }
type EsPublicAcl ¶
type GetRequestTargetNodeTypesRequest ¶
type GetRequestTargetNodeTypesRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewGetRequestTargetNodeTypesRequest ¶
func NewGetRequestTargetNodeTypesRequest() (request *GetRequestTargetNodeTypesRequest)
func (*GetRequestTargetNodeTypesRequest) FromJsonString ¶
func (r *GetRequestTargetNodeTypesRequest) 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 (*GetRequestTargetNodeTypesRequest) ToJsonString ¶
func (r *GetRequestTargetNodeTypesRequest) ToJsonString() string
type GetRequestTargetNodeTypesRequestParams ¶
type GetRequestTargetNodeTypesRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type GetRequestTargetNodeTypesResponse ¶
type GetRequestTargetNodeTypesResponse struct { *tchttp.BaseResponse Response *GetRequestTargetNodeTypesResponseParams `json:"Response"` }
func NewGetRequestTargetNodeTypesResponse ¶
func NewGetRequestTargetNodeTypesResponse() (response *GetRequestTargetNodeTypesResponse)
func (*GetRequestTargetNodeTypesResponse) FromJsonString ¶
func (r *GetRequestTargetNodeTypesResponse) 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 (*GetRequestTargetNodeTypesResponse) ToJsonString ¶
func (r *GetRequestTargetNodeTypesResponse) ToJsonString() string
type GetRequestTargetNodeTypesResponseParams ¶
type GetRequestTargetNodeTypesResponseParams struct { // A list of node types used to receive requests. TargetNodeTypes []*string `json:"TargetNodeTypes,omitempty" name:"TargetNodeTypes"` // 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 IndexMetaField ¶
type IndexMetaField struct { // Index type // Note: This field may return `null`, indicating that no valid value can be obtained. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Index name // Note: This field may return `null`, indicating that no valid value can be obtained. IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // Index status // Note: This field may return `null`, indicating that no valid value can be obtained. IndexStatus *string `json:"IndexStatus,omitempty" name:"IndexStatus"` // Index size (in byte) // Note: This field may return `null`, indicating that no valid value can be obtained. IndexStorage *int64 `json:"IndexStorage,omitempty" name:"IndexStorage"` // Index creation time // Note: This field may return `null`, indicating that no valid value can be obtained. IndexCreateTime *string `json:"IndexCreateTime,omitempty" name:"IndexCreateTime"` // Backing index // Note: This field may return `null`, indicating that no valid value can be obtained. BackingIndices []*BackingIndexMetaField `json:"BackingIndices,omitempty" name:"BackingIndices"` // Cluster ID // Note: This field may return `null`, indicating that no valid value can be obtained. ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // Cluster name // Note: This field may return `null`, indicating that no valid value can be obtained. ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // Cluster version // Note: This field may return `null`, indicating that no valid value can be obtained. ClusterVersion *string `json:"ClusterVersion,omitempty" name:"ClusterVersion"` // Index lifecycle policy field // Note: This field may return `null`, indicating that no valid value can be obtained. IndexPolicyField *IndexPolicyField `json:"IndexPolicyField,omitempty" name:"IndexPolicyField"` // Index automation field // Note: This field may return `null`, indicating that no valid value can be obtained. IndexOptionsField *IndexOptionsField `json:"IndexOptionsField,omitempty" name:"IndexOptionsField"` // Index setting field // Note: This field may return `null`, indicating that no valid value can be obtained. IndexSettingsField *IndexSettingsField `json:"IndexSettingsField,omitempty" name:"IndexSettingsField"` // Cluster APP ID // Note: This field may return `null`, indicating that no valid value can be obtained. AppId *uint64 `json:"AppId,omitempty" name:"AppId"` }
type IndexOptionsField ¶
type IndexOptionsField struct { // Max age for expiry purpose // Note: This field may return `null`, indicating that no valid value can be obtained. ExpireMaxAge *string `json:"ExpireMaxAge,omitempty" name:"ExpireMaxAge"` // Max size for expiry purpose // Note: This field may return `null`, indicating that no valid value can be obtained. ExpireMaxSize *string `json:"ExpireMaxSize,omitempty" name:"ExpireMaxSize"` // Rollover cycle // Note: This field may return `null`, indicating that no valid value can be obtained. RolloverMaxAge *string `json:"RolloverMaxAge,omitempty" name:"RolloverMaxAge"` // Whether to enable the dynamic rollover // Note: This field may return `null`, indicating that no valid value can be obtained. RolloverDynamic *string `json:"RolloverDynamic,omitempty" name:"RolloverDynamic"` // Whether to enable dynamic sharding // Note: This field may return `null`, indicating that no valid value can be obtained. ShardNumDynamic *string `json:"ShardNumDynamic,omitempty" name:"ShardNumDynamic"` // Timestamp field // Note: This field may return `null`, indicating that no valid value can be obtained. TimestampField *string `json:"TimestampField,omitempty" name:"TimestampField"` // Write mode // Note: This field may return `null`, indicating that no valid value can be obtained. WriteMode *string `json:"WriteMode,omitempty" name:"WriteMode"` }
type IndexPolicyField ¶
type IndexPolicyField struct { // Whether to enable the warm phase // Note: This field may return `null`, indicating that no valid value can be obtained. WarmEnable *string `json:"WarmEnable,omitempty" name:"WarmEnable"` // Min age before data transitions to the warm phase // Note: This field may return `null`, indicating that no valid value can be obtained. WarmMinAge *string `json:"WarmMinAge,omitempty" name:"WarmMinAge"` // Whether to enable the cold phase // Note: This field may return `null`, indicating that no valid value can be obtained. ColdEnable *string `json:"ColdEnable,omitempty" name:"ColdEnable"` // Min age before data transitions to the cold phase // Note: This field may return `null`, indicating that no valid value can be obtained. ColdMinAge *string `json:"ColdMinAge,omitempty" name:"ColdMinAge"` // Whether to enable the frozen phase // Note: This field may return `null`, indicating that no valid value can be obtained. FrozenEnable *string `json:"FrozenEnable,omitempty" name:"FrozenEnable"` // Min age before data transitions to the frozen phase // Note: This field may return `null`, indicating that no valid value can be obtained. FrozenMinAge *string `json:"FrozenMinAge,omitempty" name:"FrozenMinAge"` // / // Note: This field may return null, indicating that no valid value can be obtained. ColdAction *string `json:"ColdAction,omitempty" name:"ColdAction"` }
type IndexSettingsField ¶
type IndexSettingsField struct { // Number of primary shards // Note: This field may return `null`, indicating that no valid value can be obtained. NumberOfShards *string `json:"NumberOfShards,omitempty" name:"NumberOfShards"` // Number of replica shards // Note: This field may return `null`, indicating that no valid value can be obtained. NumberOfReplicas *string `json:"NumberOfReplicas,omitempty" name:"NumberOfReplicas"` // Index refresh interval // Note: This field may return `null`, indicating that no valid value can be obtained. RefreshInterval *string `json:"RefreshInterval,omitempty" name:"RefreshInterval"` }
type InstanceInfo ¶
type InstanceInfo struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Region Region *string `json:"Region,omitempty" name:"Region"` // Availability Zone Zone *string `json:"Zone,omitempty" name:"Zone"` // User ID AppId *uint64 `json:"AppId,omitempty" name:"AppId"` // User UIN Uin *string `json:"Uin,omitempty" name:"Uin"` // UID of the VPC where the instance resides VpcUid *string `json:"VpcUid,omitempty" name:"VpcUid"` // UID of the subnet where the instance resides SubnetUid *string `json:"SubnetUid,omitempty" name:"SubnetUid"` // Instance status. `0`: Processing; `1`: Normal; `-1`: `Stopped`; `-2`: Being terminated; `-3`: Terminated; `2`: Initializing during the cluster creation. Status *int64 `json:"Status,omitempty" name:"Status"` // This parameter is not used on the global website RenewFlag *string `json:"RenewFlag,omitempty" name:"RenewFlag"` // Instance billing method. Valid values: POSTPAID_BY_HOUR (pay-as-you-go hourly); CDHPAID (billed based on CDH, i.e., only CDH is billed but not the instances on CDH) ChargeType *string `json:"ChargeType,omitempty" name:"ChargeType"` // This parameter is not used on the global website ChargePeriod *uint64 `json:"ChargePeriod,omitempty" name:"ChargePeriod"` // Node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> NodeType *string `json:"NodeType,omitempty" name:"NodeType"` // Number of nodes NodeNum *uint64 `json:"NodeNum,omitempty" name:"NodeNum"` // Number of CPU cores of the node CpuNum *uint64 `json:"CpuNum,omitempty" name:"CpuNum"` // Node memory size in GB MemSize *uint64 `json:"MemSize,omitempty" name:"MemSize"` // Node disk type DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // Node disk size in GB DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` // ES domain name EsDomain *string `json:"EsDomain,omitempty" name:"EsDomain"` // ES VIP EsVip *string `json:"EsVip,omitempty" name:"EsVip"` // ES port EsPort *uint64 `json:"EsPort,omitempty" name:"EsPort"` // Kibana access URL KibanaUrl *string `json:"KibanaUrl,omitempty" name:"KibanaUrl"` // ES version number EsVersion *string `json:"EsVersion,omitempty" name:"EsVersion"` // ES configuration item EsConfig *string `json:"EsConfig,omitempty" name:"EsConfig"` // Kibana access control configuration EsAcl *EsAcl `json:"EsAcl,omitempty" name:"EsAcl"` // Instance creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of the instance UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // This parameter is not used on the global website Deadline *string `json:"Deadline,omitempty" name:"Deadline"` // Instance type (instance type identifier, which can be only 1 or 2 currently) InstanceType *uint64 `json:"InstanceType,omitempty" name:"InstanceType"` // IK analyzer configuration IkConfig *EsDictionaryInfo `json:"IkConfig,omitempty" name:"IkConfig"` // Dedicated primary node configuration MasterNodeInfo *MasterNodeInfo `json:"MasterNodeInfo,omitempty" name:"MasterNodeInfo"` // Auto-backup to COS configuration CosBackup *CosBackup `json:"CosBackup,omitempty" name:"CosBackup"` // Whether to allow auto-backup to COS AllowCosBackup *bool `json:"AllowCosBackup,omitempty" name:"AllowCosBackup"` // List of tags owned by the instance TagList []*TagInfo `json:"TagList,omitempty" name:"TagList"` // License type <li>oss: Open Source Edition </li><li>basic: Basic Edition </li><li>platinum: Platinum Edition </li>Default value: Platinum LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // Whether it is a hot/warm cluster <li>true: yes </li><li>false: no</li> // Note: this field may return null, indicating that no valid values can be obtained. EnableHotWarmMode *bool `json:"EnableHotWarmMode,omitempty" name:"EnableHotWarmMode"` // Warm node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> // Note: This field may return `null`, indicating that no valid value was found. WarmNodeType *string `json:"WarmNodeType,omitempty" name:"WarmNodeType"` // Number of warm nodes // Note: This field may return `null`, indicating that no valid value was found. WarmNodeNum *uint64 `json:"WarmNodeNum,omitempty" name:"WarmNodeNum"` // Number of warm node CPU cores // Note: This field may return `null`, indicating that no valid value was found. WarmCpuNum *uint64 `json:"WarmCpuNum,omitempty" name:"WarmCpuNum"` // Warm node memory size (in GB) // Note: This field may return `null`, indicating that no valid value was found. WarmMemSize *uint64 `json:"WarmMemSize,omitempty" name:"WarmMemSize"` // Warm node disk type // Note: This field may return `null`, indicating that no valid value was found. WarmDiskType *string `json:"WarmDiskType,omitempty" name:"WarmDiskType"` // Warm node disk size (in GB) // Note: This field may return `null`, indicating that no valid value was found. WarmDiskSize *uint64 `json:"WarmDiskSize,omitempty" name:"WarmDiskSize"` // Cluster node information list // Note: This field may return null, indicating that no valid values can be obtained. NodeInfoList []*NodeInfo `json:"NodeInfoList,omitempty" name:"NodeInfoList"` // ES public IP address // Note: This field may return null, indicating that no valid values can be obtained. EsPublicUrl *string `json:"EsPublicUrl,omitempty" name:"EsPublicUrl"` // Multi-AZ network information // Note: This field may return null, indicating that no valid values can be obtained. MultiZoneInfo []*ZoneDetail `json:"MultiZoneInfo,omitempty" name:"MultiZoneInfo"` // Deployment mode <li>0: single-AZ </li><li>1: multi-AZ</li> // Note: This field may return null, indicating that no valid values can be obtained. DeployMode *uint64 `json:"DeployMode,omitempty" name:"DeployMode"` // ES public access status <li>OPEN: enabled </li><li>CLOSE: disabled // Note: This field may return null, indicating that no valid values can be obtained. PublicAccess *string `json:"PublicAccess,omitempty" name:"PublicAccess"` // ES public access control configuration EsPublicAcl *EsAcl `json:"EsPublicAcl,omitempty" name:"EsPublicAcl"` // Kibana private IP address // Note: This field may return null, indicating that no valid values can be obtained. KibanaPrivateUrl *string `json:"KibanaPrivateUrl,omitempty" name:"KibanaPrivateUrl"` // Kibana public access status <li>OPEN: enabled </li><li>CLOSE: disabled // Note: This field may return null, indicating that no valid values can be obtained. KibanaPublicAccess *string `json:"KibanaPublicAccess,omitempty" name:"KibanaPublicAccess"` // Kibana private access status <li>OPEN: enabled </li><li>CLOSE: disabled // Note: This field may return null, indicating that no valid values can be obtained. KibanaPrivateAccess *string `json:"KibanaPrivateAccess,omitempty" name:"KibanaPrivateAccess"` // Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li> // Note: This field may return null, indicating that no valid values can be obtained. SecurityType *uint64 `json:"SecurityType,omitempty" name:"SecurityType"` // Scenario template type. 0: not enabled; 1: general scenario; 2: log scenario; 3: search scenario // Note: this field may return null, indicating that no valid values can be obtained. SceneType *int64 `json:"SceneType,omitempty" name:"SceneType"` // Kibana configuration item. // Note: this field may return `null`, indicating that no valid values can be obtained. KibanaConfig *string `json:"KibanaConfig,omitempty" name:"KibanaConfig"` // Kibana node information // Note: this field may return `null`, indicating that no valid value can be obtained. KibanaNodeInfo *KibanaNodeInfo `json:"KibanaNodeInfo,omitempty" name:"KibanaNodeInfo"` // Visual node configuration // Note: this field may return `null`, indicating that no valid values can be obtained. WebNodeTypeInfo *WebNodeTypeInfo `json:"WebNodeTypeInfo,omitempty" name:"WebNodeTypeInfo"` // JDK type. Valid values: `oracle`, `kona` // Note: this field may return `null`, indicating that no valid values can be obtained. Jdk *string `json:"Jdk,omitempty" name:"Jdk"` // Cluster network communication protocol // Note: this field may return `null`, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Security group ID // Note: this field may return `null`, indicating that no valid values can be obtained. SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"` // Cold node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> // Note: This field may return `null`, indicating that no valid value was found. ColdNodeType *string `json:"ColdNodeType,omitempty" name:"ColdNodeType"` // Number of cold nodes // Note: This field may return `null`, indicating that no valid value was found. ColdNodeNum *uint64 `json:"ColdNodeNum,omitempty" name:"ColdNodeNum"` // Number of cold node CPU cores // Note: This field may return `null`, indicating that no valid value was found. ColdCpuNum *uint64 `json:"ColdCpuNum,omitempty" name:"ColdCpuNum"` // Cold node memory size (in GB) // Note: This field may return `null`, indicating that no valid value was found. ColdMemSize *uint64 `json:"ColdMemSize,omitempty" name:"ColdMemSize"` // Cold node disk type // Note: This field may return `null`, indicating that no valid value was found. ColdDiskType *string `json:"ColdDiskType,omitempty" name:"ColdDiskType"` // Cold node disk size (in GB) // Note: This field may return `null`, indicating that no valid value was found. ColdDiskSize *uint64 `json:"ColdDiskSize,omitempty" name:"ColdDiskSize"` // Frozen node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> // Note: This field may return `null`, indicating that no valid value was found. FrozenNodeType *string `json:"FrozenNodeType,omitempty" name:"FrozenNodeType"` // Number of frozen nodes // Note: This field may return `null`, indicating that no valid value was found. FrozenNodeNum *uint64 `json:"FrozenNodeNum,omitempty" name:"FrozenNodeNum"` // Number of frozen node CPU cores // Note: This field may return `null`, indicating that no valid value was found. FrozenCpuNum *uint64 `json:"FrozenCpuNum,omitempty" name:"FrozenCpuNum"` // Frozen node memory size (GB) // Note: This field may return `null`, indicating that no valid value was found. FrozenMemSize *uint64 `json:"FrozenMemSize,omitempty" name:"FrozenMemSize"` // Frozen node disk type // Note: This field may return `null`, indicating that no valid value was found. FrozenDiskType *string `json:"FrozenDiskType,omitempty" name:"FrozenDiskType"` // Frozen node disk size (in GB) // Note: This field may return `null`, indicating that no valid value was found. FrozenDiskSize *uint64 `json:"FrozenDiskSize,omitempty" name:"FrozenDiskSize"` // Cluster health status. `-1`: Unknown; `0`: Green; `1`: Yellow; `2`: Red // Note: This field may return `null`, indicating that no valid value was found. HealthStatus *int64 `json:"HealthStatus,omitempty" name:"HealthStatus"` // Private URL of the HTTPS cluster // Note: This field may return `null`, indicating that no valid value was found. EsPrivateUrl *string `json:"EsPrivateUrl,omitempty" name:"EsPrivateUrl"` // Private domain of the HTTPS cluster // Note: This field may return `null`, indicating that no valid value was found. EsPrivateDomain *string `json:"EsPrivateDomain,omitempty" name:"EsPrivateDomain"` // Configuration set info of the cluster. // Note: This field may return null, indicating that no valid values can be obtained. EsConfigSets []*EsConfigSetInfo `json:"EsConfigSets,omitempty" name:"EsConfigSets"` // The maintenance time slot of the cluster // Note: This field may return null, indicating that no valid values can be obtained. OperationDuration *OperationDuration `json:"OperationDuration,omitempty" name:"OperationDuration"` // Web node list // Note: This field may return null, indicating that no valid values can be obtained. OptionalWebServiceInfos []*OptionalWebServiceInfo `json:"OptionalWebServiceInfos,omitempty" name:"OptionalWebServiceInfos"` // Autonomous index option // Note: This field may return null, indicating that no valid values can be obtained. AutoIndexEnabled *bool `json:"AutoIndexEnabled,omitempty" name:"AutoIndexEnabled"` // Whether the storage-computing separation feature is enabled. // Note: This field may return null, indicating that no valid values can be obtained. EnableHybridStorage *bool `json:"EnableHybridStorage,omitempty" name:"EnableHybridStorage"` // The process progress // Note: This field may return null, indicating that no valid values can be obtained. ProcessPercent *float64 `json:"ProcessPercent,omitempty" name:"ProcessPercent"` // The alerting policy of Kibana over the public network. <li>`OPEN`: Enable the policy;</li><li>`CLOSE`: Disable the policy. // Note: This field may return null, indicating that no valid values can be obtained. KibanaAlteringPublicAccess *string `json:"KibanaAlteringPublicAccess,omitempty" name:"KibanaAlteringPublicAccess"` }
type InstanceLog ¶
type KibanaNodeInfo ¶
type KibanaNodeInfo struct { // Kibana node specification KibanaNodeType *string `json:"KibanaNodeType,omitempty" name:"KibanaNodeType"` // Number of Kibana nodes KibanaNodeNum *uint64 `json:"KibanaNodeNum,omitempty" name:"KibanaNodeNum"` // Number of Kibana node's CPUs KibanaNodeCpuNum *uint64 `json:"KibanaNodeCpuNum,omitempty" name:"KibanaNodeCpuNum"` // Kibana node's memory in GB KibanaNodeMemSize *uint64 `json:"KibanaNodeMemSize,omitempty" name:"KibanaNodeMemSize"` // Kibana node's disk type KibanaNodeDiskType *string `json:"KibanaNodeDiskType,omitempty" name:"KibanaNodeDiskType"` // Kibana node's disk size KibanaNodeDiskSize *uint64 `json:"KibanaNodeDiskSize,omitempty" name:"KibanaNodeDiskSize"` }
type KibanaView ¶
type KibanaView struct { // Kibana node IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Node disk size DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"` // Disk usage DiskUsage *float64 `json:"DiskUsage,omitempty" name:"DiskUsage"` // Node memory size MemSize *int64 `json:"MemSize,omitempty" name:"MemSize"` // Memory usage MemUsage *float64 `json:"MemUsage,omitempty" name:"MemUsage"` // Number of node CPUs CpuNum *int64 `json:"CpuNum,omitempty" name:"CpuNum"` // CPU usage CpuUsage *float64 `json:"CpuUsage,omitempty" name:"CpuUsage"` // Availability zone Zone *string `json:"Zone,omitempty" name:"Zone"` }
type LocalDiskInfo ¶
type LocalDiskInfo struct { // Local disk type <li>LOCAL_SATA: big data </li><li>NVME_SSD: high IO</li> LocalDiskType *string `json:"LocalDiskType,omitempty" name:"LocalDiskType"` // Size of a single local disk LocalDiskSize *uint64 `json:"LocalDiskSize,omitempty" name:"LocalDiskSize"` // Number of local disks LocalDiskCount *uint64 `json:"LocalDiskCount,omitempty" name:"LocalDiskCount"` }
type MasterNodeInfo ¶
type MasterNodeInfo struct { // Whether to enable the dedicated primary node EnableDedicatedMaster *bool `json:"EnableDedicatedMaster,omitempty" name:"EnableDedicatedMaster"` // Dedicated primary node specification <li>ES.S1.SMALL2: 1-core 2 GB</li><li>ES.S1.MEDIUM4: 2-core 4 GB</li><li>ES.S1.MEDIUM8: 2-core 8 GB</li><li>ES.S1.LARGE16: 4-core 16 GB</li><li>ES.S1.2XLARGE32: 8-core 32 GB</li><li>ES.S1.4XLARGE32: 16-core 32 GB</li><li>ES.S1.4XLARGE64: 16-core 64 GB</li> MasterNodeType *string `json:"MasterNodeType,omitempty" name:"MasterNodeType"` // Number of dedicated primary nodes MasterNodeNum *uint64 `json:"MasterNodeNum,omitempty" name:"MasterNodeNum"` // Number of CPU cores of the dedicated primary node MasterNodeCpuNum *uint64 `json:"MasterNodeCpuNum,omitempty" name:"MasterNodeCpuNum"` // Memory size of the dedicated primary node in GB MasterNodeMemSize *uint64 `json:"MasterNodeMemSize,omitempty" name:"MasterNodeMemSize"` // Disk size of the dedicated primary node in GB MasterNodeDiskSize *uint64 `json:"MasterNodeDiskSize,omitempty" name:"MasterNodeDiskSize"` // Disk type of the dedicated primary node MasterNodeDiskType *string `json:"MasterNodeDiskType,omitempty" name:"MasterNodeDiskType"` }
type NodeInfo ¶
type NodeInfo struct { // Number of nodes NodeNum *uint64 `json:"NodeNum,omitempty" name:"NodeNum"` // Node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> NodeType *string `json:"NodeType,omitempty" name:"NodeType"` // Node type<li>`hotData`: hot data node</li> // <li>`warmData`: warm data node</li> // <li>`dedicatedMaster`: dedicated master node</li> // Default value: `hotData` Type *string `json:"Type,omitempty" name:"Type"` // Node disk type <li>CLOUD_SSD: SSD cloud storage </li><li>CLOUD_PREMIUM: Premium cloud disk </li>Default value: CLOUD_SSD DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // Node disk size in GB DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` // Local disk information // Note: this field may return null, indicating that no valid values can be obtained. LocalDiskInfo *LocalDiskInfo `json:"LocalDiskInfo,omitempty" name:"LocalDiskInfo"` // Number of node disks DiskCount *uint64 `json:"DiskCount,omitempty" name:"DiskCount"` // Whether to encrypt node disk. 0: no (default); 1: yes. DiskEncrypt *uint64 `json:"DiskEncrypt,omitempty" name:"DiskEncrypt"` // CPU number // Note: This field may return null, indicating that no valid values can be obtained. CpuNum *uint64 `json:"CpuNum,omitempty" name:"CpuNum"` // Memory size in GB // Note: This field may return null, indicating that no valid values can be obtained. MemSize *int64 `json:"MemSize,omitempty" name:"MemSize"` // / // Note: This field may return null, indicating that no valid values can be obtained. DiskEnhance *int64 `json:"DiskEnhance,omitempty" name:"DiskEnhance"` }
type NodeView ¶
type NodeView struct { // Node ID NodeId *string `json:"NodeId,omitempty" name:"NodeId"` // Node IP NodeIp *string `json:"NodeIp,omitempty" name:"NodeIp"` // Whether the node is visible Visible *float64 `json:"Visible,omitempty" name:"Visible"` // Whether the node encounters circuit breaking Break *float64 `json:"Break,omitempty" name:"Break"` // Node disk size DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"` // Disk usage DiskUsage *float64 `json:"DiskUsage,omitempty" name:"DiskUsage"` // Node memory size (in GB) MemSize *int64 `json:"MemSize,omitempty" name:"MemSize"` // Memory usage MemUsage *float64 `json:"MemUsage,omitempty" name:"MemUsage"` // Number of node CPUs CpuNum *int64 `json:"CpuNum,omitempty" name:"CpuNum"` // CPU usage CpuUsage *float64 `json:"CpuUsage,omitempty" name:"CpuUsage"` // Availability zone Zone *string `json:"Zone,omitempty" name:"Zone"` // Node role NodeRole *string `json:"NodeRole,omitempty" name:"NodeRole"` // Node HTTP IP NodeHttpIp *string `json:"NodeHttpIp,omitempty" name:"NodeHttpIp"` // JVM memory usage JvmMemUsage *float64 `json:"JvmMemUsage,omitempty" name:"JvmMemUsage"` // Number of node shards ShardNum *int64 `json:"ShardNum,omitempty" name:"ShardNum"` // ID list of node disks DiskIds []*string `json:"DiskIds,omitempty" name:"DiskIds"` // Whether a hidden availability zone Hidden *bool `json:"Hidden,omitempty" name:"Hidden"` }
type Operation ¶
type Operation struct { // Unique operation ID Id *uint64 `json:"Id,omitempty" name:"Id"` // Operation start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Operation type Type *string `json:"Type,omitempty" name:"Type"` // Operation details Detail *OperationDetail `json:"Detail,omitempty" name:"Detail"` // Operation result Result *string `json:"Result,omitempty" name:"Result"` // Workflow task information Tasks []*TaskDetail `json:"Tasks,omitempty" name:"Tasks"` // Operation progress Progress *float64 `json:"Progress,omitempty" name:"Progress"` }
type OperationDetail ¶
type OperationDuration ¶
type OperationDuration struct { // Maintenance period, which can be one or more days from Monday to Sunday. Valid values: [0, 6]. // Note: This field may return null, indicating that no valid values can be obtained. Periods []*uint64 `json:"Periods,omitempty" name:"Periods"` // The maintenance start time TimeStart *string `json:"TimeStart,omitempty" name:"TimeStart"` // The maintenance end time TimeEnd *string `json:"TimeEnd,omitempty" name:"TimeEnd"` // The time zone expressed in UTC. TimeZone *string `json:"TimeZone,omitempty" name:"TimeZone"` }
type OperationDurationUpdated ¶
type OperationDurationUpdated struct { // Maintenance period, which can be one or more days from Monday to Sunday. Valid values: [0, 6]. Periods []*uint64 `json:"Periods,omitempty" name:"Periods"` // The maintenance start time TimeStart *string `json:"TimeStart,omitempty" name:"TimeStart"` // The maintenance end time TimeEnd *string `json:"TimeEnd,omitempty" name:"TimeEnd"` // The time zone expressed in UTC. TimeZone *string `json:"TimeZone,omitempty" name:"TimeZone"` // The array of ES cluster IDs MoreInstances []*string `json:"MoreInstances,omitempty" name:"MoreInstances"` }
type OptionalWebServiceInfo ¶
type OptionalWebServiceInfo struct { // Type // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // Status // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitempty" name:"Status"` // Public URL // Note: This field may return null, indicating that no valid values can be obtained. PublicUrl *string `json:"PublicUrl,omitempty" name:"PublicUrl"` // Private URL // Note: This field may return null, indicating that no valid values can be obtained. PrivateUrl *string `json:"PrivateUrl,omitempty" name:"PrivateUrl"` // Public network access // Note: This field may return null, indicating that no valid values can be obtained. PublicAccess *string `json:"PublicAccess,omitempty" name:"PublicAccess"` // Private network access // Note: This field may return null, indicating that no valid values can be obtained. PrivateAccess *string `json:"PrivateAccess,omitempty" name:"PrivateAccess"` // Version // Note: This field may return null, indicating that no valid values can be obtained. Version *string `json:"Version,omitempty" name:"Version"` }
type RestartInstanceRequest ¶
type RestartInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Whether to force restart <li>true: Yes </li><li>false: No </li>Default value: false ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` // Restart mode. `0`: rolling restart; `1`: full restart RestartMode *int64 `json:"RestartMode,omitempty" name:"RestartMode"` }
func NewRestartInstanceRequest ¶
func NewRestartInstanceRequest() (request *RestartInstanceRequest)
func (*RestartInstanceRequest) FromJsonString ¶
func (r *RestartInstanceRequest) 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 (*RestartInstanceRequest) ToJsonString ¶
func (r *RestartInstanceRequest) ToJsonString() string
type RestartInstanceRequestParams ¶
type RestartInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Whether to force restart <li>true: Yes </li><li>false: No </li>Default value: false ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` // Restart mode. `0`: rolling restart; `1`: full restart RestartMode *int64 `json:"RestartMode,omitempty" name:"RestartMode"` }
Predefined struct for user
type RestartInstanceResponse ¶
type RestartInstanceResponse struct { *tchttp.BaseResponse Response *RestartInstanceResponseParams `json:"Response"` }
func NewRestartInstanceResponse ¶
func NewRestartInstanceResponse() (response *RestartInstanceResponse)
func (*RestartInstanceResponse) FromJsonString ¶
func (r *RestartInstanceResponse) 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 (*RestartInstanceResponse) ToJsonString ¶
func (r *RestartInstanceResponse) ToJsonString() string
type RestartInstanceResponseParams ¶
type RestartInstanceResponseParams struct { // 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 RestartKibanaRequest ¶
type RestartKibanaRequest struct { *tchttp.BaseRequest // ES instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewRestartKibanaRequest ¶
func NewRestartKibanaRequest() (request *RestartKibanaRequest)
func (*RestartKibanaRequest) FromJsonString ¶
func (r *RestartKibanaRequest) 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 (*RestartKibanaRequest) ToJsonString ¶
func (r *RestartKibanaRequest) ToJsonString() string
type RestartKibanaRequestParams ¶
type RestartKibanaRequestParams struct { // ES instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type RestartKibanaResponse ¶
type RestartKibanaResponse struct { *tchttp.BaseResponse Response *RestartKibanaResponseParams `json:"Response"` }
func NewRestartKibanaResponse ¶
func NewRestartKibanaResponse() (response *RestartKibanaResponse)
func (*RestartKibanaResponse) FromJsonString ¶
func (r *RestartKibanaResponse) 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 (*RestartKibanaResponse) ToJsonString ¶
func (r *RestartKibanaResponse) ToJsonString() string
type RestartKibanaResponseParams ¶
type RestartKibanaResponseParams struct { // 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 RestartNodesRequest ¶
type RestartNodesRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Node name list NodeNames []*string `json:"NodeNames,omitempty" name:"NodeNames"` // Whether to force restart ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` // The restart mode. Valid values: `in-place` (default), `blue-green`. RestartMode *string `json:"RestartMode,omitempty" name:"RestartMode"` // The node status, applicable in the blue/green mode. The blue/green restart is risky if the node is offline. IsOffline *bool `json:"IsOffline,omitempty" name:"IsOffline"` }
func NewRestartNodesRequest ¶
func NewRestartNodesRequest() (request *RestartNodesRequest)
func (*RestartNodesRequest) FromJsonString ¶
func (r *RestartNodesRequest) 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 (*RestartNodesRequest) ToJsonString ¶
func (r *RestartNodesRequest) ToJsonString() string
type RestartNodesRequestParams ¶
type RestartNodesRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Node name list NodeNames []*string `json:"NodeNames,omitempty" name:"NodeNames"` // Whether to force restart ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` // The restart mode. Valid values: `in-place` (default), `blue-green`. RestartMode *string `json:"RestartMode,omitempty" name:"RestartMode"` // The node status, applicable in the blue/green mode. The blue/green restart is risky if the node is offline. IsOffline *bool `json:"IsOffline,omitempty" name:"IsOffline"` }
Predefined struct for user
type RestartNodesResponse ¶
type RestartNodesResponse struct { *tchttp.BaseResponse Response *RestartNodesResponseParams `json:"Response"` }
func NewRestartNodesResponse ¶
func NewRestartNodesResponse() (response *RestartNodesResponse)
func (*RestartNodesResponse) FromJsonString ¶
func (r *RestartNodesResponse) 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 (*RestartNodesResponse) ToJsonString ¶
func (r *RestartNodesResponse) ToJsonString() string
type RestartNodesResponseParams ¶
type RestartNodesResponseParams struct { // 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 SubTaskDetail ¶
type SubTaskDetail struct { // Subtask name Name *string `json:"Name,omitempty" name:"Name"` // Subtask result Result *bool `json:"Result,omitempty" name:"Result"` // Subtask error message ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // Subtask type Type *string `json:"Type,omitempty" name:"Type"` // Subtask status. 0: processing, 1: succeeded, -1: failed Status *int64 `json:"Status,omitempty" name:"Status"` // Name of the index for which the check for upgrade failed FailedIndices []*string `json:"FailedIndices,omitempty" name:"FailedIndices"` // Subtask end time FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` // Subtask level. 1: warning, 2: failed Level *int64 `json:"Level,omitempty" name:"Level"` }
type TaskDetail ¶
type TaskDetail struct { // Task name Name *string `json:"Name,omitempty" name:"Name"` // Task progress Progress *float64 `json:"Progress,omitempty" name:"Progress"` // Task completion time FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` // Subtask SubTasks []*SubTaskDetail `json:"SubTasks,omitempty" name:"SubTasks"` // The task time. // Note: This field may return null, indicating that no valid values can be obtained. ElapsedTime *int64 `json:"ElapsedTime,omitempty" name:"ElapsedTime"` }
type UpdateDictionariesRequest ¶
type UpdateDictionariesRequest struct { *tchttp.BaseRequest // ES instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // COS address of the main dictionary for the IK analyzer IkMainDicts []*string `json:"IkMainDicts,omitempty" name:"IkMainDicts"` // COS address of the stopword dictionary for the IK analyzer IkStopwords []*string `json:"IkStopwords,omitempty" name:"IkStopwords"` // COS address of the synonym dictionary Synonym []*string `json:"Synonym,omitempty" name:"Synonym"` // COS address of the QQ dictionary QQDict []*string `json:"QQDict,omitempty" name:"QQDict"` // `0` (default): Install, `1`: Delete UpdateType *int64 `json:"UpdateType,omitempty" name:"UpdateType"` // Whether to force restart the cluster. The default value is `false`. ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` }
func NewUpdateDictionariesRequest ¶
func NewUpdateDictionariesRequest() (request *UpdateDictionariesRequest)
func (*UpdateDictionariesRequest) FromJsonString ¶
func (r *UpdateDictionariesRequest) 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 (*UpdateDictionariesRequest) ToJsonString ¶
func (r *UpdateDictionariesRequest) ToJsonString() string
type UpdateDictionariesRequestParams ¶
type UpdateDictionariesRequestParams struct { // ES instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // COS address of the main dictionary for the IK analyzer IkMainDicts []*string `json:"IkMainDicts,omitempty" name:"IkMainDicts"` // COS address of the stopword dictionary for the IK analyzer IkStopwords []*string `json:"IkStopwords,omitempty" name:"IkStopwords"` // COS address of the synonym dictionary Synonym []*string `json:"Synonym,omitempty" name:"Synonym"` // COS address of the QQ dictionary QQDict []*string `json:"QQDict,omitempty" name:"QQDict"` // `0` (default): Install, `1`: Delete UpdateType *int64 `json:"UpdateType,omitempty" name:"UpdateType"` // Whether to force restart the cluster. The default value is `false`. ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` }
Predefined struct for user
type UpdateDictionariesResponse ¶
type UpdateDictionariesResponse struct { *tchttp.BaseResponse Response *UpdateDictionariesResponseParams `json:"Response"` }
func NewUpdateDictionariesResponse ¶
func NewUpdateDictionariesResponse() (response *UpdateDictionariesResponse)
func (*UpdateDictionariesResponse) FromJsonString ¶
func (r *UpdateDictionariesResponse) 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 (*UpdateDictionariesResponse) ToJsonString ¶
func (r *UpdateDictionariesResponse) ToJsonString() string
type UpdateDictionariesResponseParams ¶
type UpdateDictionariesResponseParams struct { // 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 UpdateIndexRequest ¶
type UpdateIndexRequest struct { *tchttp.BaseRequest // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type of the index to update. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Name of the index to update IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // JSON-formatted index metadata to update, such as `mappings` and `settings`. UpdateMetaJson *string `json:"UpdateMetaJson,omitempty" name:"UpdateMetaJson"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` // Whether to roll over the backup index RolloverBackingIndex *bool `json:"RolloverBackingIndex,omitempty" name:"RolloverBackingIndex"` }
func NewUpdateIndexRequest ¶
func NewUpdateIndexRequest() (request *UpdateIndexRequest)
func (*UpdateIndexRequest) FromJsonString ¶
func (r *UpdateIndexRequest) 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 (*UpdateIndexRequest) ToJsonString ¶
func (r *UpdateIndexRequest) ToJsonString() string
type UpdateIndexRequestParams ¶
type UpdateIndexRequestParams struct { // ES cluster ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Type of the index to update. `auto`: Automated; `normal`: General. IndexType *string `json:"IndexType,omitempty" name:"IndexType"` // Name of the index to update IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // JSON-formatted index metadata to update, such as `mappings` and `settings`. UpdateMetaJson *string `json:"UpdateMetaJson,omitempty" name:"UpdateMetaJson"` // Username for cluster access Username *string `json:"Username,omitempty" name:"Username"` // Password for cluster access Password *string `json:"Password,omitempty" name:"Password"` // Whether to roll over the backup index RolloverBackingIndex *bool `json:"RolloverBackingIndex,omitempty" name:"RolloverBackingIndex"` }
Predefined struct for user
type UpdateIndexResponse ¶
type UpdateIndexResponse struct { *tchttp.BaseResponse Response *UpdateIndexResponseParams `json:"Response"` }
func NewUpdateIndexResponse ¶
func NewUpdateIndexResponse() (response *UpdateIndexResponse)
func (*UpdateIndexResponse) FromJsonString ¶
func (r *UpdateIndexResponse) 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 (*UpdateIndexResponse) ToJsonString ¶
func (r *UpdateIndexResponse) ToJsonString() string
type UpdateIndexResponseParams ¶
type UpdateIndexResponseParams struct { // 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 UpdateInstanceRequest ¶
type UpdateInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_) InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // This parameter has been disused. Please use `NodeInfoList` // Number of nodes (2-50) NodeNum *uint64 `json:"NodeNum,omitempty" name:"NodeNum"` // ES configuration item (JSON string) EsConfig *string `json:"EsConfig,omitempty" name:"EsConfig"` // Password of the default user 'elastic', which must contain 8 to 16 characters, including at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] Password *string `json:"Password,omitempty" name:"Password"` // Access control list EsAcl *EsAcl `json:"EsAcl,omitempty" name:"EsAcl"` // This parameter has been disused. Please use `NodeInfoList` // Disk size in GB DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` // This parameter has been disused. Please use `NodeInfoList` // Node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> NodeType *string `json:"NodeType,omitempty" name:"NodeType"` // This parameter has been disused. Please use `NodeInfoList` // Number of dedicated primary nodes (only 3 and 5 are supported) MasterNodeNum *uint64 `json:"MasterNodeNum,omitempty" name:"MasterNodeNum"` // This parameter has been disused. Please use `NodeInfoList` // Dedicated primary node specification <li>ES.S1.SMALL2: 1-core 2 GB</li><li>ES.S1.MEDIUM4: 2-core 4 GB</li><li>ES.S1.MEDIUM8: 2-core 8 GB</li><li>ES.S1.LARGE16: 4-core 16 GB</li><li>ES.S1.2XLARGE32: 8-core 32 GB</li><li>ES.S1.4XLARGE32: 16-core 32 GB</li><li>ES.S1.4XLARGE64: 16-core 64 GB</li> MasterNodeType *string `json:"MasterNodeType,omitempty" name:"MasterNodeType"` // This parameter has been disused. Please use `NodeInfoList` // Dedicated primary node disk size in GB. This is 50 GB by default and currently cannot be customized MasterNodeDiskSize *uint64 `json:"MasterNodeDiskSize,omitempty" name:"MasterNodeDiskSize"` // Whether to force restart during configuration update <li>true: Yes </li><li>false: No </li>This needs to be set only for EsConfig. Default value: false ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` // Auto-backup to COS CosBackup *CosBackup `json:"CosBackup,omitempty" name:"CosBackup"` // Node information list. You can pass in only the nodes to be updated and their corresponding specification information. Supported operations include: <li>modifying the number of nodes in the same type </li><li>modifying the specification and disk size of nodes in the same type </li><li>adding a node type (you must also specify the node type, quantity, specification, disk, etc.) </li>The above operations can only be performed one at a time, and the disk type cannot be modified NodeInfoList []*NodeInfo `json:"NodeInfoList,omitempty" name:"NodeInfoList"` // Public network access status PublicAccess *string `json:"PublicAccess,omitempty" name:"PublicAccess"` // Public network ACL EsPublicAcl *EsPublicAcl `json:"EsPublicAcl,omitempty" name:"EsPublicAcl"` // Public network access status of Kibana KibanaPublicAccess *string `json:"KibanaPublicAccess,omitempty" name:"KibanaPublicAccess"` // Private network access status of Kibana KibanaPrivateAccess *string `json:"KibanaPrivateAccess,omitempty" name:"KibanaPrivateAccess"` // Enables or disables user authentication for ES Basic Edition v6.8 and above BasicSecurityType *int64 `json:"BasicSecurityType,omitempty" name:"BasicSecurityType"` // Kibana private port KibanaPrivatePort *uint64 `json:"KibanaPrivatePort,omitempty" name:"KibanaPrivatePort"` // 0: scaling in blue/green deployment mode without cluster restart (default); 1: scaling by unmounting disk with rolling cluster restart ScaleType *int64 `json:"ScaleType,omitempty" name:"ScaleType"` // Multi-AZ deployment MultiZoneInfo []*ZoneDetail `json:"MultiZoneInfo,omitempty" name:"MultiZoneInfo"` // Scenario template type. -1: not enabled; 1: general; 2: log; 3: search SceneType *int64 `json:"SceneType,omitempty" name:"SceneType"` // Kibana configuration item (JSON string) KibanaConfig *string `json:"KibanaConfig,omitempty" name:"KibanaConfig"` // Visual node configuration WebNodeTypeInfo *WebNodeTypeInfo `json:"WebNodeTypeInfo,omitempty" name:"WebNodeTypeInfo"` // Whether to switch to the new network architecture SwitchPrivateLink *string `json:"SwitchPrivateLink,omitempty" name:"SwitchPrivateLink"` // Whether to enable Cerebro EnableCerebro *bool `json:"EnableCerebro,omitempty" name:"EnableCerebro"` // Cerebro public network access status CerebroPublicAccess *string `json:"CerebroPublicAccess,omitempty" name:"CerebroPublicAccess"` // Cerebro private network access status CerebroPrivateAccess *string `json:"CerebroPrivateAccess,omitempty" name:"CerebroPrivateAccess"` // Added or modified configuration set information EsConfigSet *EsConfigSetInfo `json:"EsConfigSet,omitempty" name:"EsConfigSet"` // The maintenance time slot OperationDuration *OperationDurationUpdated `json:"OperationDuration,omitempty" name:"OperationDuration"` // Whether to enable the option for sending alerting messages over the public network. KibanaAlteringPublicAccess *string `json:"KibanaAlteringPublicAccess,omitempty" name:"KibanaAlteringPublicAccess"` }
func NewUpdateInstanceRequest ¶
func NewUpdateInstanceRequest() (request *UpdateInstanceRequest)
func (*UpdateInstanceRequest) FromJsonString ¶
func (r *UpdateInstanceRequest) 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 (*UpdateInstanceRequest) ToJsonString ¶
func (r *UpdateInstanceRequest) ToJsonString() string
type UpdateInstanceRequestParams ¶
type UpdateInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_) InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // This parameter has been disused. Please use `NodeInfoList` // Number of nodes (2-50) NodeNum *uint64 `json:"NodeNum,omitempty" name:"NodeNum"` // ES configuration item (JSON string) EsConfig *string `json:"EsConfig,omitempty" name:"EsConfig"` // Password of the default user 'elastic', which must contain 8 to 16 characters, including at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] Password *string `json:"Password,omitempty" name:"Password"` // Access control list EsAcl *EsAcl `json:"EsAcl,omitempty" name:"EsAcl"` // This parameter has been disused. Please use `NodeInfoList` // Disk size in GB DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"` // This parameter has been disused. Please use `NodeInfoList` // Node specification <li>ES.S1.SMALL2: 1-core 2 GB </li><li>ES.S1.MEDIUM4: 2-core 4 GB </li><li>ES.S1.MEDIUM8: 2-core 8 GB </li><li>ES.S1.LARGE16: 4-core 16 GB </li><li>ES.S1.2XLARGE32: 8-core 32 GB </li><li>ES.S1.4XLARGE32: 16-core 32 GB </li><li>ES.S1.4XLARGE64: 16-core 64 GB </li> NodeType *string `json:"NodeType,omitempty" name:"NodeType"` // This parameter has been disused. Please use `NodeInfoList` // Number of dedicated primary nodes (only 3 and 5 are supported) MasterNodeNum *uint64 `json:"MasterNodeNum,omitempty" name:"MasterNodeNum"` // This parameter has been disused. Please use `NodeInfoList` // Dedicated primary node specification <li>ES.S1.SMALL2: 1-core 2 GB</li><li>ES.S1.MEDIUM4: 2-core 4 GB</li><li>ES.S1.MEDIUM8: 2-core 8 GB</li><li>ES.S1.LARGE16: 4-core 16 GB</li><li>ES.S1.2XLARGE32: 8-core 32 GB</li><li>ES.S1.4XLARGE32: 16-core 32 GB</li><li>ES.S1.4XLARGE64: 16-core 64 GB</li> MasterNodeType *string `json:"MasterNodeType,omitempty" name:"MasterNodeType"` // This parameter has been disused. Please use `NodeInfoList` // Dedicated primary node disk size in GB. This is 50 GB by default and currently cannot be customized MasterNodeDiskSize *uint64 `json:"MasterNodeDiskSize,omitempty" name:"MasterNodeDiskSize"` // Whether to force restart during configuration update <li>true: Yes </li><li>false: No </li>This needs to be set only for EsConfig. Default value: false ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` // Auto-backup to COS CosBackup *CosBackup `json:"CosBackup,omitempty" name:"CosBackup"` // Node information list. You can pass in only the nodes to be updated and their corresponding specification information. Supported operations include: <li>modifying the number of nodes in the same type </li><li>modifying the specification and disk size of nodes in the same type </li><li>adding a node type (you must also specify the node type, quantity, specification, disk, etc.) </li>The above operations can only be performed one at a time, and the disk type cannot be modified NodeInfoList []*NodeInfo `json:"NodeInfoList,omitempty" name:"NodeInfoList"` // Public network access status PublicAccess *string `json:"PublicAccess,omitempty" name:"PublicAccess"` // Public network ACL EsPublicAcl *EsPublicAcl `json:"EsPublicAcl,omitempty" name:"EsPublicAcl"` // Public network access status of Kibana KibanaPublicAccess *string `json:"KibanaPublicAccess,omitempty" name:"KibanaPublicAccess"` // Private network access status of Kibana KibanaPrivateAccess *string `json:"KibanaPrivateAccess,omitempty" name:"KibanaPrivateAccess"` // Enables or disables user authentication for ES Basic Edition v6.8 and above BasicSecurityType *int64 `json:"BasicSecurityType,omitempty" name:"BasicSecurityType"` // Kibana private port KibanaPrivatePort *uint64 `json:"KibanaPrivatePort,omitempty" name:"KibanaPrivatePort"` // 0: scaling in blue/green deployment mode without cluster restart (default); 1: scaling by unmounting disk with rolling cluster restart ScaleType *int64 `json:"ScaleType,omitempty" name:"ScaleType"` // Multi-AZ deployment MultiZoneInfo []*ZoneDetail `json:"MultiZoneInfo,omitempty" name:"MultiZoneInfo"` // Scenario template type. -1: not enabled; 1: general; 2: log; 3: search SceneType *int64 `json:"SceneType,omitempty" name:"SceneType"` // Kibana configuration item (JSON string) KibanaConfig *string `json:"KibanaConfig,omitempty" name:"KibanaConfig"` // Visual node configuration WebNodeTypeInfo *WebNodeTypeInfo `json:"WebNodeTypeInfo,omitempty" name:"WebNodeTypeInfo"` // Whether to switch to the new network architecture SwitchPrivateLink *string `json:"SwitchPrivateLink,omitempty" name:"SwitchPrivateLink"` // Whether to enable Cerebro EnableCerebro *bool `json:"EnableCerebro,omitempty" name:"EnableCerebro"` // Cerebro public network access status CerebroPublicAccess *string `json:"CerebroPublicAccess,omitempty" name:"CerebroPublicAccess"` // Cerebro private network access status CerebroPrivateAccess *string `json:"CerebroPrivateAccess,omitempty" name:"CerebroPrivateAccess"` // Added or modified configuration set information EsConfigSet *EsConfigSetInfo `json:"EsConfigSet,omitempty" name:"EsConfigSet"` // The maintenance time slot OperationDuration *OperationDurationUpdated `json:"OperationDuration,omitempty" name:"OperationDuration"` // Whether to enable the option for sending alerting messages over the public network. KibanaAlteringPublicAccess *string `json:"KibanaAlteringPublicAccess,omitempty" name:"KibanaAlteringPublicAccess"` }
Predefined struct for user
type UpdateInstanceResponse ¶
type UpdateInstanceResponse struct { *tchttp.BaseResponse Response *UpdateInstanceResponseParams `json:"Response"` }
func NewUpdateInstanceResponse ¶
func NewUpdateInstanceResponse() (response *UpdateInstanceResponse)
func (*UpdateInstanceResponse) FromJsonString ¶
func (r *UpdateInstanceResponse) 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 (*UpdateInstanceResponse) ToJsonString ¶
func (r *UpdateInstanceResponse) ToJsonString() string
type UpdateInstanceResponseParams ¶
type UpdateInstanceResponseParams struct { // Order ID // Note: This field may return `null`, indicating that no valid value was found. DealName *string `json:"DealName,omitempty" name:"DealName"` // 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 UpdatePluginsRequest ¶
type UpdatePluginsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of names of the plugins to be installed InstallPluginList []*string `json:"InstallPluginList,omitempty" name:"InstallPluginList"` // List of names of the plugins to be uninstalled RemovePluginList []*string `json:"RemovePluginList,omitempty" name:"RemovePluginList"` // Whether to force restart the cluster. The default value is `false`. ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` // Whether to reinstall the cluster. The default value is `false`. ForceUpdate *bool `json:"ForceUpdate,omitempty" name:"ForceUpdate"` // 0: system plugin PluginType *uint64 `json:"PluginType,omitempty" name:"PluginType"` }
func NewUpdatePluginsRequest ¶
func NewUpdatePluginsRequest() (request *UpdatePluginsRequest)
func (*UpdatePluginsRequest) FromJsonString ¶
func (r *UpdatePluginsRequest) 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 (*UpdatePluginsRequest) ToJsonString ¶
func (r *UpdatePluginsRequest) ToJsonString() string
type UpdatePluginsRequestParams ¶
type UpdatePluginsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of names of the plugins to be installed InstallPluginList []*string `json:"InstallPluginList,omitempty" name:"InstallPluginList"` // List of names of the plugins to be uninstalled RemovePluginList []*string `json:"RemovePluginList,omitempty" name:"RemovePluginList"` // Whether to force restart the cluster. The default value is `false`. ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` // Whether to reinstall the cluster. The default value is `false`. ForceUpdate *bool `json:"ForceUpdate,omitempty" name:"ForceUpdate"` // 0: system plugin PluginType *uint64 `json:"PluginType,omitempty" name:"PluginType"` }
Predefined struct for user
type UpdatePluginsResponse ¶
type UpdatePluginsResponse struct { *tchttp.BaseResponse Response *UpdatePluginsResponseParams `json:"Response"` }
func NewUpdatePluginsResponse ¶
func NewUpdatePluginsResponse() (response *UpdatePluginsResponse)
func (*UpdatePluginsResponse) FromJsonString ¶
func (r *UpdatePluginsResponse) 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 (*UpdatePluginsResponse) ToJsonString ¶
func (r *UpdatePluginsResponse) ToJsonString() string
type UpdatePluginsResponseParams ¶
type UpdatePluginsResponseParams struct { // 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 UpdateRequestTargetNodeTypesRequest ¶
type UpdateRequestTargetNodeTypesRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // A list of node types used to receive requests. TargetNodeTypes []*string `json:"TargetNodeTypes,omitempty" name:"TargetNodeTypes"` }
func NewUpdateRequestTargetNodeTypesRequest ¶
func NewUpdateRequestTargetNodeTypesRequest() (request *UpdateRequestTargetNodeTypesRequest)
func (*UpdateRequestTargetNodeTypesRequest) FromJsonString ¶
func (r *UpdateRequestTargetNodeTypesRequest) 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 (*UpdateRequestTargetNodeTypesRequest) ToJsonString ¶
func (r *UpdateRequestTargetNodeTypesRequest) ToJsonString() string
type UpdateRequestTargetNodeTypesRequestParams ¶
type UpdateRequestTargetNodeTypesRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // A list of node types used to receive requests. TargetNodeTypes []*string `json:"TargetNodeTypes,omitempty" name:"TargetNodeTypes"` }
Predefined struct for user
type UpdateRequestTargetNodeTypesResponse ¶
type UpdateRequestTargetNodeTypesResponse struct { *tchttp.BaseResponse Response *UpdateRequestTargetNodeTypesResponseParams `json:"Response"` }
func NewUpdateRequestTargetNodeTypesResponse ¶
func NewUpdateRequestTargetNodeTypesResponse() (response *UpdateRequestTargetNodeTypesResponse)
func (*UpdateRequestTargetNodeTypesResponse) FromJsonString ¶
func (r *UpdateRequestTargetNodeTypesResponse) 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 (*UpdateRequestTargetNodeTypesResponse) ToJsonString ¶
func (r *UpdateRequestTargetNodeTypesResponse) ToJsonString() string
type UpdateRequestTargetNodeTypesResponseParams ¶
type UpdateRequestTargetNodeTypesResponseParams struct { // 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 UpgradeInstanceRequest ¶
type UpgradeInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Target ES version. Valid values: 6.4.3, 6.8.2, 7.5.1 EsVersion *string `json:"EsVersion,omitempty" name:"EsVersion"` // Whether to check for upgrade only. Default value: false CheckOnly *bool `json:"CheckOnly,omitempty" name:"CheckOnly"` // Target X-Pack edition: <li>OSS: Open-source Edition </li><li>basic: Basic Edition </li>Currently only used for v5.6.4 to v6.x upgrade. Default value: basic LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li> BasicSecurityType *uint64 `json:"BasicSecurityType,omitempty" name:"BasicSecurityType"` // Upgrade mode. <li>scale: blue/green deployment</li><li>restart: rolling restart</li>Default value: scale UpgradeMode *string `json:"UpgradeMode,omitempty" name:"UpgradeMode"` // Whether to back up the cluster before version upgrade (no backup by default) CosBackup *bool `json:"CosBackup,omitempty" name:"CosBackup"` // Whether to skip the check and perform a force restart in the rolling mode. Default value: `false`. SkipCheckForceRestart *bool `json:"SkipCheckForceRestart,omitempty" name:"SkipCheckForceRestart"` }
func NewUpgradeInstanceRequest ¶
func NewUpgradeInstanceRequest() (request *UpgradeInstanceRequest)
func (*UpgradeInstanceRequest) FromJsonString ¶
func (r *UpgradeInstanceRequest) 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 (*UpgradeInstanceRequest) ToJsonString ¶
func (r *UpgradeInstanceRequest) ToJsonString() string
type UpgradeInstanceRequestParams ¶
type UpgradeInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Target ES version. Valid values: 6.4.3, 6.8.2, 7.5.1 EsVersion *string `json:"EsVersion,omitempty" name:"EsVersion"` // Whether to check for upgrade only. Default value: false CheckOnly *bool `json:"CheckOnly,omitempty" name:"CheckOnly"` // Target X-Pack edition: <li>OSS: Open-source Edition </li><li>basic: Basic Edition </li>Currently only used for v5.6.4 to v6.x upgrade. Default value: basic LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li> BasicSecurityType *uint64 `json:"BasicSecurityType,omitempty" name:"BasicSecurityType"` // Upgrade mode. <li>scale: blue/green deployment</li><li>restart: rolling restart</li>Default value: scale UpgradeMode *string `json:"UpgradeMode,omitempty" name:"UpgradeMode"` // Whether to back up the cluster before version upgrade (no backup by default) CosBackup *bool `json:"CosBackup,omitempty" name:"CosBackup"` // Whether to skip the check and perform a force restart in the rolling mode. Default value: `false`. SkipCheckForceRestart *bool `json:"SkipCheckForceRestart,omitempty" name:"SkipCheckForceRestart"` }
Predefined struct for user
type UpgradeInstanceResponse ¶
type UpgradeInstanceResponse struct { *tchttp.BaseResponse Response *UpgradeInstanceResponseParams `json:"Response"` }
func NewUpgradeInstanceResponse ¶
func NewUpgradeInstanceResponse() (response *UpgradeInstanceResponse)
func (*UpgradeInstanceResponse) FromJsonString ¶
func (r *UpgradeInstanceResponse) 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 (*UpgradeInstanceResponse) ToJsonString ¶
func (r *UpgradeInstanceResponse) ToJsonString() string
type UpgradeInstanceResponseParams ¶
type UpgradeInstanceResponseParams struct { // 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 UpgradeLicenseRequest ¶
type UpgradeLicenseRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // License type <li>oss: Open Source Edition </li><li>basic: Basic Edition </li><li>platinum: Platinum Edition </li>Default value: Platinum LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // Whether to automatically use vouchers <li>0: No </li><li>1: Yes </li>Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // List of voucher IDs (only one voucher can be specified at a time currently) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li> BasicSecurityType *uint64 `json:"BasicSecurityType,omitempty" name:"BasicSecurityType"` // Whether to force restart <li>true: yes </li><li>false: no </li>Default value: false ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` }
func NewUpgradeLicenseRequest ¶
func NewUpgradeLicenseRequest() (request *UpgradeLicenseRequest)
func (*UpgradeLicenseRequest) FromJsonString ¶
func (r *UpgradeLicenseRequest) 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 (*UpgradeLicenseRequest) ToJsonString ¶
func (r *UpgradeLicenseRequest) ToJsonString() string
type UpgradeLicenseRequestParams ¶
type UpgradeLicenseRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // License type <li>oss: Open Source Edition </li><li>basic: Basic Edition </li><li>platinum: Platinum Edition </li>Default value: Platinum LicenseType *string `json:"LicenseType,omitempty" name:"LicenseType"` // Whether to automatically use vouchers <li>0: No </li><li>1: Yes </li>Default value: 0 AutoVoucher *int64 `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // List of voucher IDs (only one voucher can be specified at a time currently) VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds"` // Whether to enable X-Pack security authentication in Basic Edition 6.8 (and above) <li>1: disabled </li><li>2: enabled</li> BasicSecurityType *uint64 `json:"BasicSecurityType,omitempty" name:"BasicSecurityType"` // Whether to force restart <li>true: yes </li><li>false: no </li>Default value: false ForceRestart *bool `json:"ForceRestart,omitempty" name:"ForceRestart"` }
Predefined struct for user
type UpgradeLicenseResponse ¶
type UpgradeLicenseResponse struct { *tchttp.BaseResponse Response *UpgradeLicenseResponseParams `json:"Response"` }
func NewUpgradeLicenseResponse ¶
func NewUpgradeLicenseResponse() (response *UpgradeLicenseResponse)
func (*UpgradeLicenseResponse) FromJsonString ¶
func (r *UpgradeLicenseResponse) 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 (*UpgradeLicenseResponse) ToJsonString ¶
func (r *UpgradeLicenseResponse) ToJsonString() string
type UpgradeLicenseResponseParams ¶
type UpgradeLicenseResponseParams struct { // Order ID // Note: This field may return `null`, indicating that no valid value was found. DealName *string `json:"DealName,omitempty" name:"DealName"` // 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