v20201214

package
v3.0.1103+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Failed to bind CDC with VPC.
	FAILEDOPERATION_CDCBINDVPCFAIL = "FailedOperation.CdcBindVpcFail"

	// Failed to delete the site.
	FAILEDOPERATION_FAILDELETESITE = "FailedOperation.FailDeleteSite"

	// The model is not supported currently.
	INVALIDPARAMETER_INSTANCETYPENOTSUPPORT = "InvalidParameter.InstanceTypeNotSupport"

	// The parameter value is invalid.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The returned value of ccdb is not 0.
	INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

	// The COS size of CDC is incorrect.
	INVALIDPARAMETERVALUE_INVALIDVALUEDEDICATEDCLUSTERCOSSIZE = "InvalidParameterValue.InvalidValueDedicatedClusterCosSize"

	// The CBS size is incorrect. It must be an integral multiple of 40.
	INVALIDPARAMETERVALUE_INVALIDVALUEDEDICATEDCLUSTERDATASTEPSIZE = "InvalidParameterValue.InvalidValueDedicatedClusterDataStepSize"

	// The region is invalid.
	INVALIDPARAMETERVALUE_INVALIDVALUEREGION = "InvalidParameterValue.InvalidValueRegion"

	// Exceeds the size limit.
	INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"

	// The Region ID is invalid.
	INVALIDPARAMETERVALUE_REGION = "InvalidParameterValue.Region"

	// The parameter name is too long.
	INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"

	// The zone and region do not match.
	INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"

	// The current AZ is not supported.
	INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported"

	// Parameters are missing.
	MISSINGPARAMETER = "MissingParameter"

	// Enter at least one input parameter.
	MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne"

	// The capacity of cloud hard disk is insufficient.
	RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable"

	// The resource is not found.
	RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

	// Please check whether the resource ID exists.
	RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERORDERID = "ResourceNotFound.InvalidDedicatedClusterOrderId"

	// The resource is not found.
	RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERTYPEID = "ResourceNotFound.InvalidDedicatedClusterTypeId"

	// The site equipment room is invalid.
	RESOURCENOTFOUND_INVALIDSITEID = "ResourceNotFound.InvalidSiteId"

	// Non-CUSTOMER type app id is not supported.
	UNSUPPORTEDOPERATION_NONCUSTOMERAPPIDNOTSUPPORT = "UnsupportedOperation.NonCustomerAppIdNotSupport"
)
View Source
const APIVersion = "2020-12-14"

Variables

This section is empty.

Functions

This section is empty.

Types

type CbsInfo

type CbsInfo struct {
	// CBS storage size, in TB
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// CBS storage type, SSD by default
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateDedicatedCluster

func (c *Client) CreateDedicatedCluster(request *CreateDedicatedClusterRequest) (response *CreateDedicatedClusterResponse, err error)

CreateDedicatedCluster This API is used to create a CDC.

error code that may be returned:

FAILEDOPERATION_CDCBINDVPCFAIL = "FailedOperation.CdcBindVpcFail"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"
RESOURCENOTFOUND_INVALIDSITEID = "ResourceNotFound.InvalidSiteId"

func (*Client) CreateDedicatedClusterOrder

func (c *Client) CreateDedicatedClusterOrder(request *CreateDedicatedClusterOrderRequest) (response *CreateDedicatedClusterOrderResponse, err error)

CreateDedicatedClusterOrder This API is used to create a CDC order.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDVALUEDEDICATEDCLUSTERCOSSIZE = "InvalidParameterValue.InvalidValueDedicatedClusterCosSize"
INVALIDPARAMETERVALUE_INVALIDVALUEDEDICATEDCLUSTERDATASTEPSIZE = "InvalidParameterValue.InvalidValueDedicatedClusterDataStepSize"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERORDERID = "ResourceNotFound.InvalidDedicatedClusterOrderId"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERTYPEID = "ResourceNotFound.InvalidDedicatedClusterTypeId"
UNSUPPORTEDOPERATION_NONCUSTOMERAPPIDNOTSUPPORT = "UnsupportedOperation.NonCustomerAppIdNotSupport"

func (*Client) CreateDedicatedClusterOrderWithContext

func (c *Client) CreateDedicatedClusterOrderWithContext(ctx context.Context, request *CreateDedicatedClusterOrderRequest) (response *CreateDedicatedClusterOrderResponse, err error)

CreateDedicatedClusterOrder This API is used to create a CDC order.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDVALUEDEDICATEDCLUSTERCOSSIZE = "InvalidParameterValue.InvalidValueDedicatedClusterCosSize"
INVALIDPARAMETERVALUE_INVALIDVALUEDEDICATEDCLUSTERDATASTEPSIZE = "InvalidParameterValue.InvalidValueDedicatedClusterDataStepSize"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERORDERID = "ResourceNotFound.InvalidDedicatedClusterOrderId"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERTYPEID = "ResourceNotFound.InvalidDedicatedClusterTypeId"
UNSUPPORTEDOPERATION_NONCUSTOMERAPPIDNOTSUPPORT = "UnsupportedOperation.NonCustomerAppIdNotSupport"

func (*Client) CreateDedicatedClusterWithContext

func (c *Client) CreateDedicatedClusterWithContext(ctx context.Context, request *CreateDedicatedClusterRequest) (response *CreateDedicatedClusterResponse, err error)

CreateDedicatedCluster This API is used to create a CDC.

error code that may be returned:

FAILEDOPERATION_CDCBINDVPCFAIL = "FailedOperation.CdcBindVpcFail"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"
RESOURCENOTFOUND_INVALIDSITEID = "ResourceNotFound.InvalidSiteId"

func (*Client) CreateSite

func (c *Client) CreateSite(request *CreateSiteRequest) (response *CreateSiteResponse, err error)

CreateSite This API is used to create a site.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"

func (*Client) CreateSiteWithContext

func (c *Client) CreateSiteWithContext(ctx context.Context, request *CreateSiteRequest) (response *CreateSiteResponse, err error)

CreateSite This API is used to create a site.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"

func (*Client) DeleteDedicatedClusters

func (c *Client) DeleteDedicatedClusters(request *DeleteDedicatedClustersRequest) (response *DeleteDedicatedClustersResponse, err error)

DeleteDedicatedClusters This API is used to delete a CDC.

error code that may be returned:

INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DeleteDedicatedClustersWithContext

func (c *Client) DeleteDedicatedClustersWithContext(ctx context.Context, request *DeleteDedicatedClustersRequest) (response *DeleteDedicatedClustersResponse, err error)

DeleteDedicatedClusters This API is used to delete a CDC.

error code that may be returned:

INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DeleteSites

func (c *Client) DeleteSites(request *DeleteSitesRequest) (response *DeleteSitesResponse, err error)

DeleteSites This API is used to delete a site.

error code that may be returned:

FAILEDOPERATION_FAILDELETESITE = "FailedOperation.FailDeleteSite"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INVALIDSITEID = "ResourceNotFound.InvalidSiteId"

func (*Client) DeleteSitesWithContext

func (c *Client) DeleteSitesWithContext(ctx context.Context, request *DeleteSitesRequest) (response *DeleteSitesResponse, err error)

DeleteSites This API is used to delete a site.

error code that may be returned:

FAILEDOPERATION_FAILDELETESITE = "FailedOperation.FailDeleteSite"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INVALIDSITEID = "ResourceNotFound.InvalidSiteId"

func (*Client) DescribeDedicatedClusterCosCapacity

func (c *Client) DescribeDedicatedClusterCosCapacity(request *DescribeDedicatedClusterCosCapacityRequest) (response *DescribeDedicatedClusterCosCapacityResponse, err error)

DescribeDedicatedClusterCosCapacity This API is used to query the Cloud Object Storage (COS) capacity of the CDC.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DescribeDedicatedClusterCosCapacityWithContext

func (c *Client) DescribeDedicatedClusterCosCapacityWithContext(ctx context.Context, request *DescribeDedicatedClusterCosCapacityRequest) (response *DescribeDedicatedClusterCosCapacityResponse, err error)

DescribeDedicatedClusterCosCapacity This API is used to query the Cloud Object Storage (COS) capacity of the CDC.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DescribeDedicatedClusterHostStatistics

func (c *Client) DescribeDedicatedClusterHostStatistics(request *DescribeDedicatedClusterHostStatisticsRequest) (response *DescribeDedicatedClusterHostStatisticsResponse, err error)

DescribeDedicatedClusterHostStatistics This API is used to query the statistic information of the host in the CDC.

error code that may be returned:

INVALIDPARAMETER_INSTANCETYPENOTSUPPORT = "InvalidParameter.InstanceTypeNotSupport"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DescribeDedicatedClusterHostStatisticsWithContext

func (c *Client) DescribeDedicatedClusterHostStatisticsWithContext(ctx context.Context, request *DescribeDedicatedClusterHostStatisticsRequest) (response *DescribeDedicatedClusterHostStatisticsResponse, err error)

DescribeDedicatedClusterHostStatistics This API is used to query the statistic information of the host in the CDC.

error code that may be returned:

INVALIDPARAMETER_INSTANCETYPENOTSUPPORT = "InvalidParameter.InstanceTypeNotSupport"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DescribeDedicatedClusterHosts

func (c *Client) DescribeDedicatedClusterHosts(request *DescribeDedicatedClusterHostsRequest) (response *DescribeDedicatedClusterHostsResponse, err error)

DescribeDedicatedClusterHosts This API is used to query host information of the CDC

error code that may be returned:

INVALIDPARAMETER_INSTANCETYPENOTSUPPORT = "InvalidParameter.InstanceTypeNotSupport"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DescribeDedicatedClusterHostsWithContext

func (c *Client) DescribeDedicatedClusterHostsWithContext(ctx context.Context, request *DescribeDedicatedClusterHostsRequest) (response *DescribeDedicatedClusterHostsResponse, err error)

DescribeDedicatedClusterHosts This API is used to query host information of the CDC

error code that may be returned:

INVALIDPARAMETER_INSTANCETYPENOTSUPPORT = "InvalidParameter.InstanceTypeNotSupport"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DescribeDedicatedClusterInstanceTypes

func (c *Client) DescribeDedicatedClusterInstanceTypes(request *DescribeDedicatedClusterInstanceTypesRequest) (response *DescribeDedicatedClusterInstanceTypesResponse, err error)

DescribeDedicatedClusterInstanceTypes This API is used to query instance types supported by the CDC.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DescribeDedicatedClusterInstanceTypesWithContext

func (c *Client) DescribeDedicatedClusterInstanceTypesWithContext(ctx context.Context, request *DescribeDedicatedClusterInstanceTypesRequest) (response *DescribeDedicatedClusterInstanceTypesResponse, err error)

DescribeDedicatedClusterInstanceTypes This API is used to query instance types supported by the CDC.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"

func (*Client) DescribeDedicatedClusterOrders

func (c *Client) DescribeDedicatedClusterOrders(request *DescribeDedicatedClusterOrdersRequest) (response *DescribeDedicatedClusterOrdersResponse, err error)

DescribeDedicatedClusterOrders This API is used to query the list of CDC orders.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

func (*Client) DescribeDedicatedClusterOrdersWithContext

func (c *Client) DescribeDedicatedClusterOrdersWithContext(ctx context.Context, request *DescribeDedicatedClusterOrdersRequest) (response *DescribeDedicatedClusterOrdersResponse, err error)

DescribeDedicatedClusterOrders This API is used to query the list of CDC orders.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

func (*Client) DescribeDedicatedClusterOverview

func (c *Client) DescribeDedicatedClusterOverview(request *DescribeDedicatedClusterOverviewRequest) (response *DescribeDedicatedClusterOverviewResponse, err error)

DescribeDedicatedClusterOverview This API is used to query the overview of the CDC

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

func (*Client) DescribeDedicatedClusterOverviewWithContext

func (c *Client) DescribeDedicatedClusterOverviewWithContext(ctx context.Context, request *DescribeDedicatedClusterOverviewRequest) (response *DescribeDedicatedClusterOverviewResponse, err error)

DescribeDedicatedClusterOverview This API is used to query the overview of the CDC

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

func (*Client) DescribeDedicatedClusterTypes

func (c *Client) DescribeDedicatedClusterTypes(request *DescribeDedicatedClusterTypesRequest) (response *DescribeDedicatedClusterTypesResponse, err error)

DescribeDedicatedClusterTypes This API is used to query the configuration list of the CDC.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

func (*Client) DescribeDedicatedClusterTypesWithContext

func (c *Client) DescribeDedicatedClusterTypesWithContext(ctx context.Context, request *DescribeDedicatedClusterTypesRequest) (response *DescribeDedicatedClusterTypesResponse, err error)

DescribeDedicatedClusterTypes This API is used to query the configuration list of the CDC.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

func (*Client) DescribeDedicatedClusters

func (c *Client) DescribeDedicatedClusters(request *DescribeDedicatedClustersRequest) (response *DescribeDedicatedClustersResponse, err error)

DescribeDedicatedClusters This API is used to query the CDC list.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"

func (*Client) DescribeDedicatedClustersWithContext

func (c *Client) DescribeDedicatedClustersWithContext(ctx context.Context, request *DescribeDedicatedClustersRequest) (response *DescribeDedicatedClustersResponse, err error)

DescribeDedicatedClusters This API is used to query the CDC list.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"

func (*Client) DescribeDedicatedSupportedZones

func (c *Client) DescribeDedicatedSupportedZones(request *DescribeDedicatedSupportedZonesRequest) (response *DescribeDedicatedSupportedZonesResponse, err error)

DescribeDedicatedSupportedZones This API is used to query the list of AZs supported by the CDC.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDVALUEREGION = "InvalidParameterValue.InvalidValueRegion"
INVALIDPARAMETERVALUE_REGION = "InvalidParameterValue.Region"
INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"

func (*Client) DescribeDedicatedSupportedZonesWithContext

func (c *Client) DescribeDedicatedSupportedZonesWithContext(ctx context.Context, request *DescribeDedicatedSupportedZonesRequest) (response *DescribeDedicatedSupportedZonesResponse, err error)

DescribeDedicatedSupportedZones This API is used to query the list of AZs supported by the CDC.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDVALUEREGION = "InvalidParameterValue.InvalidValueRegion"
INVALIDPARAMETERVALUE_REGION = "InvalidParameterValue.Region"
INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"

func (*Client) DescribeSites

func (c *Client) DescribeSites(request *DescribeSitesRequest) (response *DescribeSitesResponse, err error)

DescribeSites This API is used to query the site list.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDVALUEREGION = "InvalidParameterValue.InvalidValueRegion"
INVALIDPARAMETERVALUE_REGION = "InvalidParameterValue.Region"
INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"

func (*Client) DescribeSitesDetail

func (c *Client) DescribeSitesDetail(request *DescribeSitesDetailRequest) (response *DescribeSitesDetailResponse, err error)

DescribeSitesDetail This API is used to query site details.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

func (*Client) DescribeSitesDetailWithContext

func (c *Client) DescribeSitesDetailWithContext(ctx context.Context, request *DescribeSitesDetailRequest) (response *DescribeSitesDetailResponse, err error)

DescribeSitesDetail This API is used to query site details.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat"

func (*Client) DescribeSitesWithContext

func (c *Client) DescribeSitesWithContext(ctx context.Context, request *DescribeSitesRequest) (response *DescribeSitesResponse, err error)

DescribeSites This API is used to query the site list.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDVALUEREGION = "InvalidParameterValue.InvalidValueRegion"
INVALIDPARAMETERVALUE_REGION = "InvalidParameterValue.Region"
INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"

func (*Client) ModifyDedicatedClusterInfo

func (c *Client) ModifyDedicatedClusterInfo(request *ModifyDedicatedClusterInfoRequest) (response *ModifyDedicatedClusterInfoResponse, err error)

ModifyDedicatedClusterInfo This API is used to modify the CDC information.

error code that may be returned:

INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"
INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported"
MISSINGPARAMETER = "MissingParameter"
MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne"
RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"
RESOURCENOTFOUND_INVALIDSITEID = "ResourceNotFound.InvalidSiteId"

func (*Client) ModifyDedicatedClusterInfoWithContext

func (c *Client) ModifyDedicatedClusterInfoWithContext(ctx context.Context, request *ModifyDedicatedClusterInfoRequest) (response *ModifyDedicatedClusterInfoResponse, err error)

ModifyDedicatedClusterInfo This API is used to modify the CDC information.

error code that may be returned:

INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion"
INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported"
MISSINGPARAMETER = "MissingParameter"
MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne"
RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable"
RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERID = "ResourceNotFound.InvalidDedicatedClusterId"
RESOURCENOTFOUND_INVALIDSITEID = "ResourceNotFound.InvalidSiteId"

func (*Client) ModifyOrderStatus

func (c *Client) ModifyOrderStatus(request *ModifyOrderStatusRequest) (response *ModifyOrderStatusResponse, err error)

ModifyOrderStatus This API is used to modify the status of large and small orders.

error code that may be returned:

RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERORDERID = "ResourceNotFound.InvalidDedicatedClusterOrderId"

func (*Client) ModifyOrderStatusWithContext

func (c *Client) ModifyOrderStatusWithContext(ctx context.Context, request *ModifyOrderStatusRequest) (response *ModifyOrderStatusResponse, err error)

ModifyOrderStatus This API is used to modify the status of large and small orders.

error code that may be returned:

RESOURCENOTFOUND_INVALIDDEDICATEDCLUSTERORDERID = "ResourceNotFound.InvalidDedicatedClusterOrderId"

func (*Client) ModifySiteDeviceInfo

func (c *Client) ModifySiteDeviceInfo(request *ModifySiteDeviceInfoRequest) (response *ModifySiteDeviceInfoResponse, err error)

ModifySiteDeviceInfo This API is used to modify the information about devices in the equipment room.

error code that may be returned:

MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne"

func (*Client) ModifySiteDeviceInfoWithContext

func (c *Client) ModifySiteDeviceInfoWithContext(ctx context.Context, request *ModifySiteDeviceInfoRequest) (response *ModifySiteDeviceInfoResponse, err error)

ModifySiteDeviceInfo This API is used to modify the information about devices in the equipment room.

error code that may be returned:

MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne"

func (*Client) ModifySiteInfo

func (c *Client) ModifySiteInfo(request *ModifySiteInfoRequest) (response *ModifySiteInfoResponse, err error)

ModifySiteInfo This API is used to modify the equipment room information.

error code that may be returned:

INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne"

func (*Client) ModifySiteInfoWithContext

func (c *Client) ModifySiteInfoWithContext(ctx context.Context, request *ModifySiteInfoRequest) (response *ModifySiteInfoResponse, err error)

ModifySiteInfo This API is used to modify the equipment room information.

error code that may be returned:

INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne"

type CosCapacity

type CosCapacity struct {
	// Total capacity, in GB
	TotalCapacity *float64 `json:"TotalCapacity,omitnil,omitempty" name:"TotalCapacity"`

	// Available capacity, in GB
	TotalFreeCapacity *float64 `json:"TotalFreeCapacity,omitnil,omitempty" name:"TotalFreeCapacity"`

	// Used capacity, in GB
	TotalUsedCapacity *float64 `json:"TotalUsedCapacity,omitnil,omitempty" name:"TotalUsedCapacity"`
}

type CosInfo

type CosInfo struct {
	// COS size, in TB
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// COS type, COS by default
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}

type CreateDedicatedClusterOrderRequest

type CreateDedicatedClusterOrderRequest struct {
	*tchttp.BaseRequest

	// CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// Array of order-related CDC types
	DedicatedClusterTypes []*DedicatedClusterTypeInfo `json:"DedicatedClusterTypes,omitnil,omitempty" name:"DedicatedClusterTypes"`

	// Order-related COS storage information
	CosInfo *CosInfo `json:"CosInfo,omitnil,omitempty" name:"CosInfo"`

	// Order-related CBS storage information
	CbsInfo *CbsInfo `json:"CbsInfo,omitnil,omitempty" name:"CbsInfo"`

	// Purchase source, cloudApi by default
	PurchaseSource *string `json:"PurchaseSource,omitnil,omitempty" name:"PurchaseSource"`

	// DedicatedClusterOrderId needs to be submitted when API is invoked to submit an order.
	DedicatedClusterOrderId *string `json:"DedicatedClusterOrderId,omitnil,omitempty" name:"DedicatedClusterOrderId"`
}

func NewCreateDedicatedClusterOrderRequest

func NewCreateDedicatedClusterOrderRequest() (request *CreateDedicatedClusterOrderRequest)

func (*CreateDedicatedClusterOrderRequest) FromJsonString

func (r *CreateDedicatedClusterOrderRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDedicatedClusterOrderRequest) ToJsonString

func (r *CreateDedicatedClusterOrderRequest) ToJsonString() string

type CreateDedicatedClusterOrderRequestParams

type CreateDedicatedClusterOrderRequestParams struct {
	// CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// Array of order-related CDC types
	DedicatedClusterTypes []*DedicatedClusterTypeInfo `json:"DedicatedClusterTypes,omitnil,omitempty" name:"DedicatedClusterTypes"`

	// Order-related COS storage information
	CosInfo *CosInfo `json:"CosInfo,omitnil,omitempty" name:"CosInfo"`

	// Order-related CBS storage information
	CbsInfo *CbsInfo `json:"CbsInfo,omitnil,omitempty" name:"CbsInfo"`

	// Purchase source, cloudApi by default
	PurchaseSource *string `json:"PurchaseSource,omitnil,omitempty" name:"PurchaseSource"`

	// DedicatedClusterOrderId needs to be submitted when API is invoked to submit an order.
	DedicatedClusterOrderId *string `json:"DedicatedClusterOrderId,omitnil,omitempty" name:"DedicatedClusterOrderId"`
}

Predefined struct for user

type CreateDedicatedClusterOrderResponse

type CreateDedicatedClusterOrderResponse struct {
	*tchttp.BaseResponse
	Response *CreateDedicatedClusterOrderResponseParams `json:"Response"`
}

func NewCreateDedicatedClusterOrderResponse

func NewCreateDedicatedClusterOrderResponse() (response *CreateDedicatedClusterOrderResponse)

func (*CreateDedicatedClusterOrderResponse) FromJsonString

func (r *CreateDedicatedClusterOrderResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDedicatedClusterOrderResponse) ToJsonString

func (r *CreateDedicatedClusterOrderResponse) ToJsonString() string

type CreateDedicatedClusterOrderResponseParams

type CreateDedicatedClusterOrderResponseParams struct {
	// CDC order id
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	DedicatedClusterOrderId *string `json:"DedicatedClusterOrderId,omitnil,omitempty" name:"DedicatedClusterOrderId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDedicatedClusterRequest

type CreateDedicatedClusterRequest struct {
	*tchttp.BaseRequest

	// SiteId to which the CDC belongs
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// CDC name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// AZ to which the CDC belongs
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// CDC description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewCreateDedicatedClusterRequest

func NewCreateDedicatedClusterRequest() (request *CreateDedicatedClusterRequest)

func (*CreateDedicatedClusterRequest) FromJsonString

func (r *CreateDedicatedClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDedicatedClusterRequest) ToJsonString

func (r *CreateDedicatedClusterRequest) ToJsonString() string

type CreateDedicatedClusterRequestParams

type CreateDedicatedClusterRequestParams struct {
	// SiteId to which the CDC belongs
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// CDC name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// AZ to which the CDC belongs
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// CDC description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type CreateDedicatedClusterResponse

type CreateDedicatedClusterResponse struct {
	*tchttp.BaseResponse
	Response *CreateDedicatedClusterResponseParams `json:"Response"`
}

func NewCreateDedicatedClusterResponse

func NewCreateDedicatedClusterResponse() (response *CreateDedicatedClusterResponse)

func (*CreateDedicatedClusterResponse) FromJsonString

func (r *CreateDedicatedClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDedicatedClusterResponse) ToJsonString

func (r *CreateDedicatedClusterResponse) ToJsonString() string

type CreateDedicatedClusterResponseParams

type CreateDedicatedClusterResponseParams struct {
	// Created CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateSiteRequest

type CreateSiteRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Country where the site is located
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// Province where the site is located
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// City where the site is located
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// Detailed address of the site
	AddressLine *string `json:"AddressLine,omitnil,omitempty" name:"AddressLine"`

	// Site description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Note
	Note *string `json:"Note,omitnil,omitempty" name:"Note"`

	// You are using optical fiber type to connect the CDC device to the network Single-mode or multi-mode fibers are available.
	FiberType *string `json:"FiberType,omitnil,omitempty" name:"FiberType"`

	// Optical standard used to connect the CDC device to the network This field depends on the uplink speed, optical fiber type, and distance to upstream equipment.
	OpticalStandard *string `json:"OpticalStandard,omitnil,omitempty" name:"OpticalStandard"`

	// Type of power connector
	PowerConnectors *string `json:"PowerConnectors,omitnil,omitempty" name:"PowerConnectors"`

	// Whether power is supplied from above or below the rack
	PowerFeedDrop *string `json:"PowerFeedDrop,omitnil,omitempty" name:"PowerFeedDrop"`

	// Maximum weight capacity (KG)
	MaxWeight *int64 `json:"MaxWeight,omitnil,omitempty" name:"MaxWeight"`

	// Power consumption (KW)
	PowerDrawKva *int64 `json:"PowerDrawKva,omitnil,omitempty" name:"PowerDrawKva"`

	// Uplink speed from the network to Tencent Cloud Region
	UplinkSpeedGbps *int64 `json:"UplinkSpeedGbps,omitnil,omitempty" name:"UplinkSpeedGbps"`

	// Number of uplinks used by each CDC device (2 devices per rack) when connected to the network
	UplinkCount *int64 `json:"UplinkCount,omitnil,omitempty" name:"UplinkCount"`

	// Whether the following environmental conditions are met:
	// 1. There are no material requirements or the acceptance standard on site that will affect the delivery and installation of the CDC device.
	// 2. The following conditions are met for finalized rack positions:
	// Temperature ranges from 41 to 104°F (5 to 40°C).
	// Humidity ranges from 10°F (-12°C) to 70°F (21°C) and relative humidity ranges from 8% RH to 80% RH.
	// Air flows from front to back at the rack position and there is sufficient air in CFM (cubic feet per minute). The air quantity in CFM must be 145.8 times the power consumption (in KVA) of CDC.
	ConditionRequirement *bool `json:"ConditionRequirement,omitnil,omitempty" name:"ConditionRequirement"`

	// Whether the following dimension conditions are met:
	// Your loading dock can accommodate one rack container (H x W x D = 94" x 54" x 48").
	// You can provide a clear route from the delivery point of your rack (H x W x D = 80" x 24" x 48") to its final installation location. You should consider platforms, corridors, doors, turns, ramps, freight elevators as well as other access restrictions when measuring the depth.
	// There shall be a 48" or greater front clearance and a 24" or greater rear clearance where the CDC is finally installed.
	DimensionRequirement *bool `json:"DimensionRequirement,omitnil,omitempty" name:"DimensionRequirement"`

	// Whether redundant upstream equipment (switch or router) is provided so that both network devices can be connected to the network.
	RedundantNetworking *bool `json:"RedundantNetworking,omitnil,omitempty" name:"RedundantNetworking"`

	// Postal code of the site area
	PostalCode *int64 `json:"PostalCode,omitnil,omitempty" name:"PostalCode"`

	// Detailed address of the site area (to be added)
	OptionalAddressLine *string `json:"OptionalAddressLine,omitnil,omitempty" name:"OptionalAddressLine"`

	// Whether you need help from Tencent Cloud for rack installation?
	NeedHelp *bool `json:"NeedHelp,omitnil,omitempty" name:"NeedHelp"`

	// Whether there is power redundancy?
	RedundantPower *bool `json:"RedundantPower,omitnil,omitempty" name:"RedundantPower"`

	// Whether there is an upstream circuit breaker?
	BreakerRequirement *bool `json:"BreakerRequirement,omitnil,omitempty" name:"BreakerRequirement"`
}

func NewCreateSiteRequest

func NewCreateSiteRequest() (request *CreateSiteRequest)

func (*CreateSiteRequest) FromJsonString

func (r *CreateSiteRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSiteRequest) ToJsonString

func (r *CreateSiteRequest) ToJsonString() string

type CreateSiteRequestParams

type CreateSiteRequestParams struct {
	// Site name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Country where the site is located
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// Province where the site is located
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// City where the site is located
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// Detailed address of the site
	AddressLine *string `json:"AddressLine,omitnil,omitempty" name:"AddressLine"`

	// Site description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Note
	Note *string `json:"Note,omitnil,omitempty" name:"Note"`

	// You are using optical fiber type to connect the CDC device to the network Single-mode or multi-mode fibers are available.
	FiberType *string `json:"FiberType,omitnil,omitempty" name:"FiberType"`

	// Optical standard used to connect the CDC device to the network This field depends on the uplink speed, optical fiber type, and distance to upstream equipment.
	OpticalStandard *string `json:"OpticalStandard,omitnil,omitempty" name:"OpticalStandard"`

	// Type of power connector
	PowerConnectors *string `json:"PowerConnectors,omitnil,omitempty" name:"PowerConnectors"`

	// Whether power is supplied from above or below the rack
	PowerFeedDrop *string `json:"PowerFeedDrop,omitnil,omitempty" name:"PowerFeedDrop"`

	// Maximum weight capacity (KG)
	MaxWeight *int64 `json:"MaxWeight,omitnil,omitempty" name:"MaxWeight"`

	// Power consumption (KW)
	PowerDrawKva *int64 `json:"PowerDrawKva,omitnil,omitempty" name:"PowerDrawKva"`

	// Uplink speed from the network to Tencent Cloud Region
	UplinkSpeedGbps *int64 `json:"UplinkSpeedGbps,omitnil,omitempty" name:"UplinkSpeedGbps"`

	// Number of uplinks used by each CDC device (2 devices per rack) when connected to the network
	UplinkCount *int64 `json:"UplinkCount,omitnil,omitempty" name:"UplinkCount"`

	// Whether the following environmental conditions are met:
	// 1. There are no material requirements or the acceptance standard on site that will affect the delivery and installation of the CDC device.
	// 2. The following conditions are met for finalized rack positions:
	// Temperature ranges from 41 to 104°F (5 to 40°C).
	// Humidity ranges from 10°F (-12°C) to 70°F (21°C) and relative humidity ranges from 8% RH to 80% RH.
	// Air flows from front to back at the rack position and there is sufficient air in CFM (cubic feet per minute). The air quantity in CFM must be 145.8 times the power consumption (in KVA) of CDC.
	ConditionRequirement *bool `json:"ConditionRequirement,omitnil,omitempty" name:"ConditionRequirement"`

	// Whether the following dimension conditions are met:
	// Your loading dock can accommodate one rack container (H x W x D = 94" x 54" x 48").
	// You can provide a clear route from the delivery point of your rack (H x W x D = 80" x 24" x 48") to its final installation location. You should consider platforms, corridors, doors, turns, ramps, freight elevators as well as other access restrictions when measuring the depth.
	// There shall be a 48" or greater front clearance and a 24" or greater rear clearance where the CDC is finally installed.
	DimensionRequirement *bool `json:"DimensionRequirement,omitnil,omitempty" name:"DimensionRequirement"`

	// Whether redundant upstream equipment (switch or router) is provided so that both network devices can be connected to the network.
	RedundantNetworking *bool `json:"RedundantNetworking,omitnil,omitempty" name:"RedundantNetworking"`

	// Postal code of the site area
	PostalCode *int64 `json:"PostalCode,omitnil,omitempty" name:"PostalCode"`

	// Detailed address of the site area (to be added)
	OptionalAddressLine *string `json:"OptionalAddressLine,omitnil,omitempty" name:"OptionalAddressLine"`

	// Whether you need help from Tencent Cloud for rack installation?
	NeedHelp *bool `json:"NeedHelp,omitnil,omitempty" name:"NeedHelp"`

	// Whether there is power redundancy?
	RedundantPower *bool `json:"RedundantPower,omitnil,omitempty" name:"RedundantPower"`

	// Whether there is an upstream circuit breaker?
	BreakerRequirement *bool `json:"BreakerRequirement,omitnil,omitempty" name:"BreakerRequirement"`
}

Predefined struct for user

type CreateSiteResponse

type CreateSiteResponse struct {
	*tchttp.BaseResponse
	Response *CreateSiteResponseParams `json:"Response"`
}

func NewCreateSiteResponse

func NewCreateSiteResponse() (response *CreateSiteResponse)

func (*CreateSiteResponse) FromJsonString

func (r *CreateSiteResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSiteResponse) ToJsonString

func (r *CreateSiteResponse) ToJsonString() string

type CreateSiteResponseParams

type CreateSiteResponseParams struct {
	// Created Site id
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DedicatedCluster

type DedicatedCluster struct {
	// CDC id, e.g., cluster-xxxxx.
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// Name of AZ to which the CDC belongs
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// CDC description
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// CDC name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Life cycle of the CDC, e.g., PENDING.
	LifecycleStatus *string `json:"LifecycleStatus,omitnil,omitempty" name:"LifecycleStatus"`

	// Creation time of the CDC
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Site id to which the CDC belongs
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`
}

type DedicatedClusterInstanceType

type DedicatedClusterInstanceType struct {
	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Type name
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// NIC type, e.g., 25 represents a 25 GB NIC.
	NetworkCard *int64 `json:"NetworkCard,omitnil,omitempty" name:"NetworkCard"`

	// Number of CPU cores of instance, in cores
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Memory capacity of instance, in GB
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance family
	InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"`

	// Type name
	TypeName *string `json:"TypeName,omitnil,omitempty" name:"TypeName"`

	// Local storage block count
	StorageBlockAmount *int64 `json:"StorageBlockAmount,omitnil,omitempty" name:"StorageBlockAmount"`

	// LAN bandwidth, in GB/s
	InstanceBandwidth *float64 `json:"InstanceBandwidth,omitnil,omitempty" name:"InstanceBandwidth"`

	// Network packet receiving/sending capacity, in 10,000 PPS
	InstancePps *int64 `json:"InstancePps,omitnil,omitempty" name:"InstancePps"`

	// Processor type
	CpuType *string `json:"CpuType,omitnil,omitempty" name:"CpuType"`

	// Number of GPUs of instance
	Gpu *int64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// Number of FPGAs of instance.
	Fpga *int64 `json:"Fpga,omitnil,omitempty" name:"Fpga"`

	// Type description
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// Whether the instance is for sale? Value values: <br><li>SELL: Indicates that the instance is for sale. <br><li>SOLD_OUT: Indicates that the instance has been sold out.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

type DedicatedClusterOrder

type DedicatedClusterOrder struct {
	// CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// CDC type id (moved to the next level, obsolete and will be deleted later)
	DedicatedClusterTypeId *string `json:"DedicatedClusterTypeId,omitnil,omitempty" name:"DedicatedClusterTypeId"`

	// List of supported storage types (moved to the next level, obsolete and will be deleted later)
	SupportedStorageType []*string `json:"SupportedStorageType,omitnil,omitempty" name:"SupportedStorageType"`

	// Supported uplink switch transmission rate (GiB) (moved to the next level, obsolete and will be deleted later)
	SupportedUplinkSpeed []*int64 `json:"SupportedUplinkSpeed,omitnil,omitempty" name:"SupportedUplinkSpeed"`

	// List of supported instance families (moved to the next level, obsolete and will be deleted later)
	SupportedInstanceFamily []*string `json:"SupportedInstanceFamily,omitnil,omitempty" name:"SupportedInstanceFamily"`

	// Floor weight capacity (KG)
	Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"`

	// Power requirements (KW)
	PowerDraw *float64 `json:"PowerDraw,omitnil,omitempty" name:"PowerDraw"`

	// Order status
	OrderStatus *string `json:"OrderStatus,omitnil,omitempty" name:"OrderStatus"`

	// Order creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Large order ID
	DedicatedClusterOrderId *string `json:"DedicatedClusterOrderId,omitnil,omitempty" name:"DedicatedClusterOrderId"`

	// Order type, CREATE or EXTEND
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// List of sub-order details
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	DedicatedClusterOrderItems []*DedicatedClusterOrderItem `json:"DedicatedClusterOrderItems,omitnil,omitempty" name:"DedicatedClusterOrderItems"`

	// CPU value
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// MEM value
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Mem *int64 `json:"Mem,omitnil,omitempty" name:"Mem"`

	// GPU value
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Gpu *int64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 0 for unpaid, 1 for paid
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	PayStatus *int64 `json:"PayStatus,omitnil,omitempty" name:"PayStatus"`

	// Payment method: lump-sum, monthly, and annually
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	PayType *string `json:"PayType,omitnil,omitempty" name:"PayType"`

	// Unit of purchased period
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// Purchased period
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// Order type
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"`

	CheckStatus *string `json:"CheckStatus,omitnil,omitempty" name:"CheckStatus"`

	DeliverExpectTime *string `json:"DeliverExpectTime,omitnil,omitempty" name:"DeliverExpectTime"`

	DeliverFinishTime *string `json:"DeliverFinishTime,omitnil,omitempty" name:"DeliverFinishTime"`

	CheckExpectTime *string `json:"CheckExpectTime,omitnil,omitempty" name:"CheckExpectTime"`

	CheckFinishTime *string `json:"CheckFinishTime,omitnil,omitempty" name:"CheckFinishTime"`

	OrderSLA *string `json:"OrderSLA,omitnil,omitempty" name:"OrderSLA"`

	OrderPayPlan *string `json:"OrderPayPlan,omitnil,omitempty" name:"OrderPayPlan"`
}

type DedicatedClusterOrderItem

type DedicatedClusterOrderItem struct {
	// CDC type id
	DedicatedClusterTypeId *string `json:"DedicatedClusterTypeId,omitnil,omitempty" name:"DedicatedClusterTypeId"`

	// List of supported storage types
	SupportedStorageType []*string `json:"SupportedStorageType,omitnil,omitempty" name:"SupportedStorageType"`

	// Supported uplink switch transmission rate (GiB)
	SupportedUplinkSpeed []*int64 `json:"SupportedUplinkSpeed,omitnil,omitempty" name:"SupportedUplinkSpeed"`

	// List of supported instance families
	SupportedInstanceFamily []*string `json:"SupportedInstanceFamily,omitnil,omitempty" name:"SupportedInstanceFamily"`

	// Floor weight capacity (KG)
	Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"`

	// Power requirements (KW)
	PowerDraw *float64 `json:"PowerDraw,omitnil,omitempty" name:"PowerDraw"`

	// Order status
	SubOrderStatus *string `json:"SubOrderStatus,omitnil,omitempty" name:"SubOrderStatus"`

	// Order creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Sub-order ID
	SubOrderId *string `json:"SubOrderId,omitnil,omitempty" name:"SubOrderId"`

	// Number of linked cluster types
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Brief description of type
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Detailed description of type
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Number of CPUs
	TotalCpu *int64 `json:"TotalCpu,omitnil,omitempty" name:"TotalCpu"`

	// Number of memories
	TotalMem *int64 `json:"TotalMem,omitnil,omitempty" name:"TotalMem"`

	// Total GPUs
	TotalGpu *int64 `json:"TotalGpu,omitnil,omitempty" name:"TotalGpu"`

	// English type name
	TypeName *string `json:"TypeName,omitnil,omitempty" name:"TypeName"`

	// Type display
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	ComputeFormat *string `json:"ComputeFormat,omitnil,omitempty" name:"ComputeFormat"`

	// Type family
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	TypeFamily *string `json:"TypeFamily,omitnil,omitempty" name:"TypeFamily"`

	// 0 for unpaid, 1 for paid
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	SubOrderPayStatus *int64 `json:"SubOrderPayStatus,omitnil,omitempty" name:"SubOrderPayStatus"`
}

type DedicatedClusterType

type DedicatedClusterType struct {
	// Configuration id
	DedicatedClusterTypeId *string `json:"DedicatedClusterTypeId,omitnil,omitempty" name:"DedicatedClusterTypeId"`

	// Configuration description, corresponding to description
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Configuration name, corresponding to computing resource type
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Configuration creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// List of supported storage types
	SupportedStorageType []*string `json:"SupportedStorageType,omitnil,omitempty" name:"SupportedStorageType"`

	// Supported uplink switch transmission rate
	SupportedUplinkGiB []*int64 `json:"SupportedUplinkGiB,omitnil,omitempty" name:"SupportedUplinkGiB"`

	// List of supported instance families
	SupportedInstanceFamily []*string `json:"SupportedInstanceFamily,omitnil,omitempty" name:"SupportedInstanceFamily"`

	// Floor weight capacity (KG)
	Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"`

	// Power requirements (KW)
	PowerDrawKva *float64 `json:"PowerDrawKva,omitnil,omitempty" name:"PowerDrawKva"`

	// Displays the details of computing resource types, and does not display resources such as storage; corresponding to type
	ComputeFormatDesc *string `json:"ComputeFormatDesc,omitnil,omitempty" name:"ComputeFormatDesc"`
}

type DedicatedClusterTypeInfo

type DedicatedClusterTypeInfo struct {
	// Cluster type id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Cluster type count
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type DeleteDedicatedClustersRequest

type DeleteDedicatedClustersRequest struct {
	*tchttp.BaseRequest

	// CDC id to be deleted
	DedicatedClusterIds []*string `json:"DedicatedClusterIds,omitnil,omitempty" name:"DedicatedClusterIds"`
}

func NewDeleteDedicatedClustersRequest

func NewDeleteDedicatedClustersRequest() (request *DeleteDedicatedClustersRequest)

func (*DeleteDedicatedClustersRequest) FromJsonString

func (r *DeleteDedicatedClustersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDedicatedClustersRequest) ToJsonString

func (r *DeleteDedicatedClustersRequest) ToJsonString() string

type DeleteDedicatedClustersRequestParams

type DeleteDedicatedClustersRequestParams struct {
	// CDC id to be deleted
	DedicatedClusterIds []*string `json:"DedicatedClusterIds,omitnil,omitempty" name:"DedicatedClusterIds"`
}

Predefined struct for user

type DeleteDedicatedClustersResponse

type DeleteDedicatedClustersResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDedicatedClustersResponseParams `json:"Response"`
}

func NewDeleteDedicatedClustersResponse

func NewDeleteDedicatedClustersResponse() (response *DeleteDedicatedClustersResponse)

func (*DeleteDedicatedClustersResponse) FromJsonString

func (r *DeleteDedicatedClustersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDedicatedClustersResponse) ToJsonString

func (r *DeleteDedicatedClustersResponse) ToJsonString() string

type DeleteDedicatedClustersResponseParams

type DeleteDedicatedClustersResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteSitesRequest

type DeleteSitesRequest struct {
	*tchttp.BaseRequest

	// List of site ids to be deleted
	SiteIds []*string `json:"SiteIds,omitnil,omitempty" name:"SiteIds"`
}

func NewDeleteSitesRequest

func NewDeleteSitesRequest() (request *DeleteSitesRequest)

func (*DeleteSitesRequest) FromJsonString

func (r *DeleteSitesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSitesRequest) ToJsonString

func (r *DeleteSitesRequest) ToJsonString() string

type DeleteSitesRequestParams

type DeleteSitesRequestParams struct {
	// List of site ids to be deleted
	SiteIds []*string `json:"SiteIds,omitnil,omitempty" name:"SiteIds"`
}

Predefined struct for user

type DeleteSitesResponse

type DeleteSitesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSitesResponseParams `json:"Response"`
}

func NewDeleteSitesResponse

func NewDeleteSitesResponse() (response *DeleteSitesResponse)

func (*DeleteSitesResponse) FromJsonString

func (r *DeleteSitesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteSitesResponse) ToJsonString

func (r *DeleteSitesResponse) ToJsonString() string

type DeleteSitesResponseParams

type DeleteSitesResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedClusterCosCapacityRequest

type DescribeDedicatedClusterCosCapacityRequest struct {
	*tchttp.BaseRequest

	// Queried CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

func NewDescribeDedicatedClusterCosCapacityRequest

func NewDescribeDedicatedClusterCosCapacityRequest() (request *DescribeDedicatedClusterCosCapacityRequest)

func (*DescribeDedicatedClusterCosCapacityRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterCosCapacityRequest) ToJsonString

type DescribeDedicatedClusterCosCapacityRequestParams

type DescribeDedicatedClusterCosCapacityRequestParams struct {
	// Queried CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

Predefined struct for user

type DescribeDedicatedClusterCosCapacityResponse

type DescribeDedicatedClusterCosCapacityResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedClusterCosCapacityResponseParams `json:"Response"`
}

func NewDescribeDedicatedClusterCosCapacityResponse

func NewDescribeDedicatedClusterCosCapacityResponse() (response *DescribeDedicatedClusterCosCapacityResponse)

func (*DescribeDedicatedClusterCosCapacityResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterCosCapacityResponse) ToJsonString

type DescribeDedicatedClusterCosCapacityResponseParams

type DescribeDedicatedClusterCosCapacityResponseParams struct {
	// Cluster COS capacity, in GB
	CosCapacity *CosCapacity `json:"CosCapacity,omitnil,omitempty" name:"CosCapacity"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedClusterHostStatisticsRequest

type DescribeDedicatedClusterHostStatisticsRequest struct {
	*tchttp.BaseRequest

	// Queried CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// Host id
	HostId *string `json:"HostId,omitnil,omitempty" name:"HostId"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Time range accuracy, 1 min/5 min
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

func NewDescribeDedicatedClusterHostStatisticsRequest

func NewDescribeDedicatedClusterHostStatisticsRequest() (request *DescribeDedicatedClusterHostStatisticsRequest)

func (*DescribeDedicatedClusterHostStatisticsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterHostStatisticsRequest) ToJsonString

type DescribeDedicatedClusterHostStatisticsRequestParams

type DescribeDedicatedClusterHostStatisticsRequestParams struct {
	// Queried CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// Host id
	HostId *string `json:"HostId,omitnil,omitempty" name:"HostId"`

	// Start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Time range accuracy, 1 min/5 min
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

Predefined struct for user

type DescribeDedicatedClusterHostStatisticsResponse

type DescribeDedicatedClusterHostStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedClusterHostStatisticsResponseParams `json:"Response"`
}

func NewDescribeDedicatedClusterHostStatisticsResponse

func NewDescribeDedicatedClusterHostStatisticsResponse() (response *DescribeDedicatedClusterHostStatisticsResponse)

func (*DescribeDedicatedClusterHostStatisticsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterHostStatisticsResponse) ToJsonString

type DescribeDedicatedClusterHostStatisticsResponseParams

type DescribeDedicatedClusterHostStatisticsResponseParams struct {
	// List of statistic information of the cluster host
	HostStatisticSet []*HostStatistic `json:"HostStatisticSet,omitnil,omitempty" name:"HostStatisticSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedClusterHostsRequest

type DescribeDedicatedClusterHostsRequest struct {
	*tchttp.BaseRequest

	// Cluster id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// Offset, 0 by default
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeDedicatedClusterHostsRequest

func NewDescribeDedicatedClusterHostsRequest() (request *DescribeDedicatedClusterHostsRequest)

func (*DescribeDedicatedClusterHostsRequest) FromJsonString

func (r *DescribeDedicatedClusterHostsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterHostsRequest) ToJsonString

func (r *DescribeDedicatedClusterHostsRequest) ToJsonString() string

type DescribeDedicatedClusterHostsRequestParams

type DescribeDedicatedClusterHostsRequestParams struct {
	// Cluster id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// Offset, 0 by default
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDedicatedClusterHostsResponse

type DescribeDedicatedClusterHostsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedClusterHostsResponseParams `json:"Response"`
}

func NewDescribeDedicatedClusterHostsResponse

func NewDescribeDedicatedClusterHostsResponse() (response *DescribeDedicatedClusterHostsResponse)

func (*DescribeDedicatedClusterHostsResponse) FromJsonString

func (r *DescribeDedicatedClusterHostsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterHostsResponse) ToJsonString

type DescribeDedicatedClusterHostsResponseParams

type DescribeDedicatedClusterHostsResponseParams struct {
	// Host information
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	HostInfoSet []*HostInfo `json:"HostInfoSet,omitnil,omitempty" name:"HostInfoSet"`

	// Total number of hosts
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedClusterInstanceTypesRequest

type DescribeDedicatedClusterInstanceTypesRequest struct {
	*tchttp.BaseRequest

	// Queried CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

func NewDescribeDedicatedClusterInstanceTypesRequest

func NewDescribeDedicatedClusterInstanceTypesRequest() (request *DescribeDedicatedClusterInstanceTypesRequest)

func (*DescribeDedicatedClusterInstanceTypesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterInstanceTypesRequest) ToJsonString

type DescribeDedicatedClusterInstanceTypesRequestParams

type DescribeDedicatedClusterInstanceTypesRequestParams struct {
	// Queried CDC id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

Predefined struct for user

type DescribeDedicatedClusterInstanceTypesResponse

type DescribeDedicatedClusterInstanceTypesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedClusterInstanceTypesResponseParams `json:"Response"`
}

func NewDescribeDedicatedClusterInstanceTypesResponse

func NewDescribeDedicatedClusterInstanceTypesResponse() (response *DescribeDedicatedClusterInstanceTypesResponse)

func (*DescribeDedicatedClusterInstanceTypesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterInstanceTypesResponse) ToJsonString

type DescribeDedicatedClusterInstanceTypesResponseParams

type DescribeDedicatedClusterInstanceTypesResponseParams struct {
	// List of supported instance types
	DedicatedClusterInstanceTypeSet []*DedicatedClusterInstanceType `json:"DedicatedClusterInstanceTypeSet,omitnil,omitempty" name:"DedicatedClusterInstanceTypeSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedClusterOrdersRequest

type DescribeDedicatedClusterOrdersRequest struct {
	*tchttp.BaseRequest

	// Filter by CDC id.
	DedicatedClusterIds []*string `json:"DedicatedClusterIds,omitnil,omitempty" name:"DedicatedClusterIds"`

	// Filter by CDC order id.
	DedicatedClusterOrderIds *string `json:"DedicatedClusterOrderIds,omitnil,omitempty" name:"DedicatedClusterOrderIds"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The order status is the filter condition: PENDING INCONSTRUCTION DELIVERING DELIVERED EXPIRED CANCELLED OFFLINE
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// The order type is the filter condition: CREATE EXTEND
	ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"`

	OrderTypes []*string `json:"OrderTypes,omitnil,omitempty" name:"OrderTypes"`
}

func NewDescribeDedicatedClusterOrdersRequest

func NewDescribeDedicatedClusterOrdersRequest() (request *DescribeDedicatedClusterOrdersRequest)

func (*DescribeDedicatedClusterOrdersRequest) FromJsonString

func (r *DescribeDedicatedClusterOrdersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterOrdersRequest) ToJsonString

type DescribeDedicatedClusterOrdersRequestParams

type DescribeDedicatedClusterOrdersRequestParams struct {
	// Filter by CDC id.
	DedicatedClusterIds []*string `json:"DedicatedClusterIds,omitnil,omitempty" name:"DedicatedClusterIds"`

	// Filter by CDC order id.
	DedicatedClusterOrderIds *string `json:"DedicatedClusterOrderIds,omitnil,omitempty" name:"DedicatedClusterOrderIds"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The order status is the filter condition: PENDING INCONSTRUCTION DELIVERING DELIVERED EXPIRED CANCELLED OFFLINE
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// The order type is the filter condition: CREATE EXTEND
	ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"`

	OrderTypes []*string `json:"OrderTypes,omitnil,omitempty" name:"OrderTypes"`
}

Predefined struct for user

type DescribeDedicatedClusterOrdersResponse

type DescribeDedicatedClusterOrdersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedClusterOrdersResponseParams `json:"Response"`
}

func NewDescribeDedicatedClusterOrdersResponse

func NewDescribeDedicatedClusterOrdersResponse() (response *DescribeDedicatedClusterOrdersResponse)

func (*DescribeDedicatedClusterOrdersResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterOrdersResponse) ToJsonString

type DescribeDedicatedClusterOrdersResponseParams

type DescribeDedicatedClusterOrdersResponseParams struct {
	// List of CDC orders
	DedicatedClusterOrderSet []*DedicatedClusterOrder `json:"DedicatedClusterOrderSet,omitnil,omitempty" name:"DedicatedClusterOrderSet"`

	// Total number of CDC orders that meet the conditions
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedClusterOverviewRequest

type DescribeDedicatedClusterOverviewRequest struct {
	*tchttp.BaseRequest

	// Cluster id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

func NewDescribeDedicatedClusterOverviewRequest

func NewDescribeDedicatedClusterOverviewRequest() (request *DescribeDedicatedClusterOverviewRequest)

func (*DescribeDedicatedClusterOverviewRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterOverviewRequest) ToJsonString

type DescribeDedicatedClusterOverviewRequestParams

type DescribeDedicatedClusterOverviewRequestParams struct {
	// Cluster id
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

Predefined struct for user

type DescribeDedicatedClusterOverviewResponse

type DescribeDedicatedClusterOverviewResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedClusterOverviewResponseParams `json:"Response"`
}

func NewDescribeDedicatedClusterOverviewResponse

func NewDescribeDedicatedClusterOverviewResponse() (response *DescribeDedicatedClusterOverviewResponse)

func (*DescribeDedicatedClusterOverviewResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterOverviewResponse) ToJsonString

type DescribeDedicatedClusterOverviewResponseParams

type DescribeDedicatedClusterOverviewResponseParams struct {
	// Number of CVMs
	CvmCount *uint64 `json:"CvmCount,omitnil,omitempty" name:"CvmCount"`

	// Number of hosts
	HostCount *uint64 `json:"HostCount,omitnil,omitempty" name:"HostCount"`

	// VPN channel status
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	VpnConnectionState *string `json:"VpnConnectionState,omitnil,omitempty" name:"VpnConnectionState"`

	// VPN gateway monitoring data
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	VpngwBandwidthData *VpngwBandwidthData `json:"VpngwBandwidthData,omitnil,omitempty" name:"VpngwBandwidthData"`

	// Local gateway information
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	LocalNetInfo *LocalNetInfo `json:"LocalNetInfo,omitnil,omitempty" name:"LocalNetInfo"`

	// VPN gateway channel monitoring data
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	VpnConnectionBandwidthData []*VpngwBandwidthData `json:"VpnConnectionBandwidthData,omitnil,omitempty" name:"VpnConnectionBandwidthData"`

	HostDetailInfo []*HostDetailInfo `json:"HostDetailInfo,omitnil,omitempty" name:"HostDetailInfo"`

	HostStandbyCount *uint64 `json:"HostStandbyCount,omitnil,omitempty" name:"HostStandbyCount"`

	HostNormalCount *uint64 `json:"HostNormalCount,omitnil,omitempty" name:"HostNormalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedClusterTypesRequest

type DescribeDedicatedClusterTypesRequest struct {
	*tchttp.BaseRequest

	// Name of fuzzy matching CDC configuration
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// List of CDC configuration ids to be queried
	DedicatedClusterTypeIds []*string `json:"DedicatedClusterTypeIds,omitnil,omitempty" name:"DedicatedClusterTypeIds"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Whether to query only the computing type?
	IsCompute *bool `json:"IsCompute,omitnil,omitempty" name:"IsCompute"`
}

func NewDescribeDedicatedClusterTypesRequest

func NewDescribeDedicatedClusterTypesRequest() (request *DescribeDedicatedClusterTypesRequest)

func (*DescribeDedicatedClusterTypesRequest) FromJsonString

func (r *DescribeDedicatedClusterTypesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterTypesRequest) ToJsonString

func (r *DescribeDedicatedClusterTypesRequest) ToJsonString() string

type DescribeDedicatedClusterTypesRequestParams

type DescribeDedicatedClusterTypesRequestParams struct {
	// Name of fuzzy matching CDC configuration
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// List of CDC configuration ids to be queried
	DedicatedClusterTypeIds []*string `json:"DedicatedClusterTypeIds,omitnil,omitempty" name:"DedicatedClusterTypeIds"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Whether to query only the computing type?
	IsCompute *bool `json:"IsCompute,omitnil,omitempty" name:"IsCompute"`
}

Predefined struct for user

type DescribeDedicatedClusterTypesResponse

type DescribeDedicatedClusterTypesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedClusterTypesResponseParams `json:"Response"`
}

func NewDescribeDedicatedClusterTypesResponse

func NewDescribeDedicatedClusterTypesResponse() (response *DescribeDedicatedClusterTypesResponse)

func (*DescribeDedicatedClusterTypesResponse) FromJsonString

func (r *DescribeDedicatedClusterTypesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClusterTypesResponse) ToJsonString

type DescribeDedicatedClusterTypesResponseParams

type DescribeDedicatedClusterTypesResponseParams struct {
	// List of CDC configurations
	DedicatedClusterTypeSet []*DedicatedClusterType `json:"DedicatedClusterTypeSet,omitnil,omitempty" name:"DedicatedClusterTypeSet"`

	// Number of records that meet the conditions
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedClustersRequest

type DescribeDedicatedClustersRequest struct {
	*tchttp.BaseRequest

	// Query by one or more instance IDs. Example of instance ID: cluster-xxxxxxxx
	DedicatedClusterIds []*string `json:"DedicatedClusterIds,omitnil,omitempty" name:"DedicatedClusterIds"`

	// Filter by AZ name.
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`

	// Filter by site id.
	SiteIds []*string `json:"SiteIds,omitnil,omitempty" name:"SiteIds"`

	// Filter by CDC life cycle.
	LifecycleStatuses []*string `json:"LifecycleStatuses,omitnil,omitempty" name:"LifecycleStatuses"`

	// Name of fuzzy matching CDC
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeDedicatedClustersRequest

func NewDescribeDedicatedClustersRequest() (request *DescribeDedicatedClustersRequest)

func (*DescribeDedicatedClustersRequest) FromJsonString

func (r *DescribeDedicatedClustersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClustersRequest) ToJsonString

func (r *DescribeDedicatedClustersRequest) ToJsonString() string

type DescribeDedicatedClustersRequestParams

type DescribeDedicatedClustersRequestParams struct {
	// Query by one or more instance IDs. Example of instance ID: cluster-xxxxxxxx
	DedicatedClusterIds []*string `json:"DedicatedClusterIds,omitnil,omitempty" name:"DedicatedClusterIds"`

	// Filter by AZ name.
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`

	// Filter by site id.
	SiteIds []*string `json:"SiteIds,omitnil,omitempty" name:"SiteIds"`

	// Filter by CDC life cycle.
	LifecycleStatuses []*string `json:"LifecycleStatuses,omitnil,omitempty" name:"LifecycleStatuses"`

	// Name of fuzzy matching CDC
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDedicatedClustersResponse

type DescribeDedicatedClustersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedClustersResponseParams `json:"Response"`
}

func NewDescribeDedicatedClustersResponse

func NewDescribeDedicatedClustersResponse() (response *DescribeDedicatedClustersResponse)

func (*DescribeDedicatedClustersResponse) FromJsonString

func (r *DescribeDedicatedClustersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedClustersResponse) ToJsonString

func (r *DescribeDedicatedClustersResponse) ToJsonString() string

type DescribeDedicatedClustersResponseParams

type DescribeDedicatedClustersResponseParams struct {
	// List of CDCs that meet the conditions
	DedicatedClusterSet []*DedicatedCluster `json:"DedicatedClusterSet,omitnil,omitempty" name:"DedicatedClusterSet"`

	// Total number of CDCs that meet the conditions
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDedicatedSupportedZonesRequest

type DescribeDedicatedSupportedZonesRequest struct {
	*tchttp.BaseRequest

	// List of input regions
	Regions []*int64 `json:"Regions,omitnil,omitempty" name:"Regions"`
}

func NewDescribeDedicatedSupportedZonesRequest

func NewDescribeDedicatedSupportedZonesRequest() (request *DescribeDedicatedSupportedZonesRequest)

func (*DescribeDedicatedSupportedZonesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedSupportedZonesRequest) ToJsonString

type DescribeDedicatedSupportedZonesRequestParams

type DescribeDedicatedSupportedZonesRequestParams struct {
	// List of input regions
	Regions []*int64 `json:"Regions,omitnil,omitempty" name:"Regions"`
}

Predefined struct for user

type DescribeDedicatedSupportedZonesResponse

type DescribeDedicatedSupportedZonesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDedicatedSupportedZonesResponseParams `json:"Response"`
}

func NewDescribeDedicatedSupportedZonesResponse

func NewDescribeDedicatedSupportedZonesResponse() (response *DescribeDedicatedSupportedZonesResponse)

func (*DescribeDedicatedSupportedZonesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDedicatedSupportedZonesResponse) ToJsonString

type DescribeDedicatedSupportedZonesResponseParams

type DescribeDedicatedSupportedZonesResponseParams struct {
	// List of supported AZs
	ZoneSet []*RegionZoneInfo `json:"ZoneSet,omitnil,omitempty" name:"ZoneSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSitesDetailRequest

type DescribeSitesDetailRequest struct {
	*tchttp.BaseRequest

	// Filter by site id.
	SiteIds []*string `json:"SiteIds,omitnil,omitempty" name:"SiteIds"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Fuzzy match by site name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

func NewDescribeSitesDetailRequest

func NewDescribeSitesDetailRequest() (request *DescribeSitesDetailRequest)

func (*DescribeSitesDetailRequest) FromJsonString

func (r *DescribeSitesDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSitesDetailRequest) ToJsonString

func (r *DescribeSitesDetailRequest) ToJsonString() string

type DescribeSitesDetailRequestParams

type DescribeSitesDetailRequestParams struct {
	// Filter by site id.
	SiteIds []*string `json:"SiteIds,omitnil,omitempty" name:"SiteIds"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Fuzzy match by site name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

Predefined struct for user

type DescribeSitesDetailResponse

type DescribeSitesDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSitesDetailResponseParams `json:"Response"`
}

func NewDescribeSitesDetailResponse

func NewDescribeSitesDetailResponse() (response *DescribeSitesDetailResponse)

func (*DescribeSitesDetailResponse) FromJsonString

func (r *DescribeSitesDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSitesDetailResponse) ToJsonString

func (r *DescribeSitesDetailResponse) ToJsonString() string

type DescribeSitesDetailResponseParams

type DescribeSitesDetailResponseParams struct {
	// Site details
	SiteDetailSet []*SiteDetail `json:"SiteDetailSet,omitnil,omitempty" name:"SiteDetailSet"`

	// Total number of sites that meet the conditions
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSitesRequest

type DescribeSitesRequest struct {
	*tchttp.BaseRequest

	// Filter by site id.
	SiteIds []*string `json:"SiteIds,omitnil,omitempty" name:"SiteIds"`

	// Name of fuzzy matching site
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeSitesRequest

func NewDescribeSitesRequest() (request *DescribeSitesRequest)

func (*DescribeSitesRequest) FromJsonString

func (r *DescribeSitesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSitesRequest) ToJsonString

func (r *DescribeSitesRequest) ToJsonString() string

type DescribeSitesRequestParams

type DescribeSitesRequestParams struct {
	// Filter by site id.
	SiteIds []*string `json:"SiteIds,omitnil,omitempty" name:"SiteIds"`

	// Name of fuzzy matching site
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeSitesResponse

type DescribeSitesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSitesResponseParams `json:"Response"`
}

func NewDescribeSitesResponse

func NewDescribeSitesResponse() (response *DescribeSitesResponse)

func (*DescribeSitesResponse) FromJsonString

func (r *DescribeSitesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSitesResponse) ToJsonString

func (r *DescribeSitesResponse) ToJsonString() string

type DescribeSitesResponseParams

type DescribeSitesResponseParams struct {
	// List of sites that meet the query conditions
	SiteSet []*Site `json:"SiteSet,omitnil,omitempty" name:"SiteSet"`

	// Number of sites that meet the conditions
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DetailData

type DetailData struct {
	// Timestamp
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Timestamps []*float64 `json:"Timestamps,omitnil,omitempty" name:"Timestamps"`

	// Corresponding value
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Values []*float64 `json:"Values,omitnil,omitempty" name:"Values"`
}

type HostDetailInfo

type HostDetailInfo struct {
	HostTypeFamily *string `json:"HostTypeFamily,omitnil,omitempty" name:"HostTypeFamily"`

	CpuTotal *float64 `json:"CpuTotal,omitnil,omitempty" name:"CpuTotal"`

	CpuAvailable *float64 `json:"CpuAvailable,omitnil,omitempty" name:"CpuAvailable"`

	MemTotal *float64 `json:"MemTotal,omitnil,omitempty" name:"MemTotal"`

	MemAvailable *float64 `json:"MemAvailable,omitnil,omitempty" name:"MemAvailable"`
}

type HostInfo

type HostInfo struct {
	// Host IP
	HostIp *string `json:"HostIp,omitnil,omitempty" name:"HostIp"`

	// Cloud service type
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Host running status
	HostStatus *string `json:"HostStatus,omitnil,omitempty" name:"HostStatus"`

	// Host type
	HostType *string `json:"HostType,omitnil,omitempty" name:"HostType"`

	// Number of available CPUs
	CpuAvailable *uint64 `json:"CpuAvailable,omitnil,omitempty" name:"CpuAvailable"`

	// Total CPUs
	CpuTotal *uint64 `json:"CpuTotal,omitnil,omitempty" name:"CpuTotal"`

	// Available memories
	MemAvailable *uint64 `json:"MemAvailable,omitnil,omitempty" name:"MemAvailable"`

	// Total memories
	MemTotal *uint64 `json:"MemTotal,omitnil,omitempty" name:"MemTotal"`

	// Running time
	RunTime *string `json:"RunTime,omitnil,omitempty" name:"RunTime"`

	// Expiration time
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Host id
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	HostId *string `json:"HostId,omitnil,omitempty" name:"HostId"`
}

type HostStatistic

type HostStatistic struct {
	// Host type
	HostType *string `json:"HostType,omitnil,omitempty" name:"HostType"`

	// Host model family
	HostFamily *string `json:"HostFamily,omitnil,omitempty" name:"HostFamily"`

	// Number of CPU cores of host, in cores
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Host memory, in GB
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Number of hosts of this type
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Average CPU load percentage
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	CpuAverage *float64 `json:"CpuAverage,omitnil,omitempty" name:"CpuAverage"`

	// Average memory usage percentage
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	MemAverage *float64 `json:"MemAverage,omitnil,omitempty" name:"MemAverage"`

	// Average network traffic
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	NetAverage *float64 `json:"NetAverage,omitnil,omitempty" name:"NetAverage"`

	// Detailed CPU monitoring data
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	CpuDetailData *DetailData `json:"CpuDetailData,omitnil,omitempty" name:"CpuDetailData"`

	// Memory details
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	MemDetailData *DetailData `json:"MemDetailData,omitnil,omitempty" name:"MemDetailData"`

	// Network rate details
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	NetRateDetailData *DetailData `json:"NetRateDetailData,omitnil,omitempty" name:"NetRateDetailData"`

	// Network packet details
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	NetPacketDetailData *DetailData `json:"NetPacketDetailData,omitnil,omitempty" name:"NetPacketDetailData"`
}

type InBandwidth

type InBandwidth struct {
	// Timestamp
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Timestamps []*float64 `json:"Timestamps,omitnil,omitempty" name:"Timestamps"`

	// Time-specific value
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Values []*float64 `json:"Values,omitnil,omitempty" name:"Values"`
}

type LocalNetInfo

type LocalNetInfo struct {
	// Protocol
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Network id
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Routing information
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	BGPRoute *string `json:"BGPRoute,omitnil,omitempty" name:"BGPRoute"`

	// Local IP
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	LocalIp *string `json:"LocalIp,omitnil,omitempty" name:"LocalIp"`
}

type ModifyDedicatedClusterInfoRequest

type ModifyDedicatedClusterInfoRequest struct {
	*tchttp.BaseRequest

	// CDC ID
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// New cluster name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// New cluster AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// New cluster description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Site where the cluster resides
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`
}

func NewModifyDedicatedClusterInfoRequest

func NewModifyDedicatedClusterInfoRequest() (request *ModifyDedicatedClusterInfoRequest)

func (*ModifyDedicatedClusterInfoRequest) FromJsonString

func (r *ModifyDedicatedClusterInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDedicatedClusterInfoRequest) ToJsonString

func (r *ModifyDedicatedClusterInfoRequest) ToJsonString() string

type ModifyDedicatedClusterInfoRequestParams

type ModifyDedicatedClusterInfoRequestParams struct {
	// CDC ID
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// New cluster name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// New cluster AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// New cluster description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Site where the cluster resides
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`
}

Predefined struct for user

type ModifyDedicatedClusterInfoResponse

type ModifyDedicatedClusterInfoResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDedicatedClusterInfoResponseParams `json:"Response"`
}

func NewModifyDedicatedClusterInfoResponse

func NewModifyDedicatedClusterInfoResponse() (response *ModifyDedicatedClusterInfoResponse)

func (*ModifyDedicatedClusterInfoResponse) FromJsonString

func (r *ModifyDedicatedClusterInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDedicatedClusterInfoResponse) ToJsonString

func (r *ModifyDedicatedClusterInfoResponse) ToJsonString() string

type ModifyDedicatedClusterInfoResponseParams

type ModifyDedicatedClusterInfoResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyOrderStatusRequest

type ModifyOrderStatusRequest struct {
	*tchttp.BaseRequest

	// Status to be updated
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Large order ID
	DedicatedClusterOrderId *string `json:"DedicatedClusterOrderId,omitnil,omitempty" name:"DedicatedClusterOrderId"`

	// Small order ID
	SubOrderIds []*string `json:"SubOrderIds,omitnil,omitempty" name:"SubOrderIds"`
}

func NewModifyOrderStatusRequest

func NewModifyOrderStatusRequest() (request *ModifyOrderStatusRequest)

func (*ModifyOrderStatusRequest) FromJsonString

func (r *ModifyOrderStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyOrderStatusRequest) ToJsonString

func (r *ModifyOrderStatusRequest) ToJsonString() string

type ModifyOrderStatusRequestParams

type ModifyOrderStatusRequestParams struct {
	// Status to be updated
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Large order ID
	DedicatedClusterOrderId *string `json:"DedicatedClusterOrderId,omitnil,omitempty" name:"DedicatedClusterOrderId"`

	// Small order ID
	SubOrderIds []*string `json:"SubOrderIds,omitnil,omitempty" name:"SubOrderIds"`
}

Predefined struct for user

type ModifyOrderStatusResponse

type ModifyOrderStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyOrderStatusResponseParams `json:"Response"`
}

func NewModifyOrderStatusResponse

func NewModifyOrderStatusResponse() (response *ModifyOrderStatusResponse)

func (*ModifyOrderStatusResponse) FromJsonString

func (r *ModifyOrderStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyOrderStatusResponse) ToJsonString

func (r *ModifyOrderStatusResponse) ToJsonString() string

type ModifyOrderStatusResponseParams

type ModifyOrderStatusResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifySiteDeviceInfoRequest

type ModifySiteDeviceInfoRequest struct {
	*tchttp.BaseRequest

	// Equipment room ID
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// You are using optical fiber type to connect the CDC device to the network Single-mode or multi-mode fibers are available.
	FiberType *string `json:"FiberType,omitnil,omitempty" name:"FiberType"`

	// Optical standard used to connect the CDC device to the network This field depends on the uplink speed, optical fiber type, and distance to upstream equipment.
	OpticalStandard *string `json:"OpticalStandard,omitnil,omitempty" name:"OpticalStandard"`

	// Type of power connector
	PowerConnectors *string `json:"PowerConnectors,omitnil,omitempty" name:"PowerConnectors"`

	// Whether power is supplied from above or below the rack
	PowerFeedDrop *string `json:"PowerFeedDrop,omitnil,omitempty" name:"PowerFeedDrop"`

	// Maximum weight capacity (KG)
	MaxWeight *int64 `json:"MaxWeight,omitnil,omitempty" name:"MaxWeight"`

	// Power consumption (KW)
	PowerDrawKva *int64 `json:"PowerDrawKva,omitnil,omitempty" name:"PowerDrawKva"`

	// Uplink speed from the network to Tencent Cloud Region
	UplinkSpeedGbps *int64 `json:"UplinkSpeedGbps,omitnil,omitempty" name:"UplinkSpeedGbps"`

	// Number of uplinks used by each CDC device (2 devices per rack) when connected to the network
	UplinkCount *int64 `json:"UplinkCount,omitnil,omitempty" name:"UplinkCount"`

	// Whether the following environmental conditions are met:
	// 1. There are no material requirements or the acceptance standard on site that will affect the delivery and installation of the CDC device.
	// 2. The following conditions are met for finalized rack positions:
	// Temperature ranges from 41 to 104°F (5 to 40°C).
	// Humidity ranges from 10°F (-12°C) to 70°F (21°C) and relative humidity ranges from 8% RH to 80% RH.
	// Air flows from front to back at the rack position and there is sufficient air in CFM (cubic feet per minute). The air quantity in CFM must be 145.8 times the power consumption (in KVA) of CDC.
	ConditionRequirement *bool `json:"ConditionRequirement,omitnil,omitempty" name:"ConditionRequirement"`

	// Whether the following dimension conditions are met:
	// Your loading dock can accommodate one rack container (H x W x D = 94" x 54" x 48").
	// You can provide a clear route from the delivery point of your rack (H x W x D = 80" x 24" x 48") to its final installation location. You should consider platforms, corridors, doors, turns, ramps, freight elevators as well as other access restrictions when measuring the depth.
	// There shall be a 48" or greater front clearance and a 24" or greater rear clearance where the CDC is finally installed.
	DimensionRequirement *bool `json:"DimensionRequirement,omitnil,omitempty" name:"DimensionRequirement"`

	// Whether redundant upstream equipment (switch or router) is provided so that both network devices can be connected to the network.
	RedundantNetworking *bool `json:"RedundantNetworking,omitnil,omitempty" name:"RedundantNetworking"`

	// Whether you need help from Tencent Cloud for rack installation?
	NeedHelp *bool `json:"NeedHelp,omitnil,omitempty" name:"NeedHelp"`

	// Whether there is power redundancy?
	RedundantPower *bool `json:"RedundantPower,omitnil,omitempty" name:"RedundantPower"`

	// Whether there is an upstream circuit breaker?
	BreakerRequirement *bool `json:"BreakerRequirement,omitnil,omitempty" name:"BreakerRequirement"`
}

func NewModifySiteDeviceInfoRequest

func NewModifySiteDeviceInfoRequest() (request *ModifySiteDeviceInfoRequest)

func (*ModifySiteDeviceInfoRequest) FromJsonString

func (r *ModifySiteDeviceInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySiteDeviceInfoRequest) ToJsonString

func (r *ModifySiteDeviceInfoRequest) ToJsonString() string

type ModifySiteDeviceInfoRequestParams

type ModifySiteDeviceInfoRequestParams struct {
	// Equipment room ID
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// You are using optical fiber type to connect the CDC device to the network Single-mode or multi-mode fibers are available.
	FiberType *string `json:"FiberType,omitnil,omitempty" name:"FiberType"`

	// Optical standard used to connect the CDC device to the network This field depends on the uplink speed, optical fiber type, and distance to upstream equipment.
	OpticalStandard *string `json:"OpticalStandard,omitnil,omitempty" name:"OpticalStandard"`

	// Type of power connector
	PowerConnectors *string `json:"PowerConnectors,omitnil,omitempty" name:"PowerConnectors"`

	// Whether power is supplied from above or below the rack
	PowerFeedDrop *string `json:"PowerFeedDrop,omitnil,omitempty" name:"PowerFeedDrop"`

	// Maximum weight capacity (KG)
	MaxWeight *int64 `json:"MaxWeight,omitnil,omitempty" name:"MaxWeight"`

	// Power consumption (KW)
	PowerDrawKva *int64 `json:"PowerDrawKva,omitnil,omitempty" name:"PowerDrawKva"`

	// Uplink speed from the network to Tencent Cloud Region
	UplinkSpeedGbps *int64 `json:"UplinkSpeedGbps,omitnil,omitempty" name:"UplinkSpeedGbps"`

	// Number of uplinks used by each CDC device (2 devices per rack) when connected to the network
	UplinkCount *int64 `json:"UplinkCount,omitnil,omitempty" name:"UplinkCount"`

	// Whether the following environmental conditions are met:
	// 1. There are no material requirements or the acceptance standard on site that will affect the delivery and installation of the CDC device.
	// 2. The following conditions are met for finalized rack positions:
	// Temperature ranges from 41 to 104°F (5 to 40°C).
	// Humidity ranges from 10°F (-12°C) to 70°F (21°C) and relative humidity ranges from 8% RH to 80% RH.
	// Air flows from front to back at the rack position and there is sufficient air in CFM (cubic feet per minute). The air quantity in CFM must be 145.8 times the power consumption (in KVA) of CDC.
	ConditionRequirement *bool `json:"ConditionRequirement,omitnil,omitempty" name:"ConditionRequirement"`

	// Whether the following dimension conditions are met:
	// Your loading dock can accommodate one rack container (H x W x D = 94" x 54" x 48").
	// You can provide a clear route from the delivery point of your rack (H x W x D = 80" x 24" x 48") to its final installation location. You should consider platforms, corridors, doors, turns, ramps, freight elevators as well as other access restrictions when measuring the depth.
	// There shall be a 48" or greater front clearance and a 24" or greater rear clearance where the CDC is finally installed.
	DimensionRequirement *bool `json:"DimensionRequirement,omitnil,omitempty" name:"DimensionRequirement"`

	// Whether redundant upstream equipment (switch or router) is provided so that both network devices can be connected to the network.
	RedundantNetworking *bool `json:"RedundantNetworking,omitnil,omitempty" name:"RedundantNetworking"`

	// Whether you need help from Tencent Cloud for rack installation?
	NeedHelp *bool `json:"NeedHelp,omitnil,omitempty" name:"NeedHelp"`

	// Whether there is power redundancy?
	RedundantPower *bool `json:"RedundantPower,omitnil,omitempty" name:"RedundantPower"`

	// Whether there is an upstream circuit breaker?
	BreakerRequirement *bool `json:"BreakerRequirement,omitnil,omitempty" name:"BreakerRequirement"`
}

Predefined struct for user

type ModifySiteDeviceInfoResponse

type ModifySiteDeviceInfoResponse struct {
	*tchttp.BaseResponse
	Response *ModifySiteDeviceInfoResponseParams `json:"Response"`
}

func NewModifySiteDeviceInfoResponse

func NewModifySiteDeviceInfoResponse() (response *ModifySiteDeviceInfoResponse)

func (*ModifySiteDeviceInfoResponse) FromJsonString

func (r *ModifySiteDeviceInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySiteDeviceInfoResponse) ToJsonString

func (r *ModifySiteDeviceInfoResponse) ToJsonString() string

type ModifySiteDeviceInfoResponseParams

type ModifySiteDeviceInfoResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifySiteInfoRequest

type ModifySiteInfoRequest struct {
	*tchttp.BaseRequest

	// Equipment room ID
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// Site name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Site description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Note
	Note *string `json:"Note,omitnil,omitempty" name:"Note"`

	// Country where the site is located
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// Province where the site is located
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// City where the site is located
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// Postal code of the site area
	PostalCode *string `json:"PostalCode,omitnil,omitempty" name:"PostalCode"`

	// Detailed address of the site
	AddressLine *string `json:"AddressLine,omitnil,omitempty" name:"AddressLine"`
}

func NewModifySiteInfoRequest

func NewModifySiteInfoRequest() (request *ModifySiteInfoRequest)

func (*ModifySiteInfoRequest) FromJsonString

func (r *ModifySiteInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySiteInfoRequest) ToJsonString

func (r *ModifySiteInfoRequest) ToJsonString() string

type ModifySiteInfoRequestParams

type ModifySiteInfoRequestParams struct {
	// Equipment room ID
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// Site name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Site description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Note
	Note *string `json:"Note,omitnil,omitempty" name:"Note"`

	// Country where the site is located
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// Province where the site is located
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// City where the site is located
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// Postal code of the site area
	PostalCode *string `json:"PostalCode,omitnil,omitempty" name:"PostalCode"`

	// Detailed address of the site
	AddressLine *string `json:"AddressLine,omitnil,omitempty" name:"AddressLine"`
}

Predefined struct for user

type ModifySiteInfoResponse

type ModifySiteInfoResponse struct {
	*tchttp.BaseResponse
	Response *ModifySiteInfoResponseParams `json:"Response"`
}

func NewModifySiteInfoResponse

func NewModifySiteInfoResponse() (response *ModifySiteInfoResponse)

func (*ModifySiteInfoResponse) FromJsonString

func (r *ModifySiteInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySiteInfoResponse) ToJsonString

func (r *ModifySiteInfoResponse) ToJsonString() string

type ModifySiteInfoResponseParams

type ModifySiteInfoResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OutBandwidth

type OutBandwidth struct {
	// Timestamp
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Timestamps []*float64 `json:"Timestamps,omitnil,omitempty" name:"Timestamps"`

	// Time-specific value
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Values []*float64 `json:"Values,omitnil,omitempty" name:"Values"`
}

type RegionZoneInfo

type RegionZoneInfo struct {
	// Region id
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// ZoneInfo array
	Zones []*ZoneInfo `json:"Zones,omitnil,omitempty" name:"Zones"`
}

type Site

type Site struct {
	// Site name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Site id
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// Site description
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Site creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type SiteDetail

type SiteDetail struct {
	// Site id
	SiteId *string `json:"SiteId,omitnil,omitempty" name:"SiteId"`

	// Site name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Site description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Site creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Optical fiber type
	FiberType *string `json:"FiberType,omitnil,omitempty" name:"FiberType"`

	// Uplink speed from the network to Tencent Cloud Region
	UplinkSpeedGbps *int64 `json:"UplinkSpeedGbps,omitnil,omitempty" name:"UplinkSpeedGbps"`

	// Number of uplinks used by each CDC device (2 devices per rack) when connected to the network
	UplinkCount *int64 `json:"UplinkCount,omitnil,omitempty" name:"UplinkCount"`

	// Optical standard used to connect the CDC device to the network
	OpticalStandard *string `json:"OpticalStandard,omitnil,omitempty" name:"OpticalStandard"`

	// Whether redundant upstream equipment (switch or router) is provided so that both network devices can be connected to the network.
	RedundantNetworking *bool `json:"RedundantNetworking,omitnil,omitempty" name:"RedundantNetworking"`

	// Type of power connector
	PowerConnectors *string `json:"PowerConnectors,omitnil,omitempty" name:"PowerConnectors"`

	// Whether power is supplied from above or below the rack
	PowerFeedDrop *string `json:"PowerFeedDrop,omitnil,omitempty" name:"PowerFeedDrop"`

	// Power consumption (KW)
	PowerDrawKva *float64 `json:"PowerDrawKva,omitnil,omitempty" name:"PowerDrawKva"`

	// Whether the following environmental conditions are met:
	// 1. There are no material requirements or the acceptance standard on site that will affect the delivery and installation of the CDC device.
	// 2. The following conditions are met for finalized rack positions:
	// Temperature ranges from 41 to 104°F (5 to 40°C).
	// Humidity ranges from 10°F (-12°C) to 70°F (21°C) and relative humidity ranges from 8% RH to 80% RH.
	// Air flows from front to back at the rack position and there is sufficient air in CFM (cubic feet per minute). The air quantity in CFM must be 145.8 times the power consumption (in KVA) of CDC.
	ConditionRequirement *bool `json:"ConditionRequirement,omitnil,omitempty" name:"ConditionRequirement"`

	// Whether the following dimension conditions are met:
	// Your loading dock can accommodate one rack container (H x W x D = 94" x 54" x 48").
	// You can provide a clear route from the delivery point of your rack (H x W x D = 80" x 24" x 48") to its final installation location. You should consider platforms, corridors, doors, turns, ramps, freight elevators as well as other access restrictions when measuring the depth.
	// There shall be a 48" or greater front clearance and a 24" or greater rear clearance where the CDC is finally installed.
	DimensionRequirement *bool `json:"DimensionRequirement,omitnil,omitempty" name:"DimensionRequirement"`

	// Maximum weight capacity (KG)
	MaxWeight *int64 `json:"MaxWeight,omitnil,omitempty" name:"MaxWeight"`

	// Site address
	AddressLine *string `json:"AddressLine,omitnil,omitempty" name:"AddressLine"`

	// Detailed address of the site area (to be added)
	OptionalAddressLine *string `json:"OptionalAddressLine,omitnil,omitempty" name:"OptionalAddressLine"`

	// Whether you need help from Tencent Cloud for rack installation?
	NeedHelp *bool `json:"NeedHelp,omitnil,omitempty" name:"NeedHelp"`

	// Whether there is an upstream circuit breaker?
	BreakerRequirement *bool `json:"BreakerRequirement,omitnil,omitempty" name:"BreakerRequirement"`

	// Whether there is power redundancy?
	RedundantPower *bool `json:"RedundantPower,omitnil,omitempty" name:"RedundantPower"`

	// Country where the site is located
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// Province where the site is located
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// City where the site is located
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// Postal code of the site area
	PostalCode *int64 `json:"PostalCode,omitnil,omitempty" name:"PostalCode"`
}

type VpngwBandwidthData

type VpngwBandwidthData struct {
	// Outbound bandwidth traffic
	// Note: The returned value of this field may be null, indicating that no valid value is obtained.
	OutBandwidth *OutBandwidth `json:"OutBandwidth,omitnil,omitempty" name:"OutBandwidth"`

	// Inbound bandwidth traffic
	InBandwidth *InBandwidth `json:"InBandwidth,omitnil,omitempty" name:"InBandwidth"`
}

type ZoneInfo

type ZoneInfo struct {
	// AZ name
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// AZ description
	ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`

	// AZ ID
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// AZ status: AVAILABLE or UNAVAILABLE AVAILABLE means the AZ is available while UNAVAILABLE means the AZ is unavailable.
	ZoneState *string `json:"ZoneState,omitnil,omitempty" name:"ZoneState"`
}

Jump to

Keyboard shortcuts

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