client

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDiskReplicaPairRequest

type AddDiskReplicaPairRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the replication pair-consistent group.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
	// The ID of the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query the IDs of existing replication pairs.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
}

func (AddDiskReplicaPairRequest) GoString

func (s AddDiskReplicaPairRequest) GoString() string

func (*AddDiskReplicaPairRequest) SetClientToken

func (*AddDiskReplicaPairRequest) SetRegionId

func (*AddDiskReplicaPairRequest) SetReplicaGroupId

func (*AddDiskReplicaPairRequest) SetReplicaPairId

func (AddDiskReplicaPairRequest) String

func (s AddDiskReplicaPairRequest) String() string

type AddDiskReplicaPairResponse

type AddDiskReplicaPairResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *AddDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (AddDiskReplicaPairResponse) GoString

func (s AddDiskReplicaPairResponse) GoString() string

func (*AddDiskReplicaPairResponse) SetBody

func (*AddDiskReplicaPairResponse) SetHeaders

func (*AddDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (AddDiskReplicaPairResponse) String

type AddDiskReplicaPairResponseBody

type AddDiskReplicaPairResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AddDiskReplicaPairResponseBody) GoString

func (*AddDiskReplicaPairResponseBody) SetRequestId

func (AddDiskReplicaPairResponseBody) String

type ApplyLensServiceResponse added in v1.3.13

type ApplyLensServiceResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ApplyLensServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ApplyLensServiceResponse) GoString added in v1.3.13

func (s ApplyLensServiceResponse) GoString() string

func (*ApplyLensServiceResponse) SetBody added in v1.3.13

func (*ApplyLensServiceResponse) SetHeaders added in v1.3.13

func (*ApplyLensServiceResponse) SetStatusCode added in v1.3.13

func (ApplyLensServiceResponse) String added in v1.3.13

func (s ApplyLensServiceResponse) String() string

type ApplyLensServiceResponseBody added in v1.3.13

type ApplyLensServiceResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ApplyLensServiceResponseBody) GoString added in v1.3.13

func (s ApplyLensServiceResponseBody) GoString() string

func (*ApplyLensServiceResponseBody) SetRequestId added in v1.3.13

func (ApplyLensServiceResponseBody) String added in v1.3.13

type BindEnterpriseSnapshotPolicyRequest added in v1.5.0

type BindEnterpriseSnapshotPolicyRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The list of disks.
	DiskTargets []*string `json:"DiskTargets,omitempty" xml:"DiskTargets,omitempty" type:"Repeated"`
	// The id of the policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID . You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which snapshot policy is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (BindEnterpriseSnapshotPolicyRequest) GoString added in v1.5.0

func (*BindEnterpriseSnapshotPolicyRequest) SetClientToken added in v1.5.0

func (*BindEnterpriseSnapshotPolicyRequest) SetDiskTargets added in v1.5.0

func (*BindEnterpriseSnapshotPolicyRequest) SetPolicyId added in v1.5.0

func (*BindEnterpriseSnapshotPolicyRequest) SetRegionId added in v1.5.0

func (BindEnterpriseSnapshotPolicyRequest) String added in v1.5.0

type BindEnterpriseSnapshotPolicyResponse added in v1.5.0

type BindEnterpriseSnapshotPolicyResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *BindEnterpriseSnapshotPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (BindEnterpriseSnapshotPolicyResponse) GoString added in v1.5.0

func (*BindEnterpriseSnapshotPolicyResponse) SetBody added in v1.5.0

func (*BindEnterpriseSnapshotPolicyResponse) SetHeaders added in v1.5.0

func (*BindEnterpriseSnapshotPolicyResponse) SetStatusCode added in v1.5.0

func (BindEnterpriseSnapshotPolicyResponse) String added in v1.5.0

type BindEnterpriseSnapshotPolicyResponseBody added in v1.5.0

type BindEnterpriseSnapshotPolicyResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (BindEnterpriseSnapshotPolicyResponseBody) GoString added in v1.5.0

func (*BindEnterpriseSnapshotPolicyResponseBody) SetRequestId added in v1.5.0

func (BindEnterpriseSnapshotPolicyResponseBody) String added in v1.5.0

type CancelLensServiceResponse added in v1.3.13

type CancelLensServiceResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CancelLensServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CancelLensServiceResponse) GoString added in v1.3.13

func (s CancelLensServiceResponse) GoString() string

func (*CancelLensServiceResponse) SetBody added in v1.3.13

func (*CancelLensServiceResponse) SetHeaders added in v1.3.13

func (*CancelLensServiceResponse) SetStatusCode added in v1.3.13

func (CancelLensServiceResponse) String added in v1.3.13

func (s CancelLensServiceResponse) String() string

type CancelLensServiceResponseBody added in v1.3.13

type CancelLensServiceResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CancelLensServiceResponseBody) GoString added in v1.3.13

func (*CancelLensServiceResponseBody) SetRequestId added in v1.3.13

func (CancelLensServiceResponseBody) String added in v1.3.13

type ChangeResourceGroupRequest added in v1.3.16

type ChangeResourceGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the new resource group. You can view the available resource groups in the Resource Management console. For more information, see [View basic information of a resource group](https://help.aliyun.com/document_detail/151181.htm?spm=a2c4g.11186623.0.0.15ef75c87zvMhL).
	NewResourceGroupId *string `json:"NewResourceGroupId,omitempty" xml:"NewResourceGroupId,omitempty"`
	// The region ID of the resource. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource. For example, if you set ResourceType to diskreplicapair, set this parameter to the ID of a replication pair.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource. Valid values:
	//
	// *   dedicatedblockstoragecluster: dedicated block storage cluster.
	// *   diskreplicapair: replication pair.
	// *   diskreplicagroup: replication pair-consistent group.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ChangeResourceGroupRequest) GoString added in v1.3.16

func (s ChangeResourceGroupRequest) GoString() string

func (*ChangeResourceGroupRequest) SetClientToken added in v1.3.16

func (*ChangeResourceGroupRequest) SetNewResourceGroupId added in v1.3.16

func (s *ChangeResourceGroupRequest) SetNewResourceGroupId(v string) *ChangeResourceGroupRequest

func (*ChangeResourceGroupRequest) SetRegionId added in v1.3.16

func (*ChangeResourceGroupRequest) SetResourceId added in v1.3.16

func (*ChangeResourceGroupRequest) SetResourceType added in v1.3.16

func (ChangeResourceGroupRequest) String added in v1.3.16

type ChangeResourceGroupResponse added in v1.3.16

type ChangeResourceGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ChangeResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ChangeResourceGroupResponse) GoString added in v1.3.16

func (s ChangeResourceGroupResponse) GoString() string

func (*ChangeResourceGroupResponse) SetBody added in v1.3.16

func (*ChangeResourceGroupResponse) SetHeaders added in v1.3.16

func (*ChangeResourceGroupResponse) SetStatusCode added in v1.3.16

func (ChangeResourceGroupResponse) String added in v1.3.16

type ChangeResourceGroupResponseBody added in v1.3.16

type ChangeResourceGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ChangeResourceGroupResponseBody) GoString added in v1.3.16

func (*ChangeResourceGroupResponseBody) SetRequestId added in v1.3.16

func (ChangeResourceGroupResponseBody) String added in v1.3.16

type ClearPairDrillRequest added in v1.4.0

type ClearPairDrillRequest struct {
	// The ID of the drill. You can call the [DescribePairDrills](~~2584480~~) operation to query the disaster recovery drills that were performed on replication pairs in a specific region.
	DrillId *string `json:"DrillId,omitempty" xml:"DrillId,omitempty"`
	// The ID of the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query the most recent list of replication pairs, including replication pair IDs.
	PairId *string `json:"PairId,omitempty" xml:"PairId,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which async replication is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (ClearPairDrillRequest) GoString added in v1.4.0

func (s ClearPairDrillRequest) GoString() string

func (*ClearPairDrillRequest) SetDrillId added in v1.4.0

func (*ClearPairDrillRequest) SetPairId added in v1.4.0

func (*ClearPairDrillRequest) SetRegionId added in v1.4.0

func (ClearPairDrillRequest) String added in v1.4.0

func (s ClearPairDrillRequest) String() string

type ClearPairDrillResponse added in v1.4.0

type ClearPairDrillResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ClearPairDrillResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ClearPairDrillResponse) GoString added in v1.4.0

func (s ClearPairDrillResponse) GoString() string

func (*ClearPairDrillResponse) SetBody added in v1.4.0

func (*ClearPairDrillResponse) SetHeaders added in v1.4.0

func (*ClearPairDrillResponse) SetStatusCode added in v1.4.0

func (ClearPairDrillResponse) String added in v1.4.0

func (s ClearPairDrillResponse) String() string

type ClearPairDrillResponseBody added in v1.4.0

type ClearPairDrillResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ClearPairDrillResponseBody) GoString added in v1.4.0

func (s ClearPairDrillResponseBody) GoString() string

func (*ClearPairDrillResponseBody) SetRequestId added in v1.4.0

func (ClearPairDrillResponseBody) String added in v1.4.0

type ClearReplicaGroupDrillRequest added in v1.4.0

type ClearReplicaGroupDrillRequest struct {
	// The ID of the drill. You can call the [DescribeReplicaGroupDrills](~~2584481~~) operation to query disaster recovery drills that were performed on replication pairs in a specific region.
	DrillId *string `json:"DrillId,omitempty" xml:"DrillId,omitempty"`
	// The ID of the replication pair-consistent group. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the most recent list of replication pair-consistent groups, including group IDs.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which async replication is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (ClearReplicaGroupDrillRequest) GoString added in v1.4.0

func (*ClearReplicaGroupDrillRequest) SetDrillId added in v1.4.0

func (*ClearReplicaGroupDrillRequest) SetGroupId added in v1.4.0

func (*ClearReplicaGroupDrillRequest) SetRegionId added in v1.4.0

func (ClearReplicaGroupDrillRequest) String added in v1.4.0

type ClearReplicaGroupDrillResponse added in v1.4.0

type ClearReplicaGroupDrillResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ClearReplicaGroupDrillResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ClearReplicaGroupDrillResponse) GoString added in v1.4.0

func (*ClearReplicaGroupDrillResponse) SetBody added in v1.4.0

func (*ClearReplicaGroupDrillResponse) SetHeaders added in v1.4.0

func (*ClearReplicaGroupDrillResponse) SetStatusCode added in v1.4.0

func (ClearReplicaGroupDrillResponse) String added in v1.4.0

type ClearReplicaGroupDrillResponseBody added in v1.4.0

type ClearReplicaGroupDrillResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ClearReplicaGroupDrillResponseBody) GoString added in v1.4.0

func (*ClearReplicaGroupDrillResponseBody) SetRequestId added in v1.4.0

func (ClearReplicaGroupDrillResponseBody) String added in v1.4.0

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) AddDiskReplicaPair

func (client *Client) AddDiskReplicaPair(request *AddDiskReplicaPairRequest) (_result *AddDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * A replication pair and a replication pair-consistent group replicate in the same direction if they have the same primary region (production region), primary zone (production zone), secondary region (disaster recovery region), and secondary zone (disaster recovery zone). A replication pair can be added only to a replication pair-consistent group that replicates in the same direction as the replication pair.
  • * Before you can add a replication pair to a replication pair-consistent group, make sure that the pair and the group are in the **Created** (`created`) or **Stopped** (`stopped`) state.
  • * Up to 17 replication pairs can be added to a single replication pair-consistent group.
  • * After replication pairs are added to a replication pair-consistent group, the recovery point objective (RPO) of the group takes effect on the pairs in place of their original RPOs. *
  • @param request AddDiskReplicaPairRequest
  • @return AddDiskReplicaPairResponse

func (*Client) AddDiskReplicaPairWithOptions

func (client *Client) AddDiskReplicaPairWithOptions(request *AddDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *AddDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * A replication pair and a replication pair-consistent group replicate in the same direction if they have the same primary region (production region), primary zone (production zone), secondary region (disaster recovery region), and secondary zone (disaster recovery zone). A replication pair can be added only to a replication pair-consistent group that replicates in the same direction as the replication pair.
  • * Before you can add a replication pair to a replication pair-consistent group, make sure that the pair and the group are in the **Created** (`created`) or **Stopped** (`stopped`) state.
  • * Up to 17 replication pairs can be added to a single replication pair-consistent group.
  • * After replication pairs are added to a replication pair-consistent group, the recovery point objective (RPO) of the group takes effect on the pairs in place of their original RPOs. *
  • @param request AddDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AddDiskReplicaPairResponse

func (*Client) ApplyLensService added in v1.3.13

func (client *Client) ApplyLensService() (_result *ApplyLensServiceResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @return ApplyLensServiceResponse

func (*Client) ApplyLensServiceWithOptions added in v1.3.13

func (client *Client) ApplyLensServiceWithOptions(runtime *util.RuntimeOptions) (_result *ApplyLensServiceResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param request ApplyLensServiceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ApplyLensServiceResponse

func (*Client) BindEnterpriseSnapshotPolicy added in v1.5.0

func (client *Client) BindEnterpriseSnapshotPolicy(request *BindEnterpriseSnapshotPolicyRequest) (_result *BindEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) BindEnterpriseSnapshotPolicyWithOptions added in v1.5.0

func (client *Client) BindEnterpriseSnapshotPolicyWithOptions(request *BindEnterpriseSnapshotPolicyRequest, runtime *util.RuntimeOptions) (_result *BindEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) CancelLensService added in v1.3.13

func (client *Client) CancelLensService() (_result *CancelLensServiceResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @return CancelLensServiceResponse

func (*Client) CancelLensServiceWithOptions added in v1.3.13

func (client *Client) CancelLensServiceWithOptions(runtime *util.RuntimeOptions) (_result *CancelLensServiceResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param request CancelLensServiceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CancelLensServiceResponse

func (*Client) ChangeResourceGroup added in v1.3.16

func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (_result *ChangeResourceGroupResponse, _err error)

func (*Client) ChangeResourceGroupWithOptions added in v1.3.16

func (client *Client) ChangeResourceGroupWithOptions(request *ChangeResourceGroupRequest, runtime *util.RuntimeOptions) (_result *ChangeResourceGroupResponse, _err error)

func (*Client) ClearPairDrill added in v1.4.0

func (client *Client) ClearPairDrill(request *ClearPairDrillRequest) (_result *ClearPairDrillResponse, _err error)

func (*Client) ClearPairDrillWithOptions added in v1.4.0

func (client *Client) ClearPairDrillWithOptions(request *ClearPairDrillRequest, runtime *util.RuntimeOptions) (_result *ClearPairDrillResponse, _err error)

func (*Client) ClearReplicaGroupDrill added in v1.4.0

func (client *Client) ClearReplicaGroupDrill(request *ClearReplicaGroupDrillRequest) (_result *ClearReplicaGroupDrillResponse, _err error)

func (*Client) ClearReplicaGroupDrillWithOptions added in v1.4.0

func (client *Client) ClearReplicaGroupDrillWithOptions(request *ClearReplicaGroupDrillRequest, runtime *util.RuntimeOptions) (_result *ClearReplicaGroupDrillResponse, _err error)

func (*Client) CreateDedicatedBlockStorageCluster added in v1.3.11

func (client *Client) CreateDedicatedBlockStorageCluster(request *CreateDedicatedBlockStorageClusterRequest) (_result *CreateDedicatedBlockStorageClusterResponse, _err error)

*

  • Dedicated block storage clusters are physically isolated from public block storage clusters. The owner of each dedicated block storage cluster has exclusive access to all resources in the cluster. For more information, see [Overview](~~208883~~).
  • Disks created in a dedicated block storage cluster can be attached only to Elastic Compute Service (ECS) instances that reside in the same zone as the cluster. Before you create a dedicated block storage cluster, decide the regions and zones in which to deploy your cloud resources.
  • Dedicated block storage clusters are classified into basic and performance types. When you create a dedicated block storage cluster, select a cluster type based on your business requirements.
  • You are charged for creating dedicated block storage clusters. For more information, see [~~208884~~](~~208884~~). *
  • @param request CreateDedicatedBlockStorageClusterRequest
  • @return CreateDedicatedBlockStorageClusterResponse

func (*Client) CreateDedicatedBlockStorageClusterWithOptions added in v1.3.11

func (client *Client) CreateDedicatedBlockStorageClusterWithOptions(request *CreateDedicatedBlockStorageClusterRequest, runtime *util.RuntimeOptions) (_result *CreateDedicatedBlockStorageClusterResponse, _err error)

*

  • Dedicated block storage clusters are physically isolated from public block storage clusters. The owner of each dedicated block storage cluster has exclusive access to all resources in the cluster. For more information, see [Overview](~~208883~~).
  • Disks created in a dedicated block storage cluster can be attached only to Elastic Compute Service (ECS) instances that reside in the same zone as the cluster. Before you create a dedicated block storage cluster, decide the regions and zones in which to deploy your cloud resources.
  • Dedicated block storage clusters are classified into basic and performance types. When you create a dedicated block storage cluster, select a cluster type based on your business requirements.
  • You are charged for creating dedicated block storage clusters. For more information, see [~~208884~~](~~208884~~). *
  • @param request CreateDedicatedBlockStorageClusterRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDedicatedBlockStorageClusterResponse

func (*Client) CreateDiskReplicaGroup

func (client *Client) CreateDiskReplicaGroup(request *CreateDiskReplicaGroupRequest) (_result *CreateDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • The replication pair-consistent group feature allows you to batch manage multiple disks in disaster recovery scenarios. You can restore the data of all disks in the same replication pair-consistent group to the same point in time to allow for disaster recovery of instances.
  • Take note of the following items:
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * Replication pair-consistent groups can be used to implement disaster recovery across zones within the same region and disaster recovery across regions.
  • * A replication pair and a replication pair-consistent group can replicate in the same direction if they have the same primary region (production region), primary zone (production zone), secondary region (disaster recovery region), and secondary zone (disaster recovery zone). A replication pair can be added to only a replication pair-consistent group that replicates in the same direction as the replication pair.
  • * After replication pairs are added to a replication pair-consistent group, the recovery point objective (RPO) of the group takes effect on the pairs instead of their original RPOs. *
  • @param request CreateDiskReplicaGroupRequest
  • @return CreateDiskReplicaGroupResponse

func (*Client) CreateDiskReplicaGroupWithOptions

func (client *Client) CreateDiskReplicaGroupWithOptions(request *CreateDiskReplicaGroupRequest, runtime *util.RuntimeOptions) (_result *CreateDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • The replication pair-consistent group feature allows you to batch manage multiple disks in disaster recovery scenarios. You can restore the data of all disks in the same replication pair-consistent group to the same point in time to allow for disaster recovery of instances.
  • Take note of the following items:
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * Replication pair-consistent groups can be used to implement disaster recovery across zones within the same region and disaster recovery across regions.
  • * A replication pair and a replication pair-consistent group can replicate in the same direction if they have the same primary region (production region), primary zone (production zone), secondary region (disaster recovery region), and secondary zone (disaster recovery zone). A replication pair can be added to only a replication pair-consistent group that replicates in the same direction as the replication pair.
  • * After replication pairs are added to a replication pair-consistent group, the recovery point objective (RPO) of the group takes effect on the pairs instead of their original RPOs. *
  • @param request CreateDiskReplicaGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDiskReplicaGroupResponse

func (*Client) CreateDiskReplicaPair

func (client *Client) CreateDiskReplicaPair(request *CreateDiskReplicaPairRequest) (_result *CreateDiskReplicaPairResponse, _err error)

*

  • Async replication is a feature that protects data across regions by using the data replication capability of Elastic Block Storage (EBS). This feature can be used to asynchronously replicate data from a disk in one region to a disk in another region for disaster recovery purposes. You can use this feature to implement disaster recovery for critical business to protect data in your databases and improve business continuity.
  • Currently, the async replication feature can asynchronously replicate data only between enhanced SSDs (ESSDs). The functionality of disks in replication pairs is limited. You are charged on a subscription basis for the bandwidth that is used by the async replication feature.
  • Before you call this operation, take note of the following items:
  • * Make sure that the source disk (primary disk) from which to replicate data and the destination disk (secondary disk) to which to replicate data are created. You can call the [CreateDisk](~~25513~~) operation to create disks.
  • * The secondary disk cannot reside the same region as the primary disk. The async replication feature is supported in the China (Hangzhou), China (Shanghai), China (Beijing), China (Shenzhen), China (Heyuan), China (Chengdu), China (Hong Kong), Singapore, US (Silicon Valley), and US (Virginia) regions.
  • * After you call this operation to create a replication pair, you must call the [StartDiskReplicaPair](~~354205~~) operation to enable async replication to periodically replicate data from the primary disk to the secondary disk across regions. *
  • @param request CreateDiskReplicaPairRequest
  • @return CreateDiskReplicaPairResponse

func (*Client) CreateDiskReplicaPairWithOptions

func (client *Client) CreateDiskReplicaPairWithOptions(request *CreateDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *CreateDiskReplicaPairResponse, _err error)

*

  • Async replication is a feature that protects data across regions by using the data replication capability of Elastic Block Storage (EBS). This feature can be used to asynchronously replicate data from a disk in one region to a disk in another region for disaster recovery purposes. You can use this feature to implement disaster recovery for critical business to protect data in your databases and improve business continuity.
  • Currently, the async replication feature can asynchronously replicate data only between enhanced SSDs (ESSDs). The functionality of disks in replication pairs is limited. You are charged on a subscription basis for the bandwidth that is used by the async replication feature.
  • Before you call this operation, take note of the following items:
  • * Make sure that the source disk (primary disk) from which to replicate data and the destination disk (secondary disk) to which to replicate data are created. You can call the [CreateDisk](~~25513~~) operation to create disks.
  • * The secondary disk cannot reside the same region as the primary disk. The async replication feature is supported in the China (Hangzhou), China (Shanghai), China (Beijing), China (Shenzhen), China (Heyuan), China (Chengdu), China (Hong Kong), Singapore, US (Silicon Valley), and US (Virginia) regions.
  • * After you call this operation to create a replication pair, you must call the [StartDiskReplicaPair](~~354205~~) operation to enable async replication to periodically replicate data from the primary disk to the secondary disk across regions. *
  • @param request CreateDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDiskReplicaPairResponse

func (*Client) CreateEnterpriseSnapshotPolicy added in v1.5.0

func (client *Client) CreateEnterpriseSnapshotPolicy(request *CreateEnterpriseSnapshotPolicyRequest) (_result *CreateEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) CreateEnterpriseSnapshotPolicyWithOptions added in v1.5.0

func (client *Client) CreateEnterpriseSnapshotPolicyWithOptions(tmpReq *CreateEnterpriseSnapshotPolicyRequest, runtime *util.RuntimeOptions) (_result *CreateEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) DeleteDiskReplicaGroup

func (client *Client) DeleteDiskReplicaGroup(request *DeleteDiskReplicaGroupRequest) (_result *DeleteDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * Before you can delete a replication pair-consistent group, make sure that no replication pairs exist in the group.
  • * The replication pair-consistent group that you want to delete must be in the **Created** (`created`), **Creation Failed** (`create_failed`), **Stopped** (`stopped`), **Failovered** (`failovered`), **Deleting** (`deleting`), **Deletion Failed** (`delete_failed`), or **Invalid** (`invalid`) state. *
  • @param request DeleteDiskReplicaGroupRequest
  • @return DeleteDiskReplicaGroupResponse

func (*Client) DeleteDiskReplicaGroupWithOptions

func (client *Client) DeleteDiskReplicaGroupWithOptions(request *DeleteDiskReplicaGroupRequest, runtime *util.RuntimeOptions) (_result *DeleteDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * Before you can delete a replication pair-consistent group, make sure that no replication pairs exist in the group.
  • * The replication pair-consistent group that you want to delete must be in the **Created** (`created`), **Creation Failed** (`create_failed`), **Stopped** (`stopped`), **Failovered** (`failovered`), **Deleting** (`deleting`), **Deletion Failed** (`delete_failed`), or **Invalid** (`invalid`) state. *
  • @param request DeleteDiskReplicaGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDiskReplicaGroupResponse

func (*Client) DeleteDiskReplicaPair

func (client *Client) DeleteDiskReplicaPair(request *DeleteDiskReplicaPairRequest) (_result *DeleteDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * Only replication pairs that are in the **Stopped** (`stopped`), **Invalid** (`invalid`), or **Failovered** (`failovered`) state can be deleted. This operation deletes only replication pairs. The primary and secondary disks in the deleted replication pairs are retained.
  • * To delete a replication pair, you must call this operation in the region where the primary disk is located. After the replication pair is deleted, the functionality limits are lifted from the primary and secondary disks. For example, you can attach the secondary disk, resize the disk, or read data from or write data to the disk. *
  • @param request DeleteDiskReplicaPairRequest
  • @return DeleteDiskReplicaPairResponse

func (*Client) DeleteDiskReplicaPairWithOptions

func (client *Client) DeleteDiskReplicaPairWithOptions(request *DeleteDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *DeleteDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * Only replication pairs that are in the **Stopped** (`stopped`), **Invalid** (`invalid`), or **Failovered** (`failovered`) state can be deleted. This operation deletes only replication pairs. The primary and secondary disks in the deleted replication pairs are retained.
  • * To delete a replication pair, you must call this operation in the region where the primary disk is located. After the replication pair is deleted, the functionality limits are lifted from the primary and secondary disks. For example, you can attach the secondary disk, resize the disk, or read data from or write data to the disk. *
  • @param request DeleteDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDiskReplicaPairResponse

func (*Client) DeleteEnterpriseSnapshotPolicy added in v1.5.0

func (client *Client) DeleteEnterpriseSnapshotPolicy(request *DeleteEnterpriseSnapshotPolicyRequest) (_result *DeleteEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) DeleteEnterpriseSnapshotPolicyWithOptions added in v1.5.0

func (client *Client) DeleteEnterpriseSnapshotPolicyWithOptions(request *DeleteEnterpriseSnapshotPolicyRequest, runtime *util.RuntimeOptions) (_result *DeleteEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) DescribeDedicatedBlockStorageClusterDisks added in v1.3.11

func (client *Client) DescribeDedicatedBlockStorageClusterDisks(request *DescribeDedicatedBlockStorageClusterDisksRequest) (_result *DescribeDedicatedBlockStorageClusterDisksResponse, _err error)

*

  • * You can use one of the following methods to check the responses:
  • * Method 1: Use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the DescribeDisks operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
  • * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return.
  • You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use method 1. When `NextToken` is specified, `PageSize` and `PageNumber` do not take effect and `TotalCount` in the response is invalid.
  • * A disk that has the multi-attach feature enabled can be attached to multiple instances. You can query the attachment information of the disk based on the `Attachment` values in the response.
  • When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~). *
  • @param request DescribeDedicatedBlockStorageClusterDisksRequest
  • @return DescribeDedicatedBlockStorageClusterDisksResponse

func (*Client) DescribeDedicatedBlockStorageClusterDisksWithOptions added in v1.3.11

func (client *Client) DescribeDedicatedBlockStorageClusterDisksWithOptions(request *DescribeDedicatedBlockStorageClusterDisksRequest, runtime *util.RuntimeOptions) (_result *DescribeDedicatedBlockStorageClusterDisksResponse, _err error)

*

  • * You can use one of the following methods to check the responses:
  • * Method 1: Use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the DescribeDisks operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
  • * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return.
  • You can use only one of the preceding methods. If a large number of entries are to be returned, we recommend that you use method 1. When `NextToken` is specified, `PageSize` and `PageNumber` do not take effect and `TotalCount` in the response is invalid.
  • * A disk that has the multi-attach feature enabled can be attached to multiple instances. You can query the attachment information of the disk based on the `Attachment` values in the response.
  • When you call an API operation by using Alibaba Cloud CLI, you must specify request parameter values of different data types in the required formats. For more information, see [Parameter format overview](~~110340~~). *
  • @param request DescribeDedicatedBlockStorageClusterDisksRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDedicatedBlockStorageClusterDisksResponse

func (*Client) DescribeDedicatedBlockStorageClusters added in v1.3.11

func (client *Client) DescribeDedicatedBlockStorageClusters(request *DescribeDedicatedBlockStorageClustersRequest) (_result *DescribeDedicatedBlockStorageClustersResponse, _err error)

*

  • ## [](#)Usage notes
  • > The Dedicated Block Storage Cluster feature is available only in the China (Heyuan), Indonesia (Jakarta), and China (Shenzhen) regions.
  • * You can specify multiple request parameters to be queried. Specified parameters are evaluated by using the AND operator. Only the specified parameters are included in the filter conditions.
  • * We recommend that you use NextToken and MaxResults to perform paged queries. We recommend that you use MaxResults to specify the maximum number of entries to return in each request. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeDedicatedBlockStorageClusters operation to retrieve a new page of results, set NextToken to the NextToken value that is returned in the previous call and specify MaxResults to limit the number of entries returned. *
  • @param request DescribeDedicatedBlockStorageClustersRequest
  • @return DescribeDedicatedBlockStorageClustersResponse

func (*Client) DescribeDedicatedBlockStorageClustersWithOptions added in v1.3.11

func (client *Client) DescribeDedicatedBlockStorageClustersWithOptions(request *DescribeDedicatedBlockStorageClustersRequest, runtime *util.RuntimeOptions) (_result *DescribeDedicatedBlockStorageClustersResponse, _err error)

*

  • ## [](#)Usage notes
  • > The Dedicated Block Storage Cluster feature is available only in the China (Heyuan), Indonesia (Jakarta), and China (Shenzhen) regions.
  • * You can specify multiple request parameters to be queried. Specified parameters are evaluated by using the AND operator. Only the specified parameters are included in the filter conditions.
  • * We recommend that you use NextToken and MaxResults to perform paged queries. We recommend that you use MaxResults to specify the maximum number of entries to return in each request. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeDedicatedBlockStorageClusters operation to retrieve a new page of results, set NextToken to the NextToken value that is returned in the previous call and specify MaxResults to limit the number of entries returned. *
  • @param request DescribeDedicatedBlockStorageClustersRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDedicatedBlockStorageClustersResponse

func (*Client) DescribeDiskEvents added in v1.3.13

func (client *Client) DescribeDiskEvents(request *DescribeDiskEventsRequest) (_result *DescribeDiskEventsResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param request DescribeDiskEventsRequest
  • @return DescribeDiskEventsResponse

func (*Client) DescribeDiskEventsWithOptions added in v1.3.13

func (client *Client) DescribeDiskEventsWithOptions(request *DescribeDiskEventsRequest, runtime *util.RuntimeOptions) (_result *DescribeDiskEventsResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param request DescribeDiskEventsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDiskEventsResponse

func (*Client) DescribeDiskMonitorData added in v1.3.13

func (client *Client) DescribeDiskMonitorData(request *DescribeDiskMonitorDataRequest) (_result *DescribeDiskMonitorDataResponse, _err error)

*

  • ## Usage notes
  • * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
  • * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value calculated based on the following formula is greater than 400: `(EndTime - StartTime)/Period`.
  • * You can query the monitoring data collected in the last three days. An error is returned if the time specified by `StartTime` is more than three days prior to the current time. *
  • @param request DescribeDiskMonitorDataRequest
  • @return DescribeDiskMonitorDataResponse

func (*Client) DescribeDiskMonitorDataList added in v1.3.13

func (client *Client) DescribeDiskMonitorDataList(request *DescribeDiskMonitorDataListRequest) (_result *DescribeDiskMonitorDataListResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param request DescribeDiskMonitorDataListRequest
  • @return DescribeDiskMonitorDataListResponse

func (*Client) DescribeDiskMonitorDataListWithOptions added in v1.3.13

func (client *Client) DescribeDiskMonitorDataListWithOptions(request *DescribeDiskMonitorDataListRequest, runtime *util.RuntimeOptions) (_result *DescribeDiskMonitorDataListResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param request DescribeDiskMonitorDataListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDiskMonitorDataListResponse

func (*Client) DescribeDiskMonitorDataWithOptions added in v1.3.13

func (client *Client) DescribeDiskMonitorDataWithOptions(request *DescribeDiskMonitorDataRequest, runtime *util.RuntimeOptions) (_result *DescribeDiskMonitorDataResponse, _err error)

*

  • ## Usage notes
  • * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
  • * Up to 400 monitoring data entries can be returned at a time. An error is returned if the value calculated based on the following formula is greater than 400: `(EndTime - StartTime)/Period`.
  • * You can query the monitoring data collected in the last three days. An error is returned if the time specified by `StartTime` is more than three days prior to the current time. *
  • @param request DescribeDiskMonitorDataRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDiskMonitorDataResponse

func (*Client) DescribeDiskReplicaGroups

func (client *Client) DescribeDiskReplicaGroups(request *DescribeDiskReplicaGroupsRequest) (_result *DescribeDiskReplicaGroupsResponse, _err error)

*

  • To perform a paged query, set the MaxResults and NextToken parameters.
  • During a paged query, when you call the DescribeDiskReplicaGroups operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next call to retrieve a new page of results. When you call the DescribeDiskReplicaGroups operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call. *
  • @param request DescribeDiskReplicaGroupsRequest
  • @return DescribeDiskReplicaGroupsResponse

func (*Client) DescribeDiskReplicaGroupsWithOptions

func (client *Client) DescribeDiskReplicaGroupsWithOptions(request *DescribeDiskReplicaGroupsRequest, runtime *util.RuntimeOptions) (_result *DescribeDiskReplicaGroupsResponse, _err error)

*

  • To perform a paged query, set the MaxResults and NextToken parameters.
  • During a paged query, when you call the DescribeDiskReplicaGroups operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next call to retrieve a new page of results. When you call the DescribeDiskReplicaGroups operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call. *
  • @param request DescribeDiskReplicaGroupsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDiskReplicaGroupsResponse

func (*Client) DescribeDiskReplicaPairProgress

func (client *Client) DescribeDiskReplicaPairProgress(request *DescribeDiskReplicaPairProgressRequest) (_result *DescribeDiskReplicaPairProgressResponse, _err error)

func (*Client) DescribeDiskReplicaPairProgressWithOptions

func (client *Client) DescribeDiskReplicaPairProgressWithOptions(request *DescribeDiskReplicaPairProgressRequest, runtime *util.RuntimeOptions) (_result *DescribeDiskReplicaPairProgressResponse, _err error)

func (*Client) DescribeDiskReplicaPairs

func (client *Client) DescribeDiskReplicaPairs(request *DescribeDiskReplicaPairsRequest) (_result *DescribeDiskReplicaPairsResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * When you call this operation for a specific region, if the primary disk (source disk) or secondary disk (destination disk) of a replication pair resides in the region, information about the replication pair is displayed in the response.
  • * If you want to perform a paged query, configure the `NextToken` and `MaxResults` parameters. During a paged query, when you call the DescribeDiskReplicaPairs operation to retrieve the first page of results, set `MaxResults` to limit the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which can be used in the next call to retrieve a new page of results. When you call the DescribeDiskReplicaPairs operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call. *
  • @param request DescribeDiskReplicaPairsRequest
  • @return DescribeDiskReplicaPairsResponse

func (*Client) DescribeDiskReplicaPairsWithOptions

func (client *Client) DescribeDiskReplicaPairsWithOptions(request *DescribeDiskReplicaPairsRequest, runtime *util.RuntimeOptions) (_result *DescribeDiskReplicaPairsResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * When you call this operation for a specific region, if the primary disk (source disk) or secondary disk (destination disk) of a replication pair resides in the region, information about the replication pair is displayed in the response.
  • * If you want to perform a paged query, configure the `NextToken` and `MaxResults` parameters. During a paged query, when you call the DescribeDiskReplicaPairs operation to retrieve the first page of results, set `MaxResults` to limit the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which can be used in the next call to retrieve a new page of results. When you call the DescribeDiskReplicaPairs operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call. *
  • @param request DescribeDiskReplicaPairsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeDiskReplicaPairsResponse

func (*Client) DescribeEnterpriseSnapshotPolicy added in v1.5.0

func (client *Client) DescribeEnterpriseSnapshotPolicy(request *DescribeEnterpriseSnapshotPolicyRequest) (_result *DescribeEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) DescribeEnterpriseSnapshotPolicyWithOptions added in v1.5.0

func (client *Client) DescribeEnterpriseSnapshotPolicyWithOptions(request *DescribeEnterpriseSnapshotPolicyRequest, runtime *util.RuntimeOptions) (_result *DescribeEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) DescribeLensServiceStatus added in v1.3.13

func (client *Client) DescribeLensServiceStatus() (_result *DescribeLensServiceStatusResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @return DescribeLensServiceStatusResponse

func (*Client) DescribeLensServiceStatusWithOptions added in v1.3.13

func (client *Client) DescribeLensServiceStatusWithOptions(runtime *util.RuntimeOptions) (_result *DescribeLensServiceStatusResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param request DescribeLensServiceStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeLensServiceStatusResponse

func (*Client) DescribeMetricData added in v1.5.0

func (client *Client) DescribeMetricData(request *DescribeMetricDataRequest) (_result *DescribeMetricDataResponse, _err error)

func (*Client) DescribeMetricDataWithOptions added in v1.5.0

func (client *Client) DescribeMetricDataWithOptions(request *DescribeMetricDataRequest, runtime *util.RuntimeOptions) (_result *DescribeMetricDataResponse, _err error)

func (*Client) DescribePairDrills added in v1.4.0

func (client *Client) DescribePairDrills(request *DescribePairDrillsRequest) (_result *DescribePairDrillsResponse, _err error)

func (*Client) DescribePairDrillsWithOptions added in v1.4.0

func (client *Client) DescribePairDrillsWithOptions(request *DescribePairDrillsRequest, runtime *util.RuntimeOptions) (_result *DescribePairDrillsResponse, _err error)

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (_result *DescribeRegionsResponse, _err error)

func (*Client) DescribeRegionsWithOptions

func (client *Client) DescribeRegionsWithOptions(request *DescribeRegionsRequest, runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)

func (*Client) DescribeReplicaGroupDrills added in v1.4.0

func (client *Client) DescribeReplicaGroupDrills(request *DescribeReplicaGroupDrillsRequest) (_result *DescribeReplicaGroupDrillsResponse, _err error)

func (*Client) DescribeReplicaGroupDrillsWithOptions added in v1.4.0

func (client *Client) DescribeReplicaGroupDrillsWithOptions(request *DescribeReplicaGroupDrillsRequest, runtime *util.RuntimeOptions) (_result *DescribeReplicaGroupDrillsResponse, _err error)

func (*Client) FailoverDiskReplicaGroup

func (client *Client) FailoverDiskReplicaGroup(request *FailoverDiskReplicaGroupRequest) (_result *FailoverDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group must be in the **One-time Syncing** (`manual_syncing`), **Syncing** (`syncing`), **Normal** (`normal`), **Stopping** (`stopping`), **Stop Failed** (`stop_failed`), **Stopped** (`stopped`), **In Failover** (`failovering`), **Failover Failed** (`failover_failed`), or **Failovered** (`failovered`) state.
  • * After a failover is performed, the replication pair-consistent group enters the **Failovered** (`failovered`) state.
  • * Before you perform a failover, make sure that the first full data synchronization is completed between the primary site and secondary site. *
  • @param request FailoverDiskReplicaGroupRequest
  • @return FailoverDiskReplicaGroupResponse

func (*Client) FailoverDiskReplicaGroupWithOptions

func (client *Client) FailoverDiskReplicaGroupWithOptions(request *FailoverDiskReplicaGroupRequest, runtime *util.RuntimeOptions) (_result *FailoverDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group must be in the **One-time Syncing** (`manual_syncing`), **Syncing** (`syncing`), **Normal** (`normal`), **Stopping** (`stopping`), **Stop Failed** (`stop_failed`), **Stopped** (`stopped`), **In Failover** (`failovering`), **Failover Failed** (`failover_failed`), or **Failovered** (`failovered`) state.
  • * After a failover is performed, the replication pair-consistent group enters the **Failovered** (`failovered`) state.
  • * Before you perform a failover, make sure that the first full data synchronization is completed between the primary site and secondary site. *
  • @param request FailoverDiskReplicaGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return FailoverDiskReplicaGroupResponse

func (*Client) FailoverDiskReplicaPair

func (client *Client) FailoverDiskReplicaPair(request *FailoverDiskReplicaPairRequest) (_result *FailoverDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * The replication pair for which you want to enable failover cannot be in the **Invalid** (`invalid`) or **Deleted** (`deleted`) state.
  • * After a failover is performed, the replication pair enters the **Failovered** (`failovered`) state. *
  • @param request FailoverDiskReplicaPairRequest
  • @return FailoverDiskReplicaPairResponse

func (*Client) FailoverDiskReplicaPairWithOptions

func (client *Client) FailoverDiskReplicaPairWithOptions(request *FailoverDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *FailoverDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * The replication pair for which you want to enable failover cannot be in the **Invalid** (`invalid`) or **Deleted** (`deleted`) state.
  • * After a failover is performed, the replication pair enters the **Failovered** (`failovered`) state. *
  • @param request FailoverDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return FailoverDiskReplicaPairResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListTagResources added in v1.3.11

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

*

  • Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
  • * `ResourceId.N`
  • * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
  • If you set `Tag.N` and `ResourceId.N` at the same time, the EBS resources that match both the parameters are returned. *
  • @param request ListTagResourcesRequest
  • @return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions added in v1.3.11

func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

*

  • Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
  • * `ResourceId.N`
  • * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
  • If you set `Tag.N` and `ResourceId.N` at the same time, the EBS resources that match both the parameters are returned. *
  • @param request ListTagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagResourcesResponse

func (*Client) ModifyDedicatedBlockStorageClusterAttribute added in v1.3.11

func (client *Client) ModifyDedicatedBlockStorageClusterAttribute(request *ModifyDedicatedBlockStorageClusterAttributeRequest) (_result *ModifyDedicatedBlockStorageClusterAttributeResponse, _err error)

*

  • You can call this operation to modify the information of a dedicated block storage cluster. The information includes the name and description of the cluster. *
  • @param request ModifyDedicatedBlockStorageClusterAttributeRequest
  • @return ModifyDedicatedBlockStorageClusterAttributeResponse

func (*Client) ModifyDedicatedBlockStorageClusterAttributeWithOptions added in v1.3.11

func (client *Client) ModifyDedicatedBlockStorageClusterAttributeWithOptions(request *ModifyDedicatedBlockStorageClusterAttributeRequest, runtime *util.RuntimeOptions) (_result *ModifyDedicatedBlockStorageClusterAttributeResponse, _err error)

*

  • You can call this operation to modify the information of a dedicated block storage cluster. The information includes the name and description of the cluster. *
  • @param request ModifyDedicatedBlockStorageClusterAttributeRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDedicatedBlockStorageClusterAttributeResponse

func (*Client) ModifyDiskReplicaGroup

func (client *Client) ModifyDiskReplicaGroup(request *ModifyDiskReplicaGroupRequest) (_result *ModifyDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group must be in the **Created** (`created`) or **Stopped** (`stopped`) state. *
  • @param request ModifyDiskReplicaGroupRequest
  • @return ModifyDiskReplicaGroupResponse

func (*Client) ModifyDiskReplicaGroupWithOptions

func (client *Client) ModifyDiskReplicaGroupWithOptions(request *ModifyDiskReplicaGroupRequest, runtime *util.RuntimeOptions) (_result *ModifyDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group must be in the **Created** (`created`) or **Stopped** (`stopped`) state. *
  • @param request ModifyDiskReplicaGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDiskReplicaGroupResponse

func (*Client) ModifyDiskReplicaPair

func (client *Client) ModifyDiskReplicaPair(request *ModifyDiskReplicaPairRequest) (_result *ModifyDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * Only replication pairs that are in the **Created** (`created`) or **Stopped** (`stopped`) state can have their names or descriptions modified. *
  • @param request ModifyDiskReplicaPairRequest
  • @return ModifyDiskReplicaPairResponse

func (*Client) ModifyDiskReplicaPairWithOptions

func (client *Client) ModifyDiskReplicaPairWithOptions(request *ModifyDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *ModifyDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * Only replication pairs that are in the **Created** (`created`) or **Stopped** (`stopped`) state can have their names or descriptions modified. *
  • @param request ModifyDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyDiskReplicaPairResponse

func (*Client) RemoveDiskReplicaPair

func (client *Client) RemoveDiskReplicaPair(request *RemoveDiskReplicaPairRequest) (_result *RemoveDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group from which you want to remove a replication pair must be in the **Created** (`created`), **Stopped** (`stopped`), or **Invalid** (`invalid`) state. *
  • @param request RemoveDiskReplicaPairRequest
  • @return RemoveDiskReplicaPairResponse

func (*Client) RemoveDiskReplicaPairWithOptions

func (client *Client) RemoveDiskReplicaPairWithOptions(request *RemoveDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *RemoveDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group from which you want to remove a replication pair must be in the **Created** (`created`), **Stopped** (`stopped`), or **Invalid** (`invalid`) state. *
  • @param request RemoveDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveDiskReplicaPairResponse

func (*Client) ReprotectDiskReplicaGroup

func (client *Client) ReprotectDiskReplicaGroup(request *ReprotectDiskReplicaGroupRequest) (_result *ReprotectDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group for which you want to enable reverse replication must be in the **Failovered** (`failovered`) state. You can call the `FailoverDiskReplicaPair` operation to enable failover.
  • * Before a reverse replication is performed, the primary disks must be detached from its associated Elastic Compute Service (ECS) instance and must be in the Unattached state. You can call the [DetachDisk](~~25516~~) operation to detach the disks.
  • * After you enable reverse replication, you must call the `StartDiskReplicaPair` operation again to enable the async replication feature before data can be replicated from the original secondary disks to the original primary disks.
  • * You can set the ReverseReplicate parameter to false to cancel the **Failovered** (`failovered`) state and restore the original replication direction. *
  • @param request ReprotectDiskReplicaGroupRequest
  • @return ReprotectDiskReplicaGroupResponse

func (*Client) ReprotectDiskReplicaGroupWithOptions

func (client *Client) ReprotectDiskReplicaGroupWithOptions(request *ReprotectDiskReplicaGroupRequest, runtime *util.RuntimeOptions) (_result *ReprotectDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group for which you want to enable reverse replication must be in the **Failovered** (`failovered`) state. You can call the `FailoverDiskReplicaPair` operation to enable failover.
  • * Before a reverse replication is performed, the primary disks must be detached from its associated Elastic Compute Service (ECS) instance and must be in the Unattached state. You can call the [DetachDisk](~~25516~~) operation to detach the disks.
  • * After you enable reverse replication, you must call the `StartDiskReplicaPair` operation again to enable the async replication feature before data can be replicated from the original secondary disks to the original primary disks.
  • * You can set the ReverseReplicate parameter to false to cancel the **Failovered** (`failovered`) state and restore the original replication direction. *
  • @param request ReprotectDiskReplicaGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReprotectDiskReplicaGroupResponse

func (*Client) ReprotectDiskReplicaPair

func (client *Client) ReprotectDiskReplicaPair(request *ReprotectDiskReplicaPairRequest) (_result *ReprotectDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * The replication pair for which you want to enable reverse replication must be in the **Failovered** (`failovered`) state. You can call the [FailoverDiskReplicaPair](~~354358~~) operation to enable failover.
  • * The primary disk must be detached from its associated Elastic Compute Service (ECS) instance and is in the Unattached state. You can call the [DetachDisk](~~25516~~) operation to detach the disk.
  • * After you enable reverse replication, you must call the [StartDiskReplicaPair](~~354205~~) operation again to activate the replication pair before data can be replicated from the original secondary disk to the original primary disk.
  • * You can set the ReverseReplicate parameter to false to cancel the **Failovered** (`failovered`) state and restore the original replication direction. *
  • @param request ReprotectDiskReplicaPairRequest
  • @return ReprotectDiskReplicaPairResponse

func (*Client) ReprotectDiskReplicaPairWithOptions

func (client *Client) ReprotectDiskReplicaPairWithOptions(request *ReprotectDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *ReprotectDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * The replication pair for which you want to enable reverse replication must be in the **Failovered** (`failovered`) state. You can call the [FailoverDiskReplicaPair](~~354358~~) operation to enable failover.
  • * The primary disk must be detached from its associated Elastic Compute Service (ECS) instance and is in the Unattached state. You can call the [DetachDisk](~~25516~~) operation to detach the disk.
  • * After you enable reverse replication, you must call the [StartDiskReplicaPair](~~354205~~) operation again to activate the replication pair before data can be replicated from the original secondary disk to the original primary disk.
  • * You can set the ReverseReplicate parameter to false to cancel the **Failovered** (`failovered`) state and restore the original replication direction. *
  • @param request ReprotectDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ReprotectDiskReplicaPairResponse

func (*Client) StartDiskMonitor added in v1.3.13

func (client *Client) StartDiskMonitor(request *StartDiskMonitorRequest) (_result *StartDiskMonitorResponse, _err error)

*

  • ## Usage notes
  • * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
  • * CloudLens for EBS can be used to monitor the performance of enhanced SSDs (ESSDs), standard SSDs, and ultra disks. After you enable CloudLens for EBS, you can enable the data collection feature to obtain the near real-time monitoring data. For more information, see [Enable near real-time monitoring for disks](~~354196~~). *
  • @param request StartDiskMonitorRequest
  • @return StartDiskMonitorResponse

func (*Client) StartDiskMonitorWithOptions added in v1.3.13

func (client *Client) StartDiskMonitorWithOptions(tmpReq *StartDiskMonitorRequest, runtime *util.RuntimeOptions) (_result *StartDiskMonitorResponse, _err error)

*

  • ## Usage notes
  • * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).
  • * CloudLens for EBS can be used to monitor the performance of enhanced SSDs (ESSDs), standard SSDs, and ultra disks. After you enable CloudLens for EBS, you can enable the data collection feature to obtain the near real-time monitoring data. For more information, see [Enable near real-time monitoring for disks](~~354196~~). *
  • @param tmpReq StartDiskMonitorRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartDiskMonitorResponse

func (*Client) StartDiskReplicaGroup

func (client *Client) StartDiskReplicaGroup(request *StartDiskReplicaGroupRequest) (_result *StartDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * If you set the `OneShot` to `false`, the replication pair-consistent group must be in the **Created** (`created` ), **Synchronizing** (`syncing` ), **Normal** (`normal` ), or **Stopped** (`stopped`) state.
  • * If you set `OneShot` to `true`, the replication pair-consistent group must be in the **Created** (`created` ), **One-time Syncing** (`manual_syncing` ), or **Stopped** (`stopped`) state. The time interval between two consecutive one-time synchronizations must be longer than one half of the recovery point objective (RPO).
  • * After a replication pair-consistent group is activated, the group enters the **Initial Syncing** (`initial_syncing`) state and the system performs the first async replication to replicate all data from the primary disks to secondary disks. *
  • @param request StartDiskReplicaGroupRequest
  • @return StartDiskReplicaGroupResponse

func (*Client) StartDiskReplicaGroupWithOptions

func (client *Client) StartDiskReplicaGroupWithOptions(request *StartDiskReplicaGroupRequest, runtime *util.RuntimeOptions) (_result *StartDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * If you set the `OneShot` to `false`, the replication pair-consistent group must be in the **Created** (`created` ), **Synchronizing** (`syncing` ), **Normal** (`normal` ), or **Stopped** (`stopped`) state.
  • * If you set `OneShot` to `true`, the replication pair-consistent group must be in the **Created** (`created` ), **One-time Syncing** (`manual_syncing` ), or **Stopped** (`stopped`) state. The time interval between two consecutive one-time synchronizations must be longer than one half of the recovery point objective (RPO).
  • * After a replication pair-consistent group is activated, the group enters the **Initial Syncing** (`initial_syncing`) state and the system performs the first async replication to replicate all data from the primary disks to secondary disks. *
  • @param request StartDiskReplicaGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartDiskReplicaGroupResponse

func (*Client) StartDiskReplicaPair

func (client *Client) StartDiskReplicaPair(request *StartDiskReplicaPairRequest) (_result *StartDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * Only replication pairs that are in the **Created** (`created`) or **Stopped** (`stopped`) state can be activated.
  • * After a replication pair is activated, it enters the **Initial Syncing** (`initial_syncing`) state and the system performs the first asynchronous replication to replicate all data from the primary disk to the secondary disk. *
  • @param request StartDiskReplicaPairRequest
  • @return StartDiskReplicaPairResponse

func (*Client) StartDiskReplicaPairWithOptions

func (client *Client) StartDiskReplicaPairWithOptions(request *StartDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *StartDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * Only replication pairs that are in the **Created** (`created`) or **Stopped** (`stopped`) state can be activated.
  • * After a replication pair is activated, it enters the **Initial Syncing** (`initial_syncing`) state and the system performs the first asynchronous replication to replicate all data from the primary disk to the secondary disk. *
  • @param request StartDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartDiskReplicaPairResponse

func (*Client) StartPairDrill added in v1.4.0

func (client *Client) StartPairDrill(request *StartPairDrillRequest) (_result *StartPairDrillResponse, _err error)

*

  • After the disaster recovery drill is complete on the secondary disk, a pay-as-you-go drill disk that has the same capacity and category as the secondary disk is created in the zone where the secondary disk resides. The drill disk contains last-recovery-point data that can be used to test the completeness and correctness of applications. *
  • @param request StartPairDrillRequest
  • @return StartPairDrillResponse

func (*Client) StartPairDrillWithOptions added in v1.4.0

func (client *Client) StartPairDrillWithOptions(request *StartPairDrillRequest, runtime *util.RuntimeOptions) (_result *StartPairDrillResponse, _err error)

*

  • After the disaster recovery drill is complete on the secondary disk, a pay-as-you-go drill disk that has the same capacity and category as the secondary disk is created in the zone where the secondary disk resides. The drill disk contains last-recovery-point data that can be used to test the completeness and correctness of applications. *
  • @param request StartPairDrillRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartPairDrillResponse

func (*Client) StartReplicaGroupDrill added in v1.4.0

func (client *Client) StartReplicaGroupDrill(request *StartReplicaGroupDrillRequest) (_result *StartReplicaGroupDrillResponse, _err error)

*

  • After the disaster recovery drill is complete on secondary disks, a pay-as-you-go drill disk is created in the zone where the secondary disk of each replication pair resides. The latest-recovery-point data is restored to the drill disks to test the completeness and correctness of applications. *
  • @param request StartReplicaGroupDrillRequest
  • @return StartReplicaGroupDrillResponse

func (*Client) StartReplicaGroupDrillWithOptions added in v1.4.0

func (client *Client) StartReplicaGroupDrillWithOptions(request *StartReplicaGroupDrillRequest, runtime *util.RuntimeOptions) (_result *StartReplicaGroupDrillResponse, _err error)

*

  • After the disaster recovery drill is complete on secondary disks, a pay-as-you-go drill disk is created in the zone where the secondary disk of each replication pair resides. The latest-recovery-point data is restored to the drill disks to test the completeness and correctness of applications. *
  • @param request StartReplicaGroupDrillRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StartReplicaGroupDrillResponse

func (*Client) StopDiskMonitor added in v1.3.13

func (client *Client) StopDiskMonitor(request *StopDiskMonitorRequest) (_result *StopDiskMonitorResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param request StopDiskMonitorRequest
  • @return StopDiskMonitorResponse

func (*Client) StopDiskMonitorWithOptions added in v1.3.13

func (client *Client) StopDiskMonitorWithOptions(tmpReq *StopDiskMonitorRequest, runtime *util.RuntimeOptions) (_result *StopDiskMonitorResponse, _err error)

*

  • ## Usage notes
  • CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex). *
  • @param tmpReq StopDiskMonitorRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StopDiskMonitorResponse

func (*Client) StopDiskReplicaGroup

func (client *Client) StopDiskReplicaGroup(request *StopDiskReplicaGroupRequest) (_result *StopDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group that you want to stop must be in the **One-time Syncing** (`manual_syncing`), **Syncing** (`syncing`), **Normal** (`normal`), **Stopping** (`stopping`), **Stop Failed** (`stop_failed`), or **Stopped** (`stopped`) state.
  • * When a replication pair-consistent group is stopped, it enters the **Stopped** (`stopped`) state. If a replication pair-consistent group cannot be stopped, the state of the group remains unchanged or changes to **Stop Failed** (`stop_failed`). In this case, try again later. *
  • @param request StopDiskReplicaGroupRequest
  • @return StopDiskReplicaGroupResponse

func (*Client) StopDiskReplicaGroupWithOptions

func (client *Client) StopDiskReplicaGroupWithOptions(request *StopDiskReplicaGroupRequest, runtime *util.RuntimeOptions) (_result *StopDiskReplicaGroupResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which the replication pair-consistent group feature is available, see [Overview](~~314563~~).
  • * The replication pair-consistent group that you want to stop must be in the **One-time Syncing** (`manual_syncing`), **Syncing** (`syncing`), **Normal** (`normal`), **Stopping** (`stopping`), **Stop Failed** (`stop_failed`), or **Stopped** (`stopped`) state.
  • * When a replication pair-consistent group is stopped, it enters the **Stopped** (`stopped`) state. If a replication pair-consistent group cannot be stopped, the state of the group remains unchanged or changes to **Stop Failed** (`stop_failed`). In this case, try again later. *
  • @param request StopDiskReplicaGroupRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StopDiskReplicaGroupResponse

func (*Client) StopDiskReplicaPair

func (client *Client) StopDiskReplicaPair(request *StopDiskReplicaPairRequest) (_result *StopDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * Only replication pairs that are in the **Initial Syncing** (`initial_syncing`), **Syncing** (`syncing`), **One-time Syncing** (`manual_syncing`), or **Normal** (`normal`) state can be stopped. When a replication pair is stopped, it enters the Stopped (`stopped`) state. The secondary disk rolls back to the point in time when the last async replication was complete and drops all the data that is being replicated from the primary disk. *
  • @param request StopDiskReplicaPairRequest
  • @return StopDiskReplicaPairResponse

func (*Client) StopDiskReplicaPairWithOptions

func (client *Client) StopDiskReplicaPairWithOptions(request *StopDiskReplicaPairRequest, runtime *util.RuntimeOptions) (_result *StopDiskReplicaPairResponse, _err error)

*

  • ## [](#)Usage notes
  • * For information about the regions in which async replication is available, see [Overview](~~314563~~).
  • * Only replication pairs that are in the **Initial Syncing** (`initial_syncing`), **Syncing** (`syncing`), **One-time Syncing** (`manual_syncing`), or **Normal** (`normal`) state can be stopped. When a replication pair is stopped, it enters the Stopped (`stopped`) state. The secondary disk rolls back to the point in time when the last async replication was complete and drops all the data that is being replicated from the primary disk. *
  • @param request StopDiskReplicaPairRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return StopDiskReplicaPairResponse

func (*Client) TagResources added in v1.3.11

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

*

  • Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in [Limits](~~25412~~). *
  • @param request TagResourcesRequest
  • @return TagResourcesResponse

func (*Client) TagResourcesWithOptions added in v1.3.11

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

*

  • Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in [Limits](~~25412~~). *
  • @param request TagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TagResourcesResponse

func (*Client) UnbindEnterpriseSnapshotPolicy added in v1.5.0

func (client *Client) UnbindEnterpriseSnapshotPolicy(request *UnbindEnterpriseSnapshotPolicyRequest) (_result *UnbindEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) UnbindEnterpriseSnapshotPolicyWithOptions added in v1.5.0

func (client *Client) UnbindEnterpriseSnapshotPolicyWithOptions(request *UnbindEnterpriseSnapshotPolicyRequest, runtime *util.RuntimeOptions) (_result *UnbindEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) UntagResources added in v1.3.11

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)

*

  • * You can remove up to 20 tags at a time.
  • * After a tag is removed from an EBS resource, the tag is automatically deleted if the tag is not added to any instance. *
  • @param request UntagResourcesRequest
  • @return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions added in v1.3.11

func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

*

  • * You can remove up to 20 tags at a time.
  • * After a tag is removed from an EBS resource, the tag is automatically deleted if the tag is not added to any instance. *
  • @param request UntagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UntagResourcesResponse

func (*Client) UpdateEnterpriseSnapshotPolicy added in v1.5.0

func (client *Client) UpdateEnterpriseSnapshotPolicy(request *UpdateEnterpriseSnapshotPolicyRequest) (_result *UpdateEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) UpdateEnterpriseSnapshotPolicyWithOptions added in v1.5.0

func (client *Client) UpdateEnterpriseSnapshotPolicyWithOptions(tmpReq *UpdateEnterpriseSnapshotPolicyRequest, runtime *util.RuntimeOptions) (_result *UpdateEnterpriseSnapshotPolicyResponse, _err error)

func (*Client) UpdateSolutionInstanceAttribute added in v1.5.0

func (client *Client) UpdateSolutionInstanceAttribute(request *UpdateSolutionInstanceAttributeRequest) (_result *UpdateSolutionInstanceAttributeResponse, _err error)

func (*Client) UpdateSolutionInstanceAttributeWithOptions added in v1.5.0

func (client *Client) UpdateSolutionInstanceAttributeWithOptions(request *UpdateSolutionInstanceAttributeRequest, runtime *util.RuntimeOptions) (_result *UpdateSolutionInstanceAttributeResponse, _err error)

type CreateDedicatedBlockStorageClusterRequest added in v1.3.11

type CreateDedicatedBlockStorageClusterRequest struct {
	// The ID of the zone in which to create the dedicated block storage cluster. You can call the [DescribeZones](~~25610~~) operation to query the most recent zone list.
	Azone *string `json:"Azone,omitempty" xml:"Azone,omitempty"`
	// The capacity of the dedicated block storage cluster. Valid values: 61440 to 2334720. Unit: GiB. 2,334,720 GiB is equal to 2,280 TiB. The capacity increases in a minimum increment of 12,288 GB.
	//
	// >  If the capacity of a dedicated block storage cluster is less than 576 TiB, the maximum throughput supported per TiB does not exceed 52 MB/s. If the capacity of a dedicated block storage cluster is greater than 576 TiB, the maximum throughput supported per TiB does not exceed 26 MB/s.
	Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"`
	// Deprecated
	// This parameter is no longer used.
	DbscId *string `json:"DbscId,omitempty" xml:"DbscId,omitempty"`
	// The name of the dedicated block storage cluster.
	DbscName *string `json:"DbscName,omitempty" xml:"DbscName,omitempty"`
	// The specific number of PeriodUnit.
	Period *int32 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The unit of the subscription duration for the dedicated block storage cluster,
	// Valid values:
	//
	// *   **Month**
	PeriodUnit *string `json:"PeriodUnit,omitempty" xml:"PeriodUnit,omitempty"`
	// The ID of the region in which to create the dedicated block storage cluster. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which to assign the dedicated block storage cluster.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The resource tags. You can specify up to 20 tags.
	Tag []*CreateDedicatedBlockStorageClusterRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The type of the dedicated block storage cluster. Valid values:
	//
	// *   Standard: basic type. When you set Type to Standard, enhanced SSDs (ESSDs) at performance level 0 (PL0 ESSDs) can be created in the dedicated block storage cluster.
	// *   Premium: performance type. When you set Type to Premium, ESSDs at performance level 1 (PL1 ESSDs) can be created in the dedicated block storage cluster.
	//
	// Default value: Premium.
	//
	// For more information about ESSDs, see [ESSDs](~~122389~~).
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (CreateDedicatedBlockStorageClusterRequest) GoString added in v1.3.11

func (*CreateDedicatedBlockStorageClusterRequest) SetAzone added in v1.3.11

func (*CreateDedicatedBlockStorageClusterRequest) SetCapacity added in v1.3.11

func (*CreateDedicatedBlockStorageClusterRequest) SetDbscId added in v1.3.11

func (*CreateDedicatedBlockStorageClusterRequest) SetDbscName added in v1.3.11

func (*CreateDedicatedBlockStorageClusterRequest) SetPeriod added in v1.3.16

func (*CreateDedicatedBlockStorageClusterRequest) SetPeriodUnit added in v1.3.16

func (*CreateDedicatedBlockStorageClusterRequest) SetRegionId added in v1.3.11

func (*CreateDedicatedBlockStorageClusterRequest) SetResourceGroupId added in v1.3.13

func (*CreateDedicatedBlockStorageClusterRequest) SetTag added in v1.3.16

func (*CreateDedicatedBlockStorageClusterRequest) SetType added in v1.3.11

func (CreateDedicatedBlockStorageClusterRequest) String added in v1.3.11

type CreateDedicatedBlockStorageClusterRequestTag added in v1.3.16

type CreateDedicatedBlockStorageClusterRequestTag struct {
	// The key of tag N used for exact search of EBS resources. The tag key must be 1 to 128 characters in length. Valid values of N: 1 to 20.
	//
	// The `Tag.N` parameter pair (Tag.N.Key and Tag.N.Value) is used for exact search of EBS resources that have specified tags added. Each tag is a key-value pair.
	//
	// *   If you specify only `Tag.N.Key`, all EBS resources whose tags contain the specified tag key are returned.
	// *   If you specify only `Tag.N.Value`, the `InvalidParameter.TagValue` error is returned.
	// *   If you specify multiple tag key-value pairs at the same time, only EBS resources that match all tag key-value pairs are returned.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N to add to the resource. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with `acs:` or contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateDedicatedBlockStorageClusterRequestTag) GoString added in v1.3.16

func (*CreateDedicatedBlockStorageClusterRequestTag) SetKey added in v1.3.16

func (*CreateDedicatedBlockStorageClusterRequestTag) SetValue added in v1.3.16

func (CreateDedicatedBlockStorageClusterRequestTag) String added in v1.3.16

type CreateDedicatedBlockStorageClusterResponse added in v1.3.11

type CreateDedicatedBlockStorageClusterResponse struct {
	Headers    map[string]*string                              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDedicatedBlockStorageClusterResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDedicatedBlockStorageClusterResponse) GoString added in v1.3.11

func (*CreateDedicatedBlockStorageClusterResponse) SetBody added in v1.3.11

func (*CreateDedicatedBlockStorageClusterResponse) SetHeaders added in v1.3.11

func (*CreateDedicatedBlockStorageClusterResponse) SetStatusCode added in v1.3.11

func (CreateDedicatedBlockStorageClusterResponse) String added in v1.3.11

type CreateDedicatedBlockStorageClusterResponseBody added in v1.3.11

type CreateDedicatedBlockStorageClusterResponseBody struct {
	// The ID of the dedicated block storage cluster.
	DbscId *string `json:"DbscId,omitempty" xml:"DbscId,omitempty"`
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDedicatedBlockStorageClusterResponseBody) GoString added in v1.3.11

func (*CreateDedicatedBlockStorageClusterResponseBody) SetDbscId added in v1.3.11

func (*CreateDedicatedBlockStorageClusterResponseBody) SetOrderId added in v1.3.11

func (*CreateDedicatedBlockStorageClusterResponseBody) SetRequestId added in v1.3.11

func (CreateDedicatedBlockStorageClusterResponseBody) String added in v1.3.11

type CreateDiskReplicaGroupRequest

type CreateDiskReplicaGroupRequest struct {
	// The bandwidth value. Unit: Mbit/s.
	//
	// >  This parameter is not publicly available.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The client token that is used to ensure the idempotency of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The description of the replication pair-consistent group. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The region ID of the secondary site.
	DestinationRegionId *string `json:"DestinationRegionId,omitempty" xml:"DestinationRegionId,omitempty"`
	// The zone ID of the secondary site.
	DestinationZoneId *string `json:"DestinationZoneId,omitempty" xml:"DestinationZoneId,omitempty"`
	// The name of the replication pair-consistent group. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (\_), and hyphens (-).
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The RPO of the replication pair-consistent group. Unit: seconds. Valid value: 900.
	RPO *int64 `json:"RPO,omitempty" xml:"RPO,omitempty"`
	// The ID of the region in which to create the replication pair-consistent group. The primary site is deployed in the specified region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the replication pair-consistent group belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The zone ID of the primary site.
	SourceZoneId *string `json:"SourceZoneId,omitempty" xml:"SourceZoneId,omitempty"`
	// The tags. Up to 20 tags are supported.
	Tag []*CreateDiskReplicaGroupRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateDiskReplicaGroupRequest) GoString

func (*CreateDiskReplicaGroupRequest) SetBandwidth added in v1.3.11

func (*CreateDiskReplicaGroupRequest) SetClientToken

func (*CreateDiskReplicaGroupRequest) SetDescription

func (*CreateDiskReplicaGroupRequest) SetDestinationRegionId

func (*CreateDiskReplicaGroupRequest) SetDestinationZoneId

func (*CreateDiskReplicaGroupRequest) SetGroupName

func (*CreateDiskReplicaGroupRequest) SetRPO

func (*CreateDiskReplicaGroupRequest) SetRegionId

func (*CreateDiskReplicaGroupRequest) SetResourceGroupId added in v1.3.16

func (*CreateDiskReplicaGroupRequest) SetSourceZoneId

func (*CreateDiskReplicaGroupRequest) SetTag added in v1.3.16

func (CreateDiskReplicaGroupRequest) String

type CreateDiskReplicaGroupRequestTag added in v1.3.16

type CreateDiskReplicaGroupRequestTag struct {
	// The key of tag N of the replication pair-consistent group.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N of the replication pair-consistent group.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateDiskReplicaGroupRequestTag) GoString added in v1.3.16

func (*CreateDiskReplicaGroupRequestTag) SetKey added in v1.3.16

func (*CreateDiskReplicaGroupRequestTag) SetValue added in v1.3.16

func (CreateDiskReplicaGroupRequestTag) String added in v1.3.16

type CreateDiskReplicaGroupResponse

type CreateDiskReplicaGroupResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDiskReplicaGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDiskReplicaGroupResponse) GoString

func (*CreateDiskReplicaGroupResponse) SetHeaders

func (*CreateDiskReplicaGroupResponse) SetStatusCode added in v1.2.1

func (CreateDiskReplicaGroupResponse) String

type CreateDiskReplicaGroupResponseBody

type CreateDiskReplicaGroupResponseBody struct {
	// The ID of the replication pair-consistent group.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDiskReplicaGroupResponseBody) GoString

func (*CreateDiskReplicaGroupResponseBody) SetReplicaGroupId

func (*CreateDiskReplicaGroupResponseBody) SetRequestId

func (CreateDiskReplicaGroupResponseBody) String

type CreateDiskReplicaPairRequest

type CreateDiskReplicaPairRequest struct {
	// The bandwidth to use to asynchronously replicate data between the primary disk and secondary disk. Unit: Kbit/s. Valid values:
	//
	// *   10240 : equal to 10 Mbit/s
	// *   20480 : equal to 20 Mbit/s
	// *   51200 : equal to 50 Mbit/s
	// *   102400 : equal to 100 Mbit/s
	//
	// Default value: 10240.
	//
	// When you set the ChargeType parameter to POSTPAY, the Bandwidth parameter is automatically set to 0 and cannot be modified. The value 0 indicates that bandwidth is dynamically allocated based on the volume of data that is asynchronously replicated from the primary disk to the secondary disk.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The billing method of the replication pair. Valid values:
	//
	// *   PREPAY: subscription
	// *   POSTPAY: pay-as-you-go
	//
	// Default value: POSTPAY.
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The description of the replication pair. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the secondary disk.
	DestinationDiskId *string `json:"DestinationDiskId,omitempty" xml:"DestinationDiskId,omitempty"`
	// The region ID of the secondary disk. You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which async replication is supported.
	DestinationRegionId *string `json:"DestinationRegionId,omitempty" xml:"DestinationRegionId,omitempty"`
	// The zone ID of the secondary disk.
	DestinationZoneId *string `json:"DestinationZoneId,omitempty" xml:"DestinationZoneId,omitempty"`
	// The ID of the primary disk.
	DiskId *string `json:"DiskId,omitempty" xml:"DiskId,omitempty"`
	// The name of the replication pair. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (\_), periods (.), and hyphens (-).
	PairName *string `json:"PairName,omitempty" xml:"PairName,omitempty"`
	// The subscription duration of the replication pair. This parameter is required when the `ChargeType` parameter is set to PREPAY. The unit of the subscription duration is specified by the `PeriodUnit` parameter.
	//
	// *   Valid values when the `PeriodUnit` parameter is set to Week: 1, 2, 3, and 4.
	// *   Valid values when the `PeriodUnit` parameter is set to Month: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
	Period *int64 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The unit of the subscription duration of the replication pair. Valid values:
	//
	// *   Week.
	// *   Month
	//
	// Default value: Month.
	PeriodUnit *string `json:"PeriodUnit,omitempty" xml:"PeriodUnit,omitempty"`
	// The recovery point objective (RPO) of the replication pair. Unit: seconds. Set the value to 900.
	RPO *int64 `json:"RPO,omitempty" xml:"RPO,omitempty"`
	// The ID of the region in which to create the replication pair.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which to assign the replication group.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The zone ID of the primary disk.
	SourceZoneId *string `json:"SourceZoneId,omitempty" xml:"SourceZoneId,omitempty"`
	// The resource tags. You can specify up to 20 tags.
	Tag []*CreateDiskReplicaPairRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (CreateDiskReplicaPairRequest) GoString

func (s CreateDiskReplicaPairRequest) GoString() string

func (*CreateDiskReplicaPairRequest) SetBandwidth

func (*CreateDiskReplicaPairRequest) SetChargeType

func (*CreateDiskReplicaPairRequest) SetClientToken

func (*CreateDiskReplicaPairRequest) SetDescription

func (*CreateDiskReplicaPairRequest) SetDestinationDiskId

func (*CreateDiskReplicaPairRequest) SetDestinationRegionId

func (*CreateDiskReplicaPairRequest) SetDestinationZoneId

func (*CreateDiskReplicaPairRequest) SetDiskId

func (*CreateDiskReplicaPairRequest) SetPairName

func (*CreateDiskReplicaPairRequest) SetPeriod

func (*CreateDiskReplicaPairRequest) SetPeriodUnit

func (*CreateDiskReplicaPairRequest) SetRPO

func (*CreateDiskReplicaPairRequest) SetRegionId

func (*CreateDiskReplicaPairRequest) SetResourceGroupId added in v1.3.16

func (*CreateDiskReplicaPairRequest) SetSourceZoneId

func (*CreateDiskReplicaPairRequest) SetTag added in v1.3.16

func (CreateDiskReplicaPairRequest) String

type CreateDiskReplicaPairRequestTag added in v1.3.16

type CreateDiskReplicaPairRequestTag struct {
	// The key of tag N to add to the resource. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N to add to the resource. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with `acs:` or contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateDiskReplicaPairRequestTag) GoString added in v1.3.16

func (*CreateDiskReplicaPairRequestTag) SetKey added in v1.3.16

func (*CreateDiskReplicaPairRequestTag) SetValue added in v1.3.16

func (CreateDiskReplicaPairRequestTag) String added in v1.3.16

type CreateDiskReplicaPairResponse

type CreateDiskReplicaPairResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDiskReplicaPairResponse) GoString

func (*CreateDiskReplicaPairResponse) SetBody

func (*CreateDiskReplicaPairResponse) SetHeaders

func (*CreateDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (CreateDiskReplicaPairResponse) String

type CreateDiskReplicaPairResponseBody

type CreateDiskReplicaPairResponseBody struct {
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateDiskReplicaPairResponseBody) GoString

func (*CreateDiskReplicaPairResponseBody) SetOrderId

func (*CreateDiskReplicaPairResponseBody) SetReplicaPairId

func (*CreateDiskReplicaPairResponseBody) SetRequestId

func (CreateDiskReplicaPairResponseBody) String

type CreateEnterpriseSnapshotPolicyRequest added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequest struct {
	// The client token that is used to ensure the idempotency of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Snapshot replication destination information.
	CrossRegionCopyInfo *CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo `json:"CrossRegionCopyInfo,omitempty" xml:"CrossRegionCopyInfo,omitempty" type:"Struct"`
	// The description of the policy.
	Desc *string `json:"Desc,omitempty" xml:"Desc,omitempty"`
	// The name of the policy.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The region ID . You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which snapshot policy is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which to assign the snapshot policy.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The snapshot retention rule.
	RetainRule *CreateEnterpriseSnapshotPolicyRequestRetainRule `json:"RetainRule,omitempty" xml:"RetainRule,omitempty" type:"Struct"`
	// The rule for scheduling.
	Schedule *CreateEnterpriseSnapshotPolicyRequestSchedule `json:"Schedule,omitempty" xml:"Schedule,omitempty" type:"Struct"`
	// The special snapshot retention rules.
	SpecialRetainRules *CreateEnterpriseSnapshotPolicyRequestSpecialRetainRules `json:"SpecialRetainRules,omitempty" xml:"SpecialRetainRules,omitempty" type:"Struct"`
	// The status of the policy. Valid values:
	//
	// - ENABLED: Enable snapshot policy execution.
	//
	// - DISABLED: Disable snapshot policy execution.
	State *string `json:"State,omitempty" xml:"State,omitempty"`
	// Advanced snapshot features.
	StorageRule *CreateEnterpriseSnapshotPolicyRequestStorageRule `json:"StorageRule,omitempty" xml:"StorageRule,omitempty" type:"Struct"`
	// The list of tags.
	Tag []*CreateEnterpriseSnapshotPolicyRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// Binding target type, valid value:
	//
	// - DISK
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyRequest) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetClientToken added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetCrossRegionCopyInfo added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetDesc added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetName added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetRegionId added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetResourceGroupId added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetRetainRule added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetSchedule added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetSpecialRetainRules added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetState added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetStorageRule added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetTag added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequest) SetTargetType added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequest) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo struct {
	// Whether cross-region replication is enabled. The range of values:
	//
	// - true
	//
	// - false
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The list of destination regions.
	Regions []*CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Repeated"`
}

func (CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo) SetEnabled added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions struct {
	// The region ID of the destination. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Number of days to retain the destination snapshot. The range of values is greater than 1.
	RetainDays *int32 `json:"RetainDays,omitempty" xml:"RetainDays,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions) SetRegionId added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions) SetRetainDays added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestRetainRule added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestRetainRule struct {
	// Maximum number of retained snapshots.
	Number *int32 `json:"Number,omitempty" xml:"Number,omitempty"`
	// The time interval , valid value greater than 1.
	TimeInterval *int32 `json:"TimeInterval,omitempty" xml:"TimeInterval,omitempty"`
	// The unit of time, valid values:
	//
	// - DAYS
	//
	// - WEEKS
	TimeUnit *string `json:"TimeUnit,omitempty" xml:"TimeUnit,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyRequestRetainRule) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestRetainRule) SetNumber added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestRetainRule) SetTimeInterval added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestRetainRule) SetTimeUnit added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequestRetainRule) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestSchedule added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestSchedule struct {
	// The time when the policy will to be scheduled. Valid values: Set the parameter in a cron expression.
	//
	// For example, you can use 0 0 4 1/1 * ? to specify 04:00:00 (UTC+8) on the first day of each month.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyRequestSchedule) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestSchedule) SetCronExpression added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequestSchedule) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestSpecialRetainRules added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestSpecialRetainRules struct {
	// Indicates whether the special retention is enabled.
	//
	// *   true: enable
	// *   false: disable
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The special retention rules.
	Rules []*CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Repeated"`
}

func (CreateEnterpriseSnapshotPolicyRequestSpecialRetainRules) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestSpecialRetainRules) SetEnabled added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequestSpecialRetainRules) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules struct {
	// The periodic unit for specially retained snapshots. If configured to WEEKS, it provides special retention for the first snapshot of each week. The retention period is determined by TimeUnit and TimeInterval. The range of values are:
	// - WEEKS
	// - MONTHS
	// - YEARS
	SpecialPeriodUnit *string `json:"SpecialPeriodUnit,omitempty" xml:"SpecialPeriodUnit,omitempty"`
	// Retention Time Value. The range of values is greater than 1.
	TimeInterval *int32 `json:"TimeInterval,omitempty" xml:"TimeInterval,omitempty"`
	// Retention time unit for special snapshots. The range of values:
	//
	// - DAYS
	//
	// - WEEKS
	TimeUnit *string `json:"TimeUnit,omitempty" xml:"TimeUnit,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) SetSpecialPeriodUnit added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) SetTimeInterval added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) SetTimeUnit added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestStorageRule added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestStorageRule struct {
	// Whether to enable the rapid availability of snapshots. The range of values:
	//
	// - true
	//
	// - false
	EnableImmediateAccess *bool `json:"EnableImmediateAccess,omitempty" xml:"EnableImmediateAccess,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyRequestStorageRule) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestStorageRule) SetEnableImmediateAccess added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequestStorageRule) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestTag added in v1.5.0

type CreateEnterpriseSnapshotPolicyRequestTag struct {
	// The key of the tag.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	//
	// The tag value can be 0 to 128 characters in length, and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
	//
	// Each tag key must have a unique tag value. You can specify at most 20 tag values in each call.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyRequestTag) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestTag) SetKey added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyRequestTag) SetValue added in v1.5.0

func (CreateEnterpriseSnapshotPolicyRequestTag) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyResponse added in v1.5.0

type CreateEnterpriseSnapshotPolicyResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateEnterpriseSnapshotPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateEnterpriseSnapshotPolicyResponse) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyResponse) SetBody added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyResponse) SetHeaders added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyResponse) SetStatusCode added in v1.5.0

func (CreateEnterpriseSnapshotPolicyResponse) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyResponseBody added in v1.5.0

type CreateEnterpriseSnapshotPolicyResponseBody struct {
	// The id of a policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyResponseBody) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyResponseBody) SetPolicyId added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyResponseBody) SetRequestId added in v1.5.0

func (CreateEnterpriseSnapshotPolicyResponseBody) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyShrinkRequest added in v1.5.0

type CreateEnterpriseSnapshotPolicyShrinkRequest struct {
	// The client token that is used to ensure the idempotency of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Snapshot replication destination information.
	CrossRegionCopyInfoShrink *string `json:"CrossRegionCopyInfo,omitempty" xml:"CrossRegionCopyInfo,omitempty"`
	// The description of the policy.
	Desc *string `json:"Desc,omitempty" xml:"Desc,omitempty"`
	// The name of the policy.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The region ID . You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which snapshot policy is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which to assign the snapshot policy.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The snapshot retention rule.
	RetainRuleShrink *string `json:"RetainRule,omitempty" xml:"RetainRule,omitempty"`
	// The rule for scheduling.
	ScheduleShrink *string `json:"Schedule,omitempty" xml:"Schedule,omitempty"`
	// The special snapshot retention rules.
	SpecialRetainRulesShrink *string `json:"SpecialRetainRules,omitempty" xml:"SpecialRetainRules,omitempty"`
	// The status of the policy. Valid values:
	//
	// - ENABLED: Enable snapshot policy execution.
	//
	// - DISABLED: Disable snapshot policy execution.
	State *string `json:"State,omitempty" xml:"State,omitempty"`
	// Advanced snapshot features.
	StorageRuleShrink *string `json:"StorageRule,omitempty" xml:"StorageRule,omitempty"`
	// The list of tags.
	Tag []*CreateEnterpriseSnapshotPolicyShrinkRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// Binding target type, valid value:
	//
	// - DISK
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyShrinkRequest) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetClientToken added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetCrossRegionCopyInfoShrink added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetDesc added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetName added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetRegionId added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetResourceGroupId added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetRetainRuleShrink added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetScheduleShrink added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetSpecialRetainRulesShrink added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetState added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetStorageRuleShrink added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetTag added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequest) SetTargetType added in v1.5.0

func (CreateEnterpriseSnapshotPolicyShrinkRequest) String added in v1.5.0

type CreateEnterpriseSnapshotPolicyShrinkRequestTag added in v1.5.0

type CreateEnterpriseSnapshotPolicyShrinkRequestTag struct {
	// The key of the tag.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	//
	// The tag value can be 0 to 128 characters in length, and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
	//
	// Each tag key must have a unique tag value. You can specify at most 20 tag values in each call.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateEnterpriseSnapshotPolicyShrinkRequestTag) GoString added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequestTag) SetKey added in v1.5.0

func (*CreateEnterpriseSnapshotPolicyShrinkRequestTag) SetValue added in v1.5.0

func (CreateEnterpriseSnapshotPolicyShrinkRequestTag) String added in v1.5.0

type DeleteDiskReplicaGroupRequest

type DeleteDiskReplicaGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the replication pair-consistent group.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the IDs of replication pair-consistent groups.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
}

func (DeleteDiskReplicaGroupRequest) GoString

func (*DeleteDiskReplicaGroupRequest) SetClientToken

func (*DeleteDiskReplicaGroupRequest) SetRegionId

func (*DeleteDiskReplicaGroupRequest) SetReplicaGroupId

func (DeleteDiskReplicaGroupRequest) String

type DeleteDiskReplicaGroupResponse

type DeleteDiskReplicaGroupResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteDiskReplicaGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteDiskReplicaGroupResponse) GoString

func (*DeleteDiskReplicaGroupResponse) SetHeaders

func (*DeleteDiskReplicaGroupResponse) SetStatusCode added in v1.2.1

func (DeleteDiskReplicaGroupResponse) String

type DeleteDiskReplicaGroupResponseBody

type DeleteDiskReplicaGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDiskReplicaGroupResponseBody) GoString

func (*DeleteDiskReplicaGroupResponseBody) SetRequestId

func (DeleteDiskReplicaGroupResponseBody) String

type DeleteDiskReplicaPairRequest

type DeleteDiskReplicaPairRequest struct {
	// The client token that is used to ensure the idempotency of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the primary disk in the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query the region information of replication pairs.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
}

func (DeleteDiskReplicaPairRequest) GoString

func (s DeleteDiskReplicaPairRequest) GoString() string

func (*DeleteDiskReplicaPairRequest) SetClientToken

func (*DeleteDiskReplicaPairRequest) SetRegionId

func (*DeleteDiskReplicaPairRequest) SetReplicaPairId

func (DeleteDiskReplicaPairRequest) String

type DeleteDiskReplicaPairResponse

type DeleteDiskReplicaPairResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteDiskReplicaPairResponse) GoString

func (*DeleteDiskReplicaPairResponse) SetBody

func (*DeleteDiskReplicaPairResponse) SetHeaders

func (*DeleteDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (DeleteDiskReplicaPairResponse) String

type DeleteDiskReplicaPairResponseBody

type DeleteDiskReplicaPairResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteDiskReplicaPairResponseBody) GoString

func (*DeleteDiskReplicaPairResponseBody) SetRequestId

func (DeleteDiskReplicaPairResponseBody) String

type DeleteEnterpriseSnapshotPolicyRequest added in v1.5.0

type DeleteEnterpriseSnapshotPolicyRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The id of the policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID . You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which snapshot policy is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DeleteEnterpriseSnapshotPolicyRequest) GoString added in v1.5.0

func (*DeleteEnterpriseSnapshotPolicyRequest) SetClientToken added in v1.5.0

func (*DeleteEnterpriseSnapshotPolicyRequest) SetPolicyId added in v1.5.0

func (*DeleteEnterpriseSnapshotPolicyRequest) SetRegionId added in v1.5.0

func (DeleteEnterpriseSnapshotPolicyRequest) String added in v1.5.0

type DeleteEnterpriseSnapshotPolicyResponse added in v1.5.0

type DeleteEnterpriseSnapshotPolicyResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteEnterpriseSnapshotPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteEnterpriseSnapshotPolicyResponse) GoString added in v1.5.0

func (*DeleteEnterpriseSnapshotPolicyResponse) SetBody added in v1.5.0

func (*DeleteEnterpriseSnapshotPolicyResponse) SetHeaders added in v1.5.0

func (*DeleteEnterpriseSnapshotPolicyResponse) SetStatusCode added in v1.5.0

func (DeleteEnterpriseSnapshotPolicyResponse) String added in v1.5.0

type DeleteEnterpriseSnapshotPolicyResponseBody added in v1.5.0

type DeleteEnterpriseSnapshotPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteEnterpriseSnapshotPolicyResponseBody) GoString added in v1.5.0

func (*DeleteEnterpriseSnapshotPolicyResponseBody) SetRequestId added in v1.5.0

func (DeleteEnterpriseSnapshotPolicyResponseBody) String added in v1.5.0

type DescribeDedicatedBlockStorageClusterDisksRequest added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksRequest struct {
	// The ID of the dedicated block storage cluster.
	DbscId *string `json:"DbscId,omitempty" xml:"DbscId,omitempty"`
	// The maximum number of entries to return on each page. Maximum value: 500.
	//
	// Default value: 10.
	MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The query token. Set the value to the NextToken value returned in the previous call to the DescribeDedicatedBlockStorageClusterDisks operation. Leave this parameter empty the first time you call this operation.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the region where the dedicated block storage cluster resides. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeDedicatedBlockStorageClusterDisksRequest) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksRequest) SetDbscId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksRequest) SetMaxResults added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksRequest) SetNextToken added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksRequest) SetRegionId added in v1.3.11

func (DescribeDedicatedBlockStorageClusterDisksRequest) String added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponse added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponse struct {
	Headers    map[string]*string                                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDedicatedBlockStorageClusterDisksResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDedicatedBlockStorageClusterDisksResponse) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponse) SetHeaders added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponse) SetStatusCode added in v1.3.11

func (DescribeDedicatedBlockStorageClusterDisksResponse) String added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponseBody added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponseBody struct {
	// Details about the cloud disks.
	Disks *DescribeDedicatedBlockStorageClusterDisksResponseBodyDisks `json:"Disks,omitempty" xml:"Disks,omitempty" type:"Struct"`
	// The query token returned in this call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDedicatedBlockStorageClusterDisksResponseBody) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBody) SetNextToken added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBody) SetRequestId added in v1.3.11

func (DescribeDedicatedBlockStorageClusterDisksResponseBody) String added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponseBodyDisks added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponseBodyDisks struct {
	// Details about the cloud disks.
	Disk []*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk `json:"Disk,omitempty" xml:"Disk,omitempty" type:"Repeated"`
}

func (DescribeDedicatedBlockStorageClusterDisksResponseBodyDisks) GoString added in v1.3.11

func (DescribeDedicatedBlockStorageClusterDisksResponseBodyDisks) String added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk struct {
	// The time when the cloud disk was last attached. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mmZ format. The time is displayed in UTC.
	AttachedTime *string `json:"AttachedTime,omitempty" xml:"AttachedTime,omitempty"`
	// This parameter is currently in invitational preview and unavailable for general users.
	BdfId *string `json:"BdfId,omitempty" xml:"BdfId,omitempty"`
	// Whether the ESSD AutoPL disk is enabled burst IOPS / BPS. This parameter is available only if the DiskCategory parameter is set to cloud_auto. For more information, see [ESSD AutoPL disks](~~368372~~).
	BurstingEnabled *bool `json:"BurstingEnabled,omitempty" xml:"BurstingEnabled,omitempty"`
	// The category of the disk. A value of cloud_essd indicates that the disk is an ESSD.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// Indicates whether the automatic snapshots of the cloud disk are deleted when the disk is released. Valid values:
	//
	// *   true: The automatic snapshots of the cloud disk are deleted when the disk is released.
	// *   false: The automatic snapshots of the cloud disk are retained when the disk is released.
	//
	// Snapshots that are created by calling the [CreateSnapshot](~~25524~~) operation or by using the Elastic Compute Service (ECS) console are retained and not affected by this parameter.
	DeleteAutoSnapshot *bool `json:"DeleteAutoSnapshot,omitempty" xml:"DeleteAutoSnapshot,omitempty"`
	// Indicates whether the cloud disk is released when its associated instance is released. Valid values:
	//
	// *   true: The cloud disk is released when its associated instance is released.
	// *   false: The cloud disk is retained when its associated instance is released.
	DeleteWithInstance *bool `json:"DeleteWithInstance,omitempty" xml:"DeleteWithInstance,omitempty"`
	// The description of the cloud disk.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The time when the cloud disk was last detached.
	DetachedTime *string `json:"DetachedTime,omitempty" xml:"DetachedTime,omitempty"`
	// The device name of the cloud disk on its associated instance. Example: /dev/xvdb. Take note of the following items:
	//
	// *   This parameter has a value only when the `Status` value is `In_use`.
	// *   This parameter is empty for cloud disks that have the multi-attach feature enabled. You can query the attachment information of the cloud disk based on the `Attachment` values.
	//
	// >  This parameter will be removed in the future. We recommend that you use other parameters to ensure future compatibility.
	Device *string `json:"Device,omitempty" xml:"Device,omitempty"`
	// The billing method of the cloud disk. Valid values:
	//
	// *   PrePaid: subscription
	// *   PostPaid: pay-as-you-go
	DiskChargeType *string `json:"DiskChargeType,omitempty" xml:"DiskChargeType,omitempty"`
	// The ID of the cloud disk.
	DiskId *string `json:"DiskId,omitempty" xml:"DiskId,omitempty"`
	// The name of the cloud disk.
	DiskName *string `json:"DiskName,omitempty" xml:"DiskName,omitempty"`
	// Indicates whether the automatic snapshot policy feature is enabled for the cloud disk.
	EnableAutoSnapshot *bool `json:"EnableAutoSnapshot,omitempty" xml:"EnableAutoSnapshot,omitempty"`
	// Indicates whether the cloud disk is encrypted.
	Encrypted *bool `json:"Encrypted,omitempty" xml:"Encrypted,omitempty"`
	// The maximum number of IOPS.
	IOPS *int64 `json:"IOPS,omitempty" xml:"IOPS,omitempty"`
	// The ID of the image that was used to create the instance. This parameter is empty unless the cloud disk was created from an image. The value of this parameter remains unchanged throughout the lifecycle of the cloud disk.
	ImageId *string `json:"ImageId,omitempty" xml:"ImageId,omitempty"`
	// The ID of the instance to which the cloud disk is attached. Take note of the following items:
	//
	// *   This parameter has a value only when the `Status` value is `In_use`.
	// *   This parameter is empty for cloud disks that have the multi-attach feature enabled. You can query the attachment information of the cloud disk based on the `Attachment` values.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the Key Management Service (KMS) key used by the cloud disk.
	KMSKeyId *string `json:"KMSKeyId,omitempty" xml:"KMSKeyId,omitempty"`
	// The number of instances to which the Shared Block Storage device is attached.
	MountInstanceNum *int32 `json:"MountInstanceNum,omitempty" xml:"MountInstanceNum,omitempty"`
	// Indicates whether the multi-attach feature was enabled for the cloud disk.
	MultiAttach *string `json:"MultiAttach,omitempty" xml:"MultiAttach,omitempty"`
	// The performance level of the enhanced SSD (ESSD). Valid values:
	//
	// *   PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
	// *   PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
	// *   PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
	// *   PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
	PerformanceLevel *string `json:"PerformanceLevel,omitempty" xml:"PerformanceLevel,omitempty"`
	// Indicates whether the cloud disk is removable.
	Portable *bool `json:"Portable,omitempty" xml:"Portable,omitempty"`
	// The provisioned read/write IOPS of the ESSD AutoPL disk.
	// >  This parameter is available only if the DiskCategory parameter is set to cloud_auto. For more information, see [ESSD AutoPL disks](~~368372~~) and [Modify the performance configurations of an ESSD AutoPL disk](~~413275~~).
	ProvisionedIops *int64 `json:"ProvisionedIops,omitempty" xml:"ProvisionedIops,omitempty"`
	// The region ID of cloud disk.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The size of the disk. Unit: GiB.
	Size *int32 `json:"Size,omitempty" xml:"Size,omitempty"`
	// The ID of the snapshot that was used to create the cloud disk.
	//
	// This parameter is empty unless the cloud disk was created from a snapshot. The value of this parameter remains unchanged throughout the lifecycle of the cloud disk.
	SourceSnapshotId *string `json:"SourceSnapshotId,omitempty" xml:"SourceSnapshotId,omitempty"`
	// The state of the cloud disk. For more information, see [Disk states](~~25689~~). Valid values:
	//
	// *   In_use
	// *   Available
	// *   Attaching
	// *   Detaching
	// *   Creating
	// *   ReIniting
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the dedicated block storage cluster to which the cloud disk belongs. If your cloud disk belongs to the public block storage cluster, an empty value is returned.
	StorageClusterId *string `json:"StorageClusterId,omitempty" xml:"StorageClusterId,omitempty"`
	// The ID of the storage set.
	StorageSetId *string `json:"StorageSetId,omitempty" xml:"StorageSetId,omitempty"`
	// The maximum number of partitions in the storage set.
	StorageSetPartitionNumber *int32 `json:"StorageSetPartitionNumber,omitempty" xml:"StorageSetPartitionNumber,omitempty"`
	// The tags of the cloud disk.
	Tags []*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDiskTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The maximum number of BPS.
	Throughput *int64 `json:"Throughput,omitempty" xml:"Throughput,omitempty"`
	// The type of the disk. Valid values:
	//
	// *   system: system disk
	// *   data: data disk
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The zone ID of cloud disk.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetAttachedTime added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetBdfId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetBurstingEnabled added in v1.3.16

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetCategory added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetDeleteAutoSnapshot added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetDeleteWithInstance added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetDescription added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetDetachedTime added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetDevice added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetDiskChargeType added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetDiskId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetDiskName added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetEnableAutoSnapshot added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetEncrypted added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetIOPS added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetImageId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetInstanceId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetKMSKeyId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetMountInstanceNum added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetMultiAttach added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetPerformanceLevel added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetPortable added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetProvisionedIops added in v1.3.16

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetRegionId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetSize added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetSourceSnapshotId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetStatus added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetStorageClusterId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetStorageSetId added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetStorageSetPartitionNumber added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetThroughput added in v1.3.16

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetType added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) SetZoneId added in v1.3.11

func (DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDisk) String added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDiskTags added in v1.3.11

type DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDiskTags struct {
	// The tag key of the cloud disk.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value of the cloud disk.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDiskTags) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDiskTags) SetTagKey added in v1.3.11

func (*DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDiskTags) SetTagValue added in v1.3.11

func (DescribeDedicatedBlockStorageClusterDisksResponseBodyDisksDiskTags) String added in v1.3.11

type DescribeDedicatedBlockStorageClustersRequest added in v1.3.11

type DescribeDedicatedBlockStorageClustersRequest struct {
	// The zone ID of the dedicated block storage cluster. You can call the [DescribeZones](~~25610~~) operation to query the most recent zone list.
	AzoneId *string `json:"AzoneId,omitempty" xml:"AzoneId,omitempty"`
	// The category of disks that can be created in the dedicated block storage cluster.
	//
	// Set the value to cloud_essd. Only enhanced SSDs (ESSDs) can be created in dedicated block storage clusters.
	Category                       *string   `json:"Category,omitempty" xml:"Category,omitempty"`
	ClientToken                    *string   `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	DedicatedBlockStorageClusterId []*string `json:"DedicatedBlockStorageClusterId,omitempty" xml:"DedicatedBlockStorageClusterId,omitempty" type:"Repeated"`
	MaxResults                     *int32    `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	NextToken                      *string   `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 1 to 100.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the dedicated block storage cluster. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the dedicated block storage cluster belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The states of dedicated block storage clusters. Valid values:
	//
	// *   Preparing
	// *   Running
	// *   Expired
	// *   Offline
	//
	// Multiple states can be specified. Valid values of N: 1, 2, 3, and 4.
	Status []*string `json:"Status,omitempty" xml:"Status,omitempty" type:"Repeated"`
	// The tags. Up to 20 tags are supported.
	Tag []*DescribeDedicatedBlockStorageClustersRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (DescribeDedicatedBlockStorageClustersRequest) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetAzoneId added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetCategory added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetClientToken added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetDedicatedBlockStorageClusterId added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetMaxResults added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetNextToken added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetPageNumber added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersRequest) SetPageSize added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersRequest) SetRegionId added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetResourceGroupId added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersRequest) SetStatus added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersRequest) SetTag added in v1.3.13

func (DescribeDedicatedBlockStorageClustersRequest) String added in v1.3.11

type DescribeDedicatedBlockStorageClustersRequestTag added in v1.3.13

type DescribeDedicatedBlockStorageClustersRequestTag struct {
	// The tag key of the dedicated block storage cluster.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value of the dedicated block storage cluster.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDedicatedBlockStorageClustersRequestTag) GoString added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersRequestTag) SetKey added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersRequestTag) SetValue added in v1.3.13

func (DescribeDedicatedBlockStorageClustersRequestTag) String added in v1.3.13

type DescribeDedicatedBlockStorageClustersResponse added in v1.3.11

type DescribeDedicatedBlockStorageClustersResponse struct {
	Headers    map[string]*string                                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDedicatedBlockStorageClustersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDedicatedBlockStorageClustersResponse) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponse) SetBody added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponse) SetHeaders added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponse) SetStatusCode added in v1.3.11

func (DescribeDedicatedBlockStorageClustersResponse) String added in v1.3.11

type DescribeDedicatedBlockStorageClustersResponseBody added in v1.3.11

type DescribeDedicatedBlockStorageClustersResponseBody struct {
	// The queried dedicated block storage clusters.
	DedicatedBlockStorageClusters []*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters `json:"DedicatedBlockStorageClusters,omitempty" xml:"DedicatedBlockStorageClusters,omitempty" type:"Repeated"`
	// A pagination token. It can be used in the next request to retrieve a new page of results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDedicatedBlockStorageClustersResponseBody) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBody) SetNextToken added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBody) SetPageNumber added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersResponseBody) SetPageSize added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersResponseBody) SetRequestId added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBody) SetTotalCount added in v1.3.13

func (DescribeDedicatedBlockStorageClustersResponseBody) String added in v1.3.11

type DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters added in v1.3.11

type DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters struct {
	// The unique ID (UID) of the Alibaba Cloud account.
	AliUid *string `json:"AliUid,omitempty" xml:"AliUid,omitempty"`
	// The category of disks that can be created in the dedicated block storage cluster.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The time when the dedicated block storage cluster was created. The value is a UNIX timestamp. Unit: seconds.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The storage capacity of the dedicated block storage cluster.
	DedicatedBlockStorageClusterCapacity *DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity `json:"DedicatedBlockStorageClusterCapacity,omitempty" xml:"DedicatedBlockStorageClusterCapacity,omitempty" type:"Struct"`
	// The ID of the dedicated block storage cluster.
	DedicatedBlockStorageClusterId *string `json:"DedicatedBlockStorageClusterId,omitempty" xml:"DedicatedBlockStorageClusterId,omitempty"`
	// The name of the dedicated block storage cluster.
	DedicatedBlockStorageClusterName *string `json:"DedicatedBlockStorageClusterName,omitempty" xml:"DedicatedBlockStorageClusterName,omitempty"`
	// The description of the dedicated block storage cluster.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The dedicated block storage cluster enable thin provison.
	EnableThinProvision *bool `json:"EnableThinProvision,omitempty" xml:"EnableThinProvision,omitempty"`
	// The time when the dedicated block storage cluster expires. The value is a UNIX timestamp. Unit: seconds.
	ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The performance level of disks. Valid values:
	//
	// *   PL0
	// *   PL1
	// *   PL2
	// *   PL3
	//
	// >  This parameter takes effect only if Category is set to cloud_essd.
	PerformanceLevel *string `json:"PerformanceLevel,omitempty" xml:"PerformanceLevel,omitempty"`
	// The region ID of the dedicated block storage cluster.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the dedicated block storage cluster belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// Oversold ratio of cluster space capacity for creating disk.
	SizeOverSoldRatio *float64 `json:"SizeOverSoldRatio,omitempty" xml:"SizeOverSoldRatio,omitempty"`
	// The state of the dedicated block storage cluster. Valid values:
	//
	// *   Preparing
	// *   Running
	// *   Expired
	// *   Offline
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// StorageDomain.
	StorageDomain *string `json:"StorageDomain,omitempty" xml:"StorageDomain,omitempty"`
	// This parameter is not supported.
	SupportedCategory *string `json:"SupportedCategory,omitempty" xml:"SupportedCategory,omitempty"`
	// The tags of the dedicated block storage cluster.
	Tags []*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// The type of the dedicated block storage cluster. Valid values:
	//
	// *   Standard: basic dedicated block storage cluster. ESSDs at performance level 0 (PL0 ESSDs) can be created in basic dedicated block storage clusters.
	// *   Premium: performance dedicated block storage cluster. ESSDs at performance level 1 (PL1 ESSDs) can be created in performance dedicated block storage clusters.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The zone ID of the dedicated block storage cluster.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetAliUid added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetCategory added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetCreateTime added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetDedicatedBlockStorageClusterId added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetDedicatedBlockStorageClusterName added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetDescription added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetEnableThinProvision added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetExpiredTime added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetPerformanceLevel added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetRegionId added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetResourceGroupId added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetSizeOverSoldRatio added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetStatus added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetStorageDomain added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetSupportedCategory added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetType added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) SetZoneId added in v1.3.11

func (DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClusters) String added in v1.3.11

type DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity added in v1.3.11

type DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity struct {
	// The available capacity of the dedicated block storage cluster. Unit: GiB.
	AvailableCapacity *int64 `json:"AvailableCapacity,omitempty" xml:"AvailableCapacity,omitempty"`
	// The total capacity of the dedicated block storage cluster that was delivered in disk creation orders. Unit: GB.
	AvailableDeviceCapacity *int64 `json:"AvailableDeviceCapacity,omitempty" xml:"AvailableDeviceCapacity,omitempty"`
	// This parameter is displayed only if Thin Provision is enabled.
	AvailableSpaceCapacity *float64 `json:"AvailableSpaceCapacity,omitempty" xml:"AvailableSpaceCapacity,omitempty"`
	// The capacity of the dedicated block storage cluster that was delivered in orders. Unit: GB.
	ClusterAvailableCapacity *int64 `json:"ClusterAvailableCapacity,omitempty" xml:"ClusterAvailableCapacity,omitempty"`
	// The capacity of the dedicated block storage cluster that is to be delivered in orders. Unit: GB.
	ClusterDeliveryCapacity *int64 `json:"ClusterDeliveryCapacity,omitempty" xml:"ClusterDeliveryCapacity,omitempty"`
	// The to-be-delivered capacity of the dedicated block storage cluster. Unit: GB.
	DeliveryCapacity *int64 `json:"DeliveryCapacity,omitempty" xml:"DeliveryCapacity,omitempty"`
	// The total capacity of the dedicated block storage cluster. Unit: GiB.
	TotalCapacity *int64 `json:"TotalCapacity,omitempty" xml:"TotalCapacity,omitempty"`
	// The total capacity of the dedicated block storage cluster that is to be delivered in disk creation orders. Unit: GB.
	TotalDeviceCapacity *int64 `json:"TotalDeviceCapacity,omitempty" xml:"TotalDeviceCapacity,omitempty"`
	// This parameter is displayed only if Thin Provision is enabled.
	TotalSpaceCapacity *int64 `json:"TotalSpaceCapacity,omitempty" xml:"TotalSpaceCapacity,omitempty"`
	// The used capacity of the dedicated block storage cluster. Unit: GB.
	UsedCapacity *int64 `json:"UsedCapacity,omitempty" xml:"UsedCapacity,omitempty"`
	// The capacity of the dedicated block storage cluster that was used to create disks. Unit: GB.
	UsedDeviceCapacity *int64 `json:"UsedDeviceCapacity,omitempty" xml:"UsedDeviceCapacity,omitempty"`
	// This parameter is displayed only if Thin Provision is enabled.
	UsedSpaceCapacity *float64 `json:"UsedSpaceCapacity,omitempty" xml:"UsedSpaceCapacity,omitempty"`
}

func (DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) GoString added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetAvailableCapacity added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetAvailableDeviceCapacity added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetAvailableSpaceCapacity added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetClusterAvailableCapacity added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetClusterDeliveryCapacity added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetDeliveryCapacity added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetTotalCapacity added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetTotalDeviceCapacity added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetTotalSpaceCapacity added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetUsedCapacity added in v1.3.11

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetUsedDeviceCapacity added in v1.3.17

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) SetUsedSpaceCapacity added in v1.3.17

func (DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersDedicatedBlockStorageClusterCapacity) String added in v1.3.11

type DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags added in v1.3.13

type DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags struct {
	// The tag key of the dedicated block storage cluster.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value of the dedicated block storage cluster.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags) GoString added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags) SetTagKey added in v1.3.13

func (*DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags) SetTagValue added in v1.3.13

func (DescribeDedicatedBlockStorageClustersResponseBodyDedicatedBlockStorageClustersTags) String added in v1.3.13

type DescribeDiskEventsRequest added in v1.3.13

type DescribeDiskEventsRequest struct {
	// The type of the disk. Valid values:
	//
	// *   cloud_efficiency: ultra disk.
	// *   cloud_ssd: standard SSD.
	// *   cloud_essd: enhanced SSD (ESSD).
	DiskCategory *string `json:"DiskCategory,omitempty" xml:"DiskCategory,omitempty"`
	// The ID of the disk.
	DiskId *string `json:"DiskId,omitempty" xml:"DiskId,omitempty"`
	// The end of the time range to query. Specify the time in the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The maximum number of entries per page. Valid values: 1 to 100.
	//
	// Default values:
	//
	// *   If this parameter is not specified or is set to a value smaller than 10, the default value is 10.
	// *   If this parameter is set to a value greater than 100, the default value is 100.
	MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in this request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The region ID of the disk. You can call the [DescribeRegions](~~354276~~) operation to query the list of regions that support CloudLens for EBS.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The beginning of the time range to query. Specify the time in the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The event type. Set the value to DataNeedProtect, which indicates that the disk data needs to be protected.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeDiskEventsRequest) GoString added in v1.3.13

func (s DescribeDiskEventsRequest) GoString() string

func (*DescribeDiskEventsRequest) SetDiskCategory added in v1.3.13

func (*DescribeDiskEventsRequest) SetDiskId added in v1.3.13

func (*DescribeDiskEventsRequest) SetEndTime added in v1.3.13

func (*DescribeDiskEventsRequest) SetMaxResults added in v1.3.13

func (*DescribeDiskEventsRequest) SetNextToken added in v1.3.13

func (*DescribeDiskEventsRequest) SetRegionId added in v1.3.13

func (*DescribeDiskEventsRequest) SetStartTime added in v1.3.13

func (*DescribeDiskEventsRequest) SetType added in v1.3.13

func (DescribeDiskEventsRequest) String added in v1.3.13

func (s DescribeDiskEventsRequest) String() string

type DescribeDiskEventsResponse added in v1.3.13

type DescribeDiskEventsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDiskEventsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDiskEventsResponse) GoString added in v1.3.13

func (s DescribeDiskEventsResponse) GoString() string

func (*DescribeDiskEventsResponse) SetBody added in v1.3.13

func (*DescribeDiskEventsResponse) SetHeaders added in v1.3.13

func (*DescribeDiskEventsResponse) SetStatusCode added in v1.3.13

func (DescribeDiskEventsResponse) String added in v1.3.13

type DescribeDiskEventsResponseBody added in v1.3.13

type DescribeDiskEventsResponseBody struct {
	// The risk events of the disk.
	DiskEvents []*DescribeDiskEventsResponseBodyDiskEvents `json:"DiskEvents,omitempty" xml:"DiskEvents,omitempty" type:"Repeated"`
	// A pagination token. It can be used in the next request to retrieve a new page of results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDiskEventsResponseBody) GoString added in v1.3.13

func (*DescribeDiskEventsResponseBody) SetDiskEvents added in v1.3.13

func (*DescribeDiskEventsResponseBody) SetNextToken added in v1.3.13

func (*DescribeDiskEventsResponseBody) SetRequestId added in v1.3.13

func (*DescribeDiskEventsResponseBody) SetTotalCount added in v1.3.13

func (DescribeDiskEventsResponseBody) String added in v1.3.13

type DescribeDiskEventsResponseBodyDiskEvents added in v1.3.13

type DescribeDiskEventsResponseBodyDiskEvents struct {
	// The description of the event.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the disk.
	DiskId *string `json:"DiskId,omitempty" xml:"DiskId,omitempty"`
	// The recommended action after the event occurred. Valid values:
	//
	// *   Resize: resizes the disk.
	// *   ModifyDiskSpec: changes the category of the disk.
	// *   NoAction: performs no operation.
	RecommendAction *string `json:"RecommendAction,omitempty" xml:"RecommendAction,omitempty"`
	// The region ID of the disk.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The state of the event. Valid values:
	//
	// *   Solved
	// *   UnSolved
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The time when the event occurred. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
	Timestamp *string `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
	// The type of the event. Only DataNeedProtect can be returned.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeDiskEventsResponseBodyDiskEvents) GoString added in v1.3.13

func (*DescribeDiskEventsResponseBodyDiskEvents) SetDescription added in v1.3.13

func (*DescribeDiskEventsResponseBodyDiskEvents) SetDiskId added in v1.3.13

func (*DescribeDiskEventsResponseBodyDiskEvents) SetRecommendAction added in v1.3.13

func (*DescribeDiskEventsResponseBodyDiskEvents) SetRegionId added in v1.3.13

func (*DescribeDiskEventsResponseBodyDiskEvents) SetStatus added in v1.3.13

func (*DescribeDiskEventsResponseBodyDiskEvents) SetTimestamp added in v1.3.13

func (*DescribeDiskEventsResponseBodyDiskEvents) SetType added in v1.3.13

func (DescribeDiskEventsResponseBodyDiskEvents) String added in v1.3.13

type DescribeDiskMonitorDataListRequest added in v1.3.13

type DescribeDiskMonitorDataListRequest struct {
	// The IDs of the disks. The value is a JSON array that contains multiple disk IDs. Separate the IDs with commas (,).
	DiskIds *string `json:"DiskIds,omitempty" xml:"DiskIds,omitempty"`
	// The end of the time range during which you want to query the near real-time monitoring data of the disks. Specify the time in the [ISO 8601](~~25696~~) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The number of entries per page. If you specify this parameter, both `MaxResults` and `NextToken` are used for a paged query.
	//
	// Valid values: 1 to 100.
	//
	// Default value: 10.
	MaxResults *string `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in this request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The region ID. You can call the [DescribeRegions](~~354276~~) operation to query the list of regions that support CloudLens for EBS.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The beginning of the time range during which you want to query the near real-time monitoring data of the disks. Specify the time in the [ISO 8601](~~25696~~) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The type of the monitoring data. Set the value to pro.
	//
	// pro: burst performance data, such as burst I/O operations.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeDiskMonitorDataListRequest) GoString added in v1.3.13

func (*DescribeDiskMonitorDataListRequest) SetDiskIds added in v1.3.13

func (*DescribeDiskMonitorDataListRequest) SetEndTime added in v1.3.13

func (*DescribeDiskMonitorDataListRequest) SetMaxResults added in v1.3.13

func (*DescribeDiskMonitorDataListRequest) SetNextToken added in v1.3.13

func (*DescribeDiskMonitorDataListRequest) SetRegionId added in v1.3.13

func (*DescribeDiskMonitorDataListRequest) SetStartTime added in v1.3.13

func (*DescribeDiskMonitorDataListRequest) SetType added in v1.3.13

func (DescribeDiskMonitorDataListRequest) String added in v1.3.13

type DescribeDiskMonitorDataListResponse added in v1.3.13

type DescribeDiskMonitorDataListResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDiskMonitorDataListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDiskMonitorDataListResponse) GoString added in v1.3.13

func (*DescribeDiskMonitorDataListResponse) SetBody added in v1.3.13

func (*DescribeDiskMonitorDataListResponse) SetHeaders added in v1.3.13

func (*DescribeDiskMonitorDataListResponse) SetStatusCode added in v1.3.13

func (DescribeDiskMonitorDataListResponse) String added in v1.3.13

type DescribeDiskMonitorDataListResponseBody added in v1.3.13

type DescribeDiskMonitorDataListResponseBody struct {
	// The near real-time monitoring data of the disks.
	MonitorData []*DescribeDiskMonitorDataListResponseBodyMonitorData `json:"MonitorData,omitempty" xml:"MonitorData,omitempty" type:"Repeated"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDiskMonitorDataListResponseBody) GoString added in v1.3.13

func (*DescribeDiskMonitorDataListResponseBody) SetMonitorData added in v1.3.13

func (*DescribeDiskMonitorDataListResponseBody) SetNextToken added in v1.3.13

func (*DescribeDiskMonitorDataListResponseBody) SetRequestId added in v1.3.13

func (*DescribeDiskMonitorDataListResponseBody) SetTotalCount added in v1.3.13

func (DescribeDiskMonitorDataListResponseBody) String added in v1.3.13

type DescribeDiskMonitorDataListResponseBodyMonitorData added in v1.3.13

type DescribeDiskMonitorDataListResponseBodyMonitorData struct {
	// The number of burst I/O operations.
	BurstIOCount *int64 `json:"BurstIOCount,omitempty" xml:"BurstIOCount,omitempty"`
	// The ID of the disk.
	DiskId *string `json:"DiskId,omitempty" xml:"DiskId,omitempty"`
	// The beginning of the time range during which the performance of the disk bursts. The time follows the [ISO 8601](~~25696~~) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	Timestamp *string `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
}

func (DescribeDiskMonitorDataListResponseBodyMonitorData) GoString added in v1.3.13

func (*DescribeDiskMonitorDataListResponseBodyMonitorData) SetBurstIOCount added in v1.3.13

func (*DescribeDiskMonitorDataListResponseBodyMonitorData) SetDiskId added in v1.3.13

func (*DescribeDiskMonitorDataListResponseBodyMonitorData) SetTimestamp added in v1.3.13

func (DescribeDiskMonitorDataListResponseBodyMonitorData) String added in v1.3.13

type DescribeDiskMonitorDataRequest added in v1.3.13

type DescribeDiskMonitorDataRequest struct {
	// The ID of the disk.
	DiskId *string `json:"DiskId,omitempty" xml:"DiskId,omitempty"`
	// The end of the time range during which you want to query the near real-time monitoring data of the disk. Specify the time in the [ISO 8601](~~25696~~) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The interval at which the near real-time monitoring data is collected. Unit: seconds. Valid values:
	//
	// *   5
	// *   60
	//
	// Default value: 5.
	Period *int64 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The region ID of the disk.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The beginning of the time range during which you want to query the near real-time monitoring data of the disk. Specify the time in the [ISO 8601](~~25696~~) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
	// The type of the monitoring data. Valid values:
	//
	// *   basic: baseline performance data.
	// *   pro: burst performance data, such as burst I/O operations.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (DescribeDiskMonitorDataRequest) GoString added in v1.3.13

func (*DescribeDiskMonitorDataRequest) SetDiskId added in v1.3.13

func (*DescribeDiskMonitorDataRequest) SetEndTime added in v1.3.13

func (*DescribeDiskMonitorDataRequest) SetPeriod added in v1.3.13

func (*DescribeDiskMonitorDataRequest) SetRegionId added in v1.3.13

func (*DescribeDiskMonitorDataRequest) SetStartTime added in v1.3.13

func (*DescribeDiskMonitorDataRequest) SetType added in v1.3.13

func (DescribeDiskMonitorDataRequest) String added in v1.3.13

type DescribeDiskMonitorDataResponse added in v1.3.13

type DescribeDiskMonitorDataResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDiskMonitorDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDiskMonitorDataResponse) GoString added in v1.3.13

func (*DescribeDiskMonitorDataResponse) SetBody added in v1.3.13

func (*DescribeDiskMonitorDataResponse) SetHeaders added in v1.3.13

func (*DescribeDiskMonitorDataResponse) SetStatusCode added in v1.3.13

func (DescribeDiskMonitorDataResponse) String added in v1.3.13

type DescribeDiskMonitorDataResponseBody added in v1.3.13

type DescribeDiskMonitorDataResponseBody struct {
	// The near real-time monitoring data of the disk.
	MonitorData []*DescribeDiskMonitorDataResponseBodyMonitorData `json:"MonitorData,omitempty" xml:"MonitorData,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDiskMonitorDataResponseBody) GoString added in v1.3.13

func (*DescribeDiskMonitorDataResponseBody) SetMonitorData added in v1.3.13

func (*DescribeDiskMonitorDataResponseBody) SetRequestId added in v1.3.13

func (*DescribeDiskMonitorDataResponseBody) SetTotalCount added in v1.3.13

func (DescribeDiskMonitorDataResponseBody) String added in v1.3.13

type DescribeDiskMonitorDataResponseBodyMonitorData added in v1.3.13

type DescribeDiskMonitorDataResponseBodyMonitorData struct {
	// The percentage of BPS.
	BPSPercent *int64 `json:"BPSPercent,omitempty" xml:"BPSPercent,omitempty"`
	// The number of burst I/O operations.
	BurstIOCount *int64 `json:"BurstIOCount,omitempty" xml:"BurstIOCount,omitempty"`
	// The ID of the disk.
	DiskId *string `json:"DiskId,omitempty" xml:"DiskId,omitempty"`
	// The percentage of IOPS.
	IOPSPercent *int64 `json:"IOPSPercent,omitempty" xml:"IOPSPercent,omitempty"`
	// The read bandwidth of the disk. Unit: Mbit/s.
	ReadBPS *int64 `json:"ReadBPS,omitempty" xml:"ReadBPS,omitempty"`
	// The maximum number of read IOPS.
	ReadIOPS *int64 `json:"ReadIOPS,omitempty" xml:"ReadIOPS,omitempty"`
	// The timestamp that is used to query the near real-time monitoring data of the disk. The time follows the [ISO 8601](~~25696~~) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
	Timestamp *string `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
	// The write bandwidth of the disk. Unit: Mbit/s.
	WriteBPS *int64 `json:"WriteBPS,omitempty" xml:"WriteBPS,omitempty"`
	// The maximum number of write IOPS.
	WriteIOPS *int64 `json:"WriteIOPS,omitempty" xml:"WriteIOPS,omitempty"`
}

func (DescribeDiskMonitorDataResponseBodyMonitorData) GoString added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetBPSPercent added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetBurstIOCount added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetDiskId added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetIOPSPercent added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetReadBPS added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetReadIOPS added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetTimestamp added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetWriteBPS added in v1.3.13

func (*DescribeDiskMonitorDataResponseBodyMonitorData) SetWriteIOPS added in v1.3.13

func (DescribeDiskMonitorDataResponseBodyMonitorData) String added in v1.3.13

type DescribeDiskReplicaGroupsRequest

type DescribeDiskReplicaGroupsRequest struct {
	// The IDs of replication pair-consistent groups. You can specify the IDs of one or more replication pair-consistent groups. Separate the IDs with commas (,).
	//
	// This parameter is empty by default, which indicates that all replication pair-consistent groups in the specified region are queried.
	GroupIds *string `json:"GroupIds,omitempty" xml:"GroupIds,omitempty"`
	// The maximum number of entries to return on each page. Valid values: 1 to 500.
	//
	// Default value: 10.
	MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The query token. Set the value to the NextToken value returned in the previous call to the DescribeDiskReplicaGroups operation. Leave this parameter empty the first time you call this operation. When NextToken is specified, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The number of the page to return.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries to return on each page.
	//
	// Valid values: 1 to 100.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the replication pair-consistent group.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the replication group belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The type of the site from which the information of replication pair-consistent groups is retrieved. This parameter is used for scenarios where data is replicated across zones in replication pairs.
	//
	// *   If the Site parameter is not specified, information such as the state of replication pair-consistent groups at the primary site is queried and returned.
	//
	// *   Otherwise, information such as the state of replication pair-consistent groups at the site specified by the Site parameter is queried and returned. Valid values:
	//
	//     *   production: primary site
	//     *   backup: secondary site
	Site *string `json:"Site,omitempty" xml:"Site,omitempty"`
	// The resource tags. You can specify up to 20 tags.
	Tag []*DescribeDiskReplicaGroupsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (DescribeDiskReplicaGroupsRequest) GoString

func (*DescribeDiskReplicaGroupsRequest) SetGroupIds

func (*DescribeDiskReplicaGroupsRequest) SetMaxResults

func (*DescribeDiskReplicaGroupsRequest) SetNextToken

func (*DescribeDiskReplicaGroupsRequest) SetPageNumber added in v1.3.12

func (*DescribeDiskReplicaGroupsRequest) SetPageSize added in v1.3.12

func (*DescribeDiskReplicaGroupsRequest) SetRegionId

func (*DescribeDiskReplicaGroupsRequest) SetResourceGroupId added in v1.3.16

func (*DescribeDiskReplicaGroupsRequest) SetSite

func (*DescribeDiskReplicaGroupsRequest) SetTag added in v1.3.16

func (DescribeDiskReplicaGroupsRequest) String

type DescribeDiskReplicaGroupsRequestTag added in v1.3.16

type DescribeDiskReplicaGroupsRequestTag struct {
	// The key of tag N of the replication group.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N to add to the replication group.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDiskReplicaGroupsRequestTag) GoString added in v1.3.16

func (*DescribeDiskReplicaGroupsRequestTag) SetKey added in v1.3.16

func (*DescribeDiskReplicaGroupsRequestTag) SetValue added in v1.3.16

func (DescribeDiskReplicaGroupsRequestTag) String added in v1.3.16

type DescribeDiskReplicaGroupsResponse

type DescribeDiskReplicaGroupsResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDiskReplicaGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDiskReplicaGroupsResponse) GoString

func (*DescribeDiskReplicaGroupsResponse) SetHeaders

func (*DescribeDiskReplicaGroupsResponse) SetStatusCode added in v1.2.1

func (DescribeDiskReplicaGroupsResponse) String

type DescribeDiskReplicaGroupsResponseBody

type DescribeDiskReplicaGroupsResponseBody struct {
	// The query token returned in this call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number of the returned page.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// Details about the replication pair-consistent groups.
	ReplicaGroups []*DescribeDiskReplicaGroupsResponseBodyReplicaGroups `json:"ReplicaGroups,omitempty" xml:"ReplicaGroups,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDiskReplicaGroupsResponseBody) GoString

func (*DescribeDiskReplicaGroupsResponseBody) SetNextToken

func (*DescribeDiskReplicaGroupsResponseBody) SetPageNumber added in v1.3.12

func (*DescribeDiskReplicaGroupsResponseBody) SetPageSize added in v1.3.12

func (*DescribeDiskReplicaGroupsResponseBody) SetRequestId

func (*DescribeDiskReplicaGroupsResponseBody) SetTotalCount added in v1.3.12

func (DescribeDiskReplicaGroupsResponseBody) String

type DescribeDiskReplicaGroupsResponseBodyReplicaGroups

type DescribeDiskReplicaGroupsResponseBodyReplicaGroups struct {
	// The bandwidth value. Unit: Mbit/s. This parameter is unavailable and has a system-preset value.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The description of the replication pair-consistent group.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the region in which the secondary site is deployed.
	DestinationRegionId *string `json:"DestinationRegionId,omitempty" xml:"DestinationRegionId,omitempty"`
	// The ID of the zone in which the secondary site is deployed.
	DestinationZoneId *string `json:"DestinationZoneId,omitempty" xml:"DestinationZoneId,omitempty"`
	// The name of the replication pair-consistent group.
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The time when data was last replicated from the primary disks to the secondary disks in the replication pair-consistent group. The value of this parameter is a timestamp. Unit: seconds.
	LastRecoverPoint *int64 `json:"LastRecoverPoint,omitempty" xml:"LastRecoverPoint,omitempty"`
	// The IDs of the replications pairs that belong to the replication pair-consistent group.
	PairIds [][]byte `json:"PairIds,omitempty" xml:"PairIds,omitempty" type:"Repeated"`
	// The number of replications pairs that belong to the replication pair-consistent group.
	PairNumber *int64 `json:"PairNumber,omitempty" xml:"PairNumber,omitempty"`
	// The initial source region (primary region) of the replication pair-consistent group.
	PrimaryRegion *string `json:"PrimaryRegion,omitempty" xml:"PrimaryRegion,omitempty"`
	// The initial source zone (primary zone) of the replication pair-consistent group.
	PrimaryZone *string `json:"PrimaryZone,omitempty" xml:"PrimaryZone,omitempty"`
	// The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds.
	RPO *int64 `json:"RPO,omitempty" xml:"RPO,omitempty"`
	// The ID of the replication pair-consistent group.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
	// The ID of the resource group to which the replication group belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The type of the site from which the information of the replication pair and replication pair-consistent group is obtained. Valid values:
	//
	// *   production: primary site
	// *   backup: secondary site
	Site *string `json:"Site,omitempty" xml:"Site,omitempty"`
	// The ID of the region in which the primary site is deployed.
	SourceRegionId *string `json:"SourceRegionId,omitempty" xml:"SourceRegionId,omitempty"`
	// The ID of the zone in which the primary site is deployed.
	SourceZoneId *string `json:"SourceZoneId,omitempty" xml:"SourceZoneId,omitempty"`
	// The initial destination region (secondary region) of the replication pair-consistent group.
	StandbyRegion *string `json:"StandbyRegion,omitempty" xml:"StandbyRegion,omitempty"`
	// The initial destination zone (secondary zone) of the replication pair-consistent group.
	StandbyZone *string `json:"StandbyZone,omitempty" xml:"StandbyZone,omitempty"`
	// The state of the replication pair-consistent group. Valid values:
	//
	// *   invalid: The replication pair-consistent group is invalid, which indicates that abnormal replication pairs are present in the replication pair-consistent group.
	// *   creating: The replication pair-consistent group is being created.
	// *   created: The replication pair-consistent group is created.
	// *   create_failed: The replication pair-consistent group cannot be created.
	// *   manual_syncing: Data is being manually synchronized between the disks in the replication pair-consistent group. The first time data is being manually synchronized between the disks in a replication pair-consistent group, the replication pair-consistent group is in this state.
	// *   syncing: Data is being synchronized between the disks in the replication pair-consistent group. While data is being asynchronously replicated from the primary disks to the secondary disks not for the first time, the replication pair-consistent group is in this state.
	// *   normal: The replication pair-consistent group is working as expected. When the system finishes replicating data from the primary disks to the secondary disks within the current replication cycle, the replication pair-consistent group enters this state.
	// *   stopping: The replication pair-consistent group is being stopped.
	// *   stopped: The replication pair-consistent group is stopped.
	// *   stop_failed: The replication pair-consistent group cannot be stopped.
	// *   failovering: A failover is being performed.
	// *   failovered: A failover is performed.
	// *   failover_failed: A failover cannot be performed.
	// *   reprotecting: A reverse replication is being performed.
	// *   reprotect_failed: A reverse replication cannot be performed.
	// *   deleting: The replication pair-consistent group is being deleted.
	// *   delete_failed: The replication pair-consistent group cannot be deleted.
	// *   deleted: The replication pair-consistent group is deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The tags of the replication pair.
	Tags []*DescribeDiskReplicaGroupsResponseBodyReplicaGroupsTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (DescribeDiskReplicaGroupsResponseBodyReplicaGroups) GoString

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetBandwidth added in v1.3.11

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetDescription

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetDestinationRegionId

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetDestinationZoneId

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetGroupName

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetLastRecoverPoint

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetPairIds

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetPairNumber

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetPrimaryRegion added in v1.3.5

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetPrimaryZone added in v1.3.5

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetRPO

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetReplicaGroupId

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetResourceGroupId added in v1.3.16

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetSite

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetSourceRegionId

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetSourceZoneId

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetStandbyRegion added in v1.3.5

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetStandbyZone added in v1.3.5

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroups) SetStatus

func (DescribeDiskReplicaGroupsResponseBodyReplicaGroups) String

type DescribeDiskReplicaGroupsResponseBodyReplicaGroupsTags added in v1.3.16

type DescribeDiskReplicaGroupsResponseBodyReplicaGroupsTags struct {
	// The tag key of the replication group.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value of the replication group.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (DescribeDiskReplicaGroupsResponseBodyReplicaGroupsTags) GoString added in v1.3.16

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroupsTags) SetTagKey added in v1.3.16

func (*DescribeDiskReplicaGroupsResponseBodyReplicaGroupsTags) SetTagValue added in v1.3.16

func (DescribeDiskReplicaGroupsResponseBodyReplicaGroupsTags) String added in v1.3.16

type DescribeDiskReplicaPairProgressRequest

type DescribeDiskReplicaPairProgressRequest struct {
	// The region ID of the replication pair.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~)operation to query the IDs of existing replication pairs.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
}

func (DescribeDiskReplicaPairProgressRequest) GoString

func (*DescribeDiskReplicaPairProgressRequest) SetRegionId

func (*DescribeDiskReplicaPairProgressRequest) SetReplicaPairId

func (DescribeDiskReplicaPairProgressRequest) String

type DescribeDiskReplicaPairProgressResponse

type DescribeDiskReplicaPairProgressResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDiskReplicaPairProgressResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDiskReplicaPairProgressResponse) GoString

func (*DescribeDiskReplicaPairProgressResponse) SetHeaders

func (*DescribeDiskReplicaPairProgressResponse) SetStatusCode added in v1.3.11

func (DescribeDiskReplicaPairProgressResponse) String

type DescribeDiskReplicaPairProgressResponseBody

type DescribeDiskReplicaPairProgressResponseBody struct {
	// The replication progress of the replication pair.
	Progress *int32 `json:"Progress,omitempty" xml:"Progress,omitempty"`
	// The timestamp that indicates the last recovery point in time. The value is returned only after the replication pair works for replicating data.
	RecoverPoint *int64 `json:"RecoverPoint,omitempty" xml:"RecoverPoint,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeDiskReplicaPairProgressResponseBody) GoString

func (*DescribeDiskReplicaPairProgressResponseBody) SetProgress

func (*DescribeDiskReplicaPairProgressResponseBody) SetRecoverPoint

func (*DescribeDiskReplicaPairProgressResponseBody) SetRequestId

func (DescribeDiskReplicaPairProgressResponseBody) String

type DescribeDiskReplicaPairsRequest

type DescribeDiskReplicaPairsRequest struct {
	// The maximum number of entries per page. You can use this parameter together with NextToken.
	//
	// Valid values: 1 to 500.
	//
	// Default value: 10.
	MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. If you specify NextToken, the PageSize and PageNumber request parameters do not take effect, and the TotalCount response parameter is invalid.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 1 to 100.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The IDs of replication pairs. You can specify the IDs of one or more replication pairs and separate the IDs with commas (,). Example: `pair-cn-dsa****,pair-cn-asd****`.
	//
	// This parameter is empty by default, which indicates that all replication pairs in the specified region are queried. You can specify a maximum of 100 replication pair IDs.
	PairIds *string `json:"PairIds,omitempty" xml:"PairIds,omitempty"`
	// The region ID of the primary or secondary disk in the replication pair. You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which async replication is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group. You can specify the ID of a replication pair-consistent group to query the replication pairs in the group. Example: `pg-****`.
	//
	// This parameter is empty by default, which indicates that all replication pairs in the specified region are queried.
	//
	// >  If this parameter is set to`-`, replication pairs that are not added to any replication pair-consistent groups are returned.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
	// The ID of the resource group to which the replication pair belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The type of the site from which the information of replication pairs is retrieved. Valid value:
	//
	// *   production: primary site
	// *   backup: secondary site
	//
	// Default value: production.
	Site *string `json:"Site,omitempty" xml:"Site,omitempty"`
	// The tags. Up to 20 tags are supported.
	Tag []*DescribeDiskReplicaPairsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (DescribeDiskReplicaPairsRequest) GoString

func (*DescribeDiskReplicaPairsRequest) SetMaxResults

func (*DescribeDiskReplicaPairsRequest) SetNextToken

func (*DescribeDiskReplicaPairsRequest) SetPageNumber added in v1.3.6

func (*DescribeDiskReplicaPairsRequest) SetPageSize added in v1.3.6

func (*DescribeDiskReplicaPairsRequest) SetPairIds

func (*DescribeDiskReplicaPairsRequest) SetRegionId

func (*DescribeDiskReplicaPairsRequest) SetReplicaGroupId

func (*DescribeDiskReplicaPairsRequest) SetResourceGroupId added in v1.3.16

func (*DescribeDiskReplicaPairsRequest) SetSite

func (*DescribeDiskReplicaPairsRequest) SetTag added in v1.3.16

func (DescribeDiskReplicaPairsRequest) String

type DescribeDiskReplicaPairsRequestTag added in v1.3.16

type DescribeDiskReplicaPairsRequestTag struct {
	// The key of the tag.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeDiskReplicaPairsRequestTag) GoString added in v1.3.16

func (*DescribeDiskReplicaPairsRequestTag) SetKey added in v1.3.16

func (*DescribeDiskReplicaPairsRequestTag) SetValue added in v1.3.16

func (DescribeDiskReplicaPairsRequestTag) String added in v1.3.16

type DescribeDiskReplicaPairsResponse

type DescribeDiskReplicaPairsResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeDiskReplicaPairsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeDiskReplicaPairsResponse) GoString

func (*DescribeDiskReplicaPairsResponse) SetHeaders

func (*DescribeDiskReplicaPairsResponse) SetStatusCode added in v1.2.1

func (DescribeDiskReplicaPairsResponse) String

type DescribeDiskReplicaPairsResponseBody

type DescribeDiskReplicaPairsResponseBody struct {
	// A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// Details about the replication pairs.
	ReplicaPairs []*DescribeDiskReplicaPairsResponseBodyReplicaPairs `json:"ReplicaPairs,omitempty" xml:"ReplicaPairs,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeDiskReplicaPairsResponseBody) GoString

func (*DescribeDiskReplicaPairsResponseBody) SetNextToken

func (*DescribeDiskReplicaPairsResponseBody) SetPageNumber added in v1.3.6

func (*DescribeDiskReplicaPairsResponseBody) SetPageSize added in v1.3.6

func (*DescribeDiskReplicaPairsResponseBody) SetRequestId

func (*DescribeDiskReplicaPairsResponseBody) SetTotalCount added in v1.3.6

func (DescribeDiskReplicaPairsResponseBody) String

type DescribeDiskReplicaPairsResponseBodyReplicaPairs

type DescribeDiskReplicaPairsResponseBodyReplicaPairs struct {
	// The bandwidth used to asynchronously replicate data from the primary disk to the secondary disk. Unit: Kbit/s.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The billing method of the replication pair. Valid values:
	//
	// *   PREPAY: subscription
	// *   POSTPAY: pay-as-you-go
	ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"`
	// The time when the replication pair was created. The value of this parameter is a timestamp. Unit: seconds.
	CreateTime *int64 `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The description of the replication pair.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The ID of the secondary disk.
	DestinationDiskId *string `json:"DestinationDiskId,omitempty" xml:"DestinationDiskId,omitempty"`
	// The region ID of the secondary disk.
	DestinationRegion *string `json:"DestinationRegion,omitempty" xml:"DestinationRegion,omitempty"`
	// The zone ID of the secondary disk.
	DestinationZoneId *string `json:"DestinationZoneId,omitempty" xml:"DestinationZoneId,omitempty"`
	// The time when the replication pair expires. The value of this parameter is a timestamp. Unit: seconds.
	ExpiredTime *int64 `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"`
	// The time when data was last replicated from the primary disk to the secondary disk in the replication pair. The value of this parameter is a timestamp. Unit: seconds. 86,400 seconds is equivalent to 24 hours.
	LastRecoverPoint *int64 `json:"LastRecoverPoint,omitempty" xml:"LastRecoverPoint,omitempty"`
	// The name of the replication pair.
	PairName *string `json:"PairName,omitempty" xml:"PairName,omitempty"`
	// The initial source region (primary region) of the replication pair.
	PrimaryRegion *string `json:"PrimaryRegion,omitempty" xml:"PrimaryRegion,omitempty"`
	// The initial source zone (primary zone) of the replication pair.
	PrimaryZone *string `json:"PrimaryZone,omitempty" xml:"PrimaryZone,omitempty"`
	// The recovery point objective (RPO) of the replication pair. Unit: seconds.
	RPO *int64 `json:"RPO,omitempty" xml:"RPO,omitempty"`
	// The ID of the replication pair-consistent group to which the replication pair belongs.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
	// The name of the replication pair-consistent group to which the replication pair belongs.
	ReplicaGroupName *string `json:"ReplicaGroupName,omitempty" xml:"ReplicaGroupName,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
	// The ID of the resource group to which the replication pair belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The type of the site from which the information about the replication pairs and replication pair-consistent group was obtained. Valid values:
	//
	// *   production: primary site
	// *   backup: secondary site
	Site *string `json:"Site,omitempty" xml:"Site,omitempty"`
	// The ID of the primary disk.
	SourceDiskId *string `json:"SourceDiskId,omitempty" xml:"SourceDiskId,omitempty"`
	// The region ID of the primary disk.
	SourceRegion *string `json:"SourceRegion,omitempty" xml:"SourceRegion,omitempty"`
	// The zone ID of the primary disk.
	SourceZoneId *string `json:"SourceZoneId,omitempty" xml:"SourceZoneId,omitempty"`
	// The initial destination region (secondary region) of the replication pair.
	StandbyRegion *string `json:"StandbyRegion,omitempty" xml:"StandbyRegion,omitempty"`
	// The initial destination zone (secondary zone) of the replication pair.
	StandbyZone *string `json:"StandbyZone,omitempty" xml:"StandbyZone,omitempty"`
	// The status of the replication pair. Valid values:
	//
	// *   invalid: The replication pair was invalid. When a replication pair becomes abnormal, it enters this state.
	// *   creating: The replication pair was being created.
	// *   created: The replication pair was created.
	// *   create_failed: The replication pair failed to be created.
	// *   initial_syncing: Data was synchronized from the primary disk to the secondary disk for the first time. After a replication pair is created and activated, the replication pair is in this state the first time data is synchronized from the primary disk to the secondary disk.
	// *   manual_syncing: Data was being manually synchronized from the primary disk to the secondary disk. After data is manually synchronized from the primary disk to the secondary disk, the replication pair returns to the stopped state. The first time data is manually synchronized from the primary disk to the secondary disk, the replication pair is in the manual_syncing state during the synchronization.
	// *   syncing: Data was being synchronized from the primary disk to the secondary disk. When data is being asynchronously replicated from the primary disk to the secondary disk again in subsequent operations, the replication pair is in this state.
	// *   normal: The replication pair was working as expected. When the system finishes replicating data from the primary disk to the secondary disk within the current replication cycle, the replication pair enters this state.
	// *   stopping: The replication pair was being stopped.
	// *   stopped: The replication pair was stopped.
	// *   stop_failed: The replication pair failed to be stopped.
	// *   failovering: A failover was being performed.
	// *   failovered: A failover was performed.
	// *   failover_failed: A failover failed to be performed.
	// *   reprotecting: A reverse replication was being performed.
	// *   reprotect_failed: A reverse replication failed to be performed.
	// *   deleting: The replication pair was being deleted.
	// *   delete_failed: The replication pair failed to be deleted.
	// *   deleted: The replication pair was deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The message that describes the state of the replication pair. This parameter has a value when `Status` has a value of invalid or `create_failed`. Valid values:
	//
	// *   PrePayOrderExpired: The replication pair has expired.
	// *   PostPayOrderCeaseService: The pay-as-you-go replication pair has been stopped due to an overdue payment.
	// *   DeviceRemoved: The primary or secondary disk has been deleted.
	// *   DeviceKeyChanged: The `DeviceKey` mapping of the primary or secondary disk has changed.
	// *   DeviceSizeChanged: The `DeviceSize` value of the primary or secondary disk has changed.
	// *   OperationDenied.QuotaExceed: The maximum number of replication pairs that can be created has been reached.
	StatusMessage *string `json:"StatusMessage,omitempty" xml:"StatusMessage,omitempty"`
	// The tags of the replication pair.
	Tags []*DescribeDiskReplicaPairsResponseBodyReplicaPairsTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (DescribeDiskReplicaPairsResponseBodyReplicaPairs) GoString

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetBandwidth

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetChargeType

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetCreateTime

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetDescription

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetDestinationDiskId

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetDestinationRegion

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetDestinationZoneId

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetExpiredTime added in v1.2.1

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetLastRecoverPoint

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetPairName

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetPrimaryRegion

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetPrimaryZone

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetRPO

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetReplicaGroupId

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetReplicaGroupName

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetReplicaPairId

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetResourceGroupId added in v1.3.16

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetSite

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetSourceDiskId

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetSourceRegion

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetSourceZoneId

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetStandbyRegion

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetStandbyZone

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetStatus

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetStatusMessage

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairs) SetTags added in v1.3.16

func (DescribeDiskReplicaPairsResponseBodyReplicaPairs) String

type DescribeDiskReplicaPairsResponseBodyReplicaPairsTags added in v1.3.16

type DescribeDiskReplicaPairsResponseBodyReplicaPairsTags struct {
	// The key of the tag.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The value of the tag.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (DescribeDiskReplicaPairsResponseBodyReplicaPairsTags) GoString added in v1.3.16

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairsTags) SetTagKey added in v1.3.16

func (*DescribeDiskReplicaPairsResponseBodyReplicaPairsTags) SetTagValue added in v1.3.16

func (DescribeDiskReplicaPairsResponseBodyReplicaPairsTags) String added in v1.3.16

type DescribeEnterpriseSnapshotPolicyRequest added in v1.5.0

type DescribeEnterpriseSnapshotPolicyRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests.
	//
	// The ClientToken value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How do I ensure idempotence ](~~25693~~).
	ClientToken *string   `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	DiskIds     []*string `json:"DiskIds,omitempty" xml:"DiskIds,omitempty" type:"Repeated"`
	// The maximum number of entries to be returned. You can use this parameter together with NextToken.
	//
	// Valid values: 1 to 500.
	//
	// Default value: 10.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The token that is used for the next query. Valid values:
	//
	// *   If the value of **NextToken** is not returned, it indicates that no next query is to be sent.
	// *   If a value of **NextToken** is returned, the value is the token that is used for the subsequent query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The number of the page to return.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The list of policies.
	PolicyIds []*string `json:"PolicyIds,omitempty" xml:"PolicyIds,omitempty" type:"Repeated"`
	// The region ID . You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which snapshot policy is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the resource group to which the policy belongs.
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The list of tags.
	Tag []*DescribeEnterpriseSnapshotPolicyRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (DescribeEnterpriseSnapshotPolicyRequest) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetClientToken added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetDiskIds added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetMaxResults added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetNextToken added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetPageNumber added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetPageSize added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetPolicyIds added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetRegionId added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetResourceGroupId added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequest) SetTag added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyRequest) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyRequestTag added in v1.5.0

type DescribeEnterpriseSnapshotPolicyRequestTag struct {
	// The key of the tag.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyRequestTag) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequestTag) SetKey added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyRequestTag) SetValue added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyRequestTag) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponse added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeEnterpriseSnapshotPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeEnterpriseSnapshotPolicyResponse) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponse) SetBody added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponse) SetHeaders added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponse) SetStatusCode added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponse) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBody added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBody struct {
	// The query token returned in this call.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The list of policies.
	Policies []*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies `json:"Policies,omitempty" xml:"Policies,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBody) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBody) SetNextToken added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBody) SetPageNumber added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBody) SetPageSize added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBody) SetPolicies added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBody) SetRequestId added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBody) SetTotalCount added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBody) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPolicies added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPolicies struct {
	// Creation Time.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// Snapshot replication destination information.
	CrossRegionCopyInfo *DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfo `json:"CrossRegionCopyInfo,omitempty" xml:"CrossRegionCopyInfo,omitempty" type:"Struct"`
	// The description of the policy.
	Desc    *string   `json:"Desc,omitempty" xml:"Desc,omitempty"`
	DiskIds []*string `json:"DiskIds,omitempty" xml:"DiskIds,omitempty" type:"Repeated"`
	// Indicates whether it is an ECS snapshot policy,The range of values:
	//
	// - true
	// - false
	ManagedForEcs *bool `json:"ManagedForEcs,omitempty" xml:"ManagedForEcs,omitempty"`
	// The name of the policy.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The id of the policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The resource group
	ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"`
	// The snapshot retention rule.
	RetainRule *DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule `json:"RetainRule,omitempty" xml:"RetainRule,omitempty" type:"Struct"`
	// The rule for scheduling.
	Schedule *DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSchedule `json:"Schedule,omitempty" xml:"Schedule,omitempty" type:"Struct"`
	// The special snapshot retention rules.
	SpecialRetainRules *DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRules `json:"SpecialRetainRules,omitempty" xml:"SpecialRetainRules,omitempty" type:"Struct"`
	// The status of the policy. Valid values:
	//
	// - ENABLED: Enable policy execution.
	//
	// - DISABLED: Disable policy execution.
	State *string `json:"State,omitempty" xml:"State,omitempty"`
	// Advanced snapshot features.
	StorageRule *DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesStorageRule `json:"StorageRule,omitempty" xml:"StorageRule,omitempty" type:"Struct"`
	// The list of tags.
	Tags []*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
	// Number of bound targets.
	TargetCount *int32 `json:"TargetCount,omitempty" xml:"TargetCount,omitempty"`
	// The target type.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetCreateTime added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetDesc added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetDiskIds added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetManagedForEcs added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetName added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetPolicyId added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetResourceGroupId added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetState added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetTargetCount added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) SetTargetType added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPolicies) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfo added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfo struct {
	// Whether cross-region replication is enabled. The range of values:
	//
	// - true
	//
	// - false
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// Destination region information.
	Regions []*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfoRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Repeated"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfo) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfo) SetEnabled added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfo) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfoRegions added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfoRegions struct {
	// The region ID of the destination. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Number of days to retain the destination snapshot. The range of values is greater than 1.
	RetainDays *int32 `json:"RetainDays,omitempty" xml:"RetainDays,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfoRegions) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfoRegions) SetRegionId added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfoRegions) SetRetainDays added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesCrossRegionCopyInfoRegions) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule struct {
	// Maximum number of retained snapshots.
	Number *int32 `json:"Number,omitempty" xml:"Number,omitempty"`
	// The time interval , valid value greater than 1.
	TimeInterval *int32 `json:"TimeInterval,omitempty" xml:"TimeInterval,omitempty"`
	// The unit of time, valid values:
	//
	// - DAYS
	//
	// - WEEKS
	TimeUnit *string `json:"TimeUnit,omitempty" xml:"TimeUnit,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule) SetNumber added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule) SetTimeInterval added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule) SetTimeUnit added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesRetainRule) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSchedule added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSchedule struct {
	// The time when the policy will to be scheduled. Valid values: Set the parameter in a cron expression.
	//
	// For example, you can use 0 0 4 1/1 * ? to specify 04:00:00 (UTC+8) on the first day of each month.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSchedule) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSchedule) SetCronExpression added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSchedule) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRules added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRules struct {
	// Indicates whether the special retention is enabled.
	//
	// *   true: enable
	// *   false: disable
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The special retention rules.
	Rules []*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Repeated"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRules) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRules) SetEnabled added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRules) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules struct {
	// The periodic unit for specially retained snapshots. If configured to WEEKS, it provides special retention for the first snapshot of each week. The retention period is determined by TimeUnit and TimeInterval. The range of values are:
	// - WEEKS
	// - MONTHS
	// - YEARS
	SpecialPeriodUnit *string `json:"SpecialPeriodUnit,omitempty" xml:"SpecialPeriodUnit,omitempty"`
	// Retention Time Value. The range of values is greater than 1.
	TimeInterval *int32 `json:"TimeInterval,omitempty" xml:"TimeInterval,omitempty"`
	// Retention time unit for special snapshots. The range of values:
	//
	// - DAYS
	//
	// - WEEKS
	TimeUnit *string `json:"TimeUnit,omitempty" xml:"TimeUnit,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules) SetSpecialPeriodUnit added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules) SetTimeInterval added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules) SetTimeUnit added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesSpecialRetainRulesRules) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesStorageRule added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesStorageRule struct {
	// Whether to enable the rapid availability of snapshots. The range of values:
	//
	// - true
	//
	// - false
	EnableImmediateAccess *bool `json:"EnableImmediateAccess,omitempty" xml:"EnableImmediateAccess,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesStorageRule) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesStorageRule) SetEnableImmediateAccess added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesStorageRule) String added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesTags added in v1.5.0

type DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesTags struct {
	// The key of a tag.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The value of a tag.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesTags) GoString added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesTags) SetTagKey added in v1.5.0

func (*DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesTags) SetTagValue added in v1.5.0

func (DescribeEnterpriseSnapshotPolicyResponseBodyPoliciesTags) String added in v1.5.0

type DescribeLensServiceStatusResponse added in v1.3.13

type DescribeLensServiceStatusResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeLensServiceStatusResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeLensServiceStatusResponse) GoString added in v1.3.13

func (*DescribeLensServiceStatusResponse) SetBody added in v1.3.13

func (*DescribeLensServiceStatusResponse) SetHeaders added in v1.3.13

func (*DescribeLensServiceStatusResponse) SetStatusCode added in v1.3.13

func (DescribeLensServiceStatusResponse) String added in v1.3.13

type DescribeLensServiceStatusResponseBody added in v1.3.13

type DescribeLensServiceStatusResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The state of CloudLens for EBS. Valid values:
	//
	// *   Applying
	// *   UnAvailable
	// *   Available
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (DescribeLensServiceStatusResponseBody) GoString added in v1.3.13

func (*DescribeLensServiceStatusResponseBody) SetRequestId added in v1.3.13

func (*DescribeLensServiceStatusResponseBody) SetStatus added in v1.3.13

func (DescribeLensServiceStatusResponseBody) String added in v1.3.13

type DescribeMetricDataRequest added in v1.5.0

type DescribeMetricDataRequest struct {
	// The dimension map in the JSON format. A dimension is a key-value pair. Valid dimension key: diskId.
	Dimensions *string `json:"Dimensions,omitempty" xml:"Dimensions,omitempty"`
	// The end of the time range to query. The specified time must be later than the current time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The name of the metric.
	MetricName *string `json:"MetricName,omitempty" xml:"MetricName,omitempty"`
	// The interval at which metric data is collected. Unit: seconds. Default value: 60. Valid values: 60, 300, 600, and 3600, which support queries for time ranges of up to 2 hours, 2 hours, 1 day, and 7 days, respectively. For example, if you set Period to 60, the end time is less than 2 hours from the end time.
	Period *int32 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The region ID.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The beginning of the time range to query. You can specify a point in time that is up to one year apart from the current time. If StartTime and EndTime are both unspecified, the monitoring metric data of the last Period value is queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
	StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"`
}

func (DescribeMetricDataRequest) GoString added in v1.5.0

func (s DescribeMetricDataRequest) GoString() string

func (*DescribeMetricDataRequest) SetDimensions added in v1.5.0

func (*DescribeMetricDataRequest) SetEndTime added in v1.5.0

func (*DescribeMetricDataRequest) SetMetricName added in v1.5.0

func (*DescribeMetricDataRequest) SetPeriod added in v1.5.0

func (*DescribeMetricDataRequest) SetRegionId added in v1.5.0

func (*DescribeMetricDataRequest) SetStartTime added in v1.5.0

func (DescribeMetricDataRequest) String added in v1.5.0

func (s DescribeMetricDataRequest) String() string

type DescribeMetricDataResponse added in v1.5.0

type DescribeMetricDataResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeMetricDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeMetricDataResponse) GoString added in v1.5.0

func (s DescribeMetricDataResponse) GoString() string

func (*DescribeMetricDataResponse) SetBody added in v1.5.0

func (*DescribeMetricDataResponse) SetHeaders added in v1.5.0

func (*DescribeMetricDataResponse) SetStatusCode added in v1.5.0

func (DescribeMetricDataResponse) String added in v1.5.0

type DescribeMetricDataResponseBody added in v1.5.0

type DescribeMetricDataResponseBody struct {
	// The disk monitoring data.
	DataList []*DescribeMetricDataResponseBodyDataList `json:"DataList,omitempty" xml:"DataList,omitempty" type:"Repeated"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of data entries queried.
	TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeMetricDataResponseBody) GoString added in v1.5.0

func (*DescribeMetricDataResponseBody) SetDataList added in v1.5.0

func (*DescribeMetricDataResponseBody) SetRequestId added in v1.5.0

func (*DescribeMetricDataResponseBody) SetTotalCount added in v1.5.0

func (DescribeMetricDataResponseBody) String added in v1.5.0

type DescribeMetricDataResponseBodyDataList added in v1.5.0

type DescribeMetricDataResponseBodyDataList struct {
	// The datapoints that consist of consecutive timestamps in seconds and metric values that were recorded at these time points.
	Datapoints interface{} `json:"Datapoints,omitempty" xml:"Datapoints,omitempty"`
	// The tags.
	Labels interface{} `json:"Labels,omitempty" xml:"Labels,omitempty"`
}

func (DescribeMetricDataResponseBodyDataList) GoString added in v1.5.0

func (*DescribeMetricDataResponseBodyDataList) SetDatapoints added in v1.5.0

func (*DescribeMetricDataResponseBodyDataList) SetLabels added in v1.5.0

func (DescribeMetricDataResponseBodyDataList) String added in v1.5.0

type DescribePairDrillsRequest added in v1.4.0

type DescribePairDrillsRequest struct {
	// The ID of the drill.
	DrillId *string `json:"DrillId,omitempty" xml:"DrillId,omitempty"`
	// The maximum number of entries to be returned. You can use this parameter together with NextToken.
	//
	// Valid values: 1 to 500.
	//
	// Default value: 10.
	MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. Set the value to the NextToken value returned in the previous call to the DescribeDiskReplicaPairs operation. Leave this parameter empty the first time you call this operation. When you specify NextToken, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 1 to 100.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query a list of asynchronous replication pairs, including replication pair IDs.
	PairId *string `json:"PairId,omitempty" xml:"PairId,omitempty"`
	// The region ID of the primary or secondary disk in the async replication pair. You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which async replication is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribePairDrillsRequest) GoString added in v1.4.0

func (s DescribePairDrillsRequest) GoString() string

func (*DescribePairDrillsRequest) SetDrillId added in v1.4.0

func (*DescribePairDrillsRequest) SetMaxResults added in v1.4.0

func (*DescribePairDrillsRequest) SetNextToken added in v1.4.0

func (*DescribePairDrillsRequest) SetPageNumber added in v1.4.0

func (*DescribePairDrillsRequest) SetPageSize added in v1.4.0

func (*DescribePairDrillsRequest) SetPairId added in v1.4.0

func (*DescribePairDrillsRequest) SetRegionId added in v1.4.0

func (DescribePairDrillsRequest) String added in v1.4.0

func (s DescribePairDrillsRequest) String() string

type DescribePairDrillsResponse added in v1.4.0

type DescribePairDrillsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribePairDrillsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribePairDrillsResponse) GoString added in v1.4.0

func (s DescribePairDrillsResponse) GoString() string

func (*DescribePairDrillsResponse) SetBody added in v1.4.0

func (*DescribePairDrillsResponse) SetHeaders added in v1.4.0

func (*DescribePairDrillsResponse) SetStatusCode added in v1.4.0

func (DescribePairDrillsResponse) String added in v1.4.0

type DescribePairDrillsResponseBody added in v1.4.0

type DescribePairDrillsResponseBody struct {
	// The information of disaster recovery drills that were performed on the replication pair.
	Drills []*DescribePairDrillsResponseBodyDrills `json:"Drills,omitempty" xml:"Drills,omitempty" type:"Repeated"`
	// A pagination token. It can be used in the next request to retrieve a new page of results.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribePairDrillsResponseBody) GoString added in v1.4.0

func (*DescribePairDrillsResponseBody) SetDrills added in v1.4.0

func (*DescribePairDrillsResponseBody) SetNextToken added in v1.4.0

func (*DescribePairDrillsResponseBody) SetPageNumber added in v1.4.0

func (*DescribePairDrillsResponseBody) SetPageSize added in v1.4.0

func (*DescribePairDrillsResponseBody) SetRequestId added in v1.4.0

func (*DescribePairDrillsResponseBody) SetTotalCount added in v1.4.0

func (DescribePairDrillsResponseBody) String added in v1.4.0

type DescribePairDrillsResponseBodyDrills added in v1.4.0

type DescribePairDrillsResponseBodyDrills struct {
	// The ID of the drill disk.
	DrillDiskId *string `json:"DrillDiskId,omitempty" xml:"DrillDiskId,omitempty"`
	// The status of the drill disk. Valid values:
	//
	// *   created
	// *   deleted
	// *   creating
	// *   deleting
	//
	// >  This parameter can also display error code details if your drill disk fails to be created or deleted.
	DrillDiskStatus *string `json:"DrillDiskStatus,omitempty" xml:"DrillDiskStatus,omitempty"`
	// The ID of the drill.
	DrillId *string `json:"DrillId,omitempty" xml:"DrillId,omitempty"`
	// The recovery point of the drill. The value of this parameter is a timestamp. Unit: seconds.
	RecoverPoint *int64 `json:"RecoverPoint,omitempty" xml:"RecoverPoint,omitempty"`
	// The beginning time of the drill. The value of this parameter is a timestamp. Unit: seconds.
	StartAt *int64 `json:"StartAt,omitempty" xml:"StartAt,omitempty"`
	// The status of the drill. Valid values:
	//
	// *   execute_failed
	// *   executed
	// *   executing
	// *   clear_failed
	// *   clearing
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The error message that was displayed if the drill failed to be executed.
	StatusMessage *string `json:"StatusMessage,omitempty" xml:"StatusMessage,omitempty"`
}

func (DescribePairDrillsResponseBodyDrills) GoString added in v1.4.0

func (*DescribePairDrillsResponseBodyDrills) SetDrillDiskId added in v1.4.0

func (*DescribePairDrillsResponseBodyDrills) SetDrillDiskStatus added in v1.4.0

func (*DescribePairDrillsResponseBodyDrills) SetDrillId added in v1.4.0

func (*DescribePairDrillsResponseBodyDrills) SetRecoverPoint added in v1.4.0

func (*DescribePairDrillsResponseBodyDrills) SetStartAt added in v1.4.0

func (*DescribePairDrillsResponseBodyDrills) SetStatus added in v1.4.0

func (*DescribePairDrillsResponseBodyDrills) SetStatusMessage added in v1.4.0

func (DescribePairDrillsResponseBodyDrills) String added in v1.4.0

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	// The language in which the regions and zones are named. This parameter corresponds to the `LocalName` response parameter. Valid values:
	//
	// *   zh-CN: Chinese
	// *   en-US: English
	// *   ja: Japanese
	//
	// Default value: zh-CN.
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The type of resource. Valid values:
	//
	// *   ear: async replication
	// *   lens: CloudLens for EBS
	// *   dbsc: Dedicated Block Storage Cluster
	//
	// Default value: ear.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (DescribeRegionsRequest) GoString

func (s DescribeRegionsRequest) GoString() string

func (*DescribeRegionsRequest) SetAcceptLanguage

func (s *DescribeRegionsRequest) SetAcceptLanguage(v string) *DescribeRegionsRequest

func (*DescribeRegionsRequest) SetRegionId

func (*DescribeRegionsRequest) SetResourceType

func (s *DescribeRegionsRequest) SetResourceType(v string) *DescribeRegionsRequest

func (DescribeRegionsRequest) String

func (s DescribeRegionsRequest) String() string

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeRegionsResponse) GoString

func (s DescribeRegionsResponse) GoString() string

func (*DescribeRegionsResponse) SetBody

func (*DescribeRegionsResponse) SetHeaders

func (*DescribeRegionsResponse) SetStatusCode added in v1.2.1

func (DescribeRegionsResponse) String

func (s DescribeRegionsResponse) String() string

type DescribeRegionsResponseBody

type DescribeRegionsResponseBody struct {
	// Details about the regions.
	Regions []*DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeRegionsResponseBody) GoString

func (s DescribeRegionsResponseBody) GoString() string

func (*DescribeRegionsResponseBody) SetRegions

func (*DescribeRegionsResponseBody) SetRequestId

func (DescribeRegionsResponseBody) String

type DescribeRegionsResponseBodyRegions

type DescribeRegionsResponseBodyRegions struct {
	// The name of the region.
	LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"`
	// The endpoint of the region.
	RegionEndpoint *string `json:"RegionEndpoint,omitempty" xml:"RegionEndpoint,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Details about the zones.
	Zones []*DescribeRegionsResponseBodyRegionsZones `json:"Zones,omitempty" xml:"Zones,omitempty" type:"Repeated"`
}

func (DescribeRegionsResponseBodyRegions) GoString

func (*DescribeRegionsResponseBodyRegions) SetLocalName

func (*DescribeRegionsResponseBodyRegions) SetRegionEndpoint

func (*DescribeRegionsResponseBodyRegions) SetRegionId

func (DescribeRegionsResponseBodyRegions) String

type DescribeRegionsResponseBodyRegionsZones

type DescribeRegionsResponseBodyRegionsZones struct {
	// The name of the zone.
	LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"`
	// The type of resource list.
	ResourceTypes []*string `json:"ResourceTypes,omitempty" xml:"ResourceTypes,omitempty" type:"Repeated"`
	// The ID of the zone.
	ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"`
}

func (DescribeRegionsResponseBodyRegionsZones) GoString

func (*DescribeRegionsResponseBodyRegionsZones) SetLocalName

func (*DescribeRegionsResponseBodyRegionsZones) SetResourceTypes added in v1.3.13

func (*DescribeRegionsResponseBodyRegionsZones) SetZoneId

func (DescribeRegionsResponseBodyRegionsZones) String

type DescribeReplicaGroupDrillsRequest added in v1.4.0

type DescribeReplicaGroupDrillsRequest struct {
	// The ID of the drill.
	DrillId *string `json:"DrillId,omitempty" xml:"DrillId,omitempty"`
	// The ID of the replication pair-consistent group. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query a list of async replication pair-consistent groups, including group IDs.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The maximum number of entries to be returned. You can use this parameter together with NextToken.
	//
	// Valid values: 1 to 500.
	//
	// Default value: 10.
	MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"`
	// The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. When you specify NextToken, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page. Valid values: 1 to 100.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID of the primary or secondary disk in the async replication pair-consistent group. You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which async replication is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeReplicaGroupDrillsRequest) GoString added in v1.4.0

func (*DescribeReplicaGroupDrillsRequest) SetDrillId added in v1.4.0

func (*DescribeReplicaGroupDrillsRequest) SetGroupId added in v1.4.0

func (*DescribeReplicaGroupDrillsRequest) SetMaxResults added in v1.4.0

func (*DescribeReplicaGroupDrillsRequest) SetNextToken added in v1.4.0

func (*DescribeReplicaGroupDrillsRequest) SetPageNumber added in v1.4.0

func (*DescribeReplicaGroupDrillsRequest) SetPageSize added in v1.4.0

func (*DescribeReplicaGroupDrillsRequest) SetRegionId added in v1.4.0

func (DescribeReplicaGroupDrillsRequest) String added in v1.4.0

type DescribeReplicaGroupDrillsResponse added in v1.4.0

type DescribeReplicaGroupDrillsResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DescribeReplicaGroupDrillsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DescribeReplicaGroupDrillsResponse) GoString added in v1.4.0

func (*DescribeReplicaGroupDrillsResponse) SetBody added in v1.4.0

func (*DescribeReplicaGroupDrillsResponse) SetHeaders added in v1.4.0

func (*DescribeReplicaGroupDrillsResponse) SetStatusCode added in v1.4.0

func (DescribeReplicaGroupDrillsResponse) String added in v1.4.0

type DescribeReplicaGroupDrillsResponseBody added in v1.4.0

type DescribeReplicaGroupDrillsResponseBody struct {
	// The information of disaster recovery drills that were performed on the replication pair-consistent group.
	Drills []*DescribeReplicaGroupDrillsResponseBodyDrills `json:"Drills,omitempty" xml:"Drills,omitempty" type:"Repeated"`
	// A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The page number.
	PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (DescribeReplicaGroupDrillsResponseBody) GoString added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBody) SetDrills added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBody) SetNextToken added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBody) SetPageNumber added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBody) SetPageSize added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBody) SetRequestId added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBody) SetTotalCount added in v1.4.0

func (DescribeReplicaGroupDrillsResponseBody) String added in v1.4.0

type DescribeReplicaGroupDrillsResponseBodyDrills added in v1.4.0

type DescribeReplicaGroupDrillsResponseBodyDrills struct {
	// The ID of the drill.
	DrillId *string `json:"DrillId,omitempty" xml:"DrillId,omitempty"`
	// The ID of the replication pair-consistent group.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The information of replication pairs.
	PairsInfo []*DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo `json:"PairsInfo,omitempty" xml:"PairsInfo,omitempty" type:"Repeated"`
	// The recovery point of the drill. The value of this parameter is a timestamp. Unit: seconds.
	RecoverPoint *int64 `json:"RecoverPoint,omitempty" xml:"RecoverPoint,omitempty"`
	// The beginning time of the drill. The value of this parameter is a timestamp. Unit: seconds.
	StartAt *int64 `json:"StartAt,omitempty" xml:"StartAt,omitempty"`
	// The status of the drill. Valid values:
	//
	// *   execute_failed
	// *   executed
	// *   executing
	// *   clear_failed
	// *   clearing
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The error message that appears if the drill fails to be executed.
	StatusMessage *string `json:"StatusMessage,omitempty" xml:"StatusMessage,omitempty"`
}

func (DescribeReplicaGroupDrillsResponseBodyDrills) GoString added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrills) SetDrillId added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrills) SetGroupId added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrills) SetPairsInfo added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrills) SetRecoverPoint added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrills) SetStartAt added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrills) SetStatus added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrills) SetStatusMessage added in v1.4.0

func (DescribeReplicaGroupDrillsResponseBodyDrills) String added in v1.4.0

type DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo added in v1.4.0

type DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo struct {
	// The ID of the drill disk.
	DrillDiskId *string `json:"DrillDiskId,omitempty" xml:"DrillDiskId,omitempty"`
	// The status of the drill disk. Valid values:
	//
	// *   created
	// *   deleted
	// *   creating
	// *   deleting
	//
	// >  This parameter can also display error code details if your drill disk fails to be created or deleted.
	DrillDiskStatus *string `json:"DrillDiskStatus,omitempty" xml:"DrillDiskStatus,omitempty"`
	// The ID of the replication pair.
	PairId *string `json:"PairId,omitempty" xml:"PairId,omitempty"`
}

func (DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo) GoString added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo) SetDrillDiskId added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo) SetDrillDiskStatus added in v1.4.0

func (*DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo) SetPairId added in v1.4.0

func (DescribeReplicaGroupDrillsResponseBodyDrillsPairsInfo) String added in v1.4.0

type FailoverDiskReplicaGroupRequest

type FailoverDiskReplicaGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the secondary site of the replication pair-consistent group.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
}

func (FailoverDiskReplicaGroupRequest) GoString

func (*FailoverDiskReplicaGroupRequest) SetClientToken

func (*FailoverDiskReplicaGroupRequest) SetRegionId

func (*FailoverDiskReplicaGroupRequest) SetReplicaGroupId

func (FailoverDiskReplicaGroupRequest) String

type FailoverDiskReplicaGroupResponse

type FailoverDiskReplicaGroupResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *FailoverDiskReplicaGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (FailoverDiskReplicaGroupResponse) GoString

func (*FailoverDiskReplicaGroupResponse) SetHeaders

func (*FailoverDiskReplicaGroupResponse) SetStatusCode added in v1.2.1

func (FailoverDiskReplicaGroupResponse) String

type FailoverDiskReplicaGroupResponseBody

type FailoverDiskReplicaGroupResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (FailoverDiskReplicaGroupResponseBody) GoString

func (*FailoverDiskReplicaGroupResponseBody) SetRequestId

func (FailoverDiskReplicaGroupResponseBody) String

type FailoverDiskReplicaPairRequest

type FailoverDiskReplicaPairRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the secondary disk in the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query region IDs of secondary disks in replication pairs.
	//
	// >  The failover feature must be enabled for the region where the secondary disk is located.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
}

func (FailoverDiskReplicaPairRequest) GoString

func (*FailoverDiskReplicaPairRequest) SetClientToken

func (*FailoverDiskReplicaPairRequest) SetRegionId

func (*FailoverDiskReplicaPairRequest) SetReplicaPairId

func (FailoverDiskReplicaPairRequest) String

type FailoverDiskReplicaPairResponse

type FailoverDiskReplicaPairResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *FailoverDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (FailoverDiskReplicaPairResponse) GoString

func (*FailoverDiskReplicaPairResponse) SetHeaders

func (*FailoverDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (FailoverDiskReplicaPairResponse) String

type FailoverDiskReplicaPairResponseBody

type FailoverDiskReplicaPairResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (FailoverDiskReplicaPairResponseBody) GoString

func (*FailoverDiskReplicaPairResponseBody) SetRequestId

func (FailoverDiskReplicaPairResponseBody) String

type ListTagResourcesRequest added in v1.3.11

type ListTagResourcesRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that the value is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The region ID of the resource. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID list of the resource. You can specify up to 50 resource IDs in each call.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Valid values:
	//
	// *   dedicatedblockstoragecluster: dedicated block storage cluster
	// *   diskreplicapair: replication pair
	// *   diskreplicagroup: replication pair-consistent group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The information about the tags.
	//
	// You can specify at most 20 tags in each call.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString added in v1.3.11

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetClientToken added in v1.3.11

func (*ListTagResourcesRequest) SetNextToken added in v1.3.11

func (*ListTagResourcesRequest) SetRegionId added in v1.3.11

func (*ListTagResourcesRequest) SetResourceId added in v1.3.11

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType added in v1.3.11

func (*ListTagResourcesRequest) SetTag added in v1.3.11

func (ListTagResourcesRequest) String added in v1.3.11

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTag added in v1.3.11

type ListTagResourcesRequestTag struct {
	// The key of tag N used for exact search of EBS resources. The tag key must be 1 to 128 characters in length. Valid values of N: 1 to 20.
	//
	// The `Tag.N` parameter pair (Tag.N.Key and Tag.N.Value) is used for exact search of EBS resources that have specified tags added. Each tag is a key-value pair.
	//
	// *   If you specify only `Tag.N.Key`, all EBS resources whose tags contain the specified tag key are returned.
	// *   If you specify only `Tag.N.Value`, the `InvalidParameter.TagValue` error is returned.
	// *   If you specify multiple tag key-value pairs at the same time, only EBS resources that match all tag key-value pairs are returned.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N used for exact search of EBS resources. The tag value must be 1 to 128 characters in length. Valid values of N: 1 to 20.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesRequestTag) GoString added in v1.3.11

func (s ListTagResourcesRequestTag) GoString() string

func (*ListTagResourcesRequestTag) SetKey added in v1.3.11

func (*ListTagResourcesRequestTag) SetValue added in v1.3.11

func (ListTagResourcesRequestTag) String added in v1.3.11

type ListTagResourcesResponse added in v1.3.11

type ListTagResourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListTagResourcesResponse) GoString added in v1.3.11

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody added in v1.3.11

func (*ListTagResourcesResponse) SetHeaders added in v1.3.11

func (*ListTagResourcesResponse) SetStatusCode added in v1.3.11

func (ListTagResourcesResponse) String added in v1.3.11

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody added in v1.3.11

type ListTagResourcesResponseBody struct {
	// The token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request. The request ID is returned regardless of whether the call is successful.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Details about the resources and tags, including resource IDs, resource types, and tag key-value pairs.
	TagResources []*ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBody) GoString added in v1.3.11

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken added in v1.3.11

func (*ListTagResourcesResponseBody) SetRequestId added in v1.3.11

func (*ListTagResourcesResponseBody) SetTagResources added in v1.3.11

func (ListTagResourcesResponseBody) String added in v1.3.11

type ListTagResourcesResponseBodyTagResources added in v1.3.11

type ListTagResourcesResponseBodyTagResources struct {
	// The ID of the resource.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource. Valid values:
	//
	// *   dedicatedblockstoragecluster: dedicated block storage cluster
	// *   diskreplicapair: replication pair
	// *   diskreplicagroup: replication pair-consistent group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key of the resource.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value of the resource.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResources) GoString added in v1.3.11

func (*ListTagResourcesResponseBodyTagResources) SetResourceId added in v1.3.11

func (*ListTagResourcesResponseBodyTagResources) SetResourceType added in v1.3.11

func (*ListTagResourcesResponseBodyTagResources) SetTagKey added in v1.3.11

func (*ListTagResourcesResponseBodyTagResources) SetTagValue added in v1.3.11

func (ListTagResourcesResponseBodyTagResources) String added in v1.3.11

type ModifyDedicatedBlockStorageClusterAttributeRequest added in v1.3.11

type ModifyDedicatedBlockStorageClusterAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests.
	//
	// The ClientToken value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How do I ensure idempotence ](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the dedicated block storage cluster.
	DbscId *string `json:"DbscId,omitempty" xml:"DbscId,omitempty"`
	// The new name of the dedicated block storage cluster.
	DbscName *string `json:"DbscName,omitempty" xml:"DbscName,omitempty"`
	// The new description of dedicated block storage cluster.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The region ID of the dedicated block storage cluster. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (ModifyDedicatedBlockStorageClusterAttributeRequest) GoString added in v1.3.11

func (*ModifyDedicatedBlockStorageClusterAttributeRequest) SetClientToken added in v1.3.11

func (*ModifyDedicatedBlockStorageClusterAttributeRequest) SetDbscId added in v1.3.11

func (*ModifyDedicatedBlockStorageClusterAttributeRequest) SetDbscName added in v1.3.11

func (*ModifyDedicatedBlockStorageClusterAttributeRequest) SetDescription added in v1.3.11

func (*ModifyDedicatedBlockStorageClusterAttributeRequest) SetRegionId added in v1.3.11

func (ModifyDedicatedBlockStorageClusterAttributeRequest) String added in v1.3.11

type ModifyDedicatedBlockStorageClusterAttributeResponse added in v1.3.11

type ModifyDedicatedBlockStorageClusterAttributeResponse struct {
	Headers    map[string]*string                                       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDedicatedBlockStorageClusterAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDedicatedBlockStorageClusterAttributeResponse) GoString added in v1.3.11

func (*ModifyDedicatedBlockStorageClusterAttributeResponse) SetHeaders added in v1.3.11

func (*ModifyDedicatedBlockStorageClusterAttributeResponse) SetStatusCode added in v1.3.11

func (ModifyDedicatedBlockStorageClusterAttributeResponse) String added in v1.3.11

type ModifyDedicatedBlockStorageClusterAttributeResponseBody added in v1.3.11

type ModifyDedicatedBlockStorageClusterAttributeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDedicatedBlockStorageClusterAttributeResponseBody) GoString added in v1.3.11

func (*ModifyDedicatedBlockStorageClusterAttributeResponseBody) SetRequestId added in v1.3.11

func (ModifyDedicatedBlockStorageClusterAttributeResponseBody) String added in v1.3.11

type ModifyDiskReplicaGroupRequest

type ModifyDiskReplicaGroupRequest struct {
	// The bandwidth value. Unit: Kbit/s.
	//
	// >  This parameter is not publicly available.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The description of the replication pair-consistent group. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the replication pair-consistent group. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (\_), and hyphens (-).
	GroupName *string `json:"GroupName,omitempty" xml:"GroupName,omitempty"`
	// The RPO of the replication pair-consistent group. Unit: seconds. Valid value: 900.
	RPO *int64 `json:"RPO,omitempty" xml:"RPO,omitempty"`
	// The region ID of the replication pair-consistent group.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the IDs of replication pair-consistent groups.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
}

func (ModifyDiskReplicaGroupRequest) GoString

func (*ModifyDiskReplicaGroupRequest) SetBandwidth added in v1.3.11

func (*ModifyDiskReplicaGroupRequest) SetClientToken

func (*ModifyDiskReplicaGroupRequest) SetDescription

func (*ModifyDiskReplicaGroupRequest) SetGroupName

func (*ModifyDiskReplicaGroupRequest) SetRPO

func (*ModifyDiskReplicaGroupRequest) SetRegionId

func (*ModifyDiskReplicaGroupRequest) SetReplicaGroupId

func (ModifyDiskReplicaGroupRequest) String

type ModifyDiskReplicaGroupResponse

type ModifyDiskReplicaGroupResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDiskReplicaGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDiskReplicaGroupResponse) GoString

func (*ModifyDiskReplicaGroupResponse) SetHeaders

func (*ModifyDiskReplicaGroupResponse) SetStatusCode added in v1.2.1

func (ModifyDiskReplicaGroupResponse) String

type ModifyDiskReplicaGroupResponseBody

type ModifyDiskReplicaGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDiskReplicaGroupResponseBody) GoString

func (*ModifyDiskReplicaGroupResponseBody) SetRequestId

func (ModifyDiskReplicaGroupResponseBody) String

type ModifyDiskReplicaPairRequest

type ModifyDiskReplicaPairRequest struct {
	// The bandwidth value. Unit: Kbit/s.
	//
	// >  This parameter is not publicly available.
	Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The description of the replication pair.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the replication pair.
	PairName *string `json:"PairName,omitempty" xml:"PairName,omitempty"`
	// The recovery point objective (RPO) of the replication pair-consistent group. Unit: seconds. Valid value: 900.
	RPO *int64 `json:"RPO,omitempty" xml:"RPO,omitempty"`
	// The region ID of the primary or secondary disk in the replication pair. You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which async replication is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
}

func (ModifyDiskReplicaPairRequest) GoString

func (s ModifyDiskReplicaPairRequest) GoString() string

func (*ModifyDiskReplicaPairRequest) SetBandwidth

func (*ModifyDiskReplicaPairRequest) SetClientToken

func (*ModifyDiskReplicaPairRequest) SetDescription

func (*ModifyDiskReplicaPairRequest) SetPairName

func (*ModifyDiskReplicaPairRequest) SetRPO

func (*ModifyDiskReplicaPairRequest) SetRegionId

func (*ModifyDiskReplicaPairRequest) SetReplicaPairId

func (ModifyDiskReplicaPairRequest) String

type ModifyDiskReplicaPairResponse

type ModifyDiskReplicaPairResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ModifyDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ModifyDiskReplicaPairResponse) GoString

func (*ModifyDiskReplicaPairResponse) SetBody

func (*ModifyDiskReplicaPairResponse) SetHeaders

func (*ModifyDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (ModifyDiskReplicaPairResponse) String

type ModifyDiskReplicaPairResponseBody

type ModifyDiskReplicaPairResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyDiskReplicaPairResponseBody) GoString

func (*ModifyDiskReplicaPairResponseBody) SetRequestId

func (ModifyDiskReplicaPairResponseBody) String

type RemoveDiskReplicaPairRequest

type RemoveDiskReplicaPairRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the replication pair-consistent group.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group.
	//
	// You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the IDs of replication pair-consistent groups.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
}

func (RemoveDiskReplicaPairRequest) GoString

func (s RemoveDiskReplicaPairRequest) GoString() string

func (*RemoveDiskReplicaPairRequest) SetClientToken

func (*RemoveDiskReplicaPairRequest) SetRegionId

func (*RemoveDiskReplicaPairRequest) SetReplicaGroupId

func (*RemoveDiskReplicaPairRequest) SetReplicaPairId

func (RemoveDiskReplicaPairRequest) String

type RemoveDiskReplicaPairResponse

type RemoveDiskReplicaPairResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RemoveDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RemoveDiskReplicaPairResponse) GoString

func (*RemoveDiskReplicaPairResponse) SetBody

func (*RemoveDiskReplicaPairResponse) SetHeaders

func (*RemoveDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (RemoveDiskReplicaPairResponse) String

type RemoveDiskReplicaPairResponseBody

type RemoveDiskReplicaPairResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (RemoveDiskReplicaPairResponseBody) GoString

func (*RemoveDiskReplicaPairResponseBody) SetRequestId

func (RemoveDiskReplicaPairResponseBody) String

type ReprotectDiskReplicaGroupRequest

type ReprotectDiskReplicaGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the replication pair-consistent group. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the IDs of replication pair-consistent groups.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the IDs of replication pair-consistent groups.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
	// Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
	ReverseReplicate *bool `json:"ReverseReplicate,omitempty" xml:"ReverseReplicate,omitempty"`
}

func (ReprotectDiskReplicaGroupRequest) GoString

func (*ReprotectDiskReplicaGroupRequest) SetClientToken

func (*ReprotectDiskReplicaGroupRequest) SetRegionId

func (*ReprotectDiskReplicaGroupRequest) SetReplicaGroupId

func (*ReprotectDiskReplicaGroupRequest) SetReverseReplicate added in v1.3.18

func (ReprotectDiskReplicaGroupRequest) String

type ReprotectDiskReplicaGroupResponse

type ReprotectDiskReplicaGroupResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ReprotectDiskReplicaGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ReprotectDiskReplicaGroupResponse) GoString

func (*ReprotectDiskReplicaGroupResponse) SetHeaders

func (*ReprotectDiskReplicaGroupResponse) SetStatusCode added in v1.2.1

func (ReprotectDiskReplicaGroupResponse) String

type ReprotectDiskReplicaGroupResponseBody

type ReprotectDiskReplicaGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReprotectDiskReplicaGroupResponseBody) GoString

func (*ReprotectDiskReplicaGroupResponseBody) SetRequestId

func (ReprotectDiskReplicaGroupResponseBody) String

type ReprotectDiskReplicaPairRequest

type ReprotectDiskReplicaPairRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the secondary disk in the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query region IDs of secondary disks in replication pairs.
	//
	// >  The reverse replication feature must be enabled from the region where the secondary disk is located.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
	// Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.
	ReverseReplicate *bool `json:"ReverseReplicate,omitempty" xml:"ReverseReplicate,omitempty"`
}

func (ReprotectDiskReplicaPairRequest) GoString

func (*ReprotectDiskReplicaPairRequest) SetClientToken

func (*ReprotectDiskReplicaPairRequest) SetRegionId

func (*ReprotectDiskReplicaPairRequest) SetReplicaPairId

func (*ReprotectDiskReplicaPairRequest) SetReverseReplicate added in v1.3.18

func (ReprotectDiskReplicaPairRequest) String

type ReprotectDiskReplicaPairResponse

type ReprotectDiskReplicaPairResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ReprotectDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ReprotectDiskReplicaPairResponse) GoString

func (*ReprotectDiskReplicaPairResponse) SetHeaders

func (*ReprotectDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (ReprotectDiskReplicaPairResponse) String

type ReprotectDiskReplicaPairResponseBody

type ReprotectDiskReplicaPairResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ReprotectDiskReplicaPairResponseBody) GoString

func (*ReprotectDiskReplicaPairResponseBody) SetRequestId

func (ReprotectDiskReplicaPairResponseBody) String

type StartDiskMonitorRequest added in v1.3.13

type StartDiskMonitorRequest struct {
	// The IDs of the disks for which you want to enable near real-time monitoring.
	DiskIds []*string `json:"DiskIds,omitempty" xml:"DiskIds,omitempty" type:"Repeated"`
	// The ID of the region in which you want to enable near real-time monitoring for disks. You can call the [DescribeRegions](~~354276~~) operation to query the list of regions that support CloudLens for EBS.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (StartDiskMonitorRequest) GoString added in v1.3.13

func (s StartDiskMonitorRequest) GoString() string

func (*StartDiskMonitorRequest) SetDiskIds added in v1.3.13

func (*StartDiskMonitorRequest) SetRegionId added in v1.3.13

func (StartDiskMonitorRequest) String added in v1.3.13

func (s StartDiskMonitorRequest) String() string

type StartDiskMonitorResponse added in v1.3.13

type StartDiskMonitorResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StartDiskMonitorResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StartDiskMonitorResponse) GoString added in v1.3.13

func (s StartDiskMonitorResponse) GoString() string

func (*StartDiskMonitorResponse) SetBody added in v1.3.13

func (*StartDiskMonitorResponse) SetHeaders added in v1.3.13

func (*StartDiskMonitorResponse) SetStatusCode added in v1.3.13

func (StartDiskMonitorResponse) String added in v1.3.13

func (s StartDiskMonitorResponse) String() string

type StartDiskMonitorResponseBody added in v1.3.13

type StartDiskMonitorResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartDiskMonitorResponseBody) GoString added in v1.3.13

func (s StartDiskMonitorResponseBody) GoString() string

func (*StartDiskMonitorResponseBody) SetRequestId added in v1.3.13

func (StartDiskMonitorResponseBody) String added in v1.3.13

type StartDiskMonitorShrinkRequest added in v1.3.13

type StartDiskMonitorShrinkRequest struct {
	// The IDs of the disks for which you want to enable near real-time monitoring.
	DiskIdsShrink *string `json:"DiskIds,omitempty" xml:"DiskIds,omitempty"`
	// The ID of the region in which you want to enable near real-time monitoring for disks. You can call the [DescribeRegions](~~354276~~) operation to query the list of regions that support CloudLens for EBS.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (StartDiskMonitorShrinkRequest) GoString added in v1.3.13

func (*StartDiskMonitorShrinkRequest) SetDiskIdsShrink added in v1.3.13

func (*StartDiskMonitorShrinkRequest) SetRegionId added in v1.3.13

func (StartDiskMonitorShrinkRequest) String added in v1.3.13

type StartDiskReplicaGroupRequest

type StartDiskReplicaGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The ClientToken value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to immediately synchronize data once. Valid values:
	//
	// *   true: immediately synchronizes data once.
	// *   false: synchronizes data based on the RPO of the replication pair-consistent group.
	//
	// Default value: false.
	OneShot *bool `json:"OneShot,omitempty" xml:"OneShot,omitempty"`
	// The ID of the replication pair-consistent group.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the IDs of replication pair-consistent groups.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
}

func (StartDiskReplicaGroupRequest) GoString

func (s StartDiskReplicaGroupRequest) GoString() string

func (*StartDiskReplicaGroupRequest) SetClientToken

func (*StartDiskReplicaGroupRequest) SetOneShot

func (*StartDiskReplicaGroupRequest) SetRegionId

func (*StartDiskReplicaGroupRequest) SetReplicaGroupId

func (StartDiskReplicaGroupRequest) String

type StartDiskReplicaGroupResponse

type StartDiskReplicaGroupResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StartDiskReplicaGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StartDiskReplicaGroupResponse) GoString

func (*StartDiskReplicaGroupResponse) SetBody

func (*StartDiskReplicaGroupResponse) SetHeaders

func (*StartDiskReplicaGroupResponse) SetStatusCode added in v1.2.1

func (StartDiskReplicaGroupResponse) String

type StartDiskReplicaGroupResponseBody

type StartDiskReplicaGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartDiskReplicaGroupResponseBody) GoString

func (*StartDiskReplicaGroupResponseBody) SetRequestId

func (StartDiskReplicaGroupResponseBody) String

type StartDiskReplicaPairRequest

type StartDiskReplicaPairRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Specifies whether to immediately synchronize data. Valid values:
	//
	// *   true: immediately synchronizes data.
	// *   false: synchronizes data based on the recovery point objective (RPO).
	//
	// Default value: false.
	OneShot *bool `json:"OneShot,omitempty" xml:"OneShot,omitempty"`
	// The region ID of the primary or secondary disk in the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query the region information of replication pairs.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
}

func (StartDiskReplicaPairRequest) GoString

func (s StartDiskReplicaPairRequest) GoString() string

func (*StartDiskReplicaPairRequest) SetClientToken

func (*StartDiskReplicaPairRequest) SetOneShot

func (*StartDiskReplicaPairRequest) SetRegionId

func (*StartDiskReplicaPairRequest) SetReplicaPairId

func (StartDiskReplicaPairRequest) String

type StartDiskReplicaPairResponse

type StartDiskReplicaPairResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StartDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StartDiskReplicaPairResponse) GoString

func (s StartDiskReplicaPairResponse) GoString() string

func (*StartDiskReplicaPairResponse) SetBody

func (*StartDiskReplicaPairResponse) SetHeaders

func (*StartDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (StartDiskReplicaPairResponse) String

type StartDiskReplicaPairResponseBody

type StartDiskReplicaPairResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartDiskReplicaPairResponseBody) GoString

func (*StartDiskReplicaPairResponseBody) SetRequestId

func (StartDiskReplicaPairResponseBody) String

type StartPairDrillRequest added in v1.4.0

type StartPairDrillRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query a list of replication pairs, including replication pair IDs.
	PairId *string `json:"PairId,omitempty" xml:"PairId,omitempty"`
	// The region ID of the secondary disk in the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query the region in which the secondary disk of the replication pair resides.
	//
	// >  You must enable the disaster recovery drill feature in the region in which the secondary site resides.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (StartPairDrillRequest) GoString added in v1.4.0

func (s StartPairDrillRequest) GoString() string

func (*StartPairDrillRequest) SetClientToken added in v1.4.0

func (s *StartPairDrillRequest) SetClientToken(v string) *StartPairDrillRequest

func (*StartPairDrillRequest) SetPairId added in v1.4.0

func (*StartPairDrillRequest) SetRegionId added in v1.4.0

func (StartPairDrillRequest) String added in v1.4.0

func (s StartPairDrillRequest) String() string

type StartPairDrillResponse added in v1.4.0

type StartPairDrillResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StartPairDrillResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StartPairDrillResponse) GoString added in v1.4.0

func (s StartPairDrillResponse) GoString() string

func (*StartPairDrillResponse) SetBody added in v1.4.0

func (*StartPairDrillResponse) SetHeaders added in v1.4.0

func (*StartPairDrillResponse) SetStatusCode added in v1.4.0

func (StartPairDrillResponse) String added in v1.4.0

func (s StartPairDrillResponse) String() string

type StartPairDrillResponseBody added in v1.4.0

type StartPairDrillResponseBody struct {
	// The drill ID.
	DrillId *string `json:"DrillId,omitempty" xml:"DrillId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartPairDrillResponseBody) GoString added in v1.4.0

func (s StartPairDrillResponseBody) GoString() string

func (*StartPairDrillResponseBody) SetDrillId added in v1.4.0

func (*StartPairDrillResponseBody) SetRequestId added in v1.4.0

func (StartPairDrillResponseBody) String added in v1.4.0

type StartReplicaGroupDrillRequest added in v1.4.0

type StartReplicaGroupDrillRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the replication pair-consistent group ID. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation the most recent list of async replication pair-consistent groups, including group IDs.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the region where the secondary site in the replication pair-consistent group is located. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the region where the secondary site in the replication pair-consistent group is located.
	//
	// >  You must enable the disaster recovery drill feature in the region in which the secondary site resides.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (StartReplicaGroupDrillRequest) GoString added in v1.4.0

func (*StartReplicaGroupDrillRequest) SetClientToken added in v1.4.0

func (*StartReplicaGroupDrillRequest) SetGroupId added in v1.4.0

func (*StartReplicaGroupDrillRequest) SetRegionId added in v1.4.0

func (StartReplicaGroupDrillRequest) String added in v1.4.0

type StartReplicaGroupDrillResponse added in v1.4.0

type StartReplicaGroupDrillResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StartReplicaGroupDrillResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StartReplicaGroupDrillResponse) GoString added in v1.4.0

func (*StartReplicaGroupDrillResponse) SetBody added in v1.4.0

func (*StartReplicaGroupDrillResponse) SetHeaders added in v1.4.0

func (*StartReplicaGroupDrillResponse) SetStatusCode added in v1.4.0

func (StartReplicaGroupDrillResponse) String added in v1.4.0

type StartReplicaGroupDrillResponseBody added in v1.4.0

type StartReplicaGroupDrillResponseBody struct {
	// The drill ID.
	DrillId *string `json:"DrillId,omitempty" xml:"DrillId,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StartReplicaGroupDrillResponseBody) GoString added in v1.4.0

func (*StartReplicaGroupDrillResponseBody) SetDrillId added in v1.4.0

func (*StartReplicaGroupDrillResponseBody) SetRequestId added in v1.4.0

func (StartReplicaGroupDrillResponseBody) String added in v1.4.0

type StopDiskMonitorRequest added in v1.3.13

type StopDiskMonitorRequest struct {
	// The IDs of the disks for which you want to disable near real-time monitoring.
	DiskIds []*string `json:"DiskIds,omitempty" xml:"DiskIds,omitempty" type:"Repeated"`
	// The ID of the region in which you want to disable near real-time monitoring for disks. You can call the [DescribeRegions](~~354276~~) operation to query the list of regions that support CloudLens for EBS.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (StopDiskMonitorRequest) GoString added in v1.3.13

func (s StopDiskMonitorRequest) GoString() string

func (*StopDiskMonitorRequest) SetDiskIds added in v1.3.13

func (*StopDiskMonitorRequest) SetRegionId added in v1.3.13

func (StopDiskMonitorRequest) String added in v1.3.13

func (s StopDiskMonitorRequest) String() string

type StopDiskMonitorResponse added in v1.3.13

type StopDiskMonitorResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StopDiskMonitorResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StopDiskMonitorResponse) GoString added in v1.3.13

func (s StopDiskMonitorResponse) GoString() string

func (*StopDiskMonitorResponse) SetBody added in v1.3.13

func (*StopDiskMonitorResponse) SetHeaders added in v1.3.13

func (*StopDiskMonitorResponse) SetStatusCode added in v1.3.13

func (StopDiskMonitorResponse) String added in v1.3.13

func (s StopDiskMonitorResponse) String() string

type StopDiskMonitorResponseBody added in v1.3.13

type StopDiskMonitorResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StopDiskMonitorResponseBody) GoString added in v1.3.13

func (s StopDiskMonitorResponseBody) GoString() string

func (*StopDiskMonitorResponseBody) SetRequestId added in v1.3.13

func (StopDiskMonitorResponseBody) String added in v1.3.13

type StopDiskMonitorShrinkRequest added in v1.3.13

type StopDiskMonitorShrinkRequest struct {
	// The IDs of the disks for which you want to disable near real-time monitoring.
	DiskIdsShrink *string `json:"DiskIds,omitempty" xml:"DiskIds,omitempty"`
	// The ID of the region in which you want to disable near real-time monitoring for disks. You can call the [DescribeRegions](~~354276~~) operation to query the list of regions that support CloudLens for EBS.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (StopDiskMonitorShrinkRequest) GoString added in v1.3.13

func (s StopDiskMonitorShrinkRequest) GoString() string

func (*StopDiskMonitorShrinkRequest) SetDiskIdsShrink added in v1.3.13

func (*StopDiskMonitorShrinkRequest) SetRegionId added in v1.3.13

func (StopDiskMonitorShrinkRequest) String added in v1.3.13

type StopDiskReplicaGroupRequest

type StopDiskReplicaGroupRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the replication pair-consistent group.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair-consistent group. You can call the [DescribeDiskReplicaGroups](~~426614~~) operation to query the IDs of replication pair-consistent groups.
	ReplicaGroupId *string `json:"ReplicaGroupId,omitempty" xml:"ReplicaGroupId,omitempty"`
}

func (StopDiskReplicaGroupRequest) GoString

func (s StopDiskReplicaGroupRequest) GoString() string

func (*StopDiskReplicaGroupRequest) SetClientToken

func (*StopDiskReplicaGroupRequest) SetRegionId

func (*StopDiskReplicaGroupRequest) SetReplicaGroupId

func (StopDiskReplicaGroupRequest) String

type StopDiskReplicaGroupResponse

type StopDiskReplicaGroupResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StopDiskReplicaGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StopDiskReplicaGroupResponse) GoString

func (s StopDiskReplicaGroupResponse) GoString() string

func (*StopDiskReplicaGroupResponse) SetBody

func (*StopDiskReplicaGroupResponse) SetHeaders

func (*StopDiskReplicaGroupResponse) SetStatusCode added in v1.2.1

func (StopDiskReplicaGroupResponse) String

type StopDiskReplicaGroupResponseBody

type StopDiskReplicaGroupResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StopDiskReplicaGroupResponseBody) GoString

func (*StopDiskReplicaGroupResponseBody) SetRequestId

func (StopDiskReplicaGroupResponseBody) String

type StopDiskReplicaPairRequest

type StopDiskReplicaPairRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the primary or secondary disk in the replication pair. You can call the [DescribeDiskReplicaPairs](~~354206~~) operation to query the region information of replication pairs.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the replication pair.
	ReplicaPairId *string `json:"ReplicaPairId,omitempty" xml:"ReplicaPairId,omitempty"`
}

func (StopDiskReplicaPairRequest) GoString

func (s StopDiskReplicaPairRequest) GoString() string

func (*StopDiskReplicaPairRequest) SetClientToken

func (*StopDiskReplicaPairRequest) SetRegionId

func (*StopDiskReplicaPairRequest) SetReplicaPairId

func (StopDiskReplicaPairRequest) String

type StopDiskReplicaPairResponse

type StopDiskReplicaPairResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StopDiskReplicaPairResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (StopDiskReplicaPairResponse) GoString

func (s StopDiskReplicaPairResponse) GoString() string

func (*StopDiskReplicaPairResponse) SetBody

func (*StopDiskReplicaPairResponse) SetHeaders

func (*StopDiskReplicaPairResponse) SetStatusCode added in v1.2.1

func (StopDiskReplicaPairResponse) String

type StopDiskReplicaPairResponseBody

type StopDiskReplicaPairResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (StopDiskReplicaPairResponseBody) GoString

func (*StopDiskReplicaPairResponseBody) SetRequestId

func (StopDiskReplicaPairResponseBody) String

type TagResourcesRequest added in v1.3.11

type TagResourcesRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the resource. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID list of the resources. You can specify up to 50 IDs in each request.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Valid values:
	//
	// *   dedicatedblockstoragecluster: dedicated block storage cluster
	// *   diskreplicapair: replication pair
	// *   diskreplicagroup: replication pair-consistent group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The resource tags. You can specify up to 20 tags.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString added in v1.3.11

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetClientToken added in v1.3.11

func (s *TagResourcesRequest) SetClientToken(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetRegionId added in v1.3.11

func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceId added in v1.3.11

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType added in v1.3.11

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag added in v1.3.11

func (TagResourcesRequest) String added in v1.3.11

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag added in v1.3.11

type TagResourcesRequestTag struct {
	// The key of tag N to add to the resource. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of tag N to add to the resource. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with `acs:` or contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (TagResourcesRequestTag) GoString added in v1.3.11

func (s TagResourcesRequestTag) GoString() string

func (*TagResourcesRequestTag) SetKey added in v1.3.11

func (*TagResourcesRequestTag) SetValue added in v1.3.11

func (TagResourcesRequestTag) String added in v1.3.11

func (s TagResourcesRequestTag) String() string

type TagResourcesResponse added in v1.3.11

type TagResourcesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (TagResourcesResponse) GoString added in v1.3.11

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody added in v1.3.11

func (*TagResourcesResponse) SetHeaders added in v1.3.11

func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse

func (*TagResourcesResponse) SetStatusCode added in v1.3.11

func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse

func (TagResourcesResponse) String added in v1.3.11

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody added in v1.3.11

type TagResourcesResponseBody struct {
	// The ID of the request. The request ID is returned regardless of whether the call is successful.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString added in v1.3.11

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetRequestId added in v1.3.11

func (TagResourcesResponseBody) String added in v1.3.11

func (s TagResourcesResponseBody) String() string

type UnbindEnterpriseSnapshotPolicyRequest added in v1.5.0

type UnbindEnterpriseSnapshotPolicyRequest struct {
	// The client token that is used to ensure the idempotency of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The list of disks.
	DiskTargets []*string `json:"DiskTargets,omitempty" xml:"DiskTargets,omitempty" type:"Repeated"`
	// The id of the policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID . You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which snapshot policy is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (UnbindEnterpriseSnapshotPolicyRequest) GoString added in v1.5.0

func (*UnbindEnterpriseSnapshotPolicyRequest) SetClientToken added in v1.5.0

func (*UnbindEnterpriseSnapshotPolicyRequest) SetDiskTargets added in v1.5.0

func (*UnbindEnterpriseSnapshotPolicyRequest) SetPolicyId added in v1.5.0

func (*UnbindEnterpriseSnapshotPolicyRequest) SetRegionId added in v1.5.0

func (UnbindEnterpriseSnapshotPolicyRequest) String added in v1.5.0

type UnbindEnterpriseSnapshotPolicyResponse added in v1.5.0

type UnbindEnterpriseSnapshotPolicyResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UnbindEnterpriseSnapshotPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UnbindEnterpriseSnapshotPolicyResponse) GoString added in v1.5.0

func (*UnbindEnterpriseSnapshotPolicyResponse) SetBody added in v1.5.0

func (*UnbindEnterpriseSnapshotPolicyResponse) SetHeaders added in v1.5.0

func (*UnbindEnterpriseSnapshotPolicyResponse) SetStatusCode added in v1.5.0

func (UnbindEnterpriseSnapshotPolicyResponse) String added in v1.5.0

type UnbindEnterpriseSnapshotPolicyResponseBody added in v1.5.0

type UnbindEnterpriseSnapshotPolicyResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UnbindEnterpriseSnapshotPolicyResponseBody) GoString added in v1.5.0

func (*UnbindEnterpriseSnapshotPolicyResponseBody) SetRequestId added in v1.5.0

func (UnbindEnterpriseSnapshotPolicyResponseBody) String added in v1.5.0

type UntagResourcesRequest added in v1.3.11

type UntagResourcesRequest struct {
	// Specifies whether to remove all tags from the resource. This parameter is valid only when the TagKey.N parameter is not specified. Valid values:
	//
	// *   true: removes all tags from the resource.
	// *   false: does not remove all tags from the resource.
	//
	// Default value: false.
	All *bool `json:"All,omitempty" xml:"All,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The region ID of the resource. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID list of the resource. You can specify up to 50 resource IDs in each call.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource. Valid values:
	//
	// *   dedicatedblockstoragecluster: dedicated block storage cluster
	// *   diskreplicapair: the replication pair.
	// *   diskreplicagroup: replication pair-consistent group
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The list of tag keys. You can specify up to 20 tag keys in the list.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString added in v1.3.11

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll added in v1.3.11

func (*UntagResourcesRequest) SetClientToken added in v1.3.11

func (s *UntagResourcesRequest) SetClientToken(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetRegionId added in v1.3.11

func (*UntagResourcesRequest) SetResourceId added in v1.3.11

func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType added in v1.3.11

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKey added in v1.3.11

func (UntagResourcesRequest) String added in v1.3.11

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse added in v1.3.11

type UntagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UntagResourcesResponse) GoString added in v1.3.11

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody added in v1.3.11

func (*UntagResourcesResponse) SetHeaders added in v1.3.11

func (*UntagResourcesResponse) SetStatusCode added in v1.3.11

func (UntagResourcesResponse) String added in v1.3.11

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody added in v1.3.11

type UntagResourcesResponseBody struct {
	// The ID of the request. The request ID is returned regardless of whether the call is successful.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString added in v1.3.11

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId added in v1.3.11

func (UntagResourcesResponseBody) String added in v1.3.11

type UpdateEnterpriseSnapshotPolicyRequest added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Snapshot replication destination information.
	CrossRegionCopyInfo *UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo `json:"CrossRegionCopyInfo,omitempty" xml:"CrossRegionCopyInfo,omitempty" type:"Struct"`
	// The description of the policy.
	Desc *string `json:"Desc,omitempty" xml:"Desc,omitempty"`
	// The name of the policy.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The id of the policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID . You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which snapshot policy is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Snapshot retention rule.
	RetainRule *UpdateEnterpriseSnapshotPolicyRequestRetainRule `json:"RetainRule,omitempty" xml:"RetainRule,omitempty" type:"Struct"`
	// The rule for scheduling.
	Schedule *UpdateEnterpriseSnapshotPolicyRequestSchedule `json:"Schedule,omitempty" xml:"Schedule,omitempty" type:"Struct"`
	// The special snapshot retention rules.
	SpecialRetainRules *UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRules `json:"SpecialRetainRules,omitempty" xml:"SpecialRetainRules,omitempty" type:"Struct"`
	// The status of the policy. Valid values:
	//
	// *   **ENABLED**: Enable snapshot policy execution.
	// *   **DISABLED**: Disable snapshot policy execution.
	State *string `json:"State,omitempty" xml:"State,omitempty"`
	// Advanced snapshot features.
	StorageRule *UpdateEnterpriseSnapshotPolicyRequestStorageRule `json:"StorageRule,omitempty" xml:"StorageRule,omitempty" type:"Struct"`
}

func (UpdateEnterpriseSnapshotPolicyRequest) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetClientToken added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetCrossRegionCopyInfo added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetDesc added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetName added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetPolicyId added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetRegionId added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetRetainRule added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetSchedule added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetSpecialRetainRules added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetState added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequest) SetStorageRule added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyRequest) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo struct {
	// Whether cross-region replication is enabled. The range of values:
	//
	// - true
	//
	// - false
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// Destination region information.
	Regions []*UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Repeated"`
}

func (UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo) SetEnabled added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfo) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions struct {
	// The region ID. You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which async replication is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Number of days to retain the destination snapshot. The range of values is greater than 1.
	RetainDays *int32 `json:"RetainDays,omitempty" xml:"RetainDays,omitempty"`
}

func (UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions) SetRegionId added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions) SetRetainDays added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyRequestCrossRegionCopyInfoRegions) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestRetainRule added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestRetainRule struct {
	// Maximum number of retained snapshots.
	Number *int32 `json:"Number,omitempty" xml:"Number,omitempty"`
	// The time interval , valid value greater than 1.
	TimeInterval *int32 `json:"TimeInterval,omitempty" xml:"TimeInterval,omitempty"`
	// The unit of time, valid values:
	//
	// - DAYS
	// - WEEKS
	TimeUnit *string `json:"TimeUnit,omitempty" xml:"TimeUnit,omitempty"`
}

func (UpdateEnterpriseSnapshotPolicyRequestRetainRule) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestRetainRule) SetNumber added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestRetainRule) SetTimeInterval added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestRetainRule) SetTimeUnit added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyRequestRetainRule) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestSchedule added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestSchedule struct {
	// The time when the policy will to be scheduled. Valid values: Set the parameter in a cron expression.
	//
	// For example, you can use `0 0 4 1/1 * ?` to specify 04:00:00 (UTC+8) on the first day of each month.
	CronExpression *string `json:"CronExpression,omitempty" xml:"CronExpression,omitempty"`
}

func (UpdateEnterpriseSnapshotPolicyRequestSchedule) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestSchedule) SetCronExpression added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyRequestSchedule) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRules added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRules struct {
	// Indicates whether the special retention is enabled.
	//
	// *   true: enable
	// *   false: disable
	Enabled *bool `json:"Enabled,omitempty" xml:"Enabled,omitempty"`
	// The special retention rules.
	Rules []*UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules `json:"Rules,omitempty" xml:"Rules,omitempty" type:"Repeated"`
}

func (UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRules) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRules) SetEnabled added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRules) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules struct {
	// The periodic unit for specially retained snapshots. If configured to WEEKS, it provides special retention for the first snapshot of each week. The retention period is determined by TimeUnit and TimeInterval. The range of values are:
	// - WEEKS
	// - MONTHS
	// - YEARS"
	SpecialPeriodUnit *string `json:"SpecialPeriodUnit,omitempty" xml:"SpecialPeriodUnit,omitempty"`
	// Retention Time Value. The range of values is greater than 1.
	TimeInterval *int32 `json:"TimeInterval,omitempty" xml:"TimeInterval,omitempty"`
	// Retention time unit for special snapshots. The range of values:
	//
	// - DAYS
	//
	// - WEEKS
	TimeUnit *string `json:"TimeUnit,omitempty" xml:"TimeUnit,omitempty"`
}

func (UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) SetSpecialPeriodUnit added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) SetTimeInterval added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) SetTimeUnit added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyRequestSpecialRetainRulesRules) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestStorageRule added in v1.5.0

type UpdateEnterpriseSnapshotPolicyRequestStorageRule struct {
	// Whether to enable the rapid availability of snapshots. The range of values:
	//
	// - true
	//
	// - false
	EnableImmediateAccess *bool `json:"EnableImmediateAccess,omitempty" xml:"EnableImmediateAccess,omitempty"`
}

func (UpdateEnterpriseSnapshotPolicyRequestStorageRule) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyRequestStorageRule) SetEnableImmediateAccess added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyRequestStorageRule) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyResponse added in v1.5.0

type UpdateEnterpriseSnapshotPolicyResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateEnterpriseSnapshotPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateEnterpriseSnapshotPolicyResponse) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyResponse) SetBody added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyResponse) SetHeaders added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyResponse) SetStatusCode added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyResponse) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyResponseBody added in v1.5.0

type UpdateEnterpriseSnapshotPolicyResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateEnterpriseSnapshotPolicyResponseBody) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyResponseBody) SetRequestId added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyResponseBody) String added in v1.5.0

type UpdateEnterpriseSnapshotPolicyShrinkRequest added in v1.5.0

type UpdateEnterpriseSnapshotPolicyShrinkRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// Snapshot replication destination information.
	CrossRegionCopyInfoShrink *string `json:"CrossRegionCopyInfo,omitempty" xml:"CrossRegionCopyInfo,omitempty"`
	// The description of the policy.
	Desc *string `json:"Desc,omitempty" xml:"Desc,omitempty"`
	// The name of the policy.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The id of the policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID . You can call the [DescribeRegions](~~354276~~) operation to query the most recent list of regions in which snapshot policy is supported.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// Snapshot retention rule.
	RetainRuleShrink *string `json:"RetainRule,omitempty" xml:"RetainRule,omitempty"`
	// The rule for scheduling.
	ScheduleShrink *string `json:"Schedule,omitempty" xml:"Schedule,omitempty"`
	// The special snapshot retention rules.
	SpecialRetainRulesShrink *string `json:"SpecialRetainRules,omitempty" xml:"SpecialRetainRules,omitempty"`
	// The status of the policy. Valid values:
	//
	// *   **ENABLED**: Enable snapshot policy execution.
	// *   **DISABLED**: Disable snapshot policy execution.
	State *string `json:"State,omitempty" xml:"State,omitempty"`
	// Advanced snapshot features.
	StorageRuleShrink *string `json:"StorageRule,omitempty" xml:"StorageRule,omitempty"`
}

func (UpdateEnterpriseSnapshotPolicyShrinkRequest) GoString added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetClientToken added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetCrossRegionCopyInfoShrink added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetDesc added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetName added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetPolicyId added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetRegionId added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetRetainRuleShrink added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetScheduleShrink added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetSpecialRetainRulesShrink added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetState added in v1.5.0

func (*UpdateEnterpriseSnapshotPolicyShrinkRequest) SetStorageRuleShrink added in v1.5.0

func (UpdateEnterpriseSnapshotPolicyShrinkRequest) String added in v1.5.0

type UpdateSolutionInstanceAttributeRequest added in v1.5.0

type UpdateSolutionInstanceAttributeRequest struct {
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The description of the instance.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The name of the instance.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The ID of the region where the dedicated block storage cluster resides. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The ID of the instance.
	SolutionInstanceId *string `json:"SolutionInstanceId,omitempty" xml:"SolutionInstanceId,omitempty"`
}

func (UpdateSolutionInstanceAttributeRequest) GoString added in v1.5.0

func (*UpdateSolutionInstanceAttributeRequest) SetClientToken added in v1.5.0

func (*UpdateSolutionInstanceAttributeRequest) SetDescription added in v1.5.0

func (*UpdateSolutionInstanceAttributeRequest) SetName added in v1.5.0

func (*UpdateSolutionInstanceAttributeRequest) SetRegionId added in v1.5.0

func (*UpdateSolutionInstanceAttributeRequest) SetSolutionInstanceId added in v1.5.0

func (UpdateSolutionInstanceAttributeRequest) String added in v1.5.0

type UpdateSolutionInstanceAttributeResponse added in v1.5.0

type UpdateSolutionInstanceAttributeResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateSolutionInstanceAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateSolutionInstanceAttributeResponse) GoString added in v1.5.0

func (*UpdateSolutionInstanceAttributeResponse) SetBody added in v1.5.0

func (*UpdateSolutionInstanceAttributeResponse) SetHeaders added in v1.5.0

func (*UpdateSolutionInstanceAttributeResponse) SetStatusCode added in v1.5.0

func (UpdateSolutionInstanceAttributeResponse) String added in v1.5.0

type UpdateSolutionInstanceAttributeResponseBody added in v1.5.0

type UpdateSolutionInstanceAttributeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UpdateSolutionInstanceAttributeResponseBody) GoString added in v1.5.0

func (*UpdateSolutionInstanceAttributeResponseBody) SetRequestId added in v1.5.0

func (UpdateSolutionInstanceAttributeResponseBody) String added in v1.5.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL