Versions in this module Expand all Collapse all v0 v0.0.1 Dec 30, 2022 Changes in this version + type ApplySnapshotPoliciesRequest struct + RegionId string + Relations []disk.PolicyDiskRelationOp + func NewApplySnapshotPoliciesRequest(regionId string) *ApplySnapshotPoliciesRequest + func NewApplySnapshotPoliciesRequestWithAllParams(regionId string, relations []disk.PolicyDiskRelationOp) *ApplySnapshotPoliciesRequest + func NewApplySnapshotPoliciesRequestWithoutParam() *ApplySnapshotPoliciesRequest + func (r *ApplySnapshotPoliciesRequest) SetRegionId(regionId string) + func (r *ApplySnapshotPoliciesRequest) SetRelations(relations []disk.PolicyDiskRelationOp) + func (r ApplySnapshotPoliciesRequest) GetRegionId() string + type ApplySnapshotPoliciesResponse struct + Error core.ErrorResponse + RequestID string + Result ApplySnapshotPoliciesResult + type ApplySnapshotPoliciesResult struct + OpResults []disk.PolicyDiskRelationOpResult + type CreateDisksRequest struct + ClientToken string + DiskSpec *disk.DiskSpec + MaxCount int + RegionId string + UserTags []disk.Tag + func NewCreateDisksRequest(regionId string, diskSpec *disk.DiskSpec, maxCount int, clientToken string) *CreateDisksRequest + func NewCreateDisksRequestWithAllParams(regionId string, diskSpec *disk.DiskSpec, maxCount int, userTags []disk.Tag, ...) *CreateDisksRequest + func NewCreateDisksRequestWithoutParam() *CreateDisksRequest + func (r *CreateDisksRequest) SetClientToken(clientToken string) + func (r *CreateDisksRequest) SetDiskSpec(diskSpec *disk.DiskSpec) + func (r *CreateDisksRequest) SetMaxCount(maxCount int) + func (r *CreateDisksRequest) SetRegionId(regionId string) + func (r *CreateDisksRequest) SetUserTags(userTags []disk.Tag) + func (r CreateDisksRequest) GetRegionId() string + type CreateDisksResponse struct + Error core.ErrorResponse + RequestID string + Result CreateDisksResult + type CreateDisksResult struct + DiskIds []string + PolicyRelations []disk.PolicyDiskRelationOpResult + Tagmsg string + type CreateSnapshotPolicyRequest struct + ContactInfo *disk.ContactInfo + EffectiveTime string + Interval int + Name string + RegionId string + SnapshotLifecycle int + Status int + func NewCreateSnapshotPolicyRequest(regionId string, name string, interval int, effectiveTime string, ...) *CreateSnapshotPolicyRequest + func NewCreateSnapshotPolicyRequestWithAllParams(regionId string, name string, interval int, effectiveTime string, ...) *CreateSnapshotPolicyRequest + func NewCreateSnapshotPolicyRequestWithoutParam() *CreateSnapshotPolicyRequest + func (r *CreateSnapshotPolicyRequest) SetContactInfo(contactInfo *disk.ContactInfo) + func (r *CreateSnapshotPolicyRequest) SetEffectiveTime(effectiveTime string) + func (r *CreateSnapshotPolicyRequest) SetInterval(interval int) + func (r *CreateSnapshotPolicyRequest) SetName(name string) + func (r *CreateSnapshotPolicyRequest) SetRegionId(regionId string) + func (r *CreateSnapshotPolicyRequest) SetSnapshotLifecycle(snapshotLifecycle int) + func (r *CreateSnapshotPolicyRequest) SetStatus(status int) + func (r CreateSnapshotPolicyRequest) GetRegionId() string + type CreateSnapshotPolicyResponse struct + Error core.ErrorResponse + RequestID string + Result CreateSnapshotPolicyResult + type CreateSnapshotPolicyResult struct + ContactInfo disk.ContactInfo + CreateTime string + DiskCount int + EffectiveTime string + Id string + Interval int + LastTriggerTime string + Name string + NextTriggerTime string + Pin string + SnapshotLifecycle int + Status int + UpdateTime string + type CreateSnapshotRequest struct + ClientToken string + RegionId string + SnapshotSpec *disk.SnapshotSpec + func NewCreateSnapshotRequest(regionId string, snapshotSpec *disk.SnapshotSpec, clientToken string) *CreateSnapshotRequest + func NewCreateSnapshotRequestWithAllParams(regionId string, snapshotSpec *disk.SnapshotSpec, clientToken string) *CreateSnapshotRequest + func NewCreateSnapshotRequestWithoutParam() *CreateSnapshotRequest + func (r *CreateSnapshotRequest) SetClientToken(clientToken string) + func (r *CreateSnapshotRequest) SetRegionId(regionId string) + func (r *CreateSnapshotRequest) SetSnapshotSpec(snapshotSpec *disk.SnapshotSpec) + func (r CreateSnapshotRequest) GetRegionId() string + type CreateSnapshotResponse struct + Error core.ErrorResponse + RequestID string + Result CreateSnapshotResult + type CreateSnapshotResult struct + SnapshotId string + type DeleteDiskRequest struct + DiskId string + RegionId string + func NewDeleteDiskRequest(regionId string, diskId string) *DeleteDiskRequest + func NewDeleteDiskRequestWithAllParams(regionId string, diskId string) *DeleteDiskRequest + func NewDeleteDiskRequestWithoutParam() *DeleteDiskRequest + func (r *DeleteDiskRequest) SetDiskId(diskId string) + func (r *DeleteDiskRequest) SetRegionId(regionId string) + func (r DeleteDiskRequest) GetRegionId() string + type DeleteDiskResponse struct + Error core.ErrorResponse + RequestID string + Result DeleteDiskResult + type DeleteDiskResult struct + type DeleteSnapshotPolicyRequest struct + PolicyId string + RegionId string + func NewDeleteSnapshotPolicyRequest(regionId string, policyId string) *DeleteSnapshotPolicyRequest + func NewDeleteSnapshotPolicyRequestWithAllParams(regionId string, policyId string) *DeleteSnapshotPolicyRequest + func NewDeleteSnapshotPolicyRequestWithoutParam() *DeleteSnapshotPolicyRequest + func (r *DeleteSnapshotPolicyRequest) SetPolicyId(policyId string) + func (r *DeleteSnapshotPolicyRequest) SetRegionId(regionId string) + func (r DeleteSnapshotPolicyRequest) GetRegionId() string + type DeleteSnapshotPolicyResponse struct + Error core.ErrorResponse + RequestID string + Result DeleteSnapshotPolicyResult + type DeleteSnapshotPolicyResult struct + type DeleteSnapshotRequest struct + RegionId string + SnapshotId string + func NewDeleteSnapshotRequest(regionId string, snapshotId string) *DeleteSnapshotRequest + func NewDeleteSnapshotRequestWithAllParams(regionId string, snapshotId string) *DeleteSnapshotRequest + func NewDeleteSnapshotRequestWithoutParam() *DeleteSnapshotRequest + func (r *DeleteSnapshotRequest) SetRegionId(regionId string) + func (r *DeleteSnapshotRequest) SetSnapshotId(snapshotId string) + func (r DeleteSnapshotRequest) GetRegionId() string + type DeleteSnapshotResponse struct + Error core.ErrorResponse + RequestID string + Result DeleteSnapshotResult + type DeleteSnapshotResult struct + type DeleteSnapshotsRequest struct + RegionId string + SnapshotIds []string + func NewDeleteSnapshotsRequest(regionId string, snapshotIds []string) *DeleteSnapshotsRequest + func NewDeleteSnapshotsRequestWithAllParams(regionId string, snapshotIds []string) *DeleteSnapshotsRequest + func NewDeleteSnapshotsRequestWithoutParam() *DeleteSnapshotsRequest + func (r *DeleteSnapshotsRequest) SetRegionId(regionId string) + func (r *DeleteSnapshotsRequest) SetSnapshotIds(snapshotIds []string) + func (r DeleteSnapshotsRequest) GetRegionId() string + type DeleteSnapshotsResponse struct + Error core.ErrorResponse + RequestID string + Result DeleteSnapshotsResult + type DeleteSnapshotsResult struct + FailedCount int + Snapshots []disk.DelSnapshot + SuccessCount int + type DescribeDiskRequest struct + DiskId string + RegionId string + func NewDescribeDiskRequest(regionId string, diskId string) *DescribeDiskRequest + func NewDescribeDiskRequestWithAllParams(regionId string, diskId string) *DescribeDiskRequest + func NewDescribeDiskRequestWithoutParam() *DescribeDiskRequest + func (r *DescribeDiskRequest) SetDiskId(diskId string) + func (r *DescribeDiskRequest) SetRegionId(regionId string) + func (r DescribeDiskRequest) GetRegionId() string + type DescribeDiskResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeDiskResult + type DescribeDiskResult struct + Disk disk.Disk + type DescribeDisksRequest struct + Filters []common.Filter + PageNumber *int + PageSize *int + RegionId string + Tags []disk.TagFilter + func NewDescribeDisksRequest(regionId string) *DescribeDisksRequest + func NewDescribeDisksRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, tags []disk.TagFilter, ...) *DescribeDisksRequest + func NewDescribeDisksRequestWithoutParam() *DescribeDisksRequest + func (r *DescribeDisksRequest) SetFilters(filters []common.Filter) + func (r *DescribeDisksRequest) SetPageNumber(pageNumber int) + func (r *DescribeDisksRequest) SetPageSize(pageSize int) + func (r *DescribeDisksRequest) SetRegionId(regionId string) + func (r *DescribeDisksRequest) SetTags(tags []disk.TagFilter) + func (r DescribeDisksRequest) GetRegionId() string + type DescribeDisksResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeDisksResult + type DescribeDisksResult struct + Disks []disk.Disk + TotalCount int + type DescribeQuotaRequest struct + RegionId string + Type string + func NewDescribeQuotaRequest(regionId string, type_ string) *DescribeQuotaRequest + func NewDescribeQuotaRequestWithAllParams(regionId string, type_ string) *DescribeQuotaRequest + func NewDescribeQuotaRequestWithoutParam() *DescribeQuotaRequest + func (r *DescribeQuotaRequest) SetRegionId(regionId string) + func (r *DescribeQuotaRequest) SetType(type_ string) + func (r DescribeQuotaRequest) GetRegionId() string + type DescribeQuotaResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeQuotaResult + type DescribeQuotaResult struct + Quota disk.Quota + type DescribeSnapPolicesRequest struct + FilterGroups []disk.FilterGroups + Order *disk.OrderItem + PageNumber *int + PageSize *int + RegionId string + func NewDescribeSnapPolicesRequest(regionId string) *DescribeSnapPolicesRequest + func NewDescribeSnapPolicesRequestWithAllParams(regionId string, filterGroups []disk.FilterGroups, order *disk.OrderItem, ...) *DescribeSnapPolicesRequest + func NewDescribeSnapPolicesRequestWithoutParam() *DescribeSnapPolicesRequest + func (r *DescribeSnapPolicesRequest) SetFilterGroups(filterGroups []disk.FilterGroups) + func (r *DescribeSnapPolicesRequest) SetOrder(order *disk.OrderItem) + func (r *DescribeSnapPolicesRequest) SetPageNumber(pageNumber int) + func (r *DescribeSnapPolicesRequest) SetPageSize(pageSize int) + func (r *DescribeSnapPolicesRequest) SetRegionId(regionId string) + func (r DescribeSnapPolicesRequest) GetRegionId() string + type DescribeSnapPolicesResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeSnapPolicesResult + type DescribeSnapPolicesResult struct + Policies []disk.SnapshotPolicy + TotalCount int + type DescribeSnapshotChainRequest struct + DiskId *string + RegionId string + SnapshotId *string + func NewDescribeSnapshotChainRequest(regionId string) *DescribeSnapshotChainRequest + func NewDescribeSnapshotChainRequestWithAllParams(regionId string, diskId *string, snapshotId *string) *DescribeSnapshotChainRequest + func NewDescribeSnapshotChainRequestWithoutParam() *DescribeSnapshotChainRequest + func (r *DescribeSnapshotChainRequest) SetDiskId(diskId string) + func (r *DescribeSnapshotChainRequest) SetRegionId(regionId string) + func (r *DescribeSnapshotChainRequest) SetSnapshotId(snapshotId string) + func (r DescribeSnapshotChainRequest) GetRegionId() string + type DescribeSnapshotChainResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeSnapshotChainResult + type DescribeSnapshotChainResult struct + SnapshotChain interface{} + type DescribeSnapshotPoliciesRequest struct + Name *string + Order *disk.OrderItem + PageNumber *int + PageSize *int + PolicyId []string + RegionId string + Status []int + func NewDescribeSnapshotPoliciesRequest(regionId string) *DescribeSnapshotPoliciesRequest + func NewDescribeSnapshotPoliciesRequestWithAllParams(regionId string, name *string, policyId []string, status []int, ...) *DescribeSnapshotPoliciesRequest + func NewDescribeSnapshotPoliciesRequestWithoutParam() *DescribeSnapshotPoliciesRequest + func (r *DescribeSnapshotPoliciesRequest) SetName(name string) + func (r *DescribeSnapshotPoliciesRequest) SetOrder(order *disk.OrderItem) + func (r *DescribeSnapshotPoliciesRequest) SetPageNumber(pageNumber int) + func (r *DescribeSnapshotPoliciesRequest) SetPageSize(pageSize int) + func (r *DescribeSnapshotPoliciesRequest) SetPolicyId(policyId []string) + func (r *DescribeSnapshotPoliciesRequest) SetRegionId(regionId string) + func (r *DescribeSnapshotPoliciesRequest) SetStatus(status []int) + func (r DescribeSnapshotPoliciesRequest) GetRegionId() string + type DescribeSnapshotPoliciesResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeSnapshotPoliciesResult + type DescribeSnapshotPoliciesResult struct + Policies []disk.SnapshotPolicy + TotalCount int + type DescribeSnapshotPolicyDiskRelationsRequest struct + DiskId []string + DiskRegion []string + PageNumber *int + PageSize *int + PolicyId []string + RegionId string + func NewDescribeSnapshotPolicyDiskRelationsRequest(regionId string) *DescribeSnapshotPolicyDiskRelationsRequest + func NewDescribeSnapshotPolicyDiskRelationsRequestWithAllParams(regionId string, diskId []string, diskRegion []string, policyId []string, ...) *DescribeSnapshotPolicyDiskRelationsRequest + func NewDescribeSnapshotPolicyDiskRelationsRequestWithoutParam() *DescribeSnapshotPolicyDiskRelationsRequest + func (r *DescribeSnapshotPolicyDiskRelationsRequest) SetDiskId(diskId []string) + func (r *DescribeSnapshotPolicyDiskRelationsRequest) SetDiskRegion(diskRegion []string) + func (r *DescribeSnapshotPolicyDiskRelationsRequest) SetPageNumber(pageNumber int) + func (r *DescribeSnapshotPolicyDiskRelationsRequest) SetPageSize(pageSize int) + func (r *DescribeSnapshotPolicyDiskRelationsRequest) SetPolicyId(policyId []string) + func (r *DescribeSnapshotPolicyDiskRelationsRequest) SetRegionId(regionId string) + func (r DescribeSnapshotPolicyDiskRelationsRequest) GetRegionId() string + type DescribeSnapshotPolicyDiskRelationsResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeSnapshotPolicyDiskRelationsResult + type DescribeSnapshotPolicyDiskRelationsResult struct + RelationResults []disk.DescSnapshotRelationsData + TotalCount int + type DescribeSnapshotRequest struct + RegionId string + SnapshotId string + func NewDescribeSnapshotRequest(regionId string, snapshotId string) *DescribeSnapshotRequest + func NewDescribeSnapshotRequestWithAllParams(regionId string, snapshotId string) *DescribeSnapshotRequest + func NewDescribeSnapshotRequestWithoutParam() *DescribeSnapshotRequest + func (r *DescribeSnapshotRequest) SetRegionId(regionId string) + func (r *DescribeSnapshotRequest) SetSnapshotId(snapshotId string) + func (r DescribeSnapshotRequest) GetRegionId() string + type DescribeSnapshotResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeSnapshotResult + type DescribeSnapshotResult struct + Snapshot disk.Snapshot + type DescribeSnapshotsCapacityRequest struct + RegionId string + func NewDescribeSnapshotsCapacityRequest(regionId string) *DescribeSnapshotsCapacityRequest + func NewDescribeSnapshotsCapacityRequestWithAllParams(regionId string) *DescribeSnapshotsCapacityRequest + func NewDescribeSnapshotsCapacityRequestWithoutParam() *DescribeSnapshotsCapacityRequest + func (r *DescribeSnapshotsCapacityRequest) SetRegionId(regionId string) + func (r DescribeSnapshotsCapacityRequest) GetRegionId() string + type DescribeSnapshotsCapacityResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeSnapshotsCapacityResult + type DescribeSnapshotsCapacityResult struct + Capacities []disk.SnapshotCapacity + type DescribeSnapshotsRequest struct + Filters []common.Filter + PageNumber *int + PageSize *int + RegionId string + SnapshotSource *string + func NewDescribeSnapshotsRequest(regionId string) *DescribeSnapshotsRequest + func NewDescribeSnapshotsRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, snapshotSource *string, ...) *DescribeSnapshotsRequest + func NewDescribeSnapshotsRequestWithoutParam() *DescribeSnapshotsRequest + func (r *DescribeSnapshotsRequest) SetFilters(filters []common.Filter) + func (r *DescribeSnapshotsRequest) SetPageNumber(pageNumber int) + func (r *DescribeSnapshotsRequest) SetPageSize(pageSize int) + func (r *DescribeSnapshotsRequest) SetRegionId(regionId string) + func (r *DescribeSnapshotsRequest) SetSnapshotSource(snapshotSource string) + func (r DescribeSnapshotsRequest) GetRegionId() string + type DescribeSnapshotsResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeSnapshotsResult + type DescribeSnapshotsResult struct + Snapshots []disk.Snapshot + TotalCount int + type DescribeSoldoutRequest struct + RegionId string + func NewDescribeSoldoutRequest(regionId string) *DescribeSoldoutRequest + func NewDescribeSoldoutRequestWithAllParams(regionId string) *DescribeSoldoutRequest + func NewDescribeSoldoutRequestWithoutParam() *DescribeSoldoutRequest + func (r *DescribeSoldoutRequest) SetRegionId(regionId string) + func (r DescribeSoldoutRequest) GetRegionId() string + type DescribeSoldoutResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeSoldoutResult + type DescribeSoldoutResult struct + Soldout []disk.Soldout + TotalCount int + type DescribeVolumesIgnoreServiceCodeRequest struct + FilterGroups []disk.FilterGroups + PageNumber *int + PageSize *int + RegionId string + Tags []disk.TagFilter + func NewDescribeVolumesIgnoreServiceCodeRequest(regionId string) *DescribeVolumesIgnoreServiceCodeRequest + func NewDescribeVolumesIgnoreServiceCodeRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, tags []disk.TagFilter, ...) *DescribeVolumesIgnoreServiceCodeRequest + func NewDescribeVolumesIgnoreServiceCodeRequestWithoutParam() *DescribeVolumesIgnoreServiceCodeRequest + func (r *DescribeVolumesIgnoreServiceCodeRequest) SetFilterGroups(filterGroups []disk.FilterGroups) + func (r *DescribeVolumesIgnoreServiceCodeRequest) SetPageNumber(pageNumber int) + func (r *DescribeVolumesIgnoreServiceCodeRequest) SetPageSize(pageSize int) + func (r *DescribeVolumesIgnoreServiceCodeRequest) SetRegionId(regionId string) + func (r *DescribeVolumesIgnoreServiceCodeRequest) SetTags(tags []disk.TagFilter) + func (r DescribeVolumesIgnoreServiceCodeRequest) GetRegionId() string + type DescribeVolumesIgnoreServiceCodeResponse struct + Error core.ErrorResponse + RequestID string + Result DescribeVolumesIgnoreServiceCodeResult + type DescribeVolumesIgnoreServiceCodeResult struct + Disks []disk.Disk + TotalCount int + type ExtendDiskRequest struct + DiskId string + DiskSizeGB int + Iops *int + RegionId string + func NewExtendDiskRequest(regionId string, diskId string, diskSizeGB int) *ExtendDiskRequest + func NewExtendDiskRequestWithAllParams(regionId string, diskId string, diskSizeGB int, iops *int) *ExtendDiskRequest + func NewExtendDiskRequestWithoutParam() *ExtendDiskRequest + func (r *ExtendDiskRequest) SetDiskId(diskId string) + func (r *ExtendDiskRequest) SetDiskSizeGB(diskSizeGB int) + func (r *ExtendDiskRequest) SetIops(iops int) + func (r *ExtendDiskRequest) SetRegionId(regionId string) + func (r ExtendDiskRequest) GetRegionId() string + type ExtendDiskResponse struct + Error core.ErrorResponse + RequestID string + Result ExtendDiskResult + type ExtendDiskResult struct + type ModifyDiskAttributeRequest struct + Description *string + DiskId string + Name *string + RegionId string + func NewModifyDiskAttributeRequest(regionId string, diskId string) *ModifyDiskAttributeRequest + func NewModifyDiskAttributeRequestWithAllParams(regionId string, diskId string, name *string, description *string) *ModifyDiskAttributeRequest + func NewModifyDiskAttributeRequestWithoutParam() *ModifyDiskAttributeRequest + func (r *ModifyDiskAttributeRequest) SetDescription(description string) + func (r *ModifyDiskAttributeRequest) SetDiskId(diskId string) + func (r *ModifyDiskAttributeRequest) SetName(name string) + func (r *ModifyDiskAttributeRequest) SetRegionId(regionId string) + func (r ModifyDiskAttributeRequest) GetRegionId() string + type ModifyDiskAttributeResponse struct + Error core.ErrorResponse + RequestID string + Result ModifyDiskAttributeResult + type ModifyDiskAttributeResult struct + type ModifySnapshotAttributeRequest struct + Description *string + ExpireTime *string + Name *string + RegionId string + SnapshotId string + func NewModifySnapshotAttributeRequest(regionId string, snapshotId string) *ModifySnapshotAttributeRequest + func NewModifySnapshotAttributeRequestWithAllParams(regionId string, snapshotId string, name *string, description *string, ...) *ModifySnapshotAttributeRequest + func NewModifySnapshotAttributeRequestWithoutParam() *ModifySnapshotAttributeRequest + func (r *ModifySnapshotAttributeRequest) SetDescription(description string) + func (r *ModifySnapshotAttributeRequest) SetExpireTime(expireTime string) + func (r *ModifySnapshotAttributeRequest) SetName(name string) + func (r *ModifySnapshotAttributeRequest) SetRegionId(regionId string) + func (r *ModifySnapshotAttributeRequest) SetSnapshotId(snapshotId string) + func (r ModifySnapshotAttributeRequest) GetRegionId() string + type ModifySnapshotAttributeResponse struct + Error core.ErrorResponse + RequestID string + Result ModifySnapshotAttributeResult + type ModifySnapshotAttributeResult struct + type RestoreDiskRequest struct + DiskId string + RegionId string + SnapshotId string + func NewRestoreDiskRequest(regionId string, diskId string, snapshotId string) *RestoreDiskRequest + func NewRestoreDiskRequestWithAllParams(regionId string, diskId string, snapshotId string) *RestoreDiskRequest + func NewRestoreDiskRequestWithoutParam() *RestoreDiskRequest + func (r *RestoreDiskRequest) SetDiskId(diskId string) + func (r *RestoreDiskRequest) SetRegionId(regionId string) + func (r *RestoreDiskRequest) SetSnapshotId(snapshotId string) + func (r RestoreDiskRequest) GetRegionId() string + type RestoreDiskResponse struct + Error core.ErrorResponse + RequestID string + Result RestoreDiskResult + type RestoreDiskResult struct + type UpdateSnapshotPolicyRequest struct + ContactInfo *disk.ContactInfo + EffectiveTime string + Interval int + Name string + PolicyId string + RegionId string + SnapshotLifecycle int + Status int + func NewUpdateSnapshotPolicyRequest(regionId string, policyId string, name string, interval int, ...) *UpdateSnapshotPolicyRequest + func NewUpdateSnapshotPolicyRequestWithAllParams(regionId string, policyId string, name string, interval int, ...) *UpdateSnapshotPolicyRequest + func NewUpdateSnapshotPolicyRequestWithoutParam() *UpdateSnapshotPolicyRequest + func (r *UpdateSnapshotPolicyRequest) SetContactInfo(contactInfo *disk.ContactInfo) + func (r *UpdateSnapshotPolicyRequest) SetEffectiveTime(effectiveTime string) + func (r *UpdateSnapshotPolicyRequest) SetInterval(interval int) + func (r *UpdateSnapshotPolicyRequest) SetName(name string) + func (r *UpdateSnapshotPolicyRequest) SetPolicyId(policyId string) + func (r *UpdateSnapshotPolicyRequest) SetRegionId(regionId string) + func (r *UpdateSnapshotPolicyRequest) SetSnapshotLifecycle(snapshotLifecycle int) + func (r *UpdateSnapshotPolicyRequest) SetStatus(status int) + func (r UpdateSnapshotPolicyRequest) GetRegionId() string + type UpdateSnapshotPolicyResponse struct + Error core.ErrorResponse + RequestID string + Result UpdateSnapshotPolicyResult + type UpdateSnapshotPolicyResult struct + ContactInfo disk.ContactInfo + CreateTime string + DiskCount int + EffectiveTime string + Id string + Interval int + LastTriggerTime string + Name string + NextTriggerTime string + Pin string + SnapshotLifecycle int + Status int + UpdateTime string