Documentation ¶
Index ¶
- Constants
- type AccessVpc
- type CheckInstanceNameRequest
- type CheckInstanceNameRequestParams
- type CheckInstanceNameResponse
- type CheckInstanceNameResponseParams
- type CheckInstanceRequest
- type CheckInstanceRequestParams
- type CheckInstanceResponse
- type CheckInstanceResponseParams
- type Client
- func (c *Client) CheckInstance(request *CheckInstanceRequest) (response *CheckInstanceResponse, err error)
- func (c *Client) CheckInstanceName(request *CheckInstanceNameRequest) (response *CheckInstanceNameResponse, err error)
- func (c *Client) CheckInstanceNameWithContext(ctx context.Context, request *CheckInstanceNameRequest) (response *CheckInstanceNameResponse, err error)
- func (c *Client) CheckInstanceWithContext(ctx context.Context, request *CheckInstanceRequest) (response *CheckInstanceResponse, err error)
- func (c *Client) CreateCustomAccount(request *CreateCustomAccountRequest) (response *CreateCustomAccountResponse, err error)
- func (c *Client) CreateCustomAccountWithContext(ctx context.Context, request *CreateCustomAccountRequest) (response *CreateCustomAccountResponse, err error)
- func (c *Client) CreateImageAccelerationService(request *CreateImageAccelerationServiceRequest) (response *CreateImageAccelerationServiceResponse, err error)
- func (c *Client) CreateImageAccelerationServiceWithContext(ctx context.Context, request *CreateImageAccelerationServiceRequest) (response *CreateImageAccelerationServiceResponse, 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) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
- func (c *Client) CreateInstanceCustomizedDomain(request *CreateInstanceCustomizedDomainRequest) (response *CreateInstanceCustomizedDomainResponse, err error)
- func (c *Client) CreateInstanceCustomizedDomainWithContext(ctx context.Context, request *CreateInstanceCustomizedDomainRequest) (response *CreateInstanceCustomizedDomainResponse, 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) CreateInstanceWithContext(ctx context.Context, request *CreateInstanceRequest) (response *CreateInstanceResponse, 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) CreateNamespace(request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)
- func (c *Client) CreateNamespaceWithContext(ctx context.Context, request *CreateNamespaceRequest) (response *CreateNamespaceResponse, 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) CreateRepository(request *CreateRepositoryRequest) (response *CreateRepositoryResponse, err error)
- func (c *Client) CreateRepositoryWithContext(ctx context.Context, request *CreateRepositoryRequest) (response *CreateRepositoryResponse, err error)
- func (c *Client) CreateSecurityPolicy(request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)
- func (c *Client) CreateSecurityPolicyWithContext(ctx context.Context, request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)
- func (c *Client) CreateServiceAccount(request *CreateServiceAccountRequest) (response *CreateServiceAccountResponse, err error)
- func (c *Client) CreateServiceAccountWithContext(ctx context.Context, request *CreateServiceAccountRequest) (response *CreateServiceAccountResponse, err error)
- func (c *Client) CreateSignature(request *CreateSignatureRequest) (response *CreateSignatureResponse, err error)
- func (c *Client) CreateSignaturePolicy(request *CreateSignaturePolicyRequest) (response *CreateSignaturePolicyResponse, err error)
- func (c *Client) CreateSignaturePolicyWithContext(ctx context.Context, request *CreateSignaturePolicyRequest) (response *CreateSignaturePolicyResponse, err error)
- func (c *Client) CreateSignatureWithContext(ctx context.Context, request *CreateSignatureRequest) (response *CreateSignatureResponse, err error)
- func (c *Client) CreateTagRetentionExecution(request *CreateTagRetentionExecutionRequest) (response *CreateTagRetentionExecutionResponse, err error)
- func (c *Client) CreateTagRetentionExecutionWithContext(ctx context.Context, request *CreateTagRetentionExecutionRequest) (response *CreateTagRetentionExecutionResponse, err error)
- func (c *Client) CreateTagRetentionRule(request *CreateTagRetentionRuleRequest) (response *CreateTagRetentionRuleResponse, err error)
- func (c *Client) CreateTagRetentionRuleWithContext(ctx context.Context, request *CreateTagRetentionRuleRequest) (response *CreateTagRetentionRuleResponse, err error)
- func (c *Client) CreateWebhookTrigger(request *CreateWebhookTriggerRequest) (response *CreateWebhookTriggerResponse, err error)
- func (c *Client) CreateWebhookTriggerWithContext(ctx context.Context, request *CreateWebhookTriggerRequest) (response *CreateWebhookTriggerResponse, err error)
- func (c *Client) DeleteCustomAccount(request *DeleteCustomAccountRequest) (response *DeleteCustomAccountResponse, err error)
- func (c *Client) DeleteCustomAccountWithContext(ctx context.Context, request *DeleteCustomAccountRequest) (response *DeleteCustomAccountResponse, err error)
- func (c *Client) DeleteImage(request *DeleteImageRequest) (response *DeleteImageResponse, err error)
- func (c *Client) DeleteImageAccelerateService(request *DeleteImageAccelerateServiceRequest) (response *DeleteImageAccelerateServiceResponse, err error)
- func (c *Client) DeleteImageAccelerateServiceWithContext(ctx context.Context, request *DeleteImageAccelerateServiceRequest) (response *DeleteImageAccelerateServiceResponse, err error)
- func (c *Client) DeleteImageWithContext(ctx context.Context, request *DeleteImageRequest) (response *DeleteImageResponse, 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) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
- func (c *Client) DeleteInstanceCustomizedDomain(request *DeleteInstanceCustomizedDomainRequest) (response *DeleteInstanceCustomizedDomainResponse, err error)
- func (c *Client) DeleteInstanceCustomizedDomainWithContext(ctx context.Context, request *DeleteInstanceCustomizedDomainRequest) (response *DeleteInstanceCustomizedDomainResponse, err error)
- func (c *Client) DeleteInstanceToken(request *DeleteInstanceTokenRequest) (response *DeleteInstanceTokenResponse, err error)
- func (c *Client) DeleteInstanceTokenWithContext(ctx context.Context, request *DeleteInstanceTokenRequest) (response *DeleteInstanceTokenResponse, err error)
- func (c *Client) DeleteInstanceWithContext(ctx context.Context, request *DeleteInstanceRequest) (response *DeleteInstanceResponse, 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) DeleteNamespace(request *DeleteNamespaceRequest) (response *DeleteNamespaceResponse, err error)
- func (c *Client) DeleteNamespaceWithContext(ctx context.Context, request *DeleteNamespaceRequest) (response *DeleteNamespaceResponse, err error)
- func (c *Client) DeleteReplicationInstance(request *DeleteReplicationInstanceRequest) (response *DeleteReplicationInstanceResponse, err error)
- func (c *Client) DeleteReplicationInstanceWithContext(ctx context.Context, request *DeleteReplicationInstanceRequest) (response *DeleteReplicationInstanceResponse, err error)
- func (c *Client) DeleteRepository(request *DeleteRepositoryRequest) (response *DeleteRepositoryResponse, err error)
- func (c *Client) DeleteRepositoryTags(request *DeleteRepositoryTagsRequest) (response *DeleteRepositoryTagsResponse, err error)
- func (c *Client) DeleteRepositoryTagsWithContext(ctx context.Context, request *DeleteRepositoryTagsRequest) (response *DeleteRepositoryTagsResponse, err error)
- func (c *Client) DeleteRepositoryWithContext(ctx context.Context, request *DeleteRepositoryRequest) (response *DeleteRepositoryResponse, err error)
- func (c *Client) DeleteSecurityPolicy(request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)
- func (c *Client) DeleteSecurityPolicyWithContext(ctx context.Context, request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)
- func (c *Client) DeleteServiceAccount(request *DeleteServiceAccountRequest) (response *DeleteServiceAccountResponse, err error)
- func (c *Client) DeleteServiceAccountWithContext(ctx context.Context, request *DeleteServiceAccountRequest) (response *DeleteServiceAccountResponse, err error)
- func (c *Client) DeleteSignaturePolicy(request *DeleteSignaturePolicyRequest) (response *DeleteSignaturePolicyResponse, err error)
- func (c *Client) DeleteSignaturePolicyWithContext(ctx context.Context, request *DeleteSignaturePolicyRequest) (response *DeleteSignaturePolicyResponse, err error)
- func (c *Client) DeleteTagRetentionRule(request *DeleteTagRetentionRuleRequest) (response *DeleteTagRetentionRuleResponse, err error)
- func (c *Client) DeleteTagRetentionRuleWithContext(ctx context.Context, request *DeleteTagRetentionRuleRequest) (response *DeleteTagRetentionRuleResponse, err error)
- func (c *Client) DeleteWebhookTrigger(request *DeleteWebhookTriggerRequest) (response *DeleteWebhookTriggerResponse, err error)
- func (c *Client) DeleteWebhookTriggerWithContext(ctx context.Context, request *DeleteWebhookTriggerRequest) (response *DeleteWebhookTriggerResponse, err error)
- func (c *Client) DescribeChartDownloadInfo(request *DescribeChartDownloadInfoRequest) (response *DescribeChartDownloadInfoResponse, err error)
- func (c *Client) DescribeChartDownloadInfoWithContext(ctx context.Context, request *DescribeChartDownloadInfoRequest) (response *DescribeChartDownloadInfoResponse, err error)
- func (c *Client) DescribeCustomAccounts(request *DescribeCustomAccountsRequest) (response *DescribeCustomAccountsResponse, err error)
- func (c *Client) DescribeCustomAccountsWithContext(ctx context.Context, request *DescribeCustomAccountsRequest) (response *DescribeCustomAccountsResponse, err error)
- func (c *Client) DescribeExternalEndpointStatus(request *DescribeExternalEndpointStatusRequest) (response *DescribeExternalEndpointStatusResponse, err error)
- func (c *Client) DescribeExternalEndpointStatusWithContext(ctx context.Context, request *DescribeExternalEndpointStatusRequest) (response *DescribeExternalEndpointStatusResponse, err error)
- func (c *Client) DescribeGCJobs(request *DescribeGCJobsRequest) (response *DescribeGCJobsResponse, err error)
- func (c *Client) DescribeGCJobsWithContext(ctx context.Context, request *DescribeGCJobsRequest) (response *DescribeGCJobsResponse, err error)
- func (c *Client) DescribeImageAccelerateService(request *DescribeImageAccelerateServiceRequest) (response *DescribeImageAccelerateServiceResponse, err error)
- func (c *Client) DescribeImageAccelerateServiceWithContext(ctx context.Context, request *DescribeImageAccelerateServiceRequest) (response *DescribeImageAccelerateServiceResponse, err error)
- func (c *Client) DescribeImageManifests(request *DescribeImageManifestsRequest) (response *DescribeImageManifestsResponse, err error)
- func (c *Client) DescribeImageManifestsWithContext(ctx context.Context, request *DescribeImageManifestsRequest) (response *DescribeImageManifestsResponse, err error)
- func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
- func (c *Client) DescribeImagesWithContext(ctx context.Context, request *DescribeImagesRequest) (response *DescribeImagesResponse, 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) DescribeInstanceAllNamespaces(request *DescribeInstanceAllNamespacesRequest) (response *DescribeInstanceAllNamespacesResponse, err error)
- func (c *Client) DescribeInstanceAllNamespacesWithContext(ctx context.Context, request *DescribeInstanceAllNamespacesRequest) (response *DescribeInstanceAllNamespacesResponse, err error)
- func (c *Client) DescribeInstanceCustomizedDomain(request *DescribeInstanceCustomizedDomainRequest) (response *DescribeInstanceCustomizedDomainResponse, err error)
- func (c *Client) DescribeInstanceCustomizedDomainWithContext(ctx context.Context, request *DescribeInstanceCustomizedDomainRequest) (response *DescribeInstanceCustomizedDomainResponse, err error)
- func (c *Client) DescribeInstanceStatus(request *DescribeInstanceStatusRequest) (response *DescribeInstanceStatusResponse, err error)
- func (c *Client) DescribeInstanceStatusWithContext(ctx context.Context, request *DescribeInstanceStatusRequest) (response *DescribeInstanceStatusResponse, err error)
- func (c *Client) DescribeInstanceToken(request *DescribeInstanceTokenRequest) (response *DescribeInstanceTokenResponse, err error)
- func (c *Client) DescribeInstanceTokenWithContext(ctx context.Context, request *DescribeInstanceTokenRequest) (response *DescribeInstanceTokenResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInternalEndpoints(request *DescribeInternalEndpointsRequest) (response *DescribeInternalEndpointsResponse, err error)
- func (c *Client) DescribeInternalEndpointsWithContext(ctx context.Context, request *DescribeInternalEndpointsRequest) (response *DescribeInternalEndpointsResponse, err error)
- func (c *Client) DescribeNamespaces(request *DescribeNamespacesRequest) (response *DescribeNamespacesResponse, err error)
- func (c *Client) DescribeNamespacesWithContext(ctx context.Context, request *DescribeNamespacesRequest) (response *DescribeNamespacesResponse, err error)
- func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, 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) DescribeRepositories(request *DescribeRepositoriesRequest) (response *DescribeRepositoriesResponse, err error)
- func (c *Client) DescribeRepositoriesWithContext(ctx context.Context, request *DescribeRepositoriesRequest) (response *DescribeRepositoriesResponse, err error)
- func (c *Client) DescribeSecurityPolicies(request *DescribeSecurityPoliciesRequest) (response *DescribeSecurityPoliciesResponse, err error)
- func (c *Client) DescribeSecurityPoliciesWithContext(ctx context.Context, request *DescribeSecurityPoliciesRequest) (response *DescribeSecurityPoliciesResponse, err error)
- func (c *Client) DescribeServiceAccounts(request *DescribeServiceAccountsRequest) (response *DescribeServiceAccountsResponse, err error)
- func (c *Client) DescribeServiceAccountsWithContext(ctx context.Context, request *DescribeServiceAccountsRequest) (response *DescribeServiceAccountsResponse, err error)
- func (c *Client) DescribeTagRetentionExecution(request *DescribeTagRetentionExecutionRequest) (response *DescribeTagRetentionExecutionResponse, err error)
- func (c *Client) DescribeTagRetentionExecutionTask(request *DescribeTagRetentionExecutionTaskRequest) (response *DescribeTagRetentionExecutionTaskResponse, err error)
- func (c *Client) DescribeTagRetentionExecutionTaskWithContext(ctx context.Context, request *DescribeTagRetentionExecutionTaskRequest) (response *DescribeTagRetentionExecutionTaskResponse, err error)
- func (c *Client) DescribeTagRetentionExecutionWithContext(ctx context.Context, request *DescribeTagRetentionExecutionRequest) (response *DescribeTagRetentionExecutionResponse, err error)
- func (c *Client) DescribeTagRetentionRules(request *DescribeTagRetentionRulesRequest) (response *DescribeTagRetentionRulesResponse, err error)
- func (c *Client) DescribeTagRetentionRulesWithContext(ctx context.Context, request *DescribeTagRetentionRulesRequest) (response *DescribeTagRetentionRulesResponse, err error)
- func (c *Client) DescribeWebhookTrigger(request *DescribeWebhookTriggerRequest) (response *DescribeWebhookTriggerResponse, err error)
- func (c *Client) DescribeWebhookTriggerLog(request *DescribeWebhookTriggerLogRequest) (response *DescribeWebhookTriggerLogResponse, err error)
- func (c *Client) DescribeWebhookTriggerLogWithContext(ctx context.Context, request *DescribeWebhookTriggerLogRequest) (response *DescribeWebhookTriggerLogResponse, err error)
- func (c *Client) DescribeWebhookTriggerWithContext(ctx context.Context, request *DescribeWebhookTriggerRequest) (response *DescribeWebhookTriggerResponse, err error)
- func (c *Client) DownloadHelmChart(request *DownloadHelmChartRequest) (response *DownloadHelmChartResponse, err error)
- func (c *Client) DownloadHelmChartWithContext(ctx context.Context, request *DownloadHelmChartRequest) (response *DownloadHelmChartResponse, err error)
- func (c *Client) ManageExternalEndpoint(request *ManageExternalEndpointRequest) (response *ManageExternalEndpointResponse, err error)
- func (c *Client) ManageExternalEndpointWithContext(ctx context.Context, request *ManageExternalEndpointRequest) (response *ManageExternalEndpointResponse, err error)
- func (c *Client) ManageInternalEndpoint(request *ManageInternalEndpointRequest) (response *ManageInternalEndpointResponse, err error)
- func (c *Client) ManageInternalEndpointWithContext(ctx context.Context, request *ManageInternalEndpointRequest) (response *ManageInternalEndpointResponse, 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) ModifyCustomAccount(request *ModifyCustomAccountRequest) (response *ModifyCustomAccountResponse, err error)
- func (c *Client) ModifyCustomAccountWithContext(ctx context.Context, request *ModifyCustomAccountRequest) (response *ModifyCustomAccountResponse, 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) ModifyInstanceToken(request *ModifyInstanceTokenRequest) (response *ModifyInstanceTokenResponse, err error)
- func (c *Client) ModifyInstanceTokenWithContext(ctx context.Context, request *ModifyInstanceTokenRequest) (response *ModifyInstanceTokenResponse, err error)
- func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ModifyNamespace(request *ModifyNamespaceRequest) (response *ModifyNamespaceResponse, err error)
- func (c *Client) ModifyNamespaceWithContext(ctx context.Context, request *ModifyNamespaceRequest) (response *ModifyNamespaceResponse, err error)
- func (c *Client) ModifyRepository(request *ModifyRepositoryRequest) (response *ModifyRepositoryResponse, err error)
- func (c *Client) ModifyRepositoryWithContext(ctx context.Context, request *ModifyRepositoryRequest) (response *ModifyRepositoryResponse, err error)
- func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
- func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
- func (c *Client) ModifyServiceAccount(request *ModifyServiceAccountRequest) (response *ModifyServiceAccountResponse, err error)
- func (c *Client) ModifyServiceAccountWithContext(ctx context.Context, request *ModifyServiceAccountRequest) (response *ModifyServiceAccountResponse, err error)
- func (c *Client) ModifyTagRetentionRule(request *ModifyTagRetentionRuleRequest) (response *ModifyTagRetentionRuleResponse, err error)
- func (c *Client) ModifyTagRetentionRuleWithContext(ctx context.Context, request *ModifyTagRetentionRuleRequest) (response *ModifyTagRetentionRuleResponse, err error)
- func (c *Client) ModifyWebhookTrigger(request *ModifyWebhookTriggerRequest) (response *ModifyWebhookTriggerResponse, err error)
- func (c *Client) ModifyWebhookTriggerWithContext(ctx context.Context, request *ModifyWebhookTriggerRequest) (response *ModifyWebhookTriggerResponse, err error)
- func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- type CreateCustomAccountRequest
- type CreateCustomAccountRequestParams
- type CreateCustomAccountResponse
- type CreateCustomAccountResponseParams
- type CreateImageAccelerationServiceRequest
- type CreateImageAccelerationServiceRequestParams
- type CreateImageAccelerationServiceResponse
- type CreateImageAccelerationServiceResponseParams
- type CreateImmutableTagRulesRequest
- type CreateImmutableTagRulesRequestParams
- type CreateImmutableTagRulesResponse
- type CreateImmutableTagRulesResponseParams
- type CreateInstanceCustomizedDomainRequest
- type CreateInstanceCustomizedDomainRequestParams
- type CreateInstanceCustomizedDomainResponse
- type CreateInstanceCustomizedDomainResponseParams
- type CreateInstanceRequest
- type CreateInstanceRequestParams
- type CreateInstanceResponse
- type CreateInstanceResponseParams
- type CreateInstanceTokenRequest
- type CreateInstanceTokenRequestParams
- type CreateInstanceTokenResponse
- type CreateInstanceTokenResponseParams
- type CreateMultipleSecurityPolicyRequest
- type CreateMultipleSecurityPolicyRequestParams
- type CreateMultipleSecurityPolicyResponse
- type CreateMultipleSecurityPolicyResponseParams
- type CreateNamespaceRequest
- type CreateNamespaceRequestParams
- type CreateNamespaceResponse
- type CreateNamespaceResponseParams
- type CreateReplicationInstanceRequest
- type CreateReplicationInstanceRequestParams
- type CreateReplicationInstanceResponse
- type CreateReplicationInstanceResponseParams
- type CreateRepositoryRequest
- type CreateRepositoryRequestParams
- type CreateRepositoryResponse
- type CreateRepositoryResponseParams
- type CreateSecurityPolicyRequest
- type CreateSecurityPolicyRequestParams
- type CreateSecurityPolicyResponse
- type CreateSecurityPolicyResponseParams
- type CreateServiceAccountRequest
- type CreateServiceAccountRequestParams
- type CreateServiceAccountResponse
- type CreateServiceAccountResponseParams
- type CreateSignaturePolicyRequest
- type CreateSignaturePolicyRequestParams
- type CreateSignaturePolicyResponse
- type CreateSignaturePolicyResponseParams
- type CreateSignatureRequest
- type CreateSignatureRequestParams
- type CreateSignatureResponse
- type CreateSignatureResponseParams
- type CreateTagRetentionExecutionRequest
- type CreateTagRetentionExecutionRequestParams
- type CreateTagRetentionExecutionResponse
- type CreateTagRetentionExecutionResponseParams
- type CreateTagRetentionRuleRequest
- type CreateTagRetentionRuleRequestParams
- type CreateTagRetentionRuleResponse
- type CreateTagRetentionRuleResponseParams
- type CreateWebhookTriggerRequest
- type CreateWebhookTriggerRequestParams
- type CreateWebhookTriggerResponse
- type CreateWebhookTriggerResponseParams
- type CustomAccount
- type CustomizedDomainInfo
- type DeleteCustomAccountRequest
- type DeleteCustomAccountRequestParams
- type DeleteCustomAccountResponse
- type DeleteCustomAccountResponseParams
- type DeleteImageAccelerateServiceRequest
- type DeleteImageAccelerateServiceRequestParams
- type DeleteImageAccelerateServiceResponse
- type DeleteImageAccelerateServiceResponseParams
- type DeleteImageRequest
- type DeleteImageRequestParams
- type DeleteImageResponse
- type DeleteImageResponseParams
- type DeleteImmutableTagRulesRequest
- type DeleteImmutableTagRulesRequestParams
- type DeleteImmutableTagRulesResponse
- type DeleteImmutableTagRulesResponseParams
- type DeleteInstanceCustomizedDomainRequest
- type DeleteInstanceCustomizedDomainRequestParams
- type DeleteInstanceCustomizedDomainResponse
- type DeleteInstanceCustomizedDomainResponseParams
- type DeleteInstanceRequest
- type DeleteInstanceRequestParams
- type DeleteInstanceResponse
- type DeleteInstanceResponseParams
- type DeleteInstanceTokenRequest
- type DeleteInstanceTokenRequestParams
- type DeleteInstanceTokenResponse
- type DeleteInstanceTokenResponseParams
- type DeleteMultipleSecurityPolicyRequest
- type DeleteMultipleSecurityPolicyRequestParams
- type DeleteMultipleSecurityPolicyResponse
- type DeleteMultipleSecurityPolicyResponseParams
- type DeleteNamespaceRequest
- type DeleteNamespaceRequestParams
- type DeleteNamespaceResponse
- type DeleteNamespaceResponseParams
- type DeleteReplicationInstanceRequest
- type DeleteReplicationInstanceRequestParams
- type DeleteReplicationInstanceResponse
- type DeleteReplicationInstanceResponseParams
- type DeleteRepositoryRequest
- type DeleteRepositoryRequestParams
- type DeleteRepositoryResponse
- type DeleteRepositoryResponseParams
- type DeleteRepositoryTagsRequest
- type DeleteRepositoryTagsRequestParams
- type DeleteRepositoryTagsResponse
- type DeleteRepositoryTagsResponseParams
- type DeleteSecurityPolicyRequest
- type DeleteSecurityPolicyRequestParams
- type DeleteSecurityPolicyResponse
- type DeleteSecurityPolicyResponseParams
- type DeleteServiceAccountRequest
- type DeleteServiceAccountRequestParams
- type DeleteServiceAccountResponse
- type DeleteServiceAccountResponseParams
- type DeleteSignaturePolicyRequest
- type DeleteSignaturePolicyRequestParams
- type DeleteSignaturePolicyResponse
- type DeleteSignaturePolicyResponseParams
- type DeleteTagRetentionRuleRequest
- type DeleteTagRetentionRuleRequestParams
- type DeleteTagRetentionRuleResponse
- type DeleteTagRetentionRuleResponseParams
- type DeleteWebhookTriggerRequest
- type DeleteWebhookTriggerRequestParams
- type DeleteWebhookTriggerResponse
- type DeleteWebhookTriggerResponseParams
- type DescribeChartDownloadInfoRequest
- type DescribeChartDownloadInfoRequestParams
- type DescribeChartDownloadInfoResponse
- type DescribeChartDownloadInfoResponseParams
- type DescribeCustomAccountsRequest
- type DescribeCustomAccountsRequestParams
- type DescribeCustomAccountsResponse
- type DescribeCustomAccountsResponseParams
- type DescribeExternalEndpointStatusRequest
- type DescribeExternalEndpointStatusRequestParams
- type DescribeExternalEndpointStatusResponse
- type DescribeExternalEndpointStatusResponseParams
- type DescribeGCJobsRequest
- type DescribeGCJobsRequestParams
- type DescribeGCJobsResponse
- type DescribeGCJobsResponseParams
- type DescribeImageAccelerateServiceRequest
- type DescribeImageAccelerateServiceRequestParams
- type DescribeImageAccelerateServiceResponse
- type DescribeImageAccelerateServiceResponseParams
- type DescribeImageManifestsRequest
- type DescribeImageManifestsRequestParams
- type DescribeImageManifestsResponse
- type DescribeImageManifestsResponseParams
- type DescribeImagesRequest
- type DescribeImagesRequestParams
- type DescribeImagesResponse
- type DescribeImagesResponseParams
- type DescribeImmutableTagRulesRequest
- type DescribeImmutableTagRulesRequestParams
- type DescribeImmutableTagRulesResponse
- type DescribeImmutableTagRulesResponseParams
- type DescribeInstanceAllNamespacesRequest
- type DescribeInstanceAllNamespacesRequestParams
- type DescribeInstanceAllNamespacesResponse
- type DescribeInstanceAllNamespacesResponseParams
- type DescribeInstanceCustomizedDomainRequest
- type DescribeInstanceCustomizedDomainRequestParams
- type DescribeInstanceCustomizedDomainResponse
- type DescribeInstanceCustomizedDomainResponseParams
- type DescribeInstanceStatusRequest
- type DescribeInstanceStatusRequestParams
- type DescribeInstanceStatusResponse
- type DescribeInstanceStatusResponseParams
- type DescribeInstanceTokenRequest
- type DescribeInstanceTokenRequestParams
- type DescribeInstanceTokenResponse
- type DescribeInstanceTokenResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeInternalEndpointsRequest
- type DescribeInternalEndpointsRequestParams
- type DescribeInternalEndpointsResponse
- type DescribeInternalEndpointsResponseParams
- type DescribeNamespacesRequest
- type DescribeNamespacesRequestParams
- type DescribeNamespacesResponse
- type DescribeNamespacesResponseParams
- type DescribeRegionsRequest
- type DescribeRegionsRequestParams
- type DescribeRegionsResponse
- type DescribeRegionsResponseParams
- 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 DescribeRepositoriesRequest
- type DescribeRepositoriesRequestParams
- type DescribeRepositoriesResponse
- type DescribeRepositoriesResponseParams
- type DescribeSecurityPoliciesRequest
- type DescribeSecurityPoliciesRequestParams
- type DescribeSecurityPoliciesResponse
- type DescribeSecurityPoliciesResponseParams
- type DescribeServiceAccountsRequest
- type DescribeServiceAccountsRequestParams
- type DescribeServiceAccountsResponse
- type DescribeServiceAccountsResponseParams
- type DescribeTagRetentionExecutionRequest
- type DescribeTagRetentionExecutionRequestParams
- type DescribeTagRetentionExecutionResponse
- type DescribeTagRetentionExecutionResponseParams
- type DescribeTagRetentionExecutionTaskRequest
- type DescribeTagRetentionExecutionTaskRequestParams
- type DescribeTagRetentionExecutionTaskResponse
- type DescribeTagRetentionExecutionTaskResponseParams
- type DescribeTagRetentionRulesRequest
- type DescribeTagRetentionRulesRequestParams
- type DescribeTagRetentionRulesResponse
- type DescribeTagRetentionRulesResponseParams
- type DescribeWebhookTriggerLogRequest
- type DescribeWebhookTriggerLogRequestParams
- type DescribeWebhookTriggerLogResponse
- type DescribeWebhookTriggerLogResponseParams
- type DescribeWebhookTriggerRequest
- type DescribeWebhookTriggerRequestParams
- type DescribeWebhookTriggerResponse
- type DescribeWebhookTriggerResponseParams
- type DownloadHelmChartRequest
- type DownloadHelmChartRequestParams
- type DownloadHelmChartResponse
- type DownloadHelmChartResponseParams
- type Filter
- type GCJobInfo
- type Header
- type ImmutableTagRule
- type KeyValueString
- type ManageExternalEndpointRequest
- type ManageExternalEndpointRequestParams
- type ManageExternalEndpointResponse
- type ManageExternalEndpointResponseParams
- type ManageInternalEndpointRequest
- type ManageInternalEndpointRequestParams
- type ManageInternalEndpointResponse
- type ManageInternalEndpointResponseParams
- type ManageReplicationRequest
- type ManageReplicationRequestParams
- type ManageReplicationResponse
- type ManageReplicationResponseParams
- type ModifyCustomAccountRequest
- type ModifyCustomAccountRequestParams
- type ModifyCustomAccountResponse
- type ModifyCustomAccountResponseParams
- type ModifyImmutableTagRulesRequest
- type ModifyImmutableTagRulesRequestParams
- type ModifyImmutableTagRulesResponse
- type ModifyImmutableTagRulesResponseParams
- type ModifyInstanceRequest
- type ModifyInstanceRequestParams
- type ModifyInstanceResponse
- type ModifyInstanceResponseParams
- type ModifyInstanceTokenRequest
- type ModifyInstanceTokenRequestParams
- type ModifyInstanceTokenResponse
- type ModifyInstanceTokenResponseParams
- type ModifyNamespaceRequest
- type ModifyNamespaceRequestParams
- type ModifyNamespaceResponse
- type ModifyNamespaceResponseParams
- type ModifyRepositoryRequest
- type ModifyRepositoryRequestParams
- type ModifyRepositoryResponse
- type ModifyRepositoryResponseParams
- type ModifySecurityPolicyRequest
- type ModifySecurityPolicyRequestParams
- type ModifySecurityPolicyResponse
- type ModifySecurityPolicyResponseParams
- type ModifyServiceAccountRequest
- type ModifyServiceAccountRequestParams
- type ModifyServiceAccountResponse
- type ModifyServiceAccountResponseParams
- type ModifyTagRetentionRuleRequest
- type ModifyTagRetentionRuleRequestParams
- type ModifyTagRetentionRuleResponse
- type ModifyTagRetentionRuleResponseParams
- type ModifyWebhookTriggerRequest
- type ModifyWebhookTriggerRequestParams
- type ModifyWebhookTriggerResponse
- type ModifyWebhookTriggerResponseParams
- type PeerReplicationOption
- type Permission
- type Region
- type Registry
- type RegistryChargePrepaid
- type RegistryCondition
- type RegistryStatus
- type RenewInstanceRequest
- type RenewInstanceRequestParams
- type RenewInstanceResponse
- type RenewInstanceResponseParams
- type ReplicationFilter
- type ReplicationLog
- type ReplicationRegistry
- type ReplicationRule
- type RetentionExecution
- type RetentionPolicy
- type RetentionRule
- type RetentionTask
- type Schedule
- type SecurityPolicy
- type ServiceAccount
- type Tag
- type TagSpecification
- type TaskDetail
- type TcrImageInfo
- type TcrInstanceToken
- type TcrNamespaceInfo
- type TcrRepositoryInfo
- type WebhookTarget
- type WebhookTrigger
- type WebhookTriggerLog
Constants ¶
const ( // CAM signature/authentication error AUTHFAILURE = "AuthFailure" // Operation failed FAILEDOPERATION = "FailedOperation" // Database error FAILEDOPERATION_DBERROR = "FailedOperation.DbError" // Dependency exception. FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" // A null is returned for `Core`. FAILEDOPERATION_EMPTYCOREBODY = "FailedOperation.EmptyCoreBody" // An error occurred while obtaining the database data. FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" // Invalid request header. FAILEDOPERATION_ERRORTCRINVALIDMEDIATYPE = "FailedOperation.ErrorTcrInvalidMediaType" // TCR instance resource conflict. FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" // No permission for TCR operation. FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" // An error occurs while obtaining the database data. FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" // An error occurred while obtaining the security group policy. FAILEDOPERATION_GETSECURITYPOLICYFAIL = "FailedOperation.GetSecurityPolicyFail" // An error occurs while obtaining TcrClient. FAILEDOPERATION_GETTCRCLIENT = "FailedOperation.GetTcrClient" // The operation is canceled. FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" // FAILEDOPERATION_PRECONDITIONFAILED = "FailedOperation.PreconditionFailed" // The transaction failed. FAILEDOPERATION_TRADEFAILED = "FailedOperation.TradeFailed" // Failed to verify the repository name. FAILEDOPERATION_VALIDATEREGISTRYNAMEFAIL = "FailedOperation.ValidateRegistryNameFail" // An error occurred while verifying available regions. FAILEDOPERATION_VALIDATESUPPORTEDREGIONFAIL = "FailedOperation.ValidateSupportedRegionFail" // 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. INVALIDPARAMETER_ERRORNAMEILLEGAL = "InvalidParameter.ErrorNameIllegal" // The instance name is reserved. INVALIDPARAMETER_ERRORNAMERESERVED = "InvalidParameter.ErrorNameReserved" // 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" // The replicated instance already exists. INVALIDPARAMETER_REPLICATIONEXISTS = "InvalidParameter.ReplicationExists" // 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" // Reached the upper limit of quota. OPERATIONDENIED_QUOTAOVERLIMIT = "OperationDenied.QuotaOverLimit" // Exceptional instance status. RESOURCEINSUFFICIENT_ERRORINSTANCENOTRUNNING = "ResourceInsufficient.ErrorInstanceNotRunning" // The VPC DNS resolution status is abnormal or the resolution is not deleted. RESOURCEINSUFFICIENT_ERRORVPCDNSSTATUS = "ResourceInsufficient.ErrorVpcDnsStatus" // 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 AccessVpc ¶
type AccessVpc struct { // VPC ID VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // Private network access status Status *string `json:"Status,omitnil" name:"Status"` // Private network access IP AccessIp *string `json:"AccessIp,omitnil" name:"AccessIp"` }
type CheckInstanceNameRequest ¶
type CheckInstanceNameRequest struct { *tchttp.BaseRequest // Name of the instance to be created RegistryName *string `json:"RegistryName,omitnil" name:"RegistryName"` }
func NewCheckInstanceNameRequest ¶
func NewCheckInstanceNameRequest() (request *CheckInstanceNameRequest)
func (*CheckInstanceNameRequest) FromJsonString ¶
func (r *CheckInstanceNameRequest) 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 (*CheckInstanceNameRequest) ToJsonString ¶
func (r *CheckInstanceNameRequest) ToJsonString() string
type CheckInstanceNameRequestParams ¶
type CheckInstanceNameRequestParams struct { // Name of the instance to be created RegistryName *string `json:"RegistryName,omitnil" name:"RegistryName"` }
Predefined struct for user
type CheckInstanceNameResponse ¶
type CheckInstanceNameResponse struct { *tchttp.BaseResponse Response *CheckInstanceNameResponseParams `json:"Response"` }
func NewCheckInstanceNameResponse ¶
func NewCheckInstanceNameResponse() (response *CheckInstanceNameResponse)
func (*CheckInstanceNameResponse) FromJsonString ¶
func (r *CheckInstanceNameResponse) 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 (*CheckInstanceNameResponse) ToJsonString ¶
func (r *CheckInstanceNameResponse) ToJsonString() string
type CheckInstanceNameResponseParams ¶
type CheckInstanceNameResponseParams struct { // Verification result. Valid values: true: Valid; false: Invalid. IsValidated *bool `json:"IsValidated,omitnil" name:"IsValidated"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CheckInstanceRequest ¶
type CheckInstanceRequest struct { *tchttp.BaseRequest // ID of the instance to be verified. RegistryId *string `json:"RegistryId,omitnil" 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,omitnil" 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,omitnil" name:"IsValidated"` // ID of the region where the instance is located. RegionId *uint64 `json:"RegionId,omitnil" name:"RegionId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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) CheckInstanceName ¶
func (c *Client) CheckInstanceName(request *CheckInstanceNameRequest) (response *CheckInstanceNameResponse, err error)
CheckInstanceName This API is used to check whether the name of the instance to be created meets the specifications.
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) CheckInstanceNameWithContext ¶
func (c *Client) CheckInstanceNameWithContext(ctx context.Context, request *CheckInstanceNameRequest) (response *CheckInstanceNameResponse, err error)
CheckInstanceName This API is used to check whether the name of the instance to be created meets the specifications.
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) CreateCustomAccount ¶
func (c *Client) CreateCustomAccount(request *CreateCustomAccountRequest) (response *CreateCustomAccountResponse, err error)
CreateCustomAccount This API is used to create a custom account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_QUOTAOVERLIMIT = "OperationDenied.QuotaOverLimit" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCustomAccountWithContext ¶
func (c *Client) CreateCustomAccountWithContext(ctx context.Context, request *CreateCustomAccountRequest) (response *CreateCustomAccountResponse, err error)
CreateCustomAccount This API is used to create a custom account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_QUOTAOVERLIMIT = "OperationDenied.QuotaOverLimit" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateImageAccelerationService ¶
func (c *Client) CreateImageAccelerationService(request *CreateImageAccelerationServiceRequest) (response *CreateImageAccelerationServiceResponse, err error)
CreateImageAccelerationService This API is used to create an image acceleration service.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateImageAccelerationServiceWithContext ¶
func (c *Client) CreateImageAccelerationServiceWithContext(ctx context.Context, request *CreateImageAccelerationServiceRequest) (response *CreateImageAccelerationServiceResponse, err error)
CreateImageAccelerationService This API is used to create an image acceleration service.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" 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_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
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_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateInstance ¶
func (c *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
CreateInstance This API is used to create an instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_TRADEFAILED = "FailedOperation.TradeFailed" FAILEDOPERATION_VALIDATEREGISTRYNAMEFAIL = "FailedOperation.ValidateRegistryNameFail" FAILEDOPERATION_VALIDATESUPPORTEDREGIONFAIL = "FailedOperation.ValidateSupportedRegionFail" 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_ERRORNAMEILLEGAL = "InvalidParameter.ErrorNameIllegal" INVALIDPARAMETER_ERRORNAMERESERVED = "InvalidParameter.ErrorNameReserved" INVALIDPARAMETER_ERRORREGISTRYNAME = "InvalidParameter.ErrorRegistryName" INVALIDPARAMETER_ERRORTAGOVERLIMIT = "InvalidParameter.ErrorTagOverLimit" INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_QUOTAOVERLIMIT = "OperationDenied.QuotaOverLimit" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateInstanceCustomizedDomain ¶
func (c *Client) CreateInstanceCustomizedDomain(request *CreateInstanceCustomizedDomainRequest) (response *CreateInstanceCustomizedDomainResponse, err error)
CreateInstanceCustomizedDomain This API is used to create a custom domain name.
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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateInstanceCustomizedDomainWithContext ¶
func (c *Client) CreateInstanceCustomizedDomainWithContext(ctx context.Context, request *CreateInstanceCustomizedDomainRequest) (response *CreateInstanceCustomizedDomainResponse, err error)
CreateInstanceCustomizedDomain This API is used to create a custom domain name.
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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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) CreateInstanceWithContext ¶
func (c *Client) CreateInstanceWithContext(ctx context.Context, request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
CreateInstance This API is used to create an instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_TRADEFAILED = "FailedOperation.TradeFailed" FAILEDOPERATION_VALIDATEREGISTRYNAMEFAIL = "FailedOperation.ValidateRegistryNameFail" FAILEDOPERATION_VALIDATESUPPORTEDREGIONFAIL = "FailedOperation.ValidateSupportedRegionFail" 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_ERRORNAMEILLEGAL = "InvalidParameter.ErrorNameIllegal" INVALIDPARAMETER_ERRORNAMERESERVED = "InvalidParameter.ErrorNameReserved" INVALIDPARAMETER_ERRORREGISTRYNAME = "InvalidParameter.ErrorRegistryName" INVALIDPARAMETER_ERRORTAGOVERLIMIT = "InvalidParameter.ErrorTagOverLimit" INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_QUOTAOVERLIMIT = "OperationDenied.QuotaOverLimit" 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:
FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_GETTCRCLIENT = "FailedOperation.GetTcrClient" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" 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:
FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_GETTCRCLIENT = "FailedOperation.GetTcrClient" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateNamespace ¶
func (c *Client) CreateNamespace(request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)
CreateNamespace This API is used to create a namespace in an Enterprise Edition instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" FAILEDOPERATION_ERRORTCRINVALIDMEDIATYPE = "FailedOperation.ErrorTcrInvalidMediaType" FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" 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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateNamespaceWithContext ¶
func (c *Client) CreateNamespaceWithContext(ctx context.Context, request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)
CreateNamespace This API is used to create a namespace in an Enterprise Edition instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" FAILEDOPERATION_ERRORTCRINVALIDMEDIATYPE = "FailedOperation.ErrorTcrInvalidMediaType" FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" 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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" 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:
FAILEDOPERATION = "FailedOperation" 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_REPLICATIONEXISTS = "InvalidParameter.ReplicationExists" INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" 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:
FAILEDOPERATION = "FailedOperation" 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_REPLICATIONEXISTS = "InvalidParameter.ReplicationExists" INVALIDPARAMETER_UNSUPPORTEDREGION = "InvalidParameter.UnsupportedRegion" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateRepository ¶
func (c *Client) CreateRepository(request *CreateRepositoryRequest) (response *CreateRepositoryResponse, err error)
CreateRepository This API is used to create an image repository in an Enterprise Edition instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateRepositoryWithContext ¶
func (c *Client) CreateRepositoryWithContext(ctx context.Context, request *CreateRepositoryRequest) (response *CreateRepositoryResponse, err error)
CreateRepository This API is used to create an image repository in an Enterprise Edition instance.
error code that may be returned:
FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSecurityPolicy ¶
func (c *Client) CreateSecurityPolicy(request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)
CreateSecurityPolicy This API is used to create a public network access allowlist policy for an instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSecurityPolicyWithContext ¶
func (c *Client) CreateSecurityPolicyWithContext(ctx context.Context, request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)
CreateSecurityPolicy This API is used to create a public network access allowlist policy for an instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateServiceAccount ¶
func (c *Client) CreateServiceAccount(request *CreateServiceAccountRequest) (response *CreateServiceAccountResponse, err error)
CreateServiceAccount This API is used to create a service account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_QUOTAOVERLIMIT = "OperationDenied.QuotaOverLimit" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateServiceAccountWithContext ¶
func (c *Client) CreateServiceAccountWithContext(ctx context.Context, request *CreateServiceAccountRequest) (response *CreateServiceAccountResponse, err error)
CreateServiceAccount This API is used to create a service account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_QUOTAOVERLIMIT = "OperationDenied.QuotaOverLimit" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSignature ¶
func (c *Client) CreateSignature(request *CreateSignatureRequest) (response *CreateSignatureResponse, err error)
CreateSignature This API is used to create a signature for an image tag.
error code that may be returned:
FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSignaturePolicy ¶
func (c *Client) CreateSignaturePolicy(request *CreateSignaturePolicyRequest) (response *CreateSignaturePolicyResponse, err error)
CreateSignaturePolicy This API is used to create an image signature policy.
error code that may be returned:
INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSignaturePolicyWithContext ¶
func (c *Client) CreateSignaturePolicyWithContext(ctx context.Context, request *CreateSignaturePolicyRequest) (response *CreateSignaturePolicyResponse, err error)
CreateSignaturePolicy This API is used to create an image signature policy.
error code that may be returned:
INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSignatureWithContext ¶
func (c *Client) CreateSignatureWithContext(ctx context.Context, request *CreateSignatureRequest) (response *CreateSignatureResponse, err error)
CreateSignature This API is used to create a signature for an image tag.
error code that may be returned:
FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTagRetentionExecution ¶
func (c *Client) CreateTagRetentionExecution(request *CreateTagRetentionExecutionRequest) (response *CreateTagRetentionExecutionResponse, err error)
CreateTagRetentionExecution This API is used to execute tag retention manually.
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" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTagRetentionExecutionWithContext ¶
func (c *Client) CreateTagRetentionExecutionWithContext(ctx context.Context, request *CreateTagRetentionExecutionRequest) (response *CreateTagRetentionExecutionResponse, err error)
CreateTagRetentionExecution This API is used to execute tag retention manually.
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" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTagRetentionRule ¶
func (c *Client) CreateTagRetentionRule(request *CreateTagRetentionRuleRequest) (response *CreateTagRetentionRuleResponse, err error)
CreateTagRetentionRule This API is used to create a tag retention rule.
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" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTagRetentionRuleWithContext ¶
func (c *Client) CreateTagRetentionRuleWithContext(ctx context.Context, request *CreateTagRetentionRuleRequest) (response *CreateTagRetentionRuleResponse, err error)
CreateTagRetentionRule This API is used to create a tag retention rule.
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" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateWebhookTrigger ¶
func (c *Client) CreateWebhookTrigger(request *CreateWebhookTriggerRequest) (response *CreateWebhookTriggerResponse, err error)
CreateWebhookTrigger This API is used to create a trigger.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) CreateWebhookTriggerWithContext ¶
func (c *Client) CreateWebhookTriggerWithContext(ctx context.Context, request *CreateWebhookTriggerRequest) (response *CreateWebhookTriggerResponse, err error)
CreateWebhookTrigger This API is used to create a trigger.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DeleteCustomAccount ¶
func (c *Client) DeleteCustomAccount(request *DeleteCustomAccountRequest) (response *DeleteCustomAccountResponse, err error)
DeleteCustomAccount This API is used to delete a custom account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteCustomAccountWithContext ¶
func (c *Client) DeleteCustomAccountWithContext(ctx context.Context, request *DeleteCustomAccountRequest) (response *DeleteCustomAccountResponse, err error)
DeleteCustomAccount This API is used to delete a custom account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteImage ¶
func (c *Client) DeleteImage(request *DeleteImageRequest) (response *DeleteImageResponse, err error)
DeleteImage This API is used to delete the specified image.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteImageAccelerateService ¶
func (c *Client) DeleteImageAccelerateService(request *DeleteImageAccelerateServiceRequest) (response *DeleteImageAccelerateServiceResponse, err error)
DeleteImageAccelerateService This API is used to delete an image acceleration service.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteImageAccelerateServiceWithContext ¶
func (c *Client) DeleteImageAccelerateServiceWithContext(ctx context.Context, request *DeleteImageAccelerateServiceRequest) (response *DeleteImageAccelerateServiceResponse, err error)
DeleteImageAccelerateService This API is used to delete an image acceleration service.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteImageWithContext ¶
func (c *Client) DeleteImageWithContext(ctx context.Context, request *DeleteImageRequest) (response *DeleteImageResponse, err error)
DeleteImage This API is used to delete the specified image.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" 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" RESOURCENOTFOUND = "ResourceNotFound"
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" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteInstance ¶
func (c *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
DeleteInstance This API is used to delete a TCR Enterprise Edition instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteInstanceCustomizedDomain ¶
func (c *Client) DeleteInstanceCustomizedDomain(request *DeleteInstanceCustomizedDomainRequest) (response *DeleteInstanceCustomizedDomainResponse, err error)
DeleteInstanceCustomizedDomain This API is used to delete a custom domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" 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" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteInstanceCustomizedDomainWithContext ¶
func (c *Client) DeleteInstanceCustomizedDomainWithContext(ctx context.Context, request *DeleteInstanceCustomizedDomainRequest) (response *DeleteInstanceCustomizedDomainResponse, err error)
DeleteInstanceCustomizedDomain This API is used to delete a custom domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" 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" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteInstanceToken ¶
func (c *Client) DeleteInstanceToken(request *DeleteInstanceTokenRequest) (response *DeleteInstanceTokenResponse, err error)
DeleteInstanceToken This API is used to delete a long-term access credential.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteInstanceTokenWithContext ¶
func (c *Client) DeleteInstanceTokenWithContext(ctx context.Context, request *DeleteInstanceTokenRequest) (response *DeleteInstanceTokenResponse, err error)
DeleteInstanceToken This API is used to delete a long-term access credential.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteInstanceWithContext ¶
func (c *Client) DeleteInstanceWithContext(ctx context.Context, request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
DeleteInstance This API is used to delete a TCR Enterprise Edition instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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) DeleteNamespace ¶
func (c *Client) DeleteNamespace(request *DeleteNamespaceRequest) (response *DeleteNamespaceResponse, err error)
DeleteNamespace This API is used to delete a namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_PRECONDITIONFAILED = "FailedOperation.PreconditionFailed" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteNamespaceWithContext ¶
func (c *Client) DeleteNamespaceWithContext(ctx context.Context, request *DeleteNamespaceRequest) (response *DeleteNamespaceResponse, err error)
DeleteNamespace This API is used to delete a namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_PRECONDITIONFAILED = "FailedOperation.PreconditionFailed" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteReplicationInstance ¶
func (c *Client) DeleteReplicationInstance(request *DeleteReplicationInstanceRequest) (response *DeleteReplicationInstanceResponse, err error)
DeleteReplicationInstance This API is used to delete a replica instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteReplicationInstanceWithContext ¶
func (c *Client) DeleteReplicationInstanceWithContext(ctx context.Context, request *DeleteReplicationInstanceRequest) (response *DeleteReplicationInstanceResponse, err error)
DeleteReplicationInstance This API is used to delete a replica instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRepository ¶
func (c *Client) DeleteRepository(request *DeleteRepositoryRequest) (response *DeleteRepositoryResponse, err error)
DeleteRepository This API is used to delete an image repository.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRepositoryTags ¶
func (c *Client) DeleteRepositoryTags(request *DeleteRepositoryTagsRequest) (response *DeleteRepositoryTagsResponse, err error)
DeleteRepositoryTags This API is used to batch delete repository tags in an Enterprise Edition instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRepositoryTagsWithContext ¶
func (c *Client) DeleteRepositoryTagsWithContext(ctx context.Context, request *DeleteRepositoryTagsRequest) (response *DeleteRepositoryTagsResponse, err error)
DeleteRepositoryTags This API is used to batch delete repository tags in an Enterprise Edition instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRepositoryWithContext ¶
func (c *Client) DeleteRepositoryWithContext(ctx context.Context, request *DeleteRepositoryRequest) (response *DeleteRepositoryResponse, err error)
DeleteRepository This API is used to delete an image repository.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteSecurityPolicy ¶
func (c *Client) DeleteSecurityPolicy(request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)
DeleteSecurityPolicy This API is used to delete a public network access allow policy.
Note: When both `PolicyIndex` and `CidrBlock` are specified, `CidrBlock` takes the higher priority
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteSecurityPolicyWithContext ¶
func (c *Client) DeleteSecurityPolicyWithContext(ctx context.Context, request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)
DeleteSecurityPolicy This API is used to delete a public network access allow policy.
Note: When both `PolicyIndex` and `CidrBlock` are specified, `CidrBlock` takes the higher priority
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteServiceAccount ¶
func (c *Client) DeleteServiceAccount(request *DeleteServiceAccountRequest) (response *DeleteServiceAccountResponse, err error)
DeleteServiceAccount This API is used to delete a service account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteServiceAccountWithContext ¶
func (c *Client) DeleteServiceAccountWithContext(ctx context.Context, request *DeleteServiceAccountRequest) (response *DeleteServiceAccountResponse, err error)
DeleteServiceAccount This API is used to delete a service account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteSignaturePolicy ¶
func (c *Client) DeleteSignaturePolicy(request *DeleteSignaturePolicyRequest) (response *DeleteSignaturePolicyResponse, err error)
DeleteSignaturePolicy This API is used to delete a namespace signing policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteSignaturePolicyWithContext ¶
func (c *Client) DeleteSignaturePolicyWithContext(ctx context.Context, request *DeleteSignaturePolicyRequest) (response *DeleteSignaturePolicyResponse, err error)
DeleteSignaturePolicy This API is used to delete a namespace signing policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteTagRetentionRule ¶
func (c *Client) DeleteTagRetentionRule(request *DeleteTagRetentionRuleRequest) (response *DeleteTagRetentionRuleResponse, err error)
DeleteTagRetentionRule This API is used to delete a tag retention rule.
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_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteTagRetentionRuleWithContext ¶
func (c *Client) DeleteTagRetentionRuleWithContext(ctx context.Context, request *DeleteTagRetentionRuleRequest) (response *DeleteTagRetentionRuleResponse, err error)
DeleteTagRetentionRule This API is used to delete a tag retention rule.
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_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteWebhookTrigger ¶
func (c *Client) DeleteWebhookTrigger(request *DeleteWebhookTriggerRequest) (response *DeleteWebhookTriggerResponse, err error)
DeleteWebhookTrigger This API is used to delete a trigger.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DeleteWebhookTriggerWithContext ¶
func (c *Client) DeleteWebhookTriggerWithContext(ctx context.Context, request *DeleteWebhookTriggerRequest) (response *DeleteWebhookTriggerResponse, err error)
DeleteWebhookTrigger This API is used to delete a trigger.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DescribeChartDownloadInfo ¶
func (c *Client) DescribeChartDownloadInfo(request *DescribeChartDownloadInfoRequest) (response *DescribeChartDownloadInfoResponse, err error)
DescribeChartDownloadInfo This API is used to return the chart download information in an Enterprise Edition instance.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeChartDownloadInfoWithContext ¶
func (c *Client) DescribeChartDownloadInfoWithContext(ctx context.Context, request *DescribeChartDownloadInfoRequest) (response *DescribeChartDownloadInfoResponse, err error)
DescribeChartDownloadInfo This API is used to return the chart download information in an Enterprise Edition instance.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCustomAccounts ¶
func (c *Client) DescribeCustomAccounts(request *DescribeCustomAccountsRequest) (response *DescribeCustomAccountsResponse, err error)
DescribeCustomAccounts This API is used to query custom accounts.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCustomAccountsWithContext ¶
func (c *Client) DescribeCustomAccountsWithContext(ctx context.Context, request *DescribeCustomAccountsRequest) (response *DescribeCustomAccountsResponse, err error)
DescribeCustomAccounts This API is used to query custom accounts.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeExternalEndpointStatus ¶
func (c *Client) DescribeExternalEndpointStatus(request *DescribeExternalEndpointStatusRequest) (response *DescribeExternalEndpointStatusResponse, err error)
DescribeExternalEndpointStatus This API is used to query the public network access entry status of an instance.
error code that may be returned:
FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_GETTCRCLIENT = "FailedOperation.GetTcrClient" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeExternalEndpointStatusWithContext ¶
func (c *Client) DescribeExternalEndpointStatusWithContext(ctx context.Context, request *DescribeExternalEndpointStatusRequest) (response *DescribeExternalEndpointStatusResponse, err error)
DescribeExternalEndpointStatus This API is used to query the public network access entry status of an instance.
error code that may be returned:
FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_GETTCRCLIENT = "FailedOperation.GetTcrClient" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGCJobs ¶
func (c *Client) DescribeGCJobs(request *DescribeGCJobsRequest) (response *DescribeGCJobsResponse, err error)
DescribeGCJobs This API is used to query the last ten garbage collection (GC) records.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGCJobsWithContext ¶
func (c *Client) DescribeGCJobsWithContext(ctx context.Context, request *DescribeGCJobsRequest) (response *DescribeGCJobsResponse, err error)
DescribeGCJobs This API is used to query the last ten garbage collection (GC) records.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeImageAccelerateService ¶
func (c *Client) DescribeImageAccelerateService(request *DescribeImageAccelerateServiceRequest) (response *DescribeImageAccelerateServiceResponse, err error)
DescribeImageAccelerateService This API is used to query the status of an image acceleration service.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeImageAccelerateServiceWithContext ¶
func (c *Client) DescribeImageAccelerateServiceWithContext(ctx context.Context, request *DescribeImageAccelerateServiceRequest) (response *DescribeImageAccelerateServiceResponse, err error)
DescribeImageAccelerateService This API is used to query the status of an image acceleration service.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeImageManifests ¶
func (c *Client) DescribeImageManifests(request *DescribeImageManifestsRequest) (response *DescribeImageManifestsResponse, err error)
DescribeImageManifests This API is used to query the manifest information of a container image.
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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeImageManifestsWithContext ¶
func (c *Client) DescribeImageManifestsWithContext(ctx context.Context, request *DescribeImageManifestsRequest) (response *DescribeImageManifestsResponse, err error)
DescribeImageManifests This API is used to query the manifest information of a container image.
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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeImages ¶
func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
DescribeImages This API is used to query the list of image tags or the information of the specified container image.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" 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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DescribeImagesWithContext ¶
func (c *Client) DescribeImagesWithContext(ctx context.Context, request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
DescribeImages This API is used to query the list of image tags or the information of the specified container image.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" 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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
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_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" 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_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DescribeInstanceAllNamespaces ¶
func (c *Client) DescribeInstanceAllNamespaces(request *DescribeInstanceAllNamespacesRequest) (response *DescribeInstanceAllNamespacesResponse, err error)
DescribeInstanceAllNamespaces This API is used to query the list of all namespaces in an instance.
error code that may be returned:
FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeInstanceAllNamespacesWithContext ¶
func (c *Client) DescribeInstanceAllNamespacesWithContext(ctx context.Context, request *DescribeInstanceAllNamespacesRequest) (response *DescribeInstanceAllNamespacesResponse, err error)
DescribeInstanceAllNamespaces This API is used to query the list of all namespaces in an instance.
error code that may be returned:
FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeInstanceCustomizedDomain ¶
func (c *Client) DescribeInstanceCustomizedDomain(request *DescribeInstanceCustomizedDomainRequest) (response *DescribeInstanceCustomizedDomainResponse, err error)
DescribeInstanceCustomizedDomain This API is used to query the list of custom domain names of an 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) DescribeInstanceCustomizedDomainWithContext ¶
func (c *Client) DescribeInstanceCustomizedDomainWithContext(ctx context.Context, request *DescribeInstanceCustomizedDomainRequest) (response *DescribeInstanceCustomizedDomainResponse, err error)
DescribeInstanceCustomizedDomain This API is used to query the list of custom domain names of an 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) DescribeInstanceStatus ¶
func (c *Client) DescribeInstanceStatus(request *DescribeInstanceStatusRequest) (response *DescribeInstanceStatusResponse, err error)
DescribeInstanceStatus This API is used to query the current status and process information of an 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) DescribeInstanceStatusWithContext ¶
func (c *Client) DescribeInstanceStatusWithContext(ctx context.Context, request *DescribeInstanceStatusRequest) (response *DescribeInstanceStatusResponse, err error)
DescribeInstanceStatus This API is used to query the current status and process information of an 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) DescribeInstanceToken ¶
func (c *Client) DescribeInstanceToken(request *DescribeInstanceTokenRequest) (response *DescribeInstanceTokenResponse, err error)
DescribeInstanceToken This API is used to query the information of long-term access credentials.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeInstanceTokenWithContext ¶
func (c *Client) DescribeInstanceTokenWithContext(ctx context.Context, request *DescribeInstanceTokenRequest) (response *DescribeInstanceTokenResponse, err error)
DescribeInstanceToken This API is used to query the information of long-term access credentials.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to query the instance information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT_ERRORINSTANCENOTRUNNING = "ResourceInsufficient.ErrorInstanceNotRunning" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeInstancesWithContext ¶
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to query the instance information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT_ERRORINSTANCENOTRUNNING = "ResourceInsufficient.ErrorInstanceNotRunning" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeInternalEndpoints ¶
func (c *Client) DescribeInternalEndpoints(request *DescribeInternalEndpointsRequest) (response *DescribeInternalEndpointsResponse, err error)
DescribeInternalEndpoints This API is used to query the VPC URLs for private network access to an 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) DescribeInternalEndpointsWithContext ¶
func (c *Client) DescribeInternalEndpointsWithContext(ctx context.Context, request *DescribeInternalEndpointsRequest) (response *DescribeInternalEndpointsResponse, err error)
DescribeInternalEndpoints This API is used to query the VPC URLs for private network access to an 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) DescribeNamespaces ¶
func (c *Client) DescribeNamespaces(request *DescribeNamespacesRequest) (response *DescribeNamespacesResponse, err error)
DescribeNamespaces This API is used to query the namespace list or the information of the specified namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" 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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeNamespacesWithContext ¶
func (c *Client) DescribeNamespacesWithContext(ctx context.Context, request *DescribeNamespacesRequest) (response *DescribeNamespacesResponse, err error)
DescribeNamespaces This API is used to query the namespace list or the information of the specified namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DEPENDENCEERROR = "FailedOperation.DependenceError" FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_ERRORTCRRESOURCECONFLICT = "FailedOperation.ErrorTcrResourceConflict" FAILEDOPERATION_ERRORTCRUNAUTHORIZED = "FailedOperation.ErrorTcrUnauthorized" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_OPERATIONCANCEL = "FailedOperation.OperationCancel" 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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRegions ¶
func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to get the available regions in TCR.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRegionsWithContext ¶
func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to get the available regions in TCR.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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) DescribeRepositories ¶
func (c *Client) DescribeRepositories(request *DescribeRepositoriesRequest) (response *DescribeRepositoriesResponse, err error)
DescribeRepositories This API is used to query the image repository list or the information of the specified image repository.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EMPTYCOREBODY = "FailedOperation.EmptyCoreBody" 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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRepositoriesWithContext ¶
func (c *Client) DescribeRepositoriesWithContext(ctx context.Context, request *DescribeRepositoriesRequest) (response *DescribeRepositoriesResponse, err error)
DescribeRepositories This API is used to query the image repository list or the information of the specified image repository.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EMPTYCOREBODY = "FailedOperation.EmptyCoreBody" 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" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSecurityPolicies ¶
func (c *Client) DescribeSecurityPolicies(request *DescribeSecurityPoliciesRequest) (response *DescribeSecurityPoliciesResponse, err error)
DescribeSecurityPolicies This API is used to query the public network access allowlist policies of an instance.
error code that may be returned:
FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_GETSECURITYPOLICYFAIL = "FailedOperation.GetSecurityPolicyFail" FAILEDOPERATION_GETTCRCLIENT = "FailedOperation.GetTcrClient" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSecurityPoliciesWithContext ¶
func (c *Client) DescribeSecurityPoliciesWithContext(ctx context.Context, request *DescribeSecurityPoliciesRequest) (response *DescribeSecurityPoliciesResponse, err error)
DescribeSecurityPolicies This API is used to query the public network access allowlist policies of an instance.
error code that may be returned:
FAILEDOPERATION_ERRORGETDBDATAERROR = "FailedOperation.ErrorGetDBDataError" FAILEDOPERATION_GETDBDATAERROR = "FailedOperation.GetDBDataError" FAILEDOPERATION_GETSECURITYPOLICYFAIL = "FailedOperation.GetSecurityPolicyFail" FAILEDOPERATION_GETTCRCLIENT = "FailedOperation.GetTcrClient" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeServiceAccounts ¶
func (c *Client) DescribeServiceAccounts(request *DescribeServiceAccountsRequest) (response *DescribeServiceAccountsResponse, err error)
DescribeServiceAccounts This API is used to query service accounts.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeServiceAccountsWithContext ¶
func (c *Client) DescribeServiceAccountsWithContext(ctx context.Context, request *DescribeServiceAccountsRequest) (response *DescribeServiceAccountsResponse, err error)
DescribeServiceAccounts This API is used to query service accounts.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTagRetentionExecution ¶
func (c *Client) DescribeTagRetentionExecution(request *DescribeTagRetentionExecutionRequest) (response *DescribeTagRetentionExecutionResponse, err error)
DescribeTagRetentionExecution This API is used to query tag retention execution records.
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_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTagRetentionExecutionTask ¶
func (c *Client) DescribeTagRetentionExecutionTask(request *DescribeTagRetentionExecutionTaskRequest) (response *DescribeTagRetentionExecutionTaskResponse, err error)
DescribeTagRetentionExecutionTask This API is used to query tag retention execution tasks.
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" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTagRetentionExecutionTaskWithContext ¶
func (c *Client) DescribeTagRetentionExecutionTaskWithContext(ctx context.Context, request *DescribeTagRetentionExecutionTaskRequest) (response *DescribeTagRetentionExecutionTaskResponse, err error)
DescribeTagRetentionExecutionTask This API is used to query tag retention execution tasks.
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" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTagRetentionExecutionWithContext ¶
func (c *Client) DescribeTagRetentionExecutionWithContext(ctx context.Context, request *DescribeTagRetentionExecutionRequest) (response *DescribeTagRetentionExecutionResponse, err error)
DescribeTagRetentionExecution This API is used to query tag retention execution records.
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_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTagRetentionRules ¶
func (c *Client) DescribeTagRetentionRules(request *DescribeTagRetentionRulesRequest) (response *DescribeTagRetentionRulesResponse, err error)
DescribeTagRetentionRules This API is used to query tag retention rules.
error code that may be returned:
FAILEDOPERATION_EMPTYCOREBODY = "FailedOperation.EmptyCoreBody" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRCONFLICT = "InternalError.ErrConflict" INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTagRetentionRulesWithContext ¶
func (c *Client) DescribeTagRetentionRulesWithContext(ctx context.Context, request *DescribeTagRetentionRulesRequest) (response *DescribeTagRetentionRulesResponse, err error)
DescribeTagRetentionRules This API is used to query tag retention rules.
error code that may be returned:
FAILEDOPERATION_EMPTYCOREBODY = "FailedOperation.EmptyCoreBody" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRCONFLICT = "InternalError.ErrConflict" INTERNALERROR_ERRNOTEXIST = "InternalError.ErrNotExist" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeWebhookTrigger ¶
func (c *Client) DescribeWebhookTrigger(request *DescribeWebhookTriggerRequest) (response *DescribeWebhookTriggerResponse, err error)
DescribeWebhookTrigger This API is used to query triggers.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DescribeWebhookTriggerLog ¶
func (c *Client) DescribeWebhookTriggerLog(request *DescribeWebhookTriggerLogRequest) (response *DescribeWebhookTriggerLogResponse, err error)
DescribeWebhookTriggerLog This API is used to get trigger logs.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DescribeWebhookTriggerLogWithContext ¶
func (c *Client) DescribeWebhookTriggerLogWithContext(ctx context.Context, request *DescribeWebhookTriggerLogRequest) (response *DescribeWebhookTriggerLogResponse, err error)
DescribeWebhookTriggerLog This API is used to get trigger logs.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DescribeWebhookTriggerWithContext ¶
func (c *Client) DescribeWebhookTriggerWithContext(ctx context.Context, request *DescribeWebhookTriggerRequest) (response *DescribeWebhookTriggerResponse, err error)
DescribeWebhookTrigger This API is used to query triggers.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) DownloadHelmChart ¶
func (c *Client) DownloadHelmChart(request *DownloadHelmChartRequest) (response *DownloadHelmChartResponse, err error)
DownloadHelmChart This API is used to download a Helm chart in TCR.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DownloadHelmChartWithContext ¶
func (c *Client) DownloadHelmChartWithContext(ctx context.Context, request *DownloadHelmChartRequest) (response *DownloadHelmChartResponse, err error)
DownloadHelmChart This API is used to download a Helm chart in TCR.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ManageExternalEndpoint ¶
func (c *Client) ManageExternalEndpoint(request *ManageExternalEndpointRequest) (response *ManageExternalEndpointResponse, err error)
ManageExternalEndpoint This API is used to manage the public network access of an 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) ManageExternalEndpointWithContext ¶
func (c *Client) ManageExternalEndpointWithContext(ctx context.Context, request *ManageExternalEndpointRequest) (response *ManageExternalEndpointResponse, err error)
ManageExternalEndpoint This API is used to manage the public network access of an 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) ManageInternalEndpoint ¶
func (c *Client) ManageInternalEndpoint(request *ManageInternalEndpointRequest) (response *ManageInternalEndpointResponse, err error)
ManageInternalEndpoint This API is used to manage VPC URLs for private network access to an instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT_ERRORVPCDNSSTATUS = "ResourceInsufficient.ErrorVpcDnsStatus" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ManageInternalEndpointWithContext ¶
func (c *Client) ManageInternalEndpointWithContext(ctx context.Context, request *ManageInternalEndpointRequest) (response *ManageInternalEndpointResponse, err error)
ManageInternalEndpoint This API is used to manage VPC URLs for private network access to an instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORCONFLICT = "InternalError.ErrorConflict" INTERNALERROR_ERROROVERLIMIT = "InternalError.ErrorOverLimit" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT_ERRORVPCDNSSTATUS = "ResourceInsufficient.ErrorVpcDnsStatus" RESOURCENOTFOUND = "ResourceNotFound" 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) ModifyCustomAccount ¶
func (c *Client) ModifyCustomAccount(request *ModifyCustomAccountRequest) (response *ModifyCustomAccountResponse, err error)
ModifyCustomAccount This API is used to update a custom account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyCustomAccountWithContext ¶
func (c *Client) ModifyCustomAccountWithContext(ctx context.Context, request *ModifyCustomAccountRequest) (response *ModifyCustomAccountResponse, err error)
ModifyCustomAccount This API is used to update a custom account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter"
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) ModifyInstanceToken ¶
func (c *Client) ModifyInstanceToken(request *ModifyInstanceTokenRequest) (response *ModifyInstanceTokenResponse, err error)
ModifyInstanceToken This API is used to update the status of the specified long-term access credential in an instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyInstanceTokenWithContext ¶
func (c *Client) ModifyInstanceTokenWithContext(ctx context.Context, request *ModifyInstanceTokenRequest) (response *ModifyInstanceTokenResponse, err error)
ModifyInstanceToken This API is used to update the status of the specified long-term access credential in an instance.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_UNKNOWN = "InternalError.Unknown" INVALIDPARAMETER = "InvalidParameter" 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"
func (*Client) ModifyNamespace ¶
func (c *Client) ModifyNamespace(request *ModifyNamespaceRequest) (response *ModifyNamespaceResponse, err error)
ModifyNamespace This API is used to update the information of a namespace. Currently, only the namespace access level can be modified.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyNamespaceWithContext ¶
func (c *Client) ModifyNamespaceWithContext(ctx context.Context, request *ModifyNamespaceRequest) (response *ModifyNamespaceResponse, err error)
ModifyNamespace This API is used to update the information of a namespace. Currently, only the namespace access level can be modified.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyRepository ¶
func (c *Client) ModifyRepository(request *ModifyRepositoryRequest) (response *ModifyRepositoryResponse, err error)
ModifyRepository This API is used to update the information of an image repository. The repository description can be modified.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyRepositoryWithContext ¶
func (c *Client) ModifyRepositoryWithContext(ctx context.Context, request *ModifyRepositoryRequest) (response *ModifyRepositoryResponse, err error)
ModifyRepository This API is used to update the information of an image repository. The repository description can be modified.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INTERNALERROR_ERRORTCRINVALIDMEDIATYPE = "InternalError.ErrorTcrInvalidMediaType" INTERNALERROR_ERRORTCRRESOURCECONFLICT = "InternalError.ErrorTcrResourceConflict" INTERNALERROR_ERRORTCRUNAUTHORIZED = "InternalError.ErrorTcrUnauthorized" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifySecurityPolicy ¶
func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy This API is used to update the public network access allowlist of an 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) ModifySecurityPolicyWithContext ¶
func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy This API is used to update the public network access allowlist of an 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) ModifyServiceAccount ¶
func (c *Client) ModifyServiceAccount(request *ModifyServiceAccountRequest) (response *ModifyServiceAccountResponse, err error)
ModifyServiceAccount This API is used to update a service account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyServiceAccountWithContext ¶
func (c *Client) ModifyServiceAccountWithContext(ctx context.Context, request *ModifyServiceAccountRequest) (response *ModifyServiceAccountResponse, err error)
ModifyServiceAccount This API is used to update a service account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBERROR = "FailedOperation.DbError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyTagRetentionRule ¶
func (c *Client) ModifyTagRetentionRule(request *ModifyTagRetentionRuleRequest) (response *ModifyTagRetentionRuleResponse, err error)
ModifyTagRetentionRule This API is used to update a tag retention rule.
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_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyTagRetentionRuleWithContext ¶
func (c *Client) ModifyTagRetentionRuleWithContext(ctx context.Context, request *ModifyTagRetentionRuleRequest) (response *ModifyTagRetentionRuleResponse, err error)
ModifyTagRetentionRule This API is used to update a tag retention rule.
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_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyWebhookTrigger ¶
func (c *Client) ModifyWebhookTrigger(request *ModifyWebhookTriggerRequest) (response *ModifyWebhookTriggerResponse, err error)
ModifyWebhookTrigger This API is used to update a trigger.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) ModifyWebhookTriggerWithContext ¶
func (c *Client) ModifyWebhookTriggerWithContext(ctx context.Context, request *ModifyWebhookTriggerRequest) (response *ModifyWebhookTriggerResponse, err error)
ModifyWebhookTrigger This API is used to update a trigger.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ERRORTCRINTERNAL = "InternalError.ErrorTcrInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ERRORTCRINVALIDPARAMETER = "InvalidParameter.ErrorTcrInvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TCRRESOURCENOTFOUND = "ResourceNotFound.TcrResourceNotFound"
func (*Client) RenewInstance ¶
func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
RenewInstance This API is used to renew a prepaid instance or change the billing mode from pay-as-you-go billing to monthly subscription billing.
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) RenewInstanceWithContext ¶
func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
RenewInstance This API is used to renew a prepaid instance or change the billing mode from pay-as-you-go billing to monthly subscription billing.
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"
type CreateCustomAccountRequest ¶
type CreateCustomAccountRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom account name Name *string `json:"Name,omitnil" name:"Name"` // Policy list Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` // Custom account description Description *string `json:"Description,omitnil" name:"Description"` // Validity in days starting from the current day. It takes a higher priority than `ExpiresAt`. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Expiry time of the custom account (timestamp, in milliseconds) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Whether to disable the custom account Disable *bool `json:"Disable,omitnil" name:"Disable"` }
func NewCreateCustomAccountRequest ¶
func NewCreateCustomAccountRequest() (request *CreateCustomAccountRequest)
func (*CreateCustomAccountRequest) FromJsonString ¶
func (r *CreateCustomAccountRequest) 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 (*CreateCustomAccountRequest) ToJsonString ¶
func (r *CreateCustomAccountRequest) ToJsonString() string
type CreateCustomAccountRequestParams ¶
type CreateCustomAccountRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom account name Name *string `json:"Name,omitnil" name:"Name"` // Policy list Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` // Custom account description Description *string `json:"Description,omitnil" name:"Description"` // Validity in days starting from the current day. It takes a higher priority than `ExpiresAt`. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Expiry time of the custom account (timestamp, in milliseconds) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Whether to disable the custom account Disable *bool `json:"Disable,omitnil" name:"Disable"` }
Predefined struct for user
type CreateCustomAccountResponse ¶
type CreateCustomAccountResponse struct { *tchttp.BaseResponse Response *CreateCustomAccountResponseParams `json:"Response"` }
func NewCreateCustomAccountResponse ¶
func NewCreateCustomAccountResponse() (response *CreateCustomAccountResponse)
func (*CreateCustomAccountResponse) FromJsonString ¶
func (r *CreateCustomAccountResponse) 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 (*CreateCustomAccountResponse) ToJsonString ¶
func (r *CreateCustomAccountResponse) ToJsonString() string
type CreateCustomAccountResponseParams ¶
type CreateCustomAccountResponseParams struct { // Custom username (the prefix `tcr$` is automatically added) Name *string `json:"Name,omitnil" name:"Name"` // Custom password, which is displayed only once Password *string `json:"Password,omitnil" name:"Password"` // Custom expiry time (timestamp) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Custom account creation time CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateImageAccelerationServiceRequest ¶
type CreateImageAccelerationServiceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // ID of the VPC where the CFS file system to be created resides VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ID of the subnet where the CFS file system to be created resides SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // Storage class of the CFS file system to be created. Valid values: SD: Standard; HP: High-Performance. StorageType *string `json:"StorageType,omitnil" name:"StorageType"` // Permission group ID PGroupId *string `json:"PGroupId,omitnil" name:"PGroupId"` // AZ name, such as `ap-beijing-1`. For more information, see the list of regions and AZs in Overview. Zone *string `json:"Zone,omitnil" name:"Zone"` // Cloud tag description TagSpecification *TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` }
func NewCreateImageAccelerationServiceRequest ¶
func NewCreateImageAccelerationServiceRequest() (request *CreateImageAccelerationServiceRequest)
func (*CreateImageAccelerationServiceRequest) FromJsonString ¶
func (r *CreateImageAccelerationServiceRequest) 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 (*CreateImageAccelerationServiceRequest) ToJsonString ¶
func (r *CreateImageAccelerationServiceRequest) ToJsonString() string
type CreateImageAccelerationServiceRequestParams ¶
type CreateImageAccelerationServiceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // ID of the VPC where the CFS file system to be created resides VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ID of the subnet where the CFS file system to be created resides SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // Storage class of the CFS file system to be created. Valid values: SD: Standard; HP: High-Performance. StorageType *string `json:"StorageType,omitnil" name:"StorageType"` // Permission group ID PGroupId *string `json:"PGroupId,omitnil" name:"PGroupId"` // AZ name, such as `ap-beijing-1`. For more information, see the list of regions and AZs in Overview. Zone *string `json:"Zone,omitnil" name:"Zone"` // Cloud tag description TagSpecification *TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` }
Predefined struct for user
type CreateImageAccelerationServiceResponse ¶
type CreateImageAccelerationServiceResponse struct { *tchttp.BaseResponse Response *CreateImageAccelerationServiceResponseParams `json:"Response"` }
func NewCreateImageAccelerationServiceResponse ¶
func NewCreateImageAccelerationServiceResponse() (response *CreateImageAccelerationServiceResponse)
func (*CreateImageAccelerationServiceResponse) FromJsonString ¶
func (r *CreateImageAccelerationServiceResponse) 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 (*CreateImageAccelerationServiceResponse) ToJsonString ¶
func (r *CreateImageAccelerationServiceResponse) ToJsonString() string
type CreateImageAccelerationServiceResponseParams ¶
type CreateImageAccelerationServiceResponseParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateImmutableTagRulesRequest ¶
type CreateImmutableTagRulesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Rule Rule *ImmutableTagRule `json:"Rule,omitnil" 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,omitnil" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Rule Rule *ImmutableTagRule `json:"Rule,omitnil" 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,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateInstanceCustomizedDomainRequest ¶
type CreateInstanceCustomizedDomainRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Certificate ID CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` }
func NewCreateInstanceCustomizedDomainRequest ¶
func NewCreateInstanceCustomizedDomainRequest() (request *CreateInstanceCustomizedDomainRequest)
func (*CreateInstanceCustomizedDomainRequest) FromJsonString ¶
func (r *CreateInstanceCustomizedDomainRequest) 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 (*CreateInstanceCustomizedDomainRequest) ToJsonString ¶
func (r *CreateInstanceCustomizedDomainRequest) ToJsonString() string
type CreateInstanceCustomizedDomainRequestParams ¶
type CreateInstanceCustomizedDomainRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Certificate ID CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` }
Predefined struct for user
type CreateInstanceCustomizedDomainResponse ¶
type CreateInstanceCustomizedDomainResponse struct { *tchttp.BaseResponse Response *CreateInstanceCustomizedDomainResponseParams `json:"Response"` }
func NewCreateInstanceCustomizedDomainResponse ¶
func NewCreateInstanceCustomizedDomainResponse() (response *CreateInstanceCustomizedDomainResponse)
func (*CreateInstanceCustomizedDomainResponse) FromJsonString ¶
func (r *CreateInstanceCustomizedDomainResponse) 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 (*CreateInstanceCustomizedDomainResponse) ToJsonString ¶
func (r *CreateInstanceCustomizedDomainResponse) ToJsonString() string
type CreateInstanceCustomizedDomainResponseParams ¶
type CreateInstanceCustomizedDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { *tchttp.BaseRequest // Enterprise Edition instance name RegistryName *string `json:"RegistryName,omitnil" name:"RegistryName"` // Enterprise Edition instance type. Valid values: basic: Basic; standard: Standard; premium: Premium. RegistryType *string `json:"RegistryType,omitnil" name:"RegistryType"` // Cloud tag description TagSpecification *TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` // Instance billing mode. Valid values: 0: Pay-as-you-go billing; 1: Prepaid. Default value: 0. RegistryChargeType *int64 `json:"RegistryChargeType,omitnil" name:"RegistryChargeType"` // Auto-renewal setting and purchase period RegistryChargePrepaid *RegistryChargePrepaid `json:"RegistryChargePrepaid,omitnil" name:"RegistryChargePrepaid"` // Whether to sync TCR cloud tags to the COS bucket SyncTag *bool `json:"SyncTag,omitnil" name:"SyncTag"` // Whether to enable the COS Multi-AZ feature EnableCosMAZ *bool `json:"EnableCosMAZ,omitnil" name:"EnableCosMAZ"` // Whether to enable deletion protection DeletionProtection *bool `json:"DeletionProtection,omitnil" name:"DeletionProtection"` }
func NewCreateInstanceRequest ¶
func NewCreateInstanceRequest() (request *CreateInstanceRequest)
func (*CreateInstanceRequest) FromJsonString ¶
func (r *CreateInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceRequest) ToJsonString ¶
func (r *CreateInstanceRequest) ToJsonString() string
type CreateInstanceRequestParams ¶
type CreateInstanceRequestParams struct { // Enterprise Edition instance name RegistryName *string `json:"RegistryName,omitnil" name:"RegistryName"` // Enterprise Edition instance type. Valid values: basic: Basic; standard: Standard; premium: Premium. RegistryType *string `json:"RegistryType,omitnil" name:"RegistryType"` // Cloud tag description TagSpecification *TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` // Instance billing mode. Valid values: 0: Pay-as-you-go billing; 1: Prepaid. Default value: 0. RegistryChargeType *int64 `json:"RegistryChargeType,omitnil" name:"RegistryChargeType"` // Auto-renewal setting and purchase period RegistryChargePrepaid *RegistryChargePrepaid `json:"RegistryChargePrepaid,omitnil" name:"RegistryChargePrepaid"` // Whether to sync TCR cloud tags to the COS bucket SyncTag *bool `json:"SyncTag,omitnil" name:"SyncTag"` // Whether to enable the COS Multi-AZ feature EnableCosMAZ *bool `json:"EnableCosMAZ,omitnil" name:"EnableCosMAZ"` // Whether to enable deletion protection DeletionProtection *bool `json:"DeletionProtection,omitnil" name:"DeletionProtection"` }
Predefined struct for user
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { *tchttp.BaseResponse Response *CreateInstanceResponseParams `json:"Response"` }
func NewCreateInstanceResponse ¶
func NewCreateInstanceResponse() (response *CreateInstanceResponse)
func (*CreateInstanceResponse) FromJsonString ¶
func (r *CreateInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceResponse) ToJsonString ¶
func (r *CreateInstanceResponse) ToJsonString() string
type CreateInstanceResponseParams ¶
type CreateInstanceResponseParams struct { // Enterprise Edition instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateInstanceTokenRequest ¶
type CreateInstanceTokenRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Access credential type. Values: `longterm` and `temp` (default, valid for one hour) TokenType *string `json:"TokenType,omitnil" name:"TokenType"` // Description of the long-term access credential Desc *string `json:"Desc,omitnil" 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,omitnil" name:"RegistryId"` // Access credential type. Values: `longterm` and `temp` (default, valid for one hour) TokenType *string `json:"TokenType,omitnil" name:"TokenType"` // Description of the long-term access credential Desc *string `json:"Desc,omitnil" 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,omitnil" name:"Username"` // Access credential Token *string `json:"Token,omitnil" name:"Token"` // Expiration timestamp of access credential. It is a string of numbers without unit. ExpTime *int64 `json:"ExpTime,omitnil" 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,omitnil" name:"TokenId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateMultipleSecurityPolicyRequest ¶
type CreateMultipleSecurityPolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Security group policy SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitnil" 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,omitnil" name:"RegistryId"` // Security group policy SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitnil" 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,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name, which can contain 2–30 lowercase letters, digits, and separators (".", "_", and "-") but can neither start or end with a separator nor contain consecutive separators. NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Whether to make public. Valid values: true: Yes; false: No. IsPublic *bool `json:"IsPublic,omitnil" name:"IsPublic"` // Cloud tag description TagSpecification *TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` }
func NewCreateNamespaceRequest ¶
func NewCreateNamespaceRequest() (request *CreateNamespaceRequest)
func (*CreateNamespaceRequest) FromJsonString ¶
func (r *CreateNamespaceRequest) 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 (*CreateNamespaceRequest) ToJsonString ¶
func (r *CreateNamespaceRequest) ToJsonString() string
type CreateNamespaceRequestParams ¶
type CreateNamespaceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name, which can contain 2–30 lowercase letters, digits, and separators (".", "_", and "-") but can neither start or end with a separator nor contain consecutive separators. NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Whether to make public. Valid values: true: Yes; false: No. IsPublic *bool `json:"IsPublic,omitnil" name:"IsPublic"` // Cloud tag description TagSpecification *TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` }
Predefined struct for user
type CreateNamespaceResponse ¶
type CreateNamespaceResponse struct { *tchttp.BaseResponse Response *CreateNamespaceResponseParams `json:"Response"` }
func NewCreateNamespaceResponse ¶
func NewCreateNamespaceResponse() (response *CreateNamespaceResponse)
func (*CreateNamespaceResponse) FromJsonString ¶
func (r *CreateNamespaceResponse) 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 (*CreateNamespaceResponse) ToJsonString ¶
func (r *CreateNamespaceResponse) ToJsonString() string
type CreateNamespaceResponseParams ¶
type CreateNamespaceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateReplicationInstanceRequest ¶
type CreateReplicationInstanceRequest struct { *tchttp.BaseRequest // Master instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" name:"ReplicationRegionId"` // Region name of the replication instance ReplicationRegionName *string `json:"ReplicationRegionName,omitnil" name:"ReplicationRegionName"` // Whether to sync TCR cloud tags to the COS Bucket SyncTag *bool `json:"SyncTag,omitnil" name:"SyncTag"` }
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,omitnil" name:"RegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" name:"ReplicationRegionId"` // Region name of the replication instance ReplicationRegionName *string `json:"ReplicationRegionName,omitnil" name:"ReplicationRegionName"` // Whether to sync TCR cloud tags to the COS Bucket SyncTag *bool `json:"SyncTag,omitnil" name:"SyncTag"` }
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,omitnil" name:"ReplicationRegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Brief repository description BriefDescription *string `json:"BriefDescription,omitnil" name:"BriefDescription"` // Detailed repository description Description *string `json:"Description,omitnil" name:"Description"` }
func NewCreateRepositoryRequest ¶
func NewCreateRepositoryRequest() (request *CreateRepositoryRequest)
func (*CreateRepositoryRequest) FromJsonString ¶
func (r *CreateRepositoryRequest) 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 (*CreateRepositoryRequest) ToJsonString ¶
func (r *CreateRepositoryRequest) ToJsonString() string
type CreateRepositoryRequestParams ¶
type CreateRepositoryRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Brief repository description BriefDescription *string `json:"BriefDescription,omitnil" name:"BriefDescription"` // Detailed repository description Description *string `json:"Description,omitnil" name:"Description"` }
Predefined struct for user
type CreateRepositoryResponse ¶
type CreateRepositoryResponse struct { *tchttp.BaseResponse Response *CreateRepositoryResponseParams `json:"Response"` }
func NewCreateRepositoryResponse ¶
func NewCreateRepositoryResponse() (response *CreateRepositoryResponse)
func (*CreateRepositoryResponse) FromJsonString ¶
func (r *CreateRepositoryResponse) 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 (*CreateRepositoryResponse) ToJsonString ¶
func (r *CreateRepositoryResponse) ToJsonString() string
type CreateRepositoryResponseParams ¶
type CreateRepositoryResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSecurityPolicyRequest ¶
type CreateSecurityPolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // 192.168.0.0/24 CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // Remarks Description *string `json:"Description,omitnil" name:"Description"` }
func NewCreateSecurityPolicyRequest ¶
func NewCreateSecurityPolicyRequest() (request *CreateSecurityPolicyRequest)
func (*CreateSecurityPolicyRequest) FromJsonString ¶
func (r *CreateSecurityPolicyRequest) 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 (*CreateSecurityPolicyRequest) ToJsonString ¶
func (r *CreateSecurityPolicyRequest) ToJsonString() string
type CreateSecurityPolicyRequestParams ¶
type CreateSecurityPolicyRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // 192.168.0.0/24 CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // Remarks Description *string `json:"Description,omitnil" name:"Description"` }
Predefined struct for user
type CreateSecurityPolicyResponse ¶
type CreateSecurityPolicyResponse struct { *tchttp.BaseResponse Response *CreateSecurityPolicyResponseParams `json:"Response"` }
func NewCreateSecurityPolicyResponse ¶
func NewCreateSecurityPolicyResponse() (response *CreateSecurityPolicyResponse)
func (*CreateSecurityPolicyResponse) FromJsonString ¶
func (r *CreateSecurityPolicyResponse) 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 (*CreateSecurityPolicyResponse) ToJsonString ¶
func (r *CreateSecurityPolicyResponse) ToJsonString() string
type CreateSecurityPolicyResponseParams ¶
type CreateSecurityPolicyResponseParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateServiceAccountRequest ¶
type CreateServiceAccountRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Service account name Name *string `json:"Name,omitnil" name:"Name"` // Policy list Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` // Service account description Description *string `json:"Description,omitnil" name:"Description"` // Validity in days starting from the current day. It takes a higher priority than `ExpiresAt`. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Expiry time (timestamp, in milliseconds) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Whether to disable the service account Disable *bool `json:"Disable,omitnil" name:"Disable"` }
func NewCreateServiceAccountRequest ¶
func NewCreateServiceAccountRequest() (request *CreateServiceAccountRequest)
func (*CreateServiceAccountRequest) FromJsonString ¶
func (r *CreateServiceAccountRequest) 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 (*CreateServiceAccountRequest) ToJsonString ¶
func (r *CreateServiceAccountRequest) ToJsonString() string
type CreateServiceAccountRequestParams ¶
type CreateServiceAccountRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Service account name Name *string `json:"Name,omitnil" name:"Name"` // Policy list Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` // Service account description Description *string `json:"Description,omitnil" name:"Description"` // Validity in days starting from the current day. It takes a higher priority than `ExpiresAt`. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Expiry time (timestamp, in milliseconds) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Whether to disable the service account Disable *bool `json:"Disable,omitnil" name:"Disable"` }
Predefined struct for user
type CreateServiceAccountResponse ¶
type CreateServiceAccountResponse struct { *tchttp.BaseResponse Response *CreateServiceAccountResponseParams `json:"Response"` }
func NewCreateServiceAccountResponse ¶
func NewCreateServiceAccountResponse() (response *CreateServiceAccountResponse)
func (*CreateServiceAccountResponse) FromJsonString ¶
func (r *CreateServiceAccountResponse) 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 (*CreateServiceAccountResponse) ToJsonString ¶
func (r *CreateServiceAccountResponse) ToJsonString() string
type CreateServiceAccountResponseParams ¶
type CreateServiceAccountResponseParams struct { // Service account name (the prefix `tcr$` is automatically added) Name *string `json:"Name,omitnil" name:"Name"` // Service account password, which is displayed only once Password *string `json:"Password,omitnil" name:"Password"` // Expiry time of the service account (timestamp) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Creation time of the service account CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSignaturePolicyRequest ¶
type CreateSignaturePolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Policy name Name *string `json:"Name,omitnil" name:"Name"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // KMS key KmsId *string `json:"KmsId,omitnil" name:"KmsId"` // Region of the KMS key KmsRegion *string `json:"KmsRegion,omitnil" name:"KmsRegion"` // Custom domain name. If this parameter is left empty, the default domain name of the TCR instance will be used to generate the signature. Domain *string `json:"Domain,omitnil" name:"Domain"` // Whether to disable the signing policy. Default value: false. Disabled *bool `json:"Disabled,omitnil" name:"Disabled"` }
func NewCreateSignaturePolicyRequest ¶
func NewCreateSignaturePolicyRequest() (request *CreateSignaturePolicyRequest)
func (*CreateSignaturePolicyRequest) FromJsonString ¶
func (r *CreateSignaturePolicyRequest) 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 (*CreateSignaturePolicyRequest) ToJsonString ¶
func (r *CreateSignaturePolicyRequest) ToJsonString() string
type CreateSignaturePolicyRequestParams ¶
type CreateSignaturePolicyRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Policy name Name *string `json:"Name,omitnil" name:"Name"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // KMS key KmsId *string `json:"KmsId,omitnil" name:"KmsId"` // Region of the KMS key KmsRegion *string `json:"KmsRegion,omitnil" name:"KmsRegion"` // Custom domain name. If this parameter is left empty, the default domain name of the TCR instance will be used to generate the signature. Domain *string `json:"Domain,omitnil" name:"Domain"` // Whether to disable the signing policy. Default value: false. Disabled *bool `json:"Disabled,omitnil" name:"Disabled"` }
Predefined struct for user
type CreateSignaturePolicyResponse ¶
type CreateSignaturePolicyResponse struct { *tchttp.BaseResponse Response *CreateSignaturePolicyResponseParams `json:"Response"` }
func NewCreateSignaturePolicyResponse ¶
func NewCreateSignaturePolicyResponse() (response *CreateSignaturePolicyResponse)
func (*CreateSignaturePolicyResponse) FromJsonString ¶
func (r *CreateSignaturePolicyResponse) 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 (*CreateSignaturePolicyResponse) ToJsonString ¶
func (r *CreateSignaturePolicyResponse) ToJsonString() string
type CreateSignaturePolicyResponseParams ¶
type CreateSignaturePolicyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSignatureRequest ¶
type CreateSignatureRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Tag name ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` }
func NewCreateSignatureRequest ¶
func NewCreateSignatureRequest() (request *CreateSignatureRequest)
func (*CreateSignatureRequest) FromJsonString ¶
func (r *CreateSignatureRequest) 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 (*CreateSignatureRequest) ToJsonString ¶
func (r *CreateSignatureRequest) ToJsonString() string
type CreateSignatureRequestParams ¶
type CreateSignatureRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Tag name ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` }
Predefined struct for user
type CreateSignatureResponse ¶
type CreateSignatureResponse struct { *tchttp.BaseResponse Response *CreateSignatureResponseParams `json:"Response"` }
func NewCreateSignatureResponse ¶
func NewCreateSignatureResponse() (response *CreateSignatureResponse)
func (*CreateSignatureResponse) FromJsonString ¶
func (r *CreateSignatureResponse) 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 (*CreateSignatureResponse) ToJsonString ¶
func (r *CreateSignatureResponse) ToJsonString() string
type CreateSignatureResponseParams ¶
type CreateSignatureResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateTagRetentionExecutionRequest ¶
type CreateTagRetentionExecutionRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Tag retention rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // Whether the execution is simulated. Default value: false (not simulated) DryRun *bool `json:"DryRun,omitnil" name:"DryRun"` }
func NewCreateTagRetentionExecutionRequest ¶
func NewCreateTagRetentionExecutionRequest() (request *CreateTagRetentionExecutionRequest)
func (*CreateTagRetentionExecutionRequest) FromJsonString ¶
func (r *CreateTagRetentionExecutionRequest) 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 (*CreateTagRetentionExecutionRequest) ToJsonString ¶
func (r *CreateTagRetentionExecutionRequest) ToJsonString() string
type CreateTagRetentionExecutionRequestParams ¶
type CreateTagRetentionExecutionRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Tag retention rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // Whether the execution is simulated. Default value: false (not simulated) DryRun *bool `json:"DryRun,omitnil" name:"DryRun"` }
Predefined struct for user
type CreateTagRetentionExecutionResponse ¶
type CreateTagRetentionExecutionResponse struct { *tchttp.BaseResponse Response *CreateTagRetentionExecutionResponseParams `json:"Response"` }
func NewCreateTagRetentionExecutionResponse ¶
func NewCreateTagRetentionExecutionResponse() (response *CreateTagRetentionExecutionResponse)
func (*CreateTagRetentionExecutionResponse) FromJsonString ¶
func (r *CreateTagRetentionExecutionResponse) 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 (*CreateTagRetentionExecutionResponse) ToJsonString ¶
func (r *CreateTagRetentionExecutionResponse) ToJsonString() string
type CreateTagRetentionExecutionResponseParams ¶
type CreateTagRetentionExecutionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateTagRetentionRuleRequest ¶
type CreateTagRetentionRuleRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace ID NamespaceId *int64 `json:"NamespaceId,omitnil" name:"NamespaceId"` // Retention policy RetentionRule *RetentionRule `json:"RetentionRule,omitnil" name:"RetentionRule"` // Execution cycle. Valid values: manual, daily, weekly, monthly. CronSetting *string `json:"CronSetting,omitnil" name:"CronSetting"` // Whether to disable the rule. Default value: false. Disabled *bool `json:"Disabled,omitnil" name:"Disabled"` }
func NewCreateTagRetentionRuleRequest ¶
func NewCreateTagRetentionRuleRequest() (request *CreateTagRetentionRuleRequest)
func (*CreateTagRetentionRuleRequest) FromJsonString ¶
func (r *CreateTagRetentionRuleRequest) 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 (*CreateTagRetentionRuleRequest) ToJsonString ¶
func (r *CreateTagRetentionRuleRequest) ToJsonString() string
type CreateTagRetentionRuleRequestParams ¶
type CreateTagRetentionRuleRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace ID NamespaceId *int64 `json:"NamespaceId,omitnil" name:"NamespaceId"` // Retention policy RetentionRule *RetentionRule `json:"RetentionRule,omitnil" name:"RetentionRule"` // Execution cycle. Valid values: manual, daily, weekly, monthly. CronSetting *string `json:"CronSetting,omitnil" name:"CronSetting"` // Whether to disable the rule. Default value: false. Disabled *bool `json:"Disabled,omitnil" name:"Disabled"` }
Predefined struct for user
type CreateTagRetentionRuleResponse ¶
type CreateTagRetentionRuleResponse struct { *tchttp.BaseResponse Response *CreateTagRetentionRuleResponseParams `json:"Response"` }
func NewCreateTagRetentionRuleResponse ¶
func NewCreateTagRetentionRuleResponse() (response *CreateTagRetentionRuleResponse)
func (*CreateTagRetentionRuleResponse) FromJsonString ¶
func (r *CreateTagRetentionRuleResponse) 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 (*CreateTagRetentionRuleResponse) ToJsonString ¶
func (r *CreateTagRetentionRuleResponse) ToJsonString() string
type CreateTagRetentionRuleResponseParams ¶
type CreateTagRetentionRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateWebhookTriggerRequest ¶
type CreateWebhookTriggerRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Trigger parameter Trigger *WebhookTrigger `json:"Trigger,omitnil" name:"Trigger"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` }
func NewCreateWebhookTriggerRequest ¶
func NewCreateWebhookTriggerRequest() (request *CreateWebhookTriggerRequest)
func (*CreateWebhookTriggerRequest) FromJsonString ¶
func (r *CreateWebhookTriggerRequest) 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 (*CreateWebhookTriggerRequest) ToJsonString ¶
func (r *CreateWebhookTriggerRequest) ToJsonString() string
type CreateWebhookTriggerRequestParams ¶
type CreateWebhookTriggerRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Trigger parameter Trigger *WebhookTrigger `json:"Trigger,omitnil" name:"Trigger"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` }
Predefined struct for user
type CreateWebhookTriggerResponse ¶
type CreateWebhookTriggerResponse struct { *tchttp.BaseResponse Response *CreateWebhookTriggerResponseParams `json:"Response"` }
func NewCreateWebhookTriggerResponse ¶
func NewCreateWebhookTriggerResponse() (response *CreateWebhookTriggerResponse)
func (*CreateWebhookTriggerResponse) FromJsonString ¶
func (r *CreateWebhookTriggerResponse) 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 (*CreateWebhookTriggerResponse) ToJsonString ¶
func (r *CreateWebhookTriggerResponse) ToJsonString() string
type CreateWebhookTriggerResponseParams ¶
type CreateWebhookTriggerResponseParams struct { // Newly created trigger Trigger *WebhookTrigger `json:"Trigger,omitnil" name:"Trigger"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CustomAccount ¶
type CustomAccount struct { // Custom account name // Note: This field may return `null`, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil" name:"Name"` // Description // Note: This field may return `null`, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil" name:"Description"` // Whether to disable // Note: This field may return `null`, indicating that no valid values can be obtained. Disable *bool `json:"Disable,omitnil" name:"Disable"` // Expiry time // Note: This field may return `null`, indicating that no valid values can be obtained. ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Creation time // Note: This field may return `null`, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Update time // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Policy // Note: This field may return `null`, indicating that no valid values can be obtained. Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` }
type CustomizedDomainInfo ¶
type CustomizedDomainInfo struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Certificate ID CertId *string `json:"CertId,omitnil" name:"CertId"` // Domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Domain name creation status. Valid values: SUCCESS, FAILURE, CREATING, DELETING. Status *string `json:"Status,omitnil" name:"Status"` }
type DeleteCustomAccountRequest ¶
type DeleteCustomAccountRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom account name Name *string `json:"Name,omitnil" name:"Name"` }
func NewDeleteCustomAccountRequest ¶
func NewDeleteCustomAccountRequest() (request *DeleteCustomAccountRequest)
func (*DeleteCustomAccountRequest) FromJsonString ¶
func (r *DeleteCustomAccountRequest) 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 (*DeleteCustomAccountRequest) ToJsonString ¶
func (r *DeleteCustomAccountRequest) ToJsonString() string
type DeleteCustomAccountRequestParams ¶
type DeleteCustomAccountRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom account name Name *string `json:"Name,omitnil" name:"Name"` }
Predefined struct for user
type DeleteCustomAccountResponse ¶
type DeleteCustomAccountResponse struct { *tchttp.BaseResponse Response *DeleteCustomAccountResponseParams `json:"Response"` }
func NewDeleteCustomAccountResponse ¶
func NewDeleteCustomAccountResponse() (response *DeleteCustomAccountResponse)
func (*DeleteCustomAccountResponse) FromJsonString ¶
func (r *DeleteCustomAccountResponse) 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 (*DeleteCustomAccountResponse) ToJsonString ¶
func (r *DeleteCustomAccountResponse) ToJsonString() string
type DeleteCustomAccountResponseParams ¶
type DeleteCustomAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteImageAccelerateServiceRequest ¶
type DeleteImageAccelerateServiceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
func NewDeleteImageAccelerateServiceRequest ¶
func NewDeleteImageAccelerateServiceRequest() (request *DeleteImageAccelerateServiceRequest)
func (*DeleteImageAccelerateServiceRequest) FromJsonString ¶
func (r *DeleteImageAccelerateServiceRequest) 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 (*DeleteImageAccelerateServiceRequest) ToJsonString ¶
func (r *DeleteImageAccelerateServiceRequest) ToJsonString() string
type DeleteImageAccelerateServiceRequestParams ¶
type DeleteImageAccelerateServiceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
Predefined struct for user
type DeleteImageAccelerateServiceResponse ¶
type DeleteImageAccelerateServiceResponse struct { *tchttp.BaseResponse Response *DeleteImageAccelerateServiceResponseParams `json:"Response"` }
func NewDeleteImageAccelerateServiceResponse ¶
func NewDeleteImageAccelerateServiceResponse() (response *DeleteImageAccelerateServiceResponse)
func (*DeleteImageAccelerateServiceResponse) FromJsonString ¶
func (r *DeleteImageAccelerateServiceResponse) 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 (*DeleteImageAccelerateServiceResponse) ToJsonString ¶
func (r *DeleteImageAccelerateServiceResponse) ToJsonString() string
type DeleteImageAccelerateServiceResponseParams ¶
type DeleteImageAccelerateServiceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteImageRequest ¶
type DeleteImageRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Image tag ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` }
func NewDeleteImageRequest ¶
func NewDeleteImageRequest() (request *DeleteImageRequest)
func (*DeleteImageRequest) FromJsonString ¶
func (r *DeleteImageRequest) 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 (*DeleteImageRequest) ToJsonString ¶
func (r *DeleteImageRequest) ToJsonString() string
type DeleteImageRequestParams ¶
type DeleteImageRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Image tag ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` }
Predefined struct for user
type DeleteImageResponse ¶
type DeleteImageResponse struct { *tchttp.BaseResponse Response *DeleteImageResponseParams `json:"Response"` }
func NewDeleteImageResponse ¶
func NewDeleteImageResponse() (response *DeleteImageResponse)
func (*DeleteImageResponse) FromJsonString ¶
func (r *DeleteImageResponse) 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 (*DeleteImageResponse) ToJsonString ¶
func (r *DeleteImageResponse) ToJsonString() string
type DeleteImageResponseParams ¶
type DeleteImageResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteImmutableTagRulesRequest ¶
type DeleteImmutableTagRulesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Rule ID RuleId *int64 `json:"RuleId,omitnil" 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,omitnil" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Rule ID RuleId *int64 `json:"RuleId,omitnil" 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,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteInstanceCustomizedDomainRequest ¶
type DeleteInstanceCustomizedDomainRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Certificate ID CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` }
func NewDeleteInstanceCustomizedDomainRequest ¶
func NewDeleteInstanceCustomizedDomainRequest() (request *DeleteInstanceCustomizedDomainRequest)
func (*DeleteInstanceCustomizedDomainRequest) FromJsonString ¶
func (r *DeleteInstanceCustomizedDomainRequest) 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 (*DeleteInstanceCustomizedDomainRequest) ToJsonString ¶
func (r *DeleteInstanceCustomizedDomainRequest) ToJsonString() string
type DeleteInstanceCustomizedDomainRequestParams ¶
type DeleteInstanceCustomizedDomainRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Certificate ID CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` }
Predefined struct for user
type DeleteInstanceCustomizedDomainResponse ¶
type DeleteInstanceCustomizedDomainResponse struct { *tchttp.BaseResponse Response *DeleteInstanceCustomizedDomainResponseParams `json:"Response"` }
func NewDeleteInstanceCustomizedDomainResponse ¶
func NewDeleteInstanceCustomizedDomainResponse() (response *DeleteInstanceCustomizedDomainResponse)
func (*DeleteInstanceCustomizedDomainResponse) FromJsonString ¶
func (r *DeleteInstanceCustomizedDomainResponse) 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 (*DeleteInstanceCustomizedDomainResponse) ToJsonString ¶
func (r *DeleteInstanceCustomizedDomainResponse) ToJsonString() string
type DeleteInstanceCustomizedDomainResponseParams ¶
type DeleteInstanceCustomizedDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Whether to delete the bucket. Default value: false. DeleteBucket *bool `json:"DeleteBucket,omitnil" name:"DeleteBucket"` // Whether to enable the `dryRun` mode. Default value: false. DryRun *bool `json:"DryRun,omitnil" name:"DryRun"` }
func NewDeleteInstanceRequest ¶
func NewDeleteInstanceRequest() (request *DeleteInstanceRequest)
func (*DeleteInstanceRequest) FromJsonString ¶
func (r *DeleteInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteInstanceRequest) ToJsonString ¶
func (r *DeleteInstanceRequest) ToJsonString() string
type DeleteInstanceRequestParams ¶
type DeleteInstanceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Whether to delete the bucket. Default value: false. DeleteBucket *bool `json:"DeleteBucket,omitnil" name:"DeleteBucket"` // Whether to enable the `dryRun` mode. Default value: false. DryRun *bool `json:"DryRun,omitnil" name:"DryRun"` }
Predefined struct for user
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { *tchttp.BaseResponse Response *DeleteInstanceResponseParams `json:"Response"` }
func NewDeleteInstanceResponse ¶
func NewDeleteInstanceResponse() (response *DeleteInstanceResponse)
func (*DeleteInstanceResponse) FromJsonString ¶
func (r *DeleteInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteInstanceResponse) ToJsonString ¶
func (r *DeleteInstanceResponse) ToJsonString() string
type DeleteInstanceResponseParams ¶
type DeleteInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteInstanceTokenRequest ¶
type DeleteInstanceTokenRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Access credential ID TokenId *string `json:"TokenId,omitnil" name:"TokenId"` }
func NewDeleteInstanceTokenRequest ¶
func NewDeleteInstanceTokenRequest() (request *DeleteInstanceTokenRequest)
func (*DeleteInstanceTokenRequest) FromJsonString ¶
func (r *DeleteInstanceTokenRequest) 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 (*DeleteInstanceTokenRequest) ToJsonString ¶
func (r *DeleteInstanceTokenRequest) ToJsonString() string
type DeleteInstanceTokenRequestParams ¶
type DeleteInstanceTokenRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Access credential ID TokenId *string `json:"TokenId,omitnil" name:"TokenId"` }
Predefined struct for user
type DeleteInstanceTokenResponse ¶
type DeleteInstanceTokenResponse struct { *tchttp.BaseResponse Response *DeleteInstanceTokenResponseParams `json:"Response"` }
func NewDeleteInstanceTokenResponse ¶
func NewDeleteInstanceTokenResponse() (response *DeleteInstanceTokenResponse)
func (*DeleteInstanceTokenResponse) FromJsonString ¶
func (r *DeleteInstanceTokenResponse) 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 (*DeleteInstanceTokenResponse) ToJsonString ¶
func (r *DeleteInstanceTokenResponse) ToJsonString() string
type DeleteInstanceTokenResponseParams ¶
type DeleteInstanceTokenResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteMultipleSecurityPolicyRequest ¶
type DeleteMultipleSecurityPolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Security group policy SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitnil" 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,omitnil" name:"RegistryId"` // Security group policy SecurityGroupPolicySet []*SecurityPolicy `json:"SecurityGroupPolicySet,omitnil" 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,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` }
func NewDeleteNamespaceRequest ¶
func NewDeleteNamespaceRequest() (request *DeleteNamespaceRequest)
func (*DeleteNamespaceRequest) FromJsonString ¶
func (r *DeleteNamespaceRequest) 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 (*DeleteNamespaceRequest) ToJsonString ¶
func (r *DeleteNamespaceRequest) ToJsonString() string
type DeleteNamespaceRequestParams ¶
type DeleteNamespaceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` }
Predefined struct for user
type DeleteNamespaceResponse ¶
type DeleteNamespaceResponse struct { *tchttp.BaseResponse Response *DeleteNamespaceResponseParams `json:"Response"` }
func NewDeleteNamespaceResponse ¶
func NewDeleteNamespaceResponse() (response *DeleteNamespaceResponse)
func (*DeleteNamespaceResponse) FromJsonString ¶
func (r *DeleteNamespaceResponse) 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 (*DeleteNamespaceResponse) ToJsonString ¶
func (r *DeleteNamespaceResponse) ToJsonString() string
type DeleteNamespaceResponseParams ¶
type DeleteNamespaceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteReplicationInstanceRequest ¶
type DeleteReplicationInstanceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Replica instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitnil" name:"ReplicationRegistryId"` // Region ID of the replica instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" name:"ReplicationRegionId"` }
func NewDeleteReplicationInstanceRequest ¶
func NewDeleteReplicationInstanceRequest() (request *DeleteReplicationInstanceRequest)
func (*DeleteReplicationInstanceRequest) FromJsonString ¶
func (r *DeleteReplicationInstanceRequest) 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 (*DeleteReplicationInstanceRequest) ToJsonString ¶
func (r *DeleteReplicationInstanceRequest) ToJsonString() string
type DeleteReplicationInstanceRequestParams ¶
type DeleteReplicationInstanceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Replica instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitnil" name:"ReplicationRegistryId"` // Region ID of the replica instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" name:"ReplicationRegionId"` }
Predefined struct for user
type DeleteReplicationInstanceResponse ¶
type DeleteReplicationInstanceResponse struct { *tchttp.BaseResponse Response *DeleteReplicationInstanceResponseParams `json:"Response"` }
func NewDeleteReplicationInstanceResponse ¶
func NewDeleteReplicationInstanceResponse() (response *DeleteReplicationInstanceResponse)
func (*DeleteReplicationInstanceResponse) FromJsonString ¶
func (r *DeleteReplicationInstanceResponse) 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 (*DeleteReplicationInstanceResponse) ToJsonString ¶
func (r *DeleteReplicationInstanceResponse) ToJsonString() string
type DeleteReplicationInstanceResponseParams ¶
type DeleteReplicationInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteRepositoryRequest ¶
type DeleteRepositoryRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` }
func NewDeleteRepositoryRequest ¶
func NewDeleteRepositoryRequest() (request *DeleteRepositoryRequest)
func (*DeleteRepositoryRequest) FromJsonString ¶
func (r *DeleteRepositoryRequest) 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 (*DeleteRepositoryRequest) ToJsonString ¶
func (r *DeleteRepositoryRequest) ToJsonString() string
type DeleteRepositoryRequestParams ¶
type DeleteRepositoryRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` }
Predefined struct for user
type DeleteRepositoryResponse ¶
type DeleteRepositoryResponse struct { *tchttp.BaseResponse Response *DeleteRepositoryResponseParams `json:"Response"` }
func NewDeleteRepositoryResponse ¶
func NewDeleteRepositoryResponse() (response *DeleteRepositoryResponse)
func (*DeleteRepositoryResponse) FromJsonString ¶
func (r *DeleteRepositoryResponse) 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 (*DeleteRepositoryResponse) ToJsonString ¶
func (r *DeleteRepositoryResponse) ToJsonString() string
type DeleteRepositoryResponseParams ¶
type DeleteRepositoryResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteRepositoryTagsRequest ¶
type DeleteRepositoryTagsRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // List of tags. Up to 20 tags can be returned for a request. Tags []*string `json:"Tags,omitnil" name:"Tags"` }
func NewDeleteRepositoryTagsRequest ¶
func NewDeleteRepositoryTagsRequest() (request *DeleteRepositoryTagsRequest)
func (*DeleteRepositoryTagsRequest) FromJsonString ¶
func (r *DeleteRepositoryTagsRequest) 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 (*DeleteRepositoryTagsRequest) ToJsonString ¶
func (r *DeleteRepositoryTagsRequest) ToJsonString() string
type DeleteRepositoryTagsRequestParams ¶
type DeleteRepositoryTagsRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // List of tags. Up to 20 tags can be returned for a request. Tags []*string `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type DeleteRepositoryTagsResponse ¶
type DeleteRepositoryTagsResponse struct { *tchttp.BaseResponse Response *DeleteRepositoryTagsResponseParams `json:"Response"` }
func NewDeleteRepositoryTagsResponse ¶
func NewDeleteRepositoryTagsResponse() (response *DeleteRepositoryTagsResponse)
func (*DeleteRepositoryTagsResponse) FromJsonString ¶
func (r *DeleteRepositoryTagsResponse) 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 (*DeleteRepositoryTagsResponse) ToJsonString ¶
func (r *DeleteRepositoryTagsResponse) ToJsonString() string
type DeleteRepositoryTagsResponseParams ¶
type DeleteRepositoryTagsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityPolicyRequest ¶
type DeleteSecurityPolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Allowlist ID PolicyIndex *int64 `json:"PolicyIndex,omitnil" name:"PolicyIndex"` // Allowlist version PolicyVersion *string `json:"PolicyVersion,omitnil" name:"PolicyVersion"` // IP range or IP address (mutually exclusive). CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` }
func NewDeleteSecurityPolicyRequest ¶
func NewDeleteSecurityPolicyRequest() (request *DeleteSecurityPolicyRequest)
func (*DeleteSecurityPolicyRequest) FromJsonString ¶
func (r *DeleteSecurityPolicyRequest) 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 (*DeleteSecurityPolicyRequest) ToJsonString ¶
func (r *DeleteSecurityPolicyRequest) ToJsonString() string
type DeleteSecurityPolicyRequestParams ¶
type DeleteSecurityPolicyRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Allowlist ID PolicyIndex *int64 `json:"PolicyIndex,omitnil" name:"PolicyIndex"` // Allowlist version PolicyVersion *string `json:"PolicyVersion,omitnil" name:"PolicyVersion"` // IP range or IP address (mutually exclusive). CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` }
Predefined struct for user
type DeleteSecurityPolicyResponse ¶
type DeleteSecurityPolicyResponse struct { *tchttp.BaseResponse Response *DeleteSecurityPolicyResponseParams `json:"Response"` }
func NewDeleteSecurityPolicyResponse ¶
func NewDeleteSecurityPolicyResponse() (response *DeleteSecurityPolicyResponse)
func (*DeleteSecurityPolicyResponse) FromJsonString ¶
func (r *DeleteSecurityPolicyResponse) 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 (*DeleteSecurityPolicyResponse) ToJsonString ¶
func (r *DeleteSecurityPolicyResponse) ToJsonString() string
type DeleteSecurityPolicyResponseParams ¶
type DeleteSecurityPolicyResponseParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteServiceAccountRequest ¶
type DeleteServiceAccountRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Service account name Name *string `json:"Name,omitnil" name:"Name"` }
func NewDeleteServiceAccountRequest ¶
func NewDeleteServiceAccountRequest() (request *DeleteServiceAccountRequest)
func (*DeleteServiceAccountRequest) FromJsonString ¶
func (r *DeleteServiceAccountRequest) 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 (*DeleteServiceAccountRequest) ToJsonString ¶
func (r *DeleteServiceAccountRequest) ToJsonString() string
type DeleteServiceAccountRequestParams ¶
type DeleteServiceAccountRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Service account name Name *string `json:"Name,omitnil" name:"Name"` }
Predefined struct for user
type DeleteServiceAccountResponse ¶
type DeleteServiceAccountResponse struct { *tchttp.BaseResponse Response *DeleteServiceAccountResponseParams `json:"Response"` }
func NewDeleteServiceAccountResponse ¶
func NewDeleteServiceAccountResponse() (response *DeleteServiceAccountResponse)
func (*DeleteServiceAccountResponse) FromJsonString ¶
func (r *DeleteServiceAccountResponse) 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 (*DeleteServiceAccountResponse) ToJsonString ¶
func (r *DeleteServiceAccountResponse) ToJsonString() string
type DeleteServiceAccountResponseParams ¶
type DeleteServiceAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSignaturePolicyRequest ¶
type DeleteSignaturePolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` }
func NewDeleteSignaturePolicyRequest ¶
func NewDeleteSignaturePolicyRequest() (request *DeleteSignaturePolicyRequest)
func (*DeleteSignaturePolicyRequest) FromJsonString ¶
func (r *DeleteSignaturePolicyRequest) 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 (*DeleteSignaturePolicyRequest) ToJsonString ¶
func (r *DeleteSignaturePolicyRequest) ToJsonString() string
type DeleteSignaturePolicyRequestParams ¶
type DeleteSignaturePolicyRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` }
Predefined struct for user
type DeleteSignaturePolicyResponse ¶
type DeleteSignaturePolicyResponse struct { *tchttp.BaseResponse Response *DeleteSignaturePolicyResponseParams `json:"Response"` }
func NewDeleteSignaturePolicyResponse ¶
func NewDeleteSignaturePolicyResponse() (response *DeleteSignaturePolicyResponse)
func (*DeleteSignaturePolicyResponse) FromJsonString ¶
func (r *DeleteSignaturePolicyResponse) 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 (*DeleteSignaturePolicyResponse) ToJsonString ¶
func (r *DeleteSignaturePolicyResponse) ToJsonString() string
type DeleteSignaturePolicyResponseParams ¶
type DeleteSignaturePolicyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteTagRetentionRuleRequest ¶
type DeleteTagRetentionRuleRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Tag retention rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` }
func NewDeleteTagRetentionRuleRequest ¶
func NewDeleteTagRetentionRuleRequest() (request *DeleteTagRetentionRuleRequest)
func (*DeleteTagRetentionRuleRequest) FromJsonString ¶
func (r *DeleteTagRetentionRuleRequest) 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 (*DeleteTagRetentionRuleRequest) ToJsonString ¶
func (r *DeleteTagRetentionRuleRequest) ToJsonString() string
type DeleteTagRetentionRuleRequestParams ¶
type DeleteTagRetentionRuleRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Tag retention rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` }
Predefined struct for user
type DeleteTagRetentionRuleResponse ¶
type DeleteTagRetentionRuleResponse struct { *tchttp.BaseResponse Response *DeleteTagRetentionRuleResponseParams `json:"Response"` }
func NewDeleteTagRetentionRuleResponse ¶
func NewDeleteTagRetentionRuleResponse() (response *DeleteTagRetentionRuleResponse)
func (*DeleteTagRetentionRuleResponse) FromJsonString ¶
func (r *DeleteTagRetentionRuleResponse) 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 (*DeleteTagRetentionRuleResponse) ToJsonString ¶
func (r *DeleteTagRetentionRuleResponse) ToJsonString() string
type DeleteTagRetentionRuleResponseParams ¶
type DeleteTagRetentionRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteWebhookTriggerRequest ¶
type DeleteWebhookTriggerRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // Trigger ID Id *int64 `json:"Id,omitnil" name:"Id"` }
func NewDeleteWebhookTriggerRequest ¶
func NewDeleteWebhookTriggerRequest() (request *DeleteWebhookTriggerRequest)
func (*DeleteWebhookTriggerRequest) FromJsonString ¶
func (r *DeleteWebhookTriggerRequest) 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 (*DeleteWebhookTriggerRequest) ToJsonString ¶
func (r *DeleteWebhookTriggerRequest) ToJsonString() string
type DeleteWebhookTriggerRequestParams ¶
type DeleteWebhookTriggerRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // Trigger ID Id *int64 `json:"Id,omitnil" name:"Id"` }
Predefined struct for user
type DeleteWebhookTriggerResponse ¶
type DeleteWebhookTriggerResponse struct { *tchttp.BaseResponse Response *DeleteWebhookTriggerResponseParams `json:"Response"` }
func NewDeleteWebhookTriggerResponse ¶
func NewDeleteWebhookTriggerResponse() (response *DeleteWebhookTriggerResponse)
func (*DeleteWebhookTriggerResponse) FromJsonString ¶
func (r *DeleteWebhookTriggerResponse) 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 (*DeleteWebhookTriggerResponse) ToJsonString ¶
func (r *DeleteWebhookTriggerResponse) ToJsonString() string
type DeleteWebhookTriggerResponseParams ¶
type DeleteWebhookTriggerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeChartDownloadInfoRequest ¶
type DescribeChartDownloadInfoRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Chart name ChartName *string `json:"ChartName,omitnil" name:"ChartName"` // Chart version ChartVersion *string `json:"ChartVersion,omitnil" name:"ChartVersion"` }
func NewDescribeChartDownloadInfoRequest ¶
func NewDescribeChartDownloadInfoRequest() (request *DescribeChartDownloadInfoRequest)
func (*DescribeChartDownloadInfoRequest) FromJsonString ¶
func (r *DescribeChartDownloadInfoRequest) 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 (*DescribeChartDownloadInfoRequest) ToJsonString ¶
func (r *DescribeChartDownloadInfoRequest) ToJsonString() string
type DescribeChartDownloadInfoRequestParams ¶
type DescribeChartDownloadInfoRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Chart name ChartName *string `json:"ChartName,omitnil" name:"ChartName"` // Chart version ChartVersion *string `json:"ChartVersion,omitnil" name:"ChartVersion"` }
Predefined struct for user
type DescribeChartDownloadInfoResponse ¶
type DescribeChartDownloadInfoResponse struct { *tchttp.BaseResponse Response *DescribeChartDownloadInfoResponseParams `json:"Response"` }
func NewDescribeChartDownloadInfoResponse ¶
func NewDescribeChartDownloadInfoResponse() (response *DescribeChartDownloadInfoResponse)
func (*DescribeChartDownloadInfoResponse) FromJsonString ¶
func (r *DescribeChartDownloadInfoResponse) 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 (*DescribeChartDownloadInfoResponse) ToJsonString ¶
func (r *DescribeChartDownloadInfoResponse) ToJsonString() string
type DescribeChartDownloadInfoResponseParams ¶
type DescribeChartDownloadInfoResponseParams struct { // Presigned URL for download PreSignedDownloadURL *string `json:"PreSignedDownloadURL,omitnil" name:"PreSignedDownloadURL"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCustomAccountsRequest ¶
type DescribeCustomAccountsRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // All custom accounts All *bool `json:"All,omitnil" name:"All"` // Whether to enter the policy EmbedPermission *bool `json:"EmbedPermission,omitnil" name:"EmbedPermission"` // Filters Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: `0` Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: `20`. Maximum value: 100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeCustomAccountsRequest ¶
func NewDescribeCustomAccountsRequest() (request *DescribeCustomAccountsRequest)
func (*DescribeCustomAccountsRequest) FromJsonString ¶
func (r *DescribeCustomAccountsRequest) 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 (*DescribeCustomAccountsRequest) ToJsonString ¶
func (r *DescribeCustomAccountsRequest) ToJsonString() string
type DescribeCustomAccountsRequestParams ¶
type DescribeCustomAccountsRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // All custom accounts All *bool `json:"All,omitnil" name:"All"` // Whether to enter the policy EmbedPermission *bool `json:"EmbedPermission,omitnil" name:"EmbedPermission"` // Filters Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: `0` Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: `20`. Maximum value: 100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeCustomAccountsResponse ¶
type DescribeCustomAccountsResponse struct { *tchttp.BaseResponse Response *DescribeCustomAccountsResponseParams `json:"Response"` }
func NewDescribeCustomAccountsResponse ¶
func NewDescribeCustomAccountsResponse() (response *DescribeCustomAccountsResponse)
func (*DescribeCustomAccountsResponse) FromJsonString ¶
func (r *DescribeCustomAccountsResponse) 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 (*DescribeCustomAccountsResponse) ToJsonString ¶
func (r *DescribeCustomAccountsResponse) ToJsonString() string
type DescribeCustomAccountsResponseParams ¶
type DescribeCustomAccountsResponseParams struct { // List of custom accounts // Note: This field may return `null`, indicating that no valid values can be obtained. CustomAccounts []*CustomAccount `json:"CustomAccounts,omitnil" name:"CustomAccounts"` // Number of custom accounts TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeExternalEndpointStatusRequest ¶
type DescribeExternalEndpointStatusRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
func NewDescribeExternalEndpointStatusRequest ¶
func NewDescribeExternalEndpointStatusRequest() (request *DescribeExternalEndpointStatusRequest)
func (*DescribeExternalEndpointStatusRequest) FromJsonString ¶
func (r *DescribeExternalEndpointStatusRequest) 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 (*DescribeExternalEndpointStatusRequest) ToJsonString ¶
func (r *DescribeExternalEndpointStatusRequest) ToJsonString() string
type DescribeExternalEndpointStatusRequestParams ¶
type DescribeExternalEndpointStatusRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
Predefined struct for user
type DescribeExternalEndpointStatusResponse ¶
type DescribeExternalEndpointStatusResponse struct { *tchttp.BaseResponse Response *DescribeExternalEndpointStatusResponseParams `json:"Response"` }
func NewDescribeExternalEndpointStatusResponse ¶
func NewDescribeExternalEndpointStatusResponse() (response *DescribeExternalEndpointStatusResponse)
func (*DescribeExternalEndpointStatusResponse) FromJsonString ¶
func (r *DescribeExternalEndpointStatusResponse) 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 (*DescribeExternalEndpointStatusResponse) ToJsonString ¶
func (r *DescribeExternalEndpointStatusResponse) ToJsonString() string
type DescribeExternalEndpointStatusResponseParams ¶
type DescribeExternalEndpointStatusResponseParams struct { // Public network access status. Valid values: Opening, Opened, Closed. Status *string `json:"Status,omitnil" name:"Status"` // Reason // Note: This field may return null, indicating that no valid values can be obtained. Reason *string `json:"Reason,omitnil" name:"Reason"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeGCJobsRequest ¶
type DescribeGCJobsRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
func NewDescribeGCJobsRequest ¶
func NewDescribeGCJobsRequest() (request *DescribeGCJobsRequest)
func (*DescribeGCJobsRequest) FromJsonString ¶
func (r *DescribeGCJobsRequest) 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 (*DescribeGCJobsRequest) ToJsonString ¶
func (r *DescribeGCJobsRequest) ToJsonString() string
type DescribeGCJobsRequestParams ¶
type DescribeGCJobsRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
Predefined struct for user
type DescribeGCJobsResponse ¶
type DescribeGCJobsResponse struct { *tchttp.BaseResponse Response *DescribeGCJobsResponseParams `json:"Response"` }
func NewDescribeGCJobsResponse ¶
func NewDescribeGCJobsResponse() (response *DescribeGCJobsResponse)
func (*DescribeGCJobsResponse) FromJsonString ¶
func (r *DescribeGCJobsResponse) 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 (*DescribeGCJobsResponse) ToJsonString ¶
func (r *DescribeGCJobsResponse) ToJsonString() string
type DescribeGCJobsResponseParams ¶
type DescribeGCJobsResponseParams struct { // List of GC jobs Jobs []*GCJobInfo `json:"Jobs,omitnil" name:"Jobs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeImageAccelerateServiceRequest ¶
type DescribeImageAccelerateServiceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
func NewDescribeImageAccelerateServiceRequest ¶
func NewDescribeImageAccelerateServiceRequest() (request *DescribeImageAccelerateServiceRequest)
func (*DescribeImageAccelerateServiceRequest) FromJsonString ¶
func (r *DescribeImageAccelerateServiceRequest) 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 (*DescribeImageAccelerateServiceRequest) ToJsonString ¶
func (r *DescribeImageAccelerateServiceRequest) ToJsonString() string
type DescribeImageAccelerateServiceRequestParams ¶
type DescribeImageAccelerateServiceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
Predefined struct for user
type DescribeImageAccelerateServiceResponse ¶
type DescribeImageAccelerateServiceResponse struct { *tchttp.BaseResponse Response *DescribeImageAccelerateServiceResponseParams `json:"Response"` }
func NewDescribeImageAccelerateServiceResponse ¶
func NewDescribeImageAccelerateServiceResponse() (response *DescribeImageAccelerateServiceResponse)
func (*DescribeImageAccelerateServiceResponse) FromJsonString ¶
func (r *DescribeImageAccelerateServiceResponse) 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 (*DescribeImageAccelerateServiceResponse) ToJsonString ¶
func (r *DescribeImageAccelerateServiceResponse) ToJsonString() string
type DescribeImageAccelerateServiceResponseParams ¶
type DescribeImageAccelerateServiceResponseParams struct { // Image acceleration status Status *string `json:"Status,omitnil" name:"Status"` // CFS VIP CFSVIP *string `json:"CFSVIP,omitnil" name:"CFSVIP"` // Whether to enable IsEnable *bool `json:"IsEnable,omitnil" name:"IsEnable"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeImageManifestsRequest ¶
type DescribeImageManifestsRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Image tag ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` }
func NewDescribeImageManifestsRequest ¶
func NewDescribeImageManifestsRequest() (request *DescribeImageManifestsRequest)
func (*DescribeImageManifestsRequest) FromJsonString ¶
func (r *DescribeImageManifestsRequest) 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 (*DescribeImageManifestsRequest) ToJsonString ¶
func (r *DescribeImageManifestsRequest) ToJsonString() string
type DescribeImageManifestsRequestParams ¶
type DescribeImageManifestsRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Image tag ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` }
Predefined struct for user
type DescribeImageManifestsResponse ¶
type DescribeImageManifestsResponse struct { *tchttp.BaseResponse Response *DescribeImageManifestsResponseParams `json:"Response"` }
func NewDescribeImageManifestsResponse ¶
func NewDescribeImageManifestsResponse() (response *DescribeImageManifestsResponse)
func (*DescribeImageManifestsResponse) FromJsonString ¶
func (r *DescribeImageManifestsResponse) 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 (*DescribeImageManifestsResponse) ToJsonString ¶
func (r *DescribeImageManifestsResponse) ToJsonString() string
type DescribeImageManifestsResponseParams ¶
type DescribeImageManifestsResponseParams struct { // Image manifest information Manifest *string `json:"Manifest,omitnil" name:"Manifest"` // Image configuration information Config *string `json:"Config,omitnil" name:"Config"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeImagesRequest ¶
type DescribeImagesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Image tag specified for fuzzy search ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` // Number of entries per page, which is used for pagination. Default value: 20. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Page number. Default value: 1. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Image digest specified for search Digest *string `json:"Digest,omitnil" name:"Digest"` // Whether to use exact matching. Valid values: `true` (exact matching), `null` (fuzzy matching). ExactMatch *bool `json:"ExactMatch,omitnil" name:"ExactMatch"` }
func NewDescribeImagesRequest ¶
func NewDescribeImagesRequest() (request *DescribeImagesRequest)
func (*DescribeImagesRequest) FromJsonString ¶
func (r *DescribeImagesRequest) 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 (*DescribeImagesRequest) ToJsonString ¶
func (r *DescribeImagesRequest) ToJsonString() string
type DescribeImagesRequestParams ¶
type DescribeImagesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Image tag specified for fuzzy search ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` // Number of entries per page, which is used for pagination. Default value: 20. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Page number. Default value: 1. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Image digest specified for search Digest *string `json:"Digest,omitnil" name:"Digest"` // Whether to use exact matching. Valid values: `true` (exact matching), `null` (fuzzy matching). ExactMatch *bool `json:"ExactMatch,omitnil" name:"ExactMatch"` }
Predefined struct for user
type DescribeImagesResponse ¶
type DescribeImagesResponse struct { *tchttp.BaseResponse Response *DescribeImagesResponseParams `json:"Response"` }
func NewDescribeImagesResponse ¶
func NewDescribeImagesResponse() (response *DescribeImagesResponse)
func (*DescribeImagesResponse) FromJsonString ¶
func (r *DescribeImagesResponse) 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 (*DescribeImagesResponse) ToJsonString ¶
func (r *DescribeImagesResponse) ToJsonString() string
type DescribeImagesResponseParams ¶
type DescribeImagesResponseParams struct { // List of container images ImageInfoList []*TcrImageInfo `json:"ImageInfoList,omitnil" name:"ImageInfoList"` // Total number of container images TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeImmutableTagRulesRequest ¶
type DescribeImmutableTagRulesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" 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,omitnil" 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,omitnil" 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,omitnil" name:"EmptyNs"` // Total rules Total *int64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceAllNamespacesRequest ¶
type DescribeInstanceAllNamespacesRequest struct { *tchttp.BaseRequest // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Start position offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeInstanceAllNamespacesRequest ¶
func NewDescribeInstanceAllNamespacesRequest() (request *DescribeInstanceAllNamespacesRequest)
func (*DescribeInstanceAllNamespacesRequest) FromJsonString ¶
func (r *DescribeInstanceAllNamespacesRequest) 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 (*DescribeInstanceAllNamespacesRequest) ToJsonString ¶
func (r *DescribeInstanceAllNamespacesRequest) ToJsonString() string
type DescribeInstanceAllNamespacesRequestParams ¶
type DescribeInstanceAllNamespacesRequestParams struct { // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Start position offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeInstanceAllNamespacesResponse ¶
type DescribeInstanceAllNamespacesResponse struct { *tchttp.BaseResponse Response *DescribeInstanceAllNamespacesResponseParams `json:"Response"` }
func NewDescribeInstanceAllNamespacesResponse ¶
func NewDescribeInstanceAllNamespacesResponse() (response *DescribeInstanceAllNamespacesResponse)
func (*DescribeInstanceAllNamespacesResponse) FromJsonString ¶
func (r *DescribeInstanceAllNamespacesResponse) 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 (*DescribeInstanceAllNamespacesResponse) ToJsonString ¶
func (r *DescribeInstanceAllNamespacesResponse) ToJsonString() string
type DescribeInstanceAllNamespacesResponseParams ¶
type DescribeInstanceAllNamespacesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceCustomizedDomainRequest ¶
type DescribeInstanceCustomizedDomainRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Pagination limit Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeInstanceCustomizedDomainRequest ¶
func NewDescribeInstanceCustomizedDomainRequest() (request *DescribeInstanceCustomizedDomainRequest)
func (*DescribeInstanceCustomizedDomainRequest) FromJsonString ¶
func (r *DescribeInstanceCustomizedDomainRequest) 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 (*DescribeInstanceCustomizedDomainRequest) ToJsonString ¶
func (r *DescribeInstanceCustomizedDomainRequest) ToJsonString() string
type DescribeInstanceCustomizedDomainRequestParams ¶
type DescribeInstanceCustomizedDomainRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Pagination limit Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeInstanceCustomizedDomainResponse ¶
type DescribeInstanceCustomizedDomainResponse struct { *tchttp.BaseResponse Response *DescribeInstanceCustomizedDomainResponseParams `json:"Response"` }
func NewDescribeInstanceCustomizedDomainResponse ¶
func NewDescribeInstanceCustomizedDomainResponse() (response *DescribeInstanceCustomizedDomainResponse)
func (*DescribeInstanceCustomizedDomainResponse) FromJsonString ¶
func (r *DescribeInstanceCustomizedDomainResponse) 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 (*DescribeInstanceCustomizedDomainResponse) ToJsonString ¶
func (r *DescribeInstanceCustomizedDomainResponse) ToJsonString() string
type DescribeInstanceCustomizedDomainResponseParams ¶
type DescribeInstanceCustomizedDomainResponseParams struct { // List of domain names // Note: This field may return null, indicating that no valid values can be obtained. DomainInfoList []*CustomizedDomainInfo `json:"DomainInfoList,omitnil" name:"DomainInfoList"` // Total number TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceStatusRequest ¶
type DescribeInstanceStatusRequest struct { *tchttp.BaseRequest // Array of instance IDs RegistryIds []*string `json:"RegistryIds,omitnil" name:"RegistryIds"` }
func NewDescribeInstanceStatusRequest ¶
func NewDescribeInstanceStatusRequest() (request *DescribeInstanceStatusRequest)
func (*DescribeInstanceStatusRequest) FromJsonString ¶
func (r *DescribeInstanceStatusRequest) 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 (*DescribeInstanceStatusRequest) ToJsonString ¶
func (r *DescribeInstanceStatusRequest) ToJsonString() string
type DescribeInstanceStatusRequestParams ¶
type DescribeInstanceStatusRequestParams struct { // Array of instance IDs RegistryIds []*string `json:"RegistryIds,omitnil" name:"RegistryIds"` }
Predefined struct for user
type DescribeInstanceStatusResponse ¶
type DescribeInstanceStatusResponse struct { *tchttp.BaseResponse Response *DescribeInstanceStatusResponseParams `json:"Response"` }
func NewDescribeInstanceStatusResponse ¶
func NewDescribeInstanceStatusResponse() (response *DescribeInstanceStatusResponse)
func (*DescribeInstanceStatusResponse) FromJsonString ¶
func (r *DescribeInstanceStatusResponse) 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 (*DescribeInstanceStatusResponse) ToJsonString ¶
func (r *DescribeInstanceStatusResponse) ToJsonString() string
type DescribeInstanceStatusResponseParams ¶
type DescribeInstanceStatusResponseParams struct { // List of instance statuses // Note: This field may return null, indicating that no valid values can be obtained. RegistryStatusSet []*RegistryStatus `json:"RegistryStatusSet,omitnil" name:"RegistryStatusSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceTokenRequest ¶
type DescribeInstanceTokenRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeInstanceTokenRequest ¶
func NewDescribeInstanceTokenRequest() (request *DescribeInstanceTokenRequest)
func (*DescribeInstanceTokenRequest) FromJsonString ¶
func (r *DescribeInstanceTokenRequest) 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 (*DescribeInstanceTokenRequest) ToJsonString ¶
func (r *DescribeInstanceTokenRequest) ToJsonString() string
type DescribeInstanceTokenRequestParams ¶
type DescribeInstanceTokenRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeInstanceTokenResponse ¶
type DescribeInstanceTokenResponse struct { *tchttp.BaseResponse Response *DescribeInstanceTokenResponseParams `json:"Response"` }
func NewDescribeInstanceTokenResponse ¶
func NewDescribeInstanceTokenResponse() (response *DescribeInstanceTokenResponse)
func (*DescribeInstanceTokenResponse) FromJsonString ¶
func (r *DescribeInstanceTokenResponse) 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 (*DescribeInstanceTokenResponse) ToJsonString ¶
func (r *DescribeInstanceTokenResponse) ToJsonString() string
type DescribeInstanceTokenResponseParams ¶
type DescribeInstanceTokenResponseParams struct { // Total number of long-term access credentials TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of long-term access credentials Tokens []*TcrInstanceToken `json:"Tokens,omitnil" name:"Tokens"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // List of instance IDs (if it is empty, // it indicates to get all instances under the current account) Registryids []*string `json:"Registryids,omitnil" name:"Registryids"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Whether to get the instances in all regions. Default value: False. AllRegion *bool `json:"AllRegion,omitnil" name:"AllRegion"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
func (*DescribeInstancesRequest) FromJsonString ¶
func (r *DescribeInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesRequest) ToJsonString ¶
func (r *DescribeInstancesRequest) ToJsonString() string
type DescribeInstancesRequestParams ¶
type DescribeInstancesRequestParams struct { // List of instance IDs (if it is empty, // it indicates to get all instances under the current account) Registryids []*string `json:"Registryids,omitnil" name:"Registryids"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Whether to get the instances in all regions. Default value: False. AllRegion *bool `json:"AllRegion,omitnil" name:"AllRegion"` }
Predefined struct for user
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *tchttp.BaseResponse Response *DescribeInstancesResponseParams `json:"Response"` }
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
func (*DescribeInstancesResponse) FromJsonString ¶
func (r *DescribeInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesResponse) ToJsonString ¶
func (r *DescribeInstancesResponse) ToJsonString() string
type DescribeInstancesResponseParams ¶
type DescribeInstancesResponseParams struct { // Total number of instances TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of instances // Note: This field may return null, indicating that no valid values can be obtained. Registries []*Registry `json:"Registries,omitnil" name:"Registries"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeInternalEndpointsRequest ¶
type DescribeInternalEndpointsRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
func NewDescribeInternalEndpointsRequest ¶
func NewDescribeInternalEndpointsRequest() (request *DescribeInternalEndpointsRequest)
func (*DescribeInternalEndpointsRequest) FromJsonString ¶
func (r *DescribeInternalEndpointsRequest) 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 (*DescribeInternalEndpointsRequest) ToJsonString ¶
func (r *DescribeInternalEndpointsRequest) ToJsonString() string
type DescribeInternalEndpointsRequestParams ¶
type DescribeInternalEndpointsRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
Predefined struct for user
type DescribeInternalEndpointsResponse ¶
type DescribeInternalEndpointsResponse struct { *tchttp.BaseResponse Response *DescribeInternalEndpointsResponseParams `json:"Response"` }
func NewDescribeInternalEndpointsResponse ¶
func NewDescribeInternalEndpointsResponse() (response *DescribeInternalEndpointsResponse)
func (*DescribeInternalEndpointsResponse) FromJsonString ¶
func (r *DescribeInternalEndpointsResponse) 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 (*DescribeInternalEndpointsResponse) ToJsonString ¶
func (r *DescribeInternalEndpointsResponse) ToJsonString() string
type DescribeInternalEndpointsResponseParams ¶
type DescribeInternalEndpointsResponseParams struct { // List of private network access addresses // Note: This field may return null, indicating that no valid values can be obtained. AccessVpcSet []*AccessVpc `json:"AccessVpcSet,omitnil" name:"AccessVpcSet"` // Total number of private network access addresses TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeNamespacesRequest ¶
type DescribeNamespacesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Specified namespace. If this parameter is left empty, all namespaces will be queried. NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Page offset (page number from which to return the results) Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Whether to list all namespaces All *bool `json:"All,omitnil" name:"All"` // Filters Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Whether to query only namespaces for which the KMS image signature is enabled KmsSignPolicy *bool `json:"KmsSignPolicy,omitnil" name:"KmsSignPolicy"` }
func NewDescribeNamespacesRequest ¶
func NewDescribeNamespacesRequest() (request *DescribeNamespacesRequest)
func (*DescribeNamespacesRequest) FromJsonString ¶
func (r *DescribeNamespacesRequest) 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 (*DescribeNamespacesRequest) ToJsonString ¶
func (r *DescribeNamespacesRequest) ToJsonString() string
type DescribeNamespacesRequestParams ¶
type DescribeNamespacesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Specified namespace. If this parameter is left empty, all namespaces will be queried. NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Page offset (page number from which to return the results) Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Whether to list all namespaces All *bool `json:"All,omitnil" name:"All"` // Filters Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Whether to query only namespaces for which the KMS image signature is enabled KmsSignPolicy *bool `json:"KmsSignPolicy,omitnil" name:"KmsSignPolicy"` }
Predefined struct for user
type DescribeNamespacesResponse ¶
type DescribeNamespacesResponse struct { *tchttp.BaseResponse Response *DescribeNamespacesResponseParams `json:"Response"` }
func NewDescribeNamespacesResponse ¶
func NewDescribeNamespacesResponse() (response *DescribeNamespacesResponse)
func (*DescribeNamespacesResponse) FromJsonString ¶
func (r *DescribeNamespacesResponse) 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 (*DescribeNamespacesResponse) ToJsonString ¶
func (r *DescribeNamespacesResponse) ToJsonString() string
type DescribeNamespacesResponseParams ¶
type DescribeNamespacesResponseParams struct { // List of namespaces NamespaceList []*TcrNamespaceInfo `json:"NamespaceList,omitnil" name:"NamespaceList"` // Total number TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeRegionsRequest ¶
func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)
func (*DescribeRegionsRequest) FromJsonString ¶
func (r *DescribeRegionsRequest) 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 (*DescribeRegionsRequest) ToJsonString ¶
func (r *DescribeRegionsRequest) ToJsonString() string
type DescribeRegionsRequestParams ¶
type DescribeRegionsRequestParams struct { }
Predefined struct for user
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *tchttp.BaseResponse Response *DescribeRegionsResponseParams `json:"Response"` }
func NewDescribeRegionsResponse ¶
func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)
func (*DescribeRegionsResponse) FromJsonString ¶
func (r *DescribeRegionsResponse) 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 (*DescribeRegionsResponse) ToJsonString ¶
func (r *DescribeRegionsResponse) ToJsonString() string
type DescribeRegionsResponseParams ¶
type DescribeRegionsResponseParams struct { // Total number of returned results TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of regions Regions []*Region `json:"Regions,omitnil" name:"Regions"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeReplicationInstanceCreateTasksRequest ¶
type DescribeReplicationInstanceCreateTasksRequest struct { *tchttp.BaseRequest // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitnil" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" 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,omitnil" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" 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,omitnil" name:"TaskDetail"` // Overall task status Status *string `json:"Status,omitnil" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeReplicationInstanceSyncStatusRequest ¶
type DescribeReplicationInstanceSyncStatusRequest struct { *tchttp.BaseRequest // Master instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitnil" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" name:"ReplicationRegionId"` // Whether to show the synchronization log ShowReplicationLog *bool `json:"ShowReplicationLog,omitnil" name:"ShowReplicationLog"` // Page offset for log display. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: 5, maximum value: 20. Limit *int64 `json:"Limit,omitnil" 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,omitnil" name:"RegistryId"` // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitnil" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" name:"ReplicationRegionId"` // Whether to show the synchronization log ShowReplicationLog *bool `json:"ShowReplicationLog,omitnil" name:"ShowReplicationLog"` // Page offset for log display. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: 5, maximum value: 20. Limit *int64 `json:"Limit,omitnil" 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,omitnil" name:"ReplicationStatus"` // Synchronization completion time ReplicationTime *string `json:"ReplicationTime,omitnil" name:"ReplicationTime"` // Synchronization log // Note: this field may return `null`, indicating that no valid values can be obtained. ReplicationLog *ReplicationLog `json:"ReplicationLog,omitnil" name:"ReplicationLog"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeReplicationInstancesRequest ¶
type DescribeReplicationInstancesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: 20, maximum value: 100. Limit *int64 `json:"Limit,omitnil" 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,omitnil" name:"RegistryId"` // Offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: 20, maximum value: 100. Limit *int64 `json:"Limit,omitnil" 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,omitnil" name:"TotalCount"` // Replication instance list // Note: this field may return `null`, indicating that no valid values can be obtained. ReplicationRegistries []*ReplicationRegistry `json:"ReplicationRegistries,omitnil" name:"ReplicationRegistries"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeRepositoriesRequest ¶
type DescribeRepositoriesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Specified namespace. If this parameter is left empty, image repositories in all namespaces will be queried. NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Specified image repository. If this parameter is left empty, all image repositories in the specified namespace will be queried. RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Page number, which is used for pagination Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page, which is used for pagination Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Sort field. Valid values: -creation_time, -name, -update_time. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` }
func NewDescribeRepositoriesRequest ¶
func NewDescribeRepositoriesRequest() (request *DescribeRepositoriesRequest)
func (*DescribeRepositoriesRequest) FromJsonString ¶
func (r *DescribeRepositoriesRequest) 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 (*DescribeRepositoriesRequest) ToJsonString ¶
func (r *DescribeRepositoriesRequest) ToJsonString() string
type DescribeRepositoriesRequestParams ¶
type DescribeRepositoriesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Specified namespace. If this parameter is left empty, image repositories in all namespaces will be queried. NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Specified image repository. If this parameter is left empty, all image repositories in the specified namespace will be queried. RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Page number, which is used for pagination Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page, which is used for pagination Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Sort field. Valid values: -creation_time, -name, -update_time. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` }
Predefined struct for user
type DescribeRepositoriesResponse ¶
type DescribeRepositoriesResponse struct { *tchttp.BaseResponse Response *DescribeRepositoriesResponseParams `json:"Response"` }
func NewDescribeRepositoriesResponse ¶
func NewDescribeRepositoriesResponse() (response *DescribeRepositoriesResponse)
func (*DescribeRepositoriesResponse) FromJsonString ¶
func (r *DescribeRepositoriesResponse) 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 (*DescribeRepositoriesResponse) ToJsonString ¶
func (r *DescribeRepositoriesResponse) ToJsonString() string
type DescribeRepositoriesResponseParams ¶
type DescribeRepositoriesResponseParams struct { // Repository information list RepositoryList []*TcrRepositoryInfo `json:"RepositoryList,omitnil" name:"RepositoryList"` // Total number TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityPoliciesRequest ¶
type DescribeSecurityPoliciesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
func NewDescribeSecurityPoliciesRequest ¶
func NewDescribeSecurityPoliciesRequest() (request *DescribeSecurityPoliciesRequest)
func (*DescribeSecurityPoliciesRequest) FromJsonString ¶
func (r *DescribeSecurityPoliciesRequest) 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 (*DescribeSecurityPoliciesRequest) ToJsonString ¶
func (r *DescribeSecurityPoliciesRequest) ToJsonString() string
type DescribeSecurityPoliciesRequestParams ¶
type DescribeSecurityPoliciesRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` }
Predefined struct for user
type DescribeSecurityPoliciesResponse ¶
type DescribeSecurityPoliciesResponse struct { *tchttp.BaseResponse Response *DescribeSecurityPoliciesResponseParams `json:"Response"` }
func NewDescribeSecurityPoliciesResponse ¶
func NewDescribeSecurityPoliciesResponse() (response *DescribeSecurityPoliciesResponse)
func (*DescribeSecurityPoliciesResponse) FromJsonString ¶
func (r *DescribeSecurityPoliciesResponse) 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 (*DescribeSecurityPoliciesResponse) ToJsonString ¶
func (r *DescribeSecurityPoliciesResponse) ToJsonString() string
type DescribeSecurityPoliciesResponseParams ¶
type DescribeSecurityPoliciesResponseParams struct { // Instance security policy group // Note: This field may return null, indicating that no valid values can be obtained. SecurityPolicySet []*SecurityPolicy `json:"SecurityPolicySet,omitnil" name:"SecurityPolicySet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeServiceAccountsRequest ¶
type DescribeServiceAccountsRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // All service accounts All *bool `json:"All,omitnil" name:"All"` // Whether to fill in permission information EmbedPermission *bool `json:"EmbedPermission,omitnil" name:"EmbedPermission"` // Filters Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: `0` Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: `20`. Maximum value: `100`. The maximum value is automatically applied when a value exceeding it is entered. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeServiceAccountsRequest ¶
func NewDescribeServiceAccountsRequest() (request *DescribeServiceAccountsRequest)
func (*DescribeServiceAccountsRequest) FromJsonString ¶
func (r *DescribeServiceAccountsRequest) 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 (*DescribeServiceAccountsRequest) ToJsonString ¶
func (r *DescribeServiceAccountsRequest) ToJsonString() string
type DescribeServiceAccountsRequestParams ¶
type DescribeServiceAccountsRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // All service accounts All *bool `json:"All,omitnil" name:"All"` // Whether to fill in permission information EmbedPermission *bool `json:"EmbedPermission,omitnil" name:"EmbedPermission"` // Filters Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset. Default value: `0` Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Maximum number of output entries. Default value: `20`. Maximum value: `100`. The maximum value is automatically applied when a value exceeding it is entered. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeServiceAccountsResponse ¶
type DescribeServiceAccountsResponse struct { *tchttp.BaseResponse Response *DescribeServiceAccountsResponseParams `json:"Response"` }
func NewDescribeServiceAccountsResponse ¶
func NewDescribeServiceAccountsResponse() (response *DescribeServiceAccountsResponse)
func (*DescribeServiceAccountsResponse) FromJsonString ¶
func (r *DescribeServiceAccountsResponse) 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 (*DescribeServiceAccountsResponse) ToJsonString ¶
func (r *DescribeServiceAccountsResponse) ToJsonString() string
type DescribeServiceAccountsResponseParams ¶
type DescribeServiceAccountsResponseParams struct { // List of service accounts // Note: This field may return `null`, indicating that no valid values can be obtained. ServiceAccounts []*ServiceAccount `json:"ServiceAccounts,omitnil" name:"ServiceAccounts"` // Number of service accounts TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTagRetentionExecutionRequest ¶
type DescribeTagRetentionExecutionRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // `PageSize` for pagination Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Page offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeTagRetentionExecutionRequest ¶
func NewDescribeTagRetentionExecutionRequest() (request *DescribeTagRetentionExecutionRequest)
func (*DescribeTagRetentionExecutionRequest) FromJsonString ¶
func (r *DescribeTagRetentionExecutionRequest) 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 (*DescribeTagRetentionExecutionRequest) ToJsonString ¶
func (r *DescribeTagRetentionExecutionRequest) ToJsonString() string
type DescribeTagRetentionExecutionRequestParams ¶
type DescribeTagRetentionExecutionRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // `PageSize` for pagination Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Page offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeTagRetentionExecutionResponse ¶
type DescribeTagRetentionExecutionResponse struct { *tchttp.BaseResponse Response *DescribeTagRetentionExecutionResponseParams `json:"Response"` }
func NewDescribeTagRetentionExecutionResponse ¶
func NewDescribeTagRetentionExecutionResponse() (response *DescribeTagRetentionExecutionResponse)
func (*DescribeTagRetentionExecutionResponse) FromJsonString ¶
func (r *DescribeTagRetentionExecutionResponse) 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 (*DescribeTagRetentionExecutionResponse) ToJsonString ¶
func (r *DescribeTagRetentionExecutionResponse) ToJsonString() string
type DescribeTagRetentionExecutionResponseParams ¶
type DescribeTagRetentionExecutionResponseParams struct { // List of tag retention execution records RetentionExecutionList []*RetentionExecution `json:"RetentionExecutionList,omitnil" name:"RetentionExecutionList"` // Total number of tag retention execution records TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTagRetentionExecutionTaskRequest ¶
type DescribeTagRetentionExecutionTaskRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // Rule execution ID ExecutionId *int64 `json:"ExecutionId,omitnil" name:"ExecutionId"` // Page offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` // `PageSize` for pagination Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeTagRetentionExecutionTaskRequest ¶
func NewDescribeTagRetentionExecutionTaskRequest() (request *DescribeTagRetentionExecutionTaskRequest)
func (*DescribeTagRetentionExecutionTaskRequest) FromJsonString ¶
func (r *DescribeTagRetentionExecutionTaskRequest) 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 (*DescribeTagRetentionExecutionTaskRequest) ToJsonString ¶
func (r *DescribeTagRetentionExecutionTaskRequest) ToJsonString() string
type DescribeTagRetentionExecutionTaskRequestParams ¶
type DescribeTagRetentionExecutionTaskRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // Rule execution ID ExecutionId *int64 `json:"ExecutionId,omitnil" name:"ExecutionId"` // Page offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` // `PageSize` for pagination Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeTagRetentionExecutionTaskResponse ¶
type DescribeTagRetentionExecutionTaskResponse struct { *tchttp.BaseResponse Response *DescribeTagRetentionExecutionTaskResponseParams `json:"Response"` }
func NewDescribeTagRetentionExecutionTaskResponse ¶
func NewDescribeTagRetentionExecutionTaskResponse() (response *DescribeTagRetentionExecutionTaskResponse)
func (*DescribeTagRetentionExecutionTaskResponse) FromJsonString ¶
func (r *DescribeTagRetentionExecutionTaskResponse) 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 (*DescribeTagRetentionExecutionTaskResponse) ToJsonString ¶
func (r *DescribeTagRetentionExecutionTaskResponse) ToJsonString() string
type DescribeTagRetentionExecutionTaskResponseParams ¶
type DescribeTagRetentionExecutionTaskResponseParams struct { // List of tag retention execution tasks RetentionTaskList []*RetentionTask `json:"RetentionTaskList,omitnil" name:"RetentionTaskList"` // Total number of tag retention execution tasks TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTagRetentionRulesRequest ¶
type DescribeTagRetentionRulesRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // `PageSize` for pagination Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Page offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeTagRetentionRulesRequest ¶
func NewDescribeTagRetentionRulesRequest() (request *DescribeTagRetentionRulesRequest)
func (*DescribeTagRetentionRulesRequest) FromJsonString ¶
func (r *DescribeTagRetentionRulesRequest) 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 (*DescribeTagRetentionRulesRequest) ToJsonString ¶
func (r *DescribeTagRetentionRulesRequest) ToJsonString() string
type DescribeTagRetentionRulesRequestParams ¶
type DescribeTagRetentionRulesRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // `PageSize` for pagination Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Page offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeTagRetentionRulesResponse ¶
type DescribeTagRetentionRulesResponse struct { *tchttp.BaseResponse Response *DescribeTagRetentionRulesResponseParams `json:"Response"` }
func NewDescribeTagRetentionRulesResponse ¶
func NewDescribeTagRetentionRulesResponse() (response *DescribeTagRetentionRulesResponse)
func (*DescribeTagRetentionRulesResponse) FromJsonString ¶
func (r *DescribeTagRetentionRulesResponse) 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 (*DescribeTagRetentionRulesResponse) ToJsonString ¶
func (r *DescribeTagRetentionRulesResponse) ToJsonString() string
type DescribeTagRetentionRulesResponseParams ¶
type DescribeTagRetentionRulesResponseParams struct { // List of tag retention policies RetentionPolicyList []*RetentionPolicy `json:"RetentionPolicyList,omitnil" name:"RetentionPolicyList"` // Total number of tag retention policies TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeWebhookTriggerLogRequest ¶
type DescribeWebhookTriggerLogRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // Trigger ID Id *int64 `json:"Id,omitnil" name:"Id"` // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
func NewDescribeWebhookTriggerLogRequest ¶
func NewDescribeWebhookTriggerLogRequest() (request *DescribeWebhookTriggerLogRequest)
func (*DescribeWebhookTriggerLogRequest) FromJsonString ¶
func (r *DescribeWebhookTriggerLogRequest) 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 (*DescribeWebhookTriggerLogRequest) ToJsonString ¶
func (r *DescribeWebhookTriggerLogRequest) ToJsonString() string
type DescribeWebhookTriggerLogRequestParams ¶
type DescribeWebhookTriggerLogRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // Trigger ID Id *int64 `json:"Id,omitnil" name:"Id"` // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DescribeWebhookTriggerLogResponse ¶
type DescribeWebhookTriggerLogResponse struct { *tchttp.BaseResponse Response *DescribeWebhookTriggerLogResponseParams `json:"Response"` }
func NewDescribeWebhookTriggerLogResponse ¶
func NewDescribeWebhookTriggerLogResponse() (response *DescribeWebhookTriggerLogResponse)
func (*DescribeWebhookTriggerLogResponse) FromJsonString ¶
func (r *DescribeWebhookTriggerLogResponse) 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 (*DescribeWebhookTriggerLogResponse) ToJsonString ¶
func (r *DescribeWebhookTriggerLogResponse) ToJsonString() string
type DescribeWebhookTriggerLogResponseParams ¶
type DescribeWebhookTriggerLogResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of logs Logs []*WebhookTriggerLog `json:"Logs,omitnil" name:"Logs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeWebhookTriggerRequest ¶
type DescribeWebhookTriggerRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` }
func NewDescribeWebhookTriggerRequest ¶
func NewDescribeWebhookTriggerRequest() (request *DescribeWebhookTriggerRequest)
func (*DescribeWebhookTriggerRequest) FromJsonString ¶
func (r *DescribeWebhookTriggerRequest) 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 (*DescribeWebhookTriggerRequest) ToJsonString ¶
func (r *DescribeWebhookTriggerRequest) ToJsonString() string
type DescribeWebhookTriggerRequestParams ¶
type DescribeWebhookTriggerRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Number of entries per page Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` }
Predefined struct for user
type DescribeWebhookTriggerResponse ¶
type DescribeWebhookTriggerResponse struct { *tchttp.BaseResponse Response *DescribeWebhookTriggerResponseParams `json:"Response"` }
func NewDescribeWebhookTriggerResponse ¶
func NewDescribeWebhookTriggerResponse() (response *DescribeWebhookTriggerResponse)
func (*DescribeWebhookTriggerResponse) FromJsonString ¶
func (r *DescribeWebhookTriggerResponse) 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 (*DescribeWebhookTriggerResponse) ToJsonString ¶
func (r *DescribeWebhookTriggerResponse) ToJsonString() string
type DescribeWebhookTriggerResponseParams ¶
type DescribeWebhookTriggerResponseParams struct { // Total number of triggers TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of triggers Triggers []*WebhookTrigger `json:"Triggers,omitnil" name:"Triggers"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DownloadHelmChartRequest ¶
type DownloadHelmChartRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Helm chart name ChartName *string `json:"ChartName,omitnil" name:"ChartName"` // Helm chart version ChartVersion *string `json:"ChartVersion,omitnil" name:"ChartVersion"` }
func NewDownloadHelmChartRequest ¶
func NewDownloadHelmChartRequest() (request *DownloadHelmChartRequest)
func (*DownloadHelmChartRequest) FromJsonString ¶
func (r *DownloadHelmChartRequest) 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 (*DownloadHelmChartRequest) ToJsonString ¶
func (r *DownloadHelmChartRequest) ToJsonString() string
type DownloadHelmChartRequestParams ¶
type DownloadHelmChartRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Helm chart name ChartName *string `json:"ChartName,omitnil" name:"ChartName"` // Helm chart version ChartVersion *string `json:"ChartVersion,omitnil" name:"ChartVersion"` }
Predefined struct for user
type DownloadHelmChartResponse ¶
type DownloadHelmChartResponse struct { *tchttp.BaseResponse Response *DownloadHelmChartResponseParams `json:"Response"` }
func NewDownloadHelmChartResponse ¶
func NewDownloadHelmChartResponse() (response *DownloadHelmChartResponse)
func (*DownloadHelmChartResponse) FromJsonString ¶
func (r *DownloadHelmChartResponse) 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 (*DownloadHelmChartResponse) ToJsonString ¶
func (r *DownloadHelmChartResponse) ToJsonString() string
type DownloadHelmChartResponseParams ¶
type DownloadHelmChartResponseParams struct { // Temporary token TmpToken *string `json:"TmpToken,omitnil" name:"TmpToken"` // Temporary `secretId` TmpSecretId *string `json:"TmpSecretId,omitnil" name:"TmpSecretId"` // Temporary `secretKey` TmpSecretKey *string `json:"TmpSecretKey,omitnil" name:"TmpSecretKey"` // Bucket information Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // Instance ID Region *string `json:"Region,omitnil" name:"Region"` // Chart information Path *string `json:"Path,omitnil" name:"Path"` // Start timestamp StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"` // Token expiration timestamp ExpiredTime *int64 `json:"ExpiredTime,omitnil" name:"ExpiredTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Filter ¶
type Filter struct { // Attribute name. If more than one filter exists, the logical relationship between these filters is `AND`. Name *string `json:"Name,omitnil" name:"Name"` // Attribute value. If multiple values exist in one filter, the logical relationship between these values is `OR`. Values []*string `json:"Values,omitnil" name:"Values"` }
type GCJobInfo ¶
type GCJobInfo struct { // Job ID ID *int64 `json:"ID,omitnil" name:"ID"` // Job status JobStatus *string `json:"JobStatus,omitnil" name:"JobStatus"` // Creation time CreationTime *string `json:"CreationTime,omitnil" name:"CreationTime"` // Update time UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Scheduling information Schedule *Schedule `json:"Schedule,omitnil" name:"Schedule"` }
type ImmutableTagRule ¶
type ImmutableTagRule struct { // Repository matching rule RepositoryPattern *string `json:"RepositoryPattern,omitnil" name:"RepositoryPattern"` // Tag matching rule TagPattern *string `json:"TagPattern,omitnil" name:"TagPattern"` // repoMatches or repoExcludes RepositoryDecoration *string `json:"RepositoryDecoration,omitnil" name:"RepositoryDecoration"` // matches or excludes TagDecoration *string `json:"TagDecoration,omitnil" name:"TagDecoration"` // Disabling rule Disabled *bool `json:"Disabled,omitnil" name:"Disabled"` // Rule ID RuleId *int64 `json:"RuleId,omitnil" name:"RuleId"` // Namespace NsName *string `json:"NsName,omitnil" name:"NsName"` }
type KeyValueString ¶
type ManageExternalEndpointRequest ¶
type ManageExternalEndpointRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Operation. Valid values: Create, Delete. Operation *string `json:"Operation,omitnil" name:"Operation"` }
func NewManageExternalEndpointRequest ¶
func NewManageExternalEndpointRequest() (request *ManageExternalEndpointRequest)
func (*ManageExternalEndpointRequest) FromJsonString ¶
func (r *ManageExternalEndpointRequest) 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 (*ManageExternalEndpointRequest) ToJsonString ¶
func (r *ManageExternalEndpointRequest) ToJsonString() string
type ManageExternalEndpointRequestParams ¶
type ManageExternalEndpointRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Operation. Valid values: Create, Delete. Operation *string `json:"Operation,omitnil" name:"Operation"` }
Predefined struct for user
type ManageExternalEndpointResponse ¶
type ManageExternalEndpointResponse struct { *tchttp.BaseResponse Response *ManageExternalEndpointResponseParams `json:"Response"` }
func NewManageExternalEndpointResponse ¶
func NewManageExternalEndpointResponse() (response *ManageExternalEndpointResponse)
func (*ManageExternalEndpointResponse) FromJsonString ¶
func (r *ManageExternalEndpointResponse) 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 (*ManageExternalEndpointResponse) ToJsonString ¶
func (r *ManageExternalEndpointResponse) ToJsonString() string
type ManageExternalEndpointResponseParams ¶
type ManageExternalEndpointResponseParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ManageInternalEndpointRequest ¶
type ManageInternalEndpointRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Create/Delete Operation *string `json:"Operation,omitnil" name:"Operation"` // ID of the VPC to be connected to VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ID of the subnet to be connected to SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ID of the requested region, which is used as the region of the replica instance RegionId *uint64 `json:"RegionId,omitnil" name:"RegionId"` // Name of the requested region, which is used as the region of the replica instance RegionName *string `json:"RegionName,omitnil" name:"RegionName"` }
func NewManageInternalEndpointRequest ¶
func NewManageInternalEndpointRequest() (request *ManageInternalEndpointRequest)
func (*ManageInternalEndpointRequest) FromJsonString ¶
func (r *ManageInternalEndpointRequest) 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 (*ManageInternalEndpointRequest) ToJsonString ¶
func (r *ManageInternalEndpointRequest) ToJsonString() string
type ManageInternalEndpointRequestParams ¶
type ManageInternalEndpointRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Create/Delete Operation *string `json:"Operation,omitnil" name:"Operation"` // ID of the VPC to be connected to VpcId *string `json:"VpcId,omitnil" name:"VpcId"` // ID of the subnet to be connected to SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"` // ID of the requested region, which is used as the region of the replica instance RegionId *uint64 `json:"RegionId,omitnil" name:"RegionId"` // Name of the requested region, which is used as the region of the replica instance RegionName *string `json:"RegionName,omitnil" name:"RegionName"` }
Predefined struct for user
type ManageInternalEndpointResponse ¶
type ManageInternalEndpointResponse struct { *tchttp.BaseResponse Response *ManageInternalEndpointResponseParams `json:"Response"` }
func NewManageInternalEndpointResponse ¶
func NewManageInternalEndpointResponse() (response *ManageInternalEndpointResponse)
func (*ManageInternalEndpointResponse) FromJsonString ¶
func (r *ManageInternalEndpointResponse) 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 (*ManageInternalEndpointResponse) ToJsonString ¶
func (r *ManageInternalEndpointResponse) ToJsonString() string
type ManageInternalEndpointResponseParams ¶
type ManageInternalEndpointResponseParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ManageReplicationRequest ¶
type ManageReplicationRequest struct { *tchttp.BaseRequest // Source instance ID SourceRegistryId *string `json:"SourceRegistryId,omitnil" name:"SourceRegistryId"` // Destination instance ID DestinationRegistryId *string `json:"DestinationRegistryId,omitnil" name:"DestinationRegistryId"` // Synchronization rule Rule *ReplicationRule `json:"Rule,omitnil" name:"Rule"` // Rule description Description *string `json:"Description,omitnil" name:"Description"` // Region ID of the destination instance. For example, `1` represents Guangzhou DestinationRegionId *uint64 `json:"DestinationRegionId,omitnil" name:"DestinationRegionId"` // Configuration of the synchronization rule PeerReplicationOption *PeerReplicationOption `json:"PeerReplicationOption,omitnil" 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,omitnil" name:"SourceRegistryId"` // Destination instance ID DestinationRegistryId *string `json:"DestinationRegistryId,omitnil" name:"DestinationRegistryId"` // Synchronization rule Rule *ReplicationRule `json:"Rule,omitnil" name:"Rule"` // Rule description Description *string `json:"Description,omitnil" name:"Description"` // Region ID of the destination instance. For example, `1` represents Guangzhou DestinationRegionId *uint64 `json:"DestinationRegionId,omitnil" name:"DestinationRegionId"` // Configuration of the synchronization rule PeerReplicationOption *PeerReplicationOption `json:"PeerReplicationOption,omitnil" 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,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyCustomAccountRequest ¶
type ModifyCustomAccountRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom account name Name *string `json:"Name,omitnil" name:"Name"` // Custom account description Description *string `json:"Description,omitnil" name:"Description"` // Validity in days starting from the current day. It takes a higher priority than `ExpiresAt`. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Expiry time of the custom account (timestamp) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Whether to disable the custom account Disable *bool `json:"Disable,omitnil" name:"Disable"` // Policy list Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` }
func NewModifyCustomAccountRequest ¶
func NewModifyCustomAccountRequest() (request *ModifyCustomAccountRequest)
func (*ModifyCustomAccountRequest) FromJsonString ¶
func (r *ModifyCustomAccountRequest) 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 (*ModifyCustomAccountRequest) ToJsonString ¶
func (r *ModifyCustomAccountRequest) ToJsonString() string
type ModifyCustomAccountRequestParams ¶
type ModifyCustomAccountRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Custom account name Name *string `json:"Name,omitnil" name:"Name"` // Custom account description Description *string `json:"Description,omitnil" name:"Description"` // Validity in days starting from the current day. It takes a higher priority than `ExpiresAt`. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Expiry time of the custom account (timestamp) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Whether to disable the custom account Disable *bool `json:"Disable,omitnil" name:"Disable"` // Policy list Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` }
Predefined struct for user
type ModifyCustomAccountResponse ¶
type ModifyCustomAccountResponse struct { *tchttp.BaseResponse Response *ModifyCustomAccountResponseParams `json:"Response"` }
func NewModifyCustomAccountResponse ¶
func NewModifyCustomAccountResponse() (response *ModifyCustomAccountResponse)
func (*ModifyCustomAccountResponse) FromJsonString ¶
func (r *ModifyCustomAccountResponse) 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 (*ModifyCustomAccountResponse) ToJsonString ¶
func (r *ModifyCustomAccountResponse) ToJsonString() string
type ModifyCustomAccountResponseParams ¶
type ModifyCustomAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyImmutableTagRulesRequest ¶
type ModifyImmutableTagRulesRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Rule ID RuleId *int64 `json:"RuleId,omitnil" name:"RuleId"` // Rule Rule *ImmutableTagRule `json:"Rule,omitnil" 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,omitnil" name:"RegistryId"` // Namespace NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Rule ID RuleId *int64 `json:"RuleId,omitnil" name:"RuleId"` // Rule Rule *ImmutableTagRule `json:"Rule,omitnil" 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,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceRequest ¶
type ModifyInstanceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Instance edition // Basic: `basic` // Standard: `standard` // Premium: `premium` RegistryType *string `json:"RegistryType,omitnil" name:"RegistryType"` // Whether to enable deletion protection. It defaults to `false`. DeletionProtection *bool `json:"DeletionProtection,omitnil" name:"DeletionProtection"` }
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,omitnil" name:"RegistryId"` // Instance edition // Basic: `basic` // Standard: `standard` // Premium: `premium` RegistryType *string `json:"RegistryType,omitnil" name:"RegistryType"` // Whether to enable deletion protection. It defaults to `false`. DeletionProtection *bool `json:"DeletionProtection,omitnil" name:"DeletionProtection"` }
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,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceTokenRequest ¶
type ModifyInstanceTokenRequest struct { *tchttp.BaseRequest // ID of the long-term access credential of the instance TokenId *string `json:"TokenId,omitnil" name:"TokenId"` // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Whether to enable the long-term access credential of the instance Enable *bool `json:"Enable,omitnil" name:"Enable"` // Access credential description Desc *string `json:"Desc,omitnil" name:"Desc"` // Valid values: 1: Modify the description; 2: Enable/Disable. Default value: 2. ModifyFlag *int64 `json:"ModifyFlag,omitnil" name:"ModifyFlag"` }
func NewModifyInstanceTokenRequest ¶
func NewModifyInstanceTokenRequest() (request *ModifyInstanceTokenRequest)
func (*ModifyInstanceTokenRequest) FromJsonString ¶
func (r *ModifyInstanceTokenRequest) 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 (*ModifyInstanceTokenRequest) ToJsonString ¶
func (r *ModifyInstanceTokenRequest) ToJsonString() string
type ModifyInstanceTokenRequestParams ¶
type ModifyInstanceTokenRequestParams struct { // ID of the long-term access credential of the instance TokenId *string `json:"TokenId,omitnil" name:"TokenId"` // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Whether to enable the long-term access credential of the instance Enable *bool `json:"Enable,omitnil" name:"Enable"` // Access credential description Desc *string `json:"Desc,omitnil" name:"Desc"` // Valid values: 1: Modify the description; 2: Enable/Disable. Default value: 2. ModifyFlag *int64 `json:"ModifyFlag,omitnil" name:"ModifyFlag"` }
Predefined struct for user
type ModifyInstanceTokenResponse ¶
type ModifyInstanceTokenResponse struct { *tchttp.BaseResponse Response *ModifyInstanceTokenResponseParams `json:"Response"` }
func NewModifyInstanceTokenResponse ¶
func NewModifyInstanceTokenResponse() (response *ModifyInstanceTokenResponse)
func (*ModifyInstanceTokenResponse) FromJsonString ¶
func (r *ModifyInstanceTokenResponse) 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 (*ModifyInstanceTokenResponse) ToJsonString ¶
func (r *ModifyInstanceTokenResponse) ToJsonString() string
type ModifyInstanceTokenResponseParams ¶
type ModifyInstanceTokenResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyNamespaceRequest ¶
type ModifyNamespaceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Access level. Valid values: True: Public; False: Private. IsPublic *bool `json:"IsPublic,omitnil" name:"IsPublic"` }
func NewModifyNamespaceRequest ¶
func NewModifyNamespaceRequest() (request *ModifyNamespaceRequest)
func (*ModifyNamespaceRequest) FromJsonString ¶
func (r *ModifyNamespaceRequest) 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 (*ModifyNamespaceRequest) ToJsonString ¶
func (r *ModifyNamespaceRequest) ToJsonString() string
type ModifyNamespaceRequestParams ¶
type ModifyNamespaceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Access level. Valid values: True: Public; False: Private. IsPublic *bool `json:"IsPublic,omitnil" name:"IsPublic"` }
Predefined struct for user
type ModifyNamespaceResponse ¶
type ModifyNamespaceResponse struct { *tchttp.BaseResponse Response *ModifyNamespaceResponseParams `json:"Response"` }
func NewModifyNamespaceResponse ¶
func NewModifyNamespaceResponse() (response *ModifyNamespaceResponse)
func (*ModifyNamespaceResponse) FromJsonString ¶
func (r *ModifyNamespaceResponse) 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 (*ModifyNamespaceResponse) ToJsonString ¶
func (r *ModifyNamespaceResponse) ToJsonString() string
type ModifyNamespaceResponseParams ¶
type ModifyNamespaceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyRepositoryRequest ¶
type ModifyRepositoryRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Brief repository description BriefDescription *string `json:"BriefDescription,omitnil" name:"BriefDescription"` // Detailed repository description Description *string `json:"Description,omitnil" name:"Description"` }
func NewModifyRepositoryRequest ¶
func NewModifyRepositoryRequest() (request *ModifyRepositoryRequest)
func (*ModifyRepositoryRequest) FromJsonString ¶
func (r *ModifyRepositoryRequest) 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 (*ModifyRepositoryRequest) ToJsonString ¶
func (r *ModifyRepositoryRequest) ToJsonString() string
type ModifyRepositoryRequestParams ¶
type ModifyRepositoryRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // Image repository name RepositoryName *string `json:"RepositoryName,omitnil" name:"RepositoryName"` // Brief repository description BriefDescription *string `json:"BriefDescription,omitnil" name:"BriefDescription"` // Detailed repository description Description *string `json:"Description,omitnil" name:"Description"` }
Predefined struct for user
type ModifyRepositoryResponse ¶
type ModifyRepositoryResponse struct { *tchttp.BaseResponse Response *ModifyRepositoryResponseParams `json:"Response"` }
func NewModifyRepositoryResponse ¶
func NewModifyRepositoryResponse() (response *ModifyRepositoryResponse)
func (*ModifyRepositoryResponse) FromJsonString ¶
func (r *ModifyRepositoryResponse) 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 (*ModifyRepositoryResponse) ToJsonString ¶
func (r *ModifyRepositoryResponse) ToJsonString() string
type ModifyRepositoryResponseParams ¶
type ModifyRepositoryResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifySecurityPolicyRequest ¶
type ModifySecurityPolicyRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // PolicyId PolicyIndex *int64 `json:"PolicyIndex,omitnil" name:"PolicyIndex"` // Allowed IP, such as `192.168.0.0/24` CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // Remarks Description *string `json:"Description,omitnil" name:"Description"` }
func NewModifySecurityPolicyRequest ¶
func NewModifySecurityPolicyRequest() (request *ModifySecurityPolicyRequest)
func (*ModifySecurityPolicyRequest) FromJsonString ¶
func (r *ModifySecurityPolicyRequest) 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 (*ModifySecurityPolicyRequest) ToJsonString ¶
func (r *ModifySecurityPolicyRequest) ToJsonString() string
type ModifySecurityPolicyRequestParams ¶
type ModifySecurityPolicyRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // PolicyId PolicyIndex *int64 `json:"PolicyIndex,omitnil" name:"PolicyIndex"` // Allowed IP, such as `192.168.0.0/24` CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // Remarks Description *string `json:"Description,omitnil" name:"Description"` }
Predefined struct for user
type ModifySecurityPolicyResponse ¶
type ModifySecurityPolicyResponse struct { *tchttp.BaseResponse Response *ModifySecurityPolicyResponseParams `json:"Response"` }
func NewModifySecurityPolicyResponse ¶
func NewModifySecurityPolicyResponse() (response *ModifySecurityPolicyResponse)
func (*ModifySecurityPolicyResponse) FromJsonString ¶
func (r *ModifySecurityPolicyResponse) 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 (*ModifySecurityPolicyResponse) ToJsonString ¶
func (r *ModifySecurityPolicyResponse) ToJsonString() string
type ModifySecurityPolicyResponseParams ¶
type ModifySecurityPolicyResponseParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyServiceAccountRequest ¶
type ModifyServiceAccountRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Service account name Name *string `json:"Name,omitnil" name:"Name"` // Service account description Description *string `json:"Description,omitnil" name:"Description"` // Validity in days starting from the current day, It takes a higher priority than `ExpiresAt`. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Expiry time (timestamp, in milliseconds) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Whether to disable the service account Disable *bool `json:"Disable,omitnil" name:"Disable"` // Policy list Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` }
func NewModifyServiceAccountRequest ¶
func NewModifyServiceAccountRequest() (request *ModifyServiceAccountRequest)
func (*ModifyServiceAccountRequest) FromJsonString ¶
func (r *ModifyServiceAccountRequest) 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 (*ModifyServiceAccountRequest) ToJsonString ¶
func (r *ModifyServiceAccountRequest) ToJsonString() string
type ModifyServiceAccountRequestParams ¶
type ModifyServiceAccountRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Service account name Name *string `json:"Name,omitnil" name:"Name"` // Service account description Description *string `json:"Description,omitnil" name:"Description"` // Validity in days starting from the current day, It takes a higher priority than `ExpiresAt`. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Expiry time (timestamp, in milliseconds) ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Whether to disable the service account Disable *bool `json:"Disable,omitnil" name:"Disable"` // Policy list Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` }
Predefined struct for user
type ModifyServiceAccountResponse ¶
type ModifyServiceAccountResponse struct { *tchttp.BaseResponse Response *ModifyServiceAccountResponseParams `json:"Response"` }
func NewModifyServiceAccountResponse ¶
func NewModifyServiceAccountResponse() (response *ModifyServiceAccountResponse)
func (*ModifyServiceAccountResponse) FromJsonString ¶
func (r *ModifyServiceAccountResponse) 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 (*ModifyServiceAccountResponse) ToJsonString ¶
func (r *ModifyServiceAccountResponse) ToJsonString() string
type ModifyServiceAccountResponseParams ¶
type ModifyServiceAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyTagRetentionRuleRequest ¶
type ModifyTagRetentionRuleRequest struct { *tchttp.BaseRequest // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // ID of the original namespace NamespaceId *int64 `json:"NamespaceId,omitnil" name:"NamespaceId"` // Retention policy RetentionRule *RetentionRule `json:"RetentionRule,omitnil" name:"RetentionRule"` // Original execution cycle CronSetting *string `json:"CronSetting,omitnil" name:"CronSetting"` // Rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // Whether to disable the rule Disabled *bool `json:"Disabled,omitnil" name:"Disabled"` }
func NewModifyTagRetentionRuleRequest ¶
func NewModifyTagRetentionRuleRequest() (request *ModifyTagRetentionRuleRequest)
func (*ModifyTagRetentionRuleRequest) FromJsonString ¶
func (r *ModifyTagRetentionRuleRequest) 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 (*ModifyTagRetentionRuleRequest) ToJsonString ¶
func (r *ModifyTagRetentionRuleRequest) ToJsonString() string
type ModifyTagRetentionRuleRequestParams ¶
type ModifyTagRetentionRuleRequestParams struct { // Primary instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // ID of the original namespace NamespaceId *int64 `json:"NamespaceId,omitnil" name:"NamespaceId"` // Retention policy RetentionRule *RetentionRule `json:"RetentionRule,omitnil" name:"RetentionRule"` // Original execution cycle CronSetting *string `json:"CronSetting,omitnil" name:"CronSetting"` // Rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // Whether to disable the rule Disabled *bool `json:"Disabled,omitnil" name:"Disabled"` }
Predefined struct for user
type ModifyTagRetentionRuleResponse ¶
type ModifyTagRetentionRuleResponse struct { *tchttp.BaseResponse Response *ModifyTagRetentionRuleResponseParams `json:"Response"` }
func NewModifyTagRetentionRuleResponse ¶
func NewModifyTagRetentionRuleResponse() (response *ModifyTagRetentionRuleResponse)
func (*ModifyTagRetentionRuleResponse) FromJsonString ¶
func (r *ModifyTagRetentionRuleResponse) 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 (*ModifyTagRetentionRuleResponse) ToJsonString ¶
func (r *ModifyTagRetentionRuleResponse) ToJsonString() string
type ModifyTagRetentionRuleResponseParams ¶
type ModifyTagRetentionRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyWebhookTriggerRequest ¶
type ModifyWebhookTriggerRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Trigger parameter Trigger *WebhookTrigger `json:"Trigger,omitnil" name:"Trigger"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` }
func NewModifyWebhookTriggerRequest ¶
func NewModifyWebhookTriggerRequest() (request *ModifyWebhookTriggerRequest)
func (*ModifyWebhookTriggerRequest) FromJsonString ¶
func (r *ModifyWebhookTriggerRequest) 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 (*ModifyWebhookTriggerRequest) ToJsonString ¶
func (r *ModifyWebhookTriggerRequest) ToJsonString() string
type ModifyWebhookTriggerRequestParams ¶
type ModifyWebhookTriggerRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Trigger parameter Trigger *WebhookTrigger `json:"Trigger,omitnil" name:"Trigger"` // Namespace Namespace *string `json:"Namespace,omitnil" name:"Namespace"` }
Predefined struct for user
type ModifyWebhookTriggerResponse ¶
type ModifyWebhookTriggerResponse struct { *tchttp.BaseResponse Response *ModifyWebhookTriggerResponseParams `json:"Response"` }
func NewModifyWebhookTriggerResponse ¶
func NewModifyWebhookTriggerResponse() (response *ModifyWebhookTriggerResponse)
func (*ModifyWebhookTriggerResponse) FromJsonString ¶
func (r *ModifyWebhookTriggerResponse) 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 (*ModifyWebhookTriggerResponse) ToJsonString ¶
func (r *ModifyWebhookTriggerResponse) ToJsonString() string
type ModifyWebhookTriggerResponseParams ¶
type ModifyWebhookTriggerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type PeerReplicationOption ¶
type PeerReplicationOption struct { // UIN of the destination instance PeerRegistryUin *string `json:"PeerRegistryUin,omitnil" name:"PeerRegistryUin"` // Permanent access Token for the destination instance PeerRegistryToken *string `json:"PeerRegistryToken,omitnil" name:"PeerRegistryToken"` // Whether to enable cross-account synchronization EnablePeerReplication *bool `json:"EnablePeerReplication,omitnil" name:"EnablePeerReplication"` }
type Permission ¶
type Permission struct { // Resource path. Valid value: `Namespace` // Note: This field may return `null`, indicating that no valid values can be obtained. Resource *string `json:"Resource,omitnil" name:"Resource"` // Action. Valid values: `tcr:PushRepository`, `tcr:PullRepository` // Note: This field may return `null`, indicating that no valid values can be obtained. Actions []*string `json:"Actions,omitnil" name:"Actions"` }
type Region ¶
type Region struct { // gz Alias *string `json:"Alias,omitnil" name:"Alias"` // 1 RegionId *uint64 `json:"RegionId,omitnil" name:"RegionId"` // ap-guangzhou RegionName *string `json:"RegionName,omitnil" name:"RegionName"` // alluser Status *string `json:"Status,omitnil" name:"Status"` // remark Remark *string `json:"Remark,omitnil" name:"Remark"` // Creation time CreatedAt *string `json:"CreatedAt,omitnil" name:"CreatedAt"` // Update time UpdatedAt *string `json:"UpdatedAt,omitnil" name:"UpdatedAt"` // id Id *int64 `json:"Id,omitnil" name:"Id"` }
type Registry ¶
type Registry struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Instance name RegistryName *string `json:"RegistryName,omitnil" name:"RegistryName"` // Instance specification RegistryType *string `json:"RegistryType,omitnil" name:"RegistryType"` // Instance status Status *string `json:"Status,omitnil" name:"Status"` // Public access URL of the instance PublicDomain *string `json:"PublicDomain,omitnil" name:"PublicDomain"` // Instance creation time CreatedAt *string `json:"CreatedAt,omitnil" name:"CreatedAt"` // Region name RegionName *string `json:"RegionName,omitnil" name:"RegionName"` // Region ID RegionId *uint64 `json:"RegionId,omitnil" name:"RegionId"` // Whether to enable anonymity EnableAnonymous *bool `json:"EnableAnonymous,omitnil" name:"EnableAnonymous"` // Token validity period TokenValidTime *uint64 `json:"TokenValidTime,omitnil" name:"TokenValidTime"` // Internal access address of the instance InternalEndpoint *string `json:"InternalEndpoint,omitnil" name:"InternalEndpoint"` // Cloud tag of the instance // Note: This field may return null, indicating that no valid values can be obtained. TagSpecification *TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` // Instance expiration time (for prepayment) // Note: This field may return null, indicating that no valid values can be obtained. ExpiredAt *string `json:"ExpiredAt,omitnil" name:"ExpiredAt"` // Instance billing mode. Valid values: 0: Postpayment; 1: Prepayment. // Note: This field may return null, indicating that no valid values can be obtained. PayMod *int64 `json:"PayMod,omitnil" name:"PayMod"` // Prepayment renewal flag. Valid values: 0: Manual renewal; 1: Auto-renewal; 2: No renewal and no notification. // Note: This field may return null, indicating that no valid values can be obtained. RenewFlag *int64 `json:"RenewFlag,omitnil" name:"RenewFlag"` }
type RegistryChargePrepaid ¶
type RegistryCondition ¶
type RegistryCondition struct { // Instance creation process type Type *string `json:"Type,omitnil" name:"Type"` // Instance creation process status Status *string `json:"Status,omitnil" name:"Status"` // Reasons for transiting to the process // Note: This field may return null, indicating that no valid values can be obtained. Reason *string `json:"Reason,omitnil" name:"Reason"` }
type RegistryStatus ¶
type RegistryStatus struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Instance status Status *string `json:"Status,omitnil" name:"Status"` // Additional status // Note: This field may return null, indicating that no valid values can be obtained. Conditions []*RegistryCondition `json:"Conditions,omitnil" name:"Conditions"` }
type RenewInstanceRequest ¶
type RenewInstanceRequest struct { *tchttp.BaseRequest // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Auto-renewal flag and purchase duration in months for prepayment. Valid values: 0: Manual renewal; 1: Auto-renewal; 2: No renewal and no notification. RegistryChargePrepaid *RegistryChargePrepaid `json:"RegistryChargePrepaid,omitnil" name:"RegistryChargePrepaid"` // Valid values: 0: renewal; 1: change from pay-as-you-go to monthly subscription billing Flag *int64 `json:"Flag,omitnil" name:"Flag"` }
func NewRenewInstanceRequest ¶
func NewRenewInstanceRequest() (request *RenewInstanceRequest)
func (*RenewInstanceRequest) FromJsonString ¶
func (r *RenewInstanceRequest) 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 (*RenewInstanceRequest) ToJsonString ¶
func (r *RenewInstanceRequest) ToJsonString() string
type RenewInstanceRequestParams ¶
type RenewInstanceRequestParams struct { // Instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Auto-renewal flag and purchase duration in months for prepayment. Valid values: 0: Manual renewal; 1: Auto-renewal; 2: No renewal and no notification. RegistryChargePrepaid *RegistryChargePrepaid `json:"RegistryChargePrepaid,omitnil" name:"RegistryChargePrepaid"` // Valid values: 0: renewal; 1: change from pay-as-you-go to monthly subscription billing Flag *int64 `json:"Flag,omitnil" name:"Flag"` }
Predefined struct for user
type RenewInstanceResponse ¶
type RenewInstanceResponse struct { *tchttp.BaseResponse Response *RenewInstanceResponseParams `json:"Response"` }
func NewRenewInstanceResponse ¶
func NewRenewInstanceResponse() (response *RenewInstanceResponse)
func (*RenewInstanceResponse) FromJsonString ¶
func (r *RenewInstanceResponse) 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 (*RenewInstanceResponse) ToJsonString ¶
func (r *RenewInstanceResponse) ToJsonString() string
type RenewInstanceResponseParams ¶
type RenewInstanceResponseParams struct { // Enterprise Edition instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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,omitnil" 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,omitnil" 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,omitnil" name:"Destination"` // Synchronization status // Note: this field may return `null`, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil" name:"Status"` // Start time // Note: this field may return `null`, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time // Note: this field may return `null`, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` }
type ReplicationRegistry ¶
type ReplicationRegistry struct { // Master instance ID RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Replication instance ID ReplicationRegistryId *string `json:"ReplicationRegistryId,omitnil" name:"ReplicationRegistryId"` // Region ID of the replication instance ReplicationRegionId *uint64 `json:"ReplicationRegionId,omitnil" name:"ReplicationRegionId"` // Region name of the replication instance ReplicationRegionName *string `json:"ReplicationRegionName,omitnil" name:"ReplicationRegionName"` // Status of the replication instance Status *string `json:"Status,omitnil" name:"Status"` // Creation time CreatedAt *string `json:"CreatedAt,omitnil" name:"CreatedAt"` }
type ReplicationRule ¶
type ReplicationRule struct { // Name of synchronization rule Name *string `json:"Name,omitnil" name:"Name"` // Destination namespace DestNamespace *string `json:"DestNamespace,omitnil" name:"DestNamespace"` // Whether to override Override *bool `json:"Override,omitnil" name:"Override"` // Synchronization filters Filters []*ReplicationFilter `json:"Filters,omitnil" name:"Filters"` }
type RetentionExecution ¶
type RetentionExecution struct { // Execution ID ExecutionId *int64 `json:"ExecutionId,omitnil" name:"ExecutionId"` // Rule ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // Execution start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Execution end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Execution status. Valid values: Failed, Succeed, Stopped, InProgress. Status *string `json:"Status,omitnil" name:"Status"` }
type RetentionPolicy ¶
type RetentionPolicy struct { // Tag retention policy ID RetentionId *int64 `json:"RetentionId,omitnil" name:"RetentionId"` // Namespace name NamespaceName *string `json:"NamespaceName,omitnil" name:"NamespaceName"` // List of rules RetentionRuleList []*RetentionRule `json:"RetentionRuleList,omitnil" name:"RetentionRuleList"` // Regular execution mode CronSetting *string `json:"CronSetting,omitnil" name:"CronSetting"` // Whether to enable the rule Disabled *bool `json:"Disabled,omitnil" name:"Disabled"` // The execution time of the next task based on the current time and `cronSetting`, which is for reference only NextExecutionTime *string `json:"NextExecutionTime,omitnil" name:"NextExecutionTime"` }
type RetentionRule ¶
type RetentionRule struct { // Supported policy. Valid values: latestPushedK: Retain the latest specified number of pushed tags; nDaysSinceLastPush: Retain the tags pushed in the past specified number of days. Key *string `json:"Key,omitnil" name:"Key"` // Rule value Value *int64 `json:"Value,omitnil" name:"Value"` }
type RetentionTask ¶
type RetentionTask struct { // Task ID TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"` // Rule execution ID ExecutionId *int64 `json:"ExecutionId,omitnil" name:"ExecutionId"` // Task start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Task end time EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Task execution status. Valid values: Failed, Succeed, Stopped, InProgress. Status *string `json:"Status,omitnil" name:"Status"` // Total number of tags Total *int64 `json:"Total,omitnil" name:"Total"` // Number of retained tags Retained *int64 `json:"Retained,omitnil" name:"Retained"` // Application repository Repository *string `json:"Repository,omitnil" name:"Repository"` }
type Schedule ¶
type Schedule struct { // Type. Valid values: Hourly, Daily, Weekly, Custom, Manual, Dryrun, None. Type *string `json:"Type,omitnil" name:"Type"` }
type SecurityPolicy ¶
type SecurityPolicy struct { // Policy index PolicyIndex *int64 `json:"PolicyIndex,omitnil" name:"PolicyIndex"` // Remarks Description *string `json:"Description,omitnil" name:"Description"` // The public network IP address of the access source CidrBlock *string `json:"CidrBlock,omitnil" name:"CidrBlock"` // The version of the security policy PolicyVersion *string `json:"PolicyVersion,omitnil" name:"PolicyVersion"` }
type ServiceAccount ¶
type ServiceAccount struct { // Service account name // Note: This field may return `null`, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil" name:"Name"` // Description // Note: This field may return `null`, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil" name:"Description"` // Whether to disable // Note: This field may return `null`, indicating that no valid values can be obtained. Disable *bool `json:"Disable,omitnil" name:"Disable"` // Expiry time // Note: This field may return `null`, indicating that no valid values can be obtained. ExpiresAt *int64 `json:"ExpiresAt,omitnil" name:"ExpiresAt"` // Creation time // Note: This field may return `null`, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Update time // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Policy // Note: This field may return `null`, indicating that no valid values can be obtained. Permissions []*Permission `json:"Permissions,omitnil" name:"Permissions"` }
type TagSpecification ¶
type TagSpecification struct { // Default value: instance. // Note: This field may return null, indicating that no valid values can be obtained. ResourceType *string `json:"ResourceType,omitnil" name:"ResourceType"` // Cloud tag array // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
type TaskDetail ¶
type TaskDetail struct { // Task TaskName *string `json:"TaskName,omitnil" name:"TaskName"` // Task UUID TaskUUID *string `json:"TaskUUID,omitnil" name:"TaskUUID"` // Task status TaskStatus *string `json:"TaskStatus,omitnil" name:"TaskStatus"` // Task details // Note: this field may return `null`, indicating that no valid values can be obtained. TaskMessage *string `json:"TaskMessage,omitnil" name:"TaskMessage"` // Start time of the task CreatedTime *string `json:"CreatedTime,omitnil" 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,omitnil" name:"FinishedTime"` }
type TcrImageInfo ¶
type TcrImageInfo struct { // Hash value Digest *string `json:"Digest,omitnil" name:"Digest"` // Image size in bytes Size *int64 `json:"Size,omitnil" name:"Size"` // Tag name ImageVersion *string `json:"ImageVersion,omitnil" name:"ImageVersion"` // Update time UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Artifact type // Note: This field may return null, indicating that no valid values can be obtained. Kind *string `json:"Kind,omitnil" name:"Kind"` // KMS signature information // Note: This field may return null, indicating that no valid values can be obtained. KmsSignature *string `json:"KmsSignature,omitnil" name:"KmsSignature"` }
type TcrInstanceToken ¶
type TcrInstanceToken struct { // Token ID Id *string `json:"Id,omitnil" name:"Id"` // Token description Desc *string `json:"Desc,omitnil" name:"Desc"` // ID of the instance of the token RegistryId *string `json:"RegistryId,omitnil" name:"RegistryId"` // Token status Enabled *bool `json:"Enabled,omitnil" name:"Enabled"` // Token creation time CreatedAt *string `json:"CreatedAt,omitnil" name:"CreatedAt"` // Token expiration timestamp ExpiredAt *int64 `json:"ExpiredAt,omitnil" name:"ExpiredAt"` }
type TcrNamespaceInfo ¶
type TcrNamespaceInfo struct { // Namespace name Name *string `json:"Name,omitnil" name:"Name"` // Creation time CreationTime *string `json:"CreationTime,omitnil" name:"CreationTime"` // Access level Public *bool `json:"Public,omitnil" name:"Public"` // Namespace ID NamespaceId *int64 `json:"NamespaceId,omitnil" name:"NamespaceId"` // Cloud tag of the instance // Note: This field may return null, indicating that no valid values can be obtained. TagSpecification *TagSpecification `json:"TagSpecification,omitnil" name:"TagSpecification"` // Namespace metadata // Note: This field may return null, indicating that no valid values can be obtained. Metadata []*KeyValueString `json:"Metadata,omitnil" name:"Metadata"` }
type TcrRepositoryInfo ¶
type TcrRepositoryInfo struct { // Repository name Name *string `json:"Name,omitnil" name:"Name"` // Namespace name Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // Creation time, such as `2006-01-02 15:04:05.999999999 -0700 MST` CreationTime *string `json:"CreationTime,omitnil" name:"CreationTime"` // Whether to make public Public *bool `json:"Public,omitnil" name:"Public"` // Detailed repository description // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil" name:"Description"` // Brief description // Note: This field may return null, indicating that no valid values can be obtained. BriefDescription *string `json:"BriefDescription,omitnil" name:"BriefDescription"` // Update time, such as `2006-01-02 15:04:05.999999999 -0700 MST` UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type WebhookTarget ¶
type WebhookTrigger ¶
type WebhookTrigger struct { // Trigger name Name *string `json:"Name,omitnil" name:"Name"` // Trigger target Targets []*WebhookTarget `json:"Targets,omitnil" name:"Targets"` // Action to be triggered EventTypes []*string `json:"EventTypes,omitnil" name:"EventTypes"` // Trigger rule Condition *string `json:"Condition,omitnil" name:"Condition"` // Whether to enable the trigger Enabled *bool `json:"Enabled,omitnil" name:"Enabled"` // Trigger ID Id *int64 `json:"Id,omitnil" name:"Id"` // Trigger description Description *string `json:"Description,omitnil" name:"Description"` // ID of the namespace of the trigger NamespaceId *int64 `json:"NamespaceId,omitnil" name:"NamespaceId"` }
type WebhookTriggerLog ¶
type WebhookTriggerLog struct { // Log ID Id *int64 `json:"Id,omitnil" name:"Id"` // Trigger ID TriggerId *int64 `json:"TriggerId,omitnil" name:"TriggerId"` // Event type EventType *string `json:"EventType,omitnil" name:"EventType"` // Notification type NotifyType *string `json:"NotifyType,omitnil" name:"NotifyType"` // Details Detail *string `json:"Detail,omitnil" name:"Detail"` // Creation time CreationTime *string `json:"CreationTime,omitnil" name:"CreationTime"` // Update time UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Status Status *string `json:"Status,omitnil" name:"Status"` }