Documentation ¶
Index ¶
- Constants
- type CheckInstanceRequest
- type CheckInstanceRequestParams
- type CheckInstanceResponse
- type CheckInstanceResponseParams
- type Client
- func (c *Client) CheckInstance(request *CheckInstanceRequest) (response *CheckInstanceResponse, err error)
- func (c *Client) CheckInstanceWithContext(ctx context.Context, request *CheckInstanceRequest) (response *CheckInstanceResponse, err error)
- func (c *Client) CreateImmutableTagRules(request *CreateImmutableTagRulesRequest) (response *CreateImmutableTagRulesResponse, err error)
- func (c *Client) CreateImmutableTagRulesWithContext(ctx context.Context, request *CreateImmutableTagRulesRequest) (response *CreateImmutableTagRulesResponse, err error)
- func (c *Client) CreateInstanceToken(request *CreateInstanceTokenRequest) (response *CreateInstanceTokenResponse, err error)
- func (c *Client) CreateInstanceTokenWithContext(ctx context.Context, request *CreateInstanceTokenRequest) (response *CreateInstanceTokenResponse, err error)
- func (c *Client) CreateMultipleSecurityPolicy(request *CreateMultipleSecurityPolicyRequest) (response *CreateMultipleSecurityPolicyResponse, err error)
- func (c *Client) CreateMultipleSecurityPolicyWithContext(ctx context.Context, request *CreateMultipleSecurityPolicyRequest) (response *CreateMultipleSecurityPolicyResponse, err error)
- func (c *Client) CreateReplicationInstance(request *CreateReplicationInstanceRequest) (response *CreateReplicationInstanceResponse, err error)
- func (c *Client) CreateReplicationInstanceWithContext(ctx context.Context, request *CreateReplicationInstanceRequest) (response *CreateReplicationInstanceResponse, err error)
- func (c *Client) DeleteImmutableTagRules(request *DeleteImmutableTagRulesRequest) (response *DeleteImmutableTagRulesResponse, err error)
- func (c *Client) DeleteImmutableTagRulesWithContext(ctx context.Context, request *DeleteImmutableTagRulesRequest) (response *DeleteImmutableTagRulesResponse, err error)
- func (c *Client) DeleteMultipleSecurityPolicy(request *DeleteMultipleSecurityPolicyRequest) (response *DeleteMultipleSecurityPolicyResponse, err error)
- func (c *Client) DeleteMultipleSecurityPolicyWithContext(ctx context.Context, request *DeleteMultipleSecurityPolicyRequest) (response *DeleteMultipleSecurityPolicyResponse, err error)
- func (c *Client) DescribeImmutableTagRules(request *DescribeImmutableTagRulesRequest) (response *DescribeImmutableTagRulesResponse, err error)
- func (c *Client) DescribeImmutableTagRulesWithContext(ctx context.Context, request *DescribeImmutableTagRulesRequest) (response *DescribeImmutableTagRulesResponse, err error)
- func (c *Client) DescribeReplicationInstanceCreateTasks(request *DescribeReplicationInstanceCreateTasksRequest) (response *DescribeReplicationInstanceCreateTasksResponse, err error)
- func (c *Client) DescribeReplicationInstanceCreateTasksWithContext(ctx context.Context, request *DescribeReplicationInstanceCreateTasksRequest) (response *DescribeReplicationInstanceCreateTasksResponse, err error)
- func (c *Client) DescribeReplicationInstanceSyncStatus(request *DescribeReplicationInstanceSyncStatusRequest) (response *DescribeReplicationInstanceSyncStatusResponse, err error)
- func (c *Client) DescribeReplicationInstanceSyncStatusWithContext(ctx context.Context, request *DescribeReplicationInstanceSyncStatusRequest) (response *DescribeReplicationInstanceSyncStatusResponse, err error)
- func (c *Client) DescribeReplicationInstances(request *DescribeReplicationInstancesRequest) (response *DescribeReplicationInstancesResponse, err error)
- func (c *Client) DescribeReplicationInstancesWithContext(ctx context.Context, request *DescribeReplicationInstancesRequest) (response *DescribeReplicationInstancesResponse, err error)
- func (c *Client) ManageReplication(request *ManageReplicationRequest) (response *ManageReplicationResponse, err error)
- func (c *Client) ManageReplicationWithContext(ctx context.Context, request *ManageReplicationRequest) (response *ManageReplicationResponse, err error)
- func (c *Client) ModifyImmutableTagRules(request *ModifyImmutableTagRulesRequest) (response *ModifyImmutableTagRulesResponse, err error)
- func (c *Client) ModifyImmutableTagRulesWithContext(ctx context.Context, request *ModifyImmutableTagRulesRequest) (response *ModifyImmutableTagRulesResponse, err error)
- func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- type CreateImmutableTagRulesRequest
- type CreateImmutableTagRulesRequestParams
- type CreateImmutableTagRulesResponse
- type CreateImmutableTagRulesResponseParams
- type CreateInstanceTokenRequest
- type CreateInstanceTokenRequestParams
- type CreateInstanceTokenResponse
- type CreateInstanceTokenResponseParams
- type CreateMultipleSecurityPolicyRequest
- type CreateMultipleSecurityPolicyRequestParams
- type CreateMultipleSecurityPolicyResponse
- type CreateMultipleSecurityPolicyResponseParams
- type CreateReplicationInstanceRequest
- type CreateReplicationInstanceRequestParams
- type CreateReplicationInstanceResponse
- type CreateReplicationInstanceResponseParams
- type DeleteImmutableTagRulesRequest
- type DeleteImmutableTagRulesRequestParams
- type DeleteImmutableTagRulesResponse
- type DeleteImmutableTagRulesResponseParams
- type DeleteMultipleSecurityPolicyRequest
- type DeleteMultipleSecurityPolicyRequestParams
- type DeleteMultipleSecurityPolicyResponse
- type DeleteMultipleSecurityPolicyResponseParams
- type DescribeImmutableTagRulesRequest
- type DescribeImmutableTagRulesRequestParams
- type DescribeImmutableTagRulesResponse
- type DescribeImmutableTagRulesResponseParams
- type DescribeReplicationInstanceCreateTasksRequest
- type DescribeReplicationInstanceCreateTasksRequestParams
- type DescribeReplicationInstanceCreateTasksResponse
- type DescribeReplicationInstanceCreateTasksResponseParams
- type DescribeReplicationInstanceSyncStatusRequest
- type DescribeReplicationInstanceSyncStatusRequestParams
- type DescribeReplicationInstanceSyncStatusResponse
- type DescribeReplicationInstanceSyncStatusResponseParams
- type DescribeReplicationInstancesRequest
- type DescribeReplicationInstancesRequestParams
- type DescribeReplicationInstancesResponse
- type DescribeReplicationInstancesResponseParams
- type ImmutableTagRule
- type ManageReplicationRequest
- type ManageReplicationRequestParams
- type ManageReplicationResponse
- type ManageReplicationResponseParams
- type ModifyImmutableTagRulesRequest
- type ModifyImmutableTagRulesRequestParams
- type ModifyImmutableTagRulesResponse
- type ModifyImmutableTagRulesResponseParams
- type ModifyInstanceRequest
- type ModifyInstanceRequestParams
- type ModifyInstanceResponse
- type ModifyInstanceResponseParams
- type PeerReplicationOption
- type ReplicationFilter
- type ReplicationLog
- type ReplicationRegistry
- type ReplicationRule
- type SecurityPolicy
- type TaskDetail
Constants ¶
const ( // CAM signature/authentication error AUTHFAILURE = "AuthFailure" // Operation failed FAILEDOPERATION = "FailedOperation" // Internal error. Please check and try again. INTERNALERROR = "InternalError" // Database error. Please check and try again. INTERNALERROR_DBERROR = "InternalError.DbError" // Target conflicts. INTERNALERROR_ERRCONFLICT = "InternalError.ErrConflict" // The target does not exist. INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" // The resource already exists. INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" // The resource quota is exceeded. INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" // Internal error with the TCR instance. INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" // Invalid request header INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" // TCR instance resource conflict. INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" // No permission for TCR operation. INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" // Unknown error. INTERNALERROR_UNKNOWN = "InternalError.Unknown" // Parameter error. Please check and try again. INVALIDPARAMETER = "InvalidParameter" // The instance name already exists. INVALIDPARAMETER_ERRORNAMEEXISTS = "InvalidParameter.ErrorNameExists" // Invalid instance name. Its format is incorrect or it has been reserved. INVALIDPARAMETER_ERRORREGISTRYNAME = "InvalidParameter.ErrorRegistryName" // The instance can bind up to 10 Tencent Cloud tags. INVALIDPARAMETER_ERRORTAGOVERLIMIT = "InvalidParameter.ErrorTagOverLimit" // Invalid TCR request. INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" // Creating instance is not supported in this region. INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" // Missing parameters. Please check and try again. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // Exceptional instance status. RESOURCEINSUFFICIENT_ERRORINSTANCENOTRUNNING = "ResourceInsufficient.ErrorInstanceNotRunning" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource of the TCR instance was not found. RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" // The operation is unauthorized. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter error. Please check and try again. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2019-09-24"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckInstanceRequest ¶
type CheckInstanceRequest struct { *tchttp.BaseRequest // ID of the instance to be verified. RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` }
func NewCheckInstanceRequest ¶
func NewCheckInstanceRequest() (request *CheckInstanceRequest)
func (*CheckInstanceRequest) FromJsonString ¶
func (r *CheckInstanceRequest) 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 (*CheckInstanceRequest) ToJsonString ¶
func (r *CheckInstanceRequest) ToJsonString() string
type CheckInstanceRequestParams ¶
type CheckInstanceRequestParams struct { // ID of the instance to be verified. RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` }
Predefined struct for user
type CheckInstanceResponse ¶
type CheckInstanceResponse struct { *tchttp.BaseResponse Response *CheckInstanceResponseParams `json:"Response"` }
func NewCheckInstanceResponse ¶
func NewCheckInstanceResponse() (response *CheckInstanceResponse)
func (*CheckInstanceResponse) FromJsonString ¶
func (r *CheckInstanceResponse) 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 (*CheckInstanceResponse) ToJsonString ¶
func (r *CheckInstanceResponse) ToJsonString() string
type CheckInstanceResponseParams ¶
type CheckInstanceResponseParams struct { // Verification result. true: valid, false: invalid IsValidated *bool `json:"IsValidated,omitempty" name:"IsValidated"` // ID of the region where the instance is located. RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"` // 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 Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CheckInstance ¶
func (c *Client) CheckInstance(request *CheckInstanceRequest) (response *CheckInstanceResponse, err error)
CheckInstance This API is used to verify the information of the Enterprise Edition instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRCONFLICT = "InternalError.ErrConflict" INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORNAMEEXISTS = "InvalidParameter.ErrorNameExists" INVALIDPARAMETER_ERRORREGISTRYNAME = "InvalidParameter.ErrorRegistryName" INVALIDPARAMETER_ERRORTAGOVERLIMIT = "InvalidParameter.ErrorTagOverLimit" INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CheckInstanceWithContext ¶
func (c *Client) CheckInstanceWithContext(ctx context.Context, request *CheckInstanceRequest) (response *CheckInstanceResponse, err error)
CheckInstance This API is used to verify the information of the Enterprise Edition instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRCONFLICT = "InternalError.ErrConflict" INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORNAMEEXISTS = "InvalidParameter.ErrorNameExists" INVALIDPARAMETER_ERRORREGISTRYNAME = "InvalidParameter.ErrorRegistryName" INVALIDPARAMETER_ERRORTAGOVERLIMIT = "InvalidParameter.ErrorTagOverLimit" INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateImmutableTagRules ¶
func (c *Client) CreateImmutableTagRules(request *CreateImmutableTagRulesRequest) (response *CreateImmutableTagRulesResponse, err error)
CreateImmutableTagRules This API is used to create the tag immutability rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter"
func (*Client) CreateImmutableTagRulesWithContext ¶
func (c *Client) CreateImmutableTagRulesWithContext(ctx context.Context, request *CreateImmutableTagRulesRequest) (response *CreateImmutableTagRulesResponse, err error)
CreateImmutableTagRules This API is used to create the tag immutability rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter"
func (*Client) CreateInstanceToken ¶
func (c *Client) CreateInstanceToken(request *CreateInstanceTokenRequest) (response *CreateInstanceTokenResponse, err error)
CreateInstanceToken This API is used to create a temporary or long-term instance access credential.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateInstanceTokenWithContext ¶
func (c *Client) CreateInstanceTokenWithContext(ctx context.Context, request *CreateInstanceTokenRequest) (response *CreateInstanceTokenResponse, err error)
CreateInstanceToken This API is used to create a temporary or long-term instance access credential.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateMultipleSecurityPolicy ¶
func (c *Client) CreateMultipleSecurityPolicy(request *CreateMultipleSecurityPolicyRequest) (response *CreateMultipleSecurityPolicyResponse, err error)
CreateMultipleSecurityPolicy This API is used to create multiple public network access allowlist policies of the TCR instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateMultipleSecurityPolicyWithContext ¶
func (c *Client) CreateMultipleSecurityPolicyWithContext(ctx context.Context, request *CreateMultipleSecurityPolicyRequest) (response *CreateMultipleSecurityPolicyResponse, err error)
CreateMultipleSecurityPolicy This API is used to create multiple public network access allowlist policies of the TCR instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateReplicationInstance ¶
func (c *Client) CreateReplicationInstance(request *CreateReplicationInstanceRequest) (response *CreateReplicationInstanceResponse, err error)
CreateReplicationInstance This API is used to create a replication instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRCONFLICT = "InternalError.ErrConflict" INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateReplicationInstanceWithContext ¶
func (c *Client) CreateReplicationInstanceWithContext(ctx context.Context, request *CreateReplicationInstanceRequest) (response *CreateReplicationInstanceResponse, err error)
CreateReplicationInstance This API is used to create a replication instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRCONFLICT = "InternalError.ErrConflict" INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteImmutableTagRules ¶
func (c *Client) DeleteImmutableTagRules(request *DeleteImmutableTagRulesRequest) (response *DeleteImmutableTagRulesResponse, err error)
DeleteImmutableTagRules
This API is used to delete the tag immutability rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteImmutableTagRulesWithContext ¶
func (c *Client) DeleteImmutableTagRulesWithContext(ctx context.Context, request *DeleteImmutableTagRulesRequest) (response *DeleteImmutableTagRulesResponse, err error)
DeleteImmutableTagRules
This API is used to delete the tag immutability rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteMultipleSecurityPolicy ¶
func (c *Client) DeleteMultipleSecurityPolicy(request *DeleteMultipleSecurityPolicyRequest) (response *DeleteMultipleSecurityPolicyResponse, err error)
DeleteMultipleSecurityPolicy This API is used to delete multiple public network access allowlist policies of the instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteMultipleSecurityPolicyWithContext ¶
func (c *Client) DeleteMultipleSecurityPolicyWithContext(ctx context.Context, request *DeleteMultipleSecurityPolicyRequest) (response *DeleteMultipleSecurityPolicyResponse, err error)
DeleteMultipleSecurityPolicy This API is used to delete multiple public network access allowlist policies of the instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeImmutableTagRules ¶
func (c *Client) DescribeImmutableTagRules(request *DescribeImmutableTagRulesRequest) (response *DescribeImmutableTagRulesResponse, err error)
DescribeImmutableTagRules This API is used to list the tag immutability rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DescribeImmutableTagRulesWithContext ¶
func (c *Client) DescribeImmutableTagRulesWithContext(ctx context.Context, request *DescribeImmutableTagRulesRequest) (response *DescribeImmutableTagRulesResponse, err error)
DescribeImmutableTagRules This API is used to list the tag immutability rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DescribeReplicationInstanceCreateTasks ¶
func (c *Client) DescribeReplicationInstanceCreateTasks(request *DescribeReplicationInstanceCreateTasksRequest) (response *DescribeReplicationInstanceCreateTasksResponse, err error)
DescribeReplicationInstanceCreateTasks This API is used to query the task status of creating a replication instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeReplicationInstanceCreateTasksWithContext ¶
func (c *Client) DescribeReplicationInstanceCreateTasksWithContext(ctx context.Context, request *DescribeReplicationInstanceCreateTasksRequest) (response *DescribeReplicationInstanceCreateTasksResponse, err error)
DescribeReplicationInstanceCreateTasks This API is used to query the task status of creating a replication instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeReplicationInstanceSyncStatus ¶
func (c *Client) DescribeReplicationInstanceSyncStatus(request *DescribeReplicationInstanceSyncStatusRequest) (response *DescribeReplicationInstanceSyncStatusResponse, err error)
DescribeReplicationInstanceSyncStatus This API is used to query the synchronization status of a replication instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeReplicationInstanceSyncStatusWithContext ¶
func (c *Client) DescribeReplicationInstanceSyncStatusWithContext(ctx context.Context, request *DescribeReplicationInstanceSyncStatusRequest) (response *DescribeReplicationInstanceSyncStatusResponse, err error)
DescribeReplicationInstanceSyncStatus This API is used to query the synchronization status of a replication instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeReplicationInstances ¶
func (c *Client) DescribeReplicationInstances(request *DescribeReplicationInstancesRequest) (response *DescribeReplicationInstancesResponse, err error)
DescribeReplicationInstances This API is used to query the list of replication instances.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT_ERRORINSTANCENOTRUNNING = "ResourceInsufficient.ErrorInstanceNotRunning" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeReplicationInstancesWithContext ¶
func (c *Client) DescribeReplicationInstancesWithContext(ctx context.Context, request *DescribeReplicationInstancesRequest) (response *DescribeReplicationInstancesResponse, err error)
DescribeReplicationInstances This API is used to query the list of replication instances.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT_ERRORINSTANCENOTRUNNING = "ResourceInsufficient.ErrorInstanceNotRunning" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ManageReplication ¶
func (c *Client) ManageReplication(request *ManageReplicationRequest) (response *ManageReplicationResponse, err error)
ManageReplication This API is used to manage the instance synchronization rule.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ManageReplicationWithContext ¶
func (c *Client) ManageReplicationWithContext(ctx context.Context, request *ManageReplicationRequest) (response *ManageReplicationResponse, err error)
ManageReplication This API is used to manage the instance synchronization rule.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyImmutableTagRules ¶
func (c *Client) ModifyImmutableTagRules(request *ModifyImmutableTagRulesRequest) (response *ModifyImmutableTagRulesResponse, err error)
ModifyImmutableTagRules This API is used to update the tag immutability rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter"
func (*Client) ModifyImmutableTagRulesWithContext ¶
func (c *Client) ModifyImmutableTagRulesWithContext(ctx context.Context, request *ModifyImmutableTagRulesRequest) (response *ModifyImmutableTagRulesResponse, err error)
ModifyImmutableTagRules This API is used to update the tag immutability rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter"
func (*Client) ModifyInstance ¶
func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
ModifyInstance This API is used to update instance information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyInstanceWithContext ¶
func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
ModifyInstance This API is used to update instance information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type CreateImmutableTagRulesRequest ¶
type CreateImmutableTagRulesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"` // Rule Rule *ImmutableTagRule `json:"Rule,omitempty" name:"Rule"` }
func NewCreateImmutableTagRulesRequest ¶
func NewCreateImmutableTagRulesRequest() (request *CreateImmutableTagRulesRequest)
func (*CreateImmutableTagRulesRequest) FromJsonString ¶
func (r *CreateImmutableTagRulesRequest) 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 (*CreateImmutableTagRulesRequest) ToJsonString ¶
func (r *CreateImmutableTagRulesRequest) ToJsonString() string
type CreateImmutableTagRulesRequestParams ¶
type CreateImmutableTagRulesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"` // Rule Rule *ImmutableTagRule `json:"Rule,omitempty" name:"Rule"` }
Predefined struct for user
type CreateImmutableTagRulesResponse ¶
type CreateImmutableTagRulesResponse struct { *tchttp.BaseResponse Response *CreateImmutableTagRulesResponseParams `json:"Response"` }
func NewCreateImmutableTagRulesResponse ¶
func NewCreateImmutableTagRulesResponse() (response *CreateImmutableTagRulesResponse)
func (*CreateImmutableTagRulesResponse) FromJsonString ¶
func (r *CreateImmutableTagRulesResponse) 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 (*CreateImmutableTagRulesResponse) ToJsonString ¶
func (r *CreateImmutableTagRulesResponse) ToJsonString() string
type CreateImmutableTagRulesResponseParams ¶
type CreateImmutableTagRulesResponseParams 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 CreateInstanceTokenRequest ¶
type CreateInstanceTokenRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Access credential type. Values: `longterm` and `temp` (default, valid for one hour) TokenType *string `json:"TokenType,omitempty" name:"TokenType"` // Description of the long-term access credential Desc *string `json:"Desc,omitempty" name:"Desc"` }
func NewCreateInstanceTokenRequest ¶
func NewCreateInstanceTokenRequest() (request *CreateInstanceTokenRequest)
func (*CreateInstanceTokenRequest) FromJsonString ¶
func (r *CreateInstanceTokenRequest) 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 (*CreateInstanceTokenRequest) ToJsonString ¶
func (r *CreateInstanceTokenRequest) ToJsonString() string
type CreateInstanceTokenRequestParams ¶
type CreateInstanceTokenRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Access credential type. Values: `longterm` and `temp` (default, valid for one hour) TokenType *string `json:"TokenType,omitempty" name:"TokenType"` // Description of the long-term access credential Desc *string `json:"Desc,omitempty" name:"Desc"` }
Predefined struct for user
type CreateInstanceTokenResponse ¶
type CreateInstanceTokenResponse struct { *tchttp.BaseResponse Response *CreateInstanceTokenResponseParams `json:"Response"` }
func NewCreateInstanceTokenResponse ¶
func NewCreateInstanceTokenResponse() (response *CreateInstanceTokenResponse)
func (*CreateInstanceTokenResponse) FromJsonString ¶
func (r *CreateInstanceTokenResponse) 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 (*CreateInstanceTokenResponse) ToJsonString ¶
func (r *CreateInstanceTokenResponse) ToJsonString() string
type CreateInstanceTokenResponseParams ¶
type CreateInstanceTokenResponseParams struct { // Username // Note: this field may return `null`, indicating that no valid value can be found. Username *string `json:"Username,omitempty" name:"Username"` // Access credential Token *string `json:"Token,omitempty" name:"Token"` // Expiration timestamp of access credential. It is a string of numbers without unit. ExpTime *int64 `json:"ExpTime,omitempty" name:"ExpTime"` // Token ID of long-term access credential. It is not available to temporary access credential. // Note: this field may return `null`, indicating that no valid value can be found. TokenId *string `json:"TokenId,omitempty" name:"TokenId"` // 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 CreateMultipleSecurityPolicyRequest ¶
type CreateMultipleSecurityPolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Security group policy SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewCreateMultipleSecurityPolicyRequest ¶
func NewCreateMultipleSecurityPolicyRequest() (request *CreateMultipleSecurityPolicyRequest)
func (*CreateMultipleSecurityPolicyRequest) FromJsonString ¶
func (r *CreateMultipleSecurityPolicyRequest) 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 (*CreateMultipleSecurityPolicyRequest) ToJsonString ¶
func (r *CreateMultipleSecurityPolicyRequest) ToJsonString() string
type CreateMultipleSecurityPolicyRequestParams ¶
type CreateMultipleSecurityPolicyRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Security group policy SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
Predefined struct for user
type CreateMultipleSecurityPolicyResponse ¶
type CreateMultipleSecurityPolicyResponse struct { *tchttp.BaseResponse Response *CreateMultipleSecurityPolicyResponseParams `json:"Response"` }
func NewCreateMultipleSecurityPolicyResponse ¶
func NewCreateMultipleSecurityPolicyResponse() (response *CreateMultipleSecurityPolicyResponse)
func (*CreateMultipleSecurityPolicyResponse) FromJsonString ¶
func (r *CreateMultipleSecurityPolicyResponse) 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 (*CreateMultipleSecurityPolicyResponse) ToJsonString ¶
func (r *CreateMultipleSecurityPolicyResponse) ToJsonString() string
type CreateMultipleSecurityPolicyResponseParams ¶
type CreateMultipleSecurityPolicyResponseParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // 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 CreateReplicationInstanceRequest ¶
type CreateReplicationInstanceRequest struct { *tchttp.BaseRequest // Master instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"` // Region name of the replication instance ReplicationRegionName *string `json:"ReplicationRegionName,omitempty" name:"ReplicationRegionName"` }
func NewCreateReplicationInstanceRequest ¶
func NewCreateReplicationInstanceRequest() (request *CreateReplicationInstanceRequest)
func (*CreateReplicationInstanceRequest) FromJsonString ¶
func (r *CreateReplicationInstanceRequest) 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 (*CreateReplicationInstanceRequest) ToJsonString ¶
func (r *CreateReplicationInstanceRequest) ToJsonString() string
type CreateReplicationInstanceRequestParams ¶
type CreateReplicationInstanceRequestParams struct { // Master instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"` // Region name of the replication instance ReplicationRegionName *string `json:"ReplicationRegionName,omitempty" name:"ReplicationRegionName"` }
Predefined struct for user
type CreateReplicationInstanceResponse ¶
type CreateReplicationInstanceResponse struct { *tchttp.BaseResponse Response *CreateReplicationInstanceResponseParams `json:"Response"` }
func NewCreateReplicationInstanceResponse ¶
func NewCreateReplicationInstanceResponse() (response *CreateReplicationInstanceResponse)
func (*CreateReplicationInstanceResponse) FromJsonString ¶
func (r *CreateReplicationInstanceResponse) 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 (*CreateReplicationInstanceResponse) ToJsonString ¶
func (r *CreateReplicationInstanceResponse) ToJsonString() string
type CreateReplicationInstanceResponseParams ¶
type CreateReplicationInstanceResponseParams struct { // Enterprise Registry Instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"` // 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 DeleteImmutableTagRulesRequest ¶
type DeleteImmutableTagRulesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"` // Rule ID RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` }
func NewDeleteImmutableTagRulesRequest ¶
func NewDeleteImmutableTagRulesRequest() (request *DeleteImmutableTagRulesRequest)
func (*DeleteImmutableTagRulesRequest) FromJsonString ¶
func (r *DeleteImmutableTagRulesRequest) 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 (*DeleteImmutableTagRulesRequest) ToJsonString ¶
func (r *DeleteImmutableTagRulesRequest) ToJsonString() string
type DeleteImmutableTagRulesRequestParams ¶
type DeleteImmutableTagRulesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"` // Rule ID RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` }
Predefined struct for user
type DeleteImmutableTagRulesResponse ¶
type DeleteImmutableTagRulesResponse struct { *tchttp.BaseResponse Response *DeleteImmutableTagRulesResponseParams `json:"Response"` }
func NewDeleteImmutableTagRulesResponse ¶
func NewDeleteImmutableTagRulesResponse() (response *DeleteImmutableTagRulesResponse)
func (*DeleteImmutableTagRulesResponse) FromJsonString ¶
func (r *DeleteImmutableTagRulesResponse) 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 (*DeleteImmutableTagRulesResponse) ToJsonString ¶
func (r *DeleteImmutableTagRulesResponse) ToJsonString() string
type DeleteImmutableTagRulesResponseParams ¶
type DeleteImmutableTagRulesResponseParams 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 DeleteMultipleSecurityPolicyRequest ¶
type DeleteMultipleSecurityPolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Security group policy SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
func NewDeleteMultipleSecurityPolicyRequest ¶
func NewDeleteMultipleSecurityPolicyRequest() (request *DeleteMultipleSecurityPolicyRequest)
func (*DeleteMultipleSecurityPolicyRequest) FromJsonString ¶
func (r *DeleteMultipleSecurityPolicyRequest) 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 (*DeleteMultipleSecurityPolicyRequest) ToJsonString ¶
func (r *DeleteMultipleSecurityPolicyRequest) ToJsonString() string
type DeleteMultipleSecurityPolicyRequestParams ¶
type DeleteMultipleSecurityPolicyRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Security group policy SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"` }
Predefined struct for user
type DeleteMultipleSecurityPolicyResponse ¶
type DeleteMultipleSecurityPolicyResponse struct { *tchttp.BaseResponse Response *DeleteMultipleSecurityPolicyResponseParams `json:"Response"` }
func NewDeleteMultipleSecurityPolicyResponse ¶
func NewDeleteMultipleSecurityPolicyResponse() (response *DeleteMultipleSecurityPolicyResponse)
func (*DeleteMultipleSecurityPolicyResponse) FromJsonString ¶
func (r *DeleteMultipleSecurityPolicyResponse) 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 (*DeleteMultipleSecurityPolicyResponse) ToJsonString ¶
func (r *DeleteMultipleSecurityPolicyResponse) ToJsonString() string
type DeleteMultipleSecurityPolicyResponseParams ¶
type DeleteMultipleSecurityPolicyResponseParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // 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 DescribeImmutableTagRulesRequest ¶
type DescribeImmutableTagRulesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` }
func NewDescribeImmutableTagRulesRequest ¶
func NewDescribeImmutableTagRulesRequest() (request *DescribeImmutableTagRulesRequest)
func (*DescribeImmutableTagRulesRequest) FromJsonString ¶
func (r *DescribeImmutableTagRulesRequest) 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 (*DescribeImmutableTagRulesRequest) ToJsonString ¶
func (r *DescribeImmutableTagRulesRequest) ToJsonString() string
type DescribeImmutableTagRulesRequestParams ¶
type DescribeImmutableTagRulesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` }
Predefined struct for user
type DescribeImmutableTagRulesResponse ¶
type DescribeImmutableTagRulesResponse struct { *tchttp.BaseResponse Response *DescribeImmutableTagRulesResponseParams `json:"Response"` }
func NewDescribeImmutableTagRulesResponse ¶
func NewDescribeImmutableTagRulesResponse() (response *DescribeImmutableTagRulesResponse)
func (*DescribeImmutableTagRulesResponse) FromJsonString ¶
func (r *DescribeImmutableTagRulesResponse) 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 (*DescribeImmutableTagRulesResponse) ToJsonString ¶
func (r *DescribeImmutableTagRulesResponse) ToJsonString() string
type DescribeImmutableTagRulesResponseParams ¶
type DescribeImmutableTagRulesResponseParams struct { // Rule list // Note: this field may return `null`, indicating that no valid value can be obtained. Rules []*ImmutableTagRule `json:"Rules,omitempty" name:"Rules"` // Namespace with no rules created // Note: this field may return `null`, indicating that no valid value can be obtained. EmptyNs []*string `json:"EmptyNs,omitempty" name:"EmptyNs"` // Total rules Total *int64 `json:"Total,omitempty" name:"Total"` // 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 DescribeReplicationInstanceCreateTasksRequest ¶
type DescribeReplicationInstanceCreateTasksRequest struct { *tchttp.BaseRequest // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"` }
func NewDescribeReplicationInstanceCreateTasksRequest ¶
func NewDescribeReplicationInstanceCreateTasksRequest() (request *DescribeReplicationInstanceCreateTasksRequest)
func (*DescribeReplicationInstanceCreateTasksRequest) FromJsonString ¶
func (r *DescribeReplicationInstanceCreateTasksRequest) 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 (*DescribeReplicationInstanceCreateTasksRequest) ToJsonString ¶
func (r *DescribeReplicationInstanceCreateTasksRequest) ToJsonString() string
type DescribeReplicationInstanceCreateTasksRequestParams ¶
type DescribeReplicationInstanceCreateTasksRequestParams struct { // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"` }
Predefined struct for user
type DescribeReplicationInstanceCreateTasksResponse ¶
type DescribeReplicationInstanceCreateTasksResponse struct { *tchttp.BaseResponse Response *DescribeReplicationInstanceCreateTasksResponseParams `json:"Response"` }
func NewDescribeReplicationInstanceCreateTasksResponse ¶
func NewDescribeReplicationInstanceCreateTasksResponse() (response *DescribeReplicationInstanceCreateTasksResponse)
func (*DescribeReplicationInstanceCreateTasksResponse) FromJsonString ¶
func (r *DescribeReplicationInstanceCreateTasksResponse) 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 (*DescribeReplicationInstanceCreateTasksResponse) ToJsonString ¶
func (r *DescribeReplicationInstanceCreateTasksResponse) ToJsonString() string
type DescribeReplicationInstanceCreateTasksResponseParams ¶
type DescribeReplicationInstanceCreateTasksResponseParams struct { // Task details TaskDetail []*TaskDetail `json:"TaskDetail,omitempty" name:"TaskDetail"` // Overall task status Status *string `json:"Status,omitempty" name:"Status"` // 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 DescribeReplicationInstanceSyncStatusRequest ¶
type DescribeReplicationInstanceSyncStatusRequest struct { *tchttp.BaseRequest // Master instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"` // Whether to show the synchronization log ShowReplicationLog *bool `json:"ShowReplicationLog,omitempty" name:"ShowReplicationLog"` // Page offset for log display. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of output entries. Default value: 5, maximum value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeReplicationInstanceSyncStatusRequest ¶
func NewDescribeReplicationInstanceSyncStatusRequest() (request *DescribeReplicationInstanceSyncStatusRequest)
func (*DescribeReplicationInstanceSyncStatusRequest) FromJsonString ¶
func (r *DescribeReplicationInstanceSyncStatusRequest) 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 (*DescribeReplicationInstanceSyncStatusRequest) ToJsonString ¶
func (r *DescribeReplicationInstanceSyncStatusRequest) ToJsonString() string
type DescribeReplicationInstanceSyncStatusRequestParams ¶
type DescribeReplicationInstanceSyncStatusRequestParams struct { // Master instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"` // Whether to show the synchronization log ShowReplicationLog *bool `json:"ShowReplicationLog,omitempty" name:"ShowReplicationLog"` // Page offset for log display. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of output entries. Default value: 5, maximum value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeReplicationInstanceSyncStatusResponse ¶
type DescribeReplicationInstanceSyncStatusResponse struct { *tchttp.BaseResponse Response *DescribeReplicationInstanceSyncStatusResponseParams `json:"Response"` }
func NewDescribeReplicationInstanceSyncStatusResponse ¶
func NewDescribeReplicationInstanceSyncStatusResponse() (response *DescribeReplicationInstanceSyncStatusResponse)
func (*DescribeReplicationInstanceSyncStatusResponse) FromJsonString ¶
func (r *DescribeReplicationInstanceSyncStatusResponse) 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 (*DescribeReplicationInstanceSyncStatusResponse) ToJsonString ¶
func (r *DescribeReplicationInstanceSyncStatusResponse) ToJsonString() string
type DescribeReplicationInstanceSyncStatusResponseParams ¶
type DescribeReplicationInstanceSyncStatusResponseParams struct { // Synchronization status ReplicationStatus *string `json:"ReplicationStatus,omitempty" name:"ReplicationStatus"` // Synchronization completion time ReplicationTime *string `json:"ReplicationTime,omitempty" name:"ReplicationTime"` // Synchronization log // Note: this field may return `null`, indicating that no valid values can be obtained. ReplicationLog *ReplicationLog `json:"ReplicationLog,omitempty" name:"ReplicationLog"` // 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 DescribeReplicationInstancesRequest ¶
type DescribeReplicationInstancesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Offset. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of output entries. Default value: 20, maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeReplicationInstancesRequest ¶
func NewDescribeReplicationInstancesRequest() (request *DescribeReplicationInstancesRequest)
func (*DescribeReplicationInstancesRequest) FromJsonString ¶
func (r *DescribeReplicationInstancesRequest) 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 (*DescribeReplicationInstancesRequest) ToJsonString ¶
func (r *DescribeReplicationInstancesRequest) ToJsonString() string
type DescribeReplicationInstancesRequestParams ¶
type DescribeReplicationInstancesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Offset. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of output entries. Default value: 20, maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeReplicationInstancesResponse ¶
type DescribeReplicationInstancesResponse struct { *tchttp.BaseResponse Response *DescribeReplicationInstancesResponseParams `json:"Response"` }
func NewDescribeReplicationInstancesResponse ¶
func NewDescribeReplicationInstancesResponse() (response *DescribeReplicationInstancesResponse)
func (*DescribeReplicationInstancesResponse) FromJsonString ¶
func (r *DescribeReplicationInstancesResponse) 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 (*DescribeReplicationInstancesResponse) ToJsonString ¶
func (r *DescribeReplicationInstancesResponse) ToJsonString() string
type DescribeReplicationInstancesResponseParams ¶
type DescribeReplicationInstancesResponseParams struct { // Total number of instances TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Replication instance list // Note: this field may return `null`, indicating that no valid values can be obtained. ReplicationRegistries []*ReplicationRegistry `json:"ReplicationRegistries,omitempty" name:"ReplicationRegistries"` // 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 ImmutableTagRule ¶
type ImmutableTagRule struct { // Repository matching rule RepositoryPattern *string `json:"RepositoryPattern,omitempty" name:"RepositoryPattern"` // Tag matching rule TagPattern *string `json:"TagPattern,omitempty" name:"TagPattern"` // repoMatches or repoExcludes RepositoryDecoration *string `json:"RepositoryDecoration,omitempty" name:"RepositoryDecoration"` // matches or excludes TagDecoration *string `json:"TagDecoration,omitempty" name:"TagDecoration"` // Disabling rule Disabled *bool `json:"Disabled,omitempty" name:"Disabled"` // Rule ID RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` // Namespace NsName *string `json:"NsName,omitempty" name:"NsName"` }
type ManageReplicationRequest ¶
type ManageReplicationRequest struct { *tchttp.BaseRequest // Source instance ID SourceRegistryId *string `json:"SourceRegistryId,omitempty" name:"SourceRegistryId"` // Destination instance ID DestinationRegistryId *string `json:"DestinationRegistryId,omitempty" name:"DestinationRegistryId"` // Synchronization rule Rule *ReplicationRule `json:"Rule,omitempty" name:"Rule"` // Rule description Description *string `json:"Description,omitempty" name:"Description"` // Region ID of the destination instance. For example, `1` represents Guangzhou DestinationRegionId *uint64 `json:"DestinationRegionId,omitempty" name:"DestinationRegionId"` // Configuration of the synchronization rule PeerReplicationOption *PeerReplicationOption `json:"PeerReplicationOption,omitempty" name:"PeerReplicationOption"` }
func NewManageReplicationRequest ¶
func NewManageReplicationRequest() (request *ManageReplicationRequest)
func (*ManageReplicationRequest) FromJsonString ¶
func (r *ManageReplicationRequest) 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 (*ManageReplicationRequest) ToJsonString ¶
func (r *ManageReplicationRequest) ToJsonString() string
type ManageReplicationRequestParams ¶
type ManageReplicationRequestParams struct { // Source instance ID SourceRegistryId *string `json:"SourceRegistryId,omitempty" name:"SourceRegistryId"` // Destination instance ID DestinationRegistryId *string `json:"DestinationRegistryId,omitempty" name:"DestinationRegistryId"` // Synchronization rule Rule *ReplicationRule `json:"Rule,omitempty" name:"Rule"` // Rule description Description *string `json:"Description,omitempty" name:"Description"` // Region ID of the destination instance. For example, `1` represents Guangzhou DestinationRegionId *uint64 `json:"DestinationRegionId,omitempty" name:"DestinationRegionId"` // Configuration of the synchronization rule PeerReplicationOption *PeerReplicationOption `json:"PeerReplicationOption,omitempty" name:"PeerReplicationOption"` }
Predefined struct for user
type ManageReplicationResponse ¶
type ManageReplicationResponse struct { *tchttp.BaseResponse Response *ManageReplicationResponseParams `json:"Response"` }
func NewManageReplicationResponse ¶
func NewManageReplicationResponse() (response *ManageReplicationResponse)
func (*ManageReplicationResponse) FromJsonString ¶
func (r *ManageReplicationResponse) 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 (*ManageReplicationResponse) ToJsonString ¶
func (r *ManageReplicationResponse) ToJsonString() string
type ManageReplicationResponseParams ¶
type ManageReplicationResponseParams 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 ModifyImmutableTagRulesRequest ¶
type ModifyImmutableTagRulesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"` // Rule ID RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` // Rule Rule *ImmutableTagRule `json:"Rule,omitempty" name:"Rule"` }
func NewModifyImmutableTagRulesRequest ¶
func NewModifyImmutableTagRulesRequest() (request *ModifyImmutableTagRulesRequest)
func (*ModifyImmutableTagRulesRequest) FromJsonString ¶
func (r *ModifyImmutableTagRulesRequest) 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 (*ModifyImmutableTagRulesRequest) ToJsonString ¶
func (r *ModifyImmutableTagRulesRequest) ToJsonString() string
type ModifyImmutableTagRulesRequestParams ¶
type ModifyImmutableTagRulesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"` // Rule ID RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` // Rule Rule *ImmutableTagRule `json:"Rule,omitempty" name:"Rule"` }
Predefined struct for user
type ModifyImmutableTagRulesResponse ¶
type ModifyImmutableTagRulesResponse struct { *tchttp.BaseResponse Response *ModifyImmutableTagRulesResponseParams `json:"Response"` }
func NewModifyImmutableTagRulesResponse ¶
func NewModifyImmutableTagRulesResponse() (response *ModifyImmutableTagRulesResponse)
func (*ModifyImmutableTagRulesResponse) FromJsonString ¶
func (r *ModifyImmutableTagRulesResponse) 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 (*ModifyImmutableTagRulesResponse) ToJsonString ¶
func (r *ModifyImmutableTagRulesResponse) ToJsonString() string
type ModifyImmutableTagRulesResponseParams ¶
type ModifyImmutableTagRulesResponseParams 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 ModifyInstanceRequest ¶
type ModifyInstanceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Instance specification RegistryType *string `json:"RegistryType,omitempty" name:"RegistryType"` }
func NewModifyInstanceRequest ¶
func NewModifyInstanceRequest() (request *ModifyInstanceRequest)
func (*ModifyInstanceRequest) FromJsonString ¶
func (r *ModifyInstanceRequest) 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 (*ModifyInstanceRequest) ToJsonString ¶
func (r *ModifyInstanceRequest) ToJsonString() string
type ModifyInstanceRequestParams ¶
type ModifyInstanceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Instance specification RegistryType *string `json:"RegistryType,omitempty" name:"RegistryType"` }
Predefined struct for user
type ModifyInstanceResponse ¶
type ModifyInstanceResponse struct { *tchttp.BaseResponse Response *ModifyInstanceResponseParams `json:"Response"` }
func NewModifyInstanceResponse ¶
func NewModifyInstanceResponse() (response *ModifyInstanceResponse)
func (*ModifyInstanceResponse) FromJsonString ¶
func (r *ModifyInstanceResponse) 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 (*ModifyInstanceResponse) ToJsonString ¶
func (r *ModifyInstanceResponse) ToJsonString() string
type ModifyInstanceResponseParams ¶
type ModifyInstanceResponseParams 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 PeerReplicationOption ¶
type PeerReplicationOption struct { // UIN of the destination instance PeerRegistryUin *string `json:"PeerRegistryUin,omitempty" name:"PeerRegistryUin"` // Permanent access Token for the destination instance PeerRegistryToken *string `json:"PeerRegistryToken,omitempty" name:"PeerRegistryToken"` // Whether to enable cross-account synchronization EnablePeerReplication *bool `json:"EnablePeerReplication,omitempty" name:"EnablePeerReplication"` }
type ReplicationFilter ¶
type ReplicationLog ¶
type ReplicationLog struct { // Resource type // Note: this field may return `null`, indicating that no valid values can be obtained. ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"` // Path of the source resource // Note: this field may return `null`, indicating that no valid values can be obtained. Source *string `json:"Source,omitempty" name:"Source"` // Path of the destination resource // Note: this field may return `null`, indicating that no valid values can be obtained. Destination *string `json:"Destination,omitempty" name:"Destination"` // Synchronization status // Note: this field may return `null`, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Start time // Note: this field may return `null`, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time // Note: this field may return `null`, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
type ReplicationRegistry ¶
type ReplicationRegistry struct { // Master instance ID RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"` // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitempty" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitempty" name:"ReplicationRegionId"` // Region name of the replication instance ReplicationRegionName *string `json:"ReplicationRegionName,omitempty" name:"ReplicationRegionName"` // Status of the replication instance Status *string `json:"Status,omitempty" name:"Status"` // Creation time CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` }
type ReplicationRule ¶
type ReplicationRule struct { // Name of synchronization rule Name *string `json:"Name,omitempty" name:"Name"` // Destination namespace DestNamespace *string `json:"DestNamespace,omitempty" name:"DestNamespace"` // Whether to override Override *bool `json:"Override,omitempty" name:"Override"` // Synchronization filters Filters []*ReplicationFilter `json:"Filters,omitempty" name:"Filters"` }
type SecurityPolicy ¶
type SecurityPolicy struct { // Policy index PolicyIndex *int64 `json:"PolicyIndex,omitempty" name:"PolicyIndex"` // Remarks Description *string `json:"Description,omitempty" name:"Description"` // The public network IP address of the access source CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` // The version of the security policy PolicyVersion *string `json:"PolicyVersion,omitempty" name:"PolicyVersion"` }
type TaskDetail ¶
type TaskDetail struct { // Task TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // Task UUID TaskUUID *string `json:"TaskUUID,omitempty" name:"TaskUUID"` // Task status TaskStatus *string `json:"TaskStatus,omitempty" name:"TaskStatus"` // Task details // Note: this field may return `null`, indicating that no valid values can be obtained. TaskMessage *string `json:"TaskMessage,omitempty" name:"TaskMessage"` // Start time of the task CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"` // End time of the task // Note: this field may return `null`, indicating that no valid values can be obtained. FinishedTime *string `json:"FinishedTime,omitempty" name:"FinishedTime"` }