model

package
v0.1.40 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggTag added in v0.1.15

type AggTag struct {

	// 键
	Key *string `json:"key,omitempty"`

	// 相同键的值列表
	Values *[]string `json:"values,omitempty"`
}

对于多个key相同的value,聚合成为key/values

func (AggTag) String added in v0.1.15

func (o AggTag) String() string

type AssociateBandwidthPackage added in v0.1.15

type AssociateBandwidthPackage struct {

	// 带宽包实例待关联的资源实例ID。
	ResourceId string `json:"resource_id"`

	// 带宽包实例待关联的资源实例类型,cloud_connection:表示云连接实例。
	ResourceType AssociateBandwidthPackageResourceType `json:"resource_type"`
}

将带宽包实例关联到资源的详细信息。

func (AssociateBandwidthPackage) String added in v0.1.15

func (o AssociateBandwidthPackage) String() string

type AssociateBandwidthPackageRequest added in v0.1.15

type AssociateBandwidthPackageRequest struct {

	// 带宽包实例ID。
	Id string `json:"id"`

	Body *AssociateBandwidthPackageRequestBody `json:"body,omitempty"`
}

Request Object

func (AssociateBandwidthPackageRequest) String added in v0.1.15

type AssociateBandwidthPackageRequestBody added in v0.1.15

type AssociateBandwidthPackageRequestBody struct {
	BandwidthPackage *AssociateBandwidthPackage `json:"bandwidth_package"`
}

关联带宽包实例的请求体。

func (AssociateBandwidthPackageRequestBody) String added in v0.1.15

type AssociateBandwidthPackageResourceType added in v0.1.15

type AssociateBandwidthPackageResourceType struct {
	// contains filtered or unexported fields
}

func (AssociateBandwidthPackageResourceType) MarshalJSON added in v0.1.15

func (c AssociateBandwidthPackageResourceType) MarshalJSON() ([]byte, error)

func (*AssociateBandwidthPackageResourceType) UnmarshalJSON added in v0.1.15

func (c *AssociateBandwidthPackageResourceType) UnmarshalJSON(b []byte) error

func (AssociateBandwidthPackageResourceType) Value added in v0.1.15

type AssociateBandwidthPackageResourceTypeEnum added in v0.1.15

type AssociateBandwidthPackageResourceTypeEnum struct {
	CLOUD_CONNECTION AssociateBandwidthPackageResourceType
}

func GetAssociateBandwidthPackageResourceTypeEnum added in v0.1.15

func GetAssociateBandwidthPackageResourceTypeEnum() AssociateBandwidthPackageResourceTypeEnum

type AssociateBandwidthPackageResponse added in v0.1.15

type AssociateBandwidthPackageResponse struct {
	BandwidthPackage *BandwidthPackage `json:"bandwidth_package,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AssociateBandwidthPackageResponse) String added in v0.1.15

type Authorisation added in v0.1.15

type Authorisation struct {

	// 授权的ID。
	Id *string `json:"id,omitempty"`

	// 授权的名称。
	Name *string `json:"name,omitempty"`

	// 授权的描述信息。
	Description *string `json:"description,omitempty"`

	// 授权的状态。
	Status *string `json:"status,omitempty"`

	// 创建授权的时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新授权的时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 授权者的账户ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 授权实例的ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 授权实例的类型。
	InstanceType *string `json:"instance_type,omitempty"`

	// 授权实例所属Region。
	RegionId *string `json:"region_id,omitempty"`

	// 授权实例所属项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 被授权云连接实例所属的账户ID。
	CloudConnectionDomainId *string `json:"cloud_connection_domain_id,omitempty"`

	// 被授权云连接实例ID。
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`
}

授权

func (Authorisation) String added in v0.1.15

func (o Authorisation) String() string

type BandwidthPackage added in v0.1.15

type BandwidthPackage struct {

	// 带宽包实例的ID。
	Id *string `json:"id,omitempty"`

	// 带宽包实例的名字。
	Name *string `json:"name,omitempty"`

	// 带宽包实例的描述。
	Description *string `json:"description,omitempty"`

	// 帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 带宽包实例的企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 带宽包实例的状态。ACTIVE表示状态
	Status *BandwidthPackageStatus `json:"status,omitempty"`

	// 带宽包实例的创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 带宽包实例的更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 带宽包实例的管理状态。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 带宽包实例的订单ID。
	OrderId *string `json:"order_id,omitempty"`

	// 带宽包实例的产品ID。
	ProductId *string `json:"product_id,omitempty"`

	// 带宽包实例的规格编码。 bandwidth.aftoela:大陆站+国际站南非-拉美东 bandwidth.aftonla:大陆站+国际站南非-拉美北 bandwidth.aftowla:大陆站+国际站南非-拉美西 bandwidth.aptoaf:国际站亚太-南非 bandwidth.aptoap:国际站亚太-亚太 bandwidth.aptoela:大陆站+国际站亚太-拉美东 bandwidth.aptonla:大陆站+国际站亚太-拉美北 bandwidth.aptowla:大陆站+国际站亚太-拉美西 bandwidth.cmtoaf:国际站中国大陆-南非 bandwidth.cmtoap:国际站中国大陆-亚太 bandwidth.cmtocm:国际站中国大陆-中国大陆 bandwidth.cmtoela:大陆站+国际站中国大陆-拉美东 bandwidth.cmtonla:大陆站+国际站中国大陆-拉美北 bandwidth.cmtowla:大陆站+国际站中国大陆-拉美西 bandwidth.elatoela:大陆站+国际站拉美东-拉美东 bandwidth.elatonla:大陆站+国际站拉美东-拉美北 bandwidth.wlatoela:大陆站+国际站拉美西-拉美东 bandwidth.wlatonla:大陆站+国际站拉美西-拉美北 bandwidth.wlatowla:大陆站+国际站拉美西-拉美西
	SpecCode *BandwidthPackageSpecCode `json:"spec_code,omitempty"`

	// 带宽包实例在大陆站或国际站的计费方式。 1:大陆站包周期 2:国际站包周期 3:大陆站按需计费 4:国际站按需计费 5:大陆站按95方式计费 6:国际站按95方式计费
	BillingMode *BandwidthPackageBillingMode `json:"billing_mode,omitempty"`

	// 带宽包实例的计费方式。 bandwidth是按带宽计费。
	ChargeMode *BandwidthPackageChargeMode `json:"charge_mode,omitempty"`

	// 带宽包实例中的带宽值。
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 带宽包实例绑定的资源ID。
	ResourceId *string `json:"resource_id,omitempty"`

	// 带宽包实例绑定的资源类型。 cloud_connection: 云连接实例。
	ResourceType *BandwidthPackageResourceType `json:"resource_type,omitempty"`

	// 本端大区。 云连接支持的大区有: | Chinese-Mainland | 中国大陆 | | Asia-Pacific | 亚太 | | Africa | 非洲 | | Western-Latin-America | 拉美西 | | Eastern-Latin-America | 拉美东 | | Northern-Latin-America | 拉美北 |
	LocalAreaId *BandwidthPackageLocalAreaId `json:"local_area_id,omitempty"`

	// 远端大区。 云连接支持的大区有: | Chinese-Mainland | 中国大陆 | | Asia-Pacific | 亚太 | | Africa | 非洲 | | Western-Latin-America | 拉美西 | | Eastern-Latin-America | 拉美东 | | Northern-Latin-America | 拉美北 |
	RemoteAreaId *BandwidthPackageRemoteAreaId `json:"remote_area_id,omitempty"`

	// 项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 互通类型: - Area: 大区互通 - Region: 城域互通
	InterflowMode *BandwidthPackageInterflowMode `json:"interflow_mode,omitempty"`

	// 标签列表。
	Tags *[]Tag `json:"tags,omitempty"`
}

带宽包实例。

func (BandwidthPackage) String added in v0.1.15

func (o BandwidthPackage) String() string

type BandwidthPackageBillingMode added in v0.1.15

type BandwidthPackageBillingMode struct {
	// contains filtered or unexported fields
}

func (BandwidthPackageBillingMode) MarshalJSON added in v0.1.15

func (c BandwidthPackageBillingMode) MarshalJSON() ([]byte, error)

func (*BandwidthPackageBillingMode) UnmarshalJSON added in v0.1.15

func (c *BandwidthPackageBillingMode) UnmarshalJSON(b []byte) error

func (BandwidthPackageBillingMode) Value added in v0.1.15

type BandwidthPackageChargeMode added in v0.1.15

type BandwidthPackageChargeMode struct {
	// contains filtered or unexported fields
}

func (BandwidthPackageChargeMode) MarshalJSON added in v0.1.15

func (c BandwidthPackageChargeMode) MarshalJSON() ([]byte, error)

func (*BandwidthPackageChargeMode) UnmarshalJSON added in v0.1.15

func (c *BandwidthPackageChargeMode) UnmarshalJSON(b []byte) error

func (BandwidthPackageChargeMode) Value added in v0.1.15

type BandwidthPackageChargeModeEnum added in v0.1.15

type BandwidthPackageChargeModeEnum struct {
	BANDWIDTH BandwidthPackageChargeMode
}

func GetBandwidthPackageChargeModeEnum added in v0.1.15

func GetBandwidthPackageChargeModeEnum() BandwidthPackageChargeModeEnum

type BandwidthPackageInterflowMode added in v0.1.15

type BandwidthPackageInterflowMode struct {
	// contains filtered or unexported fields
}

func (BandwidthPackageInterflowMode) MarshalJSON added in v0.1.15

func (c BandwidthPackageInterflowMode) MarshalJSON() ([]byte, error)

func (*BandwidthPackageInterflowMode) UnmarshalJSON added in v0.1.15

func (c *BandwidthPackageInterflowMode) UnmarshalJSON(b []byte) error

func (BandwidthPackageInterflowMode) Value added in v0.1.15

type BandwidthPackageInterflowModeEnum added in v0.1.15

type BandwidthPackageInterflowModeEnum struct {
	AREA   BandwidthPackageInterflowMode
	REGION BandwidthPackageInterflowMode
}

func GetBandwidthPackageInterflowModeEnum added in v0.1.15

func GetBandwidthPackageInterflowModeEnum() BandwidthPackageInterflowModeEnum

type BandwidthPackageLocalAreaId added in v0.1.15

type BandwidthPackageLocalAreaId struct {
	// contains filtered or unexported fields
}

func (BandwidthPackageLocalAreaId) MarshalJSON added in v0.1.15

func (c BandwidthPackageLocalAreaId) MarshalJSON() ([]byte, error)

func (*BandwidthPackageLocalAreaId) UnmarshalJSON added in v0.1.15

func (c *BandwidthPackageLocalAreaId) UnmarshalJSON(b []byte) error

func (BandwidthPackageLocalAreaId) Value added in v0.1.15

type BandwidthPackageLocalAreaIdEnum added in v0.1.15

type BandwidthPackageLocalAreaIdEnum struct {
	CHINESE_MAINLAND       BandwidthPackageLocalAreaId
	ASIA_PACIFIC           BandwidthPackageLocalAreaId
	AFRICA                 BandwidthPackageLocalAreaId
	WESTERN_LATIN_AMERICA  BandwidthPackageLocalAreaId
	EASTERN_LATIN_AMERICA  BandwidthPackageLocalAreaId
	NORTHERN_LATIN_AMERICA BandwidthPackageLocalAreaId
}

func GetBandwidthPackageLocalAreaIdEnum added in v0.1.15

func GetBandwidthPackageLocalAreaIdEnum() BandwidthPackageLocalAreaIdEnum

type BandwidthPackageRemoteAreaId added in v0.1.15

type BandwidthPackageRemoteAreaId struct {
	// contains filtered or unexported fields
}

func (BandwidthPackageRemoteAreaId) MarshalJSON added in v0.1.15

func (c BandwidthPackageRemoteAreaId) MarshalJSON() ([]byte, error)

func (*BandwidthPackageRemoteAreaId) UnmarshalJSON added in v0.1.15

func (c *BandwidthPackageRemoteAreaId) UnmarshalJSON(b []byte) error

func (BandwidthPackageRemoteAreaId) Value added in v0.1.15

type BandwidthPackageRemoteAreaIdEnum added in v0.1.15

type BandwidthPackageRemoteAreaIdEnum struct {
	CHINESE_MAINLAND       BandwidthPackageRemoteAreaId
	ASIA_PACIFIC           BandwidthPackageRemoteAreaId
	AFRICA                 BandwidthPackageRemoteAreaId
	WESTERN_LATIN_AMERICA  BandwidthPackageRemoteAreaId
	EASTERN_LATIN_AMERICA  BandwidthPackageRemoteAreaId
	NORTHERN_LATIN_AMERICA BandwidthPackageRemoteAreaId
}

func GetBandwidthPackageRemoteAreaIdEnum added in v0.1.15

func GetBandwidthPackageRemoteAreaIdEnum() BandwidthPackageRemoteAreaIdEnum

type BandwidthPackageResourceType added in v0.1.15

type BandwidthPackageResourceType struct {
	// contains filtered or unexported fields
}

func (BandwidthPackageResourceType) MarshalJSON added in v0.1.15

func (c BandwidthPackageResourceType) MarshalJSON() ([]byte, error)

func (*BandwidthPackageResourceType) UnmarshalJSON added in v0.1.15

func (c *BandwidthPackageResourceType) UnmarshalJSON(b []byte) error

func (BandwidthPackageResourceType) Value added in v0.1.15

type BandwidthPackageResourceTypeEnum added in v0.1.15

type BandwidthPackageResourceTypeEnum struct {
	CLOUD_CONNECTION BandwidthPackageResourceType
}

func GetBandwidthPackageResourceTypeEnum added in v0.1.15

func GetBandwidthPackageResourceTypeEnum() BandwidthPackageResourceTypeEnum

type BandwidthPackageSpecCode added in v0.1.15

type BandwidthPackageSpecCode struct {
	// contains filtered or unexported fields
}

func (BandwidthPackageSpecCode) MarshalJSON added in v0.1.15

func (c BandwidthPackageSpecCode) MarshalJSON() ([]byte, error)

func (*BandwidthPackageSpecCode) UnmarshalJSON added in v0.1.15

func (c *BandwidthPackageSpecCode) UnmarshalJSON(b []byte) error

func (BandwidthPackageSpecCode) Value added in v0.1.15

func (c BandwidthPackageSpecCode) Value() string

type BandwidthPackageSpecCodeEnum added in v0.1.15

type BandwidthPackageSpecCodeEnum struct {
	BANDWIDTH_AFTOELA  BandwidthPackageSpecCode
	BANDWIDTH_AFTONLA  BandwidthPackageSpecCode
	BANDWIDTH_AFTOWLA  BandwidthPackageSpecCode
	BANDWIDTH_APTOAF   BandwidthPackageSpecCode
	BANDWIDTH_APTOAP   BandwidthPackageSpecCode
	BANDWIDTH_APTOELA  BandwidthPackageSpecCode
	BANDWIDTH_APTONLA  BandwidthPackageSpecCode
	BANDWIDTH_APTOWLA  BandwidthPackageSpecCode
	BANDWIDTH_CMTOAF   BandwidthPackageSpecCode
	BANDWIDTH_CMTOAP   BandwidthPackageSpecCode
	BANDWIDTH_CMTOCM   BandwidthPackageSpecCode
	BANDWIDTH_CMTOELA  BandwidthPackageSpecCode
	BANDWIDTH_CMTONLA  BandwidthPackageSpecCode
	BANDWIDTH_CMTOWLA  BandwidthPackageSpecCode
	BANDWIDTH_ELATOELA BandwidthPackageSpecCode
	BANDWIDTH_ELATONLA BandwidthPackageSpecCode
	BANDWIDTH_WLATOELA BandwidthPackageSpecCode
	BANDWIDTH_WLATONLA BandwidthPackageSpecCode
	BANDWIDTH_WLATOWLA BandwidthPackageSpecCode
}

func GetBandwidthPackageSpecCodeEnum added in v0.1.15

func GetBandwidthPackageSpecCodeEnum() BandwidthPackageSpecCodeEnum

type BandwidthPackageStatus added in v0.1.15

type BandwidthPackageStatus struct {
	// contains filtered or unexported fields
}

func (BandwidthPackageStatus) MarshalJSON added in v0.1.15

func (c BandwidthPackageStatus) MarshalJSON() ([]byte, error)

func (*BandwidthPackageStatus) UnmarshalJSON added in v0.1.15

func (c *BandwidthPackageStatus) UnmarshalJSON(b []byte) error

func (BandwidthPackageStatus) Value added in v0.1.15

func (c BandwidthPackageStatus) Value() string

type BandwidthPackageStatusEnum added in v0.1.15

type BandwidthPackageStatusEnum struct {
	ACTIVE BandwidthPackageStatus
}

func GetBandwidthPackageStatusEnum added in v0.1.15

func GetBandwidthPackageStatusEnum() BandwidthPackageStatusEnum

type BatchCreateDeleteTagsRequest added in v0.1.15

type BatchCreateDeleteTagsRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 资源类型: - cc: 云连接 - bwp: 带宽包
	ResourceType BatchCreateDeleteTagsRequestResourceType `json:"resource_type"`

	Body *Tags `json:"body,omitempty"`
}

Request Object

func (BatchCreateDeleteTagsRequest) String added in v0.1.15

type BatchCreateDeleteTagsRequestResourceType added in v0.1.15

type BatchCreateDeleteTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (BatchCreateDeleteTagsRequestResourceType) MarshalJSON added in v0.1.15

func (*BatchCreateDeleteTagsRequestResourceType) UnmarshalJSON added in v0.1.15

func (c *BatchCreateDeleteTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (BatchCreateDeleteTagsRequestResourceType) Value added in v0.1.15

type BatchCreateDeleteTagsRequestResourceTypeEnum added in v0.1.15

type BatchCreateDeleteTagsRequestResourceTypeEnum struct {
	CC  BatchCreateDeleteTagsRequestResourceType
	BWP BatchCreateDeleteTagsRequestResourceType
}

func GetBatchCreateDeleteTagsRequestResourceTypeEnum added in v0.1.15

func GetBatchCreateDeleteTagsRequestResourceTypeEnum() BatchCreateDeleteTagsRequestResourceTypeEnum

type BatchCreateDeleteTagsResponse added in v0.1.15

type BatchCreateDeleteTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchCreateDeleteTagsResponse) String added in v0.1.15

type CloudConnection

type CloudConnection struct {

	// 云连接实例的ID。
	Id *string `json:"id,omitempty"`

	// 云连接实例的名字。
	Name *string `json:"name,omitempty"`

	// 云连接实例的描述。
	Description *string `json:"description,omitempty"`

	// 帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 云连接实例的企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 云连接实例的状态。ACTIVE:表示状态可用。
	Status *CloudConnectionStatus `json:"status,omitempty"`

	// 云连接实例的管理状态。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 云连接实例的创建时间。UTC时间格式,yyyy-MM-ddTHH:mm:ss
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 云连接实例的更新时间。UTC时间格式,yyyy-MM-ddTHH:mm:ss
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 云连接使用场景。 - VPC:虚拟私有云。
	UsedScene *CloudConnectionUsedScene `json:"used_scene,omitempty"`

	// 云连接实例关联网络实例的个数。
	NetworkInstanceNumber *int32 `json:"network_instance_number,omitempty"`

	// 云连接实例关联带宽包的个数。
	BandwidthPackageNumber *int32 `json:"bandwidth_package_number,omitempty"`

	// 云连接实例关联域间带宽的个数。
	InterRegionBandwidthNumber *int32 `json:"inter_region_bandwidth_number,omitempty"`
}

云连接实例。

func (CloudConnection) String

func (o CloudConnection) String() string

type CloudConnectionRoute

type CloudConnectionRoute struct {

	// 云连接实例路由的ID。
	Id *string `json:"id,omitempty"`

	// 云连接实例的ID。
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// 帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 网络实例的项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 路由条目下一跳指向的网络实例的ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 路由条目下一跳指向的网络实例的类型。 - VPC:虚拟私有云。 - VGW:虚拟网关。
	Type *CloudConnectionRouteType `json:"type,omitempty"`

	// Region的ID。
	RegionId *string `json:"region_id,omitempty"`

	// 目的地址。
	Destination *string `json:"destination,omitempty"`
}

云连接路由实例。

func (CloudConnectionRoute) String

func (o CloudConnectionRoute) String() string

type CloudConnectionRouteType

type CloudConnectionRouteType struct {
	// contains filtered or unexported fields
}

func (CloudConnectionRouteType) MarshalJSON

func (c CloudConnectionRouteType) MarshalJSON() ([]byte, error)

func (*CloudConnectionRouteType) UnmarshalJSON

func (c *CloudConnectionRouteType) UnmarshalJSON(b []byte) error

func (CloudConnectionRouteType) Value added in v0.0.90

func (c CloudConnectionRouteType) Value() string

type CloudConnectionRouteTypeEnum

type CloudConnectionRouteTypeEnum struct {
	VPC CloudConnectionRouteType
	VGW CloudConnectionRouteType
}

func GetCloudConnectionRouteTypeEnum

func GetCloudConnectionRouteTypeEnum() CloudConnectionRouteTypeEnum

type CloudConnectionStatus

type CloudConnectionStatus struct {
	// contains filtered or unexported fields
}

func (CloudConnectionStatus) MarshalJSON

func (c CloudConnectionStatus) MarshalJSON() ([]byte, error)

func (*CloudConnectionStatus) UnmarshalJSON

func (c *CloudConnectionStatus) UnmarshalJSON(b []byte) error

func (CloudConnectionStatus) Value added in v0.0.90

func (c CloudConnectionStatus) Value() string

type CloudConnectionStatusEnum

type CloudConnectionStatusEnum struct {
	ACTIVE CloudConnectionStatus
}

func GetCloudConnectionStatusEnum

func GetCloudConnectionStatusEnum() CloudConnectionStatusEnum

type CloudConnectionUsedScene

type CloudConnectionUsedScene struct {
	// contains filtered or unexported fields
}

func (CloudConnectionUsedScene) MarshalJSON

func (c CloudConnectionUsedScene) MarshalJSON() ([]byte, error)

func (*CloudConnectionUsedScene) UnmarshalJSON

func (c *CloudConnectionUsedScene) UnmarshalJSON(b []byte) error

func (CloudConnectionUsedScene) Value added in v0.0.90

func (c CloudConnectionUsedScene) Value() string

type CloudConnectionUsedSceneEnum

type CloudConnectionUsedSceneEnum struct {
	VPC CloudConnectionUsedScene
}

func GetCloudConnectionUsedSceneEnum

func GetCloudConnectionUsedSceneEnum() CloudConnectionUsedSceneEnum

type CreateAuthorisation added in v0.1.15

type CreateAuthorisation struct {

	// 授权的名称。
	Name *string `json:"name,omitempty"`

	// 授权的描述信息。
	Description *string `json:"description,omitempty"`

	// 授权网络实例的ID。
	InstanceId string `json:"instance_id"`

	// 授权网络实例的类型: - vpc:虚拟私有云
	InstanceType CreateAuthorisationInstanceType `json:"instance_type"`

	// 授权网络实例所属项目。
	ProjectId string `json:"project_id"`

	// 授权实例所属Region。
	RegionId string `json:"region_id"`

	// 被授权云连接实例所属的账户ID。
	CloudConnectionDomainId string `json:"cloud_connection_domain_id"`

	// 被授权云连接实例ID。
	CloudConnectionId string `json:"cloud_connection_id"`
}

创建授权的详细信息。

func (CreateAuthorisation) String added in v0.1.15

func (o CreateAuthorisation) String() string

type CreateAuthorisationInstanceType added in v0.1.15

type CreateAuthorisationInstanceType struct {
	// contains filtered or unexported fields
}

func (CreateAuthorisationInstanceType) MarshalJSON added in v0.1.15

func (c CreateAuthorisationInstanceType) MarshalJSON() ([]byte, error)

func (*CreateAuthorisationInstanceType) UnmarshalJSON added in v0.1.15

func (c *CreateAuthorisationInstanceType) UnmarshalJSON(b []byte) error

func (CreateAuthorisationInstanceType) Value added in v0.1.15

type CreateAuthorisationInstanceTypeEnum added in v0.1.15

type CreateAuthorisationInstanceTypeEnum struct {
	VPC CreateAuthorisationInstanceType
}

func GetCreateAuthorisationInstanceTypeEnum added in v0.1.15

func GetCreateAuthorisationInstanceTypeEnum() CreateAuthorisationInstanceTypeEnum

type CreateAuthorisationRequest added in v0.1.15

type CreateAuthorisationRequest struct {
	Body *CreateAuthorisationRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateAuthorisationRequest) String added in v0.1.15

type CreateAuthorisationRequestBody added in v0.1.15

type CreateAuthorisationRequestBody struct {
	Authorisation *CreateAuthorisation `json:"authorisation"`
}

创建授权的详细信息。

func (CreateAuthorisationRequestBody) String added in v0.1.15

type CreateAuthorisationResponse added in v0.1.15

type CreateAuthorisationResponse struct {
	Authorisation *Authorisation `json:"authorisation,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAuthorisationResponse) String added in v0.1.15

type CreateBandwidthPackage added in v0.1.15

type CreateBandwidthPackage struct {

	// 带宽包实例的名字。
	Name string `json:"name"`

	// 带宽包实例的描述。
	Description *string `json:"description,omitempty"`

	// 带宽包实例所属的企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 本端大区。 云连接支持的大区有: | Chinese-Mainland | 中国大陆 | | Asia-Pacific | 亚太 | | Africa | 非洲 | | Western-Latin-America | 拉美西 | | Eastern-Latin-America | 拉美东 | | Northern-Latin-America | 拉美北 |
	LocalAreaId CreateBandwidthPackageLocalAreaId `json:"local_area_id"`

	// 远端大区。 云连接支持的大区有: | Chinese-Mainland | 中国大陆 | | Asia-Pacific | 亚太 | | Africa | 非洲 | | Western-Latin-America | 拉美西 | | Eastern-Latin-America | 拉美东 | | Northern-Latin-America | 拉美北 |
	RemoteAreaId CreateBandwidthPackageRemoteAreaId `json:"remote_area_id"`

	// 带宽包实例的计费方式。 bandwidth是按带宽计费。
	ChargeMode CreateBandwidthPackageChargeMode `json:"charge_mode"`

	// 带宽包实例在大陆站或国际站的计费方式: - 3:大陆站按需计费 - 4:国际站按需计费 - 5:大陆站按95方式计费 - 6:国际站按95方式计费
	BillingMode CreateBandwidthPackageBillingMode `json:"billing_mode"`

	// 带宽包实例中的带宽值。
	Bandwidth int32 `json:"bandwidth"`

	// 项目ID。
	ProjectId string `json:"project_id"`

	// 带宽包实例绑定的资源ID。
	ResourceId *string `json:"resource_id,omitempty"`

	// 带宽包实例绑定的资源类型。  cloud_connection: 云连接实例。
	ResourceType *CreateBandwidthPackageResourceType `json:"resource_type,omitempty"`

	// 互通类型: - Area: 大区互通 - Region: 城域互通
	InterflowMode *CreateBandwidthPackageInterflowMode `json:"interflow_mode,omitempty"`
}

创建带宽包请求体。

func (CreateBandwidthPackage) String added in v0.1.15

func (o CreateBandwidthPackage) String() string

type CreateBandwidthPackageBillingMode added in v0.1.15

type CreateBandwidthPackageBillingMode struct {
	// contains filtered or unexported fields
}

func (CreateBandwidthPackageBillingMode) MarshalJSON added in v0.1.15

func (c CreateBandwidthPackageBillingMode) MarshalJSON() ([]byte, error)

func (*CreateBandwidthPackageBillingMode) UnmarshalJSON added in v0.1.15

func (c *CreateBandwidthPackageBillingMode) UnmarshalJSON(b []byte) error

func (CreateBandwidthPackageBillingMode) Value added in v0.1.15

type CreateBandwidthPackageBillingModeEnum added in v0.1.15

func GetCreateBandwidthPackageBillingModeEnum added in v0.1.15

func GetCreateBandwidthPackageBillingModeEnum() CreateBandwidthPackageBillingModeEnum

type CreateBandwidthPackageChargeMode added in v0.1.15

type CreateBandwidthPackageChargeMode struct {
	// contains filtered or unexported fields
}

func (CreateBandwidthPackageChargeMode) MarshalJSON added in v0.1.15

func (c CreateBandwidthPackageChargeMode) MarshalJSON() ([]byte, error)

func (*CreateBandwidthPackageChargeMode) UnmarshalJSON added in v0.1.15

func (c *CreateBandwidthPackageChargeMode) UnmarshalJSON(b []byte) error

func (CreateBandwidthPackageChargeMode) Value added in v0.1.15

type CreateBandwidthPackageChargeModeEnum added in v0.1.15

type CreateBandwidthPackageChargeModeEnum struct {
	BANDWIDTH CreateBandwidthPackageChargeMode
}

func GetCreateBandwidthPackageChargeModeEnum added in v0.1.15

func GetCreateBandwidthPackageChargeModeEnum() CreateBandwidthPackageChargeModeEnum

type CreateBandwidthPackageInterflowMode added in v0.1.16

type CreateBandwidthPackageInterflowMode struct {
	// contains filtered or unexported fields
}

func (CreateBandwidthPackageInterflowMode) MarshalJSON added in v0.1.16

func (c CreateBandwidthPackageInterflowMode) MarshalJSON() ([]byte, error)

func (*CreateBandwidthPackageInterflowMode) UnmarshalJSON added in v0.1.16

func (c *CreateBandwidthPackageInterflowMode) UnmarshalJSON(b []byte) error

func (CreateBandwidthPackageInterflowMode) Value added in v0.1.16

type CreateBandwidthPackageInterflowModeEnum added in v0.1.16

type CreateBandwidthPackageInterflowModeEnum struct {
	AREA   CreateBandwidthPackageInterflowMode
	REGION CreateBandwidthPackageInterflowMode
}

func GetCreateBandwidthPackageInterflowModeEnum added in v0.1.16

func GetCreateBandwidthPackageInterflowModeEnum() CreateBandwidthPackageInterflowModeEnum

type CreateBandwidthPackageLocalAreaId added in v0.1.15

type CreateBandwidthPackageLocalAreaId struct {
	// contains filtered or unexported fields
}

func (CreateBandwidthPackageLocalAreaId) MarshalJSON added in v0.1.15

func (c CreateBandwidthPackageLocalAreaId) MarshalJSON() ([]byte, error)

func (*CreateBandwidthPackageLocalAreaId) UnmarshalJSON added in v0.1.15

func (c *CreateBandwidthPackageLocalAreaId) UnmarshalJSON(b []byte) error

func (CreateBandwidthPackageLocalAreaId) Value added in v0.1.15

type CreateBandwidthPackageLocalAreaIdEnum added in v0.1.15

type CreateBandwidthPackageLocalAreaIdEnum struct {
	CHINESE_MAINLAND       CreateBandwidthPackageLocalAreaId
	ASIA_PACIFIC           CreateBandwidthPackageLocalAreaId
	AFRICA                 CreateBandwidthPackageLocalAreaId
	WESTERN_LATIN_AMERICA  CreateBandwidthPackageLocalAreaId
	EASTERN_LATIN_AMERICA  CreateBandwidthPackageLocalAreaId
	NORTHERN_LATIN_AMERICA CreateBandwidthPackageLocalAreaId
}

func GetCreateBandwidthPackageLocalAreaIdEnum added in v0.1.15

func GetCreateBandwidthPackageLocalAreaIdEnum() CreateBandwidthPackageLocalAreaIdEnum

type CreateBandwidthPackageRemoteAreaId added in v0.1.15

type CreateBandwidthPackageRemoteAreaId struct {
	// contains filtered or unexported fields
}

func (CreateBandwidthPackageRemoteAreaId) MarshalJSON added in v0.1.15

func (c CreateBandwidthPackageRemoteAreaId) MarshalJSON() ([]byte, error)

func (*CreateBandwidthPackageRemoteAreaId) UnmarshalJSON added in v0.1.15

func (c *CreateBandwidthPackageRemoteAreaId) UnmarshalJSON(b []byte) error

func (CreateBandwidthPackageRemoteAreaId) Value added in v0.1.15

type CreateBandwidthPackageRemoteAreaIdEnum added in v0.1.15

type CreateBandwidthPackageRemoteAreaIdEnum struct {
	CHINESE_MAINLAND       CreateBandwidthPackageRemoteAreaId
	ASIA_PACIFIC           CreateBandwidthPackageRemoteAreaId
	AFRICA                 CreateBandwidthPackageRemoteAreaId
	WESTERN_LATIN_AMERICA  CreateBandwidthPackageRemoteAreaId
	EASTERN_LATIN_AMERICA  CreateBandwidthPackageRemoteAreaId
	NORTHERN_LATIN_AMERICA CreateBandwidthPackageRemoteAreaId
}

func GetCreateBandwidthPackageRemoteAreaIdEnum added in v0.1.15

func GetCreateBandwidthPackageRemoteAreaIdEnum() CreateBandwidthPackageRemoteAreaIdEnum

type CreateBandwidthPackageRequest added in v0.1.15

type CreateBandwidthPackageRequest struct {
	Body *CreateBandwidthPackageRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateBandwidthPackageRequest) String added in v0.1.15

type CreateBandwidthPackageRequestBody added in v0.1.15

type CreateBandwidthPackageRequestBody struct {
	BandwidthPackage *CreateBandwidthPackage `json:"bandwidth_package"`
}

创建带宽包实例的请求体。

func (CreateBandwidthPackageRequestBody) String added in v0.1.15

type CreateBandwidthPackageResourceType added in v0.1.15

type CreateBandwidthPackageResourceType struct {
	// contains filtered or unexported fields
}

func (CreateBandwidthPackageResourceType) MarshalJSON added in v0.1.15

func (c CreateBandwidthPackageResourceType) MarshalJSON() ([]byte, error)

func (*CreateBandwidthPackageResourceType) UnmarshalJSON added in v0.1.15

func (c *CreateBandwidthPackageResourceType) UnmarshalJSON(b []byte) error

func (CreateBandwidthPackageResourceType) Value added in v0.1.15

type CreateBandwidthPackageResourceTypeEnum added in v0.1.15

type CreateBandwidthPackageResourceTypeEnum struct {
	CLOUD_CONNECTION CreateBandwidthPackageResourceType
}

func GetCreateBandwidthPackageResourceTypeEnum added in v0.1.15

func GetCreateBandwidthPackageResourceTypeEnum() CreateBandwidthPackageResourceTypeEnum

type CreateBandwidthPackageResponse added in v0.1.15

type CreateBandwidthPackageResponse struct {
	BandwidthPackage *BandwidthPackage `json:"bandwidth_package,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateBandwidthPackageResponse) String added in v0.1.15

type CreateCloudConnection

type CreateCloudConnection struct {

	// 云连接实例的名字。只能由中文、英文字母、数字、下划线、中划线、点组成。
	Name string `json:"name"`

	// 云连接实例的描述。不支持 <>。
	Description *string `json:"description,omitempty"`

	// 云连接实例所属的企业项目ID。企业项目账号必填;非企业项目账号不填。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

创建云连接实例的详细信息。

func (CreateCloudConnection) String

func (o CreateCloudConnection) String() string

type CreateCloudConnectionRequest

type CreateCloudConnectionRequest struct {
	Body *CreateCloudConnectionRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateCloudConnectionRequest) String

type CreateCloudConnectionRequestBody

type CreateCloudConnectionRequestBody struct {
	CloudConnection *CreateCloudConnection `json:"cloud_connection"`
}

创建云连接实例的请求体。

func (CreateCloudConnectionRequestBody) String

type CreateCloudConnectionResponse

type CreateCloudConnectionResponse struct {
	CloudConnection *CloudConnection `json:"cloud_connection,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateCloudConnectionResponse) String

type CreateInterRegionBandwidth added in v0.1.15

type CreateInterRegionBandwidth struct {

	// 云连接实例ID。
	CloudConnectionId string `json:"cloud_connection_id"`

	// 带宽包实例ID。
	BandwidthPackageId string `json:"bandwidth_package_id"`

	// 域间带宽值。
	Bandwidth int32 `json:"bandwidth"`

	// 域间RegionID。
	InterRegionIds []string `json:"inter_region_ids"`
}

创建域间带宽的详情信息。

func (CreateInterRegionBandwidth) String added in v0.1.15

type CreateInterRegionBandwidthRequest added in v0.1.15

type CreateInterRegionBandwidthRequest struct {
	Body *CreateInterRegionBandwidthRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateInterRegionBandwidthRequest) String added in v0.1.15

type CreateInterRegionBandwidthRequestBody added in v0.1.15

type CreateInterRegionBandwidthRequestBody struct {
	InterRegionBandwidth *CreateInterRegionBandwidth `json:"inter_region_bandwidth"`
}

创建域间带宽实例的请求体。

func (CreateInterRegionBandwidthRequestBody) String added in v0.1.15

type CreateInterRegionBandwidthResponse added in v0.1.15

type CreateInterRegionBandwidthResponse struct {
	InterRegionBandwidth *InterRegionBandwidth `json:"inter_region_bandwidth,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateInterRegionBandwidthResponse) String added in v0.1.15

type CreateNetworkInstance

type CreateNetworkInstance struct {

	// 网络实例的名字。只能由中文、英文字母、数字、下划线、中划线、点组成。
	Name *string `json:"name,omitempty"`

	// 网络实例的描述。不支持 <>。
	Description *string `json:"description,omitempty"`

	// 添加到云连接网络实例的类型,有效值: - vpc:虚拟私有云。 - vgw:虚拟网关。
	Type CreateNetworkInstanceType `json:"type"`

	// 添加到云连接网络实例的ID,VPC或者VGW的ID。
	InstanceId string `json:"instance_id"`

	// 网络实例的账户ID。跨账号加载必填;同账号下资源加载不填。
	InstanceDomainId *string `json:"instance_domain_id,omitempty"`

	// 网络实例的项目ID。
	ProjectId string `json:"project_id"`

	// 网络实例的RegionID。
	RegionId string `json:"region_id"`

	// 云连接实例ID。
	CloudConnectionId string `json:"cloud_connection_id"`

	// 网络实例发布的网段路由列表。
	Cidrs []string `json:"cidrs"`
}

创建网络实例的详细信息。

func (CreateNetworkInstance) String

func (o CreateNetworkInstance) String() string

type CreateNetworkInstanceRequest

type CreateNetworkInstanceRequest struct {
	Body *CreateNetworkInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateNetworkInstanceRequest) String

type CreateNetworkInstanceRequestBody

type CreateNetworkInstanceRequestBody struct {
	NetworkInstance *CreateNetworkInstance `json:"network_instance"`
}

创建网络实例的请求体。

func (CreateNetworkInstanceRequestBody) String

type CreateNetworkInstanceResponse

type CreateNetworkInstanceResponse struct {
	NetworkInstance *NetworkInstance `json:"network_instance,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateNetworkInstanceResponse) String

type CreateNetworkInstanceType

type CreateNetworkInstanceType struct {
	// contains filtered or unexported fields
}

func (CreateNetworkInstanceType) MarshalJSON

func (c CreateNetworkInstanceType) MarshalJSON() ([]byte, error)

func (*CreateNetworkInstanceType) UnmarshalJSON

func (c *CreateNetworkInstanceType) UnmarshalJSON(b []byte) error

func (CreateNetworkInstanceType) Value added in v0.0.90

type CreateNetworkInstanceTypeEnum

type CreateNetworkInstanceTypeEnum struct {
	VPC CreateNetworkInstanceType
	VGW CreateNetworkInstanceType
}

func GetCreateNetworkInstanceTypeEnum

func GetCreateNetworkInstanceTypeEnum() CreateNetworkInstanceTypeEnum

type CreateTagRequest added in v0.1.15

type CreateTagRequest struct {

	// 资源ID。
	ResourceId string `json:"resource_id"`

	// 资源类型: - cc: 云连接 - bwp: 带宽包
	ResourceType CreateTagRequestResourceType `json:"resource_type"`

	Body *CreateTagRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateTagRequest) String added in v0.1.15

func (o CreateTagRequest) String() string

type CreateTagRequestBody added in v0.1.15

type CreateTagRequestBody struct {
	Tag *Tag `json:"tag,omitempty"`
}

创建Tag请求体

func (CreateTagRequestBody) String added in v0.1.15

func (o CreateTagRequestBody) String() string

type CreateTagRequestResourceType added in v0.1.15

type CreateTagRequestResourceType struct {
	// contains filtered or unexported fields
}

func (CreateTagRequestResourceType) MarshalJSON added in v0.1.15

func (c CreateTagRequestResourceType) MarshalJSON() ([]byte, error)

func (*CreateTagRequestResourceType) UnmarshalJSON added in v0.1.15

func (c *CreateTagRequestResourceType) UnmarshalJSON(b []byte) error

func (CreateTagRequestResourceType) Value added in v0.1.15

type CreateTagRequestResourceTypeEnum added in v0.1.15

type CreateTagRequestResourceTypeEnum struct {
	CC  CreateTagRequestResourceType
	BWP CreateTagRequestResourceType
}

func GetCreateTagRequestResourceTypeEnum added in v0.1.15

func GetCreateTagRequestResourceTypeEnum() CreateTagRequestResourceTypeEnum

type CreateTagResponse added in v0.1.15

type CreateTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateTagResponse) String added in v0.1.15

func (o CreateTagResponse) String() string

type DeleteAuthorisationRequest added in v0.1.15

type DeleteAuthorisationRequest struct {

	// 授权ID。
	Id string `json:"id"`
}

Request Object

func (DeleteAuthorisationRequest) String added in v0.1.15

type DeleteAuthorisationResponse added in v0.1.15

type DeleteAuthorisationResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteAuthorisationResponse) String added in v0.1.15

type DeleteBandwidthPackageRequest added in v0.1.15

type DeleteBandwidthPackageRequest struct {

	// 带宽包实例ID。
	Id string `json:"id"`
}

Request Object

func (DeleteBandwidthPackageRequest) String added in v0.1.15

type DeleteBandwidthPackageResponse added in v0.1.15

type DeleteBandwidthPackageResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteBandwidthPackageResponse) String added in v0.1.15

type DeleteCloudConnectionRequest

type DeleteCloudConnectionRequest struct {

	// 云连接实例ID。
	Id string `json:"id"`
}

Request Object

func (DeleteCloudConnectionRequest) String

type DeleteCloudConnectionResponse

type DeleteCloudConnectionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteCloudConnectionResponse) String

type DeleteInterRegionBandwidthRequest added in v0.1.15

type DeleteInterRegionBandwidthRequest struct {

	// 域间带宽实例ID。
	Id string `json:"id"`
}

Request Object

func (DeleteInterRegionBandwidthRequest) String added in v0.1.15

type DeleteInterRegionBandwidthResponse added in v0.1.15

type DeleteInterRegionBandwidthResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteInterRegionBandwidthResponse) String added in v0.1.15

type DeleteNetworkInstanceRequest

type DeleteNetworkInstanceRequest struct {

	// 网络实例ID。
	Id string `json:"id"`
}

Request Object

func (DeleteNetworkInstanceRequest) String

type DeleteNetworkInstanceResponse

type DeleteNetworkInstanceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteNetworkInstanceResponse) String

type DeleteTagRequest added in v0.1.15

type DeleteTagRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 待删除资源标签的key
	TagKey string `json:"tag_key"`

	// 资源类型: - cc: 云连接 - bwp: 带宽包
	ResourceType DeleteTagRequestResourceType `json:"resource_type"`
}

Request Object

func (DeleteTagRequest) String added in v0.1.15

func (o DeleteTagRequest) String() string

type DeleteTagRequestResourceType added in v0.1.15

type DeleteTagRequestResourceType struct {
	// contains filtered or unexported fields
}

func (DeleteTagRequestResourceType) MarshalJSON added in v0.1.15

func (c DeleteTagRequestResourceType) MarshalJSON() ([]byte, error)

func (*DeleteTagRequestResourceType) UnmarshalJSON added in v0.1.15

func (c *DeleteTagRequestResourceType) UnmarshalJSON(b []byte) error

func (DeleteTagRequestResourceType) Value added in v0.1.15

type DeleteTagRequestResourceTypeEnum added in v0.1.15

type DeleteTagRequestResourceTypeEnum struct {
	CC  DeleteTagRequestResourceType
	BWP DeleteTagRequestResourceType
}

func GetDeleteTagRequestResourceTypeEnum added in v0.1.15

func GetDeleteTagRequestResourceTypeEnum() DeleteTagRequestResourceTypeEnum

type DeleteTagResponse added in v0.1.15

type DeleteTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTagResponse) String added in v0.1.15

func (o DeleteTagResponse) String() string

type DisassociateBandwidthPackage added in v0.1.15

type DisassociateBandwidthPackage struct {

	// 带宽包实例待解关联的资源实例ID。
	ResourceId string `json:"resource_id"`

	// 带宽包实例待解关联的资源实例类型,cloud_connection:表示为云连接实例。
	ResourceType DisassociateBandwidthPackageResourceType `json:"resource_type"`
}

解关联带宽包实例的详细信息。

func (DisassociateBandwidthPackage) String added in v0.1.15

type DisassociateBandwidthPackageRequest added in v0.1.15

type DisassociateBandwidthPackageRequest struct {

	// 带宽包实例ID。
	Id string `json:"id"`

	Body *DisassociateBandwidthPackageRequestBody `json:"body,omitempty"`
}

Request Object

func (DisassociateBandwidthPackageRequest) String added in v0.1.15

type DisassociateBandwidthPackageRequestBody added in v0.1.15

type DisassociateBandwidthPackageRequestBody struct {
	BandwidthPackage *DisassociateBandwidthPackage `json:"bandwidth_package"`
}

解关联带宽包实例的请求体。

func (DisassociateBandwidthPackageRequestBody) String added in v0.1.15

type DisassociateBandwidthPackageResourceType added in v0.1.15

type DisassociateBandwidthPackageResourceType struct {
	// contains filtered or unexported fields
}

func (DisassociateBandwidthPackageResourceType) MarshalJSON added in v0.1.15

func (*DisassociateBandwidthPackageResourceType) UnmarshalJSON added in v0.1.15

func (c *DisassociateBandwidthPackageResourceType) UnmarshalJSON(b []byte) error

func (DisassociateBandwidthPackageResourceType) Value added in v0.1.15

type DisassociateBandwidthPackageResourceTypeEnum added in v0.1.15

type DisassociateBandwidthPackageResourceTypeEnum struct {
	CLOUD_CONNECTION DisassociateBandwidthPackageResourceType
}

func GetDisassociateBandwidthPackageResourceTypeEnum added in v0.1.15

func GetDisassociateBandwidthPackageResourceTypeEnum() DisassociateBandwidthPackageResourceTypeEnum

type DisassociateBandwidthPackageResponse added in v0.1.15

type DisassociateBandwidthPackageResponse struct {
	BandwidthPackage *BandwidthPackage `json:"bandwidth_package,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DisassociateBandwidthPackageResponse) String added in v0.1.15

type FilterTagResource added in v0.1.15

type FilterTagResource struct {

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源名称
	ResourceName string `json:"resource_name"`

	// 资源详情
	ResourceDetail *string `json:"resource_detail,omitempty"`

	// 资源下包含的标签
	Tags *[]Tag `json:"tags,omitempty"`
}

标签资源

func (FilterTagResource) String added in v0.1.15

func (o FilterTagResource) String() string

type InterRegion added in v0.1.15

type InterRegion struct {

	// 域间实例的ID。
	Id *string `json:"id,omitempty"`

	// 域间实例本段的项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 域间实例本段的RegionID。
	LocalRegionId *string `json:"local_region_id,omitempty"`

	// 域间实例对段的RegionID。
	RemoteRegionId *string `json:"remote_region_id,omitempty"`
}

func (InterRegion) String added in v0.1.15

func (o InterRegion) String() string

type InterRegionBandwidth added in v0.1.15

type InterRegionBandwidth struct {

	// 域间带宽实例的ID。
	Id *string `json:"id,omitempty"`

	// 域间带宽实例的名字。
	Name *string `json:"name,omitempty"`

	// 域间带宽实例的描述。
	Description *string `json:"description,omitempty"`

	// 帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 带宽包实例的ID。
	BandwidthPackageId *string `json:"bandwidth_package_id,omitempty"`

	// 域间带宽实例的创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 域间带宽实例的更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 云连接实例的ID。
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// 域间实例信息。
	InterRegions *[]InterRegion `json:"inter_regions,omitempty"`

	// 域间带宽的值。
	Bandwidth *int32 `json:"bandwidth,omitempty"`
}

域间带宽实例。

func (InterRegionBandwidth) String added in v0.1.15

func (o InterRegionBandwidth) String() string

type ListAuthorisationsRequest added in v0.1.15

type ListAuthorisationsRequest struct {

	// 分页查询时,每页返回的个数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询时,上一页最后一条记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 根据ID过滤授权列表。
	Id *[]string `json:"id,omitempty"`

	// 根据名称过滤授权列表。
	Name *[]string `json:"name,omitempty"`

	// 根据描述过滤授权列表。
	Description *[]string `json:"description,omitempty"`

	// 根据云连接实例ID过滤授权列表。
	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`

	// 根据实例ID过滤授权列表。
	InstanceId *[]ListAuthorisationsRequestInstanceId `json:"instance_id,omitempty"`
}

Request Object

func (ListAuthorisationsRequest) String added in v0.1.15

func (o ListAuthorisationsRequest) String() string

type ListAuthorisationsRequestInstanceId added in v0.1.15

type ListAuthorisationsRequestInstanceId struct {
	// contains filtered or unexported fields
}

func (ListAuthorisationsRequestInstanceId) MarshalJSON added in v0.1.15

func (c ListAuthorisationsRequestInstanceId) MarshalJSON() ([]byte, error)

func (*ListAuthorisationsRequestInstanceId) UnmarshalJSON added in v0.1.15

func (c *ListAuthorisationsRequestInstanceId) UnmarshalJSON(b []byte) error

func (ListAuthorisationsRequestInstanceId) Value added in v0.1.15

type ListAuthorisationsRequestInstanceIdEnum added in v0.1.15

type ListAuthorisationsRequestInstanceIdEnum struct {
	ACTIVE ListAuthorisationsRequestInstanceId
}

func GetListAuthorisationsRequestInstanceIdEnum added in v0.1.15

func GetListAuthorisationsRequestInstanceIdEnum() ListAuthorisationsRequestInstanceIdEnum

type ListAuthorisationsResponse added in v0.1.15

type ListAuthorisationsResponse struct {

	// 授权的详细信息。
	Authorisations *[]Authorisation `json:"authorisations,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListAuthorisationsResponse) String added in v0.1.15

type ListBandwidthPackagesRequest added in v0.1.15

type ListBandwidthPackagesRequest struct {

	// 分页查询时,每页返回的个数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询时,上一页最后一条记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 根据ID过滤带宽包实例列表。
	Id *[]string `json:"id,omitempty"`

	// 根据名称过滤带宽包实例列表。
	Name *[]string `json:"name,omitempty"`

	// 根据状态过滤带宽包实例列表。ACTIVE:表示状态可用。
	Status *[]ListBandwidthPackagesRequestStatus `json:"status,omitempty"`

	// 根据企业项目ID过滤带宽包实例列表。
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 根据计费方式过滤带宽包实例列表。
	BillingMode *[]string `json:"billing_mode,omitempty"`

	// 根据绑定的资源ID过滤带宽包实例列表。
	ResourceId *[]string `json:"resource_id,omitempty"`
}

Request Object

func (ListBandwidthPackagesRequest) String added in v0.1.15

type ListBandwidthPackagesRequestStatus added in v0.1.15

type ListBandwidthPackagesRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListBandwidthPackagesRequestStatus) MarshalJSON added in v0.1.15

func (c ListBandwidthPackagesRequestStatus) MarshalJSON() ([]byte, error)

func (*ListBandwidthPackagesRequestStatus) UnmarshalJSON added in v0.1.15

func (c *ListBandwidthPackagesRequestStatus) UnmarshalJSON(b []byte) error

func (ListBandwidthPackagesRequestStatus) Value added in v0.1.15

type ListBandwidthPackagesRequestStatusEnum added in v0.1.15

type ListBandwidthPackagesRequestStatusEnum struct {
	ACTIVE ListBandwidthPackagesRequestStatus
}

func GetListBandwidthPackagesRequestStatusEnum added in v0.1.15

func GetListBandwidthPackagesRequestStatusEnum() ListBandwidthPackagesRequestStatusEnum

type ListBandwidthPackagesResponse added in v0.1.15

type ListBandwidthPackagesResponse struct {

	// 带宽包实例列表。
	BandwidthPackages *[]BandwidthPackage `json:"bandwidth_packages,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListBandwidthPackagesResponse) String added in v0.1.15

type ListCloudConnectionRoutesRequest

type ListCloudConnectionRoutesRequest struct {

	// 分页查询时,每页返回的个数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询时,上一页最后一条记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 根据云连接路由ID过滤云连接路由条目列表。
	Id *string `json:"id,omitempty"`

	// 根据云连接实例ID过滤云连接路由条目列表。
	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`

	// 根据网络实例ID过滤云连接路由条目列表。
	InstanceId *[]string `json:"instance_id,omitempty"`

	// 根据Region ID过滤云连接路由条目列表。
	RegionId *string `json:"region_id,omitempty"`
}

Request Object

func (ListCloudConnectionRoutesRequest) String

type ListCloudConnectionRoutesResponse

type ListCloudConnectionRoutesResponse struct {

	// 云连接路由实例列表。
	CloudConnectionRoutes *[]CloudConnectionRoute `json:"cloud_connection_routes,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCloudConnectionRoutesResponse) String

type ListCloudConnectionsRequest

type ListCloudConnectionsRequest struct {

	// 分页查询时,每页返回的个数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询时,上一页最后一条记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 根据ID过滤云连接实例列表。
	Id *[]string `json:"id,omitempty"`

	// 根据名称过滤云连接实例列表。
	Name *[]string `json:"name,omitempty"`

	// 根据描述过滤云连接实例列表。
	Description *[]string `json:"description,omitempty"`

	// 根据状态过滤云连接实例列表。ACTIVE:表示状态可用。
	Status *[]ListCloudConnectionsRequestStatus `json:"status,omitempty"`

	// 根据企业项目ID过滤云连接实例列表。
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 根据类型过滤云连接实例列表。
	Type *[]string `json:"type,omitempty"`
}

Request Object

func (ListCloudConnectionsRequest) String

type ListCloudConnectionsRequestStatus

type ListCloudConnectionsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListCloudConnectionsRequestStatus) MarshalJSON

func (c ListCloudConnectionsRequestStatus) MarshalJSON() ([]byte, error)

func (*ListCloudConnectionsRequestStatus) UnmarshalJSON

func (c *ListCloudConnectionsRequestStatus) UnmarshalJSON(b []byte) error

func (ListCloudConnectionsRequestStatus) Value added in v0.0.90

type ListCloudConnectionsRequestStatusEnum

type ListCloudConnectionsRequestStatusEnum struct {
	ACTIVE ListCloudConnectionsRequestStatus
}

func GetListCloudConnectionsRequestStatusEnum

func GetListCloudConnectionsRequestStatusEnum() ListCloudConnectionsRequestStatusEnum

type ListCloudConnectionsResponse

type ListCloudConnectionsResponse struct {

	// 云连接实例列表。
	CloudConnections *[]CloudConnection `json:"cloud_connections,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCloudConnectionsResponse) String

type ListDomainTagsRequest added in v0.1.15

type ListDomainTagsRequest struct {

	// 资源类型: - cc: 云连接 - bwp: 带宽包
	ResourceType ListDomainTagsRequestResourceType `json:"resource_type"`
}

Request Object

func (ListDomainTagsRequest) String added in v0.1.15

func (o ListDomainTagsRequest) String() string

type ListDomainTagsRequestResourceType added in v0.1.15

type ListDomainTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListDomainTagsRequestResourceType) MarshalJSON added in v0.1.15

func (c ListDomainTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListDomainTagsRequestResourceType) UnmarshalJSON added in v0.1.15

func (c *ListDomainTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (ListDomainTagsRequestResourceType) Value added in v0.1.15

type ListDomainTagsRequestResourceTypeEnum added in v0.1.15

type ListDomainTagsRequestResourceTypeEnum struct {
	CC  ListDomainTagsRequestResourceType
	BWP ListDomainTagsRequestResourceType
}

func GetListDomainTagsRequestResourceTypeEnum added in v0.1.15

func GetListDomainTagsRequestResourceTypeEnum() ListDomainTagsRequestResourceTypeEnum

type ListDomainTagsResponse added in v0.1.15

type ListDomainTagsResponse struct {

	// 标签列表
	Tags *[]AggTag `json:"tags,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListDomainTagsResponse) String added in v0.1.15

func (o ListDomainTagsResponse) String() string

type ListInterRegionBandwidthsRequest added in v0.1.15

type ListInterRegionBandwidthsRequest struct {

	// 分页查询时,每页返回的个数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询时,上一页最后一条记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 根据ID过滤域间带宽实例列表。
	Id *[]string `json:"id,omitempty"`

	// 根据企业项目ID过滤域间带宽实例列表。
	EnterpriseProjectId *[]string `json:"enterprise_project_id,omitempty"`

	// 根据云连接ID过滤域间带宽实例列表。
	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`

	// 根据带宽包列表过滤域间带宽实例列表。
	BandwidthPackageId *[]string `json:"bandwidth_package_id,omitempty"`
}

Request Object

func (ListInterRegionBandwidthsRequest) String added in v0.1.15

type ListInterRegionBandwidthsResponse added in v0.1.15

type ListInterRegionBandwidthsResponse struct {

	// 域间带宽实例列表。
	InterRegionBandwidths *[]InterRegionBandwidth `json:"inter_region_bandwidths,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListInterRegionBandwidthsResponse) String added in v0.1.15

type ListNetworkInstancesRequest

type ListNetworkInstancesRequest struct {

	// 分页查询时,每页返回的个数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询时,上一页最后一条记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 根据ID过滤网络实例列表。
	Id *[]string `json:"id,omitempty"`

	// 根据名称过滤网络实例列表。
	Name *[]string `json:"name,omitempty"`

	// 根据描述过滤网络实例列表。
	Description *[]string `json:"description,omitempty"`

	// 根据状态过滤网络实例列表。ACTIVE:表示状态可用。
	Status *[]ListNetworkInstancesRequestStatus `json:"status,omitempty"`

	// 根据类型过滤网络实例列表。
	Type *[]string `json:"type,omitempty"`

	// 根据云连接实例ID过滤网络实例列表。
	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`

	// 根据网络实例ID过滤网络实例列表。
	InstanceId *[]string `json:"instance_id,omitempty"`

	// 根据网络实例所在的Region过滤网络实例列表。
	RegionId *[]string `json:"region_id,omitempty"`
}

Request Object

func (ListNetworkInstancesRequest) String

type ListNetworkInstancesRequestStatus

type ListNetworkInstancesRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListNetworkInstancesRequestStatus) MarshalJSON

func (c ListNetworkInstancesRequestStatus) MarshalJSON() ([]byte, error)

func (*ListNetworkInstancesRequestStatus) UnmarshalJSON

func (c *ListNetworkInstancesRequestStatus) UnmarshalJSON(b []byte) error

func (ListNetworkInstancesRequestStatus) Value added in v0.0.90

type ListNetworkInstancesRequestStatusEnum

type ListNetworkInstancesRequestStatusEnum struct {
	ACTIVE ListNetworkInstancesRequestStatus
}

func GetListNetworkInstancesRequestStatusEnum

func GetListNetworkInstancesRequestStatusEnum() ListNetworkInstancesRequestStatusEnum

type ListNetworkInstancesResponse

type ListNetworkInstancesResponse struct {

	// 网络实例列表。
	NetworkInstances *[]NetworkInstance `json:"network_instances,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListNetworkInstancesResponse) String

type ListPermissionsRequest added in v0.1.15

type ListPermissionsRequest struct {

	// 分页查询时,每页返回的个数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询时,上一页最后一条记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 根据ID过滤授权列表。
	Id *[]string `json:"id,omitempty"`

	// 根据名称过滤授权列表。
	Name *[]string `json:"name,omitempty"`

	// 根据描述过滤授权列表。
	Description *[]string `json:"description,omitempty"`

	// 根据云连接实例ID过滤授权列表。
	CloudConnectionId *[]string `json:"cloud_connection_id,omitempty"`

	// 根据实例ID过滤授权列表。
	InstanceId *[]string `json:"instance_id,omitempty"`
}

Request Object

func (ListPermissionsRequest) String added in v0.1.15

func (o ListPermissionsRequest) String() string

type ListPermissionsResponse added in v0.1.15

type ListPermissionsResponse struct {

	// 权限的详细信息。
	Permissions *[]Permission `json:"permissions,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListPermissionsResponse) String added in v0.1.15

func (o ListPermissionsResponse) String() string

type ListQuotasRequest added in v0.1.15

type ListQuotasRequest struct {

	// 分页查询时,每页返回的个数。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询时,上一页最后一条记录的ID,为空时为查询第一页。 使用说明:必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 配额类型: - cloud_connection: 可加载的云连接实例数 - cloud_connection_region: 某云连接实例下可加载的Region数 - cloud_connection_route: 某云连接实例下可加载的路由数 - region_network_instance: 某云连接实例下某个Region下可加载的网络实例数
	QuotaType *ListQuotasRequestQuotaType `json:"quota_type,omitempty"`
}

Request Object

func (ListQuotasRequest) String added in v0.1.15

func (o ListQuotasRequest) String() string

type ListQuotasRequestQuotaType added in v0.1.15

type ListQuotasRequestQuotaType struct {
	// contains filtered or unexported fields
}

func (ListQuotasRequestQuotaType) MarshalJSON added in v0.1.15

func (c ListQuotasRequestQuotaType) MarshalJSON() ([]byte, error)

func (*ListQuotasRequestQuotaType) UnmarshalJSON added in v0.1.15

func (c *ListQuotasRequestQuotaType) UnmarshalJSON(b []byte) error

func (ListQuotasRequestQuotaType) Value added in v0.1.15

type ListQuotasRequestQuotaTypeEnum added in v0.1.15

type ListQuotasRequestQuotaTypeEnum struct {
	CLOUD_CONNECTION        ListQuotasRequestQuotaType
	CLOUD_CONNECTION_REGION ListQuotasRequestQuotaType
	CLOUD_CONNECTION_ROUTE  ListQuotasRequestQuotaType
	REGION_NETWORK_INSTANCE ListQuotasRequestQuotaType
}

func GetListQuotasRequestQuotaTypeEnum added in v0.1.15

func GetListQuotasRequestQuotaTypeEnum() ListQuotasRequestQuotaTypeEnum

type ListQuotasResponse added in v0.1.15

type ListQuotasResponse struct {

	// 配额列表。
	Quotas *[]Quota `json:"quotas,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListQuotasResponse) String added in v0.1.15

func (o ListQuotasResponse) String() string

type ListResourceByFilterTagRequest added in v0.1.15

type ListResourceByFilterTagRequest struct {

	// 资源类型: - cc: 云连接 - bwp: 带宽包
	ResourceType ListResourceByFilterTagRequestResourceType `json:"resource_type"`

	Body *ListResourceByFilterTagRequestBody `json:"body,omitempty"`
}

Request Object

func (ListResourceByFilterTagRequest) String added in v0.1.15

type ListResourceByFilterTagRequestBody added in v0.1.15

type ListResourceByFilterTagRequestBody struct {

	// 动作。|- filter:过滤。 count:查询总条数。
	Action *ListResourceByFilterTagRequestBodyAction `json:"action,omitempty"`

	// 查询结果数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 查询结果偏移
	Offset *int32 `json:"offset,omitempty"`

	// 是否包含以下tag(多个key取\"与\"关系,多个value取\"或\"关系)
	Tags *[]AggTag `json:"tags,omitempty"`

	// 是否匹配以下tag,key必须为\"resource_name\",value如果有值则模糊匹配,如果为空字符串则精确匹配
	Matches *[]Tag `json:"matches,omitempty"`
}

用于查询资源实例的Tag过滤条件

func (ListResourceByFilterTagRequestBody) String added in v0.1.15

type ListResourceByFilterTagRequestBodyAction added in v0.1.15

type ListResourceByFilterTagRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (ListResourceByFilterTagRequestBodyAction) MarshalJSON added in v0.1.15

func (*ListResourceByFilterTagRequestBodyAction) UnmarshalJSON added in v0.1.15

func (c *ListResourceByFilterTagRequestBodyAction) UnmarshalJSON(b []byte) error

func (ListResourceByFilterTagRequestBodyAction) Value added in v0.1.15

type ListResourceByFilterTagRequestBodyActionEnum added in v0.1.15

type ListResourceByFilterTagRequestBodyActionEnum struct {
	FILTER ListResourceByFilterTagRequestBodyAction
	COUNT  ListResourceByFilterTagRequestBodyAction
}

func GetListResourceByFilterTagRequestBodyActionEnum added in v0.1.15

func GetListResourceByFilterTagRequestBodyActionEnum() ListResourceByFilterTagRequestBodyActionEnum

type ListResourceByFilterTagRequestResourceType added in v0.1.15

type ListResourceByFilterTagRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListResourceByFilterTagRequestResourceType) MarshalJSON added in v0.1.15

func (*ListResourceByFilterTagRequestResourceType) UnmarshalJSON added in v0.1.15

func (ListResourceByFilterTagRequestResourceType) Value added in v0.1.15

type ListResourceByFilterTagRequestResourceTypeEnum added in v0.1.15

type ListResourceByFilterTagRequestResourceTypeEnum struct {
	CC  ListResourceByFilterTagRequestResourceType
	BWP ListResourceByFilterTagRequestResourceType
}

func GetListResourceByFilterTagRequestResourceTypeEnum added in v0.1.15

func GetListResourceByFilterTagRequestResourceTypeEnum() ListResourceByFilterTagRequestResourceTypeEnum

type ListResourceByFilterTagResponse added in v0.1.15

type ListResourceByFilterTagResponse struct {

	// 资源实例实例列表。
	Resources *[]FilterTagResource `json:"resources,omitempty"`

	// 请求ID。
	RequestId *string `json:"request_id,omitempty"`

	// 符合过滤条件的资源总数量。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListResourceByFilterTagResponse) String added in v0.1.15

type ListTagsRequest added in v0.1.15

type ListTagsRequest struct {

	// 资源类型: - cc: 云连接 - bwp: 带宽包
	ResourceType ListTagsRequestResourceType `json:"resource_type"`

	// 资源ID
	ResourceId string `json:"resource_id"`
}

Request Object

func (ListTagsRequest) String added in v0.1.15

func (o ListTagsRequest) String() string

type ListTagsRequestResourceType added in v0.1.15

type ListTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListTagsRequestResourceType) MarshalJSON added in v0.1.15

func (c ListTagsRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListTagsRequestResourceType) UnmarshalJSON added in v0.1.15

func (c *ListTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (ListTagsRequestResourceType) Value added in v0.1.15

type ListTagsRequestResourceTypeEnum added in v0.1.15

type ListTagsRequestResourceTypeEnum struct {
	CC  ListTagsRequestResourceType
	BWP ListTagsRequestResourceType
}

func GetListTagsRequestResourceTypeEnum added in v0.1.15

func GetListTagsRequestResourceTypeEnum() ListTagsRequestResourceTypeEnum

type ListTagsResponse added in v0.1.15

type ListTagsResponse struct {

	// 标签列表
	Tags *[]Tag `json:"tags,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListTagsResponse) String added in v0.1.15

func (o ListTagsResponse) String() string

type NetworkInstance

type NetworkInstance struct {

	// 网络实例的ID。
	Id *string `json:"id,omitempty"`

	// 网络实例的名字。
	Name *string `json:"name,omitempty"`

	// 网络实例的描述。
	Description *string `json:"description,omitempty"`

	// 帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 网络实例的状态。 - ACTIVE:处理成功。 - PENDING:处理中。 - ERROR:处理失败。
	Status *NetworkInstanceStatus `json:"status,omitempty"`

	// 网络实例的创建时间。 UTC时间格式,yyyy-MM-ddTHH:mm:ss
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 网络实例的更新时间。 UTC时间格式,yyyy-MM-ddTHH:mm:ss
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 网络实例的类型。 - vpc:虚拟私有云。 - vgw:虚拟网关。
	Type *NetworkInstanceType `json:"type,omitempty"`

	// 云连接实例ID。
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// 网络实例的ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 网络实例所属账户ID。
	InstanceDomainId *string `json:"instance_domain_id,omitempty"`

	// 网络实例所在Region的ID。
	RegionId *string `json:"region_id,omitempty"`

	// 网络实例所在租户的项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 网络实例发布的网段路由列表。
	Cidrs *[]string `json:"cidrs,omitempty"`
}

网络实例。

func (NetworkInstance) String

func (o NetworkInstance) String() string

type NetworkInstanceStatus

type NetworkInstanceStatus struct {
	// contains filtered or unexported fields
}

func (NetworkInstanceStatus) MarshalJSON

func (c NetworkInstanceStatus) MarshalJSON() ([]byte, error)

func (*NetworkInstanceStatus) UnmarshalJSON

func (c *NetworkInstanceStatus) UnmarshalJSON(b []byte) error

func (NetworkInstanceStatus) Value added in v0.0.90

func (c NetworkInstanceStatus) Value() string

type NetworkInstanceStatusEnum

type NetworkInstanceStatusEnum struct {
	ACTIVE NetworkInstanceStatus
}

func GetNetworkInstanceStatusEnum

func GetNetworkInstanceStatusEnum() NetworkInstanceStatusEnum

type NetworkInstanceType

type NetworkInstanceType struct {
	// contains filtered or unexported fields
}

func (NetworkInstanceType) MarshalJSON

func (c NetworkInstanceType) MarshalJSON() ([]byte, error)

func (*NetworkInstanceType) UnmarshalJSON

func (c *NetworkInstanceType) UnmarshalJSON(b []byte) error

func (NetworkInstanceType) Value added in v0.0.90

func (c NetworkInstanceType) Value() string

type NetworkInstanceTypeEnum

type NetworkInstanceTypeEnum struct {
	VPC NetworkInstanceType
	VGW NetworkInstanceType
}

func GetNetworkInstanceTypeEnum

func GetNetworkInstanceTypeEnum() NetworkInstanceTypeEnum

type PageInfo

type PageInfo struct {

	// 下一页的marker,值为资源的uuid,为空时表示最后一页。
	NextMarker *string `json:"next_marker,omitempty"`

	// 上一页的marker,值为资源的uuid,为空时表示第一页。
	PreviousMarker *string `json:"previous_marker,omitempty"`

	// 当前列表中资源数量。
	CurrentCount *int32 `json:"current_count,omitempty"`
}

分页查询页的信息。

func (PageInfo) String

func (o PageInfo) String() string

type Permission added in v0.1.15

type Permission struct {

	// 授权的ID。
	Id *string `json:"id,omitempty"`

	// 授权的名称。
	Name *string `json:"name,omitempty"`

	// 授权的描述信息。
	Description *string `json:"description,omitempty"`

	// 授权的状态。
	Status *string `json:"status,omitempty"`

	// 授权的时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 被授权者的账户ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 被授权云连接实例ID。
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// 授权实例的ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 授权实例的类型。
	InstanceType *string `json:"instance_type,omitempty"`

	// 被授权网络实例所属的账户ID。
	InstanceDomainId *string `json:"instance_domain_id,omitempty"`

	// 授权实例所属Region。
	RegionId *string `json:"region_id,omitempty"`

	// 授权实例所属项目ID。
	ProjectId *string `json:"project_id,omitempty"`
}

授权

func (Permission) String added in v0.1.15

func (o Permission) String() string

type Quota added in v0.1.15

type Quota struct {

	// 账号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 配额类型: - cloud_connection: 可加载的云连接实例数 - cloud_connection_region: 某云连接实例下可加载的Region数 - cloud_connection_route: 某云连接实例下可加载的路由数 - region_network_instance: 某云连接实例下某个Region下可加载的网络实例数
	QuotaType *QuotaQuotaType `json:"quota_type,omitempty"`

	// 配额数量。
	QuotaNumber *int32 `json:"quota_number,omitempty"`

	// 配额使用数量。
	QuotaUsed *int32 `json:"quota_used,omitempty"`

	// 云连接ID。
	CloudConnectionId *string `json:"cloud_connection_id,omitempty"`

	// 网络实例的RegionID。
	RegionId *string `json:"region_id,omitempty"`
}

配额实例

func (Quota) String added in v0.1.15

func (o Quota) String() string

type QuotaQuotaType added in v0.1.15

type QuotaQuotaType struct {
	// contains filtered or unexported fields
}

func (QuotaQuotaType) MarshalJSON added in v0.1.15

func (c QuotaQuotaType) MarshalJSON() ([]byte, error)

func (*QuotaQuotaType) UnmarshalJSON added in v0.1.15

func (c *QuotaQuotaType) UnmarshalJSON(b []byte) error

func (QuotaQuotaType) Value added in v0.1.15

func (c QuotaQuotaType) Value() string

type QuotaQuotaTypeEnum added in v0.1.15

type QuotaQuotaTypeEnum struct {
	CLOUD_CONNECTION        QuotaQuotaType
	CLOUD_CONNECTION_REGION QuotaQuotaType
	CLOUD_CONNECTION_ROUTE  QuotaQuotaType
	REGION_NETWORK_INSTANCE QuotaQuotaType
}

func GetQuotaQuotaTypeEnum added in v0.1.15

func GetQuotaQuotaTypeEnum() QuotaQuotaTypeEnum

type ShowBandwidthPackageRequest added in v0.1.15

type ShowBandwidthPackageRequest struct {

	// 带宽包实例ID。
	Id string `json:"id"`
}

Request Object

func (ShowBandwidthPackageRequest) String added in v0.1.15

type ShowBandwidthPackageResponse added in v0.1.15

type ShowBandwidthPackageResponse struct {
	BandwidthPackage *BandwidthPackage `json:"bandwidth_package,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBandwidthPackageResponse) String added in v0.1.15

type ShowCloudConnectionRequest

type ShowCloudConnectionRequest struct {

	// 云连接实例ID。
	Id string `json:"id"`
}

Request Object

func (ShowCloudConnectionRequest) String

type ShowCloudConnectionResponse

type ShowCloudConnectionResponse struct {
	CloudConnection *CloudConnection `json:"cloud_connection,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCloudConnectionResponse) String

type ShowCloudConnectionRoutesRequest

type ShowCloudConnectionRoutesRequest struct {

	// 云连接路由实例ID。
	Id string `json:"id"`
}

Request Object

func (ShowCloudConnectionRoutesRequest) String

type ShowCloudConnectionRoutesResponse

type ShowCloudConnectionRoutesResponse struct {
	CloudConnectionRoute *CloudConnectionRoute `json:"cloud_connection_route,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCloudConnectionRoutesResponse) String

type ShowInterRegionBandwidthRequest added in v0.1.15

type ShowInterRegionBandwidthRequest struct {

	// 域间带宽实例ID。
	Id string `json:"id"`
}

Request Object

func (ShowInterRegionBandwidthRequest) String added in v0.1.15

type ShowInterRegionBandwidthResponse added in v0.1.15

type ShowInterRegionBandwidthResponse struct {
	InterRegionBandwidth *InterRegionBandwidth `json:"inter_region_bandwidth,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowInterRegionBandwidthResponse) String added in v0.1.15

type ShowNetworkInstanceRequest

type ShowNetworkInstanceRequest struct {

	// 网络实例ID。
	Id string `json:"id"`
}

Request Object

func (ShowNetworkInstanceRequest) String

type ShowNetworkInstanceResponse

type ShowNetworkInstanceResponse struct {
	NetworkInstance *NetworkInstance `json:"network_instance,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowNetworkInstanceResponse) String

type Tag added in v0.1.15

type Tag struct {

	// 键
	Key *string `json:"key,omitempty"`

	// 值
	Value *string `json:"value,omitempty"`
}

一个key/value键值对

func (Tag) String added in v0.1.15

func (o Tag) String() string

type Tags added in v0.1.15

type Tags struct {

	// 动作。|- create:创建。 delete:删除。
	Action *TagsAction `json:"action,omitempty"`

	// 批量添加/删除资源标签
	Tags *[]Tag `json:"tags,omitempty"`
}

资源标签Tag汇总复数

func (Tags) String added in v0.1.15

func (o Tags) String() string

type TagsAction added in v0.1.15

type TagsAction struct {
	// contains filtered or unexported fields
}

func (TagsAction) MarshalJSON added in v0.1.15

func (c TagsAction) MarshalJSON() ([]byte, error)

func (*TagsAction) UnmarshalJSON added in v0.1.15

func (c *TagsAction) UnmarshalJSON(b []byte) error

func (TagsAction) Value added in v0.1.15

func (c TagsAction) Value() string

type TagsActionEnum added in v0.1.15

type TagsActionEnum struct {
	CREATE TagsAction
	DELETE TagsAction
}

func GetTagsActionEnum added in v0.1.15

func GetTagsActionEnum() TagsActionEnum

type UpdateAuthorisation added in v0.1.15

type UpdateAuthorisation struct {

	// 授权的名称。
	Name *string `json:"name,omitempty"`

	// 授权的描述信息。
	Description *string `json:"description,omitempty"`
}

更新授权的详细信息。

func (UpdateAuthorisation) String added in v0.1.15

func (o UpdateAuthorisation) String() string

type UpdateAuthorisationRequest added in v0.1.15

type UpdateAuthorisationRequest struct {

	// 授权实例ID。
	Id string `json:"id"`

	Body *UpdateAuthorisationRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateAuthorisationRequest) String added in v0.1.15

type UpdateAuthorisationRequestBody added in v0.1.15

type UpdateAuthorisationRequestBody struct {
	Authorisation *UpdateAuthorisation `json:"authorisation"`
}

更新授权的详细信息。

func (UpdateAuthorisationRequestBody) String added in v0.1.15

type UpdateAuthorisationResponse added in v0.1.15

type UpdateAuthorisationResponse struct {
	Authorisation *Authorisation `json:"authorisation,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateAuthorisationResponse) String added in v0.1.15

type UpdateBandwidthPackage added in v0.1.15

type UpdateBandwidthPackage struct {

	// 带宽包实例的名字。
	Name *string `json:"name,omitempty"`

	// 带宽包实例的描述。
	Description *string `json:"description,omitempty"`

	// 带宽包实例中的带宽值。
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 带宽包实例在大陆站或国际站的计费方式: - 5:大陆站按95方式计费 - 6:国际站按95方式计费
	BillingMode *UpdateBandwidthPackageBillingMode `json:"billing_mode,omitempty"`
}

更新带宽包实例的请求体

func (UpdateBandwidthPackage) String added in v0.1.15

func (o UpdateBandwidthPackage) String() string

type UpdateBandwidthPackageBillingMode added in v0.1.15

type UpdateBandwidthPackageBillingMode struct {
	// contains filtered or unexported fields
}

func (UpdateBandwidthPackageBillingMode) MarshalJSON added in v0.1.15

func (c UpdateBandwidthPackageBillingMode) MarshalJSON() ([]byte, error)

func (*UpdateBandwidthPackageBillingMode) UnmarshalJSON added in v0.1.15

func (c *UpdateBandwidthPackageBillingMode) UnmarshalJSON(b []byte) error

func (UpdateBandwidthPackageBillingMode) Value added in v0.1.15

type UpdateBandwidthPackageBillingModeEnum added in v0.1.15

type UpdateBandwidthPackageBillingModeEnum struct {
	E_5 UpdateBandwidthPackageBillingMode
	E_6 UpdateBandwidthPackageBillingMode
}

func GetUpdateBandwidthPackageBillingModeEnum added in v0.1.15

func GetUpdateBandwidthPackageBillingModeEnum() UpdateBandwidthPackageBillingModeEnum

type UpdateBandwidthPackageRequest added in v0.1.15

type UpdateBandwidthPackageRequest struct {

	// 带宽包实例ID。
	Id string `json:"id"`

	Body *UpdateBandwidthPackageRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateBandwidthPackageRequest) String added in v0.1.15

type UpdateBandwidthPackageRequestBody added in v0.1.15

type UpdateBandwidthPackageRequestBody struct {
	BandwidthPackage *UpdateBandwidthPackage `json:"bandwidth_package"`
}

更新带宽包实例的请求体。

func (UpdateBandwidthPackageRequestBody) String added in v0.1.15

type UpdateBandwidthPackageResponse added in v0.1.15

type UpdateBandwidthPackageResponse struct {
	BandwidthPackage *BandwidthPackage `json:"bandwidth_package,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateBandwidthPackageResponse) String added in v0.1.15

type UpdateCloudConnection

type UpdateCloudConnection struct {

	// 云连接实例的名字。只能由中文、英文字母、数字、下划线、中划线、点组成。
	Name *string `json:"name,omitempty"`

	// 云连接实例的描述。不支持 <>。
	Description *string `json:"description,omitempty"`
}

更新云连接实例的详细信息。

func (UpdateCloudConnection) String

func (o UpdateCloudConnection) String() string

type UpdateCloudConnectionRequest

type UpdateCloudConnectionRequest struct {

	// 云连接实例ID。
	Id string `json:"id"`

	Body *UpdateCloudConnectionRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateCloudConnectionRequest) String

type UpdateCloudConnectionRequestBody

type UpdateCloudConnectionRequestBody struct {
	CloudConnection *UpdateCloudConnection `json:"cloud_connection"`
}

更新云连接实例的请求体。

func (UpdateCloudConnectionRequestBody) String

type UpdateCloudConnectionResponse

type UpdateCloudConnectionResponse struct {
	CloudConnection *CloudConnection `json:"cloud_connection,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateCloudConnectionResponse) String

type UpdateInterRegionBandwidth added in v0.1.15

type UpdateInterRegionBandwidth struct {

	// 域间带宽值。
	Bandwidth int32 `json:"bandwidth"`
}

更新域间带宽的详情信息。

func (UpdateInterRegionBandwidth) String added in v0.1.15

type UpdateInterRegionBandwidthRequest added in v0.1.15

type UpdateInterRegionBandwidthRequest struct {

	// 域间带宽实例ID。
	Id string `json:"id"`

	Body *UpdateInterRegionBandwidthRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateInterRegionBandwidthRequest) String added in v0.1.15

type UpdateInterRegionBandwidthRequestBody added in v0.1.15

type UpdateInterRegionBandwidthRequestBody struct {
	InterRegionBandwidth *UpdateInterRegionBandwidth `json:"inter_region_bandwidth"`
}

更新域间带宽实例的请求体。

func (UpdateInterRegionBandwidthRequestBody) String added in v0.1.15

type UpdateInterRegionBandwidthResponse added in v0.1.15

type UpdateInterRegionBandwidthResponse struct {
	InterRegionBandwidth *InterRegionBandwidth `json:"inter_region_bandwidth,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateInterRegionBandwidthResponse) String added in v0.1.15

type UpdateNetworkInstance

type UpdateNetworkInstance struct {

	// 网络实例的名字。只能由中文、英文字母、数字、下划线、中划线、点组成。
	Name *string `json:"name,omitempty"`

	// 网络实例的描述。不支持 <>。
	Description *string `json:"description,omitempty"`

	// 网络实例发布的网段路由列表。
	Cidrs *[]string `json:"cidrs,omitempty"`
}

更新网络实例的详细信息。

func (UpdateNetworkInstance) String

func (o UpdateNetworkInstance) String() string

type UpdateNetworkInstanceRequest

type UpdateNetworkInstanceRequest struct {

	// 网络实例ID。
	Id string `json:"id"`

	Body *UpdateNetworkInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateNetworkInstanceRequest) String

type UpdateNetworkInstanceRequestBody

type UpdateNetworkInstanceRequestBody struct {
	NetworkInstance *UpdateNetworkInstance `json:"network_instance"`
}

更新网络实例的请求体。

func (UpdateNetworkInstanceRequestBody) String

type UpdateNetworkInstanceResponse

type UpdateNetworkInstanceResponse struct {
	NetworkInstance *NetworkInstance `json:"network_instance,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateNetworkInstanceResponse) String

Source Files

Jump to

Keyboard shortcuts

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