Documentation ¶
Index ¶
- Constants
- type ApplyDiskBackupRequest
- type ApplyDiskBackupRequestParams
- type ApplyDiskBackupResponse
- type ApplyDiskBackupResponseParams
- type ApplyFirewallTemplateRequest
- type ApplyFirewallTemplateRequestParams
- type ApplyFirewallTemplateResponse
- type ApplyFirewallTemplateResponseParams
- type ApplyInstanceSnapshotRequest
- type ApplyInstanceSnapshotRequestParams
- type ApplyInstanceSnapshotResponse
- type ApplyInstanceSnapshotResponseParams
- type AssociateInstancesKeyPairsRequest
- type AssociateInstancesKeyPairsRequestParams
- type AssociateInstancesKeyPairsResponse
- type AssociateInstancesKeyPairsResponseParams
- type AttachCcnRequest
- type AttachCcnRequestParams
- type AttachCcnResponse
- type AttachCcnResponseParams
- type AttachDetail
- type AttachDisksRequest
- type AttachDisksRequestParams
- type AttachDisksResponse
- type AttachDisksResponseParams
- type AutoMountConfiguration
- type Blueprint
- type BlueprintInstance
- type BlueprintPrice
- type Bundle
- type CancelShareBlueprintAcrossAccountsRequest
- type CancelShareBlueprintAcrossAccountsRequestParams
- type CancelShareBlueprintAcrossAccountsResponse
- type CancelShareBlueprintAcrossAccountsResponseParams
- type CcnAttachedInstance
- type Client
- func (c *Client) ApplyDiskBackup(request *ApplyDiskBackupRequest) (response *ApplyDiskBackupResponse, err error)
- func (c *Client) ApplyDiskBackupWithContext(ctx context.Context, request *ApplyDiskBackupRequest) (response *ApplyDiskBackupResponse, err error)
- func (c *Client) ApplyFirewallTemplate(request *ApplyFirewallTemplateRequest) (response *ApplyFirewallTemplateResponse, err error)
- func (c *Client) ApplyFirewallTemplateWithContext(ctx context.Context, request *ApplyFirewallTemplateRequest) (response *ApplyFirewallTemplateResponse, err error)
- func (c *Client) ApplyInstanceSnapshot(request *ApplyInstanceSnapshotRequest) (response *ApplyInstanceSnapshotResponse, err error)
- func (c *Client) ApplyInstanceSnapshotWithContext(ctx context.Context, request *ApplyInstanceSnapshotRequest) (response *ApplyInstanceSnapshotResponse, err error)
- func (c *Client) AssociateInstancesKeyPairs(request *AssociateInstancesKeyPairsRequest) (response *AssociateInstancesKeyPairsResponse, err error)
- func (c *Client) AssociateInstancesKeyPairsWithContext(ctx context.Context, request *AssociateInstancesKeyPairsRequest) (response *AssociateInstancesKeyPairsResponse, err error)
- func (c *Client) AttachCcn(request *AttachCcnRequest) (response *AttachCcnResponse, err error)
- func (c *Client) AttachCcnWithContext(ctx context.Context, request *AttachCcnRequest) (response *AttachCcnResponse, err error)
- func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
- func (c *Client) AttachDisksWithContext(ctx context.Context, request *AttachDisksRequest) (response *AttachDisksResponse, err error)
- func (c *Client) CancelShareBlueprintAcrossAccounts(request *CancelShareBlueprintAcrossAccountsRequest) (response *CancelShareBlueprintAcrossAccountsResponse, err error)
- func (c *Client) CancelShareBlueprintAcrossAccountsWithContext(ctx context.Context, request *CancelShareBlueprintAcrossAccountsRequest) (response *CancelShareBlueprintAcrossAccountsResponse, err error)
- func (c *Client) CreateBlueprint(request *CreateBlueprintRequest) (response *CreateBlueprintResponse, err error)
- func (c *Client) CreateBlueprintWithContext(ctx context.Context, request *CreateBlueprintRequest) (response *CreateBlueprintResponse, err error)
- func (c *Client) CreateDiskBackup(request *CreateDiskBackupRequest) (response *CreateDiskBackupResponse, err error)
- func (c *Client) CreateDiskBackupWithContext(ctx context.Context, request *CreateDiskBackupRequest) (response *CreateDiskBackupResponse, err error)
- func (c *Client) CreateDisks(request *CreateDisksRequest) (response *CreateDisksResponse, err error)
- func (c *Client) CreateDisksWithContext(ctx context.Context, request *CreateDisksRequest) (response *CreateDisksResponse, err error)
- func (c *Client) CreateFirewallRules(request *CreateFirewallRulesRequest) (response *CreateFirewallRulesResponse, err error)
- func (c *Client) CreateFirewallRulesWithContext(ctx context.Context, request *CreateFirewallRulesRequest) (response *CreateFirewallRulesResponse, err error)
- func (c *Client) CreateFirewallTemplate(request *CreateFirewallTemplateRequest) (response *CreateFirewallTemplateResponse, err error)
- func (c *Client) CreateFirewallTemplateRules(request *CreateFirewallTemplateRulesRequest) (response *CreateFirewallTemplateRulesResponse, err error)
- func (c *Client) CreateFirewallTemplateRulesWithContext(ctx context.Context, request *CreateFirewallTemplateRulesRequest) (response *CreateFirewallTemplateRulesResponse, err error)
- func (c *Client) CreateFirewallTemplateWithContext(ctx context.Context, request *CreateFirewallTemplateRequest) (response *CreateFirewallTemplateResponse, err error)
- func (c *Client) CreateInstanceSnapshot(request *CreateInstanceSnapshotRequest) (response *CreateInstanceSnapshotResponse, err error)
- func (c *Client) CreateInstanceSnapshotWithContext(ctx context.Context, request *CreateInstanceSnapshotRequest) (response *CreateInstanceSnapshotResponse, err error)
- func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
- func (c *Client) CreateKeyPairWithContext(ctx context.Context, request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
- func (c *Client) DeleteBlueprints(request *DeleteBlueprintsRequest) (response *DeleteBlueprintsResponse, err error)
- func (c *Client) DeleteBlueprintsWithContext(ctx context.Context, request *DeleteBlueprintsRequest) (response *DeleteBlueprintsResponse, err error)
- func (c *Client) DeleteDiskBackups(request *DeleteDiskBackupsRequest) (response *DeleteDiskBackupsResponse, err error)
- func (c *Client) DeleteDiskBackupsWithContext(ctx context.Context, request *DeleteDiskBackupsRequest) (response *DeleteDiskBackupsResponse, err error)
- func (c *Client) DeleteFirewallRules(request *DeleteFirewallRulesRequest) (response *DeleteFirewallRulesResponse, err error)
- func (c *Client) DeleteFirewallRulesWithContext(ctx context.Context, request *DeleteFirewallRulesRequest) (response *DeleteFirewallRulesResponse, err error)
- func (c *Client) DeleteFirewallTemplate(request *DeleteFirewallTemplateRequest) (response *DeleteFirewallTemplateResponse, err error)
- func (c *Client) DeleteFirewallTemplateRules(request *DeleteFirewallTemplateRulesRequest) (response *DeleteFirewallTemplateRulesResponse, err error)
- func (c *Client) DeleteFirewallTemplateRulesWithContext(ctx context.Context, request *DeleteFirewallTemplateRulesRequest) (response *DeleteFirewallTemplateRulesResponse, err error)
- func (c *Client) DeleteFirewallTemplateWithContext(ctx context.Context, request *DeleteFirewallTemplateRequest) (response *DeleteFirewallTemplateResponse, err error)
- func (c *Client) DeleteKeyPairs(request *DeleteKeyPairsRequest) (response *DeleteKeyPairsResponse, err error)
- func (c *Client) DeleteKeyPairsWithContext(ctx context.Context, request *DeleteKeyPairsRequest) (response *DeleteKeyPairsResponse, err error)
- func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
- func (c *Client) DeleteSnapshotsWithContext(ctx context.Context, request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
- func (c *Client) DescribeAllScenes(request *DescribeAllScenesRequest) (response *DescribeAllScenesResponse, err error)
- func (c *Client) DescribeAllScenesWithContext(ctx context.Context, request *DescribeAllScenesRequest) (response *DescribeAllScenesResponse, err error)
- func (c *Client) DescribeBlueprintInstances(request *DescribeBlueprintInstancesRequest) (response *DescribeBlueprintInstancesResponse, err error)
- func (c *Client) DescribeBlueprintInstancesWithContext(ctx context.Context, request *DescribeBlueprintInstancesRequest) (response *DescribeBlueprintInstancesResponse, err error)
- func (c *Client) DescribeBlueprints(request *DescribeBlueprintsRequest) (response *DescribeBlueprintsResponse, err error)
- func (c *Client) DescribeBlueprintsWithContext(ctx context.Context, request *DescribeBlueprintsRequest) (response *DescribeBlueprintsResponse, err error)
- func (c *Client) DescribeBundleDiscount(request *DescribeBundleDiscountRequest) (response *DescribeBundleDiscountResponse, err error)
- func (c *Client) DescribeBundleDiscountWithContext(ctx context.Context, request *DescribeBundleDiscountRequest) (response *DescribeBundleDiscountResponse, err error)
- func (c *Client) DescribeBundles(request *DescribeBundlesRequest) (response *DescribeBundlesResponse, err error)
- func (c *Client) DescribeBundlesWithContext(ctx context.Context, request *DescribeBundlesRequest) (response *DescribeBundlesResponse, err error)
- func (c *Client) DescribeCcnAttachedInstances(request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error)
- func (c *Client) DescribeCcnAttachedInstancesWithContext(ctx context.Context, request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error)
- func (c *Client) DescribeDiskBackups(request *DescribeDiskBackupsRequest) (response *DescribeDiskBackupsResponse, err error)
- func (c *Client) DescribeDiskBackupsDeniedActions(request *DescribeDiskBackupsDeniedActionsRequest) (response *DescribeDiskBackupsDeniedActionsResponse, err error)
- func (c *Client) DescribeDiskBackupsDeniedActionsWithContext(ctx context.Context, request *DescribeDiskBackupsDeniedActionsRequest) (response *DescribeDiskBackupsDeniedActionsResponse, err error)
- func (c *Client) DescribeDiskBackupsWithContext(ctx context.Context, request *DescribeDiskBackupsRequest) (response *DescribeDiskBackupsResponse, err error)
- func (c *Client) DescribeDiskConfigs(request *DescribeDiskConfigsRequest) (response *DescribeDiskConfigsResponse, err error)
- func (c *Client) DescribeDiskConfigsWithContext(ctx context.Context, request *DescribeDiskConfigsRequest) (response *DescribeDiskConfigsResponse, err error)
- func (c *Client) DescribeDiskDiscount(request *DescribeDiskDiscountRequest) (response *DescribeDiskDiscountResponse, err error)
- func (c *Client) DescribeDiskDiscountWithContext(ctx context.Context, request *DescribeDiskDiscountRequest) (response *DescribeDiskDiscountResponse, err error)
- func (c *Client) DescribeDisks(request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
- func (c *Client) DescribeDisksDeniedActions(request *DescribeDisksDeniedActionsRequest) (response *DescribeDisksDeniedActionsResponse, err error)
- func (c *Client) DescribeDisksDeniedActionsWithContext(ctx context.Context, request *DescribeDisksDeniedActionsRequest) (response *DescribeDisksDeniedActionsResponse, err error)
- func (c *Client) DescribeDisksReturnable(request *DescribeDisksReturnableRequest) (response *DescribeDisksReturnableResponse, err error)
- func (c *Client) DescribeDisksReturnableWithContext(ctx context.Context, request *DescribeDisksReturnableRequest) (response *DescribeDisksReturnableResponse, err error)
- func (c *Client) DescribeDisksWithContext(ctx context.Context, request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
- func (c *Client) DescribeDockerActivities(request *DescribeDockerActivitiesRequest) (response *DescribeDockerActivitiesResponse, err error)
- func (c *Client) DescribeDockerActivitiesWithContext(ctx context.Context, request *DescribeDockerActivitiesRequest) (response *DescribeDockerActivitiesResponse, err error)
- func (c *Client) DescribeDockerContainerConfiguration(request *DescribeDockerContainerConfigurationRequest) (response *DescribeDockerContainerConfigurationResponse, err error)
- func (c *Client) DescribeDockerContainerConfigurationWithContext(ctx context.Context, request *DescribeDockerContainerConfigurationRequest) (response *DescribeDockerContainerConfigurationResponse, err error)
- func (c *Client) DescribeDockerContainerDetail(request *DescribeDockerContainerDetailRequest) (response *DescribeDockerContainerDetailResponse, err error)
- func (c *Client) DescribeDockerContainerDetailWithContext(ctx context.Context, request *DescribeDockerContainerDetailRequest) (response *DescribeDockerContainerDetailResponse, err error)
- func (c *Client) DescribeDockerContainers(request *DescribeDockerContainersRequest) (response *DescribeDockerContainersResponse, err error)
- func (c *Client) DescribeDockerContainersWithContext(ctx context.Context, request *DescribeDockerContainersRequest) (response *DescribeDockerContainersResponse, err error)
- func (c *Client) DescribeFirewallRules(request *DescribeFirewallRulesRequest) (response *DescribeFirewallRulesResponse, err error)
- func (c *Client) DescribeFirewallRulesTemplate(request *DescribeFirewallRulesTemplateRequest) (response *DescribeFirewallRulesTemplateResponse, err error)
- func (c *Client) DescribeFirewallRulesTemplateWithContext(ctx context.Context, request *DescribeFirewallRulesTemplateRequest) (response *DescribeFirewallRulesTemplateResponse, err error)
- func (c *Client) DescribeFirewallRulesWithContext(ctx context.Context, request *DescribeFirewallRulesRequest) (response *DescribeFirewallRulesResponse, err error)
- func (c *Client) DescribeFirewallTemplateApplyRecords(request *DescribeFirewallTemplateApplyRecordsRequest) (response *DescribeFirewallTemplateApplyRecordsResponse, err error)
- func (c *Client) DescribeFirewallTemplateApplyRecordsWithContext(ctx context.Context, request *DescribeFirewallTemplateApplyRecordsRequest) (response *DescribeFirewallTemplateApplyRecordsResponse, err error)
- func (c *Client) DescribeFirewallTemplateQuota(request *DescribeFirewallTemplateQuotaRequest) (response *DescribeFirewallTemplateQuotaResponse, err error)
- func (c *Client) DescribeFirewallTemplateQuotaWithContext(ctx context.Context, request *DescribeFirewallTemplateQuotaRequest) (response *DescribeFirewallTemplateQuotaResponse, err error)
- func (c *Client) DescribeFirewallTemplateRuleQuota(request *DescribeFirewallTemplateRuleQuotaRequest) (response *DescribeFirewallTemplateRuleQuotaResponse, err error)
- func (c *Client) DescribeFirewallTemplateRuleQuotaWithContext(ctx context.Context, request *DescribeFirewallTemplateRuleQuotaRequest) (response *DescribeFirewallTemplateRuleQuotaResponse, err error)
- func (c *Client) DescribeFirewallTemplateRules(request *DescribeFirewallTemplateRulesRequest) (response *DescribeFirewallTemplateRulesResponse, err error)
- func (c *Client) DescribeFirewallTemplateRulesWithContext(ctx context.Context, request *DescribeFirewallTemplateRulesRequest) (response *DescribeFirewallTemplateRulesResponse, err error)
- func (c *Client) DescribeFirewallTemplates(request *DescribeFirewallTemplatesRequest) (response *DescribeFirewallTemplatesResponse, err error)
- func (c *Client) DescribeFirewallTemplatesWithContext(ctx context.Context, request *DescribeFirewallTemplatesRequest) (response *DescribeFirewallTemplatesResponse, err error)
- func (c *Client) DescribeGeneralResourceQuotas(request *DescribeGeneralResourceQuotasRequest) (response *DescribeGeneralResourceQuotasResponse, err error)
- func (c *Client) DescribeGeneralResourceQuotasWithContext(ctx context.Context, request *DescribeGeneralResourceQuotasRequest) (response *DescribeGeneralResourceQuotasResponse, err error)
- func (c *Client) DescribeInstanceLoginKeyPairAttribute(request *DescribeInstanceLoginKeyPairAttributeRequest) (response *DescribeInstanceLoginKeyPairAttributeResponse, err error)
- func (c *Client) DescribeInstanceLoginKeyPairAttributeWithContext(ctx context.Context, request *DescribeInstanceLoginKeyPairAttributeRequest) (response *DescribeInstanceLoginKeyPairAttributeResponse, err error)
- func (c *Client) DescribeInstanceVncUrl(request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
- func (c *Client) DescribeInstanceVncUrlWithContext(ctx context.Context, request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesDeniedActions(request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
- func (c *Client) DescribeInstancesDeniedActionsWithContext(ctx context.Context, request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
- func (c *Client) DescribeInstancesDiskNum(request *DescribeInstancesDiskNumRequest) (response *DescribeInstancesDiskNumResponse, err error)
- func (c *Client) DescribeInstancesDiskNumWithContext(ctx context.Context, request *DescribeInstancesDiskNumRequest) (response *DescribeInstancesDiskNumResponse, err error)
- func (c *Client) DescribeInstancesReturnable(request *DescribeInstancesReturnableRequest) (response *DescribeInstancesReturnableResponse, err error)
- func (c *Client) DescribeInstancesReturnableWithContext(ctx context.Context, request *DescribeInstancesReturnableRequest) (response *DescribeInstancesReturnableResponse, err error)
- func (c *Client) DescribeInstancesTrafficPackages(request *DescribeInstancesTrafficPackagesRequest) (response *DescribeInstancesTrafficPackagesResponse, err error)
- func (c *Client) DescribeInstancesTrafficPackagesWithContext(ctx context.Context, request *DescribeInstancesTrafficPackagesRequest) (response *DescribeInstancesTrafficPackagesResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeKeyPairs(request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error)
- func (c *Client) DescribeKeyPairsWithContext(ctx context.Context, request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error)
- func (c *Client) DescribeModifyInstanceBundles(request *DescribeModifyInstanceBundlesRequest) (response *DescribeModifyInstanceBundlesResponse, err error)
- func (c *Client) DescribeModifyInstanceBundlesWithContext(ctx context.Context, request *DescribeModifyInstanceBundlesRequest) (response *DescribeModifyInstanceBundlesResponse, 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) DescribeResetInstanceBlueprints(request *DescribeResetInstanceBlueprintsRequest) (response *DescribeResetInstanceBlueprintsResponse, err error)
- func (c *Client) DescribeResetInstanceBlueprintsWithContext(ctx context.Context, request *DescribeResetInstanceBlueprintsRequest) (response *DescribeResetInstanceBlueprintsResponse, err error)
- func (c *Client) DescribeScenes(request *DescribeScenesRequest) (response *DescribeScenesResponse, err error)
- func (c *Client) DescribeScenesWithContext(ctx context.Context, request *DescribeScenesRequest) (response *DescribeScenesResponse, err error)
- func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
- func (c *Client) DescribeSnapshotsDeniedActions(request *DescribeSnapshotsDeniedActionsRequest) (response *DescribeSnapshotsDeniedActionsResponse, err error)
- func (c *Client) DescribeSnapshotsDeniedActionsWithContext(ctx context.Context, request *DescribeSnapshotsDeniedActionsRequest) (response *DescribeSnapshotsDeniedActionsResponse, err error)
- func (c *Client) DescribeSnapshotsWithContext(ctx context.Context, request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
- func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DetachCcn(request *DetachCcnRequest) (response *DetachCcnResponse, err error)
- func (c *Client) DetachCcnWithContext(ctx context.Context, request *DetachCcnRequest) (response *DetachCcnResponse, err error)
- func (c *Client) DetachDisks(request *DetachDisksRequest) (response *DetachDisksResponse, err error)
- func (c *Client) DetachDisksWithContext(ctx context.Context, request *DetachDisksRequest) (response *DetachDisksResponse, err error)
- func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
- func (c *Client) DisassociateInstancesKeyPairsWithContext(ctx context.Context, request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
- func (c *Client) ImportKeyPair(request *ImportKeyPairRequest) (response *ImportKeyPairResponse, err error)
- func (c *Client) ImportKeyPairWithContext(ctx context.Context, request *ImportKeyPairRequest) (response *ImportKeyPairResponse, err error)
- func (c *Client) InquirePriceCreateBlueprint(request *InquirePriceCreateBlueprintRequest) (response *InquirePriceCreateBlueprintResponse, err error)
- func (c *Client) InquirePriceCreateBlueprintWithContext(ctx context.Context, request *InquirePriceCreateBlueprintRequest) (response *InquirePriceCreateBlueprintResponse, err error)
- func (c *Client) InquirePriceCreateDisks(request *InquirePriceCreateDisksRequest) (response *InquirePriceCreateDisksResponse, err error)
- func (c *Client) InquirePriceCreateDisksWithContext(ctx context.Context, request *InquirePriceCreateDisksRequest) (response *InquirePriceCreateDisksResponse, err error)
- func (c *Client) InquirePriceCreateInstances(request *InquirePriceCreateInstancesRequest) (response *InquirePriceCreateInstancesResponse, err error)
- func (c *Client) InquirePriceCreateInstancesWithContext(ctx context.Context, request *InquirePriceCreateInstancesRequest) (response *InquirePriceCreateInstancesResponse, err error)
- func (c *Client) InquirePriceRenewDisks(request *InquirePriceRenewDisksRequest) (response *InquirePriceRenewDisksResponse, err error)
- func (c *Client) InquirePriceRenewDisksWithContext(ctx context.Context, request *InquirePriceRenewDisksRequest) (response *InquirePriceRenewDisksResponse, err error)
- func (c *Client) InquirePriceRenewInstances(request *InquirePriceRenewInstancesRequest) (response *InquirePriceRenewInstancesResponse, err error)
- func (c *Client) InquirePriceRenewInstancesWithContext(ctx context.Context, request *InquirePriceRenewInstancesRequest) (response *InquirePriceRenewInstancesResponse, err error)
- func (c *Client) IsolateDisks(request *IsolateDisksRequest) (response *IsolateDisksResponse, err error)
- func (c *Client) IsolateDisksWithContext(ctx context.Context, request *IsolateDisksRequest) (response *IsolateDisksResponse, err error)
- func (c *Client) IsolateInstances(request *IsolateInstancesRequest) (response *IsolateInstancesResponse, err error)
- func (c *Client) IsolateInstancesWithContext(ctx context.Context, request *IsolateInstancesRequest) (response *IsolateInstancesResponse, err error)
- func (c *Client) ModifyBlueprintAttribute(request *ModifyBlueprintAttributeRequest) (response *ModifyBlueprintAttributeResponse, err error)
- func (c *Client) ModifyBlueprintAttributeWithContext(ctx context.Context, request *ModifyBlueprintAttributeRequest) (response *ModifyBlueprintAttributeResponse, err error)
- func (c *Client) ModifyDiskBackupsAttribute(request *ModifyDiskBackupsAttributeRequest) (response *ModifyDiskBackupsAttributeResponse, err error)
- func (c *Client) ModifyDiskBackupsAttributeWithContext(ctx context.Context, request *ModifyDiskBackupsAttributeRequest) (response *ModifyDiskBackupsAttributeResponse, err error)
- func (c *Client) ModifyDisksAttribute(request *ModifyDisksAttributeRequest) (response *ModifyDisksAttributeResponse, err error)
- func (c *Client) ModifyDisksAttributeWithContext(ctx context.Context, request *ModifyDisksAttributeRequest) (response *ModifyDisksAttributeResponse, err error)
- func (c *Client) ModifyDisksBackupQuota(request *ModifyDisksBackupQuotaRequest) (response *ModifyDisksBackupQuotaResponse, err error)
- func (c *Client) ModifyDisksBackupQuotaWithContext(ctx context.Context, request *ModifyDisksBackupQuotaRequest) (response *ModifyDisksBackupQuotaResponse, err error)
- func (c *Client) ModifyDisksRenewFlag(request *ModifyDisksRenewFlagRequest) (response *ModifyDisksRenewFlagResponse, err error)
- func (c *Client) ModifyDisksRenewFlagWithContext(ctx context.Context, request *ModifyDisksRenewFlagRequest) (response *ModifyDisksRenewFlagResponse, err error)
- func (c *Client) ModifyDockerContainer(request *ModifyDockerContainerRequest) (response *ModifyDockerContainerResponse, err error)
- func (c *Client) ModifyDockerContainerWithContext(ctx context.Context, request *ModifyDockerContainerRequest) (response *ModifyDockerContainerResponse, err error)
- func (c *Client) ModifyFirewallRuleDescription(request *ModifyFirewallRuleDescriptionRequest) (response *ModifyFirewallRuleDescriptionResponse, err error)
- func (c *Client) ModifyFirewallRuleDescriptionWithContext(ctx context.Context, request *ModifyFirewallRuleDescriptionRequest) (response *ModifyFirewallRuleDescriptionResponse, err error)
- func (c *Client) ModifyFirewallRules(request *ModifyFirewallRulesRequest) (response *ModifyFirewallRulesResponse, err error)
- func (c *Client) ModifyFirewallRulesWithContext(ctx context.Context, request *ModifyFirewallRulesRequest) (response *ModifyFirewallRulesResponse, err error)
- func (c *Client) ModifyFirewallTemplate(request *ModifyFirewallTemplateRequest) (response *ModifyFirewallTemplateResponse, err error)
- func (c *Client) ModifyFirewallTemplateWithContext(ctx context.Context, request *ModifyFirewallTemplateRequest) (response *ModifyFirewallTemplateResponse, err error)
- func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
- func (c *Client) ModifyInstancesAttributeWithContext(ctx context.Context, request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
- func (c *Client) ModifyInstancesBundle(request *ModifyInstancesBundleRequest) (response *ModifyInstancesBundleResponse, err error)
- func (c *Client) ModifyInstancesBundleWithContext(ctx context.Context, request *ModifyInstancesBundleRequest) (response *ModifyInstancesBundleResponse, err error)
- func (c *Client) ModifyInstancesLoginKeyPairAttribute(request *ModifyInstancesLoginKeyPairAttributeRequest) (response *ModifyInstancesLoginKeyPairAttributeResponse, err error)
- func (c *Client) ModifyInstancesLoginKeyPairAttributeWithContext(ctx context.Context, request *ModifyInstancesLoginKeyPairAttributeRequest) (response *ModifyInstancesLoginKeyPairAttributeResponse, err error)
- func (c *Client) ModifyInstancesRenewFlag(request *ModifyInstancesRenewFlagRequest) (response *ModifyInstancesRenewFlagResponse, err error)
- func (c *Client) ModifyInstancesRenewFlagWithContext(ctx context.Context, request *ModifyInstancesRenewFlagRequest) (response *ModifyInstancesRenewFlagResponse, err error)
- func (c *Client) ModifySnapshotAttribute(request *ModifySnapshotAttributeRequest) (response *ModifySnapshotAttributeResponse, err error)
- func (c *Client) ModifySnapshotAttributeWithContext(ctx context.Context, request *ModifySnapshotAttributeRequest) (response *ModifySnapshotAttributeResponse, err error)
- func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
- func (c *Client) RebootInstancesWithContext(ctx context.Context, request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
- func (c *Client) RemoveDockerContainers(request *RemoveDockerContainersRequest) (response *RemoveDockerContainersResponse, err error)
- func (c *Client) RemoveDockerContainersWithContext(ctx context.Context, request *RemoveDockerContainersRequest) (response *RemoveDockerContainersResponse, err error)
- func (c *Client) RenameDockerContainer(request *RenameDockerContainerRequest) (response *RenameDockerContainerResponse, err error)
- func (c *Client) RenameDockerContainerWithContext(ctx context.Context, request *RenameDockerContainerRequest) (response *RenameDockerContainerResponse, err error)
- func (c *Client) RenewDisks(request *RenewDisksRequest) (response *RenewDisksResponse, err error)
- func (c *Client) RenewDisksWithContext(ctx context.Context, request *RenewDisksRequest) (response *RenewDisksResponse, err error)
- func (c *Client) RenewInstances(request *RenewInstancesRequest) (response *RenewInstancesResponse, err error)
- func (c *Client) RenewInstancesWithContext(ctx context.Context, request *RenewInstancesRequest) (response *RenewInstancesResponse, err error)
- func (c *Client) ReplaceFirewallTemplateRule(request *ReplaceFirewallTemplateRuleRequest) (response *ReplaceFirewallTemplateRuleResponse, err error)
- func (c *Client) ReplaceFirewallTemplateRuleWithContext(ctx context.Context, request *ReplaceFirewallTemplateRuleRequest) (response *ReplaceFirewallTemplateRuleResponse, err error)
- func (c *Client) RerunDockerContainer(request *RerunDockerContainerRequest) (response *RerunDockerContainerResponse, err error)
- func (c *Client) RerunDockerContainerWithContext(ctx context.Context, request *RerunDockerContainerRequest) (response *RerunDockerContainerResponse, err error)
- func (c *Client) ResetAttachCcn(request *ResetAttachCcnRequest) (response *ResetAttachCcnResponse, err error)
- func (c *Client) ResetAttachCcnWithContext(ctx context.Context, request *ResetAttachCcnRequest) (response *ResetAttachCcnResponse, err error)
- func (c *Client) ResetFirewallTemplateRules(request *ResetFirewallTemplateRulesRequest) (response *ResetFirewallTemplateRulesResponse, err error)
- func (c *Client) ResetFirewallTemplateRulesWithContext(ctx context.Context, request *ResetFirewallTemplateRulesRequest) (response *ResetFirewallTemplateRulesResponse, err error)
- func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)
- func (c *Client) ResetInstanceWithContext(ctx context.Context, request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)
- func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
- func (c *Client) ResetInstancesPasswordWithContext(ctx context.Context, request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
- func (c *Client) ResizeDisks(request *ResizeDisksRequest) (response *ResizeDisksResponse, err error)
- func (c *Client) ResizeDisksWithContext(ctx context.Context, request *ResizeDisksRequest) (response *ResizeDisksResponse, err error)
- func (c *Client) RestartDockerContainers(request *RestartDockerContainersRequest) (response *RestartDockerContainersResponse, err error)
- func (c *Client) RestartDockerContainersWithContext(ctx context.Context, request *RestartDockerContainersRequest) (response *RestartDockerContainersResponse, err error)
- func (c *Client) RunDockerContainers(request *RunDockerContainersRequest) (response *RunDockerContainersResponse, err error)
- func (c *Client) RunDockerContainersWithContext(ctx context.Context, request *RunDockerContainersRequest) (response *RunDockerContainersResponse, err error)
- func (c *Client) ShareBlueprintAcrossAccounts(request *ShareBlueprintAcrossAccountsRequest) (response *ShareBlueprintAcrossAccountsResponse, err error)
- func (c *Client) ShareBlueprintAcrossAccountsWithContext(ctx context.Context, request *ShareBlueprintAcrossAccountsRequest) (response *ShareBlueprintAcrossAccountsResponse, err error)
- func (c *Client) StartDockerContainers(request *StartDockerContainersRequest) (response *StartDockerContainersResponse, err error)
- func (c *Client) StartDockerContainersWithContext(ctx context.Context, request *StartDockerContainersRequest) (response *StartDockerContainersResponse, err error)
- func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
- func (c *Client) StartInstancesWithContext(ctx context.Context, request *StartInstancesRequest) (response *StartInstancesResponse, err error)
- func (c *Client) StopDockerContainers(request *StopDockerContainersRequest) (response *StopDockerContainersResponse, err error)
- func (c *Client) StopDockerContainersWithContext(ctx context.Context, request *StopDockerContainersRequest) (response *StopDockerContainersResponse, err error)
- func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
- func (c *Client) StopInstancesWithContext(ctx context.Context, request *StopInstancesRequest) (response *StopInstancesResponse, err error)
- func (c *Client) TerminateDisks(request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)
- func (c *Client) TerminateDisksWithContext(ctx context.Context, request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)
- func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
- func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
- type Command
- type ContainerEnv
- type CreateBlueprintRequest
- type CreateBlueprintRequestParams
- type CreateBlueprintResponse
- type CreateBlueprintResponseParams
- type CreateDiskBackupRequest
- type CreateDiskBackupRequestParams
- type CreateDiskBackupResponse
- type CreateDiskBackupResponseParams
- type CreateDisksRequest
- type CreateDisksRequestParams
- type CreateDisksResponse
- type CreateDisksResponseParams
- type CreateFirewallRulesRequest
- type CreateFirewallRulesRequestParams
- type CreateFirewallRulesResponse
- type CreateFirewallRulesResponseParams
- type CreateFirewallTemplateRequest
- type CreateFirewallTemplateRequestParams
- type CreateFirewallTemplateResponse
- type CreateFirewallTemplateResponseParams
- type CreateFirewallTemplateRulesRequest
- type CreateFirewallTemplateRulesRequestParams
- type CreateFirewallTemplateRulesResponse
- type CreateFirewallTemplateRulesResponseParams
- type CreateInstanceSnapshotRequest
- type CreateInstanceSnapshotRequestParams
- type CreateInstanceSnapshotResponse
- type CreateInstanceSnapshotResponseParams
- type CreateInstancesRequest
- type CreateInstancesRequestParams
- type CreateInstancesResponse
- type CreateInstancesResponseParams
- type CreateKeyPairRequest
- type CreateKeyPairRequestParams
- type CreateKeyPairResponse
- type CreateKeyPairResponseParams
- type DataDiskPrice
- type DeleteBlueprintsRequest
- type DeleteBlueprintsRequestParams
- type DeleteBlueprintsResponse
- type DeleteBlueprintsResponseParams
- type DeleteDiskBackupsRequest
- type DeleteDiskBackupsRequestParams
- type DeleteDiskBackupsResponse
- type DeleteDiskBackupsResponseParams
- type DeleteFirewallRulesRequest
- type DeleteFirewallRulesRequestParams
- type DeleteFirewallRulesResponse
- type DeleteFirewallRulesResponseParams
- type DeleteFirewallTemplateRequest
- type DeleteFirewallTemplateRequestParams
- type DeleteFirewallTemplateResponse
- type DeleteFirewallTemplateResponseParams
- type DeleteFirewallTemplateRulesRequest
- type DeleteFirewallTemplateRulesRequestParams
- type DeleteFirewallTemplateRulesResponse
- type DeleteFirewallTemplateRulesResponseParams
- type DeleteKeyPairsRequest
- type DeleteKeyPairsRequestParams
- type DeleteKeyPairsResponse
- type DeleteKeyPairsResponseParams
- type DeleteSnapshotsRequest
- type DeleteSnapshotsRequestParams
- type DeleteSnapshotsResponse
- type DeleteSnapshotsResponseParams
- type DeniedAction
- type DescribeAllScenesRequest
- type DescribeAllScenesRequestParams
- type DescribeAllScenesResponse
- type DescribeAllScenesResponseParams
- type DescribeBlueprintInstancesRequest
- type DescribeBlueprintInstancesRequestParams
- type DescribeBlueprintInstancesResponse
- type DescribeBlueprintInstancesResponseParams
- type DescribeBlueprintsRequest
- type DescribeBlueprintsRequestParams
- type DescribeBlueprintsResponse
- type DescribeBlueprintsResponseParams
- type DescribeBundleDiscountRequest
- type DescribeBundleDiscountRequestParams
- type DescribeBundleDiscountResponse
- type DescribeBundleDiscountResponseParams
- type DescribeBundlesRequest
- type DescribeBundlesRequestParams
- type DescribeBundlesResponse
- type DescribeBundlesResponseParams
- type DescribeCcnAttachedInstancesRequest
- type DescribeCcnAttachedInstancesRequestParams
- type DescribeCcnAttachedInstancesResponse
- type DescribeCcnAttachedInstancesResponseParams
- type DescribeDiskBackupsDeniedActionsRequest
- type DescribeDiskBackupsDeniedActionsRequestParams
- type DescribeDiskBackupsDeniedActionsResponse
- type DescribeDiskBackupsDeniedActionsResponseParams
- type DescribeDiskBackupsRequest
- type DescribeDiskBackupsRequestParams
- type DescribeDiskBackupsResponse
- type DescribeDiskBackupsResponseParams
- type DescribeDiskConfigsRequest
- type DescribeDiskConfigsRequestParams
- type DescribeDiskConfigsResponse
- type DescribeDiskConfigsResponseParams
- type DescribeDiskDiscountRequest
- type DescribeDiskDiscountRequestParams
- type DescribeDiskDiscountResponse
- type DescribeDiskDiscountResponseParams
- type DescribeDisksDeniedActionsRequest
- type DescribeDisksDeniedActionsRequestParams
- type DescribeDisksDeniedActionsResponse
- type DescribeDisksDeniedActionsResponseParams
- type DescribeDisksRequest
- type DescribeDisksRequestParams
- type DescribeDisksResponse
- type DescribeDisksResponseParams
- type DescribeDisksReturnableRequest
- type DescribeDisksReturnableRequestParams
- type DescribeDisksReturnableResponse
- type DescribeDisksReturnableResponseParams
- type DescribeDockerActivitiesRequest
- type DescribeDockerActivitiesRequestParams
- type DescribeDockerActivitiesResponse
- type DescribeDockerActivitiesResponseParams
- type DescribeDockerContainerConfigurationRequest
- type DescribeDockerContainerConfigurationRequestParams
- type DescribeDockerContainerConfigurationResponse
- type DescribeDockerContainerConfigurationResponseParams
- type DescribeDockerContainerDetailRequest
- type DescribeDockerContainerDetailRequestParams
- type DescribeDockerContainerDetailResponse
- type DescribeDockerContainerDetailResponseParams
- type DescribeDockerContainersRequest
- type DescribeDockerContainersRequestParams
- type DescribeDockerContainersResponse
- type DescribeDockerContainersResponseParams
- type DescribeFirewallRulesRequest
- type DescribeFirewallRulesRequestParams
- type DescribeFirewallRulesResponse
- type DescribeFirewallRulesResponseParams
- type DescribeFirewallRulesTemplateRequest
- type DescribeFirewallRulesTemplateRequestParams
- type DescribeFirewallRulesTemplateResponse
- type DescribeFirewallRulesTemplateResponseParams
- type DescribeFirewallTemplateApplyRecordsRequest
- type DescribeFirewallTemplateApplyRecordsRequestParams
- type DescribeFirewallTemplateApplyRecordsResponse
- type DescribeFirewallTemplateApplyRecordsResponseParams
- type DescribeFirewallTemplateQuotaRequest
- type DescribeFirewallTemplateQuotaRequestParams
- type DescribeFirewallTemplateQuotaResponse
- type DescribeFirewallTemplateQuotaResponseParams
- type DescribeFirewallTemplateRuleQuotaRequest
- type DescribeFirewallTemplateRuleQuotaRequestParams
- type DescribeFirewallTemplateRuleQuotaResponse
- type DescribeFirewallTemplateRuleQuotaResponseParams
- type DescribeFirewallTemplateRulesRequest
- type DescribeFirewallTemplateRulesRequestParams
- type DescribeFirewallTemplateRulesResponse
- type DescribeFirewallTemplateRulesResponseParams
- type DescribeFirewallTemplatesRequest
- type DescribeFirewallTemplatesRequestParams
- type DescribeFirewallTemplatesResponse
- type DescribeFirewallTemplatesResponseParams
- type DescribeGeneralResourceQuotasRequest
- type DescribeGeneralResourceQuotasRequestParams
- type DescribeGeneralResourceQuotasResponse
- type DescribeGeneralResourceQuotasResponseParams
- type DescribeInstanceLoginKeyPairAttributeRequest
- type DescribeInstanceLoginKeyPairAttributeRequestParams
- type DescribeInstanceLoginKeyPairAttributeResponse
- type DescribeInstanceLoginKeyPairAttributeResponseParams
- type DescribeInstanceVncUrlRequest
- type DescribeInstanceVncUrlRequestParams
- type DescribeInstanceVncUrlResponse
- type DescribeInstanceVncUrlResponseParams
- type DescribeInstancesDeniedActionsRequest
- type DescribeInstancesDeniedActionsRequestParams
- type DescribeInstancesDeniedActionsResponse
- type DescribeInstancesDeniedActionsResponseParams
- type DescribeInstancesDiskNumRequest
- type DescribeInstancesDiskNumRequestParams
- type DescribeInstancesDiskNumResponse
- type DescribeInstancesDiskNumResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeInstancesReturnableRequest
- type DescribeInstancesReturnableRequestParams
- type DescribeInstancesReturnableResponse
- type DescribeInstancesReturnableResponseParams
- type DescribeInstancesTrafficPackagesRequest
- type DescribeInstancesTrafficPackagesRequestParams
- type DescribeInstancesTrafficPackagesResponse
- type DescribeInstancesTrafficPackagesResponseParams
- type DescribeKeyPairsRequest
- type DescribeKeyPairsRequestParams
- type DescribeKeyPairsResponse
- type DescribeKeyPairsResponseParams
- type DescribeModifyInstanceBundlesRequest
- type DescribeModifyInstanceBundlesRequestParams
- type DescribeModifyInstanceBundlesResponse
- type DescribeModifyInstanceBundlesResponseParams
- type DescribeRegionsRequest
- type DescribeRegionsRequestParams
- type DescribeRegionsResponse
- type DescribeRegionsResponseParams
- type DescribeResetInstanceBlueprintsRequest
- type DescribeResetInstanceBlueprintsRequestParams
- type DescribeResetInstanceBlueprintsResponse
- type DescribeResetInstanceBlueprintsResponseParams
- type DescribeScenesRequest
- type DescribeScenesRequestParams
- type DescribeScenesResponse
- type DescribeScenesResponseParams
- type DescribeSnapshotsDeniedActionsRequest
- type DescribeSnapshotsDeniedActionsRequestParams
- type DescribeSnapshotsDeniedActionsResponse
- type DescribeSnapshotsDeniedActionsResponseParams
- type DescribeSnapshotsRequest
- type DescribeSnapshotsRequestParams
- type DescribeSnapshotsResponse
- type DescribeSnapshotsResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DetachCcnRequest
- type DetachCcnRequestParams
- type DetachCcnResponse
- type DetachCcnResponseParams
- type DetachDisksRequest
- type DetachDisksRequestParams
- type DetachDisksResponse
- type DetachDisksResponseParams
- type DetailPrice
- type DisassociateInstancesKeyPairsRequest
- type DisassociateInstancesKeyPairsRequestParams
- type DisassociateInstancesKeyPairsResponse
- type DisassociateInstancesKeyPairsResponseParams
- type DiscountDetail
- type Disk
- type DiskBackup
- type DiskBackupDeniedActions
- type DiskChargePrepaid
- type DiskConfig
- type DiskDeniedActions
- type DiskPrice
- type DiskReturnable
- type DockerActivity
- type DockerContainer
- type DockerContainerConfiguration
- type DockerContainerPublishPort
- type DockerContainerVolume
- type Filter
- type FirewallRule
- type FirewallRuleInfo
- type FirewallTemplate
- type FirewallTemplateApplyRecord
- type FirewallTemplateApplyRecordDetail
- type FirewallTemplateRule
- type FirewallTemplateRuleInfo
- type GeneralResourceQuota
- type ImportKeyPairRequest
- type ImportKeyPairRequestParams
- type ImportKeyPairResponse
- type ImportKeyPairResponseParams
- type InquirePriceCreateBlueprintRequest
- type InquirePriceCreateBlueprintRequestParams
- type InquirePriceCreateBlueprintResponse
- type InquirePriceCreateBlueprintResponseParams
- type InquirePriceCreateDisksRequest
- type InquirePriceCreateDisksRequestParams
- type InquirePriceCreateDisksResponse
- type InquirePriceCreateDisksResponseParams
- type InquirePriceCreateInstancesRequest
- type InquirePriceCreateInstancesRequestParams
- type InquirePriceCreateInstancesResponse
- type InquirePriceCreateInstancesResponseParams
- type InquirePriceRenewDisksRequest
- type InquirePriceRenewDisksRequestParams
- type InquirePriceRenewDisksResponse
- type InquirePriceRenewDisksResponseParams
- type InquirePriceRenewInstancesRequest
- type InquirePriceRenewInstancesRequestParams
- type InquirePriceRenewInstancesResponse
- type InquirePriceRenewInstancesResponseParams
- type Instance
- type InstanceChargePrepaid
- type InstanceDeniedActions
- type InstanceIdentifier
- type InstancePrice
- type InstancePriceDetail
- type InstanceReturnable
- type InstanceTrafficPackage
- type InternetAccessible
- type IsolateDisksRequest
- type IsolateDisksRequestParams
- type IsolateDisksResponse
- type IsolateDisksResponseParams
- type IsolateInstancesRequest
- type IsolateInstancesRequestParams
- type IsolateInstancesResponse
- type IsolateInstancesResponseParams
- type KeyPair
- type LoginConfiguration
- type LoginSettings
- type ModifyBlueprintAttributeRequest
- type ModifyBlueprintAttributeRequestParams
- type ModifyBlueprintAttributeResponse
- type ModifyBlueprintAttributeResponseParams
- type ModifyBundle
- type ModifyDiskBackupsAttributeRequest
- type ModifyDiskBackupsAttributeRequestParams
- type ModifyDiskBackupsAttributeResponse
- type ModifyDiskBackupsAttributeResponseParams
- type ModifyDisksAttributeRequest
- type ModifyDisksAttributeRequestParams
- type ModifyDisksAttributeResponse
- type ModifyDisksAttributeResponseParams
- type ModifyDisksBackupQuotaRequest
- type ModifyDisksBackupQuotaRequestParams
- type ModifyDisksBackupQuotaResponse
- type ModifyDisksBackupQuotaResponseParams
- type ModifyDisksRenewFlagRequest
- type ModifyDisksRenewFlagRequestParams
- type ModifyDisksRenewFlagResponse
- type ModifyDisksRenewFlagResponseParams
- type ModifyDockerContainerRequest
- type ModifyDockerContainerRequestParams
- type ModifyDockerContainerResponse
- type ModifyDockerContainerResponseParams
- type ModifyFirewallRuleDescriptionRequest
- type ModifyFirewallRuleDescriptionRequestParams
- type ModifyFirewallRuleDescriptionResponse
- type ModifyFirewallRuleDescriptionResponseParams
- type ModifyFirewallRulesRequest
- type ModifyFirewallRulesRequestParams
- type ModifyFirewallRulesResponse
- type ModifyFirewallRulesResponseParams
- type ModifyFirewallTemplateRequest
- type ModifyFirewallTemplateRequestParams
- type ModifyFirewallTemplateResponse
- type ModifyFirewallTemplateResponseParams
- type ModifyInstancesAttributeRequest
- type ModifyInstancesAttributeRequestParams
- type ModifyInstancesAttributeResponse
- type ModifyInstancesAttributeResponseParams
- type ModifyInstancesBundleRequest
- type ModifyInstancesBundleRequestParams
- type ModifyInstancesBundleResponse
- type ModifyInstancesBundleResponseParams
- type ModifyInstancesLoginKeyPairAttributeRequest
- type ModifyInstancesLoginKeyPairAttributeRequestParams
- type ModifyInstancesLoginKeyPairAttributeResponse
- type ModifyInstancesLoginKeyPairAttributeResponseParams
- type ModifyInstancesRenewFlagRequest
- type ModifyInstancesRenewFlagRequestParams
- type ModifyInstancesRenewFlagResponse
- type ModifyInstancesRenewFlagResponseParams
- type ModifySnapshotAttributeRequest
- type ModifySnapshotAttributeRequestParams
- type ModifySnapshotAttributeResponse
- type ModifySnapshotAttributeResponseParams
- type PolicyDetail
- type Price
- type RebootInstancesRequest
- type RebootInstancesRequestParams
- type RebootInstancesResponse
- type RebootInstancesResponseParams
- type RegionInfo
- type RemoveDockerContainersRequest
- type RemoveDockerContainersRequestParams
- type RemoveDockerContainersResponse
- type RemoveDockerContainersResponseParams
- type RenameDockerContainerRequest
- type RenameDockerContainerRequestParams
- type RenameDockerContainerResponse
- type RenameDockerContainerResponseParams
- type RenewDiskChargePrepaid
- type RenewDisksRequest
- type RenewDisksRequestParams
- type RenewDisksResponse
- type RenewDisksResponseParams
- type RenewInstancesRequest
- type RenewInstancesRequestParams
- type RenewInstancesResponse
- type RenewInstancesResponseParams
- type ReplaceFirewallTemplateRuleRequest
- type ReplaceFirewallTemplateRuleRequestParams
- type ReplaceFirewallTemplateRuleResponse
- type ReplaceFirewallTemplateRuleResponseParams
- type RerunDockerContainerRequest
- type RerunDockerContainerRequestParams
- type RerunDockerContainerResponse
- type RerunDockerContainerResponseParams
- type ResetAttachCcnRequest
- type ResetAttachCcnRequestParams
- type ResetAttachCcnResponse
- type ResetAttachCcnResponseParams
- type ResetFirewallTemplateRulesRequest
- type ResetFirewallTemplateRulesRequestParams
- type ResetFirewallTemplateRulesResponse
- type ResetFirewallTemplateRulesResponseParams
- type ResetInstanceBlueprint
- type ResetInstanceRequest
- type ResetInstanceRequestParams
- type ResetInstanceResponse
- type ResetInstanceResponseParams
- type ResetInstancesPasswordRequest
- type ResetInstancesPasswordRequestParams
- type ResetInstancesPasswordResponse
- type ResetInstancesPasswordResponseParams
- type ResizeDisksRequest
- type ResizeDisksRequestParams
- type ResizeDisksResponse
- type ResizeDisksResponseParams
- type RestartDockerContainersRequest
- type RestartDockerContainersRequestParams
- type RestartDockerContainersResponse
- type RestartDockerContainersResponseParams
- type RunDockerContainersRequest
- type RunDockerContainersRequestParams
- type RunDockerContainersResponse
- type RunDockerContainersResponseParams
- type Scene
- type SceneInfo
- type ShareBlueprintAcrossAccountsRequest
- type ShareBlueprintAcrossAccountsRequestParams
- type ShareBlueprintAcrossAccountsResponse
- type ShareBlueprintAcrossAccountsResponseParams
- type Snapshot
- type SnapshotDeniedActions
- type Software
- type SoftwareDetail
- type StartDockerContainersRequest
- type StartDockerContainersRequestParams
- type StartDockerContainersResponse
- type StartDockerContainersResponseParams
- type StartInstancesRequest
- type StartInstancesRequestParams
- type StartInstancesResponse
- type StartInstancesResponseParams
- type StopDockerContainersRequest
- type StopDockerContainersRequestParams
- type StopDockerContainersResponse
- type StopDockerContainersResponseParams
- type StopInstancesRequest
- type StopInstancesRequestParams
- type StopInstancesResponse
- type StopInstancesResponseParams
- type SystemDisk
- type Tag
- type TerminateDisksRequest
- type TerminateDisksRequestParams
- type TerminateDisksResponse
- type TerminateDisksResponseParams
- type TerminateInstancesRequest
- type TerminateInstancesRequestParams
- type TerminateInstancesResponse
- type TerminateInstancesResponseParams
- type TotalPrice
- type TrafficPackage
- type ZoneInfo
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 该地域尚未开放,请选择其他地域。 AUTHFAILURE_INVALIDREGION = "AuthFailure.InvalidRegion" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 创建镜像失败。 FAILEDOPERATION_CREATEBLUEPRINTFAILED = "FailedOperation.CreateBlueprintFailed" // 创建云硬盘失败。 FAILEDOPERATION_CREATEDISKSFAILED = "FailedOperation.CreateDisksFailed" // 创建实例失败。 FAILEDOPERATION_CREATEINSTANCESFAILED = "FailedOperation.CreateInstancesFailed" // 对密钥对的创建操作失败。 FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed" // 对密钥对的删除操作失败。 FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed" // 查询镜像失败,请稍后再试。 FAILEDOPERATION_DESCRIBEBLUEPRINTSFAILED = "FailedOperation.DescribeBlueprintsFailed" // 查询套餐折扣失败 FAILEDOPERATION_DESCRIBEBUNDLEDISCOUNTFAILED = "FailedOperation.DescribeBundleDiscountFailed" // 查询套餐失败 FAILEDOPERATION_DESCRIBEBUNDLESFAILED = "FailedOperation.DescribeBundlesFailed" // 查询云硬盘是否可以退还操作失败。 FAILEDOPERATION_DESCRIBEDISKSRETURNABLEERROR = "FailedOperation.DescribeDisksReturnableError" // 查询实例状态错误。 FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" // 查询实例变配套餐失败。 FAILEDOPERATION_DESCRIBEINSTANCESMODIFICATIONERROR = "FailedOperation.DescribeInstancesModificationError" // 查询实例退还错误。 FAILEDOPERATION_DESCRIBEINSTANCESRETURNABLEERROR = "FailedOperation.DescribeInstancesReturnableError" // 查询流量包失败。 FAILEDOPERATION_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "FailedOperation.DescribeInstancesTrafficPackagesFailed" // 查询资源返回了不符合要求内容。 FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError" // 销毁资源失败,请稍后重新操作。 FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed" // 容器列表过长。 FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" // 指定Docker环境操作失败, 请检查Docker环境。 FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" // 对防火墙规则的操作失败。 FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed" // 对密钥对的导入操作失败。 FAILEDOPERATION_IMPORTKEYPAIRFAILED = "FailedOperation.ImportKeyPairFailed" // 对实例的操作失败。 FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" // 账户余额不足, 请及时充值。 FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" // 命令无法找到。 FAILEDOPERATION_INVALIDCOMMANDNOTFOUND = "FailedOperation.InvalidCommandNotFound" // 退还资源失败。 FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed" // 变更实例套餐失败。 FAILEDOPERATION_MODIFYINSTANCESBUNDLEFAILED = "FailedOperation.ModifyInstancesBundleFailed" // 变更资源属性失败,请稍后重新操作。 FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed" // 修改资源自动续费失败 FAILEDOPERATION_MODIFYRESOURCESRENEWFLAGFAILED = "FailedOperation.ModifyResourcesRenewFlagFailed" // 续费资源失败。 FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed" // 请求错误。 FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" // 扩容云硬盘失败,请稍后重新操作。 FAILEDOPERATION_RESIZEDISKSFAILED = "FailedOperation.ResizeDisksFailed" // 跨账号共享镜像失败,请稍后重试。 FAILEDOPERATION_SHAREBLUEPRINTACROSSACCOUNTFAILED = "FailedOperation.ShareBlueprintAcrossAccountFailed" // 快照操作失败。 FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed" // TAT命令未完成。 FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" // 调用计费网关服务失败,请稍后重新操作。 FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed" // 计费询价失败。 FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" // 操作失败,不能创建自定义镜像。 FAILEDOPERATION_UNABLETOCREATEBLUEPRINT = "FailedOperation.UnableToCreateBlueprint" // 无法创建实例。 FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances" // 内部错误。 INTERNALERROR = "InternalError" // 查询实例状态失败,请稍后重试。 INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" // 查询实例是否可变配失败。 INTERNALERROR_DESCRIBEINSTANCESMODIFICATION = "InternalError.DescribeInstancesModification" // 查询实例是否可变配失败。 INTERNALERROR_DESCRIBEINSTANCESMODIFICATIONERROR = "InternalError.DescribeInstancesModificationError" // 查询实例是否可退还失败。 INTERNALERROR_DESCRIBEINSTANCESRETURNABLEERROR = "InternalError.DescribeInstancesReturnableError" // 查询实例流量包错误。 INTERNALERROR_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "InternalError.DescribeInstancesTrafficPackagesFailed" // 查询资源返回了不符合要求内容。 INTERNALERROR_DESCRIBERESOURCESRETURNABLEERROR = "InternalError.DescribeResourcesReturnableError" // 快照配额锁获取失败。 INTERNALERROR_GETSNAPSHOTALLOCQUOTALOCKERROR = "InternalError.GetSnapshotAllocQuotaLockError" // 无法找到此接口。 INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound" // 套餐价格错误。 INTERNALERROR_INVALIDBUNDLEPRICE = "InternalError.InvalidBundlePrice" // 命令无法找到。 INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" // 请求出现错误。 INTERNALERROR_REQUESTERROR = "InternalError.RequestError" // 调用计费网关服务失败。 INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" // 价格获取失败。 INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 套餐和镜像不匹配。 INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch" // 产品未定义的套餐 ID。 INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" // 参数冲突。 INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" // 参数非法,Filter 参数中的 Values 取值数量超过允许的最大数量。 INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" // 参数非法,防火墙规则重复。 INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated" // 参数非法,防火墙规则已存在。 INVALIDPARAMETER_FIREWALLRULESEXIST = "InvalidParameter.FirewallRulesExist" // 参数非法,Filter 参数非法。 INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" // 参数非法,Filter 参数中的 Name 取值非法。 INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" // 参数非法,Filter 参数中的 Name 取值不是字符串。 INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" // 参数非法,Filter 参数中的 Values 不是列表。 INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList" // Filter参数名称不正确。 INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" // 参数非法,Filter 参数不是字典。 INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" // 参数非法,Filter 参数中有不支持的 Name。 INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" // 必须要指定一个要修改的属性。 INVALIDPARAMETER_MUSTSPECIFYONEATTRIBUTETOMODIFY = "InvalidParameter.MustSpecifyOneAttributeToModify" // 参数非法,每次只能修改一个属性。 INVALIDPARAMETER_ONLYALLOWMODIFYONEATTRIBUTE = "InvalidParameter.OnlyAllowModifyOneAttribute" // 参数非法,参数冲突。 INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 镜像不允许共享至不同站点的账号。 INVALIDPARAMETERVALUE_ACCOUNTIDINVALIDACCOUNTAREA = "InvalidParameterValue.AccountIdInvalidAccountArea" // 账号ID不存在。 INVALIDPARAMETERVALUE_ACCOUNTIDSNOTEXIST = "InvalidParameterValue.AccountIdsNotExist" // 账号ID不为主账号。 INVALIDPARAMETERVALUE_ACCOUNTIDSNOTOWNERACCOUNT = "InvalidParameterValue.AccountIdsNotOwnerAccount" // 该实例配置不符合指定镜像的要求。 INVALIDPARAMETERVALUE_BLUEPRINTCONFIGNOTMATCH = "InvalidParameterValue.BlueprintConfigNotMatch" // 镜像 ID 不合法,重装实例不允许切换操作系统类型。 INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId" // 参数值非法,镜像 ID 格式非法。 INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" // 套餐和镜像不匹配。 INVALIDPARAMETERVALUE_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameterValue.BundleAndBlueprintNotMatch" // 所选套餐不支持镜像的操作系统平台类型。 INVALIDPARAMETERVALUE_BUNDLENOTSUPPORTBLUEPRINTPLATFORM = "InvalidParameterValue.BundleNotSupportBlueprintPlatform" // 云联网实例ID格式非法。 INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" // 客户令牌长度超出限制。 INVALIDPARAMETERVALUE_CLIENTTOKENTOOLONG = "InvalidParameterValue.ClientTokenTooLong" // 参数值非法,云硬盘备份点 ID 格式非法。 INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" // 指定的云盘备份点名称不可大于最大长度。 INVALIDPARAMETERVALUE_DISKBACKUPNAMETOOLONG = "InvalidParameterValue.DiskBackupNameTooLong" // 云硬盘备份点配额小于当前云硬盘备份点数量。 INVALIDPARAMETERVALUE_DISKBACKUPQUOTALESSTHENCURRENTDISKBACKUPNUM = "InvalidParameterValue.DiskBackupQuotaLessThenCurrentDiskBackupNum" // 云硬盘的可用区与实例的可用区不匹配。 INVALIDPARAMETERVALUE_DISKINSTANCEZONENOTMATCH = "InvalidParameterValue.DiskInstanceZoneNotMatch" // 磁盘名称长度超出限制。 INVALIDPARAMETERVALUE_DISKNAMETOOLONG = "InvalidParameterValue.DiskNameTooLong" // 磁盘大小发生改变。 INVALIDPARAMETERVALUE_DISKSIZENOTMATCH = "InvalidParameterValue.DiskSizeNotMatch" // 指定云硬盘大小小于当前云硬盘大小。 INVALIDPARAMETERVALUE_DISKSIZESMALLERTHANCURRENTDISKSIZE = "InvalidParameterValue.DiskSizeSmallerThanCurrentDiskSize" // 参数 `KeyName` 已经存在且重复。 INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue" // 参数值非法,不允许包含重复的值。 INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" // 防火墙模板规则已存在 INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" // 列值不正确。 INVALIDPARAMETERVALUE_FIELDSCOMPARE = "InvalidParameterValue.FieldsCompare" // 防火墙规则描述长度超出限制。 INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" // 参数值非法,实例 ID 格式非法。 INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" // 参数值非法,实例名称超过允许的最大长度。 INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" // 镜像 ID 不合法。 INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" // 镜像操作系统类型不合法。 INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" // 镜像状态取值非法。 INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" // 镜像类型不合法。 INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType" // 非法的套餐参数。 INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" // 控制台显示类型不合法。 INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes" // 当前实例到期时间不能早于云硬盘到期时间。 INVALIDPARAMETERVALUE_INVALIDCURINSTANCEDEADLINE = "InvalidParameterValue.InvalidCurInstanceDeadline" // 参数值非法,磁盘 ID 格式非法。 INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" // 指定云硬盘大小不符合要求。 INVALIDPARAMETERVALUE_INVALIDDISKSIZE = "InvalidParameterValue.InvalidDiskSize" // 云硬盘类型非法。 INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" // 设置是否使用默认密钥对登录的值不正确。 INVALIDPARAMETERVALUE_INVALIDINSTANCELOGINKEYPAIRPERMITLOGIN = "InvalidParameterValue.InvalidInstanceLoginKeyPairPermitLogin" // 参数值非法,IP 地址格式非法。 INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" // 参数值非法。 INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty" // 非法的密钥对名称。 INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidKeyPairNameIncludeIllegalChar" // 参数长度非法。 INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong" // 参数组合非法。 INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" // 参数中的密码不合法。 INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" // 不正确的配额资源名称。 INVALIDPARAMETERVALUE_INVALIDRESOURCEQUOTARESOURCENAME = "InvalidParameterValue.InvalidResourceQuotaResourceName" // 使用场景Id不合法。 INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = "InvalidParameterValue.InvalidSceneIdMalformed" // 参数Zone的取值不合法。 INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" // 参数值非法,密钥对 ID 格式非法。 INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" // 该密钥对中的公钥在系统中已存在,无法重复使用 。 INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYDUPLICATED = "InvalidParameterValue.KeyPairPublicKeyDuplicated" // 指定的公钥格式错误。 INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYMALFORMED = "InvalidParameterValue.KeyPairPublicKeyMalformed" // 参数值非法,参数值的数量超过最大限制。 INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // 参数值非法,不能为负值。 INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" // 不允许改变平台类型。 INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType" // 参数值非法,不在合法范围内。 INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" // 实例操作系统不支持该文件系统。 INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTFILESYSTEM = "InvalidParameterValue.PlatformTypeNotSupportFileSystem" // 实例操作系统不支持指定挂载点。 INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTMOUNTPOINT = "InvalidParameterValue.PlatformTypeNotSupportMountPoint" // 地域不存在。 INVALIDPARAMETERVALUE_REGIONNOTFOUND = "InvalidParameterValue.RegionNotFound" // 地域不匹配。 INVALIDPARAMETERVALUE_REGIONNOTMATCH = "InvalidParameterValue.RegionNotMatch" // 不支持的地域。 INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" // 该地域不可用。 INVALIDPARAMETERVALUE_REGIONUNAVAILABLE = "InvalidParameterValue.RegionUnavailable" // 参数值非法,快照 ID 格式非法。 INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" // 参数值非法,快照名称超过允许的最大长度。 INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong" // 参数值非法,大于有效值。 INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" // 参数取值过长,超过最大长度。 INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" // 参数值非法,小于有效值。 INVALIDPARAMETERVALUE_TOOSMALL = "InvalidParameterValue.TooSmall" // 非法的可用区。 INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 实例挂载数据盘配额不足,无法挂载云硬盘。 LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded" // 配额不足,当前自定义镜像配额不允许创建新的自定义镜像。 LIMITEXCEEDED_BLUEPRINTQUOTALIMITEXCEEDED = "LimitExceeded.BlueprintQuotaLimitExceeded" // 超过磁盘备份点配额限制。 LIMITEXCEEDED_DISKBACKUPQUOTALIMITEXCEEDED = "LimitExceeded.DiskBackupQuotaLimitExceeded" // 当前配额不足,无法创建新的云硬盘。 LIMITEXCEEDED_DISKQUOTALIMITEXCEEDED = "LimitExceeded.DiskQuotaLimitExceeded" // 超过防火墙规则配额。 LIMITEXCEEDED_FIREWALLRULESLIMITEXCEEDED = "LimitExceeded.FirewallRulesLimitExceeded" // 防火墙模板规则超出配额 LIMITEXCEEDED_FIREWALLTEMPLATERULEQUOTALIMITEXCEEDED = "LimitExceeded.FirewallTemplateRuleQuotaLimitExceeded" // 超过实例配额。 LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded" // 退还资源数量超出限制。 LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded" // 超过密钥对配额。 LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded" // 镜像当前配额不足,无法共享至指定账号。 LIMITEXCEEDED_SHAREBLUEPRINTACROSSACCOUNTQUOTALIMITEXCEEDED = "LimitExceeded.ShareBlueprintAcrossAccountQuotaLimitExceeded" // 超过快照配额。 LIMITEXCEEDED_SNAPSHOTQUOTALIMITEXCEEDED = "LimitExceeded.SnapshotQuotaLimitExceeded" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 必须传入参数Period或CurInstanceDeadline。 MISSINGPARAMETER_MISSINGPARAMETERPERIODCURINSTANCEDEADLINE = "MissingParameter.MissingParameterPeriodCurInstanceDeadline" // 镜像在操作中。请稍后再试。 OPERATIONDENIED_BLUEPRINTOPERATIONINPROGRESS = "OperationDenied.BlueprintOperationInProgress" // 该实例不支持升级套餐操作。 OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify" // 磁盘备份点忙,请稍后重新操作。 OPERATIONDENIED_DISKBACKUPBUSY = "OperationDenied.DiskBackupBusy" // 磁盘备份点正在操作过程中,请稍后重试。 OPERATIONDENIED_DISKBACKUPOPERATIONINPROGRESS = "OperationDenied.DiskBackupOperationInProgress" // 磁盘正在操作备份点过程中,请稍后重新操作。 OPERATIONDENIED_DISKBUSYFORBACKUPOPERATION = "OperationDenied.DiskBusyForBackupOperation" // 磁盘处于创建过程中。 OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" // 磁盘正在操作过程中,请稍后重试。 OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" // 磁盘的云盘类型不支持该操作。 OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" // 禁止对实例进行操作,实例在创建中,不允许进行该操作。 OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" // 禁止对实例进行操作,实例最近一次的操作尚在进行中。 OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" // 禁止创建快照。 OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOT = "OperationDenied.OperationDeniedCreateSnapshot" // 使用存储型套餐的实例不支持创建快照。 OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOTFORSTORAGEBUNDLE = "OperationDenied.OperationDeniedCreateSnapshotForStorageBundle" // 镜像正在修改共享属性操作中。不支持此操作。 RESOURCEINUSE_BLUEPRINTMODIFYINGSHAREPERMISSION = "ResourceInUse.BlueprintModifyingSharePermission" // 磁盘备份点正在使用中,不支持此操作。 RESOURCEINUSE_DISKBACKUPINUSE = "ResourceInUse.DiskBackupInUse" // 密钥对正在使用中。 RESOURCEINUSE_KEYPAIRINUSE = "ResourceInUse.KeyPairInUse" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 镜像 ID 不存在。 RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" // 指定的镜像不存在。请检查镜像的BlueprintId是否正确。 RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" // 处于已挂载状态的磁盘关联实例不存在。 RESOURCENOTFOUND_DISKATTACHEDHASNOINSTANCEID = "ResourceNotFound.DiskAttachedHasNoInstanceId" // 磁盘备份点ID不存在。 RESOURCENOTFOUND_DISKBACKUPIDNOTFOUND = "ResourceNotFound.DiskBackupIdNotFound" // 磁盘备份点不存在。 RESOURCENOTFOUND_DISKBACKUPNOTEXISTS = "ResourceNotFound.DiskBackupNotExists" // 用户指定磁盘备份点不存在。 RESOURCENOTFOUND_DISKBACKUPNOTFOUND = "ResourceNotFound.DiskBackupNotFound" // 磁盘 ID 不存在。 RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" // 磁盘不存在。 RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" // 磁盘不存在。 RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" // 防火墙不存在。 RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" // 防火墙规则不存在。 RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound" // 防火墙模板不存在 RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" // 防火墙模板规则不存在 RESOURCENOTFOUND_FIREWALLTEMPLATERULENOTFOUND = "ResourceNotFound.FirewallTemplateRuleNotFound" // 实例不存在挂载的数据盘。 RESOURCENOTFOUND_INSTANCEDATADISKNOTFOUND = "ResourceNotFound.InstanceDataDiskNotFound" // 实例 ID 不存在。 RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" // 实例不存在。 RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" // 密钥对 ID 不存在。 RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound" // 密钥对不存在。 RESOURCENOTFOUND_KEYPAIRNOTFOUND = "ResourceNotFound.KeyPairNotFound" // 自定义镜像不存在。 RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound" // 服务角色不存在, 请为账号添加这个角色。 RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" // 未查询到场景ID RESOURCENOTFOUND_SCENEIDNOTFOUND = "ResourceNotFound.SceneIdNotFound" // 快照 ID 不存在。 RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound" // 快照不存在。 RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 指定实例镜像不符合要求。 RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" // 镜像资源不可用。 RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable" // 套餐不可用。 RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" // 不能应用该防火墙模板 RESOURCEUNAVAILABLE_CANNOTAPPLYEMPTYFIREWALLTEMPLATE = "ResourceUnavailable.CannotApplyEmptyFirewallTemplate" // Docker资源不可用。 RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" // 防火墙模板在使用中,不支持该操作。 RESOURCEUNAVAILABLE_FIREWALLTEMPLATEINUSE = "ResourceUnavailable.FirewallTemplateInUse" // TAT agent不可用。 RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" // TAT 服务错误。 RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" // 套餐已售罄。 RESOURCESSOLDOUT_BUNDLESOLDOUT = "ResourcesSoldOut.BundleSoldOut" // 套餐无可用配置。 RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs" // 套餐无可用配置。 RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 无效 Token。 UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" // MFA 已过期。 UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" // MFA 不存在。 UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" // 无权限。 UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // 无权限进行此操作,请求中token不合法。 UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 将磁盘备份点回滚到其他盘,不支持该操作。 UNSUPPORTEDOPERATION_APPLYDISKBACKUPTOANOTHERDISK = "UnsupportedOperation.ApplyDiskBackupToAnotherDisk" // 没有实例不支持关联到云联网。 UNSUPPORTEDOPERATION_ATTACHCCNCONDITIONUNSATISFIED = "UnsupportedOperation.AttachCcnConditionUnsatisfied" // 关联云联网失败。请检查云联网状态并稍后再试。 UNSUPPORTEDOPERATION_ATTACHCCNFAILED = "UnsupportedOperation.AttachCcnFailed" // 镜像已经被共享。不支持此操作。 UNSUPPORTEDOPERATION_BLUEPRINTALREADYSHARED = "UnsupportedOperation.BlueprintAlreadyShared" // 镜像当前状态不支持该操作。 UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" // 镜像没有被共享。不支持此操作。 UNSUPPORTEDOPERATION_BLUEPRINTHASNOTSHARED = "UnsupportedOperation.BlueprintHasNotShared" // 镜像最近一次的操作尚未完成。 UNSUPPORTEDOPERATION_BLUEPRINTLATESTOPERATIONUNFINISHED = "UnsupportedOperation.BlueprintLatestOperationUnfinished" // 镜像被使用中,不支持该操作。 UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied" // 已经关联云联网,不支持再次关联。 UNSUPPORTEDOPERATION_CCNALREADYATTACHED = "UnsupportedOperation.CcnAlreadyAttached" // 云联网 尚未关联。不支持此操作。 UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" // 查询云联网关联的实例状态失败。请稍后再试。 UNSUPPORTEDOPERATION_DESCRIBECCNATTACHEDINSTANCESFAILED = "UnsupportedOperation.DescribeCcnAttachedInstancesFailed" // 解关联云联网失败。请检查云联网状态并稍后再试。 UNSUPPORTEDOPERATION_DETACHCCNFAILED = "UnsupportedOperation.DetachCcnFailed" // 磁盘备份点上一次操作未结束,不支持当前操作。 UNSUPPORTEDOPERATION_DISKBACKUPLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskBackupLatestOperationUnfinished" // 磁盘忙。 UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy" // 不支持的操作,磁盘最近一次的操作尚未完成。 UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" // 防火墙忙。 UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" // 指定的防火墙版本号和当前版本不一致。 UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch" // 实例已到期,不支持该操作。 UNSUPPORTEDOPERATION_INSTANCEEXPIRED = "UnsupportedOperation.InstanceExpired" // LinuxUnix实例在创建时不支持设置密码。 UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword" // 磁盘备份点状态不支持该操作。 UNSUPPORTEDOPERATION_INVALIDDISKBACKUPSTATE = "UnsupportedOperation.InvalidDiskBackupState" // 磁盘状态不支持该操作。 UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" // 不支持的操作,实例状态不合法。 UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" // 不支持的操作,快照状态不合法。 UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState" // 不支持的操作,不支持将同一个密钥对重复绑定到同一个实例上。 UNSUPPORTEDOPERATION_KEYPAIRBINDDUPLICATE = "UnsupportedOperation.KeyPairBindDuplicate" // 不支持该操作。KeyPair 与镜像存在绑定关系。在进行该操作前请删除与密钥对有绑定关系的自定义镜像。 UNSUPPORTEDOPERATION_KEYPAIRBINDTOBLUEPRINTS = "UnsupportedOperation.KeyPairBindToBlueprints" // 不支持的操作,不支持将未绑定到实例的密钥对从实例解绑。 UNSUPPORTEDOPERATION_KEYPAIRNOTBOUNDTOINSTANCE = "UnsupportedOperation.KeyPairNotBoundToInstance" // 不支持的操作,实例最近一次的操作尚未完成。 UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" // 共享镜像不支持此操作。 UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint" // 国际站不支持该操作。 UNSUPPORTEDOPERATION_OPERATIONNOTSUPPORTEDININTLSITE = "UnsupportedOperation.OperationNotSupportedInIntlSite" // 此接口已下线。 UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline" // 计费资源中心删除资源失败。 UNSUPPORTEDOPERATION_POSTDESTROYRESOURCEFAILED = "UnsupportedOperation.PostDestroyResourceFailed" // 重新申请关联云联网失败。请检查云联网状态并稍后再试。 UNSUPPORTEDOPERATION_RESETATTACHCCNFAILED = "UnsupportedOperation.ResetAttachCcnFailed" // 资源不支持退换。 UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable" // 资源变配操作中新旧配置一样,不支持此操作。 UNSUPPORTEDOPERATION_SAMEWITHOLDCONFIG = "UnsupportedOperation.SameWithOldConfig" // 快照忙。 UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy" // 系统忙。 UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy" // 实例上腾讯云助手 agent 不在线。 UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = "UnsupportedOperation.TatAgentNotOnline" // Windows实例不支持绑定密钥对。 UNSUPPORTEDOPERATION_WINDOWSNOTALLOWTOASSOCIATEKEYPAIR = "UnsupportedOperation.WindowsNotAllowToAssociateKeyPair" // windows类型实例不支持密钥对功能。 UNSUPPORTEDOPERATION_WINDOWSNOTSUPPORTKEYPAIR = "UnsupportedOperation.WindowsNotSupportKeyPair" )
const APIVersion = "2020-03-24"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyDiskBackupRequest ¶ added in v1.0.563
type ApplyDiskBackupRequest struct { *tchttp.BaseRequest // 云硬盘ID,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 云硬盘备份点ID,可通过[DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询。 DiskBackupId *string `json:"DiskBackupId,omitnil,omitempty" name:"DiskBackupId"` }
func NewApplyDiskBackupRequest ¶ added in v1.0.563
func NewApplyDiskBackupRequest() (request *ApplyDiskBackupRequest)
func (*ApplyDiskBackupRequest) FromJsonString ¶ added in v1.0.563
func (r *ApplyDiskBackupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyDiskBackupRequest) ToJsonString ¶ added in v1.0.563
func (r *ApplyDiskBackupRequest) ToJsonString() string
type ApplyDiskBackupRequestParams ¶ added in v1.0.563
type ApplyDiskBackupRequestParams struct { // 云硬盘ID,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 云硬盘备份点ID,可通过[DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询。 DiskBackupId *string `json:"DiskBackupId,omitnil,omitempty" name:"DiskBackupId"` }
Predefined struct for user
type ApplyDiskBackupResponse ¶ added in v1.0.563
type ApplyDiskBackupResponse struct { *tchttp.BaseResponse Response *ApplyDiskBackupResponseParams `json:"Response"` }
func NewApplyDiskBackupResponse ¶ added in v1.0.563
func NewApplyDiskBackupResponse() (response *ApplyDiskBackupResponse)
func (*ApplyDiskBackupResponse) FromJsonString ¶ added in v1.0.563
func (r *ApplyDiskBackupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyDiskBackupResponse) ToJsonString ¶ added in v1.0.563
func (r *ApplyDiskBackupResponse) ToJsonString() string
type ApplyDiskBackupResponseParams ¶ added in v1.0.563
type ApplyDiskBackupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ApplyFirewallTemplateRequest ¶ added in v1.0.729
type ApplyFirewallTemplateRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 应用防火墙模板的实例列表。列表长度最大值是100。 ApplyInstances []*InstanceIdentifier `json:"ApplyInstances,omitnil,omitempty" name:"ApplyInstances"` }
func NewApplyFirewallTemplateRequest ¶ added in v1.0.729
func NewApplyFirewallTemplateRequest() (request *ApplyFirewallTemplateRequest)
func (*ApplyFirewallTemplateRequest) FromJsonString ¶ added in v1.0.729
func (r *ApplyFirewallTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyFirewallTemplateRequest) ToJsonString ¶ added in v1.0.729
func (r *ApplyFirewallTemplateRequest) ToJsonString() string
type ApplyFirewallTemplateRequestParams ¶ added in v1.0.729
type ApplyFirewallTemplateRequestParams struct { // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 应用防火墙模板的实例列表。列表长度最大值是100。 ApplyInstances []*InstanceIdentifier `json:"ApplyInstances,omitnil,omitempty" name:"ApplyInstances"` }
Predefined struct for user
type ApplyFirewallTemplateResponse ¶ added in v1.0.729
type ApplyFirewallTemplateResponse struct { *tchttp.BaseResponse Response *ApplyFirewallTemplateResponseParams `json:"Response"` }
func NewApplyFirewallTemplateResponse ¶ added in v1.0.729
func NewApplyFirewallTemplateResponse() (response *ApplyFirewallTemplateResponse)
func (*ApplyFirewallTemplateResponse) FromJsonString ¶ added in v1.0.729
func (r *ApplyFirewallTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyFirewallTemplateResponse) ToJsonString ¶ added in v1.0.729
func (r *ApplyFirewallTemplateResponse) ToJsonString() string
type ApplyFirewallTemplateResponseParams ¶ added in v1.0.729
type ApplyFirewallTemplateResponseParams struct { // 任务ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ApplyInstanceSnapshotRequest ¶
type ApplyInstanceSnapshotRequest struct { *tchttp.BaseRequest // 实例 ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/product/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 快照 ID。可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/1207/54388) 接口返回值中的 SnapshotId 获取。 SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` }
func NewApplyInstanceSnapshotRequest ¶
func NewApplyInstanceSnapshotRequest() (request *ApplyInstanceSnapshotRequest)
func (*ApplyInstanceSnapshotRequest) FromJsonString ¶
func (r *ApplyInstanceSnapshotRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyInstanceSnapshotRequest) ToJsonString ¶
func (r *ApplyInstanceSnapshotRequest) ToJsonString() string
type ApplyInstanceSnapshotRequestParams ¶ added in v1.0.426
type ApplyInstanceSnapshotRequestParams struct { // 实例 ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/product/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 快照 ID。可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/1207/54388) 接口返回值中的 SnapshotId 获取。 SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` }
Predefined struct for user
type ApplyInstanceSnapshotResponse ¶
type ApplyInstanceSnapshotResponse struct { *tchttp.BaseResponse Response *ApplyInstanceSnapshotResponseParams `json:"Response"` }
func NewApplyInstanceSnapshotResponse ¶
func NewApplyInstanceSnapshotResponse() (response *ApplyInstanceSnapshotResponse)
func (*ApplyInstanceSnapshotResponse) FromJsonString ¶
func (r *ApplyInstanceSnapshotResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyInstanceSnapshotResponse) ToJsonString ¶
func (r *ApplyInstanceSnapshotResponse) ToJsonString() string
type ApplyInstanceSnapshotResponseParams ¶ added in v1.0.426
type ApplyInstanceSnapshotResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AssociateInstancesKeyPairsRequest ¶
type AssociateInstancesKeyPairsRequest struct { *tchttp.BaseRequest // 密钥对 ID 列表,每次请求批量密钥对的上限为 100。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewAssociateInstancesKeyPairsRequest ¶
func NewAssociateInstancesKeyPairsRequest() (request *AssociateInstancesKeyPairsRequest)
func (*AssociateInstancesKeyPairsRequest) FromJsonString ¶
func (r *AssociateInstancesKeyPairsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateInstancesKeyPairsRequest) ToJsonString ¶
func (r *AssociateInstancesKeyPairsRequest) ToJsonString() string
type AssociateInstancesKeyPairsRequestParams ¶ added in v1.0.426
type AssociateInstancesKeyPairsRequestParams struct { // 密钥对 ID 列表,每次请求批量密钥对的上限为 100。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type AssociateInstancesKeyPairsResponse ¶
type AssociateInstancesKeyPairsResponse struct { *tchttp.BaseResponse Response *AssociateInstancesKeyPairsResponseParams `json:"Response"` }
func NewAssociateInstancesKeyPairsResponse ¶
func NewAssociateInstancesKeyPairsResponse() (response *AssociateInstancesKeyPairsResponse)
func (*AssociateInstancesKeyPairsResponse) FromJsonString ¶
func (r *AssociateInstancesKeyPairsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AssociateInstancesKeyPairsResponse) ToJsonString ¶
func (r *AssociateInstancesKeyPairsResponse) ToJsonString() string
type AssociateInstancesKeyPairsResponseParams ¶ added in v1.0.426
type AssociateInstancesKeyPairsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AttachCcnRequest ¶ added in v1.0.211
type AttachCcnRequest struct { *tchttp.BaseRequest // 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` }
func NewAttachCcnRequest ¶ added in v1.0.211
func NewAttachCcnRequest() (request *AttachCcnRequest)
func (*AttachCcnRequest) FromJsonString ¶ added in v1.0.211
func (r *AttachCcnRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachCcnRequest) ToJsonString ¶ added in v1.0.211
func (r *AttachCcnRequest) ToJsonString() string
type AttachCcnRequestParams ¶ added in v1.0.426
type AttachCcnRequestParams struct { // 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` }
Predefined struct for user
type AttachCcnResponse ¶ added in v1.0.211
type AttachCcnResponse struct { *tchttp.BaseResponse Response *AttachCcnResponseParams `json:"Response"` }
func NewAttachCcnResponse ¶ added in v1.0.211
func NewAttachCcnResponse() (response *AttachCcnResponse)
func (*AttachCcnResponse) FromJsonString ¶ added in v1.0.211
func (r *AttachCcnResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachCcnResponse) ToJsonString ¶ added in v1.0.211
func (r *AttachCcnResponse) ToJsonString() string
type AttachCcnResponseParams ¶ added in v1.0.426
type AttachCcnResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AttachDetail ¶ added in v1.0.314
type AttachDetail struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例已挂载弹性云盘数量 AttachedDiskCount *int64 `json:"AttachedDiskCount,omitnil,omitempty" name:"AttachedDiskCount"` // 可挂载弹性云盘数量 MaxAttachCount *int64 `json:"MaxAttachCount,omitnil,omitempty" name:"MaxAttachCount"` }
type AttachDisksRequest ¶ added in v1.0.314
type AttachDisksRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 自动续费标识。取值范围: // // NOTIFY_AND_AUTO_RENEW:通知过期且自动续费。 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费。 DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知。 // // 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,云盘到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
func NewAttachDisksRequest ¶ added in v1.0.314
func NewAttachDisksRequest() (request *AttachDisksRequest)
func (*AttachDisksRequest) FromJsonString ¶ added in v1.0.314
func (r *AttachDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachDisksRequest) ToJsonString ¶ added in v1.0.314
func (r *AttachDisksRequest) ToJsonString() string
type AttachDisksRequestParams ¶ added in v1.0.426
type AttachDisksRequestParams struct { // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 自动续费标识。取值范围: // // NOTIFY_AND_AUTO_RENEW:通知过期且自动续费。 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费。 DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知。 // // 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,云盘到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
Predefined struct for user
type AttachDisksResponse ¶ added in v1.0.314
type AttachDisksResponse struct { *tchttp.BaseResponse Response *AttachDisksResponseParams `json:"Response"` }
func NewAttachDisksResponse ¶ added in v1.0.314
func NewAttachDisksResponse() (response *AttachDisksResponse)
func (*AttachDisksResponse) FromJsonString ¶ added in v1.0.314
func (r *AttachDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachDisksResponse) ToJsonString ¶ added in v1.0.314
func (r *AttachDisksResponse) ToJsonString() string
type AttachDisksResponseParams ¶ added in v1.0.426
type AttachDisksResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AutoMountConfiguration ¶ added in v1.0.652
type AutoMountConfiguration struct { // 待挂载的实例ID。指定的实例必须与指定的数据盘处于同一可用区,实例状态必须处于“运行中”状态,且实例必须支持[自动化助手](https://cloud.tencent.com/document/product/1340/50752)。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例内的挂载点。仅Linux操作系统的实例可传入该参数, 不传则默认挂载在“/data/disk”路径下。 MountPoint *string `json:"MountPoint,omitnil,omitempty" name:"MountPoint"` // 文件系统类型。取值: “ext4”、“xfs”。仅Linux操作系统的实例可传入该参数, 不传则默认为“ext4”。 FileSystemType *string `json:"FileSystemType,omitnil,omitempty" name:"FileSystemType"` }
type Blueprint ¶
type Blueprint struct { // 镜像 ID ,是 Blueprint 的唯一标识。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 镜像对外展示标题。 DisplayTitle *string `json:"DisplayTitle,omitnil,omitempty" name:"DisplayTitle"` // 镜像对外展示版本。 DisplayVersion *string `json:"DisplayVersion,omitnil,omitempty" name:"DisplayVersion"` // 镜像描述信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 操作系统名称。 OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"` // 操作系统平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 操作系统平台类型,如 LINUX_UNIX、WINDOWS。 PlatformType *string `json:"PlatformType,omitnil,omitempty" name:"PlatformType"` // 镜像类型,如 APP_OS、PURE_OS、PRIVATE。 BlueprintType *string `json:"BlueprintType,omitnil,omitempty" name:"BlueprintType"` // 镜像图片 URL。 ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"` // 镜像所需系统盘大小,单位 GB。 RequiredSystemDiskSize *int64 `json:"RequiredSystemDiskSize,omitnil,omitempty" name:"RequiredSystemDiskSize"` // 镜像状态。 BlueprintState *string `json:"BlueprintState,omitnil,omitempty" name:"BlueprintState"` // 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 镜像名称。 BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"` // 镜像是否支持自动化助手。 SupportAutomationTools *bool `json:"SupportAutomationTools,omitnil,omitempty" name:"SupportAutomationTools"` // 镜像所需内存大小, 单位: GB RequiredMemorySize *int64 `json:"RequiredMemorySize,omitnil,omitempty" name:"RequiredMemorySize"` // CVM镜像共享到轻量应用服务器轻量应用服务器后的CVM镜像ID。 // 注意:此字段可能返回 null,表示取不到有效值。 ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"` // 官方网站Url。 CommunityUrl *string `json:"CommunityUrl,omitnil,omitempty" name:"CommunityUrl"` // 指导文章Url。 GuideUrl *string `json:"GuideUrl,omitnil,omitempty" name:"GuideUrl"` // 镜像关联使用场景Id列表。 // 注意:此字段可能返回 null,表示取不到有效值。 SceneIdSet []*string `json:"SceneIdSet,omitnil,omitempty" name:"SceneIdSet"` // Docker版本号。 // 注意:此字段可能返回 null,表示取不到有效值。 DockerVersion *string `json:"DockerVersion,omitnil,omitempty" name:"DockerVersion"` BlueprintShared *bool `json:"BlueprintShared,omitnil,omitempty" name:"BlueprintShared"` }
type BlueprintInstance ¶
type BlueprintPrice ¶
type BlueprintPrice struct { // 镜像单价,原价。单位元。 OriginalBlueprintPrice *float64 `json:"OriginalBlueprintPrice,omitnil,omitempty" name:"OriginalBlueprintPrice"` // 镜像总价,原价。单位元。 OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // 折扣。 Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"` // 镜像折扣后总价。单位元。 DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"` }
type Bundle ¶
type Bundle struct { // 套餐 ID。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` // 内存大小,单位 GB。 Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 系统盘类型。 // 取值范围: // <li> CLOUD_SSD:SSD 云硬盘</li><li> CLOUD_PREMIUM:高性能云硬盘</li> SystemDiskType *string `json:"SystemDiskType,omitnil,omitempty" name:"SystemDiskType"` // 系统盘大小。单位GB。 SystemDiskSize *int64 `json:"SystemDiskSize,omitnil,omitempty" name:"SystemDiskSize"` // 每月网络流量,单位 GB。 MonthlyTraffic *int64 `json:"MonthlyTraffic,omitnil,omitempty" name:"MonthlyTraffic"` // 是否支持 Linux/Unix 平台。 SupportLinuxUnixPlatform *bool `json:"SupportLinuxUnixPlatform,omitnil,omitempty" name:"SupportLinuxUnixPlatform"` // 是否支持 Windows 平台。 SupportWindowsPlatform *bool `json:"SupportWindowsPlatform,omitnil,omitempty" name:"SupportWindowsPlatform"` // 套餐当前单位价格信息。 Price *Price `json:"Price,omitnil,omitempty" name:"Price"` // CPU 核数。 CPU *int64 `json:"CPU,omitnil,omitempty" name:"CPU"` // 峰值带宽,单位 Mbps。 InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"` // 网络计费类型。 InternetChargeType *string `json:"InternetChargeType,omitnil,omitempty" name:"InternetChargeType"` // 套餐售卖状态,取值:‘AVAILABLE’(可用) , ‘SOLD_OUT’(售罄) BundleSalesState *string `json:"BundleSalesState,omitnil,omitempty" name:"BundleSalesState"` // 套餐类型。 // 取值范围: // <li>STARTER_BUNDLE:入门型</li> // <li>GENERAL_BUNDLE:通用型</li> // <li>ENTERPRISE_BUNDLE:企业型</li> // <li>STORAGE_BUNDLE:存储型</li> // <li>EXCLUSIVE_BUNDLE:专属型</li> // <li>HK_EXCLUSIVE_BUNDLE:香港专属型 </li> // <li>CAREFREE_BUNDLE:无忧型</li> // <li>BEFAST_BUNDLE:蜂驰型 </li> BundleType *string `json:"BundleType,omitnil,omitempty" name:"BundleType"` // 套餐类型描述信息。 // 注意:此字段可能返回 null,表示取不到有效值。 BundleTypeDescription *string `json:"BundleTypeDescription,omitnil,omitempty" name:"BundleTypeDescription"` // 套餐展示标签. // 取值范围: // "ACTIVITY": 活动套餐, // "NORMAL": 普通套餐 // "CAREFREE": 无忧套餐 BundleDisplayLabel *string `json:"BundleDisplayLabel,omitnil,omitempty" name:"BundleDisplayLabel"` }
type CancelShareBlueprintAcrossAccountsRequest ¶ added in v1.0.783
type CancelShareBlueprintAcrossAccountsRequest struct { string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` AccountIds []*string `json:"AccountIds,omitnil,omitempty" name:"AccountIds"` }BlueprintId *
func NewCancelShareBlueprintAcrossAccountsRequest ¶ added in v1.0.783
func NewCancelShareBlueprintAcrossAccountsRequest() (request *CancelShareBlueprintAcrossAccountsRequest)
func (*CancelShareBlueprintAcrossAccountsRequest) FromJsonString ¶ added in v1.0.783
func (r *CancelShareBlueprintAcrossAccountsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelShareBlueprintAcrossAccountsRequest) ToJsonString ¶ added in v1.0.783
func (r *CancelShareBlueprintAcrossAccountsRequest) ToJsonString() string
type CancelShareBlueprintAcrossAccountsRequestParams ¶ added in v1.0.783
type CancelShareBlueprintAcrossAccountsRequestParams struct { string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` AccountIds []*string `json:"AccountIds,omitnil,omitempty" name:"AccountIds"` }BlueprintId *
Predefined struct for user
type CancelShareBlueprintAcrossAccountsResponse ¶ added in v1.0.783
type CancelShareBlueprintAcrossAccountsResponse struct {}
func NewCancelShareBlueprintAcrossAccountsResponse ¶ added in v1.0.783
func NewCancelShareBlueprintAcrossAccountsResponse() (response *CancelShareBlueprintAcrossAccountsResponse)
func (*CancelShareBlueprintAcrossAccountsResponse) FromJsonString ¶ added in v1.0.783
func (r *CancelShareBlueprintAcrossAccountsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CancelShareBlueprintAcrossAccountsResponse) ToJsonString ¶ added in v1.0.783
func (r *CancelShareBlueprintAcrossAccountsResponse) ToJsonString() string
type CancelShareBlueprintAcrossAccountsResponseParams ¶ added in v1.0.783
type CancelShareBlueprintAcrossAccountsResponseParams struct { string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }RequestId *
Predefined struct for user
type CcnAttachedInstance ¶ added in v1.0.211
type CcnAttachedInstance struct { // 云联网ID。 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` // 关联实例CIDR。 CidrBlock []*string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` // 关联实例状态: // // • PENDING:申请中 // • ACTIVE:已连接 // • EXPIRED:已过期 // • REJECTED:已拒绝 // • DELETED:已删除 // • FAILED:失败的(2小时后将异步强制解关联) // • ATTACHING:关联中 // • DETACHING:解关联中 // • DETACHFAILED:解关联失败(2小时后将异步强制解关联) State *string `json:"State,omitnil,omitempty" name:"State"` // 关联时间。 // 注意:此字段可能返回 null,表示取不到有效值。 AttachedTime *string `json:"AttachedTime,omitnil,omitempty" name:"AttachedTime"` // 备注 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyDiskBackup ¶ added in v1.0.563
func (c *Client) ApplyDiskBackup(request *ApplyDiskBackupRequest) (response *ApplyDiskBackupResponse, err error)
ApplyDiskBackup 本接口(ApplyDiskBackup)用于回滚指定云硬盘的备份点。
* 仅支持回滚到原云硬盘。
* 用于回滚的云硬盘备份点必须处于 NORMAL 状态。
云硬盘备份点状态可以通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379) 接口查询。
* 回滚云硬盘备份点时,云硬盘的状态必须为 UNATTACHED或ATTACHED。
云硬盘状态可通过 [DescribeDisks](https://cloud.tencent.com/document/api/1207/66093) 接口查询。
* 如果云硬盘处于 ATTACHED状态,相关RUNNING 状态的实例会强制关机,然后回滚云硬盘备份点。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKBACKUPBUSY = "OperationDenied.DiskBackupBusy" OPERATIONDENIED_DISKBACKUPOPERATIONINPROGRESS = "OperationDenied.DiskBackupOperationInProgress" OPERATIONDENIED_DISKBUSYFORBACKUPOPERATION = "OperationDenied.DiskBusyForBackupOperation" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKATTACHEDHASNOINSTANCEID = "ResourceNotFound.DiskAttachedHasNoInstanceId" RESOURCENOTFOUND_DISKBACKUPNOTEXISTS = "ResourceNotFound.DiskBackupNotExists" RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_APPLYDISKBACKUPTOANOTHERDISK = "UnsupportedOperation.ApplyDiskBackupToAnotherDisk" UNSUPPORTEDOPERATION_INVALIDDISKBACKUPSTATE = "UnsupportedOperation.InvalidDiskBackupState" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ApplyDiskBackupWithContext ¶ added in v1.0.563
func (c *Client) ApplyDiskBackupWithContext(ctx context.Context, request *ApplyDiskBackupRequest) (response *ApplyDiskBackupResponse, err error)
ApplyDiskBackup 本接口(ApplyDiskBackup)用于回滚指定云硬盘的备份点。
* 仅支持回滚到原云硬盘。
* 用于回滚的云硬盘备份点必须处于 NORMAL 状态。
云硬盘备份点状态可以通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379) 接口查询。
* 回滚云硬盘备份点时,云硬盘的状态必须为 UNATTACHED或ATTACHED。
云硬盘状态可通过 [DescribeDisks](https://cloud.tencent.com/document/api/1207/66093) 接口查询。
* 如果云硬盘处于 ATTACHED状态,相关RUNNING 状态的实例会强制关机,然后回滚云硬盘备份点。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKBACKUPBUSY = "OperationDenied.DiskBackupBusy" OPERATIONDENIED_DISKBACKUPOPERATIONINPROGRESS = "OperationDenied.DiskBackupOperationInProgress" OPERATIONDENIED_DISKBUSYFORBACKUPOPERATION = "OperationDenied.DiskBusyForBackupOperation" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKATTACHEDHASNOINSTANCEID = "ResourceNotFound.DiskAttachedHasNoInstanceId" RESOURCENOTFOUND_DISKBACKUPNOTEXISTS = "ResourceNotFound.DiskBackupNotExists" RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_APPLYDISKBACKUPTOANOTHERDISK = "UnsupportedOperation.ApplyDiskBackupToAnotherDisk" UNSUPPORTEDOPERATION_INVALIDDISKBACKUPSTATE = "UnsupportedOperation.InvalidDiskBackupState" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ApplyFirewallTemplate ¶ added in v1.0.729
func (c *Client) ApplyFirewallTemplate(request *ApplyFirewallTemplateRequest) (response *ApplyFirewallTemplateResponse, err error)
ApplyFirewallTemplate 本接口 (ApplyFirewallTemplate) 用于应用防火墙模板到多个实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" RESOURCEUNAVAILABLE_CANNOTAPPLYEMPTYFIREWALLTEMPLATE = "ResourceUnavailable.CannotApplyEmptyFirewallTemplate" RESOURCEUNAVAILABLE_FIREWALLTEMPLATEINUSE = "ResourceUnavailable.FirewallTemplateInUse" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ApplyFirewallTemplateWithContext ¶ added in v1.0.729
func (c *Client) ApplyFirewallTemplateWithContext(ctx context.Context, request *ApplyFirewallTemplateRequest) (response *ApplyFirewallTemplateResponse, err error)
ApplyFirewallTemplate 本接口 (ApplyFirewallTemplate) 用于应用防火墙模板到多个实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" RESOURCEUNAVAILABLE_CANNOTAPPLYEMPTYFIREWALLTEMPLATE = "ResourceUnavailable.CannotApplyEmptyFirewallTemplate" RESOURCEUNAVAILABLE_FIREWALLTEMPLATEINUSE = "ResourceUnavailable.FirewallTemplateInUse" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ApplyInstanceSnapshot ¶
func (c *Client) ApplyInstanceSnapshot(request *ApplyInstanceSnapshotRequest) (response *ApplyInstanceSnapshotResponse, err error)
ApplyInstanceSnapshot 本接口(ApplyInstanceSnapshot)用于回滚指定实例的系统盘快照。
<li>仅支持回滚到原系统盘。</li>
<li>用于回滚的快照必须处于 NORMAL 状态。快照状态可以通过 DescribeSnapshots 接口查询,见输出参数中 SnapshotState 字段解释。</li>
<li>回滚快照时,实例的状态必须为 STOPPED 或 RUNNING,可通过 DescribeInstances 接口查询实例状态。处于 RUNNING 状态的实例会强制关机,然后回滚快照。</li>
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DISKSIZENOTMATCH = "InvalidParameterValue.DiskSizeNotMatch" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy" UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"
func (*Client) ApplyInstanceSnapshotWithContext ¶ added in v1.0.324
func (c *Client) ApplyInstanceSnapshotWithContext(ctx context.Context, request *ApplyInstanceSnapshotRequest) (response *ApplyInstanceSnapshotResponse, err error)
ApplyInstanceSnapshot 本接口(ApplyInstanceSnapshot)用于回滚指定实例的系统盘快照。
<li>仅支持回滚到原系统盘。</li>
<li>用于回滚的快照必须处于 NORMAL 状态。快照状态可以通过 DescribeSnapshots 接口查询,见输出参数中 SnapshotState 字段解释。</li>
<li>回滚快照时,实例的状态必须为 STOPPED 或 RUNNING,可通过 DescribeInstances 接口查询实例状态。处于 RUNNING 状态的实例会强制关机,然后回滚快照。</li>
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DISKSIZENOTMATCH = "InvalidParameterValue.DiskSizeNotMatch" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy" UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"
func (*Client) AssociateInstancesKeyPairs ¶
func (c *Client) AssociateInstancesKeyPairs(request *AssociateInstancesKeyPairsRequest) (response *AssociateInstancesKeyPairsResponse, err error)
AssociateInstancesKeyPairs 本接口(AssociateInstancesKeyPairs)用于绑定用户指定密钥对到实例。
* 只支持 [RUNNING, STOPPED] 状态的 LINUX_UNIX 操作系统的实例。处于 RUNNING 状态的实例会强制关机,然后绑定。
* 将密钥的公钥写入到实例的 SSH 配置当中,用户就可以通过该密钥的私钥来登录实例。
* 如果实例原来绑定过密钥,那么原来的密钥将失效。
* 如果实例原来是通过密码登录,绑定密钥后无法使用密码登录。
* 支持批量操作。每次请求批量实例的上限为 100。如果批量实例存在不允许操作的实例,操作会以特定错误码返回。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound" UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_KEYPAIRBINDDUPLICATE = "UnsupportedOperation.KeyPairBindDuplicate" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_WINDOWSNOTALLOWTOASSOCIATEKEYPAIR = "UnsupportedOperation.WindowsNotAllowToAssociateKeyPair" UNSUPPORTEDOPERATION_WINDOWSNOTSUPPORTKEYPAIR = "UnsupportedOperation.WindowsNotSupportKeyPair"
func (*Client) AssociateInstancesKeyPairsWithContext ¶ added in v1.0.324
func (c *Client) AssociateInstancesKeyPairsWithContext(ctx context.Context, request *AssociateInstancesKeyPairsRequest) (response *AssociateInstancesKeyPairsResponse, err error)
AssociateInstancesKeyPairs 本接口(AssociateInstancesKeyPairs)用于绑定用户指定密钥对到实例。
* 只支持 [RUNNING, STOPPED] 状态的 LINUX_UNIX 操作系统的实例。处于 RUNNING 状态的实例会强制关机,然后绑定。
* 将密钥的公钥写入到实例的 SSH 配置当中,用户就可以通过该密钥的私钥来登录实例。
* 如果实例原来绑定过密钥,那么原来的密钥将失效。
* 如果实例原来是通过密码登录,绑定密钥后无法使用密码登录。
* 支持批量操作。每次请求批量实例的上限为 100。如果批量实例存在不允许操作的实例,操作会以特定错误码返回。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound" UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_KEYPAIRBINDDUPLICATE = "UnsupportedOperation.KeyPairBindDuplicate" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_WINDOWSNOTALLOWTOASSOCIATEKEYPAIR = "UnsupportedOperation.WindowsNotAllowToAssociateKeyPair" UNSUPPORTEDOPERATION_WINDOWSNOTSUPPORTKEYPAIR = "UnsupportedOperation.WindowsNotSupportKeyPair"
func (*Client) AttachCcn ¶ added in v1.0.211
func (c *Client) AttachCcn(request *AttachCcnRequest) (response *AttachCcnResponse, err error)
AttachCcn 本接口 (AttachCcn) 用于建立与云联网的关联。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ATTACHCCNCONDITIONUNSATISFIED = "UnsupportedOperation.AttachCcnConditionUnsatisfied" UNSUPPORTEDOPERATION_ATTACHCCNFAILED = "UnsupportedOperation.AttachCcnFailed" UNSUPPORTEDOPERATION_CCNALREADYATTACHED = "UnsupportedOperation.CcnAlreadyAttached"
func (*Client) AttachCcnWithContext ¶ added in v1.0.324
func (c *Client) AttachCcnWithContext(ctx context.Context, request *AttachCcnRequest) (response *AttachCcnResponse, err error)
AttachCcn 本接口 (AttachCcn) 用于建立与云联网的关联。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ATTACHCCNCONDITIONUNSATISFIED = "UnsupportedOperation.AttachCcnConditionUnsatisfied" UNSUPPORTEDOPERATION_ATTACHCCNFAILED = "UnsupportedOperation.AttachCcnFailed" UNSUPPORTEDOPERATION_CCNALREADYATTACHED = "UnsupportedOperation.CcnAlreadyAttached"
func (*Client) AttachDisks ¶ added in v1.0.314
func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
AttachDisks 本接口(AttachDisks)用于挂载一个或多个云硬盘。
可能返回的错误码:
FAILEDOPERATION_INVALIDCOMMANDNOTFOUND = "FailedOperation.InvalidCommandNotFound" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) AttachDisksWithContext ¶ added in v1.0.324
func (c *Client) AttachDisksWithContext(ctx context.Context, request *AttachDisksRequest) (response *AttachDisksResponse, err error)
AttachDisks 本接口(AttachDisks)用于挂载一个或多个云硬盘。
可能返回的错误码:
FAILEDOPERATION_INVALIDCOMMANDNOTFOUND = "FailedOperation.InvalidCommandNotFound" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) CancelShareBlueprintAcrossAccounts ¶ added in v1.0.783
func (c *Client) CancelShareBlueprintAcrossAccounts(request *CancelShareBlueprintAcrossAccountsRequest) (response *CancelShareBlueprintAcrossAccountsResponse, err error)
CancelShareBlueprintAcrossAccounts 本接口(CancelShareBlueprintAcrossAccounts)用于取消镜像跨账号共享。
指定的镜像ID必须为自定义镜像,且指定账号ID必须已进行共享。
可能返回的错误码:
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" OPERATIONDENIED_BLUEPRINTOPERATIONINPROGRESS = "OperationDenied.BlueprintOperationInProgress" RESOURCEINUSE_BLUEPRINTMODIFYINGSHAREPERMISSION = "ResourceInUse.BlueprintModifyingSharePermission" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid" UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" UNSUPPORTEDOPERATION_BLUEPRINTHASNOTSHARED = "UnsupportedOperation.BlueprintHasNotShared" UNSUPPORTEDOPERATION_BLUEPRINTLATESTOPERATIONUNFINISHED = "UnsupportedOperation.BlueprintLatestOperationUnfinished" UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied"
func (*Client) CancelShareBlueprintAcrossAccountsWithContext ¶ added in v1.0.783
func (c *Client) CancelShareBlueprintAcrossAccountsWithContext(ctx context.Context, request *CancelShareBlueprintAcrossAccountsRequest) (response *CancelShareBlueprintAcrossAccountsResponse, err error)
CancelShareBlueprintAcrossAccounts 本接口(CancelShareBlueprintAcrossAccounts)用于取消镜像跨账号共享。
指定的镜像ID必须为自定义镜像,且指定账号ID必须已进行共享。
可能返回的错误码:
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" OPERATIONDENIED_BLUEPRINTOPERATIONINPROGRESS = "OperationDenied.BlueprintOperationInProgress" RESOURCEINUSE_BLUEPRINTMODIFYINGSHAREPERMISSION = "ResourceInUse.BlueprintModifyingSharePermission" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid" UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" UNSUPPORTEDOPERATION_BLUEPRINTHASNOTSHARED = "UnsupportedOperation.BlueprintHasNotShared" UNSUPPORTEDOPERATION_BLUEPRINTLATESTOPERATIONUNFINISHED = "UnsupportedOperation.BlueprintLatestOperationUnfinished" UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied"
func (*Client) CreateBlueprint ¶
func (c *Client) CreateBlueprint(request *CreateBlueprintRequest) (response *CreateBlueprintResponse, err error)
CreateBlueprint 本接口 (CreateBlueprint) 用于创建镜像。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEBLUEPRINTFAILED = "FailedOperation.CreateBlueprintFailed" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_UNABLETOCREATEBLUEPRINT = "FailedOperation.UnableToCreateBlueprint" INTERNALERROR = "InternalError" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" LIMITEXCEEDED_BLUEPRINTQUOTALIMITEXCEEDED = "LimitExceeded.BlueprintQuotaLimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) CreateBlueprintWithContext ¶ added in v1.0.324
func (c *Client) CreateBlueprintWithContext(ctx context.Context, request *CreateBlueprintRequest) (response *CreateBlueprintResponse, err error)
CreateBlueprint 本接口 (CreateBlueprint) 用于创建镜像。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEBLUEPRINTFAILED = "FailedOperation.CreateBlueprintFailed" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_UNABLETOCREATEBLUEPRINT = "FailedOperation.UnableToCreateBlueprint" INTERNALERROR = "InternalError" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" LIMITEXCEEDED_BLUEPRINTQUOTALIMITEXCEEDED = "LimitExceeded.BlueprintQuotaLimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) CreateDiskBackup ¶ added in v1.0.563
func (c *Client) CreateDiskBackup(request *CreateDiskBackupRequest) (response *CreateDiskBackupResponse, err error)
CreateDiskBackup 本接口 ( CreateDiskBackup ) 用于创建指定云硬盘(当前只支持数据盘)的备份点。
可能返回的错误码:
INVALIDPARAMETERVALUE_DISKBACKUPNAMETOOLONG = "InvalidParameterValue.DiskBackupNameTooLong" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" LIMITEXCEEDED_DISKBACKUPQUOTALIMITEXCEEDED = "LimitExceeded.DiskBackupQuotaLimitExceeded" OPERATIONDENIED_DISKBUSYFORBACKUPOPERATION = "OperationDenied.DiskBusyForBackupOperation" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKATTACHEDHASNOINSTANCEID = "ResourceNotFound.DiskAttachedHasNoInstanceId" RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) CreateDiskBackupWithContext ¶ added in v1.0.563
func (c *Client) CreateDiskBackupWithContext(ctx context.Context, request *CreateDiskBackupRequest) (response *CreateDiskBackupResponse, err error)
CreateDiskBackup 本接口 ( CreateDiskBackup ) 用于创建指定云硬盘(当前只支持数据盘)的备份点。
可能返回的错误码:
INVALIDPARAMETERVALUE_DISKBACKUPNAMETOOLONG = "InvalidParameterValue.DiskBackupNameTooLong" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" LIMITEXCEEDED_DISKBACKUPQUOTALIMITEXCEEDED = "LimitExceeded.DiskBackupQuotaLimitExceeded" OPERATIONDENIED_DISKBUSYFORBACKUPOPERATION = "OperationDenied.DiskBusyForBackupOperation" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKATTACHEDHASNOINSTANCEID = "ResourceNotFound.DiskAttachedHasNoInstanceId" RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) CreateDisks ¶ added in v1.0.652
func (c *Client) CreateDisks(request *CreateDisksRequest) (response *CreateDisksResponse, err error)
CreateDisks 本接口(CreateDisks)用于创建一个或多个云硬盘。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEDISKSFAILED = "FailedOperation.CreateDisksFailed" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" INVALIDPARAMETERVALUE_DISKINSTANCEZONENOTMATCH = "InvalidParameterValue.DiskInstanceZoneNotMatch" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTFILESYSTEM = "InvalidParameterValue.PlatformTypeNotSupportFileSystem" INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTMOUNTPOINT = "InvalidParameterValue.PlatformTypeNotSupportMountPoint" LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded" LIMITEXCEEDED_DISKQUOTALIMITEXCEEDED = "LimitExceeded.DiskQuotaLimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = "UnsupportedOperation.TatAgentNotOnline"
func (*Client) CreateDisksWithContext ¶ added in v1.0.652
func (c *Client) CreateDisksWithContext(ctx context.Context, request *CreateDisksRequest) (response *CreateDisksResponse, err error)
CreateDisks 本接口(CreateDisks)用于创建一个或多个云硬盘。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEDISKSFAILED = "FailedOperation.CreateDisksFailed" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" INVALIDPARAMETERVALUE_DISKINSTANCEZONENOTMATCH = "InvalidParameterValue.DiskInstanceZoneNotMatch" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTFILESYSTEM = "InvalidParameterValue.PlatformTypeNotSupportFileSystem" INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTMOUNTPOINT = "InvalidParameterValue.PlatformTypeNotSupportMountPoint" LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded" LIMITEXCEEDED_DISKQUOTALIMITEXCEEDED = "LimitExceeded.DiskQuotaLimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = "UnsupportedOperation.TatAgentNotOnline"
func (*Client) CreateFirewallRules ¶
func (c *Client) CreateFirewallRules(request *CreateFirewallRulesRequest) (response *CreateFirewallRulesResponse, err error)
CreateFirewallRules 本接口(CreateFirewallRules)用于在实例上添加防火墙规则。
* FirewallVersion 为防火墙版本号,用户每次更新防火墙规则版本会自动加1,防止您更新的规则已过期,不填不考虑冲突。
在 FirewallRules 参数中:
* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。
* Action 字段只允许输入 ACCEPT 或 DROP。
* FirewallRuleDescription 字段长度不得超过 64。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated" INVALIDPARAMETER_FIREWALLRULESEXIST = "InvalidParameter.FirewallRulesExist" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" LIMITEXCEEDED_FIREWALLRULESLIMITEXCEEDED = "LimitExceeded.FirewallRulesLimitExceeded" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"
func (*Client) CreateFirewallRulesWithContext ¶ added in v1.0.324
func (c *Client) CreateFirewallRulesWithContext(ctx context.Context, request *CreateFirewallRulesRequest) (response *CreateFirewallRulesResponse, err error)
CreateFirewallRules 本接口(CreateFirewallRules)用于在实例上添加防火墙规则。
* FirewallVersion 为防火墙版本号,用户每次更新防火墙规则版本会自动加1,防止您更新的规则已过期,不填不考虑冲突。
在 FirewallRules 参数中:
* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。
* Action 字段只允许输入 ACCEPT 或 DROP。
* FirewallRuleDescription 字段长度不得超过 64。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated" INVALIDPARAMETER_FIREWALLRULESEXIST = "InvalidParameter.FirewallRulesExist" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" LIMITEXCEEDED_FIREWALLRULESLIMITEXCEEDED = "LimitExceeded.FirewallRulesLimitExceeded" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"
func (*Client) CreateFirewallTemplate ¶ added in v1.0.729
func (c *Client) CreateFirewallTemplate(request *CreateFirewallTemplateRequest) (response *CreateFirewallTemplateResponse, err error)
CreateFirewallTemplate 本接口 (CreateFirewallTemplate) 用于创建防火墙模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateFirewallTemplateRules ¶ added in v1.0.729
func (c *Client) CreateFirewallTemplateRules(request *CreateFirewallTemplateRulesRequest) (response *CreateFirewallTemplateRulesResponse, err error)
CreateFirewallTemplateRules 本接口 (CreateFirewallTemplateRules) 用于创建防火墙模板规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" LIMITEXCEEDED_FIREWALLTEMPLATERULEQUOTALIMITEXCEEDED = "LimitExceeded.FirewallTemplateRuleQuotaLimitExceeded" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateFirewallTemplateRulesWithContext ¶ added in v1.0.729
func (c *Client) CreateFirewallTemplateRulesWithContext(ctx context.Context, request *CreateFirewallTemplateRulesRequest) (response *CreateFirewallTemplateRulesResponse, err error)
CreateFirewallTemplateRules 本接口 (CreateFirewallTemplateRules) 用于创建防火墙模板规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" LIMITEXCEEDED_FIREWALLTEMPLATERULEQUOTALIMITEXCEEDED = "LimitExceeded.FirewallTemplateRuleQuotaLimitExceeded" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateFirewallTemplateWithContext ¶ added in v1.0.729
func (c *Client) CreateFirewallTemplateWithContext(ctx context.Context, request *CreateFirewallTemplateRequest) (response *CreateFirewallTemplateResponse, err error)
CreateFirewallTemplate 本接口 (CreateFirewallTemplate) 用于创建防火墙模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateInstanceSnapshot ¶
func (c *Client) CreateInstanceSnapshot(request *CreateInstanceSnapshotRequest) (response *CreateInstanceSnapshotResponse, err error)
CreateInstanceSnapshot 本接口(CreateInstanceSnapshot)用于创建指定实例的系统盘快照。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_GETSNAPSHOTALLOCQUOTALOCKERROR = "InternalError.GetSnapshotAllocQuotaLockError" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong" LIMITEXCEEDED_SNAPSHOTQUOTALIMITEXCEEDED = "LimitExceeded.SnapshotQuotaLimitExceeded" OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOT = "OperationDenied.OperationDeniedCreateSnapshot" OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOTFORSTORAGEBUNDLE = "OperationDenied.OperationDeniedCreateSnapshotForStorageBundle" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) CreateInstanceSnapshotWithContext ¶ added in v1.0.324
func (c *Client) CreateInstanceSnapshotWithContext(ctx context.Context, request *CreateInstanceSnapshotRequest) (response *CreateInstanceSnapshotResponse, err error)
CreateInstanceSnapshot 本接口(CreateInstanceSnapshot)用于创建指定实例的系统盘快照。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_GETSNAPSHOTALLOCQUOTALOCKERROR = "InternalError.GetSnapshotAllocQuotaLockError" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong" LIMITEXCEEDED_SNAPSHOTQUOTALIMITEXCEEDED = "LimitExceeded.SnapshotQuotaLimitExceeded" OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOT = "OperationDenied.OperationDeniedCreateSnapshot" OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOTFORSTORAGEBUNDLE = "OperationDenied.OperationDeniedCreateSnapshotForStorageBundle" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) CreateInstances ¶ added in v1.0.345
func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
CreateInstances 本接口(CreateInstances)用于创建一个或多个指定套餐的轻量应用服务器实例。
可能返回的错误码:
AUTHFAILURE_INVALIDREGION = "AuthFailure.InvalidRegion" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEINSTANCESFAILED = "FailedOperation.CreateInstancesFailed" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances" INTERNALERROR = "InternalError" INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameterValue.BundleAndBlueprintNotMatch" INVALIDPARAMETERVALUE_BUNDLENOTSUPPORTBLUEPRINTPLATFORM = "InvalidParameterValue.BundleNotSupportBlueprintPlatform" INVALIDPARAMETERVALUE_CLIENTTOKENTOOLONG = "InvalidParameterValue.ClientTokenTooLong" INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" RESOURCENOTFOUND_KEYPAIRNOTFOUND = "ResourceNotFound.KeyPairNotFound" RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" RESOURCESSOLDOUT_BUNDLESOLDOUT = "ResourcesSoldOut.BundleSoldOut" RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs" RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword"
func (*Client) CreateInstancesWithContext ¶ added in v1.0.345
func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
CreateInstances 本接口(CreateInstances)用于创建一个或多个指定套餐的轻量应用服务器实例。
可能返回的错误码:
AUTHFAILURE_INVALIDREGION = "AuthFailure.InvalidRegion" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEINSTANCESFAILED = "FailedOperation.CreateInstancesFailed" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances" INTERNALERROR = "InternalError" INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameterValue.BundleAndBlueprintNotMatch" INVALIDPARAMETERVALUE_BUNDLENOTSUPPORTBLUEPRINTPLATFORM = "InvalidParameterValue.BundleNotSupportBlueprintPlatform" INVALIDPARAMETERVALUE_CLIENTTOKENTOOLONG = "InvalidParameterValue.ClientTokenTooLong" INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" RESOURCENOTFOUND_KEYPAIRNOTFOUND = "ResourceNotFound.KeyPairNotFound" RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" RESOURCESSOLDOUT_BUNDLESOLDOUT = "ResourcesSoldOut.BundleSoldOut" RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs" RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword"
func (*Client) CreateKeyPair ¶
func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
CreateKeyPair 本接口(CreateKeyPair)用于创建一个密钥对。
可能返回的错误码:
FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed" INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidKeyPairNameIncludeIllegalChar" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong" LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateKeyPairWithContext ¶ added in v1.0.324
func (c *Client) CreateKeyPairWithContext(ctx context.Context, request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)
CreateKeyPair 本接口(CreateKeyPair)用于创建一个密钥对。
可能返回的错误码:
FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed" INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidKeyPairNameIncludeIllegalChar" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong" LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DeleteBlueprints ¶
func (c *Client) DeleteBlueprints(request *DeleteBlueprintsRequest) (response *DeleteBlueprintsResponse, err error)
DeleteBlueprints 本接口 (DeleteBlueprints) 用于删除镜像。
可能返回的错误码:
FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed" FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed" INTERNALERROR = "InternalError" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied" UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint" UNSUPPORTEDOPERATION_POSTDESTROYRESOURCEFAILED = "UnsupportedOperation.PostDestroyResourceFailed"
func (*Client) DeleteBlueprintsWithContext ¶ added in v1.0.324
func (c *Client) DeleteBlueprintsWithContext(ctx context.Context, request *DeleteBlueprintsRequest) (response *DeleteBlueprintsResponse, err error)
DeleteBlueprints 本接口 (DeleteBlueprints) 用于删除镜像。
可能返回的错误码:
FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed" FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed" INTERNALERROR = "InternalError" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied" UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint" UNSUPPORTEDOPERATION_POSTDESTROYRESOURCEFAILED = "UnsupportedOperation.PostDestroyResourceFailed"
func (*Client) DeleteDiskBackups ¶ added in v1.0.563
func (c *Client) DeleteDiskBackups(request *DeleteDiskBackupsRequest) (response *DeleteDiskBackupsResponse, err error)
DeleteDiskBackups 本接口(DeleteDiskBackups)用于删除云硬盘备份点。
云硬盘备份点必须处于 NORMAL 状态,云硬盘备份点状态可以通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询,见输出参数中 DiskBackupState 字段解释。
可能返回的错误码:
INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" OPERATIONDENIED_DISKBACKUPOPERATIONINPROGRESS = "OperationDenied.DiskBackupOperationInProgress" RESOURCEINUSE_DISKBACKUPINUSE = "ResourceInUse.DiskBackupInUse" RESOURCENOTFOUND_DISKBACKUPIDNOTFOUND = "ResourceNotFound.DiskBackupIdNotFound" RESOURCENOTFOUND_DISKBACKUPNOTFOUND = "ResourceNotFound.DiskBackupNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKBACKUPLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskBackupLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKBACKUPSTATE = "UnsupportedOperation.InvalidDiskBackupState"
func (*Client) DeleteDiskBackupsWithContext ¶ added in v1.0.563
func (c *Client) DeleteDiskBackupsWithContext(ctx context.Context, request *DeleteDiskBackupsRequest) (response *DeleteDiskBackupsResponse, err error)
DeleteDiskBackups 本接口(DeleteDiskBackups)用于删除云硬盘备份点。
云硬盘备份点必须处于 NORMAL 状态,云硬盘备份点状态可以通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询,见输出参数中 DiskBackupState 字段解释。
可能返回的错误码:
INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" OPERATIONDENIED_DISKBACKUPOPERATIONINPROGRESS = "OperationDenied.DiskBackupOperationInProgress" RESOURCEINUSE_DISKBACKUPINUSE = "ResourceInUse.DiskBackupInUse" RESOURCENOTFOUND_DISKBACKUPIDNOTFOUND = "ResourceNotFound.DiskBackupIdNotFound" RESOURCENOTFOUND_DISKBACKUPNOTFOUND = "ResourceNotFound.DiskBackupNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKBACKUPLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskBackupLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKBACKUPSTATE = "UnsupportedOperation.InvalidDiskBackupState"
func (*Client) DeleteFirewallRules ¶
func (c *Client) DeleteFirewallRules(request *DeleteFirewallRulesRequest) (response *DeleteFirewallRulesResponse, err error)
DeleteFirewallRules 本接口(DeleteFirewallRules)用于删除实例的防火墙规则。
* FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接删除指定的规则。
在 FirewallRules 参数中:
* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。
* Action 字段只允许输入 ACCEPT 或 DROP。
* FirewallRuleDescription 字段长度不得超过 64。
可能返回的错误码:
FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"
func (*Client) DeleteFirewallRulesWithContext ¶ added in v1.0.324
func (c *Client) DeleteFirewallRulesWithContext(ctx context.Context, request *DeleteFirewallRulesRequest) (response *DeleteFirewallRulesResponse, err error)
DeleteFirewallRules 本接口(DeleteFirewallRules)用于删除实例的防火墙规则。
* FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接删除指定的规则。
在 FirewallRules 参数中:
* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。
* Action 字段只允许输入 ACCEPT 或 DROP。
* FirewallRuleDescription 字段长度不得超过 64。
可能返回的错误码:
FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"
func (*Client) DeleteFirewallTemplate ¶ added in v1.0.729
func (c *Client) DeleteFirewallTemplate(request *DeleteFirewallTemplateRequest) (response *DeleteFirewallTemplateResponse, err error)
DeleteFirewallTemplate 本接口 (DeleteFirewallTemplate) 用于删除防火墙模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DeleteFirewallTemplateRules ¶ added in v1.0.729
func (c *Client) DeleteFirewallTemplateRules(request *DeleteFirewallTemplateRulesRequest) (response *DeleteFirewallTemplateRulesResponse, err error)
DeleteFirewallTemplateRules 本接口 (DeleteFirewallTemplateRules) 用于删除防火墙模板规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" RESOURCENOTFOUND_FIREWALLTEMPLATERULENOTFOUND = "ResourceNotFound.FirewallTemplateRuleNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DeleteFirewallTemplateRulesWithContext ¶ added in v1.0.729
func (c *Client) DeleteFirewallTemplateRulesWithContext(ctx context.Context, request *DeleteFirewallTemplateRulesRequest) (response *DeleteFirewallTemplateRulesResponse, err error)
DeleteFirewallTemplateRules 本接口 (DeleteFirewallTemplateRules) 用于删除防火墙模板规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" RESOURCENOTFOUND_FIREWALLTEMPLATERULENOTFOUND = "ResourceNotFound.FirewallTemplateRuleNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DeleteFirewallTemplateWithContext ¶ added in v1.0.729
func (c *Client) DeleteFirewallTemplateWithContext(ctx context.Context, request *DeleteFirewallTemplateRequest) (response *DeleteFirewallTemplateResponse, err error)
DeleteFirewallTemplate 本接口 (DeleteFirewallTemplate) 用于删除防火墙模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DeleteKeyPairs ¶
func (c *Client) DeleteKeyPairs(request *DeleteKeyPairsRequest) (response *DeleteKeyPairsResponse, err error)
DeleteKeyPairs 本接口(DeleteKeyPairs)用于删除密钥对。
可能返回的错误码:
FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" RESOURCEINUSE_KEYPAIRINUSE = "ResourceInUse.KeyPairInUse" RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_KEYPAIRBINDTOBLUEPRINTS = "UnsupportedOperation.KeyPairBindToBlueprints"
func (*Client) DeleteKeyPairsWithContext ¶ added in v1.0.324
func (c *Client) DeleteKeyPairsWithContext(ctx context.Context, request *DeleteKeyPairsRequest) (response *DeleteKeyPairsResponse, err error)
DeleteKeyPairs 本接口(DeleteKeyPairs)用于删除密钥对。
可能返回的错误码:
FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" RESOURCEINUSE_KEYPAIRINUSE = "ResourceInUse.KeyPairInUse" RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_KEYPAIRBINDTOBLUEPRINTS = "UnsupportedOperation.KeyPairBindToBlueprints"
func (*Client) DeleteSnapshots ¶
func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
DeleteSnapshots 本接口(DeleteSnapshots)用于删除快照。
快照必须处于 NORMAL 状态,快照状态可以通过 <a href="https://cloud.tencent.com/document/product/1207/54388" target="_blank">DescribeSnapshots</a> 接口查询,见输出参数中 SnapshotState 字段解释。
可能返回的错误码:
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState" UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy"
func (*Client) DeleteSnapshotsWithContext ¶ added in v1.0.324
func (c *Client) DeleteSnapshotsWithContext(ctx context.Context, request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)
DeleteSnapshots 本接口(DeleteSnapshots)用于删除快照。
快照必须处于 NORMAL 状态,快照状态可以通过 <a href="https://cloud.tencent.com/document/product/1207/54388" target="_blank">DescribeSnapshots</a> 接口查询,见输出参数中 SnapshotState 字段解释。
可能返回的错误码:
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState" UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy"
func (*Client) DescribeAllScenes ¶ added in v1.0.548
func (c *Client) DescribeAllScenes(request *DescribeAllScenesRequest) (response *DescribeAllScenesResponse, err error)
DescribeAllScenes 本接口(DescribeAllScenes)用于查询全地域使用场景列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError"
func (*Client) DescribeAllScenesWithContext ¶ added in v1.0.548
func (c *Client) DescribeAllScenesWithContext(ctx context.Context, request *DescribeAllScenesRequest) (response *DescribeAllScenesResponse, err error)
DescribeAllScenes 本接口(DescribeAllScenes)用于查询全地域使用场景列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError"
func (*Client) DescribeBlueprintInstances ¶
func (c *Client) DescribeBlueprintInstances(request *DescribeBlueprintInstancesRequest) (response *DescribeBlueprintInstancesResponse, err error)
DescribeBlueprintInstances 本接口(DescribeBlueprintInstances)用于查询镜像实例信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeBlueprintInstancesWithContext ¶ added in v1.0.324
func (c *Client) DescribeBlueprintInstancesWithContext(ctx context.Context, request *DescribeBlueprintInstancesRequest) (response *DescribeBlueprintInstancesResponse, err error)
DescribeBlueprintInstances 本接口(DescribeBlueprintInstances)用于查询镜像实例信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeBlueprints ¶
func (c *Client) DescribeBlueprints(request *DescribeBlueprintsRequest) (response *DescribeBlueprintsResponse, err error)
DescribeBlueprints 本接口(DescribeBlueprints)用于查询镜像信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEBLUEPRINTSFAILED = "FailedOperation.DescribeBlueprintsFailed" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCENOTFOUND_SCENEIDNOTFOUND = "ResourceNotFound.SceneIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"
func (*Client) DescribeBlueprintsWithContext ¶ added in v1.0.324
func (c *Client) DescribeBlueprintsWithContext(ctx context.Context, request *DescribeBlueprintsRequest) (response *DescribeBlueprintsResponse, err error)
DescribeBlueprints 本接口(DescribeBlueprints)用于查询镜像信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEBLUEPRINTSFAILED = "FailedOperation.DescribeBlueprintsFailed" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCENOTFOUND_SCENEIDNOTFOUND = "ResourceNotFound.SceneIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"
func (*Client) DescribeBundleDiscount ¶
func (c *Client) DescribeBundleDiscount(request *DescribeBundleDiscountRequest) (response *DescribeBundleDiscountResponse, err error)
DescribeBundleDiscount 本接口(DescribeBundleDiscount)用于查询套餐折扣信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEBUNDLEDISCOUNTFAILED = "FailedOperation.DescribeBundleDiscountFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"
func (*Client) DescribeBundleDiscountWithContext ¶ added in v1.0.324
func (c *Client) DescribeBundleDiscountWithContext(ctx context.Context, request *DescribeBundleDiscountRequest) (response *DescribeBundleDiscountResponse, err error)
DescribeBundleDiscount 本接口(DescribeBundleDiscount)用于查询套餐折扣信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEBUNDLEDISCOUNTFAILED = "FailedOperation.DescribeBundleDiscountFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"
func (*Client) DescribeBundles ¶
func (c *Client) DescribeBundles(request *DescribeBundlesRequest) (response *DescribeBundlesResponse, err error)
DescribeBundles 本接口(DescribeBundles)用于查询套餐信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEBUNDLESFAILED = "FailedOperation.DescribeBundlesFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"
func (*Client) DescribeBundlesWithContext ¶ added in v1.0.324
func (c *Client) DescribeBundlesWithContext(ctx context.Context, request *DescribeBundlesRequest) (response *DescribeBundlesResponse, err error)
DescribeBundles 本接口(DescribeBundles)用于查询套餐信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEBUNDLESFAILED = "FailedOperation.DescribeBundlesFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"
func (*Client) DescribeCcnAttachedInstances ¶ added in v1.0.211
func (c *Client) DescribeCcnAttachedInstances(request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error)
DescribeCcnAttachedInstances 本接口 (DescribeCcnAttachedInstances) 用于查询云联网关联的实例信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR = "InternalError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_DESCRIBECCNATTACHEDINSTANCESFAILED = "UnsupportedOperation.DescribeCcnAttachedInstancesFailed"
func (*Client) DescribeCcnAttachedInstancesWithContext ¶ added in v1.0.324
func (c *Client) DescribeCcnAttachedInstancesWithContext(ctx context.Context, request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error)
DescribeCcnAttachedInstances 本接口 (DescribeCcnAttachedInstances) 用于查询云联网关联的实例信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR = "InternalError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_DESCRIBECCNATTACHEDINSTANCESFAILED = "UnsupportedOperation.DescribeCcnAttachedInstancesFailed"
func (*Client) DescribeDiskBackups ¶ added in v1.0.563
func (c *Client) DescribeDiskBackups(request *DescribeDiskBackupsRequest) (response *DescribeDiskBackupsResponse, err error)
DescribeDiskBackups 本接口(DescribeDiskBackups)用于查询云硬盘备份点的详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDiskBackupsDeniedActions ¶ added in v1.0.563
func (c *Client) DescribeDiskBackupsDeniedActions(request *DescribeDiskBackupsDeniedActionsRequest) (response *DescribeDiskBackupsDeniedActionsResponse, err error)
DescribeDiskBackupsDeniedActions 本接口(DescribeDiskBackupsDeniedActions)用于查询一个或多个云硬盘备份点的操作限制列表信息。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDiskBackupsDeniedActionsWithContext ¶ added in v1.0.563
func (c *Client) DescribeDiskBackupsDeniedActionsWithContext(ctx context.Context, request *DescribeDiskBackupsDeniedActionsRequest) (response *DescribeDiskBackupsDeniedActionsResponse, err error)
DescribeDiskBackupsDeniedActions 本接口(DescribeDiskBackupsDeniedActions)用于查询一个或多个云硬盘备份点的操作限制列表信息。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDiskBackupsWithContext ¶ added in v1.0.563
func (c *Client) DescribeDiskBackupsWithContext(ctx context.Context, request *DescribeDiskBackupsRequest) (response *DescribeDiskBackupsResponse, err error)
DescribeDiskBackups 本接口(DescribeDiskBackups)用于查询云硬盘备份点的详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDiskConfigs ¶ added in v1.0.314
func (c *Client) DescribeDiskConfigs(request *DescribeDiskConfigsRequest) (response *DescribeDiskConfigsResponse, err error)
DescribeDiskConfigs 本接口(DescribeDiskConfigs)用于查询云硬盘配置。
可能返回的错误码:
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDiskConfigsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDiskConfigsWithContext(ctx context.Context, request *DescribeDiskConfigsRequest) (response *DescribeDiskConfigsResponse, err error)
DescribeDiskConfigs 本接口(DescribeDiskConfigs)用于查询云硬盘配置。
可能返回的错误码:
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDiskDiscount ¶ added in v1.0.314
func (c *Client) DescribeDiskDiscount(request *DescribeDiskDiscountRequest) (response *DescribeDiskDiscountResponse, err error)
DescribeDiskDiscount 本接口(DescribeDiskDiscount)用于查询云硬盘折扣信息。
可能返回的错误码:
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDiskDiscountWithContext ¶ added in v1.0.324
func (c *Client) DescribeDiskDiscountWithContext(ctx context.Context, request *DescribeDiskDiscountRequest) (response *DescribeDiskDiscountResponse, err error)
DescribeDiskDiscount 本接口(DescribeDiskDiscount)用于查询云硬盘折扣信息。
可能返回的错误码:
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDisks ¶ added in v1.0.314
func (c *Client) DescribeDisks(request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
DescribeDisks 本接口(DescribeDisks)用于查询云硬盘信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DISKNAMETOOLONG = "InvalidParameterValue.DiskNameTooLong" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_REGIONNOTFOUND = "InvalidParameterValue.RegionNotFound" INVALIDPARAMETERVALUE_REGIONNOTMATCH = "InvalidParameterValue.RegionNotMatch" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_REGIONUNAVAILABLE = "InvalidParameterValue.RegionUnavailable" INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDisksDeniedActions ¶ added in v1.0.314
func (c *Client) DescribeDisksDeniedActions(request *DescribeDisksDeniedActionsRequest) (response *DescribeDisksDeniedActionsResponse, err error)
DescribeDisksDeniedActions 本接口(DescribeDisksDeniedActions)用于查询一个或多个云硬盘的操作限制列表信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDisksDeniedActionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDisksDeniedActionsWithContext(ctx context.Context, request *DescribeDisksDeniedActionsRequest) (response *DescribeDisksDeniedActionsResponse, err error)
DescribeDisksDeniedActions 本接口(DescribeDisksDeniedActions)用于查询一个或多个云硬盘的操作限制列表信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDisksReturnable ¶ added in v1.0.314
func (c *Client) DescribeDisksReturnable(request *DescribeDisksReturnableRequest) (response *DescribeDisksReturnableResponse, err error)
DescribeDisksReturnable 本接口(DescribeDisksReturnable)用于查询云硬盘是否可退还。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEDISKSRETURNABLEERROR = "FailedOperation.DescribeDisksReturnableError" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDisksReturnableWithContext ¶ added in v1.0.324
func (c *Client) DescribeDisksReturnableWithContext(ctx context.Context, request *DescribeDisksReturnableRequest) (response *DescribeDisksReturnableResponse, err error)
DescribeDisksReturnable 本接口(DescribeDisksReturnable)用于查询云硬盘是否可退还。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEDISKSRETURNABLEERROR = "FailedOperation.DescribeDisksReturnableError" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDisksWithContext ¶ added in v1.0.324
func (c *Client) DescribeDisksWithContext(ctx context.Context, request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)
DescribeDisks 本接口(DescribeDisks)用于查询云硬盘信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DISKNAMETOOLONG = "InvalidParameterValue.DiskNameTooLong" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_REGIONNOTFOUND = "InvalidParameterValue.RegionNotFound" INVALIDPARAMETERVALUE_REGIONNOTMATCH = "InvalidParameterValue.RegionNotMatch" INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported" INVALIDPARAMETERVALUE_REGIONUNAVAILABLE = "InvalidParameterValue.RegionUnavailable" INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDockerActivities ¶ added in v1.0.707
func (c *Client) DescribeDockerActivities(request *DescribeDockerActivitiesRequest) (response *DescribeDockerActivitiesResponse, err error)
DescribeDockerActivities 查询实例内的Docker活动列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FIELDSCOMPARE = "InvalidParameterValue.FieldsCompare" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeDockerActivitiesWithContext ¶ added in v1.0.707
func (c *Client) DescribeDockerActivitiesWithContext(ctx context.Context, request *DescribeDockerActivitiesRequest) (response *DescribeDockerActivitiesResponse, err error)
DescribeDockerActivities 查询实例内的Docker活动列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FIELDSCOMPARE = "InvalidParameterValue.FieldsCompare" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeDockerContainerConfiguration ¶ added in v1.0.707
func (c *Client) DescribeDockerContainerConfiguration(request *DescribeDockerContainerConfigurationRequest) (response *DescribeDockerContainerConfigurationResponse, err error)
DescribeDockerContainerConfiguration 查询实例内的Docker容器配置信息
可能返回的错误码:
FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeDockerContainerConfigurationWithContext ¶ added in v1.0.707
func (c *Client) DescribeDockerContainerConfigurationWithContext(ctx context.Context, request *DescribeDockerContainerConfigurationRequest) (response *DescribeDockerContainerConfigurationResponse, err error)
DescribeDockerContainerConfiguration 查询实例内的Docker容器配置信息
可能返回的错误码:
FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeDockerContainerDetail ¶ added in v1.0.707
func (c *Client) DescribeDockerContainerDetail(request *DescribeDockerContainerDetailRequest) (response *DescribeDockerContainerDetailResponse, err error)
DescribeDockerContainerDetail 查询实例内的Docker容器详情
可能返回的错误码:
FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeDockerContainerDetailWithContext ¶ added in v1.0.707
func (c *Client) DescribeDockerContainerDetailWithContext(ctx context.Context, request *DescribeDockerContainerDetailRequest) (response *DescribeDockerContainerDetailResponse, err error)
DescribeDockerContainerDetail 查询实例内的Docker容器详情
可能返回的错误码:
FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeDockerContainers ¶ added in v1.0.707
func (c *Client) DescribeDockerContainers(request *DescribeDockerContainersRequest) (response *DescribeDockerContainersResponse, err error)
DescribeDockerContainers 查询实例内的容器列表。
可能返回的错误码:
FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeDockerContainersWithContext ¶ added in v1.0.707
func (c *Client) DescribeDockerContainersWithContext(ctx context.Context, request *DescribeDockerContainersRequest) (response *DescribeDockerContainersResponse, err error)
DescribeDockerContainers 查询实例内的容器列表。
可能返回的错误码:
FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeFirewallRules ¶
func (c *Client) DescribeFirewallRules(request *DescribeFirewallRulesRequest) (response *DescribeFirewallRulesResponse, err error)
DescribeFirewallRules 本接口(DescribeFirewallRules)用于查询实例的防火墙规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"
func (*Client) DescribeFirewallRulesTemplate ¶
func (c *Client) DescribeFirewallRulesTemplate(request *DescribeFirewallRulesTemplateRequest) (response *DescribeFirewallRulesTemplateResponse, err error)
DescribeFirewallRulesTemplate 本接口(DescribeFirewallRulesTemplate)用于查询防火墙规则模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallRulesTemplateWithContext ¶ added in v1.0.324
func (c *Client) DescribeFirewallRulesTemplateWithContext(ctx context.Context, request *DescribeFirewallRulesTemplateRequest) (response *DescribeFirewallRulesTemplateResponse, err error)
DescribeFirewallRulesTemplate 本接口(DescribeFirewallRulesTemplate)用于查询防火墙规则模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallRulesWithContext ¶ added in v1.0.324
func (c *Client) DescribeFirewallRulesWithContext(ctx context.Context, request *DescribeFirewallRulesRequest) (response *DescribeFirewallRulesResponse, err error)
DescribeFirewallRules 本接口(DescribeFirewallRules)用于查询实例的防火墙规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"
func (*Client) DescribeFirewallTemplateApplyRecords ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplateApplyRecords(request *DescribeFirewallTemplateApplyRecordsRequest) (response *DescribeFirewallTemplateApplyRecordsResponse, err error)
DescribeFirewallTemplateApplyRecords 本接口 (DescribeFirewallTemplateApplyRecords) 用于查询防火墙模板应用记录列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplateApplyRecordsWithContext ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplateApplyRecordsWithContext(ctx context.Context, request *DescribeFirewallTemplateApplyRecordsRequest) (response *DescribeFirewallTemplateApplyRecordsResponse, err error)
DescribeFirewallTemplateApplyRecords 本接口 (DescribeFirewallTemplateApplyRecords) 用于查询防火墙模板应用记录列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplateQuota ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplateQuota(request *DescribeFirewallTemplateQuotaRequest) (response *DescribeFirewallTemplateQuotaResponse, err error)
DescribeFirewallTemplateQuota 本接口 (DescribeFirewallTemplateQuota) 用于查询防火墙模板配额。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplateQuotaWithContext ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplateQuotaWithContext(ctx context.Context, request *DescribeFirewallTemplateQuotaRequest) (response *DescribeFirewallTemplateQuotaResponse, err error)
DescribeFirewallTemplateQuota 本接口 (DescribeFirewallTemplateQuota) 用于查询防火墙模板配额。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplateRuleQuota ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplateRuleQuota(request *DescribeFirewallTemplateRuleQuotaRequest) (response *DescribeFirewallTemplateRuleQuotaResponse, err error)
DescribeFirewallTemplateRuleQuota 本接口 (DescribeFirewallTemplateRuleQuota) 用于查询防火墙模板规则配额。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplateRuleQuotaWithContext ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplateRuleQuotaWithContext(ctx context.Context, request *DescribeFirewallTemplateRuleQuotaRequest) (response *DescribeFirewallTemplateRuleQuotaResponse, err error)
DescribeFirewallTemplateRuleQuota 本接口 (DescribeFirewallTemplateRuleQuota) 用于查询防火墙模板规则配额。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplateRules ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplateRules(request *DescribeFirewallTemplateRulesRequest) (response *DescribeFirewallTemplateRulesResponse, err error)
DescribeFirewallTemplateRules 本接口 (DescribeFirewallTemplateRules) 用于查询防火墙模板规则列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplateRulesWithContext ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplateRulesWithContext(ctx context.Context, request *DescribeFirewallTemplateRulesRequest) (response *DescribeFirewallTemplateRulesResponse, err error)
DescribeFirewallTemplateRules 本接口 (DescribeFirewallTemplateRules) 用于查询防火墙模板规则列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplates ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplates(request *DescribeFirewallTemplatesRequest) (response *DescribeFirewallTemplatesResponse, err error)
DescribeFirewallTemplates 本接口 (DescribeFirewallTemplates) 用于查询防火墙模板列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeFirewallTemplatesWithContext ¶ added in v1.0.729
func (c *Client) DescribeFirewallTemplatesWithContext(ctx context.Context, request *DescribeFirewallTemplatesRequest) (response *DescribeFirewallTemplatesResponse, err error)
DescribeFirewallTemplates 本接口 (DescribeFirewallTemplates) 用于查询防火墙模板列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeGeneralResourceQuotas ¶
func (c *Client) DescribeGeneralResourceQuotas(request *DescribeGeneralResourceQuotasRequest) (response *DescribeGeneralResourceQuotasResponse, err error)
DescribeGeneralResourceQuotas 本接口(DescribeGeneralResourceQuotas)用于查询通用资源配额信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_INVALIDRESOURCEQUOTARESOURCENAME = "InvalidParameterValue.InvalidResourceQuotaResourceName" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeGeneralResourceQuotasWithContext ¶ added in v1.0.324
func (c *Client) DescribeGeneralResourceQuotasWithContext(ctx context.Context, request *DescribeGeneralResourceQuotasRequest) (response *DescribeGeneralResourceQuotasResponse, err error)
DescribeGeneralResourceQuotas 本接口(DescribeGeneralResourceQuotas)用于查询通用资源配额信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_INVALIDRESOURCEQUOTARESOURCENAME = "InvalidParameterValue.InvalidResourceQuotaResourceName" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeInstanceLoginKeyPairAttribute ¶
func (c *Client) DescribeInstanceLoginKeyPairAttribute(request *DescribeInstanceLoginKeyPairAttributeRequest) (response *DescribeInstanceLoginKeyPairAttributeResponse, err error)
DescribeInstanceLoginKeyPairAttribute 本接口用于查询实例默认登录密钥属性。
可能返回的错误码:
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"
func (*Client) DescribeInstanceLoginKeyPairAttributeWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstanceLoginKeyPairAttributeWithContext(ctx context.Context, request *DescribeInstanceLoginKeyPairAttributeRequest) (response *DescribeInstanceLoginKeyPairAttributeResponse, err error)
DescribeInstanceLoginKeyPairAttribute 本接口用于查询实例默认登录密钥属性。
可能返回的错误码:
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"
func (*Client) DescribeInstanceVncUrl ¶
func (c *Client) DescribeInstanceVncUrl(request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
DescribeInstanceVncUrl 本接口 ( DescribeInstanceVncUrl ) 用于查询实例管理终端地址,获取的地址可用于实例的 VNC 登录。
* 处于 `STOPPED` 状态的机器无法使用此功能。
* 管理终端地址的有效期为 15 秒,调用接口成功后如果 15 秒内不使用该链接进行访问,管理终端地址自动失效,您需要重新查询。
* 管理终端地址一旦被访问,将自动失效,您需要重新查询。
* 如果连接断开,每分钟内重新连接的次数不能超过 30 次。
* 参数 `InstanceVncUrl` :调用接口成功后会返回的 `InstanceVncUrl` 的值。
获取到 `InstanceVncUrl` 后,您需要在链接 `https://img.qcloud.com/qcloud/app/active_vnc/index.html?` 末尾加上参数 `InstanceVncUrl=xxxx`。
最后组成的 URL 格式如下:
```
```
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeInstanceVncUrlWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstanceVncUrlWithContext(ctx context.Context, request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)
DescribeInstanceVncUrl 本接口 ( DescribeInstanceVncUrl ) 用于查询实例管理终端地址,获取的地址可用于实例的 VNC 登录。
* 处于 `STOPPED` 状态的机器无法使用此功能。
* 管理终端地址的有效期为 15 秒,调用接口成功后如果 15 秒内不使用该链接进行访问,管理终端地址自动失效,您需要重新查询。
* 管理终端地址一旦被访问,将自动失效,您需要重新查询。
* 如果连接断开,每分钟内重新连接的次数不能超过 30 次。
* 参数 `InstanceVncUrl` :调用接口成功后会返回的 `InstanceVncUrl` 的值。
获取到 `InstanceVncUrl` 后,您需要在链接 `https://img.qcloud.com/qcloud/app/active_vnc/index.html?` 末尾加上参数 `InstanceVncUrl=xxxx`。
最后组成的 URL 格式如下:
```
```
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances 本接口(DescribeInstances)用于查询一个或多个实例的详细信息。
* 可以根据实例 ID、实例名称或者实例的内网 IP 查询实例的详细信息。
* 过滤信息详细请见过滤器 [Filters](https://cloud.tencent.com/document/product/1207/47576#Filter) 。
* 如果参数为空,返回当前用户一定数量(Limit 所指定的数量,默认为 20)的实例。
* 支持查询实例的最新操作(LatestOperation)以及最新操作状态(LatestOperationState)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"
func (*Client) DescribeInstancesDeniedActions ¶
func (c *Client) DescribeInstancesDeniedActions(request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
DescribeInstancesDeniedActions 本接口(DescribeInstancesDeniedActions)用于查询一个或多个实例的操作限制列表信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeInstancesDeniedActionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstancesDeniedActionsWithContext(ctx context.Context, request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)
DescribeInstancesDeniedActions 本接口(DescribeInstancesDeniedActions)用于查询一个或多个实例的操作限制列表信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeInstancesDiskNum ¶ added in v1.0.314
func (c *Client) DescribeInstancesDiskNum(request *DescribeInstancesDiskNumRequest) (response *DescribeInstancesDiskNumResponse, err error)
DescribeInstancesDiskNum 本接口(DescribeInstancesDiskNum)用于查询实例挂载云硬盘数量。
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeInstancesDiskNumWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstancesDiskNumWithContext(ctx context.Context, request *DescribeInstancesDiskNumRequest) (response *DescribeInstancesDiskNumResponse, err error)
DescribeInstancesDiskNum 本接口(DescribeInstancesDiskNum)用于查询实例挂载云硬盘数量。
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeInstancesReturnable ¶
func (c *Client) DescribeInstancesReturnable(request *DescribeInstancesReturnableRequest) (response *DescribeInstancesReturnableResponse, err error)
DescribeInstancesReturnable 本接口(DescribeInstancesReturnable)用于查询实例是否可退还。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_DESCRIBEINSTANCESRETURNABLEERROR = "FailedOperation.DescribeInstancesReturnableError" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESRETURNABLEERROR = "InternalError.DescribeInstancesReturnableError" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeInstancesReturnableWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstancesReturnableWithContext(ctx context.Context, request *DescribeInstancesReturnableRequest) (response *DescribeInstancesReturnableResponse, err error)
DescribeInstancesReturnable 本接口(DescribeInstancesReturnable)用于查询实例是否可退还。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_DESCRIBEINSTANCESRETURNABLEERROR = "FailedOperation.DescribeInstancesReturnableError" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESRETURNABLEERROR = "InternalError.DescribeInstancesReturnableError" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeInstancesTrafficPackages ¶
func (c *Client) DescribeInstancesTrafficPackages(request *DescribeInstancesTrafficPackagesRequest) (response *DescribeInstancesTrafficPackagesResponse, err error)
DescribeInstancesTrafficPackages 本接口(DescribeInstancesTrafficPackages)用于查询一个或多个实例的流量包详情。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "FailedOperation.DescribeInstancesTrafficPackagesFailed" INTERNALERROR_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "InternalError.DescribeInstancesTrafficPackagesFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeInstancesTrafficPackagesWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstancesTrafficPackagesWithContext(ctx context.Context, request *DescribeInstancesTrafficPackagesRequest) (response *DescribeInstancesTrafficPackagesResponse, err error)
DescribeInstancesTrafficPackages 本接口(DescribeInstancesTrafficPackages)用于查询一个或多个实例的流量包详情。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "FailedOperation.DescribeInstancesTrafficPackagesFailed" INTERNALERROR_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "InternalError.DescribeInstancesTrafficPackagesFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeInstancesWithContext ¶ added in v1.0.324
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances 本接口(DescribeInstances)用于查询一个或多个实例的详细信息。
* 可以根据实例 ID、实例名称或者实例的内网 IP 查询实例的详细信息。
* 过滤信息详细请见过滤器 [Filters](https://cloud.tencent.com/document/product/1207/47576#Filter) 。
* 如果参数为空,返回当前用户一定数量(Limit 所指定的数量,默认为 20)的实例。
* 支持查询实例的最新操作(LatestOperation)以及最新操作状态(LatestOperationState)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"
func (*Client) DescribeKeyPairs ¶
func (c *Client) DescribeKeyPairs(request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error)
DescribeKeyPairs 本接口 (DescribeKeyPairs) 用于查询用户密钥对信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeKeyPairsWithContext ¶ added in v1.0.324
func (c *Client) DescribeKeyPairsWithContext(ctx context.Context, request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error)
DescribeKeyPairs 本接口 (DescribeKeyPairs) 用于查询用户密钥对信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeModifyInstanceBundles ¶
func (c *Client) DescribeModifyInstanceBundles(request *DescribeModifyInstanceBundlesRequest) (response *DescribeModifyInstanceBundlesResponse, err error)
DescribeModifyInstanceBundles 本接口(DescribeModifyInstanceBundles)用于查询实例可变更套餐列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_DESCRIBEINSTANCESMODIFICATIONERROR = "FailedOperation.DescribeInstancesModificationError" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESMODIFICATION = "InternalError.DescribeInstancesModification" INTERNALERROR_DESCRIBEINSTANCESMODIFICATIONERROR = "InternalError.DescribeInstancesModificationError" INTERNALERROR_INVALIDBUNDLEPRICE = "InternalError.InvalidBundlePrice" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INSTANCEEXPIRED = "UnsupportedOperation.InstanceExpired" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) DescribeModifyInstanceBundlesWithContext ¶ added in v1.0.324
func (c *Client) DescribeModifyInstanceBundlesWithContext(ctx context.Context, request *DescribeModifyInstanceBundlesRequest) (response *DescribeModifyInstanceBundlesResponse, err error)
DescribeModifyInstanceBundles 本接口(DescribeModifyInstanceBundles)用于查询实例可变更套餐列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_DESCRIBEINSTANCESMODIFICATIONERROR = "FailedOperation.DescribeInstancesModificationError" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESMODIFICATION = "InternalError.DescribeInstancesModification" INTERNALERROR_DESCRIBEINSTANCESMODIFICATIONERROR = "InternalError.DescribeInstancesModificationError" INTERNALERROR_INVALIDBUNDLEPRICE = "InternalError.InvalidBundlePrice" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INSTANCEEXPIRED = "UnsupportedOperation.InstanceExpired" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) DescribeRegions ¶
func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions 本接口(DescribeRegions)用于查询地域信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeRegionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions 本接口(DescribeRegions)用于查询地域信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeResetInstanceBlueprints ¶
func (c *Client) DescribeResetInstanceBlueprints(request *DescribeResetInstanceBlueprintsRequest) (response *DescribeResetInstanceBlueprintsResponse, err error)
DescribeResetInstanceBlueprints 本接口(DescribeResetInstanceBlueprints)查询重置实例的镜像信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeResetInstanceBlueprintsWithContext ¶ added in v1.0.324
func (c *Client) DescribeResetInstanceBlueprintsWithContext(ctx context.Context, request *DescribeResetInstanceBlueprintsRequest) (response *DescribeResetInstanceBlueprintsResponse, err error)
DescribeResetInstanceBlueprints 本接口(DescribeResetInstanceBlueprints)查询重置实例的镜像信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeScenes ¶ added in v1.0.548
func (c *Client) DescribeScenes(request *DescribeScenesRequest) (response *DescribeScenesResponse, err error)
DescribeScenes 本接口(DescribeScenes)用于查看使用场景列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = "InvalidParameterValue.InvalidSceneIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeScenesWithContext ¶ added in v1.0.548
func (c *Client) DescribeScenesWithContext(ctx context.Context, request *DescribeScenesRequest) (response *DescribeScenesResponse, err error)
DescribeScenes 本接口(DescribeScenes)用于查看使用场景列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = "InvalidParameterValue.InvalidSceneIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeSnapshots ¶
func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
DescribeSnapshots 本接口(DescribeSnapshots)用于查询快照的详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeSnapshotsDeniedActions ¶
func (c *Client) DescribeSnapshotsDeniedActions(request *DescribeSnapshotsDeniedActionsRequest) (response *DescribeSnapshotsDeniedActionsResponse, err error)
DescribeSnapshotsDeniedActions 本接口(DescribeSnapshotsDeniedActions)用于查询一个或多个快照的操作限制列表信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeSnapshotsDeniedActionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeSnapshotsDeniedActionsWithContext(ctx context.Context, request *DescribeSnapshotsDeniedActionsRequest) (response *DescribeSnapshotsDeniedActionsResponse, err error)
DescribeSnapshotsDeniedActions 本接口(DescribeSnapshotsDeniedActions)用于查询一个或多个快照的操作限制列表信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeSnapshotsWithContext ¶ added in v1.0.324
func (c *Client) DescribeSnapshotsWithContext(ctx context.Context, request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)
DescribeSnapshots 本接口(DescribeSnapshots)用于查询快照的详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 查询地域下可用区
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeZonesWithContext ¶ added in v1.0.324
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 查询地域下可用区
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DetachCcn ¶ added in v1.0.211
func (c *Client) DetachCcn(request *DetachCcnRequest) (response *DetachCcnResponse, err error)
DetachCcn 本接口 (DetachCcn) 用于解除与云联网的关联。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" UNSUPPORTEDOPERATION_DETACHCCNFAILED = "UnsupportedOperation.DetachCcnFailed"
func (*Client) DetachCcnWithContext ¶ added in v1.0.324
func (c *Client) DetachCcnWithContext(ctx context.Context, request *DetachCcnRequest) (response *DetachCcnResponse, err error)
DetachCcn 本接口 (DetachCcn) 用于解除与云联网的关联。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" UNSUPPORTEDOPERATION_DETACHCCNFAILED = "UnsupportedOperation.DetachCcnFailed"
func (*Client) DetachDisks ¶ added in v1.0.314
func (c *Client) DetachDisks(request *DetachDisksRequest) (response *DetachDisksResponse, err error)
DetachDisks 本接口(DetachDisks)用于卸载一个或多个云硬盘。
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DetachDisksWithContext ¶ added in v1.0.324
func (c *Client) DetachDisksWithContext(ctx context.Context, request *DetachDisksRequest) (response *DetachDisksResponse, err error)
DetachDisks 本接口(DetachDisks)用于卸载一个或多个云硬盘。
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DisassociateInstancesKeyPairs ¶
func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
DisassociateInstancesKeyPairs 本接口(DisassociateInstancesKeyPairs)用于解除实例与指定密钥对的绑定关系。
* 只支持 [RUNNING, STOPPED] 状态的 LINUX_UNIX 操作系统的实例。处于 RUNNING 状态的实例会强制关机,然后解绑。
* 解绑密钥后,实例可以通过原来设置的密码登录。
* 如果原来没有设置密码,解绑后将无法使用 SSH 登录。可以调用 <a href="https://cloud.tencent.com/document/product/1207/55546" target="_blank">ResetInstancesPassword</a> 接口来设置登录密码。
* 支持批量操作。每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_KEYPAIRNOTBOUNDTOINSTANCE = "UnsupportedOperation.KeyPairNotBoundToInstance" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) DisassociateInstancesKeyPairsWithContext ¶ added in v1.0.324
func (c *Client) DisassociateInstancesKeyPairsWithContext(ctx context.Context, request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)
DisassociateInstancesKeyPairs 本接口(DisassociateInstancesKeyPairs)用于解除实例与指定密钥对的绑定关系。
* 只支持 [RUNNING, STOPPED] 状态的 LINUX_UNIX 操作系统的实例。处于 RUNNING 状态的实例会强制关机,然后解绑。
* 解绑密钥后,实例可以通过原来设置的密码登录。
* 如果原来没有设置密码,解绑后将无法使用 SSH 登录。可以调用 <a href="https://cloud.tencent.com/document/product/1207/55546" target="_blank">ResetInstancesPassword</a> 接口来设置登录密码。
* 支持批量操作。每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_KEYPAIRNOTBOUNDTOINSTANCE = "UnsupportedOperation.KeyPairNotBoundToInstance" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ImportKeyPair ¶
func (c *Client) ImportKeyPair(request *ImportKeyPairRequest) (response *ImportKeyPairResponse, err error)
ImportKeyPair 本接口(ImportKeyPair)用于导入用户指定密钥对。
可能返回的错误码:
FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed" FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed" FAILEDOPERATION_IMPORTKEYPAIRFAILED = "FailedOperation.ImportKeyPairFailed" INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong" INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYDUPLICATED = "InvalidParameterValue.KeyPairPublicKeyDuplicated" INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYMALFORMED = "InvalidParameterValue.KeyPairPublicKeyMalformed" LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ImportKeyPairWithContext ¶ added in v1.0.324
func (c *Client) ImportKeyPairWithContext(ctx context.Context, request *ImportKeyPairRequest) (response *ImportKeyPairResponse, err error)
ImportKeyPair 本接口(ImportKeyPair)用于导入用户指定密钥对。
可能返回的错误码:
FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed" FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed" FAILEDOPERATION_IMPORTKEYPAIRFAILED = "FailedOperation.ImportKeyPairFailed" INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty" INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong" INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYDUPLICATED = "InvalidParameterValue.KeyPairPublicKeyDuplicated" INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYMALFORMED = "InvalidParameterValue.KeyPairPublicKeyMalformed" LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) InquirePriceCreateBlueprint ¶
func (c *Client) InquirePriceCreateBlueprint(request *InquirePriceCreateBlueprintRequest) (response *InquirePriceCreateBlueprintResponse, err error)
InquirePriceCreateBlueprint 本接口 (InquirePriceCreateBlueprint) 用于创建镜像询价。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR = "InternalError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) InquirePriceCreateBlueprintWithContext ¶ added in v1.0.324
func (c *Client) InquirePriceCreateBlueprintWithContext(ctx context.Context, request *InquirePriceCreateBlueprintRequest) (response *InquirePriceCreateBlueprintResponse, err error)
InquirePriceCreateBlueprint 本接口 (InquirePriceCreateBlueprint) 用于创建镜像询价。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR = "InternalError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) InquirePriceCreateDisks ¶ added in v1.0.314
func (c *Client) InquirePriceCreateDisks(request *InquirePriceCreateDisksRequest) (response *InquirePriceCreateDisksResponse, err error)
InquirePriceCreateDisks 本接口(InquirePriceCreateDisks)用于新购云硬盘询价。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
func (*Client) InquirePriceCreateDisksWithContext ¶ added in v1.0.324
func (c *Client) InquirePriceCreateDisksWithContext(ctx context.Context, request *InquirePriceCreateDisksRequest) (response *InquirePriceCreateDisksResponse, err error)
InquirePriceCreateDisks 本接口(InquirePriceCreateDisks)用于新购云硬盘询价。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
func (*Client) InquirePriceCreateInstances ¶
func (c *Client) InquirePriceCreateInstances(request *InquirePriceCreateInstancesRequest) (response *InquirePriceCreateInstancesResponse, err error)
InquirePriceCreateInstances 本接口(InquiryPriceCreateInstances)用于创建实例询价。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) InquirePriceCreateInstancesWithContext ¶ added in v1.0.324
func (c *Client) InquirePriceCreateInstancesWithContext(ctx context.Context, request *InquirePriceCreateInstancesRequest) (response *InquirePriceCreateInstancesResponse, err error)
InquirePriceCreateInstances 本接口(InquiryPriceCreateInstances)用于创建实例询价。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) InquirePriceRenewDisks ¶ added in v1.0.314
func (c *Client) InquirePriceRenewDisks(request *InquirePriceRenewDisksRequest) (response *InquirePriceRenewDisksResponse, err error)
InquirePriceRenewDisks 本接口(InquirePriceRenewDisks)用于续费云硬盘询价。
可能返回的错误码:
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
func (*Client) InquirePriceRenewDisksWithContext ¶ added in v1.0.324
func (c *Client) InquirePriceRenewDisksWithContext(ctx context.Context, request *InquirePriceRenewDisksRequest) (response *InquirePriceRenewDisksResponse, err error)
InquirePriceRenewDisks 本接口(InquirePriceRenewDisks)用于续费云硬盘询价。
可能返回的错误码:
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
func (*Client) InquirePriceRenewInstances ¶
func (c *Client) InquirePriceRenewInstances(request *InquirePriceRenewInstancesRequest) (response *InquirePriceRenewInstancesResponse, err error)
InquirePriceRenewInstances 本接口(InquirePriceRenewInstances)用于续费实例询价。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_INSTANCEDATADISKNOTFOUND = "ResourceNotFound.InstanceDataDiskNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) InquirePriceRenewInstancesWithContext ¶ added in v1.0.324
func (c *Client) InquirePriceRenewInstancesWithContext(ctx context.Context, request *InquirePriceRenewInstancesRequest) (response *InquirePriceRenewInstancesResponse, err error)
InquirePriceRenewInstances 本接口(InquirePriceRenewInstances)用于续费实例询价。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_INSTANCEDATADISKNOTFOUND = "ResourceNotFound.InstanceDataDiskNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) IsolateDisks ¶ added in v1.0.653
func (c *Client) IsolateDisks(request *IsolateDisksRequest) (response *IsolateDisksResponse, err error)
IsolateDisks 本接口(IsolateDisks)用于退还一个或多个轻量应用服务器云硬盘。
只有状态为 UNATTACHED 的数据盘才可以进行此操作。
接口调用成功后,云硬盘会进入SHUTDOWN 状态。
支持批量操作。每次请求批量资源的上限为 20。
本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。云硬盘操作结果可以通过调用 [DescribeDisks](https://cloud.tencent.com/document/product/1207/66093) 接口查询,如果云硬盘的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError" FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"
func (*Client) IsolateDisksWithContext ¶ added in v1.0.653
func (c *Client) IsolateDisksWithContext(ctx context.Context, request *IsolateDisksRequest) (response *IsolateDisksResponse, err error)
IsolateDisks 本接口(IsolateDisks)用于退还一个或多个轻量应用服务器云硬盘。
只有状态为 UNATTACHED 的数据盘才可以进行此操作。
接口调用成功后,云硬盘会进入SHUTDOWN 状态。
支持批量操作。每次请求批量资源的上限为 20。
本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。云硬盘操作结果可以通过调用 [DescribeDisks](https://cloud.tencent.com/document/product/1207/66093) 接口查询,如果云硬盘的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError" FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"
func (*Client) IsolateInstances ¶ added in v1.0.392
func (c *Client) IsolateInstances(request *IsolateInstancesRequest) (response *IsolateInstancesResponse, err error)
IsolateInstances 本接口(IsolateInstances)用于退还一个或多个轻量应用服务器实例。
* 只有状态为 RUNNING 或 STOPPED 的实例才可以进行此操作。
* 接口调用成功后,实例会进入SHUTDOWN 状态。
* 支持批量操作。每次请求批量资源(包括实例与数据盘)的上限为 20。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError" FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed" INTERNALERROR_DESCRIBERESOURCESRETURNABLEERROR = "InternalError.DescribeResourcesReturnableError" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"
func (*Client) IsolateInstancesWithContext ¶ added in v1.0.392
func (c *Client) IsolateInstancesWithContext(ctx context.Context, request *IsolateInstancesRequest) (response *IsolateInstancesResponse, err error)
IsolateInstances 本接口(IsolateInstances)用于退还一个或多个轻量应用服务器实例。
* 只有状态为 RUNNING 或 STOPPED 的实例才可以进行此操作。
* 接口调用成功后,实例会进入SHUTDOWN 状态。
* 支持批量操作。每次请求批量资源(包括实例与数据盘)的上限为 20。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError" FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed" INTERNALERROR_DESCRIBERESOURCESRETURNABLEERROR = "InternalError.DescribeResourcesReturnableError" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"
func (*Client) ModifyBlueprintAttribute ¶
func (c *Client) ModifyBlueprintAttribute(request *ModifyBlueprintAttributeRequest) (response *ModifyBlueprintAttributeResponse, err error)
ModifyBlueprintAttribute 本接口 (ModifyBlueprintAttribute) 用于修改镜像属性。
可能返回的错误码:
FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_MUSTSPECIFYONEATTRIBUTETOMODIFY = "InvalidParameter.MustSpecifyOneAttributeToModify" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound" UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint"
func (*Client) ModifyBlueprintAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyBlueprintAttributeWithContext(ctx context.Context, request *ModifyBlueprintAttributeRequest) (response *ModifyBlueprintAttributeResponse, err error)
ModifyBlueprintAttribute 本接口 (ModifyBlueprintAttribute) 用于修改镜像属性。
可能返回的错误码:
FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_MUSTSPECIFYONEATTRIBUTETOMODIFY = "InvalidParameter.MustSpecifyOneAttributeToModify" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound" UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint"
func (*Client) ModifyDiskBackupsAttribute ¶ added in v1.0.563
func (c *Client) ModifyDiskBackupsAttribute(request *ModifyDiskBackupsAttributeRequest) (response *ModifyDiskBackupsAttributeResponse, err error)
ModifyDiskBackupsAttribute 本接口 (ModifyDiskBackupsAttribute) 用于修改云硬盘备份点属性。
可能返回的错误码:
INVALIDPARAMETER_ONLYALLOWMODIFYONEATTRIBUTE = "InvalidParameter.OnlyAllowModifyOneAttribute" INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" RESOURCENOTFOUND_DISKBACKUPIDNOTFOUND = "ResourceNotFound.DiskBackupIdNotFound" RESOURCENOTFOUND_DISKBACKUPNOTFOUND = "ResourceNotFound.DiskBackupNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyDiskBackupsAttributeWithContext ¶ added in v1.0.563
func (c *Client) ModifyDiskBackupsAttributeWithContext(ctx context.Context, request *ModifyDiskBackupsAttributeRequest) (response *ModifyDiskBackupsAttributeResponse, err error)
ModifyDiskBackupsAttribute 本接口 (ModifyDiskBackupsAttribute) 用于修改云硬盘备份点属性。
可能返回的错误码:
INVALIDPARAMETER_ONLYALLOWMODIFYONEATTRIBUTE = "InvalidParameter.OnlyAllowModifyOneAttribute" INVALIDPARAMETERVALUE_DISKBACKUPIDMALFORMED = "InvalidParameterValue.DiskBackupIdMalformed" RESOURCENOTFOUND_DISKBACKUPIDNOTFOUND = "ResourceNotFound.DiskBackupIdNotFound" RESOURCENOTFOUND_DISKBACKUPNOTFOUND = "ResourceNotFound.DiskBackupNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyDisksAttribute ¶ added in v1.0.314
func (c *Client) ModifyDisksAttribute(request *ModifyDisksAttributeRequest) (response *ModifyDisksAttributeResponse, err error)
ModifyDisksAttribute 本接口(ModifyDisksAttribute)用于修改云硬盘属性。
可能返回的错误码:
FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
func (*Client) ModifyDisksAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyDisksAttributeWithContext(ctx context.Context, request *ModifyDisksAttributeRequest) (response *ModifyDisksAttributeResponse, err error)
ModifyDisksAttribute 本接口(ModifyDisksAttribute)用于修改云硬盘属性。
可能返回的错误码:
FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
func (*Client) ModifyDisksBackupQuota ¶ added in v1.0.865
func (c *Client) ModifyDisksBackupQuota(request *ModifyDisksBackupQuotaRequest) (response *ModifyDisksBackupQuotaResponse, err error)
ModifyDisksBackupQuota 本接口(ModifyDisksBackupQuota)用于调整云硬盘备份点配额。该操作目前仅支持云硬盘类型为数据盘的云硬盘。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" INVALIDPARAMETERVALUE_DISKBACKUPQUOTALESSTHENCURRENTDISKBACKUPNUM = "InvalidParameterValue.DiskBackupQuotaLessThenCurrentDiskBackupNum" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_OPERATIONNOTSUPPORTEDININTLSITE = "UnsupportedOperation.OperationNotSupportedInIntlSite" UNSUPPORTEDOPERATION_SAMEWITHOLDCONFIG = "UnsupportedOperation.SameWithOldConfig"
func (*Client) ModifyDisksBackupQuotaWithContext ¶ added in v1.0.865
func (c *Client) ModifyDisksBackupQuotaWithContext(ctx context.Context, request *ModifyDisksBackupQuotaRequest) (response *ModifyDisksBackupQuotaResponse, err error)
ModifyDisksBackupQuota 本接口(ModifyDisksBackupQuota)用于调整云硬盘备份点配额。该操作目前仅支持云硬盘类型为数据盘的云硬盘。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" INVALIDPARAMETERVALUE_DISKBACKUPQUOTALESSTHENCURRENTDISKBACKUPNUM = "InvalidParameterValue.DiskBackupQuotaLessThenCurrentDiskBackupNum" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_OPERATIONNOTSUPPORTEDININTLSITE = "UnsupportedOperation.OperationNotSupportedInIntlSite" UNSUPPORTEDOPERATION_SAMEWITHOLDCONFIG = "UnsupportedOperation.SameWithOldConfig"
func (*Client) ModifyDisksRenewFlag ¶ added in v1.0.314
func (c *Client) ModifyDisksRenewFlag(request *ModifyDisksRenewFlagRequest) (response *ModifyDisksRenewFlagResponse, err error)
ModifyDisksRenewFlag 本接口(ModifyDisksRenewFlag)用于修改云硬盘续费标识。
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
func (*Client) ModifyDisksRenewFlagWithContext ¶ added in v1.0.324
func (c *Client) ModifyDisksRenewFlagWithContext(ctx context.Context, request *ModifyDisksRenewFlagRequest) (response *ModifyDisksRenewFlagResponse, err error)
ModifyDisksRenewFlag 本接口(ModifyDisksRenewFlag)用于修改云硬盘续费标识。
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
func (*Client) ModifyDockerContainer ¶ added in v1.0.707
func (c *Client) ModifyDockerContainer(request *ModifyDockerContainerRequest) (response *ModifyDockerContainerResponse, err error)
ModifyDockerContainer 修改实例内的Docker容器,之后可以通过返回的ActivityId调用<a href="https://cloud.tencent.com/document/product/1207/95476" target="_blank">DescribeDockerActivities</a>接口查询重建情况。
请注意:本接口会重新创建并运行实例内的Docker容器。
可能返回的错误码:
FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ModifyDockerContainerWithContext ¶ added in v1.0.707
func (c *Client) ModifyDockerContainerWithContext(ctx context.Context, request *ModifyDockerContainerRequest) (response *ModifyDockerContainerResponse, err error)
ModifyDockerContainer 修改实例内的Docker容器,之后可以通过返回的ActivityId调用<a href="https://cloud.tencent.com/document/product/1207/95476" target="_blank">DescribeDockerActivities</a>接口查询重建情况。
请注意:本接口会重新创建并运行实例内的Docker容器。
可能返回的错误码:
FAILEDOPERATION_DOCKERCONTAINERSLISTTOOLARGE = "FailedOperation.DockerContainersListTooLarge" FAILEDOPERATION_DOCKEROPERATIONFAILED = "FailedOperation.DockerOperationFailed" FAILEDOPERATION_TATINVOCATIONNOTFINISHED = "FailedOperation.TATInvocationNotFinished" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ModifyFirewallRuleDescription ¶
func (c *Client) ModifyFirewallRuleDescription(request *ModifyFirewallRuleDescriptionRequest) (response *ModifyFirewallRuleDescriptionResponse, err error)
ModifyFirewallRuleDescription 本接口(ModifyFirewallRuleDescription)用于修改单条防火墙规则描述。
* FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接修改防火墙规则备注。
用FirewallRule参数来指定要修改的防火墙规则,使用其中的Protocol, Port, CidrBlock,Action字段来匹配要修改的防火墙规则。
在 FirewallRule 参数中:
* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。
* Action 字段只允许输入 ACCEPT 或 DROP。
* FirewallRuleDescription 字段长度不得超过 64。
可能返回的错误码:
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"
func (*Client) ModifyFirewallRuleDescriptionWithContext ¶ added in v1.0.324
func (c *Client) ModifyFirewallRuleDescriptionWithContext(ctx context.Context, request *ModifyFirewallRuleDescriptionRequest) (response *ModifyFirewallRuleDescriptionResponse, err error)
ModifyFirewallRuleDescription 本接口(ModifyFirewallRuleDescription)用于修改单条防火墙规则描述。
* FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接修改防火墙规则备注。
用FirewallRule参数来指定要修改的防火墙规则,使用其中的Protocol, Port, CidrBlock,Action字段来匹配要修改的防火墙规则。
在 FirewallRule 参数中:
* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。
* Action 字段只允许输入 ACCEPT 或 DROP。
* FirewallRuleDescription 字段长度不得超过 64。
可能返回的错误码:
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"
func (*Client) ModifyFirewallRules ¶
func (c *Client) ModifyFirewallRules(request *ModifyFirewallRulesRequest) (response *ModifyFirewallRulesResponse, err error)
ModifyFirewallRules 本接口(ModifyFirewallRules)用于重置实例防火墙规则。
本接口先删除当前实例的所有防火墙规则,然后添加新的规则。
* FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接重置防火墙规则。
在 FirewallRules 参数中:
* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。
* Action 字段只允许输入 ACCEPT 或 DROP。
* FirewallRuleDescription 字段长度不得超过 64。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"
func (*Client) ModifyFirewallRulesWithContext ¶ added in v1.0.324
func (c *Client) ModifyFirewallRulesWithContext(ctx context.Context, request *ModifyFirewallRulesRequest) (response *ModifyFirewallRulesResponse, err error)
ModifyFirewallRules 本接口(ModifyFirewallRules)用于重置实例防火墙规则。
本接口先删除当前实例的所有防火墙规则,然后添加新的规则。
* FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接重置防火墙规则。
在 FirewallRules 参数中:
* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。
* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。
* Action 字段只允许输入 ACCEPT 或 DROP。
* FirewallRuleDescription 字段长度不得超过 64。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_REQUESTERROR = "InternalError.RequestError" INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy" UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"
func (*Client) ModifyFirewallTemplate ¶ added in v1.0.729
func (c *Client) ModifyFirewallTemplate(request *ModifyFirewallTemplateRequest) (response *ModifyFirewallTemplateResponse, err error)
ModifyFirewallTemplate 本接口 (ModifyFirewallTemplate) 用于修改防火墙模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyFirewallTemplateWithContext ¶ added in v1.0.729
func (c *Client) ModifyFirewallTemplateWithContext(ctx context.Context, request *ModifyFirewallTemplateRequest) (response *ModifyFirewallTemplateResponse, err error)
ModifyFirewallTemplate 本接口 (ModifyFirewallTemplate) 用于修改防火墙模板。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyInstancesAttribute ¶
func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
ModifyInstancesAttribute 本接口(ModifyInstancesAttribute)用于修改实例的属性。
* “实例名称”仅为方便用户自己管理之用。
* 支持批量操作。每次请求批量实例的上限为 100。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETER_ONLYALLOWMODIFYONEATTRIBUTE = "InvalidParameter.OnlyAllowModifyOneAttribute" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ModifyInstancesAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyInstancesAttributeWithContext(ctx context.Context, request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
ModifyInstancesAttribute 本接口(ModifyInstancesAttribute)用于修改实例的属性。
* “实例名称”仅为方便用户自己管理之用。
* 支持批量操作。每次请求批量实例的上限为 100。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETER_ONLYALLOWMODIFYONEATTRIBUTE = "InvalidParameter.OnlyAllowModifyOneAttribute" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ModifyInstancesBundle ¶ added in v1.0.539
func (c *Client) ModifyInstancesBundle(request *ModifyInstancesBundleRequest) (response *ModifyInstancesBundleResponse, err error)
ModifyInstancesBundle 本接口(ModifyInstancesBundle)用于变更一个或多个轻量应用服务器实例套餐。
* 只有状态为 RUNNING,STOPPED的实例才可以进行此操作。
* 支持批量操作。每次请求批量实例的上限为 30。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_MODIFYINSTANCESBUNDLEFAILED = "FailedOperation.ModifyInstancesBundleFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) ModifyInstancesBundleWithContext ¶ added in v1.0.539
func (c *Client) ModifyInstancesBundleWithContext(ctx context.Context, request *ModifyInstancesBundleRequest) (response *ModifyInstancesBundleResponse, err error)
ModifyInstancesBundle 本接口(ModifyInstancesBundle)用于变更一个或多个轻量应用服务器实例套餐。
* 只有状态为 RUNNING,STOPPED的实例才可以进行此操作。
* 支持批量操作。每次请求批量实例的上限为 30。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_MODIFYINSTANCESBUNDLEFAILED = "FailedOperation.ModifyInstancesBundleFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
func (*Client) ModifyInstancesLoginKeyPairAttribute ¶
func (c *Client) ModifyInstancesLoginKeyPairAttribute(request *ModifyInstancesLoginKeyPairAttributeRequest) (response *ModifyInstancesLoginKeyPairAttributeResponse, err error)
ModifyInstancesLoginKeyPairAttribute 本接口用于设置实例默认登录密钥对属性。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDINSTANCELOGINKEYPAIRPERMITLOGIN = "InvalidParameterValue.InvalidInstanceLoginKeyPairPermitLogin" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"
func (*Client) ModifyInstancesLoginKeyPairAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyInstancesLoginKeyPairAttributeWithContext(ctx context.Context, request *ModifyInstancesLoginKeyPairAttributeRequest) (response *ModifyInstancesLoginKeyPairAttributeResponse, err error)
ModifyInstancesLoginKeyPairAttribute 本接口用于设置实例默认登录密钥对属性。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDINSTANCELOGINKEYPAIRPERMITLOGIN = "InvalidParameterValue.InvalidInstanceLoginKeyPairPermitLogin" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"
func (*Client) ModifyInstancesRenewFlag ¶
func (c *Client) ModifyInstancesRenewFlag(request *ModifyInstancesRenewFlagRequest) (response *ModifyInstancesRenewFlagResponse, err error)
ModifyInstancesRenewFlag 本接口 (ModifyInstancesRenewFlag) 用于修改包年包月实例续费标识。
* 实例被标识为自动续费后,每次在实例到期时,会自动续费一个月。
* 支持批量操作。每次请求批量实例的上限为100。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_MODIFYRESOURCESRENEWFLAGFAILED = "FailedOperation.ModifyResourcesRenewFlagFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ModifyInstancesRenewFlagWithContext ¶ added in v1.0.324
func (c *Client) ModifyInstancesRenewFlagWithContext(ctx context.Context, request *ModifyInstancesRenewFlagRequest) (response *ModifyInstancesRenewFlagResponse, err error)
ModifyInstancesRenewFlag 本接口 (ModifyInstancesRenewFlag) 用于修改包年包月实例续费标识。
* 实例被标识为自动续费后,每次在实例到期时,会自动续费一个月。
* 支持批量操作。每次请求批量实例的上限为100。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_MODIFYRESOURCESRENEWFLAGFAILED = "FailedOperation.ModifyResourcesRenewFlagFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ModifySnapshotAttribute ¶
func (c *Client) ModifySnapshotAttribute(request *ModifySnapshotAttributeRequest) (response *ModifySnapshotAttributeResponse, err error)
ModifySnapshotAttribute 本接口(ModifySnapshotAttribute)用于修改指定快照的属性。
<li>“快照名称”仅为方便用户自己管理之用。</li>
可能返回的错误码:
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong" RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"
func (*Client) ModifySnapshotAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifySnapshotAttributeWithContext(ctx context.Context, request *ModifySnapshotAttributeRequest) (response *ModifySnapshotAttributeResponse, err error)
ModifySnapshotAttribute 本接口(ModifySnapshotAttribute)用于修改指定快照的属性。
<li>“快照名称”仅为方便用户自己管理之用。</li>
可能返回的错误码:
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong" RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"
func (*Client) RebootInstances ¶
func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
RebootInstances 本接口(RebootInstances)用于重启实例。
* 只有状态为 RUNNING 的实例才可以进行此操作。
* 接口调用成功时,实例会进入 REBOOTING 状态;重启实例成功时,实例会进入 RUNNING 状态。
* 支持批量操作,每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RebootInstancesWithContext ¶ added in v1.0.324
func (c *Client) RebootInstancesWithContext(ctx context.Context, request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
RebootInstances 本接口(RebootInstances)用于重启实例。
* 只有状态为 RUNNING 的实例才可以进行此操作。
* 接口调用成功时,实例会进入 REBOOTING 状态;重启实例成功时,实例会进入 RUNNING 状态。
* 支持批量操作,每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RemoveDockerContainers ¶ added in v1.0.707
func (c *Client) RemoveDockerContainers(request *RemoveDockerContainersRequest) (response *RemoveDockerContainersResponse, err error)
RemoveDockerContainers 删除实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询删除情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RemoveDockerContainersWithContext ¶ added in v1.0.707
func (c *Client) RemoveDockerContainersWithContext(ctx context.Context, request *RemoveDockerContainersRequest) (response *RemoveDockerContainersResponse, err error)
RemoveDockerContainers 删除实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询删除情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RenameDockerContainer ¶ added in v1.0.707
func (c *Client) RenameDockerContainer(request *RenameDockerContainerRequest) (response *RenameDockerContainerResponse, err error)
RenameDockerContainer 重命名实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重命名情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RenameDockerContainerWithContext ¶ added in v1.0.707
func (c *Client) RenameDockerContainerWithContext(ctx context.Context, request *RenameDockerContainerRequest) (response *RenameDockerContainerResponse, err error)
RenameDockerContainer 重命名实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重命名情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RenewDisks ¶ added in v1.0.653
func (c *Client) RenewDisks(request *RenewDisksRequest) (response *RenewDisksResponse, err error)
RenewDisks 本接口(RenewDisks)用于续费一个或多个轻量应用服务器云硬盘。
只有状态为 ATTACHED,UNATTACHED 或 SHUTDOWN 的数据盘才可以进行此操作。
支持批量操作。每次请求批量云硬盘的上限为 50。
本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。云硬盘操作结果可以通过调用 [DescribeDisks](https://cloud.tencent.com/document/product/1207/66093) 接口查询,如果云硬盘的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDCURINSTANCEDEADLINE = "InvalidParameterValue.InvalidCurInstanceDeadline" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" MISSINGPARAMETER_MISSINGPARAMETERPERIODCURINSTANCEDEADLINE = "MissingParameter.MissingParameterPeriodCurInstanceDeadline" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
func (*Client) RenewDisksWithContext ¶ added in v1.0.653
func (c *Client) RenewDisksWithContext(ctx context.Context, request *RenewDisksRequest) (response *RenewDisksResponse, err error)
RenewDisks 本接口(RenewDisks)用于续费一个或多个轻量应用服务器云硬盘。
只有状态为 ATTACHED,UNATTACHED 或 SHUTDOWN 的数据盘才可以进行此操作。
支持批量操作。每次请求批量云硬盘的上限为 50。
本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。云硬盘操作结果可以通过调用 [DescribeDisks](https://cloud.tencent.com/document/product/1207/66093) 接口查询,如果云硬盘的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDCURINSTANCEDEADLINE = "InvalidParameterValue.InvalidCurInstanceDeadline" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" MISSINGPARAMETER_MISSINGPARAMETERPERIODCURINSTANCEDEADLINE = "MissingParameter.MissingParameterPeriodCurInstanceDeadline" OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
func (*Client) RenewInstances ¶ added in v1.0.391
func (c *Client) RenewInstances(request *RenewInstancesRequest) (response *RenewInstancesResponse, err error)
RenewInstances 本接口(RenewInstances)用于续费一个或多个轻量应用服务器实例。
* 只有状态为 RUNNING,STOPPED 或 SHUTDOWN 的实例才可以进行此操作。
* 支持批量操作。每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RenewInstancesWithContext ¶ added in v1.0.391
func (c *Client) RenewInstancesWithContext(ctx context.Context, request *RenewInstancesRequest) (response *RenewInstancesResponse, err error)
RenewInstances 本接口(RenewInstances)用于续费一个或多个轻量应用服务器实例。
* 只有状态为 RUNNING,STOPPED 或 SHUTDOWN 的实例才可以进行此操作。
* 支持批量操作。每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed" INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey" INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr" INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList" INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict" INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ReplaceFirewallTemplateRule ¶ added in v1.0.729
func (c *Client) ReplaceFirewallTemplateRule(request *ReplaceFirewallTemplateRuleRequest) (response *ReplaceFirewallTemplateRuleResponse, err error)
ReplaceFirewallTemplateRule 本接口 (ReplaceFirewallTemplateRules) 用于替换防火墙模板规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ReplaceFirewallTemplateRuleWithContext ¶ added in v1.0.729
func (c *Client) ReplaceFirewallTemplateRuleWithContext(ctx context.Context, request *ReplaceFirewallTemplateRuleRequest) (response *ReplaceFirewallTemplateRuleResponse, err error)
ReplaceFirewallTemplateRule 本接口 (ReplaceFirewallTemplateRules) 用于替换防火墙模板规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) RerunDockerContainer ¶ added in v1.0.707
func (c *Client) RerunDockerContainer(request *RerunDockerContainerRequest) (response *RerunDockerContainerResponse, err error)
RerunDockerContainer 重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RerunDockerContainerWithContext ¶ added in v1.0.707
func (c *Client) RerunDockerContainerWithContext(ctx context.Context, request *RerunDockerContainerRequest) (response *RerunDockerContainerResponse, err error)
RerunDockerContainer 重新创建并运行实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重建情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ResetAttachCcn ¶ added in v1.0.211
func (c *Client) ResetAttachCcn(request *ResetAttachCcnRequest) (response *ResetAttachCcnResponse, err error)
ResetAttachCcn 本接口 (ResetAttachCcn) 用于关联云联网实例申请过期时,重新申请关联操作。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" UNSUPPORTEDOPERATION_RESETATTACHCCNFAILED = "UnsupportedOperation.ResetAttachCcnFailed"
func (*Client) ResetAttachCcnWithContext ¶ added in v1.0.324
func (c *Client) ResetAttachCcnWithContext(ctx context.Context, request *ResetAttachCcnRequest) (response *ResetAttachCcnResponse, err error)
ResetAttachCcn 本接口 (ResetAttachCcn) 用于关联云联网实例申请过期时,重新申请关联操作。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" UNSUPPORTEDOPERATION_RESETATTACHCCNFAILED = "UnsupportedOperation.ResetAttachCcnFailed"
func (*Client) ResetFirewallTemplateRules ¶ added in v1.0.729
func (c *Client) ResetFirewallTemplateRules(request *ResetFirewallTemplateRulesRequest) (response *ResetFirewallTemplateRulesResponse, err error)
ResetFirewallTemplateRules 本接口 (ResetFirewallTemplateRules) 用于重置防火墙模板下所有规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" INVALIDPARAMETERVALUE_TOOSMALL = "InvalidParameterValue.TooSmall" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ResetFirewallTemplateRulesWithContext ¶ added in v1.0.729
func (c *Client) ResetFirewallTemplateRulesWithContext(ctx context.Context, request *ResetFirewallTemplateRulesRequest) (response *ResetFirewallTemplateRulesResponse, err error)
ResetFirewallTemplateRules 本接口 (ResetFirewallTemplateRules) 用于重置防火墙模板下所有规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" INVALIDPARAMETERVALUE_DUPLICATEDFIREWALLTEMPLATERULE = "InvalidParameterValue.DuplicatedFirewallTemplateRule" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" INVALIDPARAMETERVALUE_TOOSMALL = "InvalidParameterValue.TooSmall" RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ResetInstance ¶
func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)
ResetInstance 本接口(ResetInstance)用于重装指定实例上的镜像。
* 如果指定了 BlueprintId 参数,则使用指定的镜像重装;否则按照当前实例使用的镜像进行重装。
* 系统盘将会被格式化,并重置;请确保系统盘中无重要文件。
* 目前不支持实例使用该接口实现 LINUX_UNIX 和 WINDOWS 操作系统切换。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_BLUEPRINTCONFIGNOTMATCH = "InvalidParameterValue.BlueprintConfigNotMatch" INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_KEYPAIRNOTFOUND = "ResourceNotFound.KeyPairNotFound" RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable" UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"
func (*Client) ResetInstanceWithContext ¶ added in v1.0.324
func (c *Client) ResetInstanceWithContext(ctx context.Context, request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)
ResetInstance 本接口(ResetInstance)用于重装指定实例上的镜像。
* 如果指定了 BlueprintId 参数,则使用指定的镜像重装;否则按照当前实例使用的镜像进行重装。
* 系统盘将会被格式化,并重置;请确保系统盘中无重要文件。
* 目前不支持实例使用该接口实现 LINUX_UNIX 和 WINDOWS 操作系统切换。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_BLUEPRINTCONFIGNOTMATCH = "InvalidParameterValue.BlueprintConfigNotMatch" INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_KEYPAIRNOTFOUND = "ResourceNotFound.KeyPairNotFound" RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable" UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished" UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"
func (*Client) ResetInstancesPassword ¶
func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
ResetInstancesPassword 本接口(ResetInstancesPassword)用于将实例操作系统的密码重置为用户指定的密码。
* 只修改管理员账号的密码。实例的操作系统不同,管理员账号也会不一样(Windows 为 Administrator,Ubuntu 为 ubuntu ,其它系统为 root)。
* 支持批量操作。将多个实例操作系统的密码重置为相同的密码。每次请求批量实例的上限为 100。
* 建议对运行中的实例先手动关机,然后再进行密码重置。如实例处于运行中状态,本接口操作过程中会对实例进行关机操作,尝试正常关机失败后进行强制关机。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
注意:强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ResetInstancesPasswordWithContext ¶ added in v1.0.324
func (c *Client) ResetInstancesPasswordWithContext(ctx context.Context, request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)
ResetInstancesPassword 本接口(ResetInstancesPassword)用于将实例操作系统的密码重置为用户指定的密码。
* 只修改管理员账号的密码。实例的操作系统不同,管理员账号也会不一样(Windows 为 Administrator,Ubuntu 为 ubuntu ,其它系统为 root)。
* 支持批量操作。将多个实例操作系统的密码重置为相同的密码。每次请求批量实例的上限为 100。
* 建议对运行中的实例先手动关机,然后再进行密码重置。如实例处于运行中状态,本接口操作过程中会对实例进行关机操作,尝试正常关机失败后进行强制关机。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
注意:强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ResizeDisks ¶ added in v1.0.865
func (c *Client) ResizeDisks(request *ResizeDisksRequest) (response *ResizeDisksResponse, err error)
ResizeDisks 本接口(ResizeDisks)用于扩容云硬盘。该操作目前仅支持云硬盘类型为数据盘的云硬盘。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_RESIZEDISKSFAILED = "FailedOperation.ResizeDisksFailed" INVALIDPARAMETERVALUE_DISKSIZESMALLERTHANCURRENTDISKSIZE = "InvalidParameterValue.DiskSizeSmallerThanCurrentDiskSize" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKSIZE = "InvalidParameterValue.InvalidDiskSize" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_SAMEWITHOLDCONFIG = "UnsupportedOperation.SameWithOldConfig"
func (*Client) ResizeDisksWithContext ¶ added in v1.0.865
func (c *Client) ResizeDisksWithContext(ctx context.Context, request *ResizeDisksRequest) (response *ResizeDisksResponse, err error)
ResizeDisks 本接口(ResizeDisks)用于扩容云硬盘。该操作目前仅支持云硬盘类型为数据盘的云硬盘。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance" FAILEDOPERATION_RESIZEDISKSFAILED = "FailedOperation.ResizeDisksFailed" INVALIDPARAMETERVALUE_DISKSIZESMALLERTHANCURRENTDISKSIZE = "InvalidParameterValue.DiskSizeSmallerThanCurrentDiskSize" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" INVALIDPARAMETERVALUE_INVALIDDISKSIZE = "InvalidParameterValue.InvalidDiskSize" INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" RESOURCENOTFOUND_DISKNOTEXISTS = "ResourceNotFound.DiskNotExists" RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished" UNSUPPORTEDOPERATION_SAMEWITHOLDCONFIG = "UnsupportedOperation.SameWithOldConfig"
func (*Client) RestartDockerContainers ¶ added in v1.0.707
func (c *Client) RestartDockerContainers(request *RestartDockerContainersRequest) (response *RestartDockerContainersResponse, err error)
RestartDockerContainers 重启实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重启情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RestartDockerContainersWithContext ¶ added in v1.0.707
func (c *Client) RestartDockerContainersWithContext(ctx context.Context, request *RestartDockerContainersRequest) (response *RestartDockerContainersResponse, err error)
RestartDockerContainers 重启实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询重启情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RunDockerContainers ¶ added in v1.0.707
func (c *Client) RunDockerContainers(request *RunDockerContainersRequest) (response *RunDockerContainersResponse, err error)
RunDockerContainers 创建并运行多个Docker容器,之后可以通过返回的ActivityIds调用<a href="https://cloud.tencent.com/document/product/1207/95476" target="_blank">DescribeDockerActivities</a>接口查询创建情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) RunDockerContainersWithContext ¶ added in v1.0.707
func (c *Client) RunDockerContainersWithContext(ctx context.Context, request *RunDockerContainersRequest) (response *RunDockerContainersResponse, err error)
RunDockerContainers 创建并运行多个Docker容器,之后可以通过返回的ActivityIds调用<a href="https://cloud.tencent.com/document/product/1207/95476" target="_blank">DescribeDockerActivities</a>接口查询创建情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) ShareBlueprintAcrossAccounts ¶ added in v1.0.783
func (c *Client) ShareBlueprintAcrossAccounts(request *ShareBlueprintAcrossAccountsRequest) (response *ShareBlueprintAcrossAccountsResponse, err error)
ShareBlueprintAcrossAccounts 本接口(ShareBlueprintAcrossAccounts)用于跨账号共享镜像。
仅支持共享自定义镜像, 且用于共享的镜像状态必须为NORMAL。
共享的账号必须为主账号。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SHAREBLUEPRINTACROSSACCOUNTFAILED = "FailedOperation.ShareBlueprintAcrossAccountFailed" INVALIDPARAMETERVALUE_ACCOUNTIDINVALIDACCOUNTAREA = "InvalidParameterValue.AccountIdInvalidAccountArea" INVALIDPARAMETERVALUE_ACCOUNTIDSNOTEXIST = "InvalidParameterValue.AccountIdsNotExist" INVALIDPARAMETERVALUE_ACCOUNTIDSNOTOWNERACCOUNT = "InvalidParameterValue.AccountIdsNotOwnerAccount" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" LIMITEXCEEDED_SHAREBLUEPRINTACROSSACCOUNTQUOTALIMITEXCEEDED = "LimitExceeded.ShareBlueprintAcrossAccountQuotaLimitExceeded" OPERATIONDENIED_BLUEPRINTOPERATIONINPROGRESS = "OperationDenied.BlueprintOperationInProgress" RESOURCEINUSE_BLUEPRINTMODIFYINGSHAREPERMISSION = "ResourceInUse.BlueprintModifyingSharePermission" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid" UNSUPPORTEDOPERATION_BLUEPRINTALREADYSHARED = "UnsupportedOperation.BlueprintAlreadyShared" UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" UNSUPPORTEDOPERATION_BLUEPRINTLATESTOPERATIONUNFINISHED = "UnsupportedOperation.BlueprintLatestOperationUnfinished" UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied"
func (*Client) ShareBlueprintAcrossAccountsWithContext ¶ added in v1.0.783
func (c *Client) ShareBlueprintAcrossAccountsWithContext(ctx context.Context, request *ShareBlueprintAcrossAccountsRequest) (response *ShareBlueprintAcrossAccountsResponse, err error)
ShareBlueprintAcrossAccounts 本接口(ShareBlueprintAcrossAccounts)用于跨账号共享镜像。
仅支持共享自定义镜像, 且用于共享的镜像状态必须为NORMAL。
共享的账号必须为主账号。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SHAREBLUEPRINTACROSSACCOUNTFAILED = "FailedOperation.ShareBlueprintAcrossAccountFailed" INVALIDPARAMETERVALUE_ACCOUNTIDINVALIDACCOUNTAREA = "InvalidParameterValue.AccountIdInvalidAccountArea" INVALIDPARAMETERVALUE_ACCOUNTIDSNOTEXIST = "InvalidParameterValue.AccountIdsNotExist" INVALIDPARAMETERVALUE_ACCOUNTIDSNOTOWNERACCOUNT = "InvalidParameterValue.AccountIdsNotOwnerAccount" INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState" LIMITEXCEEDED_SHAREBLUEPRINTACROSSACCOUNTQUOTALIMITEXCEEDED = "LimitExceeded.ShareBlueprintAcrossAccountQuotaLimitExceeded" OPERATIONDENIED_BLUEPRINTOPERATIONINPROGRESS = "OperationDenied.BlueprintOperationInProgress" RESOURCEINUSE_BLUEPRINTMODIFYINGSHAREPERMISSION = "ResourceInUse.BlueprintModifyingSharePermission" RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid" UNSUPPORTEDOPERATION_BLUEPRINTALREADYSHARED = "UnsupportedOperation.BlueprintAlreadyShared" UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid" UNSUPPORTEDOPERATION_BLUEPRINTLATESTOPERATIONUNFINISHED = "UnsupportedOperation.BlueprintLatestOperationUnfinished" UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied"
func (*Client) StartDockerContainers ¶ added in v1.0.707
func (c *Client) StartDockerContainers(request *StartDockerContainersRequest) (response *StartDockerContainersResponse, err error)
StartDockerContainers 启动实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询启动情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) StartDockerContainersWithContext ¶ added in v1.0.707
func (c *Client) StartDockerContainersWithContext(ctx context.Context, request *StartDockerContainersRequest) (response *StartDockerContainersResponse, err error)
StartDockerContainers 启动实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询启动情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) StartInstances ¶
func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
StartInstances 本接口(StartInstances)用于启动一个或多个实例。
* 只有状态为 STOPPED 的实例才可以进行此操作。
* 接口调用成功时,实例会进入 STARTING 状态;启动实例成功时,实例会进入 RUNNING 状态。
* 支持批量操作。每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) StartInstancesWithContext ¶ added in v1.0.324
func (c *Client) StartInstancesWithContext(ctx context.Context, request *StartInstancesRequest) (response *StartInstancesResponse, err error)
StartInstances 本接口(StartInstances)用于启动一个或多个实例。
* 只有状态为 STOPPED 的实例才可以进行此操作。
* 接口调用成功时,实例会进入 STARTING 状态;启动实例成功时,实例会进入 RUNNING 状态。
* 支持批量操作。每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) StopDockerContainers ¶ added in v1.0.707
func (c *Client) StopDockerContainers(request *StopDockerContainersRequest) (response *StopDockerContainersResponse, err error)
StopDockerContainers 停止实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询停止情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) StopDockerContainersWithContext ¶ added in v1.0.707
func (c *Client) StopDockerContainersWithContext(ctx context.Context, request *StopDockerContainersRequest) (response *StopDockerContainersResponse, err error)
StopDockerContainers 停止实例内的Docker容器,之后可以通过返回的ActivityId调用[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口查询停止情况。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound" RESOURCEUNAVAILABLE_BLUEPRINTINVALID = "ResourceUnavailable.BlueprintInvalid" RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = "ResourceUnavailable.DockerUnavailable" RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = "ResourceUnavailable.TATAgentUnavailable" RESOURCEUNAVAILABLE_TATSERVICEERROR = "ResourceUnavailable.TATServiceError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) StopInstances ¶
func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
StopInstances 本接口(StopInstances)用于关闭一个或多个实例。
* 只有状态为 RUNNING 的实例才可以进行此操作。
* 接口调用成功时,实例会进入 STOPPING 状态;关闭实例成功时,实例会进入 STOPPED 状态。
* 支持批量操作。每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) StopInstancesWithContext ¶ added in v1.0.324
func (c *Client) StopInstancesWithContext(ctx context.Context, request *StopInstancesRequest) (response *StopInstancesResponse, err error)
StopInstances 本接口(StopInstances)用于关闭一个或多个实例。
* 只有状态为 RUNNING 的实例才可以进行此操作。
* 接口调用成功时,实例会进入 STOPPING 状态;关闭实例成功时,实例会进入 STOPPED 状态。
* 支持批量操作。每次请求批量实例的上限为 100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus" FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed" INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) TerminateDisks ¶ added in v1.0.314
func (c *Client) TerminateDisks(request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)
TerminateDisks 本接口(TerminateDisks)用于销毁一个或多个云硬盘。
可能返回的错误码:
FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
func (*Client) TerminateDisksWithContext ¶ added in v1.0.324
func (c *Client) TerminateDisksWithContext(ctx context.Context, request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)
TerminateDisks 本接口(TerminateDisks)用于销毁一个或多个云硬盘。
可能返回的错误码:
FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed" OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress" OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation" RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound" UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
func (*Client) TerminateInstances ¶
func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
TerminateInstances 本接口 (TerminateInstances) 用于销毁实例。
* 处于 SHUTDOWN 状态的实例,可通过本接口销毁,且不可恢复。
* 支持批量操作,每次请求批量实例的上限为100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态 (LatestOperationState) 为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
func (*Client) TerminateInstancesWithContext ¶ added in v1.0.324
func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)
TerminateInstances 本接口 (TerminateInstances) 用于销毁实例。
* 处于 SHUTDOWN 状态的实例,可通过本接口销毁,且不可恢复。
* 支持批量操作,每次请求批量实例的上限为100。
* 本接口为异步接口,请求发送成功后会返回一个 RequestId,此时操作并未立即完成。实例操作结果可以通过调用 <a href="https://cloud.tencent.com/document/product/1207/47573" target="_blank">DescribeInstances</a> 接口查询,如果实例的最新操作状态 (LatestOperationState) 为“SUCCESS”,则代表操作成功。
可能返回的错误码:
FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed" FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError" INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed" INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated" INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating" OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
type Command ¶ added in v1.0.872
type Command struct { // Base64编码后的命令内容,长度不可超过64KB。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 命令超时时间,默认60秒。取值范围[1, 86400]。 Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 命令执行路径,对于 SHELL 命令默认为 /root,对于 POWERSHELL 命令默认为 C:\Program Files\qcloud\tat_agent\workdir。 WorkingDirectory *string `json:"WorkingDirectory,omitnil,omitempty" name:"WorkingDirectory"` // 在 Lighthouse 实例中执行命令的用户名称。 // 默认情况下,在 Linux 实例中以 root 用户执行命令;在Windows 实例中以 System 用户执行命令。 Username *string `json:"Username,omitnil,omitempty" name:"Username"` }
type ContainerEnv ¶ added in v1.0.345
type CreateBlueprintRequest ¶
type CreateBlueprintRequest struct { *tchttp.BaseRequest // 镜像名称。最大长度60。 BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"` // 镜像描述。最大长度60。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 需要制作镜像的实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 是否执行强制关机以制作镜像。 // 取值范围: // True:表示关机之后制作镜像 // False:表示开机状态制作镜像 // 默认取值:True // 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。 ForcePowerOff *bool `json:"ForcePowerOff,omitnil,omitempty" name:"ForcePowerOff"` }
func NewCreateBlueprintRequest ¶
func NewCreateBlueprintRequest() (request *CreateBlueprintRequest)
func (*CreateBlueprintRequest) FromJsonString ¶
func (r *CreateBlueprintRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBlueprintRequest) ToJsonString ¶
func (r *CreateBlueprintRequest) ToJsonString() string
type CreateBlueprintRequestParams ¶ added in v1.0.426
type CreateBlueprintRequestParams struct { // 镜像名称。最大长度60。 BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"` // 镜像描述。最大长度60。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 需要制作镜像的实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 是否执行强制关机以制作镜像。 // 取值范围: // True:表示关机之后制作镜像 // False:表示开机状态制作镜像 // 默认取值:True // 开机状态制作镜像,可能导致部分数据未备份,影响数据安全。 ForcePowerOff *bool `json:"ForcePowerOff,omitnil,omitempty" name:"ForcePowerOff"` }
Predefined struct for user
type CreateBlueprintResponse ¶
type CreateBlueprintResponse struct { *tchttp.BaseResponse Response *CreateBlueprintResponseParams `json:"Response"` }
func NewCreateBlueprintResponse ¶
func NewCreateBlueprintResponse() (response *CreateBlueprintResponse)
func (*CreateBlueprintResponse) FromJsonString ¶
func (r *CreateBlueprintResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBlueprintResponse) ToJsonString ¶
func (r *CreateBlueprintResponse) ToJsonString() string
type CreateBlueprintResponseParams ¶ added in v1.0.426
type CreateBlueprintResponseParams struct { // 自定义镜像ID。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDiskBackupRequest ¶ added in v1.0.563
type CreateDiskBackupRequest struct { *tchttp.BaseRequest // 云硬盘ID,可通过 [DescribeDisks](https://cloud.tencent.com/document/api/1207/66093) 接口返回值中的 DiskId 获取。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 云硬盘备份点名称,最大长度为 90 。 DiskBackupName *string `json:"DiskBackupName,omitnil,omitempty" name:"DiskBackupName"` }
func NewCreateDiskBackupRequest ¶ added in v1.0.563
func NewCreateDiskBackupRequest() (request *CreateDiskBackupRequest)
func (*CreateDiskBackupRequest) FromJsonString ¶ added in v1.0.563
func (r *CreateDiskBackupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDiskBackupRequest) ToJsonString ¶ added in v1.0.563
func (r *CreateDiskBackupRequest) ToJsonString() string
type CreateDiskBackupRequestParams ¶ added in v1.0.563
type CreateDiskBackupRequestParams struct { // 云硬盘ID,可通过 [DescribeDisks](https://cloud.tencent.com/document/api/1207/66093) 接口返回值中的 DiskId 获取。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 云硬盘备份点名称,最大长度为 90 。 DiskBackupName *string `json:"DiskBackupName,omitnil,omitempty" name:"DiskBackupName"` }
Predefined struct for user
type CreateDiskBackupResponse ¶ added in v1.0.563
type CreateDiskBackupResponse struct { *tchttp.BaseResponse Response *CreateDiskBackupResponseParams `json:"Response"` }
func NewCreateDiskBackupResponse ¶ added in v1.0.563
func NewCreateDiskBackupResponse() (response *CreateDiskBackupResponse)
func (*CreateDiskBackupResponse) FromJsonString ¶ added in v1.0.563
func (r *CreateDiskBackupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDiskBackupResponse) ToJsonString ¶ added in v1.0.563
func (r *CreateDiskBackupResponse) ToJsonString() string
type CreateDiskBackupResponseParams ¶ added in v1.0.563
type CreateDiskBackupResponseParams struct { // 备份点ID。 DiskBackupId *string `json:"DiskBackupId,omitnil,omitempty" name:"DiskBackupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDisksRequest ¶ added in v1.0.652
type CreateDisksRequest struct { *tchttp.BaseRequest // 可用区。可通过[DescribeZones](https://cloud.tencent.com/document/product/1207/57513)返回值中的Zone获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 云硬盘大小, 单位: GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 云硬盘介质类型。取值: "CLOUD_PREMIUM"(高性能云盘), "CLOUD_SSD"(SSD云硬盘)。 DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 云硬盘包年包月相关参数设置。 DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitnil,omitempty" name:"DiskChargePrepaid"` // 云硬盘名称。最大长度60。 DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"` // 云硬盘个数。取值范围: [1, 30]。默认值: 1。 DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` // 指定云硬盘备份点配额,取值范围: [0, 500]。不传时默认为不带备份点配额。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` // 是否自动使用代金券。默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 自动挂载并初始化数据盘。 AutoMountConfiguration *AutoMountConfiguration `json:"AutoMountConfiguration,omitnil,omitempty" name:"AutoMountConfiguration"` }
func NewCreateDisksRequest ¶ added in v1.0.652
func NewCreateDisksRequest() (request *CreateDisksRequest)
func (*CreateDisksRequest) FromJsonString ¶ added in v1.0.652
func (r *CreateDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDisksRequest) ToJsonString ¶ added in v1.0.652
func (r *CreateDisksRequest) ToJsonString() string
type CreateDisksRequestParams ¶ added in v1.0.652
type CreateDisksRequestParams struct { // 可用区。可通过[DescribeZones](https://cloud.tencent.com/document/product/1207/57513)返回值中的Zone获取。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 云硬盘大小, 单位: GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 云硬盘介质类型。取值: "CLOUD_PREMIUM"(高性能云盘), "CLOUD_SSD"(SSD云硬盘)。 DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 云硬盘包年包月相关参数设置。 DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitnil,omitempty" name:"DiskChargePrepaid"` // 云硬盘名称。最大长度60。 DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"` // 云硬盘个数。取值范围: [1, 30]。默认值: 1。 DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` // 指定云硬盘备份点配额,取值范围: [0, 500]。不传时默认为不带备份点配额。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` // 是否自动使用代金券。默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 自动挂载并初始化数据盘。 AutoMountConfiguration *AutoMountConfiguration `json:"AutoMountConfiguration,omitnil,omitempty" name:"AutoMountConfiguration"` }
Predefined struct for user
type CreateDisksResponse ¶ added in v1.0.652
type CreateDisksResponse struct { *tchttp.BaseResponse Response *CreateDisksResponseParams `json:"Response"` }
func NewCreateDisksResponse ¶ added in v1.0.652
func NewCreateDisksResponse() (response *CreateDisksResponse)
func (*CreateDisksResponse) FromJsonString ¶ added in v1.0.652
func (r *CreateDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDisksResponse) ToJsonString ¶ added in v1.0.652
func (r *CreateDisksResponse) ToJsonString() string
type CreateDisksResponseParams ¶ added in v1.0.652
type CreateDisksResponseParams struct { // 当通过本接口来创建云硬盘时会返回该参数,表示一个或多个云硬盘ID。返回云硬盘ID列表并不代表云硬盘创建成功。 // // 可根据 [DescribeDisks](https://cloud.tencent.com/document/product/1207/66093) 接口查询返回的DiskSet中对应云硬盘的ID的状态来判断创建是否完成;如果云硬盘状态由“PENDING”变为“UNATTACHED”或“ATTACHED”,则为创建成功。 DiskIdSet []*string `json:"DiskIdSet,omitnil,omitempty" name:"DiskIdSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFirewallRulesRequest ¶
type CreateFirewallRulesRequest struct { *tchttp.BaseRequest // 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 防火墙规则列表。 FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"` // 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` }
func NewCreateFirewallRulesRequest ¶
func NewCreateFirewallRulesRequest() (request *CreateFirewallRulesRequest)
func (*CreateFirewallRulesRequest) FromJsonString ¶
func (r *CreateFirewallRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFirewallRulesRequest) ToJsonString ¶
func (r *CreateFirewallRulesRequest) ToJsonString() string
type CreateFirewallRulesRequestParams ¶ added in v1.0.426
type CreateFirewallRulesRequestParams struct { // 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 防火墙规则列表。 FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"` // 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` }
Predefined struct for user
type CreateFirewallRulesResponse ¶
type CreateFirewallRulesResponse struct { *tchttp.BaseResponse Response *CreateFirewallRulesResponseParams `json:"Response"` }
func NewCreateFirewallRulesResponse ¶
func NewCreateFirewallRulesResponse() (response *CreateFirewallRulesResponse)
func (*CreateFirewallRulesResponse) FromJsonString ¶
func (r *CreateFirewallRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFirewallRulesResponse) ToJsonString ¶
func (r *CreateFirewallRulesResponse) ToJsonString() string
type CreateFirewallRulesResponseParams ¶ added in v1.0.426
type CreateFirewallRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFirewallTemplateRequest ¶ added in v1.0.729
type CreateFirewallTemplateRequest struct { *tchttp.BaseRequest // 模板名称。 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 防火墙规则列表。 TemplateRules []*FirewallRule `json:"TemplateRules,omitnil,omitempty" name:"TemplateRules"` }
func NewCreateFirewallTemplateRequest ¶ added in v1.0.729
func NewCreateFirewallTemplateRequest() (request *CreateFirewallTemplateRequest)
func (*CreateFirewallTemplateRequest) FromJsonString ¶ added in v1.0.729
func (r *CreateFirewallTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFirewallTemplateRequest) ToJsonString ¶ added in v1.0.729
func (r *CreateFirewallTemplateRequest) ToJsonString() string
type CreateFirewallTemplateRequestParams ¶ added in v1.0.729
type CreateFirewallTemplateRequestParams struct { // 模板名称。 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 防火墙规则列表。 TemplateRules []*FirewallRule `json:"TemplateRules,omitnil,omitempty" name:"TemplateRules"` }
Predefined struct for user
type CreateFirewallTemplateResponse ¶ added in v1.0.729
type CreateFirewallTemplateResponse struct { *tchttp.BaseResponse Response *CreateFirewallTemplateResponseParams `json:"Response"` }
func NewCreateFirewallTemplateResponse ¶ added in v1.0.729
func NewCreateFirewallTemplateResponse() (response *CreateFirewallTemplateResponse)
func (*CreateFirewallTemplateResponse) FromJsonString ¶ added in v1.0.729
func (r *CreateFirewallTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFirewallTemplateResponse) ToJsonString ¶ added in v1.0.729
func (r *CreateFirewallTemplateResponse) ToJsonString() string
type CreateFirewallTemplateResponseParams ¶ added in v1.0.729
type CreateFirewallTemplateResponseParams struct { // 防火墙模板ID。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFirewallTemplateRulesRequest ¶ added in v1.0.729
type CreateFirewallTemplateRulesRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板规则列表。 TemplateRules []*FirewallRule `json:"TemplateRules,omitnil,omitempty" name:"TemplateRules"` }
func NewCreateFirewallTemplateRulesRequest ¶ added in v1.0.729
func NewCreateFirewallTemplateRulesRequest() (request *CreateFirewallTemplateRulesRequest)
func (*CreateFirewallTemplateRulesRequest) FromJsonString ¶ added in v1.0.729
func (r *CreateFirewallTemplateRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFirewallTemplateRulesRequest) ToJsonString ¶ added in v1.0.729
func (r *CreateFirewallTemplateRulesRequest) ToJsonString() string
type CreateFirewallTemplateRulesRequestParams ¶ added in v1.0.729
type CreateFirewallTemplateRulesRequestParams struct { // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板规则列表。 TemplateRules []*FirewallRule `json:"TemplateRules,omitnil,omitempty" name:"TemplateRules"` }
Predefined struct for user
type CreateFirewallTemplateRulesResponse ¶ added in v1.0.729
type CreateFirewallTemplateRulesResponse struct { *tchttp.BaseResponse Response *CreateFirewallTemplateRulesResponseParams `json:"Response"` }
func NewCreateFirewallTemplateRulesResponse ¶ added in v1.0.729
func NewCreateFirewallTemplateRulesResponse() (response *CreateFirewallTemplateRulesResponse)
func (*CreateFirewallTemplateRulesResponse) FromJsonString ¶ added in v1.0.729
func (r *CreateFirewallTemplateRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFirewallTemplateRulesResponse) ToJsonString ¶ added in v1.0.729
func (r *CreateFirewallTemplateRulesResponse) ToJsonString() string
type CreateFirewallTemplateRulesResponseParams ¶ added in v1.0.729
type CreateFirewallTemplateRulesResponseParams struct { // 规则ID列表。 TemplateRuleIdSet []*string `json:"TemplateRuleIdSet,omitnil,omitempty" name:"TemplateRuleIdSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateInstanceSnapshotRequest ¶
type CreateInstanceSnapshotRequest struct { *tchttp.BaseRequest // 需要创建快照的实例 ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/product/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 快照名称,最长为 60 个字符。 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` }
func NewCreateInstanceSnapshotRequest ¶
func NewCreateInstanceSnapshotRequest() (request *CreateInstanceSnapshotRequest)
func (*CreateInstanceSnapshotRequest) FromJsonString ¶
func (r *CreateInstanceSnapshotRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceSnapshotRequest) ToJsonString ¶
func (r *CreateInstanceSnapshotRequest) ToJsonString() string
type CreateInstanceSnapshotRequestParams ¶ added in v1.0.426
type CreateInstanceSnapshotRequestParams struct { // 需要创建快照的实例 ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/product/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 快照名称,最长为 60 个字符。 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` }
Predefined struct for user
type CreateInstanceSnapshotResponse ¶
type CreateInstanceSnapshotResponse struct { *tchttp.BaseResponse Response *CreateInstanceSnapshotResponseParams `json:"Response"` }
func NewCreateInstanceSnapshotResponse ¶
func NewCreateInstanceSnapshotResponse() (response *CreateInstanceSnapshotResponse)
func (*CreateInstanceSnapshotResponse) FromJsonString ¶
func (r *CreateInstanceSnapshotResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceSnapshotResponse) ToJsonString ¶
func (r *CreateInstanceSnapshotResponse) ToJsonString() string
type CreateInstanceSnapshotResponseParams ¶ added in v1.0.426
type CreateInstanceSnapshotResponseParams struct { // 快照 ID。 SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateInstancesRequest ¶ added in v1.0.345
type CreateInstancesRequest struct { *tchttp.BaseRequest // 套餐ID。可以通过调用 [DescribeBundles](https://cloud.tencent.com/document/api/1207/47575) 接口获取。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` // 镜像ID。可以通过调用 [DescribeBlueprints](https://cloud.tencent.com/document/api/1207/47689) 接口获取。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 当前实例仅支持预付费模式,即包年包月相关参数设置,单位(月)。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。该参数必传。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // 实例显示名称。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 购买实例数量。包年包月实例取值范围:[1,30]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 可用区列表。 // 不填此参数,表示为随机可用区。 Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` // 是否只预检此次请求。 // true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和库存。 // 如果检查不通过,则返回对应错误码; // 如果检查通过,则返回RequestId. // false(默认):发送正常请求,通过检查后直接创建实例 DryRun *bool `json:"DryRun,omitnil,omitempty" name:"DryRun"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // 实例登录密码信息配置。默认缺失情况下代表用户选择实例创建后设置登录密码。 LoginConfiguration *LoginConfiguration `json:"LoginConfiguration,omitnil,omitempty" name:"LoginConfiguration"` // 要创建的容器配置列表。 Containers []*DockerContainerConfiguration `json:"Containers,omitnil,omitempty" name:"Containers"` // 是否自动使用代金券。默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 防火墙模板ID。若不指定该参数,则使用默认防火墙策略。 FirewallTemplateId *string `json:"FirewallTemplateId,omitnil,omitempty" name:"FirewallTemplateId"` // 标签键和标签值。 // 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 // 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 // 如果标签不存在会为您自动创建标签。 // 数组最多支持10个元素。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 创建实例后自动执行的命令。 InitCommand *Command `json:"InitCommand,omitnil,omitempty" name:"InitCommand"` }
func NewCreateInstancesRequest ¶ added in v1.0.345
func NewCreateInstancesRequest() (request *CreateInstancesRequest)
func (*CreateInstancesRequest) FromJsonString ¶ added in v1.0.345
func (r *CreateInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstancesRequest) ToJsonString ¶ added in v1.0.345
func (r *CreateInstancesRequest) ToJsonString() string
type CreateInstancesRequestParams ¶ added in v1.0.426
type CreateInstancesRequestParams struct { // 套餐ID。可以通过调用 [DescribeBundles](https://cloud.tencent.com/document/api/1207/47575) 接口获取。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` // 镜像ID。可以通过调用 [DescribeBlueprints](https://cloud.tencent.com/document/api/1207/47689) 接口获取。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 当前实例仅支持预付费模式,即包年包月相关参数设置,单位(月)。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。该参数必传。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // 实例显示名称。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 购买实例数量。包年包月实例取值范围:[1,30]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量 InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 可用区列表。 // 不填此参数,表示为随机可用区。 Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` // 是否只预检此次请求。 // true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和库存。 // 如果检查不通过,则返回对应错误码; // 如果检查通过,则返回RequestId. // false(默认):发送正常请求,通过检查后直接创建实例 DryRun *bool `json:"DryRun,omitnil,omitempty" name:"DryRun"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // 实例登录密码信息配置。默认缺失情况下代表用户选择实例创建后设置登录密码。 LoginConfiguration *LoginConfiguration `json:"LoginConfiguration,omitnil,omitempty" name:"LoginConfiguration"` // 要创建的容器配置列表。 Containers []*DockerContainerConfiguration `json:"Containers,omitnil,omitempty" name:"Containers"` // 是否自动使用代金券。默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` // 防火墙模板ID。若不指定该参数,则使用默认防火墙策略。 FirewallTemplateId *string `json:"FirewallTemplateId,omitnil,omitempty" name:"FirewallTemplateId"` // 标签键和标签值。 // 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 // 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 // 如果标签不存在会为您自动创建标签。 // 数组最多支持10个元素。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 创建实例后自动执行的命令。 InitCommand *Command `json:"InitCommand,omitnil,omitempty" name:"InitCommand"` }
Predefined struct for user
type CreateInstancesResponse ¶ added in v1.0.345
type CreateInstancesResponse struct { *tchttp.BaseResponse Response *CreateInstancesResponseParams `json:"Response"` }
func NewCreateInstancesResponse ¶ added in v1.0.345
func NewCreateInstancesResponse() (response *CreateInstancesResponse)
func (*CreateInstancesResponse) FromJsonString ¶ added in v1.0.345
func (r *CreateInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstancesResponse) ToJsonString ¶ added in v1.0.345
func (r *CreateInstancesResponse) ToJsonString() string
type CreateInstancesResponseParams ¶ added in v1.0.426
type CreateInstancesResponseParams struct { // 当通过本接口来创建实例时会返回该参数,表示一个或多个实例ID。返回实例ID列表并不代表实例创建成功。 // // 可根据 DescribeInstances 接口查询返回的InstancesSet中对应实例的ID的状态来判断创建是否完成;如果实例状态由“启动中”变为“运行中”,则为创建成功。 InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateKeyPairRequest ¶
type CreateKeyPairRequest struct { *tchttp.BaseRequest // 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。 KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` }
func NewCreateKeyPairRequest ¶
func NewCreateKeyPairRequest() (request *CreateKeyPairRequest)
func (*CreateKeyPairRequest) FromJsonString ¶
func (r *CreateKeyPairRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKeyPairRequest) ToJsonString ¶
func (r *CreateKeyPairRequest) ToJsonString() string
type CreateKeyPairRequestParams ¶ added in v1.0.426
type CreateKeyPairRequestParams struct { // 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。 KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` }
Predefined struct for user
type CreateKeyPairResponse ¶
type CreateKeyPairResponse struct { *tchttp.BaseResponse Response *CreateKeyPairResponseParams `json:"Response"` }
func NewCreateKeyPairResponse ¶
func NewCreateKeyPairResponse() (response *CreateKeyPairResponse)
func (*CreateKeyPairResponse) FromJsonString ¶
func (r *CreateKeyPairResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKeyPairResponse) ToJsonString ¶
func (r *CreateKeyPairResponse) ToJsonString() string
type CreateKeyPairResponseParams ¶ added in v1.0.426
type CreateKeyPairResponseParams struct { // 密钥对信息。 KeyPair *KeyPair `json:"KeyPair,omitnil,omitempty" name:"KeyPair"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DataDiskPrice ¶ added in v1.0.272
type DataDiskPrice struct { // 云硬盘ID。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 云硬盘单价。 OriginalDiskPrice *float64 `json:"OriginalDiskPrice,omitnil,omitempty" name:"OriginalDiskPrice"` // 云硬盘总价。 OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // 折扣。 Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"` // 折后总价。 DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"` // 数据盘挂载的实例ID。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
type DeleteBlueprintsRequest ¶
type DeleteBlueprintsRequest struct { *tchttp.BaseRequest // 镜像ID列表。镜像ID,可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。 BlueprintIds []*string `json:"BlueprintIds,omitnil,omitempty" name:"BlueprintIds"` }
func NewDeleteBlueprintsRequest ¶
func NewDeleteBlueprintsRequest() (request *DeleteBlueprintsRequest)
func (*DeleteBlueprintsRequest) FromJsonString ¶
func (r *DeleteBlueprintsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBlueprintsRequest) ToJsonString ¶
func (r *DeleteBlueprintsRequest) ToJsonString() string
type DeleteBlueprintsRequestParams ¶ added in v1.0.426
type DeleteBlueprintsRequestParams struct { // 镜像ID列表。镜像ID,可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。 BlueprintIds []*string `json:"BlueprintIds,omitnil,omitempty" name:"BlueprintIds"` }
Predefined struct for user
type DeleteBlueprintsResponse ¶
type DeleteBlueprintsResponse struct { *tchttp.BaseResponse Response *DeleteBlueprintsResponseParams `json:"Response"` }
func NewDeleteBlueprintsResponse ¶
func NewDeleteBlueprintsResponse() (response *DeleteBlueprintsResponse)
func (*DeleteBlueprintsResponse) FromJsonString ¶
func (r *DeleteBlueprintsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBlueprintsResponse) ToJsonString ¶
func (r *DeleteBlueprintsResponse) ToJsonString() string
type DeleteBlueprintsResponseParams ¶ added in v1.0.426
type DeleteBlueprintsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDiskBackupsRequest ¶ added in v1.0.563
type DeleteDiskBackupsRequest struct { *tchttp.BaseRequest // 云硬盘备份点ID列表,可通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询。 DiskBackupIds []*string `json:"DiskBackupIds,omitnil,omitempty" name:"DiskBackupIds"` }
func NewDeleteDiskBackupsRequest ¶ added in v1.0.563
func NewDeleteDiskBackupsRequest() (request *DeleteDiskBackupsRequest)
func (*DeleteDiskBackupsRequest) FromJsonString ¶ added in v1.0.563
func (r *DeleteDiskBackupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDiskBackupsRequest) ToJsonString ¶ added in v1.0.563
func (r *DeleteDiskBackupsRequest) ToJsonString() string
type DeleteDiskBackupsRequestParams ¶ added in v1.0.563
type DeleteDiskBackupsRequestParams struct { // 云硬盘备份点ID列表,可通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询。 DiskBackupIds []*string `json:"DiskBackupIds,omitnil,omitempty" name:"DiskBackupIds"` }
Predefined struct for user
type DeleteDiskBackupsResponse ¶ added in v1.0.563
type DeleteDiskBackupsResponse struct { *tchttp.BaseResponse Response *DeleteDiskBackupsResponseParams `json:"Response"` }
func NewDeleteDiskBackupsResponse ¶ added in v1.0.563
func NewDeleteDiskBackupsResponse() (response *DeleteDiskBackupsResponse)
func (*DeleteDiskBackupsResponse) FromJsonString ¶ added in v1.0.563
func (r *DeleteDiskBackupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDiskBackupsResponse) ToJsonString ¶ added in v1.0.563
func (r *DeleteDiskBackupsResponse) ToJsonString() string
type DeleteDiskBackupsResponseParams ¶ added in v1.0.563
type DeleteDiskBackupsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteFirewallRulesRequest ¶
type DeleteFirewallRulesRequest struct { *tchttp.BaseRequest // 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 防火墙规则列表。 FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"` // 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` }
func NewDeleteFirewallRulesRequest ¶
func NewDeleteFirewallRulesRequest() (request *DeleteFirewallRulesRequest)
func (*DeleteFirewallRulesRequest) FromJsonString ¶
func (r *DeleteFirewallRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirewallRulesRequest) ToJsonString ¶
func (r *DeleteFirewallRulesRequest) ToJsonString() string
type DeleteFirewallRulesRequestParams ¶ added in v1.0.426
type DeleteFirewallRulesRequestParams struct { // 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 防火墙规则列表。 FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"` // 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` }
Predefined struct for user
type DeleteFirewallRulesResponse ¶
type DeleteFirewallRulesResponse struct { *tchttp.BaseResponse Response *DeleteFirewallRulesResponseParams `json:"Response"` }
func NewDeleteFirewallRulesResponse ¶
func NewDeleteFirewallRulesResponse() (response *DeleteFirewallRulesResponse)
func (*DeleteFirewallRulesResponse) FromJsonString ¶
func (r *DeleteFirewallRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirewallRulesResponse) ToJsonString ¶
func (r *DeleteFirewallRulesResponse) ToJsonString() string
type DeleteFirewallRulesResponseParams ¶ added in v1.0.426
type DeleteFirewallRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteFirewallTemplateRequest ¶ added in v1.0.729
type DeleteFirewallTemplateRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
func NewDeleteFirewallTemplateRequest ¶ added in v1.0.729
func NewDeleteFirewallTemplateRequest() (request *DeleteFirewallTemplateRequest)
func (*DeleteFirewallTemplateRequest) FromJsonString ¶ added in v1.0.729
func (r *DeleteFirewallTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirewallTemplateRequest) ToJsonString ¶ added in v1.0.729
func (r *DeleteFirewallTemplateRequest) ToJsonString() string
type DeleteFirewallTemplateRequestParams ¶ added in v1.0.729
type DeleteFirewallTemplateRequestParams struct { // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteFirewallTemplateResponse ¶ added in v1.0.729
type DeleteFirewallTemplateResponse struct { *tchttp.BaseResponse Response *DeleteFirewallTemplateResponseParams `json:"Response"` }
func NewDeleteFirewallTemplateResponse ¶ added in v1.0.729
func NewDeleteFirewallTemplateResponse() (response *DeleteFirewallTemplateResponse)
func (*DeleteFirewallTemplateResponse) FromJsonString ¶ added in v1.0.729
func (r *DeleteFirewallTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirewallTemplateResponse) ToJsonString ¶ added in v1.0.729
func (r *DeleteFirewallTemplateResponse) ToJsonString() string
type DeleteFirewallTemplateResponseParams ¶ added in v1.0.729
type DeleteFirewallTemplateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteFirewallTemplateRulesRequest ¶ added in v1.0.729
type DeleteFirewallTemplateRulesRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板规则ID列表。可通过[DescribeFirewallTemplateRules](https://cloud.tencent.com/document/product/1207/96875)接口返回值字段TemplateRuleSet获取。 TemplateRuleIds []*string `json:"TemplateRuleIds,omitnil,omitempty" name:"TemplateRuleIds"` }
func NewDeleteFirewallTemplateRulesRequest ¶ added in v1.0.729
func NewDeleteFirewallTemplateRulesRequest() (request *DeleteFirewallTemplateRulesRequest)
func (*DeleteFirewallTemplateRulesRequest) FromJsonString ¶ added in v1.0.729
func (r *DeleteFirewallTemplateRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirewallTemplateRulesRequest) ToJsonString ¶ added in v1.0.729
func (r *DeleteFirewallTemplateRulesRequest) ToJsonString() string
type DeleteFirewallTemplateRulesRequestParams ¶ added in v1.0.729
type DeleteFirewallTemplateRulesRequestParams struct { // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板规则ID列表。可通过[DescribeFirewallTemplateRules](https://cloud.tencent.com/document/product/1207/96875)接口返回值字段TemplateRuleSet获取。 TemplateRuleIds []*string `json:"TemplateRuleIds,omitnil,omitempty" name:"TemplateRuleIds"` }
Predefined struct for user
type DeleteFirewallTemplateRulesResponse ¶ added in v1.0.729
type DeleteFirewallTemplateRulesResponse struct { *tchttp.BaseResponse Response *DeleteFirewallTemplateRulesResponseParams `json:"Response"` }
func NewDeleteFirewallTemplateRulesResponse ¶ added in v1.0.729
func NewDeleteFirewallTemplateRulesResponse() (response *DeleteFirewallTemplateRulesResponse)
func (*DeleteFirewallTemplateRulesResponse) FromJsonString ¶ added in v1.0.729
func (r *DeleteFirewallTemplateRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirewallTemplateRulesResponse) ToJsonString ¶ added in v1.0.729
func (r *DeleteFirewallTemplateRulesResponse) ToJsonString() string
type DeleteFirewallTemplateRulesResponseParams ¶ added in v1.0.729
type DeleteFirewallTemplateRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteKeyPairsRequest ¶
type DeleteKeyPairsRequest struct { *tchttp.BaseRequest // 密钥对 ID 列表,每次请求批量密钥对的上限为 10。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` }
func NewDeleteKeyPairsRequest ¶
func NewDeleteKeyPairsRequest() (request *DeleteKeyPairsRequest)
func (*DeleteKeyPairsRequest) FromJsonString ¶
func (r *DeleteKeyPairsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteKeyPairsRequest) ToJsonString ¶
func (r *DeleteKeyPairsRequest) ToJsonString() string
type DeleteKeyPairsRequestParams ¶ added in v1.0.426
type DeleteKeyPairsRequestParams struct { // 密钥对 ID 列表,每次请求批量密钥对的上限为 10。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` }
Predefined struct for user
type DeleteKeyPairsResponse ¶
type DeleteKeyPairsResponse struct { *tchttp.BaseResponse Response *DeleteKeyPairsResponseParams `json:"Response"` }
func NewDeleteKeyPairsResponse ¶
func NewDeleteKeyPairsResponse() (response *DeleteKeyPairsResponse)
func (*DeleteKeyPairsResponse) FromJsonString ¶
func (r *DeleteKeyPairsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteKeyPairsResponse) ToJsonString ¶
func (r *DeleteKeyPairsResponse) ToJsonString() string
type DeleteKeyPairsResponseParams ¶ added in v1.0.426
type DeleteKeyPairsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSnapshotsRequest ¶
type DeleteSnapshotsRequest struct { *tchttp.BaseRequest // 要删除的快照 ID 列表,可通过 <a href="https://cloud.tencent.com/document/product/1207/54388" target="_blank">DescribeSnapshots</a>查询。 SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` }
func NewDeleteSnapshotsRequest ¶
func NewDeleteSnapshotsRequest() (request *DeleteSnapshotsRequest)
func (*DeleteSnapshotsRequest) FromJsonString ¶
func (r *DeleteSnapshotsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSnapshotsRequest) ToJsonString ¶
func (r *DeleteSnapshotsRequest) ToJsonString() string
type DeleteSnapshotsRequestParams ¶ added in v1.0.426
type DeleteSnapshotsRequestParams struct { // 要删除的快照 ID 列表,可通过 <a href="https://cloud.tencent.com/document/product/1207/54388" target="_blank">DescribeSnapshots</a>查询。 SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` }
Predefined struct for user
type DeleteSnapshotsResponse ¶
type DeleteSnapshotsResponse struct { *tchttp.BaseResponse Response *DeleteSnapshotsResponseParams `json:"Response"` }
func NewDeleteSnapshotsResponse ¶
func NewDeleteSnapshotsResponse() (response *DeleteSnapshotsResponse)
func (*DeleteSnapshotsResponse) FromJsonString ¶
func (r *DeleteSnapshotsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSnapshotsResponse) ToJsonString ¶
func (r *DeleteSnapshotsResponse) ToJsonString() string
type DeleteSnapshotsResponseParams ¶ added in v1.0.426
type DeleteSnapshotsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeniedAction ¶
type DescribeAllScenesRequest ¶ added in v1.0.548
type DescribeAllScenesRequest struct { *tchttp.BaseRequest // 使用场景ID列表。可通过[DescribeAllScenes](https://cloud.tencent.com/document/product/1207/83513)接口返回值中的SceneId获取。 SceneIds []*string `json:"SceneIds,omitnil,omitempty" name:"SceneIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeAllScenesRequest ¶ added in v1.0.548
func NewDescribeAllScenesRequest() (request *DescribeAllScenesRequest)
func (*DescribeAllScenesRequest) FromJsonString ¶ added in v1.0.548
func (r *DescribeAllScenesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllScenesRequest) ToJsonString ¶ added in v1.0.548
func (r *DescribeAllScenesRequest) ToJsonString() string
type DescribeAllScenesRequestParams ¶ added in v1.0.548
type DescribeAllScenesRequestParams struct { // 使用场景ID列表。可通过[DescribeAllScenes](https://cloud.tencent.com/document/product/1207/83513)接口返回值中的SceneId获取。 SceneIds []*string `json:"SceneIds,omitnil,omitempty" name:"SceneIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAllScenesResponse ¶ added in v1.0.548
type DescribeAllScenesResponse struct { *tchttp.BaseResponse Response *DescribeAllScenesResponseParams `json:"Response"` }
func NewDescribeAllScenesResponse ¶ added in v1.0.548
func NewDescribeAllScenesResponse() (response *DescribeAllScenesResponse)
func (*DescribeAllScenesResponse) FromJsonString ¶ added in v1.0.548
func (r *DescribeAllScenesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllScenesResponse) ToJsonString ¶ added in v1.0.548
func (r *DescribeAllScenesResponse) ToJsonString() string
type DescribeAllScenesResponseParams ¶ added in v1.0.548
type DescribeAllScenesResponseParams struct { // 使用场景详细信息列表。 SceneInfoSet []*SceneInfo `json:"SceneInfoSet,omitnil,omitempty" name:"SceneInfoSet"` // 使用场景详细信息总数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlueprintInstancesRequest ¶
type DescribeBlueprintInstancesRequest struct { *tchttp.BaseRequest // 实例 ID 列表,当前最多支持 1 个。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDescribeBlueprintInstancesRequest ¶
func NewDescribeBlueprintInstancesRequest() (request *DescribeBlueprintInstancesRequest)
func (*DescribeBlueprintInstancesRequest) FromJsonString ¶
func (r *DescribeBlueprintInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlueprintInstancesRequest) ToJsonString ¶
func (r *DescribeBlueprintInstancesRequest) ToJsonString() string
type DescribeBlueprintInstancesRequestParams ¶ added in v1.0.426
type DescribeBlueprintInstancesRequestParams struct { // 实例 ID 列表,当前最多支持 1 个。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeBlueprintInstancesResponse ¶
type DescribeBlueprintInstancesResponse struct { *tchttp.BaseResponse Response *DescribeBlueprintInstancesResponseParams `json:"Response"` }
func NewDescribeBlueprintInstancesResponse ¶
func NewDescribeBlueprintInstancesResponse() (response *DescribeBlueprintInstancesResponse)
func (*DescribeBlueprintInstancesResponse) FromJsonString ¶
func (r *DescribeBlueprintInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlueprintInstancesResponse) ToJsonString ¶
func (r *DescribeBlueprintInstancesResponse) ToJsonString() string
type DescribeBlueprintInstancesResponseParams ¶ added in v1.0.426
type DescribeBlueprintInstancesResponseParams struct { // 符合条件的镜像实例数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 镜像实例列表信息。 BlueprintInstanceSet []*BlueprintInstance `json:"BlueprintInstanceSet,omitnil,omitempty" name:"BlueprintInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlueprintsRequest ¶
type DescribeBlueprintsRequest struct { *tchttp.BaseRequest // 镜像 ID 列表。 BlueprintIds []*string `json:"BlueprintIds,omitnil,omitempty" name:"BlueprintIds"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤器列表。 // <li>blueprint-id</li>按照【镜像 ID】进行过滤。 // 类型:String // 必选:否 // <li>blueprint-type</li>按照【镜像类型】进行过滤。 // 取值:APP_OS(应用镜像 );PURE_OS(系统镜像);DOCKER(Docker容器镜像);PRIVATE(自定义镜像);SHARED(共享镜像)。 // 类型:String // 必选:否 // <li>platform-type</li>按照【镜像平台类型】进行过滤。 // 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。 // 类型:String // 必选:否 // <li>blueprint-name</li>按照【镜像名称】进行过滤。 // 类型:String // 必选:否 // <li>blueprint-state</li>按照【镜像状态】进行过滤。 // 类型:String // 必选:否 // <li>scene-id</li>按照【使用场景Id】进行过滤。 // 类型:String // 必选:否 // // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 BlueprintIds 和 Filters 。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeBlueprintsRequest ¶
func NewDescribeBlueprintsRequest() (request *DescribeBlueprintsRequest)
func (*DescribeBlueprintsRequest) FromJsonString ¶
func (r *DescribeBlueprintsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlueprintsRequest) ToJsonString ¶
func (r *DescribeBlueprintsRequest) ToJsonString() string
type DescribeBlueprintsRequestParams ¶ added in v1.0.426
type DescribeBlueprintsRequestParams struct { // 镜像 ID 列表。 BlueprintIds []*string `json:"BlueprintIds,omitnil,omitempty" name:"BlueprintIds"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤器列表。 // <li>blueprint-id</li>按照【镜像 ID】进行过滤。 // 类型:String // 必选:否 // <li>blueprint-type</li>按照【镜像类型】进行过滤。 // 取值:APP_OS(应用镜像 );PURE_OS(系统镜像);DOCKER(Docker容器镜像);PRIVATE(自定义镜像);SHARED(共享镜像)。 // 类型:String // 必选:否 // <li>platform-type</li>按照【镜像平台类型】进行过滤。 // 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。 // 类型:String // 必选:否 // <li>blueprint-name</li>按照【镜像名称】进行过滤。 // 类型:String // 必选:否 // <li>blueprint-state</li>按照【镜像状态】进行过滤。 // 类型:String // 必选:否 // <li>scene-id</li>按照【使用场景Id】进行过滤。 // 类型:String // 必选:否 // // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 BlueprintIds 和 Filters 。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeBlueprintsResponse ¶
type DescribeBlueprintsResponse struct { *tchttp.BaseResponse Response *DescribeBlueprintsResponseParams `json:"Response"` }
func NewDescribeBlueprintsResponse ¶
func NewDescribeBlueprintsResponse() (response *DescribeBlueprintsResponse)
func (*DescribeBlueprintsResponse) FromJsonString ¶
func (r *DescribeBlueprintsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlueprintsResponse) ToJsonString ¶
func (r *DescribeBlueprintsResponse) ToJsonString() string
type DescribeBlueprintsResponseParams ¶ added in v1.0.426
type DescribeBlueprintsResponseParams struct { // 符合条件的镜像数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 镜像详细信息列表。 BlueprintSet []*Blueprint `json:"BlueprintSet,omitnil,omitempty" name:"BlueprintSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBundleDiscountRequest ¶
type DescribeBundleDiscountRequest struct { *tchttp.BaseRequest // 套餐 ID。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` }
func NewDescribeBundleDiscountRequest ¶
func NewDescribeBundleDiscountRequest() (request *DescribeBundleDiscountRequest)
func (*DescribeBundleDiscountRequest) FromJsonString ¶
func (r *DescribeBundleDiscountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBundleDiscountRequest) ToJsonString ¶
func (r *DescribeBundleDiscountRequest) ToJsonString() string
type DescribeBundleDiscountRequestParams ¶ added in v1.0.426
type DescribeBundleDiscountRequestParams struct { // 套餐 ID。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` }
Predefined struct for user
type DescribeBundleDiscountResponse ¶
type DescribeBundleDiscountResponse struct { *tchttp.BaseResponse Response *DescribeBundleDiscountResponseParams `json:"Response"` }
func NewDescribeBundleDiscountResponse ¶
func NewDescribeBundleDiscountResponse() (response *DescribeBundleDiscountResponse)
func (*DescribeBundleDiscountResponse) FromJsonString ¶
func (r *DescribeBundleDiscountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBundleDiscountResponse) ToJsonString ¶
func (r *DescribeBundleDiscountResponse) ToJsonString() string
type DescribeBundleDiscountResponseParams ¶ added in v1.0.426
type DescribeBundleDiscountResponseParams struct { // 币种:CNY人民币,USD 美元。 Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 DiscountDetail []*DiscountDetail `json:"DiscountDetail,omitnil,omitempty" name:"DiscountDetail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBundlesRequest ¶
type DescribeBundlesRequest struct { *tchttp.BaseRequest // 套餐 ID 列表。 BundleIds []*string `json:"BundleIds,omitnil,omitempty" name:"BundleIds"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤器列表。 // <li>bundle-id</li>按照【套餐 ID】进行过滤。 // 类型:String // 必选:否 // <li>support-platform-type</li>按照【系统类型】进行过滤。 // 取值: LINUX_UNIX(Linux/Unix系统) ;WINDOWS(Windows 系统) // 类型:String // 必选:否 // <li>bundle-type</li>按照 【套餐类型进行过滤】。 // 取值:GENERAL_BUNDLE (通用型套餐); STORAGE_BUNDLE(存储型套餐);ENTERPRISE_BUNDLE( 企业型套餐);EXCLUSIVE_BUNDLE(专属型套餐);BEFAST_BUNDLE(蜂驰型套餐);STARTER_BUNDLE(入门型套餐);CAREFREE_BUNDLE(无忧型套餐); // 类型:String // 必选:否 // <li>bundle-state</li>按照【套餐状态】进行过滤。 // 取值: ONLINE(在线); OFFLINE(下线); // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BundleIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 可用区列表。默认为全部可用区。 Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` }
func NewDescribeBundlesRequest ¶
func NewDescribeBundlesRequest() (request *DescribeBundlesRequest)
func (*DescribeBundlesRequest) FromJsonString ¶
func (r *DescribeBundlesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBundlesRequest) ToJsonString ¶
func (r *DescribeBundlesRequest) ToJsonString() string
type DescribeBundlesRequestParams ¶ added in v1.0.426
type DescribeBundlesRequestParams struct { // 套餐 ID 列表。 BundleIds []*string `json:"BundleIds,omitnil,omitempty" name:"BundleIds"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤器列表。 // <li>bundle-id</li>按照【套餐 ID】进行过滤。 // 类型:String // 必选:否 // <li>support-platform-type</li>按照【系统类型】进行过滤。 // 取值: LINUX_UNIX(Linux/Unix系统) ;WINDOWS(Windows 系统) // 类型:String // 必选:否 // <li>bundle-type</li>按照 【套餐类型进行过滤】。 // 取值:GENERAL_BUNDLE (通用型套餐); STORAGE_BUNDLE(存储型套餐);ENTERPRISE_BUNDLE( 企业型套餐);EXCLUSIVE_BUNDLE(专属型套餐);BEFAST_BUNDLE(蜂驰型套餐);STARTER_BUNDLE(入门型套餐);CAREFREE_BUNDLE(无忧型套餐); // 类型:String // 必选:否 // <li>bundle-state</li>按照【套餐状态】进行过滤。 // 取值: ONLINE(在线); OFFLINE(下线); // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BundleIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 可用区列表。默认为全部可用区。 Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` }
Predefined struct for user
type DescribeBundlesResponse ¶
type DescribeBundlesResponse struct { *tchttp.BaseResponse Response *DescribeBundlesResponseParams `json:"Response"` }
func NewDescribeBundlesResponse ¶
func NewDescribeBundlesResponse() (response *DescribeBundlesResponse)
func (*DescribeBundlesResponse) FromJsonString ¶
func (r *DescribeBundlesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBundlesResponse) ToJsonString ¶
func (r *DescribeBundlesResponse) ToJsonString() string
type DescribeBundlesResponseParams ¶ added in v1.0.426
type DescribeBundlesResponseParams struct { // 套餐详细信息列表。 BundleSet []*Bundle `json:"BundleSet,omitnil,omitempty" name:"BundleSet"` // 符合要求的套餐总数,用于分页展示。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCcnAttachedInstancesRequest ¶ added in v1.0.211
type DescribeCcnAttachedInstancesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCcnAttachedInstancesRequest ¶ added in v1.0.211
func NewDescribeCcnAttachedInstancesRequest() (request *DescribeCcnAttachedInstancesRequest)
func (*DescribeCcnAttachedInstancesRequest) FromJsonString ¶ added in v1.0.211
func (r *DescribeCcnAttachedInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCcnAttachedInstancesRequest) ToJsonString ¶ added in v1.0.211
func (r *DescribeCcnAttachedInstancesRequest) ToJsonString() string
type DescribeCcnAttachedInstancesRequestParams ¶ added in v1.0.426
type DescribeCcnAttachedInstancesRequestParams struct { }
Predefined struct for user
type DescribeCcnAttachedInstancesResponse ¶ added in v1.0.211
type DescribeCcnAttachedInstancesResponse struct { *tchttp.BaseResponse Response *DescribeCcnAttachedInstancesResponseParams `json:"Response"` }
func NewDescribeCcnAttachedInstancesResponse ¶ added in v1.0.211
func NewDescribeCcnAttachedInstancesResponse() (response *DescribeCcnAttachedInstancesResponse)
func (*DescribeCcnAttachedInstancesResponse) FromJsonString ¶ added in v1.0.211
func (r *DescribeCcnAttachedInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCcnAttachedInstancesResponse) ToJsonString ¶ added in v1.0.211
func (r *DescribeCcnAttachedInstancesResponse) ToJsonString() string
type DescribeCcnAttachedInstancesResponseParams ¶ added in v1.0.426
type DescribeCcnAttachedInstancesResponseParams struct { // 云联网关联的实例列表。 // 注意:此字段可能返回 null,表示取不到有效值。 CcnAttachedInstanceSet []*CcnAttachedInstance `json:"CcnAttachedInstanceSet,omitnil,omitempty" name:"CcnAttachedInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDiskBackupsDeniedActionsRequest ¶ added in v1.0.563
type DescribeDiskBackupsDeniedActionsRequest struct { *tchttp.BaseRequest // 云硬盘备份点 ID 列表, 可通过<a href="https://cloud.tencent.com/document/product/1207/84379" target="_blank">DescribeDiskBackups</a>接口查询。 DiskBackupIds []*string `json:"DiskBackupIds,omitnil,omitempty" name:"DiskBackupIds"` }
func NewDescribeDiskBackupsDeniedActionsRequest ¶ added in v1.0.563
func NewDescribeDiskBackupsDeniedActionsRequest() (request *DescribeDiskBackupsDeniedActionsRequest)
func (*DescribeDiskBackupsDeniedActionsRequest) FromJsonString ¶ added in v1.0.563
func (r *DescribeDiskBackupsDeniedActionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiskBackupsDeniedActionsRequest) ToJsonString ¶ added in v1.0.563
func (r *DescribeDiskBackupsDeniedActionsRequest) ToJsonString() string
type DescribeDiskBackupsDeniedActionsRequestParams ¶ added in v1.0.563
type DescribeDiskBackupsDeniedActionsRequestParams struct { // 云硬盘备份点 ID 列表, 可通过<a href="https://cloud.tencent.com/document/product/1207/84379" target="_blank">DescribeDiskBackups</a>接口查询。 DiskBackupIds []*string `json:"DiskBackupIds,omitnil,omitempty" name:"DiskBackupIds"` }
Predefined struct for user
type DescribeDiskBackupsDeniedActionsResponse ¶ added in v1.0.563
type DescribeDiskBackupsDeniedActionsResponse struct { *tchttp.BaseResponse Response *DescribeDiskBackupsDeniedActionsResponseParams `json:"Response"` }
func NewDescribeDiskBackupsDeniedActionsResponse ¶ added in v1.0.563
func NewDescribeDiskBackupsDeniedActionsResponse() (response *DescribeDiskBackupsDeniedActionsResponse)
func (*DescribeDiskBackupsDeniedActionsResponse) FromJsonString ¶ added in v1.0.563
func (r *DescribeDiskBackupsDeniedActionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiskBackupsDeniedActionsResponse) ToJsonString ¶ added in v1.0.563
func (r *DescribeDiskBackupsDeniedActionsResponse) ToJsonString() string
type DescribeDiskBackupsDeniedActionsResponseParams ¶ added in v1.0.563
type DescribeDiskBackupsDeniedActionsResponseParams struct { // 云硬盘备份点操作限制列表详细信息。 DiskBackupDeniedActionSet []*DiskBackupDeniedActions `json:"DiskBackupDeniedActionSet,omitnil,omitempty" name:"DiskBackupDeniedActionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDiskBackupsRequest ¶ added in v1.0.563
type DescribeDiskBackupsRequest struct { *tchttp.BaseRequest // 查询的云硬盘备份点ID列表。最大支持 100 个。参数不支持同时指定 DiskBackupIds 和 Filters。 DiskBackupIds []*string `json:"DiskBackupIds,omitnil,omitempty" name:"DiskBackupIds"` // 过滤器列表。 // <li>disk-backup-id</li>按照【云硬盘备份点 ID】进行过滤。 // 类型:String // 必选:否 // <li>disk-id</li>按照【云硬盘 ID】进行过滤。 // 类型:String // 必选:否 // <li>disk-backup-state</li>按照【云硬盘备份点状态】进行过滤。 // 类型:String // 必选:否 // 取值:参考数据结构 // <a href="https://cloud.tencent.com/document/product/1207/47576#DiskBackup">DescribeSnapshots</a> 下的DiskBackupState取值。 // <li>disk-usage</li>按照【云硬盘类型】进行过滤。 // 类型:String // 必选:否 // 取值:SYSTEM_DISK或DATA_DISK // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为5。参数不支持同时指定DiskBackupIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeDiskBackupsRequest ¶ added in v1.0.563
func NewDescribeDiskBackupsRequest() (request *DescribeDiskBackupsRequest)
func (*DescribeDiskBackupsRequest) FromJsonString ¶ added in v1.0.563
func (r *DescribeDiskBackupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiskBackupsRequest) ToJsonString ¶ added in v1.0.563
func (r *DescribeDiskBackupsRequest) ToJsonString() string
type DescribeDiskBackupsRequestParams ¶ added in v1.0.563
type DescribeDiskBackupsRequestParams struct { // 查询的云硬盘备份点ID列表。最大支持 100 个。参数不支持同时指定 DiskBackupIds 和 Filters。 DiskBackupIds []*string `json:"DiskBackupIds,omitnil,omitempty" name:"DiskBackupIds"` // 过滤器列表。 // <li>disk-backup-id</li>按照【云硬盘备份点 ID】进行过滤。 // 类型:String // 必选:否 // <li>disk-id</li>按照【云硬盘 ID】进行过滤。 // 类型:String // 必选:否 // <li>disk-backup-state</li>按照【云硬盘备份点状态】进行过滤。 // 类型:String // 必选:否 // 取值:参考数据结构 // <a href="https://cloud.tencent.com/document/product/1207/47576#DiskBackup">DescribeSnapshots</a> 下的DiskBackupState取值。 // <li>disk-usage</li>按照【云硬盘类型】进行过滤。 // 类型:String // 必选:否 // 取值:SYSTEM_DISK或DATA_DISK // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为5。参数不支持同时指定DiskBackupIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeDiskBackupsResponse ¶ added in v1.0.563
type DescribeDiskBackupsResponse struct { *tchttp.BaseResponse Response *DescribeDiskBackupsResponseParams `json:"Response"` }
func NewDescribeDiskBackupsResponse ¶ added in v1.0.563
func NewDescribeDiskBackupsResponse() (response *DescribeDiskBackupsResponse)
func (*DescribeDiskBackupsResponse) FromJsonString ¶ added in v1.0.563
func (r *DescribeDiskBackupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiskBackupsResponse) ToJsonString ¶ added in v1.0.563
func (r *DescribeDiskBackupsResponse) ToJsonString() string
type DescribeDiskBackupsResponseParams ¶ added in v1.0.563
type DescribeDiskBackupsResponseParams struct { // 云硬盘备份点的数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 云硬盘备份点信息列表。 DiskBackupSet []*DiskBackup `json:"DiskBackupSet,omitnil,omitempty" name:"DiskBackupSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDiskConfigsRequest ¶ added in v1.0.314
type DescribeDiskConfigsRequest struct { *tchttp.BaseRequest // 过滤器列表。 // <li>zone</li>按照【可用区】进行过滤。 // 类型:String // 必选:否 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeDiskConfigsRequest ¶ added in v1.0.314
func NewDescribeDiskConfigsRequest() (request *DescribeDiskConfigsRequest)
func (*DescribeDiskConfigsRequest) FromJsonString ¶ added in v1.0.314
func (r *DescribeDiskConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiskConfigsRequest) ToJsonString ¶ added in v1.0.314
func (r *DescribeDiskConfigsRequest) ToJsonString() string
type DescribeDiskConfigsRequestParams ¶ added in v1.0.426
type DescribeDiskConfigsRequestParams struct { // 过滤器列表。 // <li>zone</li>按照【可用区】进行过滤。 // 类型:String // 必选:否 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeDiskConfigsResponse ¶ added in v1.0.314
type DescribeDiskConfigsResponse struct { *tchttp.BaseResponse Response *DescribeDiskConfigsResponseParams `json:"Response"` }
func NewDescribeDiskConfigsResponse ¶ added in v1.0.314
func NewDescribeDiskConfigsResponse() (response *DescribeDiskConfigsResponse)
func (*DescribeDiskConfigsResponse) FromJsonString ¶ added in v1.0.314
func (r *DescribeDiskConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiskConfigsResponse) ToJsonString ¶ added in v1.0.314
func (r *DescribeDiskConfigsResponse) ToJsonString() string
type DescribeDiskConfigsResponseParams ¶ added in v1.0.426
type DescribeDiskConfigsResponseParams struct { // 云硬盘配置列表。 DiskConfigSet []*DiskConfig `json:"DiskConfigSet,omitnil,omitempty" name:"DiskConfigSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDiskDiscountRequest ¶ added in v1.0.314
type DescribeDiskDiscountRequest struct { *tchttp.BaseRequest // 云硬盘类型, 取值范围: CLOUD_PREMIUM: 高性能云硬盘,CLOUD_SSD: SSD云硬盘 DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 云硬盘大小, 单位: GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 指定云硬盘备份点配额,不传时默认为不带备份点配额。目前只支持不带或设置1个云硬盘备份点配额。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` }
func NewDescribeDiskDiscountRequest ¶ added in v1.0.314
func NewDescribeDiskDiscountRequest() (request *DescribeDiskDiscountRequest)
func (*DescribeDiskDiscountRequest) FromJsonString ¶ added in v1.0.314
func (r *DescribeDiskDiscountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiskDiscountRequest) ToJsonString ¶ added in v1.0.314
func (r *DescribeDiskDiscountRequest) ToJsonString() string
type DescribeDiskDiscountRequestParams ¶ added in v1.0.426
type DescribeDiskDiscountRequestParams struct { // 云硬盘类型, 取值范围: CLOUD_PREMIUM: 高性能云硬盘,CLOUD_SSD: SSD云硬盘 DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 云硬盘大小, 单位: GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 指定云硬盘备份点配额,不传时默认为不带备份点配额。目前只支持不带或设置1个云硬盘备份点配额。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` }
Predefined struct for user
type DescribeDiskDiscountResponse ¶ added in v1.0.314
type DescribeDiskDiscountResponse struct { *tchttp.BaseResponse Response *DescribeDiskDiscountResponseParams `json:"Response"` }
func NewDescribeDiskDiscountResponse ¶ added in v1.0.314
func NewDescribeDiskDiscountResponse() (response *DescribeDiskDiscountResponse)
func (*DescribeDiskDiscountResponse) FromJsonString ¶ added in v1.0.314
func (r *DescribeDiskDiscountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiskDiscountResponse) ToJsonString ¶ added in v1.0.314
func (r *DescribeDiskDiscountResponse) ToJsonString() string
type DescribeDiskDiscountResponseParams ¶ added in v1.0.426
type DescribeDiskDiscountResponseParams struct { // 币种:CNY人民币,USD 美元。 Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 DiscountDetail []*DiscountDetail `json:"DiscountDetail,omitnil,omitempty" name:"DiscountDetail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDisksDeniedActionsRequest ¶ added in v1.0.314
type DescribeDisksDeniedActionsRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` }
func NewDescribeDisksDeniedActionsRequest ¶ added in v1.0.314
func NewDescribeDisksDeniedActionsRequest() (request *DescribeDisksDeniedActionsRequest)
func (*DescribeDisksDeniedActionsRequest) FromJsonString ¶ added in v1.0.314
func (r *DescribeDisksDeniedActionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDisksDeniedActionsRequest) ToJsonString ¶ added in v1.0.314
func (r *DescribeDisksDeniedActionsRequest) ToJsonString() string
type DescribeDisksDeniedActionsRequestParams ¶ added in v1.0.426
type DescribeDisksDeniedActionsRequestParams struct { // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` }
Predefined struct for user
type DescribeDisksDeniedActionsResponse ¶ added in v1.0.314
type DescribeDisksDeniedActionsResponse struct { *tchttp.BaseResponse Response *DescribeDisksDeniedActionsResponseParams `json:"Response"` }
func NewDescribeDisksDeniedActionsResponse ¶ added in v1.0.314
func NewDescribeDisksDeniedActionsResponse() (response *DescribeDisksDeniedActionsResponse)
func (*DescribeDisksDeniedActionsResponse) FromJsonString ¶ added in v1.0.314
func (r *DescribeDisksDeniedActionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDisksDeniedActionsResponse) ToJsonString ¶ added in v1.0.314
func (r *DescribeDisksDeniedActionsResponse) ToJsonString() string
type DescribeDisksDeniedActionsResponseParams ¶ added in v1.0.426
type DescribeDisksDeniedActionsResponseParams struct { // 云硬盘操作限制列表详细信息。 DiskDeniedActionSet []*DiskDeniedActions `json:"DiskDeniedActionSet,omitnil,omitempty" name:"DiskDeniedActionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDisksRequest ¶ added in v1.0.314
type DescribeDisksRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 过滤器列表。 // disk-id // 按照【云硬盘 ID】进行过滤。 // 类型:String // 必选:否 // instance-id // 按照【实例ID】进行过滤。 // 类型:String // 必选:否 // disk-name // 按照【云硬盘名称】进行过滤。 // 类型:String // 必选:否 // zone // 按照【可用区】进行过滤。 // 类型:String // 必选:否 // disk-usage // 按照【云硬盘类型】进行过滤。 // 类型:String // 必选:否 // 取值:SYSTEM_DISK或DATA_DISK // disk-state // 按照【云硬盘状态】进行过滤。 // 类型:String // 必选:否 // 取值:参考数据结构[Disk](https://cloud.tencent.com/document/api/1207/47576#Disk)中DiskState取值。 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 DiskIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 返回数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 云硬盘列表排序的依据字段。取值范围:"CREATED_TIME":依据云硬盘的创建时间排序。 "EXPIRED_TIME":依据云硬盘的到期时间排序。"DISK_SIZE":依据云硬盘的大小排序。默认按云硬盘创建时间排序。 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 输出云硬盘列表的排列顺序。取值范围:"ASC":升序排列。 "DESC":降序排列。默认按降序排列。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
func NewDescribeDisksRequest ¶ added in v1.0.314
func NewDescribeDisksRequest() (request *DescribeDisksRequest)
func (*DescribeDisksRequest) FromJsonString ¶ added in v1.0.314
func (r *DescribeDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDisksRequest) ToJsonString ¶ added in v1.0.314
func (r *DescribeDisksRequest) ToJsonString() string
type DescribeDisksRequestParams ¶ added in v1.0.426
type DescribeDisksRequestParams struct { // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 过滤器列表。 // disk-id // 按照【云硬盘 ID】进行过滤。 // 类型:String // 必选:否 // instance-id // 按照【实例ID】进行过滤。 // 类型:String // 必选:否 // disk-name // 按照【云硬盘名称】进行过滤。 // 类型:String // 必选:否 // zone // 按照【可用区】进行过滤。 // 类型:String // 必选:否 // disk-usage // 按照【云硬盘类型】进行过滤。 // 类型:String // 必选:否 // 取值:SYSTEM_DISK或DATA_DISK // disk-state // 按照【云硬盘状态】进行过滤。 // 类型:String // 必选:否 // 取值:参考数据结构[Disk](https://cloud.tencent.com/document/api/1207/47576#Disk)中DiskState取值。 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 DiskIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 返回数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 云硬盘列表排序的依据字段。取值范围:"CREATED_TIME":依据云硬盘的创建时间排序。 "EXPIRED_TIME":依据云硬盘的到期时间排序。"DISK_SIZE":依据云硬盘的大小排序。默认按云硬盘创建时间排序。 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 输出云硬盘列表的排列顺序。取值范围:"ASC":升序排列。 "DESC":降序排列。默认按降序排列。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
Predefined struct for user
type DescribeDisksResponse ¶ added in v1.0.314
type DescribeDisksResponse struct { *tchttp.BaseResponse Response *DescribeDisksResponseParams `json:"Response"` }
func NewDescribeDisksResponse ¶ added in v1.0.314
func NewDescribeDisksResponse() (response *DescribeDisksResponse)
func (*DescribeDisksResponse) FromJsonString ¶ added in v1.0.314
func (r *DescribeDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDisksResponse) ToJsonString ¶ added in v1.0.314
func (r *DescribeDisksResponse) ToJsonString() string
type DescribeDisksResponseParams ¶ added in v1.0.426
type DescribeDisksResponseParams struct { // 云硬盘信息列表。 DiskSet []*Disk `json:"DiskSet,omitnil,omitempty" name:"DiskSet"` // 符合条件的云硬盘信息数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDisksReturnableRequest ¶ added in v1.0.314
type DescribeDisksReturnableRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。每次批量请求云硬盘的上限为 10。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 返回数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeDisksReturnableRequest ¶ added in v1.0.314
func NewDescribeDisksReturnableRequest() (request *DescribeDisksReturnableRequest)
func (*DescribeDisksReturnableRequest) FromJsonString ¶ added in v1.0.314
func (r *DescribeDisksReturnableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDisksReturnableRequest) ToJsonString ¶ added in v1.0.314
func (r *DescribeDisksReturnableRequest) ToJsonString() string
type DescribeDisksReturnableRequestParams ¶ added in v1.0.426
type DescribeDisksReturnableRequestParams struct { // 云硬盘ID列表。每次批量请求云硬盘的上限为 10。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 返回数量,默认为20,最大值为100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeDisksReturnableResponse ¶ added in v1.0.314
type DescribeDisksReturnableResponse struct { *tchttp.BaseResponse Response *DescribeDisksReturnableResponseParams `json:"Response"` }
func NewDescribeDisksReturnableResponse ¶ added in v1.0.314
func NewDescribeDisksReturnableResponse() (response *DescribeDisksReturnableResponse)
func (*DescribeDisksReturnableResponse) FromJsonString ¶ added in v1.0.314
func (r *DescribeDisksReturnableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDisksReturnableResponse) ToJsonString ¶ added in v1.0.314
func (r *DescribeDisksReturnableResponse) ToJsonString() string
type DescribeDisksReturnableResponseParams ¶ added in v1.0.426
type DescribeDisksReturnableResponseParams struct { // 可退还云硬盘详细信息列表。 DiskReturnableSet []*DiskReturnable `json:"DiskReturnableSet,omitnil,omitempty" name:"DiskReturnableSet"` // 符合条件的云硬盘数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDockerActivitiesRequest ¶ added in v1.0.707
type DescribeDockerActivitiesRequest struct { *tchttp.BaseRequest // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Docker活动ID列表。可通过[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口返回值中的ActivityId获取。 ActivityIds []*string `json:"ActivityIds,omitnil,omitempty" name:"ActivityIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 活动创建时间的起始值,时间戳秒数。 CreatedTimeBegin *int64 `json:"CreatedTimeBegin,omitnil,omitempty" name:"CreatedTimeBegin"` // 活动创建时间的结束值,时间戳秒数。 CreatedTimeEnd *int64 `json:"CreatedTimeEnd,omitnil,omitempty" name:"CreatedTimeEnd"` }
func NewDescribeDockerActivitiesRequest ¶ added in v1.0.707
func NewDescribeDockerActivitiesRequest() (request *DescribeDockerActivitiesRequest)
func (*DescribeDockerActivitiesRequest) FromJsonString ¶ added in v1.0.707
func (r *DescribeDockerActivitiesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDockerActivitiesRequest) ToJsonString ¶ added in v1.0.707
func (r *DescribeDockerActivitiesRequest) ToJsonString() string
type DescribeDockerActivitiesRequestParams ¶ added in v1.0.707
type DescribeDockerActivitiesRequestParams struct { // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Docker活动ID列表。可通过[DescribeDockerActivities](https://cloud.tencent.com/document/product/1207/95476)接口返回值中的ActivityId获取。 ActivityIds []*string `json:"ActivityIds,omitnil,omitempty" name:"ActivityIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 活动创建时间的起始值,时间戳秒数。 CreatedTimeBegin *int64 `json:"CreatedTimeBegin,omitnil,omitempty" name:"CreatedTimeBegin"` // 活动创建时间的结束值,时间戳秒数。 CreatedTimeEnd *int64 `json:"CreatedTimeEnd,omitnil,omitempty" name:"CreatedTimeEnd"` }
Predefined struct for user
type DescribeDockerActivitiesResponse ¶ added in v1.0.707
type DescribeDockerActivitiesResponse struct { *tchttp.BaseResponse Response *DescribeDockerActivitiesResponseParams `json:"Response"` }
func NewDescribeDockerActivitiesResponse ¶ added in v1.0.707
func NewDescribeDockerActivitiesResponse() (response *DescribeDockerActivitiesResponse)
func (*DescribeDockerActivitiesResponse) FromJsonString ¶ added in v1.0.707
func (r *DescribeDockerActivitiesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDockerActivitiesResponse) ToJsonString ¶ added in v1.0.707
func (r *DescribeDockerActivitiesResponse) ToJsonString() string
type DescribeDockerActivitiesResponseParams ¶ added in v1.0.707
type DescribeDockerActivitiesResponseParams struct { // 总数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Docker活动列表。 DockerActivitySet []*DockerActivity `json:"DockerActivitySet,omitnil,omitempty" name:"DockerActivitySet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDockerContainerConfigurationRequest ¶ added in v1.0.707
type DescribeDockerContainerConfigurationRequest struct { *tchttp.BaseRequest // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` }
func NewDescribeDockerContainerConfigurationRequest ¶ added in v1.0.707
func NewDescribeDockerContainerConfigurationRequest() (request *DescribeDockerContainerConfigurationRequest)
func (*DescribeDockerContainerConfigurationRequest) FromJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainerConfigurationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDockerContainerConfigurationRequest) ToJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainerConfigurationRequest) ToJsonString() string
type DescribeDockerContainerConfigurationRequestParams ¶ added in v1.0.707
type DescribeDockerContainerConfigurationRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` }
Predefined struct for user
type DescribeDockerContainerConfigurationResponse ¶ added in v1.0.707
type DescribeDockerContainerConfigurationResponse struct { *tchttp.BaseResponse Response *DescribeDockerContainerConfigurationResponseParams `json:"Response"` }
func NewDescribeDockerContainerConfigurationResponse ¶ added in v1.0.707
func NewDescribeDockerContainerConfigurationResponse() (response *DescribeDockerContainerConfigurationResponse)
func (*DescribeDockerContainerConfigurationResponse) FromJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainerConfigurationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDockerContainerConfigurationResponse) ToJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainerConfigurationResponse) ToJsonString() string
type DescribeDockerContainerConfigurationResponseParams ¶ added in v1.0.707
type DescribeDockerContainerConfigurationResponseParams struct { // Docker容器配置信息。 ContainerConfiguration *DockerContainerConfiguration `json:"ContainerConfiguration,omitnil,omitempty" name:"ContainerConfiguration"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDockerContainerDetailRequest ¶ added in v1.0.707
type DescribeDockerContainerDetailRequest struct { *tchttp.BaseRequest // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` }
func NewDescribeDockerContainerDetailRequest ¶ added in v1.0.707
func NewDescribeDockerContainerDetailRequest() (request *DescribeDockerContainerDetailRequest)
func (*DescribeDockerContainerDetailRequest) FromJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainerDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDockerContainerDetailRequest) ToJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainerDetailRequest) ToJsonString() string
type DescribeDockerContainerDetailRequestParams ¶ added in v1.0.707
type DescribeDockerContainerDetailRequestParams struct { // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` }
Predefined struct for user
type DescribeDockerContainerDetailResponse ¶ added in v1.0.707
type DescribeDockerContainerDetailResponse struct { *tchttp.BaseResponse Response *DescribeDockerContainerDetailResponseParams `json:"Response"` }
func NewDescribeDockerContainerDetailResponse ¶ added in v1.0.707
func NewDescribeDockerContainerDetailResponse() (response *DescribeDockerContainerDetailResponse)
func (*DescribeDockerContainerDetailResponse) FromJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainerDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDockerContainerDetailResponse) ToJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainerDetailResponse) ToJsonString() string
type DescribeDockerContainerDetailResponseParams ¶ added in v1.0.707
type DescribeDockerContainerDetailResponseParams struct { // Docker容器详情,json字符串base64编码。 ContainerDetail *string `json:"ContainerDetail,omitnil,omitempty" name:"ContainerDetail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDockerContainersRequest ¶ added in v1.0.707
type DescribeDockerContainersRequest struct { *tchttp.BaseRequest // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 过滤器列表。 // <li>container-id</li>按照【容器ID】进行过滤。 // 类型:String // 必选:否 // <li>container-name</li>按照【容器名称】进行过滤。 // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 ContainerIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeDockerContainersRequest ¶ added in v1.0.707
func NewDescribeDockerContainersRequest() (request *DescribeDockerContainersRequest)
func (*DescribeDockerContainersRequest) FromJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDockerContainersRequest) ToJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainersRequest) ToJsonString() string
type DescribeDockerContainersRequestParams ¶ added in v1.0.707
type DescribeDockerContainersRequestParams struct { // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 过滤器列表。 // <li>container-id</li>按照【容器ID】进行过滤。 // 类型:String // 必选:否 // <li>container-name</li>按照【容器名称】进行过滤。 // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 ContainerIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeDockerContainersResponse ¶ added in v1.0.707
type DescribeDockerContainersResponse struct { *tchttp.BaseResponse Response *DescribeDockerContainersResponseParams `json:"Response"` }
func NewDescribeDockerContainersResponse ¶ added in v1.0.707
func NewDescribeDockerContainersResponse() (response *DescribeDockerContainersResponse)
func (*DescribeDockerContainersResponse) FromJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDockerContainersResponse) ToJsonString ¶ added in v1.0.707
func (r *DescribeDockerContainersResponse) ToJsonString() string
type DescribeDockerContainersResponseParams ¶ added in v1.0.707
type DescribeDockerContainersResponseParams struct { // 总数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 容器列表。 DockerContainerSet []*DockerContainer `json:"DockerContainerSet,omitnil,omitempty" name:"DockerContainerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFirewallRulesRequest ¶
type DescribeFirewallRulesRequest struct { *tchttp.BaseRequest // 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeFirewallRulesRequest ¶
func NewDescribeFirewallRulesRequest() (request *DescribeFirewallRulesRequest)
func (*DescribeFirewallRulesRequest) FromJsonString ¶
func (r *DescribeFirewallRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallRulesRequest) ToJsonString ¶
func (r *DescribeFirewallRulesRequest) ToJsonString() string
type DescribeFirewallRulesRequestParams ¶ added in v1.0.426
type DescribeFirewallRulesRequestParams struct { // 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeFirewallRulesResponse ¶
type DescribeFirewallRulesResponse struct { *tchttp.BaseResponse Response *DescribeFirewallRulesResponseParams `json:"Response"` }
func NewDescribeFirewallRulesResponse ¶
func NewDescribeFirewallRulesResponse() (response *DescribeFirewallRulesResponse)
func (*DescribeFirewallRulesResponse) FromJsonString ¶
func (r *DescribeFirewallRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallRulesResponse) ToJsonString ¶
func (r *DescribeFirewallRulesResponse) ToJsonString() string
type DescribeFirewallRulesResponseParams ¶ added in v1.0.426
type DescribeFirewallRulesResponseParams struct { // 符合条件的防火墙规则数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 防火墙规则详细信息列表。 FirewallRuleSet []*FirewallRuleInfo `json:"FirewallRuleSet,omitnil,omitempty" name:"FirewallRuleSet"` // 防火墙版本号。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFirewallRulesTemplateRequest ¶
type DescribeFirewallRulesTemplateRequest struct {
*tchttp.BaseRequest
}
func NewDescribeFirewallRulesTemplateRequest ¶
func NewDescribeFirewallRulesTemplateRequest() (request *DescribeFirewallRulesTemplateRequest)
func (*DescribeFirewallRulesTemplateRequest) FromJsonString ¶
func (r *DescribeFirewallRulesTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallRulesTemplateRequest) ToJsonString ¶
func (r *DescribeFirewallRulesTemplateRequest) ToJsonString() string
type DescribeFirewallRulesTemplateRequestParams ¶ added in v1.0.426
type DescribeFirewallRulesTemplateRequestParams struct { }
Predefined struct for user
type DescribeFirewallRulesTemplateResponse ¶
type DescribeFirewallRulesTemplateResponse struct { *tchttp.BaseResponse Response *DescribeFirewallRulesTemplateResponseParams `json:"Response"` }
func NewDescribeFirewallRulesTemplateResponse ¶
func NewDescribeFirewallRulesTemplateResponse() (response *DescribeFirewallRulesTemplateResponse)
func (*DescribeFirewallRulesTemplateResponse) FromJsonString ¶
func (r *DescribeFirewallRulesTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallRulesTemplateResponse) ToJsonString ¶
func (r *DescribeFirewallRulesTemplateResponse) ToJsonString() string
type DescribeFirewallRulesTemplateResponseParams ¶ added in v1.0.426
type DescribeFirewallRulesTemplateResponseParams struct { // 符合条件的防火墙规则数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 防火墙规则详细信息列表。 FirewallRuleSet []*FirewallRuleInfo `json:"FirewallRuleSet,omitnil,omitempty" name:"FirewallRuleSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFirewallTemplateApplyRecordsRequest ¶ added in v1.0.729
type DescribeFirewallTemplateApplyRecordsRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 应用防火墙模版任务ID列表。可通过[ApplyFirewallTemplate](https://cloud.tencent.com/document/product/1207/96883)接口返回值TaskId字段获取。 TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"` }
func NewDescribeFirewallTemplateApplyRecordsRequest ¶ added in v1.0.729
func NewDescribeFirewallTemplateApplyRecordsRequest() (request *DescribeFirewallTemplateApplyRecordsRequest)
func (*DescribeFirewallTemplateApplyRecordsRequest) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateApplyRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplateApplyRecordsRequest) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateApplyRecordsRequest) ToJsonString() string
type DescribeFirewallTemplateApplyRecordsRequestParams ¶ added in v1.0.729
type DescribeFirewallTemplateApplyRecordsRequestParams struct { // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 应用防火墙模版任务ID列表。可通过[ApplyFirewallTemplate](https://cloud.tencent.com/document/product/1207/96883)接口返回值TaskId字段获取。 TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"` }
Predefined struct for user
type DescribeFirewallTemplateApplyRecordsResponse ¶ added in v1.0.729
type DescribeFirewallTemplateApplyRecordsResponse struct { *tchttp.BaseResponse Response *DescribeFirewallTemplateApplyRecordsResponseParams `json:"Response"` }
func NewDescribeFirewallTemplateApplyRecordsResponse ¶ added in v1.0.729
func NewDescribeFirewallTemplateApplyRecordsResponse() (response *DescribeFirewallTemplateApplyRecordsResponse)
func (*DescribeFirewallTemplateApplyRecordsResponse) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateApplyRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplateApplyRecordsResponse) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateApplyRecordsResponse) ToJsonString() string
type DescribeFirewallTemplateApplyRecordsResponseParams ¶ added in v1.0.729
type DescribeFirewallTemplateApplyRecordsResponseParams struct { // 防火墙模板应用记录列表。 ApplyRecordSet []*FirewallTemplateApplyRecord `json:"ApplyRecordSet,omitnil,omitempty" name:"ApplyRecordSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFirewallTemplateQuotaRequest ¶ added in v1.0.729
type DescribeFirewallTemplateQuotaRequest struct {
*tchttp.BaseRequest
}
func NewDescribeFirewallTemplateQuotaRequest ¶ added in v1.0.729
func NewDescribeFirewallTemplateQuotaRequest() (request *DescribeFirewallTemplateQuotaRequest)
func (*DescribeFirewallTemplateQuotaRequest) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplateQuotaRequest) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateQuotaRequest) ToJsonString() string
type DescribeFirewallTemplateQuotaRequestParams ¶ added in v1.0.729
type DescribeFirewallTemplateQuotaRequestParams struct { }
Predefined struct for user
type DescribeFirewallTemplateQuotaResponse ¶ added in v1.0.729
type DescribeFirewallTemplateQuotaResponse struct { *tchttp.BaseResponse Response *DescribeFirewallTemplateQuotaResponseParams `json:"Response"` }
func NewDescribeFirewallTemplateQuotaResponse ¶ added in v1.0.729
func NewDescribeFirewallTemplateQuotaResponse() (response *DescribeFirewallTemplateQuotaResponse)
func (*DescribeFirewallTemplateQuotaResponse) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplateQuotaResponse) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateQuotaResponse) ToJsonString() string
type DescribeFirewallTemplateQuotaResponseParams ¶ added in v1.0.729
type DescribeFirewallTemplateQuotaResponseParams struct { // 当前可用配额。 Available *int64 `json:"Available,omitnil,omitempty" name:"Available"` // 总配额。 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFirewallTemplateRuleQuotaRequest ¶ added in v1.0.729
type DescribeFirewallTemplateRuleQuotaRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
func NewDescribeFirewallTemplateRuleQuotaRequest ¶ added in v1.0.729
func NewDescribeFirewallTemplateRuleQuotaRequest() (request *DescribeFirewallTemplateRuleQuotaRequest)
func (*DescribeFirewallTemplateRuleQuotaRequest) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateRuleQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplateRuleQuotaRequest) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateRuleQuotaRequest) ToJsonString() string
type DescribeFirewallTemplateRuleQuotaRequestParams ¶ added in v1.0.729
type DescribeFirewallTemplateRuleQuotaRequestParams struct { // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeFirewallTemplateRuleQuotaResponse ¶ added in v1.0.729
type DescribeFirewallTemplateRuleQuotaResponse struct { *tchttp.BaseResponse Response *DescribeFirewallTemplateRuleQuotaResponseParams `json:"Response"` }
func NewDescribeFirewallTemplateRuleQuotaResponse ¶ added in v1.0.729
func NewDescribeFirewallTemplateRuleQuotaResponse() (response *DescribeFirewallTemplateRuleQuotaResponse)
func (*DescribeFirewallTemplateRuleQuotaResponse) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateRuleQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplateRuleQuotaResponse) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateRuleQuotaResponse) ToJsonString() string
type DescribeFirewallTemplateRuleQuotaResponseParams ¶ added in v1.0.729
type DescribeFirewallTemplateRuleQuotaResponseParams struct { // 当前可用配额。 Available *int64 `json:"Available,omitnil,omitempty" name:"Available"` // 总配额。 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFirewallTemplateRulesRequest ¶ added in v1.0.729
type DescribeFirewallTemplateRulesRequest struct { *tchttp.BaseRequest // 防火墙模板ID。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板规则ID列表。 TemplateRuleIds []*string `json:"TemplateRuleIds,omitnil,omitempty" name:"TemplateRuleIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeFirewallTemplateRulesRequest ¶ added in v1.0.729
func NewDescribeFirewallTemplateRulesRequest() (request *DescribeFirewallTemplateRulesRequest)
func (*DescribeFirewallTemplateRulesRequest) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplateRulesRequest) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateRulesRequest) ToJsonString() string
type DescribeFirewallTemplateRulesRequestParams ¶ added in v1.0.729
type DescribeFirewallTemplateRulesRequestParams struct { // 防火墙模板ID。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板规则ID列表。 TemplateRuleIds []*string `json:"TemplateRuleIds,omitnil,omitempty" name:"TemplateRuleIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeFirewallTemplateRulesResponse ¶ added in v1.0.729
type DescribeFirewallTemplateRulesResponse struct { *tchttp.BaseResponse Response *DescribeFirewallTemplateRulesResponseParams `json:"Response"` }
func NewDescribeFirewallTemplateRulesResponse ¶ added in v1.0.729
func NewDescribeFirewallTemplateRulesResponse() (response *DescribeFirewallTemplateRulesResponse)
func (*DescribeFirewallTemplateRulesResponse) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplateRulesResponse) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplateRulesResponse) ToJsonString() string
type DescribeFirewallTemplateRulesResponseParams ¶ added in v1.0.729
type DescribeFirewallTemplateRulesResponseParams struct { // 防火墙模板规则总数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 防火墙模板规则信息列表。 TemplateRuleSet []*FirewallTemplateRuleInfo `json:"TemplateRuleSet,omitnil,omitempty" name:"TemplateRuleSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFirewallTemplatesRequest ¶ added in v1.0.729
type DescribeFirewallTemplatesRequest struct { *tchttp.BaseRequest // 防火墙模板ID列表。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。列表长度最大值为100。 TemplateIds []*string `json:"TemplateIds,omitnil,omitempty" name:"TemplateIds"` // 过滤器列表。 // <li>template-id</li>按照【防火墙模板所属的ID】进行过滤。 // 类型:String // 必选:否 // <li>template-name</li>按照【防火墙模板所属的名称】进行过滤。 // 类型:String // 必选:否 // <li>template-type</li>按照【防火墙模板的类型】进行过滤。 // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 TemplateIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeFirewallTemplatesRequest ¶ added in v1.0.729
func NewDescribeFirewallTemplatesRequest() (request *DescribeFirewallTemplatesRequest)
func (*DescribeFirewallTemplatesRequest) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplatesRequest) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplatesRequest) ToJsonString() string
type DescribeFirewallTemplatesRequestParams ¶ added in v1.0.729
type DescribeFirewallTemplatesRequestParams struct { // 防火墙模板ID列表。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。列表长度最大值为100。 TemplateIds []*string `json:"TemplateIds,omitnil,omitempty" name:"TemplateIds"` // 过滤器列表。 // <li>template-id</li>按照【防火墙模板所属的ID】进行过滤。 // 类型:String // 必选:否 // <li>template-name</li>按照【防火墙模板所属的名称】进行过滤。 // 类型:String // 必选:否 // <li>template-type</li>按照【防火墙模板的类型】进行过滤。 // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 TemplateIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeFirewallTemplatesResponse ¶ added in v1.0.729
type DescribeFirewallTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeFirewallTemplatesResponseParams `json:"Response"` }
func NewDescribeFirewallTemplatesResponse ¶ added in v1.0.729
func NewDescribeFirewallTemplatesResponse() (response *DescribeFirewallTemplatesResponse)
func (*DescribeFirewallTemplatesResponse) FromJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirewallTemplatesResponse) ToJsonString ¶ added in v1.0.729
func (r *DescribeFirewallTemplatesResponse) ToJsonString() string
type DescribeFirewallTemplatesResponseParams ¶ added in v1.0.729
type DescribeFirewallTemplatesResponseParams struct { // 模板总数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 防火墙模板列表。 TemplateSet []*FirewallTemplate `json:"TemplateSet,omitnil,omitempty" name:"TemplateSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGeneralResourceQuotasRequest ¶
type DescribeGeneralResourceQuotasRequest struct { *tchttp.BaseRequest // 资源名列表,可取值: // - GENERAL_BUNDLE_INSTANCE 通用型套餐实例 // - STORAGE_BUNDLE_INSTANCE 存储型套餐实例 // - ENTERPRISE_BUNDLE_INSTANCE 企业型套餐实例 // - EXCLUSIVE_BUNDLE_INSTANCE 专属型套餐实例 // - BEFAST_BUNDLE_INSTANCE 蜂驰型套餐实例 // - STARTER_BUNDLE_INSTANCE 入门型套餐实例 // - HK_EXCLUSIVE_BUNDLE_INSTANCE 中国香港专属型套餐实例 // - CAREFREE_BUNDLE_INSTANCE 无忧型套餐实例 // - USER_KEY_PAIR 密钥对 // - SNAPSHOT 快照 // - BLUEPRINT 自定义镜像 // - FREE_BLUEPRINT 免费自定义镜像 // - DATA_DISK 数据盘 // - FIREWALL_RULE 防火墙规则 ResourceNames []*string `json:"ResourceNames,omitnil,omitempty" name:"ResourceNames"` }
func NewDescribeGeneralResourceQuotasRequest ¶
func NewDescribeGeneralResourceQuotasRequest() (request *DescribeGeneralResourceQuotasRequest)
func (*DescribeGeneralResourceQuotasRequest) FromJsonString ¶
func (r *DescribeGeneralResourceQuotasRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGeneralResourceQuotasRequest) ToJsonString ¶
func (r *DescribeGeneralResourceQuotasRequest) ToJsonString() string
type DescribeGeneralResourceQuotasRequestParams ¶ added in v1.0.426
type DescribeGeneralResourceQuotasRequestParams struct { // 资源名列表,可取值: // - GENERAL_BUNDLE_INSTANCE 通用型套餐实例 // - STORAGE_BUNDLE_INSTANCE 存储型套餐实例 // - ENTERPRISE_BUNDLE_INSTANCE 企业型套餐实例 // - EXCLUSIVE_BUNDLE_INSTANCE 专属型套餐实例 // - BEFAST_BUNDLE_INSTANCE 蜂驰型套餐实例 // - STARTER_BUNDLE_INSTANCE 入门型套餐实例 // - HK_EXCLUSIVE_BUNDLE_INSTANCE 中国香港专属型套餐实例 // - CAREFREE_BUNDLE_INSTANCE 无忧型套餐实例 // - USER_KEY_PAIR 密钥对 // - SNAPSHOT 快照 // - BLUEPRINT 自定义镜像 // - FREE_BLUEPRINT 免费自定义镜像 // - DATA_DISK 数据盘 // - FIREWALL_RULE 防火墙规则 ResourceNames []*string `json:"ResourceNames,omitnil,omitempty" name:"ResourceNames"` }
Predefined struct for user
type DescribeGeneralResourceQuotasResponse ¶
type DescribeGeneralResourceQuotasResponse struct { *tchttp.BaseResponse Response *DescribeGeneralResourceQuotasResponseParams `json:"Response"` }
func NewDescribeGeneralResourceQuotasResponse ¶
func NewDescribeGeneralResourceQuotasResponse() (response *DescribeGeneralResourceQuotasResponse)
func (*DescribeGeneralResourceQuotasResponse) FromJsonString ¶
func (r *DescribeGeneralResourceQuotasResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGeneralResourceQuotasResponse) ToJsonString ¶
func (r *DescribeGeneralResourceQuotasResponse) ToJsonString() string
type DescribeGeneralResourceQuotasResponseParams ¶ added in v1.0.426
type DescribeGeneralResourceQuotasResponseParams struct { // 通用资源配额详细信息列表。 GeneralResourceQuotaSet []*GeneralResourceQuota `json:"GeneralResourceQuotaSet,omitnil,omitempty" name:"GeneralResourceQuotaSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceLoginKeyPairAttributeRequest ¶
type DescribeInstanceLoginKeyPairAttributeRequest struct { *tchttp.BaseRequest // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeInstanceLoginKeyPairAttributeRequest ¶
func NewDescribeInstanceLoginKeyPairAttributeRequest() (request *DescribeInstanceLoginKeyPairAttributeRequest)
func (*DescribeInstanceLoginKeyPairAttributeRequest) FromJsonString ¶
func (r *DescribeInstanceLoginKeyPairAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceLoginKeyPairAttributeRequest) ToJsonString ¶
func (r *DescribeInstanceLoginKeyPairAttributeRequest) ToJsonString() string
type DescribeInstanceLoginKeyPairAttributeRequestParams ¶ added in v1.0.426
type DescribeInstanceLoginKeyPairAttributeRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceLoginKeyPairAttributeResponse ¶
type DescribeInstanceLoginKeyPairAttributeResponse struct { *tchttp.BaseResponse Response *DescribeInstanceLoginKeyPairAttributeResponseParams `json:"Response"` }
func NewDescribeInstanceLoginKeyPairAttributeResponse ¶
func NewDescribeInstanceLoginKeyPairAttributeResponse() (response *DescribeInstanceLoginKeyPairAttributeResponse)
func (*DescribeInstanceLoginKeyPairAttributeResponse) FromJsonString ¶
func (r *DescribeInstanceLoginKeyPairAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceLoginKeyPairAttributeResponse) ToJsonString ¶
func (r *DescribeInstanceLoginKeyPairAttributeResponse) ToJsonString() string
type DescribeInstanceLoginKeyPairAttributeResponseParams ¶ added in v1.0.426
type DescribeInstanceLoginKeyPairAttributeResponseParams struct { // 是否允许使用默认密钥对登录,YES:允许登录 NO:禁止登录。 PermitLogin *string `json:"PermitLogin,omitnil,omitempty" name:"PermitLogin"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceVncUrlRequest ¶
type DescribeInstanceVncUrlRequest struct { *tchttp.BaseRequest // 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeInstanceVncUrlRequest ¶
func NewDescribeInstanceVncUrlRequest() (request *DescribeInstanceVncUrlRequest)
func (*DescribeInstanceVncUrlRequest) FromJsonString ¶
func (r *DescribeInstanceVncUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceVncUrlRequest) ToJsonString ¶
func (r *DescribeInstanceVncUrlRequest) ToJsonString() string
type DescribeInstanceVncUrlRequestParams ¶ added in v1.0.426
type DescribeInstanceVncUrlRequestParams struct { // 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceVncUrlResponse ¶
type DescribeInstanceVncUrlResponse struct { *tchttp.BaseResponse Response *DescribeInstanceVncUrlResponseParams `json:"Response"` }
func NewDescribeInstanceVncUrlResponse ¶
func NewDescribeInstanceVncUrlResponse() (response *DescribeInstanceVncUrlResponse)
func (*DescribeInstanceVncUrlResponse) FromJsonString ¶
func (r *DescribeInstanceVncUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceVncUrlResponse) ToJsonString ¶
func (r *DescribeInstanceVncUrlResponse) ToJsonString() string
type DescribeInstanceVncUrlResponseParams ¶ added in v1.0.426
type DescribeInstanceVncUrlResponseParams struct { // 实例的管理终端地址。 InstanceVncUrl *string `json:"InstanceVncUrl,omitnil,omitempty" name:"InstanceVncUrl"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesDeniedActionsRequest ¶
type DescribeInstancesDeniedActionsRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDescribeInstancesDeniedActionsRequest ¶
func NewDescribeInstancesDeniedActionsRequest() (request *DescribeInstancesDeniedActionsRequest)
func (*DescribeInstancesDeniedActionsRequest) FromJsonString ¶
func (r *DescribeInstancesDeniedActionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesDeniedActionsRequest) ToJsonString ¶
func (r *DescribeInstancesDeniedActionsRequest) ToJsonString() string
type DescribeInstancesDeniedActionsRequestParams ¶ added in v1.0.426
type DescribeInstancesDeniedActionsRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeInstancesDeniedActionsResponse ¶
type DescribeInstancesDeniedActionsResponse struct { *tchttp.BaseResponse Response *DescribeInstancesDeniedActionsResponseParams `json:"Response"` }
func NewDescribeInstancesDeniedActionsResponse ¶
func NewDescribeInstancesDeniedActionsResponse() (response *DescribeInstancesDeniedActionsResponse)
func (*DescribeInstancesDeniedActionsResponse) FromJsonString ¶
func (r *DescribeInstancesDeniedActionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesDeniedActionsResponse) ToJsonString ¶
func (r *DescribeInstancesDeniedActionsResponse) ToJsonString() string
type DescribeInstancesDeniedActionsResponseParams ¶ added in v1.0.426
type DescribeInstancesDeniedActionsResponseParams struct { // 实例操作限制列表详细信息。 InstanceDeniedActionSet []*InstanceDeniedActions `json:"InstanceDeniedActionSet,omitnil,omitempty" name:"InstanceDeniedActionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesDiskNumRequest ¶ added in v1.0.314
type DescribeInstancesDiskNumRequest struct { *tchttp.BaseRequest // 实例ID列表。每次请求批量实例的上限为 100。 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDescribeInstancesDiskNumRequest ¶ added in v1.0.314
func NewDescribeInstancesDiskNumRequest() (request *DescribeInstancesDiskNumRequest)
func (*DescribeInstancesDiskNumRequest) FromJsonString ¶ added in v1.0.314
func (r *DescribeInstancesDiskNumRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesDiskNumRequest) ToJsonString ¶ added in v1.0.314
func (r *DescribeInstancesDiskNumRequest) ToJsonString() string
type DescribeInstancesDiskNumRequestParams ¶ added in v1.0.426
type DescribeInstancesDiskNumRequestParams struct { // 实例ID列表。每次请求批量实例的上限为 100。 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeInstancesDiskNumResponse ¶ added in v1.0.314
type DescribeInstancesDiskNumResponse struct { *tchttp.BaseResponse Response *DescribeInstancesDiskNumResponseParams `json:"Response"` }
func NewDescribeInstancesDiskNumResponse ¶ added in v1.0.314
func NewDescribeInstancesDiskNumResponse() (response *DescribeInstancesDiskNumResponse)
func (*DescribeInstancesDiskNumResponse) FromJsonString ¶ added in v1.0.314
func (r *DescribeInstancesDiskNumResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesDiskNumResponse) ToJsonString ¶ added in v1.0.314
func (r *DescribeInstancesDiskNumResponse) ToJsonString() string
type DescribeInstancesDiskNumResponseParams ¶ added in v1.0.426
type DescribeInstancesDiskNumResponseParams struct { // 挂载信息列表 AttachDetailSet []*AttachDetail `json:"AttachDetailSet,omitnil,omitempty" name:"AttachDetailSet"` // 挂载信息数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 过滤器列表。 // <li>instance-name</li>按照【实例名称】进行过滤。 // 类型:String // 必选:否 // <li>private-ip-address</li>按照【实例主网卡的内网 IP】进行过滤。 // 类型:String // 必选:否 // <li>public-ip-address</li>按照【实例主网卡的公网 IP】进行过滤。 // 类型:String // 必选:否 // <li>zone</li>按照【可用区】进行过滤。 // 类型:String // 必选:否 // <li>instance-state</li>按照【实例状态】进行过滤。 // 类型:String // 必选:否 // <li>tag-key</li>按照【标签键】进行过滤。 // 类型:String // 必选:否 // <li>tag-value</li>按照【标签值】进行过滤。 // 类型:String // 必选:否 // <li> tag:tag-key</li>按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。 // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 InstanceIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
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 ¶ added in v1.0.426
type DescribeInstancesRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 过滤器列表。 // <li>instance-name</li>按照【实例名称】进行过滤。 // 类型:String // 必选:否 // <li>private-ip-address</li>按照【实例主网卡的内网 IP】进行过滤。 // 类型:String // 必选:否 // <li>public-ip-address</li>按照【实例主网卡的公网 IP】进行过滤。 // 类型:String // 必选:否 // <li>zone</li>按照【可用区】进行过滤。 // 类型:String // 必选:否 // <li>instance-state</li>按照【实例状态】进行过滤。 // 类型:String // 必选:否 // <li>tag-key</li>按照【标签键】进行过滤。 // 类型:String // 必选:否 // <li>tag-value</li>按照【标签值】进行过滤。 // 类型:String // 必选:否 // <li> tag:tag-key</li>按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。 // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 InstanceIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
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 ¶ added in v1.0.426
type DescribeInstancesResponseParams struct { // 符合条件的实例数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例详细信息列表。 InstanceSet []*Instance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesReturnableRequest ¶
type DescribeInstancesReturnableRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeInstancesReturnableRequest ¶
func NewDescribeInstancesReturnableRequest() (request *DescribeInstancesReturnableRequest)
func (*DescribeInstancesReturnableRequest) FromJsonString ¶
func (r *DescribeInstancesReturnableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesReturnableRequest) ToJsonString ¶
func (r *DescribeInstancesReturnableRequest) ToJsonString() string
type DescribeInstancesReturnableRequestParams ¶ added in v1.0.426
type DescribeInstancesReturnableRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeInstancesReturnableResponse ¶
type DescribeInstancesReturnableResponse struct { *tchttp.BaseResponse Response *DescribeInstancesReturnableResponseParams `json:"Response"` }
func NewDescribeInstancesReturnableResponse ¶
func NewDescribeInstancesReturnableResponse() (response *DescribeInstancesReturnableResponse)
func (*DescribeInstancesReturnableResponse) FromJsonString ¶
func (r *DescribeInstancesReturnableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesReturnableResponse) ToJsonString ¶
func (r *DescribeInstancesReturnableResponse) ToJsonString() string
type DescribeInstancesReturnableResponseParams ¶ added in v1.0.426
type DescribeInstancesReturnableResponseParams struct { // 符合条件的实例数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 可退还实例详细信息列表。 InstanceReturnableSet []*InstanceReturnable `json:"InstanceReturnableSet,omitnil,omitempty" name:"InstanceReturnableSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesTrafficPackagesRequest ¶
type DescribeInstancesTrafficPackagesRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeInstancesTrafficPackagesRequest ¶
func NewDescribeInstancesTrafficPackagesRequest() (request *DescribeInstancesTrafficPackagesRequest)
func (*DescribeInstancesTrafficPackagesRequest) FromJsonString ¶
func (r *DescribeInstancesTrafficPackagesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesTrafficPackagesRequest) ToJsonString ¶
func (r *DescribeInstancesTrafficPackagesRequest) ToJsonString() string
type DescribeInstancesTrafficPackagesRequestParams ¶ added in v1.0.426
type DescribeInstancesTrafficPackagesRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeInstancesTrafficPackagesResponse ¶
type DescribeInstancesTrafficPackagesResponse struct { *tchttp.BaseResponse Response *DescribeInstancesTrafficPackagesResponseParams `json:"Response"` }
func NewDescribeInstancesTrafficPackagesResponse ¶
func NewDescribeInstancesTrafficPackagesResponse() (response *DescribeInstancesTrafficPackagesResponse)
func (*DescribeInstancesTrafficPackagesResponse) FromJsonString ¶
func (r *DescribeInstancesTrafficPackagesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesTrafficPackagesResponse) ToJsonString ¶
func (r *DescribeInstancesTrafficPackagesResponse) ToJsonString() string
type DescribeInstancesTrafficPackagesResponseParams ¶ added in v1.0.426
type DescribeInstancesTrafficPackagesResponseParams struct { // 符合条件的实例流量包详情数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例流量包详情列表。 InstanceTrafficPackageSet []*InstanceTrafficPackage `json:"InstanceTrafficPackageSet,omitnil,omitempty" name:"InstanceTrafficPackageSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeKeyPairsRequest ¶
type DescribeKeyPairsRequest struct { *tchttp.BaseRequest // 密钥对 ID 列表,每次请求批量密钥对的上限为 100。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤器列表。 // <li>key-id</li>按照【密钥对ID】进行过滤。 // 类型:String // 必选:否 // <li>key-name</li>按照【密钥对名称】进行过滤(支持模糊匹配)。 // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeKeyPairsRequest ¶
func NewDescribeKeyPairsRequest() (request *DescribeKeyPairsRequest)
func (*DescribeKeyPairsRequest) FromJsonString ¶
func (r *DescribeKeyPairsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKeyPairsRequest) ToJsonString ¶
func (r *DescribeKeyPairsRequest) ToJsonString() string
type DescribeKeyPairsRequestParams ¶ added in v1.0.426
type DescribeKeyPairsRequestParams struct { // 密钥对 ID 列表,每次请求批量密钥对的上限为 100。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤器列表。 // <li>key-id</li>按照【密钥对ID】进行过滤。 // 类型:String // 必选:否 // <li>key-name</li>按照【密钥对名称】进行过滤(支持模糊匹配)。 // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeKeyPairsResponse ¶
type DescribeKeyPairsResponse struct { *tchttp.BaseResponse Response *DescribeKeyPairsResponseParams `json:"Response"` }
func NewDescribeKeyPairsResponse ¶
func NewDescribeKeyPairsResponse() (response *DescribeKeyPairsResponse)
func (*DescribeKeyPairsResponse) FromJsonString ¶
func (r *DescribeKeyPairsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKeyPairsResponse) ToJsonString ¶
func (r *DescribeKeyPairsResponse) ToJsonString() string
type DescribeKeyPairsResponseParams ¶ added in v1.0.426
type DescribeKeyPairsResponseParams struct { // 符合条件的密钥对数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 密钥对详细信息列表。 KeyPairSet []*KeyPair `json:"KeyPairSet,omitnil,omitempty" name:"KeyPairSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModifyInstanceBundlesRequest ¶
type DescribeModifyInstanceBundlesRequest struct { *tchttp.BaseRequest // 实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 过滤器列表。 // <li>bundle-id</li>按照【套餐 ID】进行过滤。 // 类型:String // 必选:否 // 可通过<a href="https://cloud.tencent.com/document/product/1207/47575"> DescribeBundles </a>接口返回值中的 BundleId 获取。 // <li>support-platform-type</li>按照【系统类型】进行过滤。 // 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统) // 类型:String // 必选:否 // <li>bundle-type</li>按照 【套餐类型进行过滤】。 // 取值:GENERAL_BUNDLE (通用型套餐); STORAGE_BUNDLE(存储型套餐);ENTERPRISE_BUNDLE( 企业型套餐);EXCLUSIVE_BUNDLE(专属型套餐);BEFAST_BUNDLE(蜂驰型套餐); // 类型:String // 必选:否 // <li>bundle-state</li>按照【套餐状态】进行过滤。 // 取值: ‘ONLINE’(在线); ‘OFFLINE’(下线); // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeModifyInstanceBundlesRequest ¶
func NewDescribeModifyInstanceBundlesRequest() (request *DescribeModifyInstanceBundlesRequest)
func (*DescribeModifyInstanceBundlesRequest) FromJsonString ¶
func (r *DescribeModifyInstanceBundlesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModifyInstanceBundlesRequest) ToJsonString ¶
func (r *DescribeModifyInstanceBundlesRequest) ToJsonString() string
type DescribeModifyInstanceBundlesRequestParams ¶ added in v1.0.426
type DescribeModifyInstanceBundlesRequestParams struct { // 实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 过滤器列表。 // <li>bundle-id</li>按照【套餐 ID】进行过滤。 // 类型:String // 必选:否 // 可通过<a href="https://cloud.tencent.com/document/product/1207/47575"> DescribeBundles </a>接口返回值中的 BundleId 获取。 // <li>support-platform-type</li>按照【系统类型】进行过滤。 // 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统) // 类型:String // 必选:否 // <li>bundle-type</li>按照 【套餐类型进行过滤】。 // 取值:GENERAL_BUNDLE (通用型套餐); STORAGE_BUNDLE(存储型套餐);ENTERPRISE_BUNDLE( 企业型套餐);EXCLUSIVE_BUNDLE(专属型套餐);BEFAST_BUNDLE(蜂驰型套餐); // 类型:String // 必选:否 // <li>bundle-state</li>按照【套餐状态】进行过滤。 // 取值: ‘ONLINE’(在线); ‘OFFLINE’(下线); // 类型:String // 必选:否 // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeModifyInstanceBundlesResponse ¶
type DescribeModifyInstanceBundlesResponse struct { *tchttp.BaseResponse Response *DescribeModifyInstanceBundlesResponseParams `json:"Response"` }
func NewDescribeModifyInstanceBundlesResponse ¶
func NewDescribeModifyInstanceBundlesResponse() (response *DescribeModifyInstanceBundlesResponse)
func (*DescribeModifyInstanceBundlesResponse) FromJsonString ¶
func (r *DescribeModifyInstanceBundlesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModifyInstanceBundlesResponse) ToJsonString ¶
func (r *DescribeModifyInstanceBundlesResponse) ToJsonString() string
type DescribeModifyInstanceBundlesResponseParams ¶ added in v1.0.426
type DescribeModifyInstanceBundlesResponseParams struct { // 符合条件的套餐数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 变更套餐详细信息。 ModifyBundleSet []*ModifyBundle `json:"ModifyBundleSet,omitnil,omitempty" name:"ModifyBundleSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" 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 ¶ added in v1.0.426
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 ¶ added in v1.0.426
type DescribeRegionsResponseParams struct { // 地域数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 地域信息列表。 RegionSet []*RegionInfo `json:"RegionSet,omitnil,omitempty" name:"RegionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResetInstanceBlueprintsRequest ¶
type DescribeResetInstanceBlueprintsRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤器列表。 // <li>blueprint-id</li>按照【镜像 ID】进行过滤。 // 类型:String // 必选:否 // <li>blueprint-type</li>按照【镜像类型】进行过滤。 // 取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。 // 类型:String // 必选:否 // <li>platform-type</li>按照【镜像平台类型】进行过滤。 // 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。 // 类型:String // 必选:否 // <li>blueprint-name</li>按照【镜像名称】进行过滤。 // 类型:String // 必选:否 // <li>blueprint-state</li>按照【镜像状态】进行过滤。 // 类型:String // 必选:否 // // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeResetInstanceBlueprintsRequest ¶
func NewDescribeResetInstanceBlueprintsRequest() (request *DescribeResetInstanceBlueprintsRequest)
func (*DescribeResetInstanceBlueprintsRequest) FromJsonString ¶
func (r *DescribeResetInstanceBlueprintsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResetInstanceBlueprintsRequest) ToJsonString ¶
func (r *DescribeResetInstanceBlueprintsRequest) ToJsonString() string
type DescribeResetInstanceBlueprintsRequestParams ¶ added in v1.0.426
type DescribeResetInstanceBlueprintsRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤器列表。 // <li>blueprint-id</li>按照【镜像 ID】进行过滤。 // 类型:String // 必选:否 // <li>blueprint-type</li>按照【镜像类型】进行过滤。 // 取值: APP_OS(应用镜像 );PURE_OS( 系统镜像);PRIVATE(自定义镜像)。 // 类型:String // 必选:否 // <li>platform-type</li>按照【镜像平台类型】进行过滤。 // 取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。 // 类型:String // 必选:否 // <li>blueprint-name</li>按照【镜像名称】进行过滤。 // 类型:String // 必选:否 // <li>blueprint-state</li>按照【镜像状态】进行过滤。 // 类型:String // 必选:否 // // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 BlueprintIds 和 Filters 。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeResetInstanceBlueprintsResponse ¶
type DescribeResetInstanceBlueprintsResponse struct { *tchttp.BaseResponse Response *DescribeResetInstanceBlueprintsResponseParams `json:"Response"` }
func NewDescribeResetInstanceBlueprintsResponse ¶
func NewDescribeResetInstanceBlueprintsResponse() (response *DescribeResetInstanceBlueprintsResponse)
func (*DescribeResetInstanceBlueprintsResponse) FromJsonString ¶
func (r *DescribeResetInstanceBlueprintsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResetInstanceBlueprintsResponse) ToJsonString ¶
func (r *DescribeResetInstanceBlueprintsResponse) ToJsonString() string
type DescribeResetInstanceBlueprintsResponseParams ¶ added in v1.0.426
type DescribeResetInstanceBlueprintsResponseParams struct { // 符合条件的镜像数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 镜像重置信息列表 ResetInstanceBlueprintSet []*ResetInstanceBlueprint `json:"ResetInstanceBlueprintSet,omitnil,omitempty" name:"ResetInstanceBlueprintSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScenesRequest ¶ added in v1.0.548
type DescribeScenesRequest struct { *tchttp.BaseRequest // 使用场景ID列表。可通过[DescribeScenes](https://cloud.tencent.com/document/product/1207/83512)接口返回值中的SceneId获取。 SceneIds []*string `json:"SceneIds,omitnil,omitempty" name:"SceneIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeScenesRequest ¶ added in v1.0.548
func NewDescribeScenesRequest() (request *DescribeScenesRequest)
func (*DescribeScenesRequest) FromJsonString ¶ added in v1.0.548
func (r *DescribeScenesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScenesRequest) ToJsonString ¶ added in v1.0.548
func (r *DescribeScenesRequest) ToJsonString() string
type DescribeScenesRequestParams ¶ added in v1.0.548
type DescribeScenesRequestParams struct { // 使用场景ID列表。可通过[DescribeScenes](https://cloud.tencent.com/document/product/1207/83512)接口返回值中的SceneId获取。 SceneIds []*string `json:"SceneIds,omitnil,omitempty" name:"SceneIds"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeScenesResponse ¶ added in v1.0.548
type DescribeScenesResponse struct { *tchttp.BaseResponse Response *DescribeScenesResponseParams `json:"Response"` }
func NewDescribeScenesResponse ¶ added in v1.0.548
func NewDescribeScenesResponse() (response *DescribeScenesResponse)
func (*DescribeScenesResponse) FromJsonString ¶ added in v1.0.548
func (r *DescribeScenesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScenesResponse) ToJsonString ¶ added in v1.0.548
func (r *DescribeScenesResponse) ToJsonString() string
type DescribeScenesResponseParams ¶ added in v1.0.548
type DescribeScenesResponseParams struct { // 使用场景列表。 SceneSet []*Scene `json:"SceneSet,omitnil,omitempty" name:"SceneSet"` // 使用场景总数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotsDeniedActionsRequest ¶
type DescribeSnapshotsDeniedActionsRequest struct { *tchttp.BaseRequest // 快照 ID 列表, 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388" target="_blank">DescribeSnapshots</a> 查询。 SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` }
func NewDescribeSnapshotsDeniedActionsRequest ¶
func NewDescribeSnapshotsDeniedActionsRequest() (request *DescribeSnapshotsDeniedActionsRequest)
func (*DescribeSnapshotsDeniedActionsRequest) FromJsonString ¶
func (r *DescribeSnapshotsDeniedActionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotsDeniedActionsRequest) ToJsonString ¶
func (r *DescribeSnapshotsDeniedActionsRequest) ToJsonString() string
type DescribeSnapshotsDeniedActionsRequestParams ¶ added in v1.0.426
type DescribeSnapshotsDeniedActionsRequestParams struct { // 快照 ID 列表, 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388" target="_blank">DescribeSnapshots</a> 查询。 SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` }
Predefined struct for user
type DescribeSnapshotsDeniedActionsResponse ¶
type DescribeSnapshotsDeniedActionsResponse struct { *tchttp.BaseResponse Response *DescribeSnapshotsDeniedActionsResponseParams `json:"Response"` }
func NewDescribeSnapshotsDeniedActionsResponse ¶
func NewDescribeSnapshotsDeniedActionsResponse() (response *DescribeSnapshotsDeniedActionsResponse)
func (*DescribeSnapshotsDeniedActionsResponse) FromJsonString ¶
func (r *DescribeSnapshotsDeniedActionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotsDeniedActionsResponse) ToJsonString ¶
func (r *DescribeSnapshotsDeniedActionsResponse) ToJsonString() string
type DescribeSnapshotsDeniedActionsResponseParams ¶ added in v1.0.426
type DescribeSnapshotsDeniedActionsResponseParams struct { // 快照操作限制列表详细信息。 SnapshotDeniedActionSet []*SnapshotDeniedActions `json:"SnapshotDeniedActionSet,omitnil,omitempty" name:"SnapshotDeniedActionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotsRequest ¶
type DescribeSnapshotsRequest struct { *tchttp.BaseRequest // 要查询快照的 ID 列表。每次请求批量快照的上限为 100。 // 可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/1207/54388) 接口返回值中的 SnapshotId 获取。 // 参数不支持同时指定 SnapshotIds 和 Filters。 SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` // 过滤器列表。 // <li>snapshot-id</li>按照【快照 ID】进行过滤。 // 类型:String // 必选:否 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 接口返回值中的 SnapshotId 获取。 // // <li>disk-id</li>按照【磁盘 ID】进行过滤。 // 类型:String // 必选:否 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/66093">DescribeDisks</a> 接口返回值中的 DiskId 获取。 // // <li>snapshot-name</li>按照【快照名称】进行过滤。 // 类型:String // 必选:否 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 接口返回值中的 SnapshotName 获取。 // <li>instance-id</li>按照【实例 ID 】进行过滤。 // 类型:String // 必选:否 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。 // // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeSnapshotsRequest ¶
func NewDescribeSnapshotsRequest() (request *DescribeSnapshotsRequest)
func (*DescribeSnapshotsRequest) FromJsonString ¶
func (r *DescribeSnapshotsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotsRequest) ToJsonString ¶
func (r *DescribeSnapshotsRequest) ToJsonString() string
type DescribeSnapshotsRequestParams ¶ added in v1.0.426
type DescribeSnapshotsRequestParams struct { // 要查询快照的 ID 列表。每次请求批量快照的上限为 100。 // 可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/1207/54388) 接口返回值中的 SnapshotId 获取。 // 参数不支持同时指定 SnapshotIds 和 Filters。 SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` // 过滤器列表。 // <li>snapshot-id</li>按照【快照 ID】进行过滤。 // 类型:String // 必选:否 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 接口返回值中的 SnapshotId 获取。 // // <li>disk-id</li>按照【磁盘 ID】进行过滤。 // 类型:String // 必选:否 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/66093">DescribeDisks</a> 接口返回值中的 DiskId 获取。 // // <li>snapshot-name</li>按照【快照名称】进行过滤。 // 类型:String // 必选:否 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 接口返回值中的 SnapshotName 获取。 // <li>instance-id</li>按照【实例 ID 】进行过滤。 // 类型:String // 必选:否 // 可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。 // // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeSnapshotsResponse ¶
type DescribeSnapshotsResponse struct { *tchttp.BaseResponse Response *DescribeSnapshotsResponseParams `json:"Response"` }
func NewDescribeSnapshotsResponse ¶
func NewDescribeSnapshotsResponse() (response *DescribeSnapshotsResponse)
func (*DescribeSnapshotsResponse) FromJsonString ¶
func (r *DescribeSnapshotsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSnapshotsResponse) ToJsonString ¶
func (r *DescribeSnapshotsResponse) ToJsonString() string
type DescribeSnapshotsResponseParams ¶ added in v1.0.426
type DescribeSnapshotsResponseParams struct { // 快照的数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 快照的详情列表。 SnapshotSet []*Snapshot `json:"SnapshotSet,omitnil,omitempty" name:"SnapshotSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZonesRequest ¶
type DescribeZonesRequest struct { *tchttp.BaseRequest // 可用区列表排序的依据字段。取值范围: // <li>ZONE:依据可用区排序。 // <li>INSTANCE_DISPLAY_LABEL:依据可用区展示标签排序,可用区展示标签包括:HIDDEN(隐藏)、NORMAL(普通)、SELECTED(默认选中),默认采用的升序排列为:['HIDDEN', 'NORMAL', 'SELECTED']。 // 默认按可用区排序。 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 输出可用区列表的排列顺序。取值范围: // <li>ASC:升序排列。 // <li>DESC:降序排列。 // 默认按升序排列。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶
func (r *DescribeZonesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesRequest) ToJsonString ¶
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesRequestParams ¶ added in v1.0.426
type DescribeZonesRequestParams struct { // 可用区列表排序的依据字段。取值范围: // <li>ZONE:依据可用区排序。 // <li>INSTANCE_DISPLAY_LABEL:依据可用区展示标签排序,可用区展示标签包括:HIDDEN(隐藏)、NORMAL(普通)、SELECTED(默认选中),默认采用的升序排列为:['HIDDEN', 'NORMAL', 'SELECTED']。 // 默认按可用区排序。 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 输出可用区列表的排列顺序。取值范围: // <li>ASC:升序排列。 // <li>DESC:降序排列。 // 默认按升序排列。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
Predefined struct for user
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { *tchttp.BaseResponse Response *DescribeZonesResponseParams `json:"Response"` }
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶
func (r *DescribeZonesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesResponse) ToJsonString ¶
func (r *DescribeZonesResponse) ToJsonString() string
type DescribeZonesResponseParams ¶ added in v1.0.426
type DescribeZonesResponseParams struct { // 可用区数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 可用区详细信息列表 ZoneInfoSet []*ZoneInfo `json:"ZoneInfoSet,omitnil,omitempty" name:"ZoneInfoSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DetachCcnRequest ¶ added in v1.0.211
type DetachCcnRequest struct { *tchttp.BaseRequest // 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` }
func NewDetachCcnRequest ¶ added in v1.0.211
func NewDetachCcnRequest() (request *DetachCcnRequest)
func (*DetachCcnRequest) FromJsonString ¶ added in v1.0.211
func (r *DetachCcnRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachCcnRequest) ToJsonString ¶ added in v1.0.211
func (r *DetachCcnRequest) ToJsonString() string
type DetachCcnRequestParams ¶ added in v1.0.426
type DetachCcnRequestParams struct { // 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` }
Predefined struct for user
type DetachCcnResponse ¶ added in v1.0.211
type DetachCcnResponse struct { *tchttp.BaseResponse Response *DetachCcnResponseParams `json:"Response"` }
func NewDetachCcnResponse ¶ added in v1.0.211
func NewDetachCcnResponse() (response *DetachCcnResponse)
func (*DetachCcnResponse) FromJsonString ¶ added in v1.0.211
func (r *DetachCcnResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachCcnResponse) ToJsonString ¶ added in v1.0.211
func (r *DetachCcnResponse) ToJsonString() string
type DetachCcnResponseParams ¶ added in v1.0.426
type DetachCcnResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DetachDisksRequest ¶ added in v1.0.314
type DetachDisksRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` }
func NewDetachDisksRequest ¶ added in v1.0.314
func NewDetachDisksRequest() (request *DetachDisksRequest)
func (*DetachDisksRequest) FromJsonString ¶ added in v1.0.314
func (r *DetachDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachDisksRequest) ToJsonString ¶ added in v1.0.314
func (r *DetachDisksRequest) ToJsonString() string
type DetachDisksRequestParams ¶ added in v1.0.426
type DetachDisksRequestParams struct { // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` }
Predefined struct for user
type DetachDisksResponse ¶ added in v1.0.314
type DetachDisksResponse struct { *tchttp.BaseResponse Response *DetachDisksResponseParams `json:"Response"` }
func NewDetachDisksResponse ¶ added in v1.0.314
func NewDetachDisksResponse() (response *DetachDisksResponse)
func (*DetachDisksResponse) FromJsonString ¶ added in v1.0.314
func (r *DetachDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DetachDisksResponse) ToJsonString ¶ added in v1.0.314
func (r *DetachDisksResponse) ToJsonString() string
type DetachDisksResponseParams ¶ added in v1.0.426
type DetachDisksResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DetailPrice ¶ added in v1.0.469
type DetailPrice struct { // 描述计费项目名称,目前取值 // <li>"DiskSpace"代表云硬盘空间收费项。</li> // <li>"DiskBackupQuota"代表云硬盘备份点配额收费项。</li> PriceName *string `json:"PriceName,omitnil,omitempty" name:"PriceName"` // 云硬盘计费项维度单价。 OriginUnitPrice *float64 `json:"OriginUnitPrice,omitnil,omitempty" name:"OriginUnitPrice"` // 云硬盘计费项维度总价。 OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // 云硬盘在计费项维度折扣。 Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"` // 云硬盘在计费项维度折后总价。 DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"` }
type DisassociateInstancesKeyPairsRequest ¶
type DisassociateInstancesKeyPairsRequest struct { *tchttp.BaseRequest // 密钥对 ID 列表,每次请求批量密钥对的上限为 100。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDisassociateInstancesKeyPairsRequest ¶
func NewDisassociateInstancesKeyPairsRequest() (request *DisassociateInstancesKeyPairsRequest)
func (*DisassociateInstancesKeyPairsRequest) FromJsonString ¶
func (r *DisassociateInstancesKeyPairsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateInstancesKeyPairsRequest) ToJsonString ¶
func (r *DisassociateInstancesKeyPairsRequest) ToJsonString() string
type DisassociateInstancesKeyPairsRequestParams ¶ added in v1.0.426
type DisassociateInstancesKeyPairsRequestParams struct { // 密钥对 ID 列表,每次请求批量密钥对的上限为 100。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DisassociateInstancesKeyPairsResponse ¶
type DisassociateInstancesKeyPairsResponse struct { *tchttp.BaseResponse Response *DisassociateInstancesKeyPairsResponseParams `json:"Response"` }
func NewDisassociateInstancesKeyPairsResponse ¶
func NewDisassociateInstancesKeyPairsResponse() (response *DisassociateInstancesKeyPairsResponse)
func (*DisassociateInstancesKeyPairsResponse) FromJsonString ¶
func (r *DisassociateInstancesKeyPairsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisassociateInstancesKeyPairsResponse) ToJsonString ¶
func (r *DisassociateInstancesKeyPairsResponse) ToJsonString() string
type DisassociateInstancesKeyPairsResponseParams ¶ added in v1.0.426
type DisassociateInstancesKeyPairsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DiscountDetail ¶
type DiscountDetail struct { // 计费时长。 TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // 计费单元。 TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // 总价。 TotalCost *float64 `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` // 折后总价。 RealTotalCost *float64 `json:"RealTotalCost,omitnil,omitempty" name:"RealTotalCost"` // 折扣。 Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"` // 具体折扣详情。 PolicyDetail *PolicyDetail `json:"PolicyDetail,omitnil,omitempty" name:"PolicyDetail"` }
type Disk ¶ added in v1.0.314
type Disk struct { // 磁盘ID DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 可用区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 磁盘名称 DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"` // 磁盘类型 DiskUsage *string `json:"DiskUsage,omitnil,omitempty" name:"DiskUsage"` // 磁盘介质类型 DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 磁盘付费类型 DiskChargeType *string `json:"DiskChargeType,omitnil,omitempty" name:"DiskChargeType"` // 磁盘大小 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 续费标识 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // 磁盘状态,取值范围: // <li>PENDING:创建中。 </li> // <li>UNATTACHED:未挂载。</li> // <li>ATTACHING:挂载中。</li> // <li>ATTACHED:已挂载。</li> // <li>DETACHING:卸载中。 </li> // <li> SHUTDOWN:已隔离。</li> // <li> CREATED_FAILED:创建失败。</li> // <li>TERMINATING:销毁中。</li> // <li> DELETING:删除中。</li> // <li> FREEZING:冻结中。</li> DiskState *string `json:"DiskState,omitnil,omitempty" name:"DiskState"` // 磁盘挂载状态 Attached *bool `json:"Attached,omitnil,omitempty" name:"Attached"` // 是否随实例释放 DeleteWithInstance *bool `json:"DeleteWithInstance,omitnil,omitempty" name:"DeleteWithInstance"` // 上一次操作 LatestOperation *string `json:"LatestOperation,omitnil,omitempty" name:"LatestOperation"` // 上一次操作状态 LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"` // 上一次请求ID LatestOperationRequestId *string `json:"LatestOperationRequestId,omitnil,omitempty" name:"LatestOperationRequestId"` // 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 到期时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 ExpiredTime *string `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"` // 隔离时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 IsolatedTime *string `json:"IsolatedTime,omitnil,omitempty" name:"IsolatedTime"` // 云硬盘的已有备份点数量。 DiskBackupCount *int64 `json:"DiskBackupCount,omitnil,omitempty" name:"DiskBackupCount"` // 云硬盘的备份点配额数量。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` }
type DiskBackup ¶ added in v1.0.563
type DiskBackup struct { // 云硬盘备份点ID。 DiskBackupId *string `json:"DiskBackupId,omitnil,omitempty" name:"DiskBackupId"` // 创建此云硬盘备份点的云硬盘类型。取值:<li>DATA_DISK:数据盘</li> DiskUsage *string `json:"DiskUsage,omitnil,omitempty" name:"DiskUsage"` // 创建此云硬盘备份点的云硬盘 ID。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 创建此云硬盘备份点的云硬盘大小,单位 GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 云硬盘备份点名称,用户自定义的云硬盘备份点别名。 DiskBackupName *string `json:"DiskBackupName,omitnil,omitempty" name:"DiskBackupName"` // 云硬盘备份点的状态。取值范围: // <li>NORMAL:正常。 </li> // <li>CREATING:创建中。</li> // <li>ROLLBACKING:回滚中。</li> // <li>DELETING:删除中。</li> DiskBackupState *string `json:"DiskBackupState,omitnil,omitempty" name:"DiskBackupState"` // 创建或回滚云硬盘备份点进度百分比,成功后此字段取值为 100。 Percent *int64 `json:"Percent,omitnil,omitempty" name:"Percent"` // 上一次操作 // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperation *string `json:"LatestOperation,omitnil,omitempty" name:"LatestOperation"` // 上一次操作状态 // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"` // 上一次请求ID // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperationRequestId *string `json:"LatestOperationRequestId,omitnil,omitempty" name:"LatestOperationRequestId"` // 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` }
type DiskBackupDeniedActions ¶ added in v1.0.563
type DiskBackupDeniedActions struct { // 云硬盘备份点ID。 DiskBackupId *string `json:"DiskBackupId,omitnil,omitempty" name:"DiskBackupId"` // 操作限制列表。 DeniedActions []*DeniedAction `json:"DeniedActions,omitnil,omitempty" name:"DeniedActions"` }
type DiskChargePrepaid ¶ added in v1.0.314
type DiskChargePrepaid struct { // 新购周期。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知<br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,云硬盘到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // 新购单位. 默认值: "m"。 TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` }
type DiskConfig ¶ added in v1.0.314
type DiskConfig struct { // 可用区。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 云硬盘类型。 DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 云硬盘可售卖状态。 DiskSalesState *string `json:"DiskSalesState,omitnil,omitempty" name:"DiskSalesState"` // 最大云硬盘大小。 MaxDiskSize *int64 `json:"MaxDiskSize,omitnil,omitempty" name:"MaxDiskSize"` // 最小云硬盘大小。 MinDiskSize *int64 `json:"MinDiskSize,omitnil,omitempty" name:"MinDiskSize"` // 云硬盘步长。 DiskStepSize *int64 `json:"DiskStepSize,omitnil,omitempty" name:"DiskStepSize"` }
type DiskDeniedActions ¶ added in v1.0.314
type DiskDeniedActions struct { // 云硬盘ID。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 操作限制列表。 DeniedActions []*DeniedAction `json:"DeniedActions,omitnil,omitempty" name:"DeniedActions"` }
type DiskPrice ¶ added in v1.0.314
type DiskPrice struct { // 云硬盘单价。 OriginalDiskPrice *float64 `json:"OriginalDiskPrice,omitnil,omitempty" name:"OriginalDiskPrice"` // 云硬盘总价。 OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // 折扣。 Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"` // 折后总价。 DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"` // 计费项目明细列表。 DetailPrices []*DetailPrice `json:"DetailPrices,omitnil,omitempty" name:"DetailPrices"` }
type DiskReturnable ¶ added in v1.0.314
type DiskReturnable struct { // 云硬盘ID。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 云硬盘是否可退还。 IsReturnable *bool `json:"IsReturnable,omitnil,omitempty" name:"IsReturnable"` // 云硬盘退还失败错误码。 ReturnFailCode *int64 `json:"ReturnFailCode,omitnil,omitempty" name:"ReturnFailCode"` // 云硬盘退还失败错误信息。 ReturnFailMessage *string `json:"ReturnFailMessage,omitnil,omitempty" name:"ReturnFailMessage"` }
type DockerActivity ¶ added in v1.0.707
type DockerActivity struct { // 活动ID。 ActivityId *string `json:"ActivityId,omitnil,omitempty" name:"ActivityId"` // 活动名称。 ActivityName *string `json:"ActivityName,omitnil,omitempty" name:"ActivityName"` // 活动状态。取值范围: // <li>INIT:表示初始化,活动尚未执行</li> // <li>OPERATING:表示活动执行中</li> // <li>SUCCESS:表示活动执行成功</li> // <li>FAILED:表示活动执行失败</li> ActivityState *string `json:"ActivityState,omitnil,omitempty" name:"ActivityState"` // 活动执行的命令输出,以base64编码。 ActivityCommandOutput *string `json:"ActivityCommandOutput,omitnil,omitempty" name:"ActivityCommandOutput"` // 容器ID列表。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` // 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 结束时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type DockerContainer ¶ added in v1.0.707
type DockerContainer struct { // 容器ID ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` // 容器名称 ContainerName *string `json:"ContainerName,omitnil,omitempty" name:"ContainerName"` // 容器镜像地址 ContainerImage *string `json:"ContainerImage,omitnil,omitempty" name:"ContainerImage"` // 容器Command Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 容器状态描述 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 容器状态,和docker的容器状态保持一致,当前取值有:created, restarting, running, removing, paused, exited, or dead State *string `json:"State,omitnil,omitempty" name:"State"` // 容器端口主机端口映射列表 PublishPortSet []*DockerContainerPublishPort `json:"PublishPortSet,omitnil,omitempty" name:"PublishPortSet"` // 容器挂载本地卷列表 VolumeSet []*DockerContainerVolume `json:"VolumeSet,omitnil,omitempty" name:"VolumeSet"` // 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` }
type DockerContainerConfiguration ¶ added in v1.0.345
type DockerContainerConfiguration struct { // 容器镜像地址 ContainerImage *string `json:"ContainerImage,omitnil,omitempty" name:"ContainerImage"` // 容器名称 ContainerName *string `json:"ContainerName,omitnil,omitempty" name:"ContainerName"` // 环境变量列表 Envs []*ContainerEnv `json:"Envs,omitnil,omitempty" name:"Envs"` // 容器端口主机端口映射列表 PublishPorts []*DockerContainerPublishPort `json:"PublishPorts,omitnil,omitempty" name:"PublishPorts"` // 容器加载本地卷列表 Volumes []*DockerContainerVolume `json:"Volumes,omitnil,omitempty" name:"Volumes"` // 运行的命令 Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 容器重启策略 RestartPolicy *string `json:"RestartPolicy,omitnil,omitempty" name:"RestartPolicy"` }
type DockerContainerPublishPort ¶ added in v1.0.345
type DockerContainerPublishPort struct { // 主机端口 HostPort *int64 `json:"HostPort,omitnil,omitempty" name:"HostPort"` // 容器端口 ContainerPort *int64 `json:"ContainerPort,omitnil,omitempty" name:"ContainerPort"` // 对外绑定IP,默认0.0.0.0 // 注意:此字段可能返回 null,表示取不到有效值。 Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // 协议,默认tcp,支持tcp/udp/sctp // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
type DockerContainerVolume ¶ added in v1.0.345
type FirewallRule ¶
type FirewallRule struct { // 协议,取值:TCP,UDP,ICMP,ALL。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 端口,取值:ALL,单独的端口,逗号分隔的离散端口,减号分隔的端口范围。 Port *string `json:"Port,omitnil,omitempty" name:"Port"` // IPv4网段或 IPv4地址(互斥)。 // 示例值:0.0.0.0/0。 // // 和Ipv6CidrBlock互斥,两者都不指定时,如果Protocol不是ICMPv6,则取默认值0.0.0.0/0。 CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` // 取值:ACCEPT,DROP。默认为 ACCEPT。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 防火墙规则描述。 FirewallRuleDescription *string `json:"FirewallRuleDescription,omitnil,omitempty" name:"FirewallRuleDescription"` }
type FirewallRuleInfo ¶
type FirewallRuleInfo struct { // 应用类型,取值:自定义,HTTP(80),HTTPS(443),Linux登录(22),Windows登录(3389),MySQL(3306),SQL Server(1433),全部TCP,全部UDP,Ping-ICMP,ALL。 AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"` // 协议,取值:TCP,UDP,ICMP,ALL。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 端口,取值:ALL,单独的端口,逗号分隔的离散端口,减号分隔的端口范围。 Port *string `json:"Port,omitnil,omitempty" name:"Port"` // IPv4网段或 IPv4地址(互斥)。 // 示例值:0.0.0.0/0。 // // 和Ipv6CidrBlock互斥,两者都不指定时,如果Protocol不是ICMPv6,则取默认值0.0.0.0/0。 CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` // 取值:ACCEPT,DROP。默认为 ACCEPT。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 防火墙规则描述。 FirewallRuleDescription *string `json:"FirewallRuleDescription,omitnil,omitempty" name:"FirewallRuleDescription"` }
type FirewallTemplate ¶ added in v1.0.729
type FirewallTemplate struct { // 模板Id。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 模板名称。 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` // 模板类型。 TemplateType *string `json:"TemplateType,omitnil,omitempty" name:"TemplateType"` // 模板状态。 TemplateState *string `json:"TemplateState,omitnil,omitempty" name:"TemplateState"` // 模板创建时间。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` }
type FirewallTemplateApplyRecord ¶ added in v1.0.729
type FirewallTemplateApplyRecord struct { // 任务ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 应用模板的时间。 ApplyTime *string `json:"ApplyTime,omitnil,omitempty" name:"ApplyTime"` // 模板规则列表。 TemplateRuleSet []*FirewallTemplateRule `json:"TemplateRuleSet,omitnil,omitempty" name:"TemplateRuleSet"` // 应用模板的执行状态。 ApplyState *string `json:"ApplyState,omitnil,omitempty" name:"ApplyState"` // 应用成功的实例数量。 SuccessCount *int64 `json:"SuccessCount,omitnil,omitempty" name:"SuccessCount"` // 应用失败的实例数量。 FailedCount *int64 `json:"FailedCount,omitnil,omitempty" name:"FailedCount"` // 正在应用中的实例数量。 RunningCount *int64 `json:"RunningCount,omitnil,omitempty" name:"RunningCount"` // 应用模板的执行细节。 ApplyDetailSet []*FirewallTemplateApplyRecordDetail `json:"ApplyDetailSet,omitnil,omitempty" name:"ApplyDetailSet"` }
type FirewallTemplateApplyRecordDetail ¶ added in v1.0.729
type FirewallTemplateApplyRecordDetail struct { // 实例标识信息。 Instance *InstanceIdentifier `json:"Instance,omitnil,omitempty" name:"Instance"` // 防火墙模板应用状态。 ApplyState *string `json:"ApplyState,omitnil,omitempty" name:"ApplyState"` // 防火墙模板应用错误信息。 ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"` }
type FirewallTemplateRule ¶ added in v1.0.729
type FirewallTemplateRule struct { // 防火墙模板规则ID。 TemplateRuleId *string `json:"TemplateRuleId,omitnil,omitempty" name:"TemplateRuleId"` // 防火墙规则。 FirewallRule *FirewallRule `json:"FirewallRule,omitnil,omitempty" name:"FirewallRule"` }
type FirewallTemplateRuleInfo ¶ added in v1.0.729
type FirewallTemplateRuleInfo struct { // 防火墙模板规则ID。 TemplateRuleId *string `json:"TemplateRuleId,omitnil,omitempty" name:"TemplateRuleId"` // 防火墙规则信息。 FirewallRuleInfo *FirewallRuleInfo `json:"FirewallRuleInfo,omitnil,omitempty" name:"FirewallRuleInfo"` }
type GeneralResourceQuota ¶
type GeneralResourceQuota struct { // 资源名称。 ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"` // 资源当前可用数量。 ResourceQuotaAvailable *int64 `json:"ResourceQuotaAvailable,omitnil,omitempty" name:"ResourceQuotaAvailable"` // 资源总数量。 ResourceQuotaTotal *int64 `json:"ResourceQuotaTotal,omitnil,omitempty" name:"ResourceQuotaTotal"` }
type ImportKeyPairRequest ¶
type ImportKeyPairRequest struct { *tchttp.BaseRequest // 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。 KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` // 密钥对的公钥内容, OpenSSH RSA 格式。 PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"` }
func NewImportKeyPairRequest ¶
func NewImportKeyPairRequest() (request *ImportKeyPairRequest)
func (*ImportKeyPairRequest) FromJsonString ¶
func (r *ImportKeyPairRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportKeyPairRequest) ToJsonString ¶
func (r *ImportKeyPairRequest) ToJsonString() string
type ImportKeyPairRequestParams ¶ added in v1.0.426
type ImportKeyPairRequestParams struct { // 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。 KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` // 密钥对的公钥内容, OpenSSH RSA 格式。 PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"` }
Predefined struct for user
type ImportKeyPairResponse ¶
type ImportKeyPairResponse struct { *tchttp.BaseResponse Response *ImportKeyPairResponseParams `json:"Response"` }
func NewImportKeyPairResponse ¶
func NewImportKeyPairResponse() (response *ImportKeyPairResponse)
func (*ImportKeyPairResponse) FromJsonString ¶
func (r *ImportKeyPairResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportKeyPairResponse) ToJsonString ¶
func (r *ImportKeyPairResponse) ToJsonString() string
type ImportKeyPairResponseParams ¶ added in v1.0.426
type ImportKeyPairResponseParams struct { // 密钥对 ID。 KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquirePriceCreateBlueprintRequest ¶
type InquirePriceCreateBlueprintRequest struct { *tchttp.BaseRequest // 自定义镜像的个数。默认值为1。 BlueprintCount *int64 `json:"BlueprintCount,omitnil,omitempty" name:"BlueprintCount"` }
func NewInquirePriceCreateBlueprintRequest ¶
func NewInquirePriceCreateBlueprintRequest() (request *InquirePriceCreateBlueprintRequest)
func (*InquirePriceCreateBlueprintRequest) FromJsonString ¶
func (r *InquirePriceCreateBlueprintRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceCreateBlueprintRequest) ToJsonString ¶
func (r *InquirePriceCreateBlueprintRequest) ToJsonString() string
type InquirePriceCreateBlueprintRequestParams ¶ added in v1.0.426
type InquirePriceCreateBlueprintRequestParams struct { // 自定义镜像的个数。默认值为1。 BlueprintCount *int64 `json:"BlueprintCount,omitnil,omitempty" name:"BlueprintCount"` }
Predefined struct for user
type InquirePriceCreateBlueprintResponse ¶
type InquirePriceCreateBlueprintResponse struct { *tchttp.BaseResponse Response *InquirePriceCreateBlueprintResponseParams `json:"Response"` }
func NewInquirePriceCreateBlueprintResponse ¶
func NewInquirePriceCreateBlueprintResponse() (response *InquirePriceCreateBlueprintResponse)
func (*InquirePriceCreateBlueprintResponse) FromJsonString ¶
func (r *InquirePriceCreateBlueprintResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceCreateBlueprintResponse) ToJsonString ¶
func (r *InquirePriceCreateBlueprintResponse) ToJsonString() string
type InquirePriceCreateBlueprintResponseParams ¶ added in v1.0.426
type InquirePriceCreateBlueprintResponseParams struct { // 自定义镜像的价格参数。 BlueprintPrice *BlueprintPrice `json:"BlueprintPrice,omitnil,omitempty" name:"BlueprintPrice"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquirePriceCreateDisksRequest ¶ added in v1.0.314
type InquirePriceCreateDisksRequest struct { *tchttp.BaseRequest // 云硬盘大小, 单位: GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 云硬盘介质类型。取值: "CLOUD_PREMIUM"(高性能云盘), "CLOUD_SSD"(SSD云硬盘)。 DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 新购云硬盘包年包月相关参数设置。 DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitnil,omitempty" name:"DiskChargePrepaid"` // 云硬盘个数, 默认值: 1。 DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` // 指定云硬盘备份点配额,不传时默认为不带备份点配额。目前只支持不带或设置1个云硬盘备份点配额。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` }
func NewInquirePriceCreateDisksRequest ¶ added in v1.0.314
func NewInquirePriceCreateDisksRequest() (request *InquirePriceCreateDisksRequest)
func (*InquirePriceCreateDisksRequest) FromJsonString ¶ added in v1.0.314
func (r *InquirePriceCreateDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceCreateDisksRequest) ToJsonString ¶ added in v1.0.314
func (r *InquirePriceCreateDisksRequest) ToJsonString() string
type InquirePriceCreateDisksRequestParams ¶ added in v1.0.426
type InquirePriceCreateDisksRequestParams struct { // 云硬盘大小, 单位: GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 云硬盘介质类型。取值: "CLOUD_PREMIUM"(高性能云盘), "CLOUD_SSD"(SSD云硬盘)。 DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 新购云硬盘包年包月相关参数设置。 DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitnil,omitempty" name:"DiskChargePrepaid"` // 云硬盘个数, 默认值: 1。 DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` // 指定云硬盘备份点配额,不传时默认为不带备份点配额。目前只支持不带或设置1个云硬盘备份点配额。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` }
Predefined struct for user
type InquirePriceCreateDisksResponse ¶ added in v1.0.314
type InquirePriceCreateDisksResponse struct { *tchttp.BaseResponse Response *InquirePriceCreateDisksResponseParams `json:"Response"` }
func NewInquirePriceCreateDisksResponse ¶ added in v1.0.314
func NewInquirePriceCreateDisksResponse() (response *InquirePriceCreateDisksResponse)
func (*InquirePriceCreateDisksResponse) FromJsonString ¶ added in v1.0.314
func (r *InquirePriceCreateDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceCreateDisksResponse) ToJsonString ¶ added in v1.0.314
func (r *InquirePriceCreateDisksResponse) ToJsonString() string
type InquirePriceCreateDisksResponseParams ¶ added in v1.0.426
type InquirePriceCreateDisksResponseParams struct { // 云硬盘价格。 DiskPrice *DiskPrice `json:"DiskPrice,omitnil,omitempty" name:"DiskPrice"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquirePriceCreateInstancesRequest ¶
type InquirePriceCreateInstancesRequest struct { *tchttp.BaseRequest // 实例的套餐 ID。可以通过调用[DescribeBundles](https://cloud.tencent.com/document/api/1207/47575)接口获取。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // 创建数量,默认为 1。 InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 应用镜像 ID,使用收费应用镜像时必填。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` }
func NewInquirePriceCreateInstancesRequest ¶
func NewInquirePriceCreateInstancesRequest() (request *InquirePriceCreateInstancesRequest)
func (*InquirePriceCreateInstancesRequest) FromJsonString ¶
func (r *InquirePriceCreateInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceCreateInstancesRequest) ToJsonString ¶
func (r *InquirePriceCreateInstancesRequest) ToJsonString() string
type InquirePriceCreateInstancesRequestParams ¶ added in v1.0.426
type InquirePriceCreateInstancesRequestParams struct { // 实例的套餐 ID。可以通过调用[DescribeBundles](https://cloud.tencent.com/document/api/1207/47575)接口获取。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // 创建数量,默认为 1。 InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // 应用镜像 ID,使用收费应用镜像时必填。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` }
Predefined struct for user
type InquirePriceCreateInstancesResponse ¶
type InquirePriceCreateInstancesResponse struct { *tchttp.BaseResponse Response *InquirePriceCreateInstancesResponseParams `json:"Response"` }
func NewInquirePriceCreateInstancesResponse ¶
func NewInquirePriceCreateInstancesResponse() (response *InquirePriceCreateInstancesResponse)
func (*InquirePriceCreateInstancesResponse) FromJsonString ¶
func (r *InquirePriceCreateInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceCreateInstancesResponse) ToJsonString ¶
func (r *InquirePriceCreateInstancesResponse) ToJsonString() string
type InquirePriceCreateInstancesResponseParams ¶ added in v1.0.426
type InquirePriceCreateInstancesResponseParams struct { // 询价信息。 Price *Price `json:"Price,omitnil,omitempty" name:"Price"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquirePriceRenewDisksRequest ¶ added in v1.0.314
type InquirePriceRenewDisksRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。每次批量请求云硬盘的上限为 1。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 续费云硬盘包年包月相关参数设置。 RenewDiskChargePrepaid *RenewDiskChargePrepaid `json:"RenewDiskChargePrepaid,omitnil,omitempty" name:"RenewDiskChargePrepaid"` }
func NewInquirePriceRenewDisksRequest ¶ added in v1.0.314
func NewInquirePriceRenewDisksRequest() (request *InquirePriceRenewDisksRequest)
func (*InquirePriceRenewDisksRequest) FromJsonString ¶ added in v1.0.314
func (r *InquirePriceRenewDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceRenewDisksRequest) ToJsonString ¶ added in v1.0.314
func (r *InquirePriceRenewDisksRequest) ToJsonString() string
type InquirePriceRenewDisksRequestParams ¶ added in v1.0.426
type InquirePriceRenewDisksRequestParams struct { // 云硬盘ID列表。每次批量请求云硬盘的上限为 1。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 续费云硬盘包年包月相关参数设置。 RenewDiskChargePrepaid *RenewDiskChargePrepaid `json:"RenewDiskChargePrepaid,omitnil,omitempty" name:"RenewDiskChargePrepaid"` }
Predefined struct for user
type InquirePriceRenewDisksResponse ¶ added in v1.0.314
type InquirePriceRenewDisksResponse struct { *tchttp.BaseResponse Response *InquirePriceRenewDisksResponseParams `json:"Response"` }
func NewInquirePriceRenewDisksResponse ¶ added in v1.0.314
func NewInquirePriceRenewDisksResponse() (response *InquirePriceRenewDisksResponse)
func (*InquirePriceRenewDisksResponse) FromJsonString ¶ added in v1.0.314
func (r *InquirePriceRenewDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceRenewDisksResponse) ToJsonString ¶ added in v1.0.314
func (r *InquirePriceRenewDisksResponse) ToJsonString() string
type InquirePriceRenewDisksResponseParams ¶ added in v1.0.426
type InquirePriceRenewDisksResponseParams struct { // 云硬盘价格。 DiskPrice *DiskPrice `json:"DiskPrice,omitnil,omitempty" name:"DiskPrice"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquirePriceRenewInstancesRequest ¶
type InquirePriceRenewInstancesRequest struct { *tchttp.BaseRequest // 待续费的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573 )接口返回值中的InstanceId获取。每次请求批量实例的上限为50。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // 是否续费数据盘。默认值: false, 即不续费。 RenewDataDisk *bool `json:"RenewDataDisk,omitnil,omitempty" name:"RenewDataDisk"` // 数据盘是否对齐实例到期时间。默认值: false, 即不对齐。 AlignInstanceExpiredTime *bool `json:"AlignInstanceExpiredTime,omitnil,omitempty" name:"AlignInstanceExpiredTime"` }
func NewInquirePriceRenewInstancesRequest ¶
func NewInquirePriceRenewInstancesRequest() (request *InquirePriceRenewInstancesRequest)
func (*InquirePriceRenewInstancesRequest) FromJsonString ¶
func (r *InquirePriceRenewInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceRenewInstancesRequest) ToJsonString ¶
func (r *InquirePriceRenewInstancesRequest) ToJsonString() string
type InquirePriceRenewInstancesRequestParams ¶ added in v1.0.426
type InquirePriceRenewInstancesRequestParams struct { // 待续费的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573 )接口返回值中的InstanceId获取。每次请求批量实例的上限为50。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // 是否续费数据盘。默认值: false, 即不续费。 RenewDataDisk *bool `json:"RenewDataDisk,omitnil,omitempty" name:"RenewDataDisk"` // 数据盘是否对齐实例到期时间。默认值: false, 即不对齐。 AlignInstanceExpiredTime *bool `json:"AlignInstanceExpiredTime,omitnil,omitempty" name:"AlignInstanceExpiredTime"` }
Predefined struct for user
type InquirePriceRenewInstancesResponse ¶
type InquirePriceRenewInstancesResponse struct { *tchttp.BaseResponse Response *InquirePriceRenewInstancesResponseParams `json:"Response"` }
func NewInquirePriceRenewInstancesResponse ¶
func NewInquirePriceRenewInstancesResponse() (response *InquirePriceRenewInstancesResponse)
func (*InquirePriceRenewInstancesResponse) FromJsonString ¶
func (r *InquirePriceRenewInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquirePriceRenewInstancesResponse) ToJsonString ¶
func (r *InquirePriceRenewInstancesResponse) ToJsonString() string
type InquirePriceRenewInstancesResponseParams ¶ added in v1.0.426
type InquirePriceRenewInstancesResponseParams struct { // 询价信息。默认为列表中第一个实例的价格信息。 Price *Price `json:"Price,omitnil,omitempty" name:"Price"` // 数据盘价格信息列表。 // 注意:此字段可能返回 null,表示取不到有效值。 DataDiskPriceSet []*DataDiskPrice `json:"DataDiskPriceSet,omitnil,omitempty" name:"DataDiskPriceSet"` // 待续费实例价格列表。 // 注意:此字段可能返回 null,表示取不到有效值。 InstancePriceDetailSet []*InstancePriceDetail `json:"InstancePriceDetailSet,omitnil,omitempty" name:"InstancePriceDetailSet"` // 总计价格。 TotalPrice *TotalPrice `json:"TotalPrice,omitnil,omitempty" name:"TotalPrice"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Instance ¶
type Instance struct { // 实例 ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 套餐 ID。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` // 镜像 ID。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 实例的 CPU 核数,单位:核。 CPU *int64 `json:"CPU,omitnil,omitempty" name:"CPU"` // 实例内存容量,单位:GB 。 Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 实例名称。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 实例计费模式。取值范围: // PREPAID:表示预付费,即包年包月。 InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // 实例系统盘信息。 SystemDisk *SystemDisk `json:"SystemDisk,omitnil,omitempty" name:"SystemDisk"` // 实例主网卡的内网 IP。 // 注意:此字段可能返回 空,表示取不到有效值。 PrivateAddresses []*string `json:"PrivateAddresses,omitnil,omitempty" name:"PrivateAddresses"` // 实例主网卡的公网 IP。 // 注意:此字段可能返回 空,表示取不到有效值。 PublicAddresses []*string `json:"PublicAddresses,omitnil,omitempty" name:"PublicAddresses"` // 实例带宽信息。 InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"` // 自动续费标识。取值范围: // NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 // NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // 实例登录设置。 LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // 实例状态。取值范围: // <li>PENDING:表示创建中</li><li>LAUNCH_FAILED:表示创建失败</li><li>RUNNING:表示运行中</li><li>STOPPED:表示关机</li><li>STARTING:表示开机中</li><li>STOPPING:表示关机中</li><li>REBOOTING:表示重启中</li><li>SHUTDOWN:表示停止待销毁</li><li>TERMINATING:表示销毁中</li><li>DELETING:表示删除中</li><li>FREEZING:表示冻结中</li><li>ENTER_RESCUE_MODE:表示进入救援模式中</li><li>RESCUE_MODE:表示救援模式</li><li>EXIT_RESCUE_MODE:表示退出救援模式中</li> InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"` // 实例全局唯一 ID。 Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"` // 实例的最新操作。例:StopInstances、ResetInstance。注意:此字段可能返回 空值,表示取不到有效值。 LatestOperation *string `json:"LatestOperation,omitnil,omitempty" name:"LatestOperation"` // 实例的最新操作状态。取值范围: // SUCCESS:表示操作成功 // OPERATING:表示操作执行中 // FAILED:表示操作失败 // 注意:此字段可能返回 空值,表示取不到有效值。 LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"` // 实例最新操作的唯一请求 ID。 // 注意:此字段可能返回 空值,表示取不到有效值。 LatestOperationRequestId *string `json:"LatestOperationRequestId,omitnil,omitempty" name:"LatestOperationRequestId"` // 实例最新操作的开始时间。 // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperationStartedTime *string `json:"LatestOperationStartedTime,omitnil,omitempty" name:"LatestOperationStartedTime"` // 隔离时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 IsolatedTime *string `json:"IsolatedTime,omitnil,omitempty" name:"IsolatedTime"` // 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 到期时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ 。 // 注意:此字段可能返回 null,表示取不到有效值。 ExpiredTime *string `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"` // 操作系统平台类型,如 LINUX_UNIX、WINDOWS。 PlatformType *string `json:"PlatformType,omitnil,omitempty" name:"PlatformType"` // 操作系统平台。 Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"` // 操作系统名称。 OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"` // 可用区。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 实例绑定的标签列表。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 实例封禁状态。取值范围: // <li>NORMAL实例正常。</li><li>NETWORK_RESTRICT:网络封禁。</li> InstanceRestrictState *string `json:"InstanceRestrictState,omitnil,omitempty" name:"InstanceRestrictState"` // 创建实例后自动执行TAT命令的调用ID。 InitInvocationId *string `json:"InitInvocationId,omitnil,omitempty" name:"InitInvocationId"` }
type InstanceChargePrepaid ¶
type InstanceChargePrepaid struct { // 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费</li><br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知</li><br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
type InstanceDeniedActions ¶
type InstanceDeniedActions struct { // 实例 ID。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 操作限制列表。 DeniedActions []*DeniedAction `json:"DeniedActions,omitnil,omitempty" name:"DeniedActions"` }
type InstanceIdentifier ¶ added in v1.0.729
type InstancePrice ¶
type InstancePrice struct { // 套餐单价原价。 OriginalBundlePrice *float64 `json:"OriginalBundlePrice,omitnil,omitempty" name:"OriginalBundlePrice"` // 原价。 OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"` // 折扣。 Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"` // 折后价。 DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"` // 价格货币单位。取值范围CNY:人民币。USD:美元。 // 注意:此字段可能返回 null,表示取不到有效值。 Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` }
type InstancePriceDetail ¶ added in v1.0.538
type InstancePriceDetail struct { // 实例ID。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 询价信息。 // 注意:此字段可能返回 null,表示取不到有效值。 InstancePrice *InstancePrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"` // 折扣梯度详情,每个梯度包含的信息有:时长,折扣数,总价,折扣价,折扣详情(用户折扣、官网折扣、最终折扣)。 // 注意:此字段可能返回 null,表示取不到有效值。 DiscountDetail []*DiscountDetail `json:"DiscountDetail,omitnil,omitempty" name:"DiscountDetail"` }
type InstanceReturnable ¶
type InstanceReturnable struct { // 实例 ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例是否可退还。 IsReturnable *bool `json:"IsReturnable,omitnil,omitempty" name:"IsReturnable"` // 实例退还失败错误码。 ReturnFailCode *int64 `json:"ReturnFailCode,omitnil,omitempty" name:"ReturnFailCode"` // 实例退还失败错误信息。 ReturnFailMessage *string `json:"ReturnFailMessage,omitnil,omitempty" name:"ReturnFailMessage"` }
type InstanceTrafficPackage ¶
type InstanceTrafficPackage struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 流量包详情列表。 TrafficPackageSet []*TrafficPackage `json:"TrafficPackageSet,omitnil,omitempty" name:"TrafficPackageSet"` }
type InternetAccessible ¶
type InternetAccessible struct { // 网络计费类型,取值范围: // <li>按流量包付费:TRAFFIC_POSTPAID_BY_HOUR</li> // <li>按带宽付费: BANDWIDTH_POSTPAID_BY_HOUR</li> InternetChargeType *string `json:"InternetChargeType,omitnil,omitempty" name:"InternetChargeType"` // 公网出带宽上限,单位:Mbps。 InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"` // 是否分配公网 IP。 PublicIpAssigned *bool `json:"PublicIpAssigned,omitnil,omitempty" name:"PublicIpAssigned"` }
type IsolateDisksRequest ¶ added in v1.0.653
type IsolateDisksRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求退还数据盘数量总计上限为20。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` }
func NewIsolateDisksRequest ¶ added in v1.0.653
func NewIsolateDisksRequest() (request *IsolateDisksRequest)
func (*IsolateDisksRequest) FromJsonString ¶ added in v1.0.653
func (r *IsolateDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateDisksRequest) ToJsonString ¶ added in v1.0.653
func (r *IsolateDisksRequest) ToJsonString() string
type IsolateDisksRequestParams ¶ added in v1.0.653
type IsolateDisksRequestParams struct { // 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求退还数据盘数量总计上限为20。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` }
Predefined struct for user
type IsolateDisksResponse ¶ added in v1.0.653
type IsolateDisksResponse struct { *tchttp.BaseResponse Response *IsolateDisksResponseParams `json:"Response"` }
func NewIsolateDisksResponse ¶ added in v1.0.653
func NewIsolateDisksResponse() (response *IsolateDisksResponse)
func (*IsolateDisksResponse) FromJsonString ¶ added in v1.0.653
func (r *IsolateDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateDisksResponse) ToJsonString ¶ added in v1.0.653
func (r *IsolateDisksResponse) ToJsonString() string
type IsolateDisksResponseParams ¶ added in v1.0.653
type IsolateDisksResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IsolateInstancesRequest ¶ added in v1.0.392
type IsolateInstancesRequest struct { *tchttp.BaseRequest // 实例ID列表。一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。每次请求退还实例和数据盘数量总计上限为20。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 是否退还挂载的数据盘。取值范围: // TRUE:表示退还实例同时退还其挂载的数据盘。 // FALSE:表示退还实例同时不再退还其挂载的数据盘。 // 默认取值:TRUE。 IsolateDataDisk *bool `json:"IsolateDataDisk,omitnil,omitempty" name:"IsolateDataDisk"` }
func NewIsolateInstancesRequest ¶ added in v1.0.392
func NewIsolateInstancesRequest() (request *IsolateInstancesRequest)
func (*IsolateInstancesRequest) FromJsonString ¶ added in v1.0.392
func (r *IsolateInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateInstancesRequest) ToJsonString ¶ added in v1.0.392
func (r *IsolateInstancesRequest) ToJsonString() string
type IsolateInstancesRequestParams ¶ added in v1.0.426
type IsolateInstancesRequestParams struct { // 实例ID列表。一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。每次请求退还实例和数据盘数量总计上限为20。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 是否退还挂载的数据盘。取值范围: // TRUE:表示退还实例同时退还其挂载的数据盘。 // FALSE:表示退还实例同时不再退还其挂载的数据盘。 // 默认取值:TRUE。 IsolateDataDisk *bool `json:"IsolateDataDisk,omitnil,omitempty" name:"IsolateDataDisk"` }
Predefined struct for user
type IsolateInstancesResponse ¶ added in v1.0.392
type IsolateInstancesResponse struct { *tchttp.BaseResponse Response *IsolateInstancesResponseParams `json:"Response"` }
func NewIsolateInstancesResponse ¶ added in v1.0.392
func NewIsolateInstancesResponse() (response *IsolateInstancesResponse)
func (*IsolateInstancesResponse) FromJsonString ¶ added in v1.0.392
func (r *IsolateInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateInstancesResponse) ToJsonString ¶ added in v1.0.392
func (r *IsolateInstancesResponse) ToJsonString() string
type IsolateInstancesResponseParams ¶ added in v1.0.426
type IsolateInstancesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type KeyPair ¶
type KeyPair struct { // 密钥对 ID ,是密钥对的唯一标识。 KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"` // 密钥对名称。 KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` // 密钥对的纯文本公钥。 PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"` // 密钥对关联的实例 ID 列表。 // 注意:此字段可能返回 null,表示取不到有效值。 AssociatedInstanceIds []*string `json:"AssociatedInstanceIds,omitnil,omitempty" name:"AssociatedInstanceIds"` // 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ // 注意:此字段可能返回 null,表示取不到有效值。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 密钥对私钥。 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"` }
type LoginConfiguration ¶ added in v1.0.345
type LoginConfiguration struct { // <li>"YES"代表选择自动生成密码,这时不指定Password字段。</li> // <li>"NO"代表选择自定义密码,这时要指定Password字段。</li> AutoGeneratePassword *string `json:"AutoGeneratePassword,omitnil,omitempty" name:"AutoGeneratePassword"` // 实例登录密码。具体按照操作系统的复杂度要求。 // `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能包含空格, 不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字:0-9<br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li> // `WINDOWS` 实例密码必须 12-30 位,不能包含空格, 不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字: 0-9<br><li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/ Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 密钥ID列表,最多同时指定5个密钥。关联密钥后,就可以通过对应的私钥来访问实例。密钥与密码不能同时指定,同时WINDOWS操作系统不支持指定密钥。密钥ID列表可以通过[DescribeKeyPairs](https://cloud.tencent.com/document/product/1207/55540)接口获取。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` }
type LoginSettings ¶
type LoginSettings struct { // 密钥 ID 列表。关联密钥后,就可以通过对应的私钥来访问实例。注意:此字段可能返回 [],表示取不到有效值。 KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` }
type ModifyBlueprintAttributeRequest ¶
type ModifyBlueprintAttributeRequest struct { *tchttp.BaseRequest // 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 设置新的镜像名称。最大长度60。 BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"` // 设置新的镜像描述。最大长度60。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewModifyBlueprintAttributeRequest ¶
func NewModifyBlueprintAttributeRequest() (request *ModifyBlueprintAttributeRequest)
func (*ModifyBlueprintAttributeRequest) FromJsonString ¶
func (r *ModifyBlueprintAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBlueprintAttributeRequest) ToJsonString ¶
func (r *ModifyBlueprintAttributeRequest) ToJsonString() string
type ModifyBlueprintAttributeRequestParams ¶ added in v1.0.426
type ModifyBlueprintAttributeRequestParams struct { // 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 设置新的镜像名称。最大长度60。 BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"` // 设置新的镜像描述。最大长度60。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type ModifyBlueprintAttributeResponse ¶
type ModifyBlueprintAttributeResponse struct { *tchttp.BaseResponse Response *ModifyBlueprintAttributeResponseParams `json:"Response"` }
func NewModifyBlueprintAttributeResponse ¶
func NewModifyBlueprintAttributeResponse() (response *ModifyBlueprintAttributeResponse)
func (*ModifyBlueprintAttributeResponse) FromJsonString ¶
func (r *ModifyBlueprintAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBlueprintAttributeResponse) ToJsonString ¶
func (r *ModifyBlueprintAttributeResponse) ToJsonString() string
type ModifyBlueprintAttributeResponseParams ¶ added in v1.0.426
type ModifyBlueprintAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBundle ¶
type ModifyBundle struct { // 更改实例套餐后需要补的差价。 ModifyPrice *Price `json:"ModifyPrice,omitnil,omitempty" name:"ModifyPrice"` // 变更套餐状态。取值: // <li>SOLD_OUT:套餐售罄</li> // <li>AVAILABLE:支持套餐变更</li> // <li>UNAVAILABLE:暂不支持套餐变更</li> ModifyBundleState *string `json:"ModifyBundleState,omitnil,omitempty" name:"ModifyBundleState"` // 套餐信息。 Bundle *Bundle `json:"Bundle,omitnil,omitempty" name:"Bundle"` // 不支持套餐变更原因信息。变更套餐状态为"AVAILABLE"时, 该信息为空 // 注意:此字段可能返回 null,表示取不到有效值。 NotSupportModifyMessage *string `json:"NotSupportModifyMessage,omitnil,omitempty" name:"NotSupportModifyMessage"` }
type ModifyDiskBackupsAttributeRequest ¶ added in v1.0.563
type ModifyDiskBackupsAttributeRequest struct { *tchttp.BaseRequest // 云硬盘备份点ID,可通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379) 接口返回值中的 DiskBackupId 获取。 DiskBackupIds []*string `json:"DiskBackupIds,omitnil,omitempty" name:"DiskBackupIds"` // 云硬盘备份点名称,最大长度 90 。 DiskBackupName *string `json:"DiskBackupName,omitnil,omitempty" name:"DiskBackupName"` }
func NewModifyDiskBackupsAttributeRequest ¶ added in v1.0.563
func NewModifyDiskBackupsAttributeRequest() (request *ModifyDiskBackupsAttributeRequest)
func (*ModifyDiskBackupsAttributeRequest) FromJsonString ¶ added in v1.0.563
func (r *ModifyDiskBackupsAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDiskBackupsAttributeRequest) ToJsonString ¶ added in v1.0.563
func (r *ModifyDiskBackupsAttributeRequest) ToJsonString() string
type ModifyDiskBackupsAttributeRequestParams ¶ added in v1.0.563
type ModifyDiskBackupsAttributeRequestParams struct { // 云硬盘备份点ID,可通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379) 接口返回值中的 DiskBackupId 获取。 DiskBackupIds []*string `json:"DiskBackupIds,omitnil,omitempty" name:"DiskBackupIds"` // 云硬盘备份点名称,最大长度 90 。 DiskBackupName *string `json:"DiskBackupName,omitnil,omitempty" name:"DiskBackupName"` }
Predefined struct for user
type ModifyDiskBackupsAttributeResponse ¶ added in v1.0.563
type ModifyDiskBackupsAttributeResponse struct { *tchttp.BaseResponse Response *ModifyDiskBackupsAttributeResponseParams `json:"Response"` }
func NewModifyDiskBackupsAttributeResponse ¶ added in v1.0.563
func NewModifyDiskBackupsAttributeResponse() (response *ModifyDiskBackupsAttributeResponse)
func (*ModifyDiskBackupsAttributeResponse) FromJsonString ¶ added in v1.0.563
func (r *ModifyDiskBackupsAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDiskBackupsAttributeResponse) ToJsonString ¶ added in v1.0.563
func (r *ModifyDiskBackupsAttributeResponse) ToJsonString() string
type ModifyDiskBackupsAttributeResponseParams ¶ added in v1.0.563
type ModifyDiskBackupsAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDisksAttributeRequest ¶ added in v1.0.314
type ModifyDisksAttributeRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 云硬盘名称。 DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"` }
func NewModifyDisksAttributeRequest ¶ added in v1.0.314
func NewModifyDisksAttributeRequest() (request *ModifyDisksAttributeRequest)
func (*ModifyDisksAttributeRequest) FromJsonString ¶ added in v1.0.314
func (r *ModifyDisksAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDisksAttributeRequest) ToJsonString ¶ added in v1.0.314
func (r *ModifyDisksAttributeRequest) ToJsonString() string
type ModifyDisksAttributeRequestParams ¶ added in v1.0.426
type ModifyDisksAttributeRequestParams struct { // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 云硬盘名称。 DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"` }
Predefined struct for user
type ModifyDisksAttributeResponse ¶ added in v1.0.314
type ModifyDisksAttributeResponse struct { *tchttp.BaseResponse Response *ModifyDisksAttributeResponseParams `json:"Response"` }
func NewModifyDisksAttributeResponse ¶ added in v1.0.314
func NewModifyDisksAttributeResponse() (response *ModifyDisksAttributeResponse)
func (*ModifyDisksAttributeResponse) FromJsonString ¶ added in v1.0.314
func (r *ModifyDisksAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDisksAttributeResponse) ToJsonString ¶ added in v1.0.314
func (r *ModifyDisksAttributeResponse) ToJsonString() string
type ModifyDisksAttributeResponseParams ¶ added in v1.0.426
type ModifyDisksAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDisksBackupQuotaRequest ¶ added in v1.0.865
type ModifyDisksBackupQuotaRequest struct { *tchttp.BaseRequest // 云硬盘ID列表,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。列表最大长度为15。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 云硬盘备份点配额。取值范围: [0, 500]。调整后的配额必须不小于已存在的备份点数量。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` }
func NewModifyDisksBackupQuotaRequest ¶ added in v1.0.865
func NewModifyDisksBackupQuotaRequest() (request *ModifyDisksBackupQuotaRequest)
func (*ModifyDisksBackupQuotaRequest) FromJsonString ¶ added in v1.0.865
func (r *ModifyDisksBackupQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDisksBackupQuotaRequest) ToJsonString ¶ added in v1.0.865
func (r *ModifyDisksBackupQuotaRequest) ToJsonString() string
type ModifyDisksBackupQuotaRequestParams ¶ added in v1.0.865
type ModifyDisksBackupQuotaRequestParams struct { // 云硬盘ID列表,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。列表最大长度为15。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 云硬盘备份点配额。取值范围: [0, 500]。调整后的配额必须不小于已存在的备份点数量。 DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"` }
Predefined struct for user
type ModifyDisksBackupQuotaResponse ¶ added in v1.0.865
type ModifyDisksBackupQuotaResponse struct { *tchttp.BaseResponse Response *ModifyDisksBackupQuotaResponseParams `json:"Response"` }
func NewModifyDisksBackupQuotaResponse ¶ added in v1.0.865
func NewModifyDisksBackupQuotaResponse() (response *ModifyDisksBackupQuotaResponse)
func (*ModifyDisksBackupQuotaResponse) FromJsonString ¶ added in v1.0.865
func (r *ModifyDisksBackupQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDisksBackupQuotaResponse) ToJsonString ¶ added in v1.0.865
func (r *ModifyDisksBackupQuotaResponse) ToJsonString() string
type ModifyDisksBackupQuotaResponseParams ¶ added in v1.0.865
type ModifyDisksBackupQuotaResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDisksRenewFlagRequest ¶ added in v1.0.314
type ModifyDisksRenewFlagRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 自动续费标识。取值范围: // // - NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 // - NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 // - DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 // // 若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
func NewModifyDisksRenewFlagRequest ¶ added in v1.0.314
func NewModifyDisksRenewFlagRequest() (request *ModifyDisksRenewFlagRequest)
func (*ModifyDisksRenewFlagRequest) FromJsonString ¶ added in v1.0.314
func (r *ModifyDisksRenewFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDisksRenewFlagRequest) ToJsonString ¶ added in v1.0.314
func (r *ModifyDisksRenewFlagRequest) ToJsonString() string
type ModifyDisksRenewFlagRequestParams ¶ added in v1.0.426
type ModifyDisksRenewFlagRequestParams struct { // 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 自动续费标识。取值范围: // // - NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 // - NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 // - DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 // // 若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
Predefined struct for user
type ModifyDisksRenewFlagResponse ¶ added in v1.0.314
type ModifyDisksRenewFlagResponse struct { *tchttp.BaseResponse Response *ModifyDisksRenewFlagResponseParams `json:"Response"` }
func NewModifyDisksRenewFlagResponse ¶ added in v1.0.314
func NewModifyDisksRenewFlagResponse() (response *ModifyDisksRenewFlagResponse)
func (*ModifyDisksRenewFlagResponse) FromJsonString ¶ added in v1.0.314
func (r *ModifyDisksRenewFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDisksRenewFlagResponse) ToJsonString ¶ added in v1.0.314
func (r *ModifyDisksRenewFlagResponse) ToJsonString() string
type ModifyDisksRenewFlagResponseParams ¶ added in v1.0.426
type ModifyDisksRenewFlagResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDockerContainerRequest ¶ added in v1.0.707
type ModifyDockerContainerRequest struct { *tchttp.BaseRequest // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` // 环境变量列表 Envs []*ContainerEnv `json:"Envs,omitnil,omitempty" name:"Envs"` // 容器端口主机端口映射列表 PublishPorts []*DockerContainerPublishPort `json:"PublishPorts,omitnil,omitempty" name:"PublishPorts"` // 容器加载本地卷列表 Volumes []*DockerContainerVolume `json:"Volumes,omitnil,omitempty" name:"Volumes"` // 运行的命令 Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 容器重启策略,对应docker "--restart"参数。 // // 枚举值: // no: 不自动重启。默认策略。 // on-failure[:max-retries]: 当容器退出码非0时重启容器。使用max-retries限制重启次数,比如on-failure:10,限制最多重启10次。 // always: 只要容器退出就重启。 // unless-stopped: 始终重新启动容器,包括在守护进程启动时,除非容器在 Docker 守护进程停止之前进入停止状态。 RestartPolicy *string `json:"RestartPolicy,omitnil,omitempty" name:"RestartPolicy"` }
func NewModifyDockerContainerRequest ¶ added in v1.0.707
func NewModifyDockerContainerRequest() (request *ModifyDockerContainerRequest)
func (*ModifyDockerContainerRequest) FromJsonString ¶ added in v1.0.707
func (r *ModifyDockerContainerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDockerContainerRequest) ToJsonString ¶ added in v1.0.707
func (r *ModifyDockerContainerRequest) ToJsonString() string
type ModifyDockerContainerRequestParams ¶ added in v1.0.707
type ModifyDockerContainerRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` // 环境变量列表 Envs []*ContainerEnv `json:"Envs,omitnil,omitempty" name:"Envs"` // 容器端口主机端口映射列表 PublishPorts []*DockerContainerPublishPort `json:"PublishPorts,omitnil,omitempty" name:"PublishPorts"` // 容器加载本地卷列表 Volumes []*DockerContainerVolume `json:"Volumes,omitnil,omitempty" name:"Volumes"` // 运行的命令 Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 容器重启策略,对应docker "--restart"参数。 // // 枚举值: // no: 不自动重启。默认策略。 // on-failure[:max-retries]: 当容器退出码非0时重启容器。使用max-retries限制重启次数,比如on-failure:10,限制最多重启10次。 // always: 只要容器退出就重启。 // unless-stopped: 始终重新启动容器,包括在守护进程启动时,除非容器在 Docker 守护进程停止之前进入停止状态。 RestartPolicy *string `json:"RestartPolicy,omitnil,omitempty" name:"RestartPolicy"` }
Predefined struct for user
type ModifyDockerContainerResponse ¶ added in v1.0.707
type ModifyDockerContainerResponse struct { *tchttp.BaseResponse Response *ModifyDockerContainerResponseParams `json:"Response"` }
func NewModifyDockerContainerResponse ¶ added in v1.0.707
func NewModifyDockerContainerResponse() (response *ModifyDockerContainerResponse)
func (*ModifyDockerContainerResponse) FromJsonString ¶ added in v1.0.707
func (r *ModifyDockerContainerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDockerContainerResponse) ToJsonString ¶ added in v1.0.707
func (r *ModifyDockerContainerResponse) ToJsonString() string
type ModifyDockerContainerResponseParams ¶ added in v1.0.707
type ModifyDockerContainerResponseParams struct { // Docker活动ID。 DockerActivityId *string `json:"DockerActivityId,omitnil,omitempty" name:"DockerActivityId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyFirewallRuleDescriptionRequest ¶
type ModifyFirewallRuleDescriptionRequest struct { *tchttp.BaseRequest // 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 防火墙规则。 FirewallRule *FirewallRule `json:"FirewallRule,omitnil,omitempty" name:"FirewallRule"` // 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` }
func NewModifyFirewallRuleDescriptionRequest ¶
func NewModifyFirewallRuleDescriptionRequest() (request *ModifyFirewallRuleDescriptionRequest)
func (*ModifyFirewallRuleDescriptionRequest) FromJsonString ¶
func (r *ModifyFirewallRuleDescriptionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFirewallRuleDescriptionRequest) ToJsonString ¶
func (r *ModifyFirewallRuleDescriptionRequest) ToJsonString() string
type ModifyFirewallRuleDescriptionRequestParams ¶ added in v1.0.426
type ModifyFirewallRuleDescriptionRequestParams struct { // 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/1207/47573) 接口返回值中的 InstanceId 获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 防火墙规则。 FirewallRule *FirewallRule `json:"FirewallRule,omitnil,omitempty" name:"FirewallRule"` // 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` }
Predefined struct for user
type ModifyFirewallRuleDescriptionResponse ¶
type ModifyFirewallRuleDescriptionResponse struct { *tchttp.BaseResponse Response *ModifyFirewallRuleDescriptionResponseParams `json:"Response"` }
func NewModifyFirewallRuleDescriptionResponse ¶
func NewModifyFirewallRuleDescriptionResponse() (response *ModifyFirewallRuleDescriptionResponse)
func (*ModifyFirewallRuleDescriptionResponse) FromJsonString ¶
func (r *ModifyFirewallRuleDescriptionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFirewallRuleDescriptionResponse) ToJsonString ¶
func (r *ModifyFirewallRuleDescriptionResponse) ToJsonString() string
type ModifyFirewallRuleDescriptionResponseParams ¶ added in v1.0.426
type ModifyFirewallRuleDescriptionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyFirewallRulesRequest ¶
type ModifyFirewallRulesRequest struct { *tchttp.BaseRequest // 实例 ID。实例的ID可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 防火墙规则列表。列表长度最大值是100。 FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"` // 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` }
func NewModifyFirewallRulesRequest ¶
func NewModifyFirewallRulesRequest() (request *ModifyFirewallRulesRequest)
func (*ModifyFirewallRulesRequest) FromJsonString ¶
func (r *ModifyFirewallRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFirewallRulesRequest) ToJsonString ¶
func (r *ModifyFirewallRulesRequest) ToJsonString() string
type ModifyFirewallRulesRequestParams ¶ added in v1.0.426
type ModifyFirewallRulesRequestParams struct { // 实例 ID。实例的ID可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 防火墙规则列表。列表长度最大值是100。 FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"` // 防火墙当前版本。用户每次更新防火墙规则时版本会自动加1,防止规则已过期,不填不考虑冲突。 FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"` }
Predefined struct for user
type ModifyFirewallRulesResponse ¶
type ModifyFirewallRulesResponse struct { *tchttp.BaseResponse Response *ModifyFirewallRulesResponseParams `json:"Response"` }
func NewModifyFirewallRulesResponse ¶
func NewModifyFirewallRulesResponse() (response *ModifyFirewallRulesResponse)
func (*ModifyFirewallRulesResponse) FromJsonString ¶
func (r *ModifyFirewallRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFirewallRulesResponse) ToJsonString ¶
func (r *ModifyFirewallRulesResponse) ToJsonString() string
type ModifyFirewallRulesResponseParams ¶ added in v1.0.426
type ModifyFirewallRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyFirewallTemplateRequest ¶ added in v1.0.729
type ModifyFirewallTemplateRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板名称。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` }
func NewModifyFirewallTemplateRequest ¶ added in v1.0.729
func NewModifyFirewallTemplateRequest() (request *ModifyFirewallTemplateRequest)
func (*ModifyFirewallTemplateRequest) FromJsonString ¶ added in v1.0.729
func (r *ModifyFirewallTemplateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFirewallTemplateRequest) ToJsonString ¶ added in v1.0.729
func (r *ModifyFirewallTemplateRequest) ToJsonString() string
type ModifyFirewallTemplateRequestParams ¶ added in v1.0.729
type ModifyFirewallTemplateRequestParams struct { // 防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板名称。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。 TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"` }
Predefined struct for user
type ModifyFirewallTemplateResponse ¶ added in v1.0.729
type ModifyFirewallTemplateResponse struct { *tchttp.BaseResponse Response *ModifyFirewallTemplateResponseParams `json:"Response"` }
func NewModifyFirewallTemplateResponse ¶ added in v1.0.729
func NewModifyFirewallTemplateResponse() (response *ModifyFirewallTemplateResponse)
func (*ModifyFirewallTemplateResponse) FromJsonString ¶ added in v1.0.729
func (r *ModifyFirewallTemplateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFirewallTemplateResponse) ToJsonString ¶ added in v1.0.729
func (r *ModifyFirewallTemplateResponse) ToJsonString() string
type ModifyFirewallTemplateResponseParams ¶ added in v1.0.729
type ModifyFirewallTemplateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstancesAttributeRequest ¶
type ModifyInstancesAttributeRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 实例名称。可任意命名,但不得超过 60 个字符。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
func NewModifyInstancesAttributeRequest ¶
func NewModifyInstancesAttributeRequest() (request *ModifyInstancesAttributeRequest)
func (*ModifyInstancesAttributeRequest) FromJsonString ¶
func (r *ModifyInstancesAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesAttributeRequest) ToJsonString ¶
func (r *ModifyInstancesAttributeRequest) ToJsonString() string
type ModifyInstancesAttributeRequestParams ¶ added in v1.0.426
type ModifyInstancesAttributeRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 实例名称。可任意命名,但不得超过 60 个字符。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyInstancesAttributeResponse ¶
type ModifyInstancesAttributeResponse struct { *tchttp.BaseResponse Response *ModifyInstancesAttributeResponseParams `json:"Response"` }
func NewModifyInstancesAttributeResponse ¶
func NewModifyInstancesAttributeResponse() (response *ModifyInstancesAttributeResponse)
func (*ModifyInstancesAttributeResponse) FromJsonString ¶
func (r *ModifyInstancesAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesAttributeResponse) ToJsonString ¶
func (r *ModifyInstancesAttributeResponse) ToJsonString() string
type ModifyInstancesAttributeResponseParams ¶ added in v1.0.426
type ModifyInstancesAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstancesBundleRequest ¶ added in v1.0.539
type ModifyInstancesBundleRequest struct { *tchttp.BaseRequest // 实例ID列表。一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。每次请求批量实例的上限为15。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 待变更的套餐Id。可通过[DescribeBundles](https://cloud.tencent.com/document/api/1207/47575)接口返回值中的BundleId获取。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` // 是否自动抵扣代金券。取值范围: // true:表示自动抵扣代金券 // false:表示不自动抵扣代金券 // 默认取值:false。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` }
func NewModifyInstancesBundleRequest ¶ added in v1.0.539
func NewModifyInstancesBundleRequest() (request *ModifyInstancesBundleRequest)
func (*ModifyInstancesBundleRequest) FromJsonString ¶ added in v1.0.539
func (r *ModifyInstancesBundleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesBundleRequest) ToJsonString ¶ added in v1.0.539
func (r *ModifyInstancesBundleRequest) ToJsonString() string
type ModifyInstancesBundleRequestParams ¶ added in v1.0.539
type ModifyInstancesBundleRequestParams struct { // 实例ID列表。一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。每次请求批量实例的上限为15。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 待变更的套餐Id。可通过[DescribeBundles](https://cloud.tencent.com/document/api/1207/47575)接口返回值中的BundleId获取。 BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"` // 是否自动抵扣代金券。取值范围: // true:表示自动抵扣代金券 // false:表示不自动抵扣代金券 // 默认取值:false。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` }
Predefined struct for user
type ModifyInstancesBundleResponse ¶ added in v1.0.539
type ModifyInstancesBundleResponse struct { *tchttp.BaseResponse Response *ModifyInstancesBundleResponseParams `json:"Response"` }
func NewModifyInstancesBundleResponse ¶ added in v1.0.539
func NewModifyInstancesBundleResponse() (response *ModifyInstancesBundleResponse)
func (*ModifyInstancesBundleResponse) FromJsonString ¶ added in v1.0.539
func (r *ModifyInstancesBundleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesBundleResponse) ToJsonString ¶ added in v1.0.539
func (r *ModifyInstancesBundleResponse) ToJsonString() string
type ModifyInstancesBundleResponseParams ¶ added in v1.0.539
type ModifyInstancesBundleResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstancesLoginKeyPairAttributeRequest ¶
type ModifyInstancesLoginKeyPairAttributeRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 是否允许使用默认密钥对登录,YES:允许登录;NO:禁止登录 PermitLogin *string `json:"PermitLogin,omitnil,omitempty" name:"PermitLogin"` }
func NewModifyInstancesLoginKeyPairAttributeRequest ¶
func NewModifyInstancesLoginKeyPairAttributeRequest() (request *ModifyInstancesLoginKeyPairAttributeRequest)
func (*ModifyInstancesLoginKeyPairAttributeRequest) FromJsonString ¶
func (r *ModifyInstancesLoginKeyPairAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesLoginKeyPairAttributeRequest) ToJsonString ¶
func (r *ModifyInstancesLoginKeyPairAttributeRequest) ToJsonString() string
type ModifyInstancesLoginKeyPairAttributeRequestParams ¶ added in v1.0.426
type ModifyInstancesLoginKeyPairAttributeRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 是否允许使用默认密钥对登录,YES:允许登录;NO:禁止登录 PermitLogin *string `json:"PermitLogin,omitnil,omitempty" name:"PermitLogin"` }
Predefined struct for user
type ModifyInstancesLoginKeyPairAttributeResponse ¶
type ModifyInstancesLoginKeyPairAttributeResponse struct { *tchttp.BaseResponse Response *ModifyInstancesLoginKeyPairAttributeResponseParams `json:"Response"` }
func NewModifyInstancesLoginKeyPairAttributeResponse ¶
func NewModifyInstancesLoginKeyPairAttributeResponse() (response *ModifyInstancesLoginKeyPairAttributeResponse)
func (*ModifyInstancesLoginKeyPairAttributeResponse) FromJsonString ¶
func (r *ModifyInstancesLoginKeyPairAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesLoginKeyPairAttributeResponse) ToJsonString ¶
func (r *ModifyInstancesLoginKeyPairAttributeResponse) ToJsonString() string
type ModifyInstancesLoginKeyPairAttributeResponseParams ¶ added in v1.0.426
type ModifyInstancesLoginKeyPairAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstancesRenewFlagRequest ¶
type ModifyInstancesRenewFlagRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 自动续费标识。取值范围: // // - NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 // - NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 // - DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 // // 若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
func NewModifyInstancesRenewFlagRequest ¶
func NewModifyInstancesRenewFlagRequest() (request *ModifyInstancesRenewFlagRequest)
func (*ModifyInstancesRenewFlagRequest) FromJsonString ¶
func (r *ModifyInstancesRenewFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesRenewFlagRequest) ToJsonString ¶
func (r *ModifyInstancesRenewFlagRequest) ToJsonString() string
type ModifyInstancesRenewFlagRequestParams ¶ added in v1.0.426
type ModifyInstancesRenewFlagRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 自动续费标识。取值范围: // // - NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 // - NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 // - DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 // // 若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
Predefined struct for user
type ModifyInstancesRenewFlagResponse ¶
type ModifyInstancesRenewFlagResponse struct { *tchttp.BaseResponse Response *ModifyInstancesRenewFlagResponseParams `json:"Response"` }
func NewModifyInstancesRenewFlagResponse ¶
func NewModifyInstancesRenewFlagResponse() (response *ModifyInstancesRenewFlagResponse)
func (*ModifyInstancesRenewFlagResponse) FromJsonString ¶
func (r *ModifyInstancesRenewFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancesRenewFlagResponse) ToJsonString ¶
func (r *ModifyInstancesRenewFlagResponse) ToJsonString() string
type ModifyInstancesRenewFlagResponseParams ¶ added in v1.0.426
type ModifyInstancesRenewFlagResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySnapshotAttributeRequest ¶
type ModifySnapshotAttributeRequest struct { *tchttp.BaseRequest // 快照 ID, 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 查询。 SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 新的快照名称,最长为 60 个字符。 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` }
func NewModifySnapshotAttributeRequest ¶
func NewModifySnapshotAttributeRequest() (request *ModifySnapshotAttributeRequest)
func (*ModifySnapshotAttributeRequest) FromJsonString ¶
func (r *ModifySnapshotAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySnapshotAttributeRequest) ToJsonString ¶
func (r *ModifySnapshotAttributeRequest) ToJsonString() string
type ModifySnapshotAttributeRequestParams ¶ added in v1.0.426
type ModifySnapshotAttributeRequestParams struct { // 快照 ID, 可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 查询。 SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 新的快照名称,最长为 60 个字符。 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` }
Predefined struct for user
type ModifySnapshotAttributeResponse ¶
type ModifySnapshotAttributeResponse struct { *tchttp.BaseResponse Response *ModifySnapshotAttributeResponseParams `json:"Response"` }
func NewModifySnapshotAttributeResponse ¶
func NewModifySnapshotAttributeResponse() (response *ModifySnapshotAttributeResponse)
func (*ModifySnapshotAttributeResponse) FromJsonString ¶
func (r *ModifySnapshotAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySnapshotAttributeResponse) ToJsonString ¶
func (r *ModifySnapshotAttributeResponse) ToJsonString() string
type ModifySnapshotAttributeResponseParams ¶ added in v1.0.426
type ModifySnapshotAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PolicyDetail ¶
type PolicyDetail struct { // 用户折扣。 UserDiscount *float64 `json:"UserDiscount,omitnil,omitempty" name:"UserDiscount"` // 公共折扣。 CommonDiscount *float64 `json:"CommonDiscount,omitnil,omitempty" name:"CommonDiscount"` // 最终折扣。 FinalDiscount *float64 `json:"FinalDiscount,omitnil,omitempty" name:"FinalDiscount"` // 活动折扣。取值为null,表示无有效值,即没有折扣。 // 注意:此字段可能返回 null,表示取不到有效值。 ActivityDiscount *float64 `json:"ActivityDiscount,omitnil,omitempty" name:"ActivityDiscount"` // 折扣类型。 // user:用户折扣; common:官网折扣; activity:活动折扣。 取值为null,表示无有效值,即没有折扣。 // 注意:此字段可能返回 null,表示取不到有效值。 DiscountType *string `json:"DiscountType,omitnil,omitempty" name:"DiscountType"` }
type Price ¶
type Price struct { // 实例价格。 InstancePrice *InstancePrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"` }
type RebootInstancesRequest ¶
type RebootInstancesRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewRebootInstancesRequest ¶
func NewRebootInstancesRequest() (request *RebootInstancesRequest)
func (*RebootInstancesRequest) FromJsonString ¶
func (r *RebootInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RebootInstancesRequest) ToJsonString ¶
func (r *RebootInstancesRequest) ToJsonString() string
type RebootInstancesRequestParams ¶ added in v1.0.426
type RebootInstancesRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type RebootInstancesResponse ¶
type RebootInstancesResponse struct { *tchttp.BaseResponse Response *RebootInstancesResponseParams `json:"Response"` }
func NewRebootInstancesResponse ¶
func NewRebootInstancesResponse() (response *RebootInstancesResponse)
func (*RebootInstancesResponse) FromJsonString ¶
func (r *RebootInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RebootInstancesResponse) ToJsonString ¶
func (r *RebootInstancesResponse) ToJsonString() string
type RebootInstancesResponseParams ¶ added in v1.0.426
type RebootInstancesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RegionInfo ¶
type RegionInfo struct { // 地域名称,例如,ap-guangzhou。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 地域描述,例如,华南地区(广州)。 RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // 地域是否可用状态,取值仅为AVAILABLE。 RegionState *string `json:"RegionState,omitnil,omitempty" name:"RegionState"` // 是否中国大陆地域 IsChinaMainland *bool `json:"IsChinaMainland,omitnil,omitempty" name:"IsChinaMainland"` }
type RemoveDockerContainersRequest ¶ added in v1.0.707
type RemoveDockerContainersRequest struct { *tchttp.BaseRequest // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` }
func NewRemoveDockerContainersRequest ¶ added in v1.0.707
func NewRemoveDockerContainersRequest() (request *RemoveDockerContainersRequest)
func (*RemoveDockerContainersRequest) FromJsonString ¶ added in v1.0.707
func (r *RemoveDockerContainersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveDockerContainersRequest) ToJsonString ¶ added in v1.0.707
func (r *RemoveDockerContainersRequest) ToJsonString() string
type RemoveDockerContainersRequestParams ¶ added in v1.0.707
type RemoveDockerContainersRequestParams struct { // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` }
Predefined struct for user
type RemoveDockerContainersResponse ¶ added in v1.0.707
type RemoveDockerContainersResponse struct { *tchttp.BaseResponse Response *RemoveDockerContainersResponseParams `json:"Response"` }
func NewRemoveDockerContainersResponse ¶ added in v1.0.707
func NewRemoveDockerContainersResponse() (response *RemoveDockerContainersResponse)
func (*RemoveDockerContainersResponse) FromJsonString ¶ added in v1.0.707
func (r *RemoveDockerContainersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveDockerContainersResponse) ToJsonString ¶ added in v1.0.707
func (r *RemoveDockerContainersResponse) ToJsonString() string
type RemoveDockerContainersResponseParams ¶ added in v1.0.707
type RemoveDockerContainersResponseParams struct { // Docker活动ID。 DockerActivityId *string `json:"DockerActivityId,omitnil,omitempty" name:"DockerActivityId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RenameDockerContainerRequest ¶ added in v1.0.707
type RenameDockerContainerRequest struct { *tchttp.BaseRequest // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` // 容器新的名称。 ContainerName *string `json:"ContainerName,omitnil,omitempty" name:"ContainerName"` }
func NewRenameDockerContainerRequest ¶ added in v1.0.707
func NewRenameDockerContainerRequest() (request *RenameDockerContainerRequest)
func (*RenameDockerContainerRequest) FromJsonString ¶ added in v1.0.707
func (r *RenameDockerContainerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenameDockerContainerRequest) ToJsonString ¶ added in v1.0.707
func (r *RenameDockerContainerRequest) ToJsonString() string
type RenameDockerContainerRequestParams ¶ added in v1.0.707
type RenameDockerContainerRequestParams struct { // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` // 容器新的名称。 ContainerName *string `json:"ContainerName,omitnil,omitempty" name:"ContainerName"` }
Predefined struct for user
type RenameDockerContainerResponse ¶ added in v1.0.707
type RenameDockerContainerResponse struct { *tchttp.BaseResponse Response *RenameDockerContainerResponseParams `json:"Response"` }
func NewRenameDockerContainerResponse ¶ added in v1.0.707
func NewRenameDockerContainerResponse() (response *RenameDockerContainerResponse)
func (*RenameDockerContainerResponse) FromJsonString ¶ added in v1.0.707
func (r *RenameDockerContainerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenameDockerContainerResponse) ToJsonString ¶ added in v1.0.707
func (r *RenameDockerContainerResponse) ToJsonString() string
type RenameDockerContainerResponseParams ¶ added in v1.0.707
type RenameDockerContainerResponseParams struct { // Docker活动ID。 DockerActivityId *string `json:"DockerActivityId,omitnil,omitempty" name:"DockerActivityId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RenewDiskChargePrepaid ¶ added in v1.0.314
type RenewDiskChargePrepaid struct { // 续费周期。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费,用户需要手动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不自动续费,且不通知<br><br>默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,云硬盘到期后将按月自动续费。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // 周期单位。取值范围:“m”(月)。默认值: "m"。 TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // 当前实例到期时间。如“2018-01-01 00:00:00”。指定该参数即可对齐云硬盘所挂载的实例到期时间。该参数与Period必须指定其一,且不支持同时指定。 CurInstanceDeadline *string `json:"CurInstanceDeadline,omitnil,omitempty" name:"CurInstanceDeadline"` }
type RenewDisksRequest ¶ added in v1.0.653
type RenewDisksRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求续费数据盘数量总计上限为50。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 续费云硬盘包年包月相关参数设置。 RenewDiskChargePrepaid *RenewDiskChargePrepaid `json:"RenewDiskChargePrepaid,omitnil,omitempty" name:"RenewDiskChargePrepaid"` // 是否自动使用代金券。默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` }
func NewRenewDisksRequest ¶ added in v1.0.653
func NewRenewDisksRequest() (request *RenewDisksRequest)
func (*RenewDisksRequest) FromJsonString ¶ added in v1.0.653
func (r *RenewDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewDisksRequest) ToJsonString ¶ added in v1.0.653
func (r *RenewDisksRequest) ToJsonString() string
type RenewDisksRequestParams ¶ added in v1.0.653
type RenewDisksRequestParams struct { // 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求续费数据盘数量总计上限为50。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 续费云硬盘包年包月相关参数设置。 RenewDiskChargePrepaid *RenewDiskChargePrepaid `json:"RenewDiskChargePrepaid,omitnil,omitempty" name:"RenewDiskChargePrepaid"` // 是否自动使用代金券。默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` }
Predefined struct for user
type RenewDisksResponse ¶ added in v1.0.653
type RenewDisksResponse struct { *tchttp.BaseResponse Response *RenewDisksResponseParams `json:"Response"` }
func NewRenewDisksResponse ¶ added in v1.0.653
func NewRenewDisksResponse() (response *RenewDisksResponse)
func (*RenewDisksResponse) FromJsonString ¶ added in v1.0.653
func (r *RenewDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewDisksResponse) ToJsonString ¶ added in v1.0.653
func (r *RenewDisksResponse) ToJsonString() string
type RenewDisksResponseParams ¶ added in v1.0.653
type RenewDisksResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RenewInstancesRequest ¶ added in v1.0.391
type RenewInstancesRequest struct { *tchttp.BaseRequest // 实例ID列表。一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。每次请求批量实例的上限为100。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // 是否续费弹性数据盘。取值范围: // TRUE:表示续费实例同时续费其挂载的数据盘 // FALSE:表示续费实例同时不再续费其挂载的数据盘 // 默认取值:TRUE。 RenewDataDisk *bool `json:"RenewDataDisk,omitnil,omitempty" name:"RenewDataDisk"` // 是否自动抵扣代金券。取值范围: // TRUE:表示自动抵扣代金券 // FALSE:表示不自动抵扣代金券 // 默认取值:FALSE。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` }
func NewRenewInstancesRequest ¶ added in v1.0.391
func NewRenewInstancesRequest() (request *RenewInstancesRequest)
func (*RenewInstancesRequest) FromJsonString ¶ added in v1.0.391
func (r *RenewInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewInstancesRequest) ToJsonString ¶ added in v1.0.391
func (r *RenewInstancesRequest) ToJsonString() string
type RenewInstancesRequestParams ¶ added in v1.0.426
type RenewInstancesRequestParams struct { // 实例ID列表。一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。每次请求批量实例的上限为100。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // 是否续费弹性数据盘。取值范围: // TRUE:表示续费实例同时续费其挂载的数据盘 // FALSE:表示续费实例同时不再续费其挂载的数据盘 // 默认取值:TRUE。 RenewDataDisk *bool `json:"RenewDataDisk,omitnil,omitempty" name:"RenewDataDisk"` // 是否自动抵扣代金券。取值范围: // TRUE:表示自动抵扣代金券 // FALSE:表示不自动抵扣代金券 // 默认取值:FALSE。 AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"` }
Predefined struct for user
type RenewInstancesResponse ¶ added in v1.0.391
type RenewInstancesResponse struct { *tchttp.BaseResponse Response *RenewInstancesResponseParams `json:"Response"` }
func NewRenewInstancesResponse ¶ added in v1.0.391
func NewRenewInstancesResponse() (response *RenewInstancesResponse)
func (*RenewInstancesResponse) FromJsonString ¶ added in v1.0.391
func (r *RenewInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewInstancesResponse) ToJsonString ¶ added in v1.0.391
func (r *RenewInstancesResponse) ToJsonString() string
type RenewInstancesResponseParams ¶ added in v1.0.426
type RenewInstancesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ReplaceFirewallTemplateRuleRequest ¶ added in v1.0.729
type ReplaceFirewallTemplateRuleRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板规则ID。可通过 [DescribeFirewallTemplateRules](https://cloud.tencent.com/document/product/1207/96875) 接口返回值中的 TemplateRuleId 获取。 TemplateRuleId *string `json:"TemplateRuleId,omitnil,omitempty" name:"TemplateRuleId"` // 替换后的防火墙模板规则。 TemplateRule *FirewallRule `json:"TemplateRule,omitnil,omitempty" name:"TemplateRule"` }
func NewReplaceFirewallTemplateRuleRequest ¶ added in v1.0.729
func NewReplaceFirewallTemplateRuleRequest() (request *ReplaceFirewallTemplateRuleRequest)
func (*ReplaceFirewallTemplateRuleRequest) FromJsonString ¶ added in v1.0.729
func (r *ReplaceFirewallTemplateRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceFirewallTemplateRuleRequest) ToJsonString ¶ added in v1.0.729
func (r *ReplaceFirewallTemplateRuleRequest) ToJsonString() string
type ReplaceFirewallTemplateRuleRequestParams ¶ added in v1.0.729
type ReplaceFirewallTemplateRuleRequestParams struct { // 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 防火墙模板规则ID。可通过 [DescribeFirewallTemplateRules](https://cloud.tencent.com/document/product/1207/96875) 接口返回值中的 TemplateRuleId 获取。 TemplateRuleId *string `json:"TemplateRuleId,omitnil,omitempty" name:"TemplateRuleId"` // 替换后的防火墙模板规则。 TemplateRule *FirewallRule `json:"TemplateRule,omitnil,omitempty" name:"TemplateRule"` }
Predefined struct for user
type ReplaceFirewallTemplateRuleResponse ¶ added in v1.0.729
type ReplaceFirewallTemplateRuleResponse struct { *tchttp.BaseResponse Response *ReplaceFirewallTemplateRuleResponseParams `json:"Response"` }
func NewReplaceFirewallTemplateRuleResponse ¶ added in v1.0.729
func NewReplaceFirewallTemplateRuleResponse() (response *ReplaceFirewallTemplateRuleResponse)
func (*ReplaceFirewallTemplateRuleResponse) FromJsonString ¶ added in v1.0.729
func (r *ReplaceFirewallTemplateRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReplaceFirewallTemplateRuleResponse) ToJsonString ¶ added in v1.0.729
func (r *ReplaceFirewallTemplateRuleResponse) ToJsonString() string
type ReplaceFirewallTemplateRuleResponseParams ¶ added in v1.0.729
type ReplaceFirewallTemplateRuleResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RerunDockerContainerRequest ¶ added in v1.0.707
type RerunDockerContainerRequest struct { *tchttp.BaseRequest // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 重新创建的容器配置。 ContainerConfiguration *DockerContainerConfiguration `json:"ContainerConfiguration,omitnil,omitempty" name:"ContainerConfiguration"` // 容器ID。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` }
func NewRerunDockerContainerRequest ¶ added in v1.0.707
func NewRerunDockerContainerRequest() (request *RerunDockerContainerRequest)
func (*RerunDockerContainerRequest) FromJsonString ¶ added in v1.0.707
func (r *RerunDockerContainerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RerunDockerContainerRequest) ToJsonString ¶ added in v1.0.707
func (r *RerunDockerContainerRequest) ToJsonString() string
type RerunDockerContainerRequestParams ¶ added in v1.0.707
type RerunDockerContainerRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 重新创建的容器配置。 ContainerConfiguration *DockerContainerConfiguration `json:"ContainerConfiguration,omitnil,omitempty" name:"ContainerConfiguration"` // 容器ID。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` }
Predefined struct for user
type RerunDockerContainerResponse ¶ added in v1.0.707
type RerunDockerContainerResponse struct { *tchttp.BaseResponse Response *RerunDockerContainerResponseParams `json:"Response"` }
func NewRerunDockerContainerResponse ¶ added in v1.0.707
func NewRerunDockerContainerResponse() (response *RerunDockerContainerResponse)
func (*RerunDockerContainerResponse) FromJsonString ¶ added in v1.0.707
func (r *RerunDockerContainerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RerunDockerContainerResponse) ToJsonString ¶ added in v1.0.707
func (r *RerunDockerContainerResponse) ToJsonString() string
type RerunDockerContainerResponseParams ¶ added in v1.0.707
type RerunDockerContainerResponseParams struct { // Docker活动ID。 DockerActivityId *string `json:"DockerActivityId,omitnil,omitempty" name:"DockerActivityId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetAttachCcnRequest ¶ added in v1.0.211
type ResetAttachCcnRequest struct { *tchttp.BaseRequest // 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` }
func NewResetAttachCcnRequest ¶ added in v1.0.211
func NewResetAttachCcnRequest() (request *ResetAttachCcnRequest)
func (*ResetAttachCcnRequest) FromJsonString ¶ added in v1.0.211
func (r *ResetAttachCcnRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAttachCcnRequest) ToJsonString ¶ added in v1.0.211
func (r *ResetAttachCcnRequest) ToJsonString() string
type ResetAttachCcnRequestParams ¶ added in v1.0.426
type ResetAttachCcnRequestParams struct { // 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` }
Predefined struct for user
type ResetAttachCcnResponse ¶ added in v1.0.211
type ResetAttachCcnResponse struct { *tchttp.BaseResponse Response *ResetAttachCcnResponseParams `json:"Response"` }
func NewResetAttachCcnResponse ¶ added in v1.0.211
func NewResetAttachCcnResponse() (response *ResetAttachCcnResponse)
func (*ResetAttachCcnResponse) FromJsonString ¶ added in v1.0.211
func (r *ResetAttachCcnResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetAttachCcnResponse) ToJsonString ¶ added in v1.0.211
func (r *ResetAttachCcnResponse) ToJsonString() string
type ResetAttachCcnResponseParams ¶ added in v1.0.426
type ResetAttachCcnResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetFirewallTemplateRulesRequest ¶ added in v1.0.729
type ResetFirewallTemplateRulesRequest struct { *tchttp.BaseRequest // 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 重置后的防火墙模板规则列表。每次请求批量防火墙规则的上限为 100。 TemplateRules []*FirewallRule `json:"TemplateRules,omitnil,omitempty" name:"TemplateRules"` }
func NewResetFirewallTemplateRulesRequest ¶ added in v1.0.729
func NewResetFirewallTemplateRulesRequest() (request *ResetFirewallTemplateRulesRequest)
func (*ResetFirewallTemplateRulesRequest) FromJsonString ¶ added in v1.0.729
func (r *ResetFirewallTemplateRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetFirewallTemplateRulesRequest) ToJsonString ¶ added in v1.0.729
func (r *ResetFirewallTemplateRulesRequest) ToJsonString() string
type ResetFirewallTemplateRulesRequestParams ¶ added in v1.0.729
type ResetFirewallTemplateRulesRequestParams struct { // 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 重置后的防火墙模板规则列表。每次请求批量防火墙规则的上限为 100。 TemplateRules []*FirewallRule `json:"TemplateRules,omitnil,omitempty" name:"TemplateRules"` }
Predefined struct for user
type ResetFirewallTemplateRulesResponse ¶ added in v1.0.729
type ResetFirewallTemplateRulesResponse struct { *tchttp.BaseResponse Response *ResetFirewallTemplateRulesResponseParams `json:"Response"` }
func NewResetFirewallTemplateRulesResponse ¶ added in v1.0.729
func NewResetFirewallTemplateRulesResponse() (response *ResetFirewallTemplateRulesResponse)
func (*ResetFirewallTemplateRulesResponse) FromJsonString ¶ added in v1.0.729
func (r *ResetFirewallTemplateRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetFirewallTemplateRulesResponse) ToJsonString ¶ added in v1.0.729
func (r *ResetFirewallTemplateRulesResponse) ToJsonString() string
type ResetFirewallTemplateRulesResponseParams ¶ added in v1.0.729
type ResetFirewallTemplateRulesResponseParams struct { // 重置后的规则ID列表。 TemplateRuleIdSet []*string `json:"TemplateRuleIdSet,omitnil,omitempty" name:"TemplateRuleIdSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetInstanceBlueprint ¶
type ResetInstanceBlueprint struct { // 镜像详细信息 BlueprintInfo *Blueprint `json:"BlueprintInfo,omitnil,omitempty" name:"BlueprintInfo"` // 实例镜像是否可重置为目标镜像 IsResettable *bool `json:"IsResettable,omitnil,omitempty" name:"IsResettable"` // 不可重置信息.当镜像可重置时为"" NonResettableMessage *string `json:"NonResettableMessage,omitnil,omitempty" name:"NonResettableMessage"` }
type ResetInstanceRequest ¶
type ResetInstanceRequest struct { *tchttp.BaseRequest // 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 要创建的容器配置列表。 Containers []*DockerContainerConfiguration `json:"Containers,omitnil,omitempty" name:"Containers"` // 实例登录信息配置。默认缺失情况下代表用户选择实例创建后设置登录密码或绑定密钥。 LoginConfiguration *LoginConfiguration `json:"LoginConfiguration,omitnil,omitempty" name:"LoginConfiguration"` }
func NewResetInstanceRequest ¶
func NewResetInstanceRequest() (request *ResetInstanceRequest)
func (*ResetInstanceRequest) FromJsonString ¶
func (r *ResetInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstanceRequest) ToJsonString ¶
func (r *ResetInstanceRequest) ToJsonString() string
type ResetInstanceRequestParams ¶ added in v1.0.426
type ResetInstanceRequestParams struct { // 实例 ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 镜像 ID。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。 BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` // 要创建的容器配置列表。 Containers []*DockerContainerConfiguration `json:"Containers,omitnil,omitempty" name:"Containers"` // 实例登录信息配置。默认缺失情况下代表用户选择实例创建后设置登录密码或绑定密钥。 LoginConfiguration *LoginConfiguration `json:"LoginConfiguration,omitnil,omitempty" name:"LoginConfiguration"` }
Predefined struct for user
type ResetInstanceResponse ¶
type ResetInstanceResponse struct { *tchttp.BaseResponse Response *ResetInstanceResponseParams `json:"Response"` }
func NewResetInstanceResponse ¶
func NewResetInstanceResponse() (response *ResetInstanceResponse)
func (*ResetInstanceResponse) FromJsonString ¶
func (r *ResetInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstanceResponse) ToJsonString ¶
func (r *ResetInstanceResponse) ToJsonString() string
type ResetInstanceResponseParams ¶ added in v1.0.426
type ResetInstanceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetInstancesPasswordRequest ¶
type ResetInstancesPasswordRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:</br> `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字:0-9</br></li> <li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li></br> `WINDOWS` 实例密码必须 12-30 位,不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字: 0-9</br></li> <li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</br></li> <li>如果实例即包含 `LINUX_UNIX` 实例又包含 `WINDOWS` 实例,则密码复杂度限制按照 `WINDOWS` 实例的限制。</li> Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 待重置密码的实例操作系统用户名。不得超过 64 个字符。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
func NewResetInstancesPasswordRequest ¶
func NewResetInstancesPasswordRequest() (request *ResetInstancesPasswordRequest)
func (*ResetInstancesPasswordRequest) FromJsonString ¶
func (r *ResetInstancesPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstancesPasswordRequest) ToJsonString ¶
func (r *ResetInstancesPasswordRequest) ToJsonString() string
type ResetInstancesPasswordRequestParams ¶ added in v1.0.426
type ResetInstancesPasswordRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:</br> `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字:0-9</br></li> <li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li></br> `WINDOWS` 实例密码必须 12-30 位,不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字: 0-9</br></li> <li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</br></li> <li>如果实例即包含 `LINUX_UNIX` 实例又包含 `WINDOWS` 实例,则密码复杂度限制按照 `WINDOWS` 实例的限制。</li> Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 待重置密码的实例操作系统用户名。不得超过 64 个字符。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
Predefined struct for user
type ResetInstancesPasswordResponse ¶
type ResetInstancesPasswordResponse struct { *tchttp.BaseResponse Response *ResetInstancesPasswordResponseParams `json:"Response"` }
func NewResetInstancesPasswordResponse ¶
func NewResetInstancesPasswordResponse() (response *ResetInstancesPasswordResponse)
func (*ResetInstancesPasswordResponse) FromJsonString ¶
func (r *ResetInstancesPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetInstancesPasswordResponse) ToJsonString ¶
func (r *ResetInstancesPasswordResponse) ToJsonString() string
type ResetInstancesPasswordResponseParams ¶ added in v1.0.426
type ResetInstancesPasswordResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResizeDisksRequest ¶ added in v1.0.865
type ResizeDisksRequest struct { *tchttp.BaseRequest // 云硬盘ID列表,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。列表最大长度为15。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 扩容后的云硬盘大小。单位: GB。高性能云硬盘大小取值范围:[10, 4000] ,SSD云硬盘大小取值范围:[20, 4000]。扩容后的云硬盘大小必须大于当前云硬盘大小。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` }
func NewResizeDisksRequest ¶ added in v1.0.865
func NewResizeDisksRequest() (request *ResizeDisksRequest)
func (*ResizeDisksRequest) FromJsonString ¶ added in v1.0.865
func (r *ResizeDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeDisksRequest) ToJsonString ¶ added in v1.0.865
func (r *ResizeDisksRequest) ToJsonString() string
type ResizeDisksRequestParams ¶ added in v1.0.865
type ResizeDisksRequestParams struct { // 云硬盘ID列表,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。列表最大长度为15。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // 扩容后的云硬盘大小。单位: GB。高性能云硬盘大小取值范围:[10, 4000] ,SSD云硬盘大小取值范围:[20, 4000]。扩容后的云硬盘大小必须大于当前云硬盘大小。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` }
Predefined struct for user
type ResizeDisksResponse ¶ added in v1.0.865
type ResizeDisksResponse struct { *tchttp.BaseResponse Response *ResizeDisksResponseParams `json:"Response"` }
func NewResizeDisksResponse ¶ added in v1.0.865
func NewResizeDisksResponse() (response *ResizeDisksResponse)
func (*ResizeDisksResponse) FromJsonString ¶ added in v1.0.865
func (r *ResizeDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeDisksResponse) ToJsonString ¶ added in v1.0.865
func (r *ResizeDisksResponse) ToJsonString() string
type ResizeDisksResponseParams ¶ added in v1.0.865
type ResizeDisksResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RestartDockerContainersRequest ¶ added in v1.0.707
type RestartDockerContainersRequest struct { *tchttp.BaseRequest // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` }
func NewRestartDockerContainersRequest ¶ added in v1.0.707
func NewRestartDockerContainersRequest() (request *RestartDockerContainersRequest)
func (*RestartDockerContainersRequest) FromJsonString ¶ added in v1.0.707
func (r *RestartDockerContainersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartDockerContainersRequest) ToJsonString ¶ added in v1.0.707
func (r *RestartDockerContainersRequest) ToJsonString() string
type RestartDockerContainersRequestParams ¶ added in v1.0.707
type RestartDockerContainersRequestParams struct { // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` }
Predefined struct for user
type RestartDockerContainersResponse ¶ added in v1.0.707
type RestartDockerContainersResponse struct { *tchttp.BaseResponse Response *RestartDockerContainersResponseParams `json:"Response"` }
func NewRestartDockerContainersResponse ¶ added in v1.0.707
func NewRestartDockerContainersResponse() (response *RestartDockerContainersResponse)
func (*RestartDockerContainersResponse) FromJsonString ¶ added in v1.0.707
func (r *RestartDockerContainersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartDockerContainersResponse) ToJsonString ¶ added in v1.0.707
func (r *RestartDockerContainersResponse) ToJsonString() string
type RestartDockerContainersResponseParams ¶ added in v1.0.707
type RestartDockerContainersResponseParams struct { // Docker活动ID。 DockerActivityId *string `json:"DockerActivityId,omitnil,omitempty" name:"DockerActivityId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RunDockerContainersRequest ¶ added in v1.0.707
type RunDockerContainersRequest struct { *tchttp.BaseRequest // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 要创建的容器列表。 Containers []*DockerContainerConfiguration `json:"Containers,omitnil,omitempty" name:"Containers"` }
func NewRunDockerContainersRequest ¶ added in v1.0.707
func NewRunDockerContainersRequest() (request *RunDockerContainersRequest)
func (*RunDockerContainersRequest) FromJsonString ¶ added in v1.0.707
func (r *RunDockerContainersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunDockerContainersRequest) ToJsonString ¶ added in v1.0.707
func (r *RunDockerContainersRequest) ToJsonString() string
type RunDockerContainersRequestParams ¶ added in v1.0.707
type RunDockerContainersRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 要创建的容器列表。 Containers []*DockerContainerConfiguration `json:"Containers,omitnil,omitempty" name:"Containers"` }
Predefined struct for user
type RunDockerContainersResponse ¶ added in v1.0.707
type RunDockerContainersResponse struct { *tchttp.BaseResponse Response *RunDockerContainersResponseParams `json:"Response"` }
func NewRunDockerContainersResponse ¶ added in v1.0.707
func NewRunDockerContainersResponse() (response *RunDockerContainersResponse)
func (*RunDockerContainersResponse) FromJsonString ¶ added in v1.0.707
func (r *RunDockerContainersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RunDockerContainersResponse) ToJsonString ¶ added in v1.0.707
func (r *RunDockerContainersResponse) ToJsonString() string
type RunDockerContainersResponseParams ¶ added in v1.0.707
type RunDockerContainersResponseParams struct { // Docker活动ID列表。 DockerActivitySet []*string `json:"DockerActivitySet,omitnil,omitempty" name:"DockerActivitySet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ShareBlueprintAcrossAccountsRequest ¶ added in v1.0.783
type ShareBlueprintAcrossAccountsRequest struct { string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` AccountIds []*string `json:"AccountIds,omitnil,omitempty" name:"AccountIds"` }BlueprintId *
func NewShareBlueprintAcrossAccountsRequest ¶ added in v1.0.783
func NewShareBlueprintAcrossAccountsRequest() (request *ShareBlueprintAcrossAccountsRequest)
func (*ShareBlueprintAcrossAccountsRequest) FromJsonString ¶ added in v1.0.783
func (r *ShareBlueprintAcrossAccountsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ShareBlueprintAcrossAccountsRequest) ToJsonString ¶ added in v1.0.783
func (r *ShareBlueprintAcrossAccountsRequest) ToJsonString() string
type ShareBlueprintAcrossAccountsRequestParams ¶ added in v1.0.783
type ShareBlueprintAcrossAccountsRequestParams struct { string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"` AccountIds []*string `json:"AccountIds,omitnil,omitempty" name:"AccountIds"` }BlueprintId *
Predefined struct for user
type ShareBlueprintAcrossAccountsResponse ¶ added in v1.0.783
type ShareBlueprintAcrossAccountsResponse struct {}
func NewShareBlueprintAcrossAccountsResponse ¶ added in v1.0.783
func NewShareBlueprintAcrossAccountsResponse() (response *ShareBlueprintAcrossAccountsResponse)
func (*ShareBlueprintAcrossAccountsResponse) FromJsonString ¶ added in v1.0.783
func (r *ShareBlueprintAcrossAccountsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ShareBlueprintAcrossAccountsResponse) ToJsonString ¶ added in v1.0.783
func (r *ShareBlueprintAcrossAccountsResponse) ToJsonString() string
type ShareBlueprintAcrossAccountsResponseParams ¶ added in v1.0.783
type ShareBlueprintAcrossAccountsResponseParams struct { string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }RequestId *
Predefined struct for user
type Snapshot ¶
type Snapshot struct { // 快照 ID。 SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 创建此快照的磁盘类型。取值:<li>SYSTEM_DISK:系统盘</li> DiskUsage *string `json:"DiskUsage,omitnil,omitempty" name:"DiskUsage"` // 创建此快照的磁盘 ID。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // 创建此快照的磁盘大小,单位 GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 快照名称,用户自定义的快照别名。 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // 快照的状态。取值范围: // <li>NORMAL:正常 </li> // <li>CREATING:创建中</li> // <li>ROLLBACKING:回滚中。</li> SnapshotState *string `json:"SnapshotState,omitnil,omitempty" name:"SnapshotState"` // 创建或回滚快照进度百分比,成功后此字段取值为 100。 Percent *int64 `json:"Percent,omitnil,omitempty" name:"Percent"` // 快照的最新操作,只有创建、回滚快照时记录。 // 取值如 CreateInstanceSnapshot,RollbackInstanceSnapshot。 // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperation *string `json:"LatestOperation,omitnil,omitempty" name:"LatestOperation"` // 快照的最新操作状态,只有创建、回滚快照时记录。 // 取值范围: // <li>SUCCESS:表示操作成功</li> // <li>OPERATING:表示操作执行中</li> // <li>FAILED:表示操作失败</li> // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"` // 快照最新操作的唯一请求 ID,只有创建、回滚快照时记录。 // 注意:此字段可能返回 null,表示取不到有效值。 LatestOperationRequestId *string `json:"LatestOperationRequestId,omitnil,omitempty" name:"LatestOperationRequestId"` // 快照的创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` }
type SnapshotDeniedActions ¶
type SnapshotDeniedActions struct { // 快照 ID。 SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 操作限制列表。 DeniedActions []*DeniedAction `json:"DeniedActions,omitnil,omitempty" name:"DeniedActions"` }
type Software ¶
type Software struct { // 软件名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 软件版本。 Version *string `json:"Version,omitnil,omitempty" name:"Version"` // 软件图片 URL。 ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"` // 软件安装目录。 InstallDir *string `json:"InstallDir,omitnil,omitempty" name:"InstallDir"` // 软件详情列表。 DetailSet []*SoftwareDetail `json:"DetailSet,omitnil,omitempty" name:"DetailSet"` }
type SoftwareDetail ¶
type StartDockerContainersRequest ¶ added in v1.0.707
type StartDockerContainersRequest struct { *tchttp.BaseRequest // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` }
func NewStartDockerContainersRequest ¶ added in v1.0.707
func NewStartDockerContainersRequest() (request *StartDockerContainersRequest)
func (*StartDockerContainersRequest) FromJsonString ¶ added in v1.0.707
func (r *StartDockerContainersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartDockerContainersRequest) ToJsonString ¶ added in v1.0.707
func (r *StartDockerContainersRequest) ToJsonString() string
type StartDockerContainersRequestParams ¶ added in v1.0.707
type StartDockerContainersRequestParams struct { // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` }
Predefined struct for user
type StartDockerContainersResponse ¶ added in v1.0.707
type StartDockerContainersResponse struct { *tchttp.BaseResponse Response *StartDockerContainersResponseParams `json:"Response"` }
func NewStartDockerContainersResponse ¶ added in v1.0.707
func NewStartDockerContainersResponse() (response *StartDockerContainersResponse)
func (*StartDockerContainersResponse) FromJsonString ¶ added in v1.0.707
func (r *StartDockerContainersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartDockerContainersResponse) ToJsonString ¶ added in v1.0.707
func (r *StartDockerContainersResponse) ToJsonString() string
type StartDockerContainersResponseParams ¶ added in v1.0.707
type StartDockerContainersResponseParams struct { // Docker活动ID。 DockerActivityId *string `json:"DockerActivityId,omitnil,omitempty" name:"DockerActivityId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartInstancesRequest ¶
type StartInstancesRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewStartInstancesRequest ¶
func NewStartInstancesRequest() (request *StartInstancesRequest)
func (*StartInstancesRequest) FromJsonString ¶
func (r *StartInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartInstancesRequest) ToJsonString ¶
func (r *StartInstancesRequest) ToJsonString() string
type StartInstancesRequestParams ¶ added in v1.0.426
type StartInstancesRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type StartInstancesResponse ¶
type StartInstancesResponse struct { *tchttp.BaseResponse Response *StartInstancesResponseParams `json:"Response"` }
func NewStartInstancesResponse ¶
func NewStartInstancesResponse() (response *StartInstancesResponse)
func (*StartInstancesResponse) FromJsonString ¶
func (r *StartInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartInstancesResponse) ToJsonString ¶
func (r *StartInstancesResponse) ToJsonString() string
type StartInstancesResponseParams ¶ added in v1.0.426
type StartInstancesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopDockerContainersRequest ¶ added in v1.0.707
type StopDockerContainersRequest struct { *tchttp.BaseRequest // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` }
func NewStopDockerContainersRequest ¶ added in v1.0.707
func NewStopDockerContainersRequest() (request *StopDockerContainersRequest)
func (*StopDockerContainersRequest) FromJsonString ¶ added in v1.0.707
func (r *StopDockerContainersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopDockerContainersRequest) ToJsonString ¶ added in v1.0.707
func (r *StopDockerContainersRequest) ToJsonString() string
type StopDockerContainersRequestParams ¶ added in v1.0.707
type StopDockerContainersRequestParams struct { // 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 容器ID列表。可通过[DescribeDockerContainers](https://cloud.tencent.com/document/product/1207/95473)接口返回值中的ContainerId获取。 ContainerIds []*string `json:"ContainerIds,omitnil,omitempty" name:"ContainerIds"` }
Predefined struct for user
type StopDockerContainersResponse ¶ added in v1.0.707
type StopDockerContainersResponse struct { *tchttp.BaseResponse Response *StopDockerContainersResponseParams `json:"Response"` }
func NewStopDockerContainersResponse ¶ added in v1.0.707
func NewStopDockerContainersResponse() (response *StopDockerContainersResponse)
func (*StopDockerContainersResponse) FromJsonString ¶ added in v1.0.707
func (r *StopDockerContainersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopDockerContainersResponse) ToJsonString ¶ added in v1.0.707
func (r *StopDockerContainersResponse) ToJsonString() string
type StopDockerContainersResponseParams ¶ added in v1.0.707
type StopDockerContainersResponseParams struct { // Docker活动ID。 DockerActivityId *string `json:"DockerActivityId,omitnil,omitempty" name:"DockerActivityId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopInstancesRequest ¶
type StopInstancesRequest struct { *tchttp.BaseRequest // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewStopInstancesRequest ¶
func NewStopInstancesRequest() (request *StopInstancesRequest)
func (*StopInstancesRequest) FromJsonString ¶
func (r *StopInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopInstancesRequest) ToJsonString ¶
func (r *StopInstancesRequest) ToJsonString() string
type StopInstancesRequestParams ¶ added in v1.0.426
type StopInstancesRequestParams struct { // 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type StopInstancesResponse ¶
type StopInstancesResponse struct { *tchttp.BaseResponse Response *StopInstancesResponseParams `json:"Response"` }
func NewStopInstancesResponse ¶
func NewStopInstancesResponse() (response *StopInstancesResponse)
func (*StopInstancesResponse) FromJsonString ¶
func (r *StopInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopInstancesResponse) ToJsonString ¶
func (r *StopInstancesResponse) ToJsonString() string
type StopInstancesResponseParams ¶ added in v1.0.426
type StopInstancesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SystemDisk ¶
type SystemDisk struct { // 系统盘类型。 // 取值范围: // <li> LOCAL_BASIC:本地硬盘</li><li> LOCAL_SSD:本地 SSD 硬盘</li><li> CLOUD_BASIC:普通云硬盘</li><li> CLOUD_SSD:SSD 云硬盘</li><li> CLOUD_PREMIUM:高性能云硬盘</li> DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // 系统盘大小,单位:GB。 DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // 系统盘ID。 // 注意:此字段可能返回 null,表示取不到有效值。 DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` }
type TerminateDisksRequest ¶ added in v1.0.314
type TerminateDisksRequest struct { *tchttp.BaseRequest // 云硬盘ID列表。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` }
func NewTerminateDisksRequest ¶ added in v1.0.314
func NewTerminateDisksRequest() (request *TerminateDisksRequest)
func (*TerminateDisksRequest) FromJsonString ¶ added in v1.0.314
func (r *TerminateDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateDisksRequest) ToJsonString ¶ added in v1.0.314
func (r *TerminateDisksRequest) ToJsonString() string
type TerminateDisksRequestParams ¶ added in v1.0.426
type TerminateDisksRequestParams struct { // 云硬盘ID列表。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。 DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` }
Predefined struct for user
type TerminateDisksResponse ¶ added in v1.0.314
type TerminateDisksResponse struct { *tchttp.BaseResponse Response *TerminateDisksResponseParams `json:"Response"` }
func NewTerminateDisksResponse ¶ added in v1.0.314
func NewTerminateDisksResponse() (response *TerminateDisksResponse)
func (*TerminateDisksResponse) FromJsonString ¶ added in v1.0.314
func (r *TerminateDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateDisksResponse) ToJsonString ¶ added in v1.0.314
func (r *TerminateDisksResponse) ToJsonString() string
type TerminateDisksResponseParams ¶ added in v1.0.426
type TerminateDisksResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TerminateInstancesRequest ¶
type TerminateInstancesRequest struct { *tchttp.BaseRequest // 实例ID列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewTerminateInstancesRequest ¶
func NewTerminateInstancesRequest() (request *TerminateInstancesRequest)
func (*TerminateInstancesRequest) FromJsonString ¶
func (r *TerminateInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateInstancesRequest) ToJsonString ¶
func (r *TerminateInstancesRequest) ToJsonString() string
type TerminateInstancesRequestParams ¶ added in v1.0.426
type TerminateInstancesRequestParams struct { // 实例ID列表。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type TerminateInstancesResponse ¶
type TerminateInstancesResponse struct { *tchttp.BaseResponse Response *TerminateInstancesResponseParams `json:"Response"` }
func NewTerminateInstancesResponse ¶
func NewTerminateInstancesResponse() (response *TerminateInstancesResponse)
func (*TerminateInstancesResponse) FromJsonString ¶
func (r *TerminateInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateInstancesResponse) ToJsonString ¶
func (r *TerminateInstancesResponse) ToJsonString() string
type TerminateInstancesResponseParams ¶ added in v1.0.426
type TerminateInstancesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TotalPrice ¶ added in v1.0.551
type TrafficPackage ¶
type TrafficPackage struct { // 流量包ID。 TrafficPackageId *string `json:"TrafficPackageId,omitnil,omitempty" name:"TrafficPackageId"` // 流量包生效周期内已使用流量,单位字节。 TrafficUsed *int64 `json:"TrafficUsed,omitnil,omitempty" name:"TrafficUsed"` // 流量包生效周期内的总流量,单位字节。 TrafficPackageTotal *int64 `json:"TrafficPackageTotal,omitnil,omitempty" name:"TrafficPackageTotal"` // 流量包生效周期内的剩余流量,单位字节。 TrafficPackageRemaining *int64 `json:"TrafficPackageRemaining,omitnil,omitempty" name:"TrafficPackageRemaining"` // 流量包生效周期内超出流量包额度的流量,单位字节。 TrafficOverflow *int64 `json:"TrafficOverflow,omitnil,omitempty" name:"TrafficOverflow"` // 流量包生效周期开始时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 流量包生效周期结束时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 流量包到期时间。按照 ISO8601 标准表示,并且使用 UTC 时间。 // 格式为: YYYY-MM-DDThh:mm:ssZ。 // 注意:此字段可能返回 null,表示取不到有效值。 Deadline *string `json:"Deadline,omitnil,omitempty" name:"Deadline"` // 流量包状态: // <li>NETWORK_NORMAL:正常</li> // <li>OVERDUE_NETWORK_DISABLED:欠费断网</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }