Documentation
¶
Index ¶
- Constants
- type AccountFactoryItem
- type BaselineConfigItem
- type BaselineInfoItem
- type BaselineStepTaskInfo
- type BatchApplyAccountBaselinesRequest
- type BatchApplyAccountBaselinesRequestParams
- type BatchApplyAccountBaselinesResponse
- type BatchApplyAccountBaselinesResponseParams
- type Client
- func (c *Client) BatchApplyAccountBaselines(request *BatchApplyAccountBaselinesRequest) (response *BatchApplyAccountBaselinesResponse, err error)
- func (c *Client) BatchApplyAccountBaselinesWithContext(ctx context.Context, request *BatchApplyAccountBaselinesRequest) (response *BatchApplyAccountBaselinesResponse, err error)
- func (c *Client) GetAccountFactoryBaseline(request *GetAccountFactoryBaselineRequest) (response *GetAccountFactoryBaselineResponse, err error)
- func (c *Client) GetAccountFactoryBaselineWithContext(ctx context.Context, request *GetAccountFactoryBaselineRequest) (response *GetAccountFactoryBaselineResponse, err error)
- func (c *Client) ListAccountFactoryBaselineItems(request *ListAccountFactoryBaselineItemsRequest) (response *ListAccountFactoryBaselineItemsResponse, err error)
- func (c *Client) ListAccountFactoryBaselineItemsWithContext(ctx context.Context, request *ListAccountFactoryBaselineItemsRequest) (response *ListAccountFactoryBaselineItemsResponse, err error)
- func (c *Client) ListDeployStepTasks(request *ListDeployStepTasksRequest) (response *ListDeployStepTasksResponse, err error)
- func (c *Client) ListDeployStepTasksWithContext(ctx context.Context, request *ListDeployStepTasksRequest) (response *ListDeployStepTasksResponse, err error)
- func (c *Client) UpdateAccountFactoryBaseline(request *UpdateAccountFactoryBaselineRequest) (response *UpdateAccountFactoryBaselineResponse, err error)
- func (c *Client) UpdateAccountFactoryBaselineWithContext(ctx context.Context, request *UpdateAccountFactoryBaselineRequest) (response *UpdateAccountFactoryBaselineResponse, err error)
- type DependsOnItem
- type GetAccountFactoryBaselineRequest
- type GetAccountFactoryBaselineRequestParams
- type GetAccountFactoryBaselineResponse
- type GetAccountFactoryBaselineResponseParams
- type ListAccountFactoryBaselineItemsRequest
- type ListAccountFactoryBaselineItemsRequestParams
- type ListAccountFactoryBaselineItemsResponse
- type ListAccountFactoryBaselineItemsResponseParams
- type ListDeployStepTasksRequest
- type ListDeployStepTasksRequestParams
- type ListDeployStepTasksResponse
- type ListDeployStepTasksResponseParams
- type UpdateAccountFactoryBaselineRequest
- type UpdateAccountFactoryBaselineRequestParams
- type UpdateAccountFactoryBaselineResponse
- type UpdateAccountFactoryBaselineResponseParams
Constants ¶
const ( // Required baseline item in Account Factory is not configured. FAILEDOPERATION_AFREQUIREDITEMNOTSELECT = "FailedOperation.AFRequiredItemNotSelect" // Contact email is unverified. FAILEDOPERATION_ACCOUNTFACTORYCONTACTEMAILNOTVERIFY = "FailedOperation.AccountFactoryContactEmailNotVerify" // The contact person's mobile phone is unverified. FAILEDOPERATION_ACCOUNTFACTORYCONTACTPHONENOTVERIFY = "FailedOperation.AccountFactoryContactPhoneNotVerify" // Dependencies of the baseline item in account factory are not configured. FAILEDOPERATION_ACCOUNTFACTORYDEPENDONITEMNOTCONFIG = "FailedOperation.AccountFactoryDependOnItemNotConfig" // The number of accounts to which baselines are applied in Account Factory exceeds the limit. FAILEDOPERATION_ACCOUNTFACTORYMEMBERUINNUMEXCEED = "FailedOperation.AccountFactoryMemberUinNumExceed" // The user is deploying account baseline. It cannot be deployed repeatedly. FAILEDOPERATION_ACCOUNTFACTORYTASKISDEPLOYING = "FailedOperation.AccountFactoryTaskIsDeploying" // Control Center service is not enabled. FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" // Database operation exception. FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" // The feature item to depend on is not deployed. FAILEDOPERATION_DEPENDONITEMNOTDEPLOY = "FailedOperation.DependOnItemNotDeploy" // Remote call failed. FAILEDOPERATION_REMOTECALLERROR = "FailedOperation.RemoteCallError" // The number of preset tags for baseline items exceeds the maximum allowed number. INVALIDPARAMETER_ACCOUNTFACTORYTAGEXCEEDMAXNUM = "InvalidParameter.AccountFactoryTagExceedMaxNum" // Request parameter error. INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" // User baseline configuration data does not exist. RESOURCENOTFOUND_ACCOUNTFACTORYBASELINENOTEXIST = "ResourceNotFound.AccountFactoryBaselineNotExist" // The baseline item deployed by the user is not configured. RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTCONFIG = "ResourceNotFound.AccountFactoryItemNotConfig" // Account Factory baseline does not exist. RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTEXIST = "ResourceNotFound.AccountFactoryItemNotExist" )
const APIVersion = "2023-01-10"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountFactoryItem ¶
type AccountFactoryItem struct {
// Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
Identifier *string `json:"Identifier,omitnil,omitempty" name:"Identifier"`
// Baseline item name. specifies a unique name for the feature item. supports a combination of english letters, numbers, chinese characters, and symbols @, &, _, [, ], -. valid values: 1-25 chinese or english characters.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Baseline item english name. specifies a unique name for the baseline item. supports a combination of english letters, digits, spaces, and symbols @, &, _, [], -. valid values: 1-64 english characters.
NameEn *string `json:"NameEn,omitnil,omitempty" name:"NameEn"`
// Baseline item weight. the smaller the value, the higher the weight. value range equal to or greater than 0.
Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"`
// Specifies whether the baseline item is required (1: required; 0: optional).
Required *int64 `json:"Required,omitnil,omitempty" name:"Required"`
// Baseline item dependency. value range of N depends on the count of other baseline items it relies on.
DependsOn []*DependsOnItem `json:"DependsOn,omitnil,omitempty" name:"DependsOn"`
// Baseline description, with a length of 2 to 256 english or chinese characters. it is empty by default.
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// Baseline item english description, with a length of 2 to 1024 english characters. it is empty by default.
DescriptionEn *string `json:"DescriptionEn,omitnil,omitempty" name:"DescriptionEn"`
// Baseline classification. length: 2-32 english or chinese characters. values cannot be empty.
Classify *string `json:"Classify,omitnil,omitempty" name:"Classify"`
// Baseline english classification, with a length of 2-64 english characters. cannot be empty.
ClassifyEn *string `json:"ClassifyEn,omitnil,omitempty" name:"ClassifyEn"`
}
type BaselineConfigItem ¶
type BaselineConfigItem struct {
// Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
Identifier *string `json:"Identifier,omitnil,omitempty" name:"Identifier"`
// Account factory baseline item configuration. different baseline item configuration parameters.
Configuration *string `json:"Configuration,omitnil,omitempty" name:"Configuration"`
}
type BaselineInfoItem ¶
type BaselineInfoItem struct {
// Specifies the unique identifier for account factory baseline item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
Identifier *string `json:"Identifier,omitnil,omitempty" name:"Identifier"`
// Account factory baseline item configuration. different baseline item configuration parameters.
Configuration *string `json:"Configuration,omitnil,omitempty" name:"Configuration"`
// Specifies the number of accounts for baseline applications.
ApplyCount *int64 `json:"ApplyCount,omitnil,omitempty" name:"ApplyCount"`
}
type BaselineStepTaskInfo ¶
type BaselineStepTaskInfo struct {
// Specifies the unique Id of the task, which can only contain english letters and digits, and is a 16-character random string.
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
// Specifies the unique identifier for the baseline feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
Identifier *string `json:"Identifier,omitnil,omitempty" name:"Identifier"`
// Specifies the member account uin of the applied baseline item.
MemberUin *int64 `json:"MemberUin,omitnil,omitempty" name:"MemberUin"`
// Baseline item application status. Running means the baseline item is in application. Success means the baseline item application is successful. Failed means the baseline item application failure. Pending means the baseline item is Pending application. Skipped means the baseline item is Skipped.
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
// Error code
ErrCode *string `json:"ErrCode,omitnil,omitempty" name:"ErrCode"`
// Error message
ErrMessage *string `json:"ErrMessage,omitnil,omitempty" name:"ErrMessage"`
// Baseline item deployment output.
Output *string `json:"Output,omitnil,omitempty" name:"Output"`
// Creation time, represented in ISO8601 standard format as yyyy-MM-dd hh:MM:ss.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Specifies the last update time in ISO8601 standard representation with format yyyy-MM-dd hh:MM:ss.
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}
type BatchApplyAccountBaselinesRequest ¶
type BatchApplyAccountBaselinesRequest struct {
*tchttp.BaseRequest
// Member account UIN, which is also the UIN of the account to which the baseline is applied.
MemberUinList []*int64 `json:"MemberUinList,omitnil,omitempty" name:"MemberUinList"`
// List of baseline item configuration information.
BaselineConfigItems []*BaselineConfigItem `json:"BaselineConfigItems,omitnil,omitempty" name:"BaselineConfigItems"`
}
func NewBatchApplyAccountBaselinesRequest ¶
func NewBatchApplyAccountBaselinesRequest() (request *BatchApplyAccountBaselinesRequest)
func (*BatchApplyAccountBaselinesRequest) FromJsonString ¶
func (r *BatchApplyAccountBaselinesRequest) 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 (*BatchApplyAccountBaselinesRequest) ToJsonString ¶
func (r *BatchApplyAccountBaselinesRequest) ToJsonString() string
type BatchApplyAccountBaselinesRequestParams ¶
type BatchApplyAccountBaselinesRequestParams struct {
// Member account UIN, which is also the UIN of the account to which the baseline is applied.
MemberUinList []*int64 `json:"MemberUinList,omitnil,omitempty" name:"MemberUinList"`
// List of baseline item configuration information.
BaselineConfigItems []*BaselineConfigItem `json:"BaselineConfigItems,omitnil,omitempty" name:"BaselineConfigItems"`
}
Predefined struct for user
type BatchApplyAccountBaselinesResponse ¶
type BatchApplyAccountBaselinesResponse struct {
*tchttp.BaseResponse
Response *BatchApplyAccountBaselinesResponseParams `json:"Response"`
}
func NewBatchApplyAccountBaselinesResponse ¶
func NewBatchApplyAccountBaselinesResponse() (response *BatchApplyAccountBaselinesResponse)
func (*BatchApplyAccountBaselinesResponse) FromJsonString ¶
func (r *BatchApplyAccountBaselinesResponse) 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 (*BatchApplyAccountBaselinesResponse) ToJsonString ¶
func (r *BatchApplyAccountBaselinesResponse) ToJsonString() string
type BatchApplyAccountBaselinesResponseParams ¶
type BatchApplyAccountBaselinesResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BatchApplyAccountBaselines ¶
func (c *Client) BatchApplyAccountBaselines(request *BatchApplyAccountBaselinesRequest) (response *BatchApplyAccountBaselinesResponse, err error)
BatchApplyAccountBaselines This API is used to apply baselines to existing accounts in batches.
error code that may be returned:
FAILEDOPERATION_AFREQUIREDITEMNOTSELECT = "FailedOperation.AFRequiredItemNotSelect" FAILEDOPERATION_ACCOUNTFACTORYCONTACTEMAILNOTVERIFY = "FailedOperation.AccountFactoryContactEmailNotVerify" FAILEDOPERATION_ACCOUNTFACTORYCONTACTPHONENOTVERIFY = "FailedOperation.AccountFactoryContactPhoneNotVerify" FAILEDOPERATION_ACCOUNTFACTORYMEMBERUINNUMEXCEED = "FailedOperation.AccountFactoryMemberUinNumExceed" FAILEDOPERATION_ACCOUNTFACTORYTASKISDEPLOYING = "FailedOperation.AccountFactoryTaskIsDeploying" FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" FAILEDOPERATION_DEPENDONITEMNOTDEPLOY = "FailedOperation.DependOnItemNotDeploy" FAILEDOPERATION_REMOTECALLERROR = "FailedOperation.RemoteCallError" RESOURCENOTFOUND_ACCOUNTFACTORYBASELINENOTEXIST = "ResourceNotFound.AccountFactoryBaselineNotExist" RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTCONFIG = "ResourceNotFound.AccountFactoryItemNotConfig" RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTEXIST = "ResourceNotFound.AccountFactoryItemNotExist"
func (*Client) BatchApplyAccountBaselinesWithContext ¶
func (c *Client) BatchApplyAccountBaselinesWithContext(ctx context.Context, request *BatchApplyAccountBaselinesRequest) (response *BatchApplyAccountBaselinesResponse, err error)
BatchApplyAccountBaselines This API is used to apply baselines to existing accounts in batches.
error code that may be returned:
FAILEDOPERATION_AFREQUIREDITEMNOTSELECT = "FailedOperation.AFRequiredItemNotSelect" FAILEDOPERATION_ACCOUNTFACTORYCONTACTEMAILNOTVERIFY = "FailedOperation.AccountFactoryContactEmailNotVerify" FAILEDOPERATION_ACCOUNTFACTORYCONTACTPHONENOTVERIFY = "FailedOperation.AccountFactoryContactPhoneNotVerify" FAILEDOPERATION_ACCOUNTFACTORYMEMBERUINNUMEXCEED = "FailedOperation.AccountFactoryMemberUinNumExceed" FAILEDOPERATION_ACCOUNTFACTORYTASKISDEPLOYING = "FailedOperation.AccountFactoryTaskIsDeploying" FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" FAILEDOPERATION_DEPENDONITEMNOTDEPLOY = "FailedOperation.DependOnItemNotDeploy" FAILEDOPERATION_REMOTECALLERROR = "FailedOperation.RemoteCallError" RESOURCENOTFOUND_ACCOUNTFACTORYBASELINENOTEXIST = "ResourceNotFound.AccountFactoryBaselineNotExist" RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTCONFIG = "ResourceNotFound.AccountFactoryItemNotConfig" RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTEXIST = "ResourceNotFound.AccountFactoryItemNotExist"
func (*Client) GetAccountFactoryBaseline ¶
func (c *Client) GetAccountFactoryBaseline(request *GetAccountFactoryBaselineRequest) (response *GetAccountFactoryBaselineResponse, err error)
GetAccountFactoryBaseline This API is used to retrieve user baseline configuration data.
error code that may be returned:
FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" RESOURCENOTFOUND_ACCOUNTFACTORYBASELINENOTEXIST = "ResourceNotFound.AccountFactoryBaselineNotExist"
func (*Client) GetAccountFactoryBaselineWithContext ¶
func (c *Client) GetAccountFactoryBaselineWithContext(ctx context.Context, request *GetAccountFactoryBaselineRequest) (response *GetAccountFactoryBaselineResponse, err error)
GetAccountFactoryBaseline This API is used to retrieve user baseline configuration data.
error code that may be returned:
FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" RESOURCENOTFOUND_ACCOUNTFACTORYBASELINENOTEXIST = "ResourceNotFound.AccountFactoryBaselineNotExist"
func (*Client) ListAccountFactoryBaselineItems ¶
func (c *Client) ListAccountFactoryBaselineItems(request *ListAccountFactoryBaselineItemsRequest) (response *ListAccountFactoryBaselineItemsResponse, err error)
ListAccountFactoryBaselineItems This API is used to obtain account factory system baseline items.
error code that may be returned:
FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError"
func (*Client) ListAccountFactoryBaselineItemsWithContext ¶
func (c *Client) ListAccountFactoryBaselineItemsWithContext(ctx context.Context, request *ListAccountFactoryBaselineItemsRequest) (response *ListAccountFactoryBaselineItemsResponse, err error)
ListAccountFactoryBaselineItems This API is used to obtain account factory system baseline items.
error code that may be returned:
FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError"
func (*Client) ListDeployStepTasks ¶
func (c *Client) ListDeployStepTasks(request *ListDeployStepTasksRequest) (response *ListDeployStepTasksResponse, err error)
ListDeployStepTasks This API is used to retrieve the application history of a certain baseline item.
error code that may be returned:
FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTEXIST = "ResourceNotFound.AccountFactoryItemNotExist"
func (*Client) ListDeployStepTasksWithContext ¶
func (c *Client) ListDeployStepTasksWithContext(ctx context.Context, request *ListDeployStepTasksRequest) (response *ListDeployStepTasksResponse, err error)
ListDeployStepTasks This API is used to retrieve the application history of a certain baseline item.
error code that may be returned:
FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" RESOURCENOTFOUND_ACCOUNTFACTORYITEMNOTEXIST = "ResourceNotFound.AccountFactoryItemNotExist"
func (*Client) UpdateAccountFactoryBaseline ¶
func (c *Client) UpdateAccountFactoryBaseline(request *UpdateAccountFactoryBaselineRequest) (response *UpdateAccountFactoryBaselineResponse, err error)
UpdateAccountFactoryBaseline This API is used to update the current baseline item configuration of a user. The baseline configuration will be overwritten with the current configuration. When adding new baseline items, the newly-added baseline configuration needs to be added to the existing configuration. When deleting baseline items, the deleted baseline configuration needs to be removed from the existing configuration, then save the latest baseline configuration.
error code that may be returned:
FAILEDOPERATION_AFREQUIREDITEMNOTSELECT = "FailedOperation.AFRequiredItemNotSelect" FAILEDOPERATION_ACCOUNTFACTORYDEPENDONITEMNOTCONFIG = "FailedOperation.AccountFactoryDependOnItemNotConfig" FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" INVALIDPARAMETER_ACCOUNTFACTORYTAGEXCEEDMAXNUM = "InvalidParameter.AccountFactoryTagExceedMaxNum" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
func (*Client) UpdateAccountFactoryBaselineWithContext ¶
func (c *Client) UpdateAccountFactoryBaselineWithContext(ctx context.Context, request *UpdateAccountFactoryBaselineRequest) (response *UpdateAccountFactoryBaselineResponse, err error)
UpdateAccountFactoryBaseline This API is used to update the current baseline item configuration of a user. The baseline configuration will be overwritten with the current configuration. When adding new baseline items, the newly-added baseline configuration needs to be added to the existing configuration. When deleting baseline items, the deleted baseline configuration needs to be removed from the existing configuration, then save the latest baseline configuration.
error code that may be returned:
FAILEDOPERATION_AFREQUIREDITEMNOTSELECT = "FailedOperation.AFRequiredItemNotSelect" FAILEDOPERATION_ACCOUNTFACTORYDEPENDONITEMNOTCONFIG = "FailedOperation.AccountFactoryDependOnItemNotConfig" FAILEDOPERATION_CONTROLCENTERNOTOPEN = "FailedOperation.ControlCenterNotOpen" FAILEDOPERATION_DBOPERATIONERROR = "FailedOperation.DBOperationError" INVALIDPARAMETER_ACCOUNTFACTORYTAGEXCEEDMAXNUM = "InvalidParameter.AccountFactoryTagExceedMaxNum" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
type DependsOnItem ¶
type DependsOnItem struct {
// Dependency type. valid values: LandingZoneSetUp or AccountFactorySetUp. LandingZoneSetUp refers to the dependency of landingZone. AccountFactorySetUp refers to the dependency of account factory.
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// Specifies the unique identifier for the feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
Identifier *string `json:"Identifier,omitnil,omitempty" name:"Identifier"`
}
type GetAccountFactoryBaselineRequest ¶
type GetAccountFactoryBaselineRequest struct {
*tchttp.BaseRequest
}
func NewGetAccountFactoryBaselineRequest ¶
func NewGetAccountFactoryBaselineRequest() (request *GetAccountFactoryBaselineRequest)
func (*GetAccountFactoryBaselineRequest) FromJsonString ¶
func (r *GetAccountFactoryBaselineRequest) 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 (*GetAccountFactoryBaselineRequest) ToJsonString ¶
func (r *GetAccountFactoryBaselineRequest) ToJsonString() string
type GetAccountFactoryBaselineRequestParams ¶
type GetAccountFactoryBaselineRequestParams struct {
}
Predefined struct for user
type GetAccountFactoryBaselineResponse ¶
type GetAccountFactoryBaselineResponse struct {
*tchttp.BaseResponse
Response *GetAccountFactoryBaselineResponseParams `json:"Response"`
}
func NewGetAccountFactoryBaselineResponse ¶
func NewGetAccountFactoryBaselineResponse() (response *GetAccountFactoryBaselineResponse)
func (*GetAccountFactoryBaselineResponse) FromJsonString ¶
func (r *GetAccountFactoryBaselineResponse) 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 (*GetAccountFactoryBaselineResponse) ToJsonString ¶
func (r *GetAccountFactoryBaselineResponse) ToJsonString() string
type GetAccountFactoryBaselineResponseParams ¶
type GetAccountFactoryBaselineResponseParams struct {
// Specifies the uin of the main account to which the resource belongs.
OwnerUin *int64 `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`
// Specifies the baseline item name, which must be unique and can only contain a combination of english letters, digits, chinese characters, and symbols @, &_[]-, with a length of 1-25 chinese or english characters.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// List of baseline item configurations.
BaselineConfigItems []*BaselineInfoItem `json:"BaselineConfigItems,omitnil,omitempty" name:"BaselineConfigItems"`
// Creation time, represented in ISO8601 standard format as yyyy-MM-dd hh:MM:ss.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Specifies the last update time in ISO8601 standard representation with format yyyy-MM-dd hh:MM:ss.
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListAccountFactoryBaselineItemsRequest ¶
type ListAccountFactoryBaselineItemsRequest struct {
*tchttp.BaseRequest
// Maximum number of returned records. value ranges from 0 to 200.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Offset. valid values are equal to or greater than 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
func NewListAccountFactoryBaselineItemsRequest ¶
func NewListAccountFactoryBaselineItemsRequest() (request *ListAccountFactoryBaselineItemsRequest)
func (*ListAccountFactoryBaselineItemsRequest) FromJsonString ¶
func (r *ListAccountFactoryBaselineItemsRequest) 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 (*ListAccountFactoryBaselineItemsRequest) ToJsonString ¶
func (r *ListAccountFactoryBaselineItemsRequest) ToJsonString() string
type ListAccountFactoryBaselineItemsRequestParams ¶
type ListAccountFactoryBaselineItemsRequestParams struct {
// Maximum number of returned records. value ranges from 0 to 200.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Offset. valid values are equal to or greater than 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
Predefined struct for user
type ListAccountFactoryBaselineItemsResponse ¶
type ListAccountFactoryBaselineItemsResponse struct {
*tchttp.BaseResponse
Response *ListAccountFactoryBaselineItemsResponseParams `json:"Response"`
}
func NewListAccountFactoryBaselineItemsResponse ¶
func NewListAccountFactoryBaselineItemsResponse() (response *ListAccountFactoryBaselineItemsResponse)
func (*ListAccountFactoryBaselineItemsResponse) FromJsonString ¶
func (r *ListAccountFactoryBaselineItemsResponse) 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 (*ListAccountFactoryBaselineItemsResponse) ToJsonString ¶
func (r *ListAccountFactoryBaselineItemsResponse) ToJsonString() string
type ListAccountFactoryBaselineItemsResponseParams ¶
type ListAccountFactoryBaselineItemsResponseParams struct {
// Account factory baseline list.
BaselineItems []*AccountFactoryItem `json:"BaselineItems,omitnil,omitempty" name:"BaselineItems"`
// Total quantity.
Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ListDeployStepTasksRequest ¶
type ListDeployStepTasksRequest struct {
*tchttp.BaseRequest
// Specifies the unique identifier for the feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
Identifier *string `json:"Identifier,omitnil,omitempty" name:"Identifier"`
// Maximum number of returned records. value ranges from 0 to 200.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Offset. valid values are equal to or greater than 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
func NewListDeployStepTasksRequest ¶
func NewListDeployStepTasksRequest() (request *ListDeployStepTasksRequest)
func (*ListDeployStepTasksRequest) FromJsonString ¶
func (r *ListDeployStepTasksRequest) 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 (*ListDeployStepTasksRequest) ToJsonString ¶
func (r *ListDeployStepTasksRequest) ToJsonString() string
type ListDeployStepTasksRequestParams ¶
type ListDeployStepTasksRequestParams struct {
// Specifies the unique identifier for the feature item, can only contain english letters, digits, and @, ,._[]-:()()[]+=., with a length of 2-128 characters.
Identifier *string `json:"Identifier,omitnil,omitempty" name:"Identifier"`
// Maximum number of returned records. value ranges from 0 to 200.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Offset. valid values are equal to or greater than 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
Predefined struct for user
type ListDeployStepTasksResponse ¶
type ListDeployStepTasksResponse struct {
*tchttp.BaseResponse
Response *ListDeployStepTasksResponseParams `json:"Response"`
}
func NewListDeployStepTasksResponse ¶
func NewListDeployStepTasksResponse() (response *ListDeployStepTasksResponse)
func (*ListDeployStepTasksResponse) FromJsonString ¶
func (r *ListDeployStepTasksResponse) 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 (*ListDeployStepTasksResponse) ToJsonString ¶
func (r *ListDeployStepTasksResponse) ToJsonString() string
type ListDeployStepTasksResponseParams ¶
type ListDeployStepTasksResponseParams struct {
// Account factory baseline function application information list.
BaselineDeployStepTaskList []*BaselineStepTaskInfo `json:"BaselineDeployStepTaskList,omitnil,omitempty" name:"BaselineDeployStepTaskList"`
// Total quantity.
Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateAccountFactoryBaselineRequest ¶
type UpdateAccountFactoryBaselineRequest struct {
*tchttp.BaseRequest
// Specifies the baseline name, which must be unique and can only contain a combination of english letters, digits, chinese characters, and symbols @, &_[]-, with a length of 1-25 chinese or english characters.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Baseline configuration. overwrite update. can be accessed through controlcenter:GetAccountFactoryBaseline to query existing baseline configuration. can be accessed through controlcenter:ListAccountFactoryBaselineItems to query supported baseline list.
BaselineConfigItems []*BaselineConfigItem `json:"BaselineConfigItems,omitnil,omitempty" name:"BaselineConfigItems"`
}
func NewUpdateAccountFactoryBaselineRequest ¶
func NewUpdateAccountFactoryBaselineRequest() (request *UpdateAccountFactoryBaselineRequest)
func (*UpdateAccountFactoryBaselineRequest) FromJsonString ¶
func (r *UpdateAccountFactoryBaselineRequest) 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 (*UpdateAccountFactoryBaselineRequest) ToJsonString ¶
func (r *UpdateAccountFactoryBaselineRequest) ToJsonString() string
type UpdateAccountFactoryBaselineRequestParams ¶
type UpdateAccountFactoryBaselineRequestParams struct {
// Specifies the baseline name, which must be unique and can only contain a combination of english letters, digits, chinese characters, and symbols @, &_[]-, with a length of 1-25 chinese or english characters.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Baseline configuration. overwrite update. can be accessed through controlcenter:GetAccountFactoryBaseline to query existing baseline configuration. can be accessed through controlcenter:ListAccountFactoryBaselineItems to query supported baseline list.
BaselineConfigItems []*BaselineConfigItem `json:"BaselineConfigItems,omitnil,omitempty" name:"BaselineConfigItems"`
}
Predefined struct for user
type UpdateAccountFactoryBaselineResponse ¶
type UpdateAccountFactoryBaselineResponse struct {
*tchttp.BaseResponse
Response *UpdateAccountFactoryBaselineResponseParams `json:"Response"`
}
func NewUpdateAccountFactoryBaselineResponse ¶
func NewUpdateAccountFactoryBaselineResponse() (response *UpdateAccountFactoryBaselineResponse)
func (*UpdateAccountFactoryBaselineResponse) FromJsonString ¶
func (r *UpdateAccountFactoryBaselineResponse) 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 (*UpdateAccountFactoryBaselineResponse) ToJsonString ¶
func (r *UpdateAccountFactoryBaselineResponse) ToJsonString() string
type UpdateAccountFactoryBaselineResponseParams ¶
type UpdateAccountFactoryBaselineResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user