apis

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchSetResourceRecordsRequest

type BatchSetResourceRecordsRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 需要设置的解析记录列表  */
	Req []domainservice.BatchSetDNS `json:"req"`
}

func NewBatchSetResourceRecordsRequest

func NewBatchSetResourceRecordsRequest(
	regionId string,
	domainId string,
	req []domainservice.BatchSetDNS,
) *BatchSetResourceRecordsRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 需要设置的解析记录列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewBatchSetResourceRecordsRequestWithAllParams

func NewBatchSetResourceRecordsRequestWithAllParams(
	regionId string,
	domainId string,
	req []domainservice.BatchSetDNS,
) *BatchSetResourceRecordsRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 需要设置的解析记录列表 (Required)

func NewBatchSetResourceRecordsRequestWithoutParam

func NewBatchSetResourceRecordsRequestWithoutParam() *BatchSetResourceRecordsRequest

This constructor has better compatible ability when API parameters changed

func (BatchSetResourceRecordsRequest) GetRegionId

func (r BatchSetResourceRecordsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*BatchSetResourceRecordsRequest) SetDomainId

func (r *BatchSetResourceRecordsRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*BatchSetResourceRecordsRequest) SetRegionId

func (r *BatchSetResourceRecordsRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*BatchSetResourceRecordsRequest) SetReq

param req: 需要设置的解析记录列表(Required)

type BatchSetResourceRecordsResponse

type BatchSetResourceRecordsResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    BatchSetResourceRecordsResult `json:"result"`
}

type BatchSetResourceRecordsResult

type BatchSetResourceRecordsResult struct {
	Data []string `json:"data"`
}

type CreateDomainRequest

type CreateDomainRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 主域名的套餐类型, 免费:0 企业版:1 企业高级版:2  */
	PackId int `json:"packId"`

	/* 要添加的主域名  */
	DomainName string `json:"domainName"`

	/* 主域名的ID,升级套餐必填,请使用describeDomains获取 (Optional) */
	DomainId *int `json:"domainId"`

	/* 新购买:1、升级:3,收费套餐的域名必填 (Optional) */
	BuyType *int `json:"buyType"`

	/* 取值1,2,3 ,含义:时长,收费套餐的域名必填 (Optional) */
	TimeSpan *int `json:"timeSpan"`

	/* 时间单位,收费套餐的域名必填,1:小时,2:天,3:月,4:年 (Optional) */
	TimeUnit *int `json:"timeUnit"`

	/* 计费类型,可以不传此参数。 (Optional) */
	BillingType *int `json:"billingType"`
}

func NewCreateDomainRequest

func NewCreateDomainRequest(
	regionId string,
	packId int,
	domainName string,
) *CreateDomainRequest

* param regionId: 实例所属的地域ID (Required) * param packId: 主域名的套餐类型, 免费:0 企业版:1 企业高级版:2 (Required) * param domainName: 要添加的主域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateDomainRequestWithAllParams

func NewCreateDomainRequestWithAllParams(
	regionId string,
	packId int,
	domainName string,
	domainId *int,
	buyType *int,
	timeSpan *int,
	timeUnit *int,
	billingType *int,
) *CreateDomainRequest

* param regionId: 实例所属的地域ID (Required) * param packId: 主域名的套餐类型, 免费:0 企业版:1 企业高级版:2 (Required) * param domainName: 要添加的主域名 (Required) * param domainId: 主域名的ID,升级套餐必填,请使用describeDomains获取 (Optional) * param buyType: 新购买:1、升级:3,收费套餐的域名必填 (Optional) * param timeSpan: 取值1,2,3 ,含义:时长,收费套餐的域名必填 (Optional) * param timeUnit: 时间单位,收费套餐的域名必填,1:小时,2:天,3:月,4:年 (Optional) * param billingType: 计费类型,可以不传此参数。 (Optional)

func NewCreateDomainRequestWithoutParam

func NewCreateDomainRequestWithoutParam() *CreateDomainRequest

This constructor has better compatible ability when API parameters changed

func (CreateDomainRequest) GetRegionId

func (r CreateDomainRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateDomainRequest) SetBillingType

func (r *CreateDomainRequest) SetBillingType(billingType int)

param billingType: 计费类型,可以不传此参数。(Optional)

func (*CreateDomainRequest) SetBuyType

func (r *CreateDomainRequest) SetBuyType(buyType int)

param buyType: 新购买:1、升级:3,收费套餐的域名必填(Optional)

func (*CreateDomainRequest) SetDomainId

func (r *CreateDomainRequest) SetDomainId(domainId int)

param domainId: 主域名的ID,升级套餐必填,请使用describeDomains获取(Optional)

func (*CreateDomainRequest) SetDomainName

func (r *CreateDomainRequest) SetDomainName(domainName string)

param domainName: 要添加的主域名(Required)

func (*CreateDomainRequest) SetPackId

func (r *CreateDomainRequest) SetPackId(packId int)

param packId: 主域名的套餐类型, 免费:0 企业版:1 企业高级版:2(Required)

func (*CreateDomainRequest) SetRegionId

func (r *CreateDomainRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*CreateDomainRequest) SetTimeSpan

func (r *CreateDomainRequest) SetTimeSpan(timeSpan int)

param timeSpan: 取值1,2,3 ,含义:时长,收费套餐的域名必填(Optional)

func (*CreateDomainRequest) SetTimeUnit

func (r *CreateDomainRequest) SetTimeUnit(timeUnit int)

param timeUnit: 时间单位,收费套餐的域名必填,1:小时,2:天,3:月,4:年(Optional)

type CreateDomainResponse

type CreateDomainResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateDomainResult `json:"result"`
}

type CreateDomainResult

type CreateDomainResult struct {
	Data  domainservice.DomainAdded `json:"data"`
	Order string                    `json:"order"`
}

type CreateMonitorRequest

type CreateMonitorRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 子域名  */
	SubDomainName string `json:"subDomainName"`
}

func NewCreateMonitorRequest

func NewCreateMonitorRequest(
	regionId string,
	domainId string,
	subDomainName string,
) *CreateMonitorRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param subDomainName: 子域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateMonitorRequestWithAllParams

func NewCreateMonitorRequestWithAllParams(
	regionId string,
	domainId string,
	subDomainName string,
) *CreateMonitorRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param subDomainName: 子域名 (Required)

func NewCreateMonitorRequestWithoutParam

func NewCreateMonitorRequestWithoutParam() *CreateMonitorRequest

This constructor has better compatible ability when API parameters changed

func (CreateMonitorRequest) GetRegionId

func (r CreateMonitorRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateMonitorRequest) SetDomainId

func (r *CreateMonitorRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*CreateMonitorRequest) SetRegionId

func (r *CreateMonitorRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*CreateMonitorRequest) SetSubDomainName

func (r *CreateMonitorRequest) SetSubDomainName(subDomainName string)

param subDomainName: 子域名(Required)

type CreateMonitorResponse

type CreateMonitorResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    CreateMonitorResult `json:"result"`
}

type CreateMonitorResult

type CreateMonitorResult struct {
}

type CreateMonitorTargetRequest

type CreateMonitorTargetRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 子域名  */
	SubDomainName string `json:"subDomainName"`

	/* 子域名可用监控对象的数组  */
	Targets []string `json:"targets"`
}

func NewCreateMonitorTargetRequest

func NewCreateMonitorTargetRequest(
	regionId string,
	domainId string,
	subDomainName string,
	targets []string,
) *CreateMonitorTargetRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param subDomainName: 子域名 (Required) * param targets: 子域名可用监控对象的数组 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateMonitorTargetRequestWithAllParams

func NewCreateMonitorTargetRequestWithAllParams(
	regionId string,
	domainId string,
	subDomainName string,
	targets []string,
) *CreateMonitorTargetRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param subDomainName: 子域名 (Required) * param targets: 子域名可用监控对象的数组 (Required)

func NewCreateMonitorTargetRequestWithoutParam

func NewCreateMonitorTargetRequestWithoutParam() *CreateMonitorTargetRequest

This constructor has better compatible ability when API parameters changed

func (CreateMonitorTargetRequest) GetRegionId

func (r CreateMonitorTargetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateMonitorTargetRequest) SetDomainId

func (r *CreateMonitorTargetRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*CreateMonitorTargetRequest) SetRegionId

func (r *CreateMonitorTargetRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*CreateMonitorTargetRequest) SetSubDomainName

func (r *CreateMonitorTargetRequest) SetSubDomainName(subDomainName string)

param subDomainName: 子域名(Required)

func (*CreateMonitorTargetRequest) SetTargets

func (r *CreateMonitorTargetRequest) SetTargets(targets []string)

param targets: 子域名可用监控对象的数组(Required)

type CreateMonitorTargetResponse

type CreateMonitorTargetResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    CreateMonitorTargetResult `json:"result"`
}

type CreateMonitorTargetResult

type CreateMonitorTargetResult struct {
}

type CreateResourceRecordRequest

type CreateResourceRecordRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* RR参数  */
	Req *domainservice.AddRR `json:"req"`
}

func NewCreateResourceRecordRequest

func NewCreateResourceRecordRequest(
	regionId string,
	domainId string,
	req *domainservice.AddRR,
) *CreateResourceRecordRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: RR参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateResourceRecordRequestWithAllParams

func NewCreateResourceRecordRequestWithAllParams(
	regionId string,
	domainId string,
	req *domainservice.AddRR,
) *CreateResourceRecordRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: RR参数 (Required)

func NewCreateResourceRecordRequestWithoutParam

func NewCreateResourceRecordRequestWithoutParam() *CreateResourceRecordRequest

This constructor has better compatible ability when API parameters changed

func (CreateResourceRecordRequest) GetRegionId

func (r CreateResourceRecordRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateResourceRecordRequest) SetDomainId

func (r *CreateResourceRecordRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*CreateResourceRecordRequest) SetRegionId

func (r *CreateResourceRecordRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*CreateResourceRecordRequest) SetReq

param req: RR参数(Required)

type CreateResourceRecordResponse

type CreateResourceRecordResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    CreateResourceRecordResult `json:"result"`
}

type CreateResourceRecordResult

type CreateResourceRecordResult struct {
	DataList domainservice.RR `json:"dataList"`
}

type CreateUserViewIPRequest

type CreateUserViewIPRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 添加域名的自定义解析线路的IP段的参数  */
	Req *domainservice.AddViewIP `json:"req"`
}

func NewCreateUserViewIPRequest

func NewCreateUserViewIPRequest(
	regionId string,
	domainId string,
	req *domainservice.AddViewIP,
) *CreateUserViewIPRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 添加域名的自定义解析线路的IP段的参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateUserViewIPRequestWithAllParams

func NewCreateUserViewIPRequestWithAllParams(
	regionId string,
	domainId string,
	req *domainservice.AddViewIP,
) *CreateUserViewIPRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 添加域名的自定义解析线路的IP段的参数 (Required)

func NewCreateUserViewIPRequestWithoutParam

func NewCreateUserViewIPRequestWithoutParam() *CreateUserViewIPRequest

This constructor has better compatible ability when API parameters changed

func (CreateUserViewIPRequest) GetRegionId

func (r CreateUserViewIPRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateUserViewIPRequest) SetDomainId

func (r *CreateUserViewIPRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*CreateUserViewIPRequest) SetRegionId

func (r *CreateUserViewIPRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*CreateUserViewIPRequest) SetReq

param req: 添加域名的自定义解析线路的IP段的参数(Required)

type CreateUserViewIPResponse

type CreateUserViewIPResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CreateUserViewIPResult `json:"result"`
}

type CreateUserViewIPResult

type CreateUserViewIPResult struct {
}

type CreateUserViewRequest

type CreateUserViewRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 添加自定义线路的参数  */
	Req *domainservice.AddView `json:"req"`
}

func NewCreateUserViewRequest

func NewCreateUserViewRequest(
	regionId string,
	domainId string,
	req *domainservice.AddView,
) *CreateUserViewRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 添加自定义线路的参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateUserViewRequestWithAllParams

func NewCreateUserViewRequestWithAllParams(
	regionId string,
	domainId string,
	req *domainservice.AddView,
) *CreateUserViewRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 添加自定义线路的参数 (Required)

func NewCreateUserViewRequestWithoutParam

func NewCreateUserViewRequestWithoutParam() *CreateUserViewRequest

This constructor has better compatible ability when API parameters changed

func (CreateUserViewRequest) GetRegionId

func (r CreateUserViewRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateUserViewRequest) SetDomainId

func (r *CreateUserViewRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*CreateUserViewRequest) SetRegionId

func (r *CreateUserViewRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*CreateUserViewRequest) SetReq

param req: 添加自定义线路的参数(Required)

type CreateUserViewResponse

type CreateUserViewResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    CreateUserViewResult `json:"result"`
}

type CreateUserViewResult

type CreateUserViewResult struct {
	Data domainservice.Userview `json:"data"`
}

type DeleteDomainRequest

type DeleteDomainRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`
}

func NewDeleteDomainRequest

func NewDeleteDomainRequest(
	regionId string,
	domainId string,
) *DeleteDomainRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteDomainRequestWithAllParams

func NewDeleteDomainRequestWithAllParams(
	regionId string,
	domainId string,
) *DeleteDomainRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required)

func NewDeleteDomainRequestWithoutParam

func NewDeleteDomainRequestWithoutParam() *DeleteDomainRequest

This constructor has better compatible ability when API parameters changed

func (DeleteDomainRequest) GetRegionId

func (r DeleteDomainRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteDomainRequest) SetDomainId

func (r *DeleteDomainRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DeleteDomainRequest) SetRegionId

func (r *DeleteDomainRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

type DeleteDomainResponse

type DeleteDomainResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteDomainResult `json:"result"`
}

type DeleteDomainResult

type DeleteDomainResult struct {
}

type DeleteMonitorRequest

type DeleteMonitorRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 监控项ID,请使用describeMonitor接口获取。  */
	MonitorId string `json:"monitorId"`
}

func NewDeleteMonitorRequest

func NewDeleteMonitorRequest(
	regionId string,
	domainId string,
	monitorId string,
) *DeleteMonitorRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param monitorId: 监控项ID,请使用describeMonitor接口获取。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteMonitorRequestWithAllParams

func NewDeleteMonitorRequestWithAllParams(
	regionId string,
	domainId string,
	monitorId string,
) *DeleteMonitorRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param monitorId: 监控项ID,请使用describeMonitor接口获取。 (Required)

func NewDeleteMonitorRequestWithoutParam

func NewDeleteMonitorRequestWithoutParam() *DeleteMonitorRequest

This constructor has better compatible ability when API parameters changed

func (DeleteMonitorRequest) GetRegionId

func (r DeleteMonitorRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteMonitorRequest) SetDomainId

func (r *DeleteMonitorRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DeleteMonitorRequest) SetMonitorId

func (r *DeleteMonitorRequest) SetMonitorId(monitorId string)

param monitorId: 监控项ID,请使用describeMonitor接口获取。(Required)

func (*DeleteMonitorRequest) SetRegionId

func (r *DeleteMonitorRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

type DeleteMonitorResponse

type DeleteMonitorResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    DeleteMonitorResult `json:"result"`
}

type DeleteMonitorResult

type DeleteMonitorResult struct {
}

type DeleteResourceRecordRequest

type DeleteResourceRecordRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 解析记录ID,请使用describeResourceRecord接口获取。  */
	ResourceRecordId string `json:"resourceRecordId"`
}

func NewDeleteResourceRecordRequest

func NewDeleteResourceRecordRequest(
	regionId string,
	domainId string,
	resourceRecordId string,
) *DeleteResourceRecordRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteResourceRecordRequestWithAllParams

func NewDeleteResourceRecordRequestWithAllParams(
	regionId string,
	domainId string,
	resourceRecordId string,
) *DeleteResourceRecordRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。 (Required)

func NewDeleteResourceRecordRequestWithoutParam

func NewDeleteResourceRecordRequestWithoutParam() *DeleteResourceRecordRequest

This constructor has better compatible ability when API parameters changed

func (DeleteResourceRecordRequest) GetRegionId

func (r DeleteResourceRecordRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteResourceRecordRequest) SetDomainId

func (r *DeleteResourceRecordRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DeleteResourceRecordRequest) SetRegionId

func (r *DeleteResourceRecordRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DeleteResourceRecordRequest) SetResourceRecordId

func (r *DeleteResourceRecordRequest) SetResourceRecordId(resourceRecordId string)

param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。(Required)

type DeleteResourceRecordResponse

type DeleteResourceRecordResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DeleteResourceRecordResult `json:"result"`
}

type DeleteResourceRecordResult

type DeleteResourceRecordResult struct {
}

type DeleteUserViewIPRequest

type DeleteUserViewIPRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 删除域名的自定义解析线路的IP段的参数  */
	Req *domainservice.DelViewIP `json:"req"`
}

func NewDeleteUserViewIPRequest

func NewDeleteUserViewIPRequest(
	regionId string,
	domainId string,
	req *domainservice.DelViewIP,
) *DeleteUserViewIPRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 删除域名的自定义解析线路的IP段的参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteUserViewIPRequestWithAllParams

func NewDeleteUserViewIPRequestWithAllParams(
	regionId string,
	domainId string,
	req *domainservice.DelViewIP,
) *DeleteUserViewIPRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 删除域名的自定义解析线路的IP段的参数 (Required)

func NewDeleteUserViewIPRequestWithoutParam

func NewDeleteUserViewIPRequestWithoutParam() *DeleteUserViewIPRequest

This constructor has better compatible ability when API parameters changed

func (DeleteUserViewIPRequest) GetRegionId

func (r DeleteUserViewIPRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteUserViewIPRequest) SetDomainId

func (r *DeleteUserViewIPRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DeleteUserViewIPRequest) SetRegionId

func (r *DeleteUserViewIPRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*DeleteUserViewIPRequest) SetReq

param req: 删除域名的自定义解析线路的IP段的参数(Required)

type DeleteUserViewIPResponse

type DeleteUserViewIPResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DeleteUserViewIPResult `json:"result"`
}

type DeleteUserViewIPResult

type DeleteUserViewIPResult struct {
}

type DeleteUserViewRequest

type DeleteUserViewRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 删除自定义线路的参数  */
	Req *domainservice.DelView `json:"req"`
}

func NewDeleteUserViewRequest

func NewDeleteUserViewRequest(
	regionId string,
	domainId string,
	req *domainservice.DelView,
) *DeleteUserViewRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 删除自定义线路的参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteUserViewRequestWithAllParams

func NewDeleteUserViewRequestWithAllParams(
	regionId string,
	domainId string,
	req *domainservice.DelView,
) *DeleteUserViewRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param req: 删除自定义线路的参数 (Required)

func NewDeleteUserViewRequestWithoutParam

func NewDeleteUserViewRequestWithoutParam() *DeleteUserViewRequest

This constructor has better compatible ability when API parameters changed

func (DeleteUserViewRequest) GetRegionId

func (r DeleteUserViewRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteUserViewRequest) SetDomainId

func (r *DeleteUserViewRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DeleteUserViewRequest) SetRegionId

func (r *DeleteUserViewRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*DeleteUserViewRequest) SetReq

param req: 删除自定义线路的参数(Required)

type DeleteUserViewResponse

type DeleteUserViewResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DeleteUserViewResult `json:"result"`
}

type DeleteUserViewResult

type DeleteUserViewResult struct {
}

type DescribeActionLogRequest

type DescribeActionLogRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 分页参数,页的序号,默认是1  */
	PageNumber int `json:"pageNumber"`

	/* 分页参数,每页含有的结果的数目,默认是10  */
	PageSize int `json:"pageSize"`

	/* 记录的起始时间,格式:UTC时间例如2017-11-10T23:00:00Z  */
	StartTime string `json:"startTime"`

	/* 记录的终止时间,格式:UTC时间例如2017-11-10T23:00:00Z  */
	EndTime string `json:"endTime"`

	/* 日志需要匹配的关键词 (Optional) */
	KeyWord *string `json:"keyWord"`

	/* 日志里面的结果是成功还是失败 (Optional) */
	Success *bool `json:"success"`

	/* 日志的类型 (Optional) */
	Type *int `json:"type"`
}

func NewDescribeActionLogRequest

func NewDescribeActionLogRequest(
	regionId string,
	pageNumber int,
	pageSize int,
	startTime string,
	endTime string,
) *DescribeActionLogRequest

* param regionId: 地域ID (Required) * param pageNumber: 分页参数,页的序号,默认是1 (Required) * param pageSize: 分页参数,每页含有的结果的数目,默认是10 (Required) * param startTime: 记录的起始时间,格式:UTC时间例如2017-11-10T23:00:00Z (Required) * param endTime: 记录的终止时间,格式:UTC时间例如2017-11-10T23:00:00Z (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeActionLogRequestWithAllParams

func NewDescribeActionLogRequestWithAllParams(
	regionId string,
	pageNumber int,
	pageSize int,
	startTime string,
	endTime string,
	keyWord *string,
	success *bool,
	type_ *int,
) *DescribeActionLogRequest

* param regionId: 地域ID (Required) * param pageNumber: 分页参数,页的序号,默认是1 (Required) * param pageSize: 分页参数,每页含有的结果的数目,默认是10 (Required) * param startTime: 记录的起始时间,格式:UTC时间例如2017-11-10T23:00:00Z (Required) * param endTime: 记录的终止时间,格式:UTC时间例如2017-11-10T23:00:00Z (Required) * param keyWord: 日志需要匹配的关键词 (Optional) * param success: 日志里面的结果是成功还是失败 (Optional) * param type_: 日志的类型 (Optional)

func NewDescribeActionLogRequestWithoutParam

func NewDescribeActionLogRequestWithoutParam() *DescribeActionLogRequest

This constructor has better compatible ability when API parameters changed

func (DescribeActionLogRequest) GetRegionId

func (r DescribeActionLogRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeActionLogRequest) SetEndTime

func (r *DescribeActionLogRequest) SetEndTime(endTime string)

param endTime: 记录的终止时间,格式:UTC时间例如2017-11-10T23:00:00Z(Required)

func (*DescribeActionLogRequest) SetKeyWord

func (r *DescribeActionLogRequest) SetKeyWord(keyWord string)

param keyWord: 日志需要匹配的关键词(Optional)

func (*DescribeActionLogRequest) SetPageNumber

func (r *DescribeActionLogRequest) SetPageNumber(pageNumber int)

param pageNumber: 分页参数,页的序号,默认是1(Required)

func (*DescribeActionLogRequest) SetPageSize

func (r *DescribeActionLogRequest) SetPageSize(pageSize int)

param pageSize: 分页参数,每页含有的结果的数目,默认是10(Required)

func (*DescribeActionLogRequest) SetRegionId

func (r *DescribeActionLogRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*DescribeActionLogRequest) SetStartTime

func (r *DescribeActionLogRequest) SetStartTime(startTime string)

param startTime: 记录的起始时间,格式:UTC时间例如2017-11-10T23:00:00Z(Required)

func (*DescribeActionLogRequest) SetSuccess

func (r *DescribeActionLogRequest) SetSuccess(success bool)

param success: 日志里面的结果是成功还是失败(Optional)

func (*DescribeActionLogRequest) SetType

func (r *DescribeActionLogRequest) SetType(type_ int)

param type_: 日志的类型(Optional)

type DescribeActionLogResponse

type DescribeActionLogResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    DescribeActionLogResult `json:"result"`
}

type DescribeActionLogResult

type DescribeActionLogResult struct {
	DataList     []domainservice.Actionlog `json:"dataList"`
	CurrentCount int                       `json:"currentCount"`
	TotalCount   int                       `json:"totalCount"`
	TotalPage    int                       `json:"totalPage"`
}

type DescribeDomainQueryCountRequest

type DescribeDomainQueryCountRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 查询的主域名,请使用describeDomains接口获取  */
	DomainName string `json:"domainName"`

	/* 查询时间段的起始时间, UTC时间格式,例如2017-11-10T23:00:00Z  */
	Start string `json:"start"`

	/* 查询时间段的终止时间, UTC时间格式,例如2017-11-10T23:00:00Z  */
	End string `json:"end"`
}

func NewDescribeDomainQueryCountRequest

func NewDescribeDomainQueryCountRequest(
	regionId string,
	domainId string,
	domainName string,
	start string,
	end string,
) *DescribeDomainQueryCountRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param domainName: 查询的主域名,请使用describeDomains接口获取 (Required) * param start: 查询时间段的起始时间, UTC时间格式,例如2017-11-10T23:00:00Z (Required) * param end: 查询时间段的终止时间, UTC时间格式,例如2017-11-10T23:00:00Z (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDomainQueryCountRequestWithAllParams

func NewDescribeDomainQueryCountRequestWithAllParams(
	regionId string,
	domainId string,
	domainName string,
	start string,
	end string,
) *DescribeDomainQueryCountRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param domainName: 查询的主域名,请使用describeDomains接口获取 (Required) * param start: 查询时间段的起始时间, UTC时间格式,例如2017-11-10T23:00:00Z (Required) * param end: 查询时间段的终止时间, UTC时间格式,例如2017-11-10T23:00:00Z (Required)

func NewDescribeDomainQueryCountRequestWithoutParam

func NewDescribeDomainQueryCountRequestWithoutParam() *DescribeDomainQueryCountRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDomainQueryCountRequest) GetRegionId

func (r DescribeDomainQueryCountRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDomainQueryCountRequest) SetDomainId

func (r *DescribeDomainQueryCountRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeDomainQueryCountRequest) SetDomainName

func (r *DescribeDomainQueryCountRequest) SetDomainName(domainName string)

param domainName: 查询的主域名,请使用describeDomains接口获取(Required)

func (*DescribeDomainQueryCountRequest) SetEnd

func (r *DescribeDomainQueryCountRequest) SetEnd(end string)

param end: 查询时间段的终止时间, UTC时间格式,例如2017-11-10T23:00:00Z(Required)

func (*DescribeDomainQueryCountRequest) SetRegionId

func (r *DescribeDomainQueryCountRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DescribeDomainQueryCountRequest) SetStart

func (r *DescribeDomainQueryCountRequest) SetStart(start string)

param start: 查询时间段的起始时间, UTC时间格式,例如2017-11-10T23:00:00Z(Required)

type DescribeDomainQueryCountResponse

type DescribeDomainQueryCountResponse struct {
	RequestID string                         `json:"requestId"`
	Error     core.ErrorResponse             `json:"error"`
	Result    DescribeDomainQueryCountResult `json:"result"`
}

type DescribeDomainQueryCountResult

type DescribeDomainQueryCountResult struct {
	Time    []int64 `json:"time"`
	Traffic []int64 `json:"traffic"`
}

type DescribeDomainQueryTrafficRequest

type DescribeDomainQueryTrafficRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 主域名,请使用describeDomains接口获取  */
	DomainName string `json:"domainName"`

	/* 时间段的起始时间, UTC时间格式,例如2017-11-10T23:00:00Z  */
	Start string `json:"start"`

	/* 时间段的终止时间, UTC时间格式,例如2017-11-10T23:00:00Z  */
	End string `json:"end"`
}

func NewDescribeDomainQueryTrafficRequest

func NewDescribeDomainQueryTrafficRequest(
	regionId string,
	domainId string,
	domainName string,
	start string,
	end string,
) *DescribeDomainQueryTrafficRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param domainName: 主域名,请使用describeDomains接口获取 (Required) * param start: 时间段的起始时间, UTC时间格式,例如2017-11-10T23:00:00Z (Required) * param end: 时间段的终止时间, UTC时间格式,例如2017-11-10T23:00:00Z (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDomainQueryTrafficRequestWithAllParams

func NewDescribeDomainQueryTrafficRequestWithAllParams(
	regionId string,
	domainId string,
	domainName string,
	start string,
	end string,
) *DescribeDomainQueryTrafficRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param domainName: 主域名,请使用describeDomains接口获取 (Required) * param start: 时间段的起始时间, UTC时间格式,例如2017-11-10T23:00:00Z (Required) * param end: 时间段的终止时间, UTC时间格式,例如2017-11-10T23:00:00Z (Required)

func NewDescribeDomainQueryTrafficRequestWithoutParam

func NewDescribeDomainQueryTrafficRequestWithoutParam() *DescribeDomainQueryTrafficRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDomainQueryTrafficRequest) GetRegionId

func (r DescribeDomainQueryTrafficRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDomainQueryTrafficRequest) SetDomainId

func (r *DescribeDomainQueryTrafficRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeDomainQueryTrafficRequest) SetDomainName

func (r *DescribeDomainQueryTrafficRequest) SetDomainName(domainName string)

param domainName: 主域名,请使用describeDomains接口获取(Required)

func (*DescribeDomainQueryTrafficRequest) SetEnd

param end: 时间段的终止时间, UTC时间格式,例如2017-11-10T23:00:00Z(Required)

func (*DescribeDomainQueryTrafficRequest) SetRegionId

func (r *DescribeDomainQueryTrafficRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DescribeDomainQueryTrafficRequest) SetStart

func (r *DescribeDomainQueryTrafficRequest) SetStart(start string)

param start: 时间段的起始时间, UTC时间格式,例如2017-11-10T23:00:00Z(Required)

type DescribeDomainQueryTrafficResponse

type DescribeDomainQueryTrafficResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    DescribeDomainQueryTrafficResult `json:"result"`
}

type DescribeDomainQueryTrafficResult

type DescribeDomainQueryTrafficResult struct {
	Time    []int64   `json:"time"`
	Unit    string    `json:"unit"`
	Traffic []float64 `json:"traffic"`
}

type DescribeDomainsRequest

type DescribeDomainsRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 分页查询时查询的每页的序号,起始值为1,默认为1  */
	PageNumber int `json:"pageNumber"`

	/* 分页查询时设置的每页行数,默认为10  */
	PageSize int `json:"pageSize"`

	/* 关键字,按照”%domainName%”模式匹配主域名 (Optional) */
	DomainName *string `json:"domainName"`

	/* 域名ID。不为0时,只查此domainId的域名 (Optional) */
	DomainId *int `json:"domainId"`
}

func NewDescribeDomainsRequest

func NewDescribeDomainsRequest(
	regionId string,
	pageNumber int,
	pageSize int,
) *DescribeDomainsRequest

* param regionId: 实例所属的地域ID (Required) * param pageNumber: 分页查询时查询的每页的序号,起始值为1,默认为1 (Required) * param pageSize: 分页查询时设置的每页行数,默认为10 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDomainsRequestWithAllParams

func NewDescribeDomainsRequestWithAllParams(
	regionId string,
	pageNumber int,
	pageSize int,
	domainName *string,
	domainId *int,
) *DescribeDomainsRequest

* param regionId: 实例所属的地域ID (Required) * param pageNumber: 分页查询时查询的每页的序号,起始值为1,默认为1 (Required) * param pageSize: 分页查询时设置的每页行数,默认为10 (Required) * param domainName: 关键字,按照”%domainName%”模式匹配主域名 (Optional) * param domainId: 域名ID。不为0时,只查此domainId的域名 (Optional)

func NewDescribeDomainsRequestWithoutParam

func NewDescribeDomainsRequestWithoutParam() *DescribeDomainsRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDomainsRequest) GetRegionId

func (r DescribeDomainsRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeDomainsRequest) SetDomainId

func (r *DescribeDomainsRequest) SetDomainId(domainId int)

param domainId: 域名ID。不为0时,只查此domainId的域名(Optional)

func (*DescribeDomainsRequest) SetDomainName

func (r *DescribeDomainsRequest) SetDomainName(domainName string)

param domainName: 关键字,按照”%domainName%”模式匹配主域名(Optional)

func (*DescribeDomainsRequest) SetPageNumber

func (r *DescribeDomainsRequest) SetPageNumber(pageNumber int)

param pageNumber: 分页查询时查询的每页的序号,起始值为1,默认为1(Required)

func (*DescribeDomainsRequest) SetPageSize

func (r *DescribeDomainsRequest) SetPageSize(pageSize int)

param pageSize: 分页查询时设置的每页行数,默认为10(Required)

func (*DescribeDomainsRequest) SetRegionId

func (r *DescribeDomainsRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

type DescribeDomainsResponse

type DescribeDomainsResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeDomainsResult `json:"result"`
}

type DescribeDomainsResult

type DescribeDomainsResult struct {
	DataList     []domainservice.DomainInfo `json:"dataList"`
	CurrentCount int                        `json:"currentCount"`
	TotalCount   int                        `json:"totalCount"`
	TotalPage    int                        `json:"totalPage"`
}

type DescribeMonitorAlarmRequest

type DescribeMonitorAlarmRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 当前页数,起始值为1,默认为1 (Optional) */
	PageIndex *int `json:"pageIndex"`

	/* 分页查询时设置的每页行数 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 关键字 (Optional) */
	SearchValue *string `json:"searchValue"`
}

func NewDescribeMonitorAlarmRequest

func NewDescribeMonitorAlarmRequest(
	regionId string,
	domainId string,
) *DescribeMonitorAlarmRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeMonitorAlarmRequestWithAllParams

func NewDescribeMonitorAlarmRequestWithAllParams(
	regionId string,
	domainId string,
	pageIndex *int,
	pageSize *int,
	searchValue *string,
) *DescribeMonitorAlarmRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param pageIndex: 当前页数,起始值为1,默认为1 (Optional) * param pageSize: 分页查询时设置的每页行数 (Optional) * param searchValue: 关键字 (Optional)

func NewDescribeMonitorAlarmRequestWithoutParam

func NewDescribeMonitorAlarmRequestWithoutParam() *DescribeMonitorAlarmRequest

This constructor has better compatible ability when API parameters changed

func (DescribeMonitorAlarmRequest) GetRegionId

func (r DescribeMonitorAlarmRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeMonitorAlarmRequest) SetDomainId

func (r *DescribeMonitorAlarmRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeMonitorAlarmRequest) SetPageIndex

func (r *DescribeMonitorAlarmRequest) SetPageIndex(pageIndex int)

param pageIndex: 当前页数,起始值为1,默认为1(Optional)

func (*DescribeMonitorAlarmRequest) SetPageSize

func (r *DescribeMonitorAlarmRequest) SetPageSize(pageSize int)

param pageSize: 分页查询时设置的每页行数(Optional)

func (*DescribeMonitorAlarmRequest) SetRegionId

func (r *DescribeMonitorAlarmRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DescribeMonitorAlarmRequest) SetSearchValue

func (r *DescribeMonitorAlarmRequest) SetSearchValue(searchValue string)

param searchValue: 关键字(Optional)

type DescribeMonitorAlarmResponse

type DescribeMonitorAlarmResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    DescribeMonitorAlarmResult `json:"result"`
}

type DescribeMonitorAlarmResult

type DescribeMonitorAlarmResult struct {
	CurrentCount int                              `json:"currentCount"`
	TotalCount   int                              `json:"totalCount"`
	TotalPage    int                              `json:"totalPage"`
	DataList     []domainservice.MonitorAlarmInfo `json:"dataList"`
}

type DescribeMonitorRequest

type DescribeMonitorRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 当前页数,起始值为1,默认为1 (Optional) */
	PageIndex *int `json:"pageIndex"`

	/* 分页查询时设置的每页行数 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 查询的值 (Optional) */
	SearchValue *string `json:"searchValue"`
}

func NewDescribeMonitorRequest

func NewDescribeMonitorRequest(
	regionId string,
	domainId string,
) *DescribeMonitorRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeMonitorRequestWithAllParams

func NewDescribeMonitorRequestWithAllParams(
	regionId string,
	domainId string,
	pageIndex *int,
	pageSize *int,
	searchValue *string,
) *DescribeMonitorRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param pageIndex: 当前页数,起始值为1,默认为1 (Optional) * param pageSize: 分页查询时设置的每页行数 (Optional) * param searchValue: 查询的值 (Optional)

func NewDescribeMonitorRequestWithoutParam

func NewDescribeMonitorRequestWithoutParam() *DescribeMonitorRequest

This constructor has better compatible ability when API parameters changed

func (DescribeMonitorRequest) GetRegionId

func (r DescribeMonitorRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeMonitorRequest) SetDomainId

func (r *DescribeMonitorRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeMonitorRequest) SetPageIndex

func (r *DescribeMonitorRequest) SetPageIndex(pageIndex int)

param pageIndex: 当前页数,起始值为1,默认为1(Optional)

func (*DescribeMonitorRequest) SetPageSize

func (r *DescribeMonitorRequest) SetPageSize(pageSize int)

param pageSize: 分页查询时设置的每页行数(Optional)

func (*DescribeMonitorRequest) SetRegionId

func (r *DescribeMonitorRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DescribeMonitorRequest) SetSearchValue

func (r *DescribeMonitorRequest) SetSearchValue(searchValue string)

param searchValue: 查询的值(Optional)

type DescribeMonitorResponse

type DescribeMonitorResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    DescribeMonitorResult `json:"result"`
}

type DescribeMonitorResult

type DescribeMonitorResult struct {
	CurrentCount int                     `json:"currentCount"`
	TotalCount   int                     `json:"totalCount"`
	TotalPage    int                     `json:"totalPage"`
	DataList     []domainservice.Monitor `json:"dataList"`
}

type DescribeMonitorTargetRequest

type DescribeMonitorTargetRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 子域名  */
	SubDomainName string `json:"subDomainName"`
}

func NewDescribeMonitorTargetRequest

func NewDescribeMonitorTargetRequest(
	regionId string,
	domainId string,
	subDomainName string,
) *DescribeMonitorTargetRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param subDomainName: 子域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeMonitorTargetRequestWithAllParams

func NewDescribeMonitorTargetRequestWithAllParams(
	regionId string,
	domainId string,
	subDomainName string,
) *DescribeMonitorTargetRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param subDomainName: 子域名 (Required)

func NewDescribeMonitorTargetRequestWithoutParam

func NewDescribeMonitorTargetRequestWithoutParam() *DescribeMonitorTargetRequest

This constructor has better compatible ability when API parameters changed

func (DescribeMonitorTargetRequest) GetRegionId

func (r DescribeMonitorTargetRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeMonitorTargetRequest) SetDomainId

func (r *DescribeMonitorTargetRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeMonitorTargetRequest) SetRegionId

func (r *DescribeMonitorTargetRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DescribeMonitorTargetRequest) SetSubDomainName

func (r *DescribeMonitorTargetRequest) SetSubDomainName(subDomainName string)

param subDomainName: 子域名(Required)

type DescribeMonitorTargetResponse

type DescribeMonitorTargetResponse struct {
	RequestID string                      `json:"requestId"`
	Error     core.ErrorResponse          `json:"error"`
	Result    DescribeMonitorTargetResult `json:"result"`
}

type DescribeMonitorTargetResult

type DescribeMonitorTargetResult struct {
	Data []string `json:"data"`
}

type DescribeResourceRecordRequest

type DescribeResourceRecordRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 当前页数,起始值为1,默认为1 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页查询时设置的每页行数, 默认为10 (Optional) */
	PageSize *int `json:"pageSize"`

	/* 关键字,按照”%search%”模式匹配解析记录的主机记录 (Optional) */
	Search *string `json:"search"`
}

func NewDescribeResourceRecordRequest

func NewDescribeResourceRecordRequest(
	regionId string,
	domainId string,
) *DescribeResourceRecordRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeResourceRecordRequestWithAllParams

func NewDescribeResourceRecordRequestWithAllParams(
	regionId string,
	domainId string,
	pageNumber *int,
	pageSize *int,
	search *string,
) *DescribeResourceRecordRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param pageNumber: 当前页数,起始值为1,默认为1 (Optional) * param pageSize: 分页查询时设置的每页行数, 默认为10 (Optional) * param search: 关键字,按照”%search%”模式匹配解析记录的主机记录 (Optional)

func NewDescribeResourceRecordRequestWithoutParam

func NewDescribeResourceRecordRequestWithoutParam() *DescribeResourceRecordRequest

This constructor has better compatible ability when API parameters changed

func (DescribeResourceRecordRequest) GetRegionId

func (r DescribeResourceRecordRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeResourceRecordRequest) SetDomainId

func (r *DescribeResourceRecordRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeResourceRecordRequest) SetPageNumber

func (r *DescribeResourceRecordRequest) SetPageNumber(pageNumber int)

param pageNumber: 当前页数,起始值为1,默认为1(Optional)

func (*DescribeResourceRecordRequest) SetPageSize

func (r *DescribeResourceRecordRequest) SetPageSize(pageSize int)

param pageSize: 分页查询时设置的每页行数, 默认为10(Optional)

func (*DescribeResourceRecordRequest) SetRegionId

func (r *DescribeResourceRecordRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DescribeResourceRecordRequest) SetSearch

func (r *DescribeResourceRecordRequest) SetSearch(search string)

param search: 关键字,按照”%search%”模式匹配解析记录的主机记录(Optional)

type DescribeResourceRecordResponse

type DescribeResourceRecordResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    DescribeResourceRecordResult `json:"result"`
}

type DescribeResourceRecordResult

type DescribeResourceRecordResult struct {
	DataList     []domainservice.RRInfo `json:"dataList"`
	TotalCount   int                    `json:"totalCount"`
	TotalPage    int                    `json:"totalPage"`
	CurrentCount int                    `json:"currentCount"`
}

type DescribeUserViewIPRequest

type DescribeUserViewIPRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 自定义线路ID  */
	ViewId int `json:"viewId"`

	/* 自定义线路名称, 最多64个字节,允许:数字、字母、下划线,-,中文 (Optional) */
	ViewName *string `json:"viewName"`

	/* 分页参数,页的序号, 默认为1  */
	PageNumber int `json:"pageNumber"`

	/* 分页参数,每页含有的结果的数目,默认为10  */
	PageSize int `json:"pageSize"`
}

func NewDescribeUserViewIPRequest

func NewDescribeUserViewIPRequest(
	regionId string,
	domainId string,
	viewId int,
	pageNumber int,
	pageSize int,
) *DescribeUserViewIPRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param viewId: 自定义线路ID (Required) * param pageNumber: 分页参数,页的序号, 默认为1 (Required) * param pageSize: 分页参数,每页含有的结果的数目,默认为10 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeUserViewIPRequestWithAllParams

func NewDescribeUserViewIPRequestWithAllParams(
	regionId string,
	domainId string,
	viewId int,
	viewName *string,
	pageNumber int,
	pageSize int,
) *DescribeUserViewIPRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param viewId: 自定义线路ID (Required) * param viewName: 自定义线路名称, 最多64个字节,允许:数字、字母、下划线,-,中文 (Optional) * param pageNumber: 分页参数,页的序号, 默认为1 (Required) * param pageSize: 分页参数,每页含有的结果的数目,默认为10 (Required)

func NewDescribeUserViewIPRequestWithoutParam

func NewDescribeUserViewIPRequestWithoutParam() *DescribeUserViewIPRequest

This constructor has better compatible ability when API parameters changed

func (DescribeUserViewIPRequest) GetRegionId

func (r DescribeUserViewIPRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeUserViewIPRequest) SetDomainId

func (r *DescribeUserViewIPRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeUserViewIPRequest) SetPageNumber

func (r *DescribeUserViewIPRequest) SetPageNumber(pageNumber int)

param pageNumber: 分页参数,页的序号, 默认为1(Required)

func (*DescribeUserViewIPRequest) SetPageSize

func (r *DescribeUserViewIPRequest) SetPageSize(pageSize int)

param pageSize: 分页参数,每页含有的结果的数目,默认为10(Required)

func (*DescribeUserViewIPRequest) SetRegionId

func (r *DescribeUserViewIPRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*DescribeUserViewIPRequest) SetViewId

func (r *DescribeUserViewIPRequest) SetViewId(viewId int)

param viewId: 自定义线路ID(Required)

func (*DescribeUserViewIPRequest) SetViewName

func (r *DescribeUserViewIPRequest) SetViewName(viewName string)

param viewName: 自定义线路名称, 最多64个字节,允许:数字、字母、下划线,-,中文(Optional)

type DescribeUserViewIPResponse

type DescribeUserViewIPResponse struct {
	RequestID string                   `json:"requestId"`
	Error     core.ErrorResponse       `json:"error"`
	Result    DescribeUserViewIPResult `json:"result"`
}

type DescribeUserViewIPResult

type DescribeUserViewIPResult struct {
	DataList     []string `json:"dataList"`
	CurrentCount int      `json:"currentCount"`
	TotalCount   int      `json:"totalCount"`
	TotalPage    int      `json:"totalPage"`
}

type DescribeUserViewRequest

type DescribeUserViewRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 自定义线路ID  */
	ViewId int `json:"viewId"`

	/* 自定义线路名称, 最多64个字节,允许:数字、字母、下划线,-,中文 (Optional) */
	ViewName *string `json:"viewName"`

	/* 分页参数,页的序号  */
	PageNumber int `json:"pageNumber"`

	/* 分页参数,每页含有的结果的数目  */
	PageSize int `json:"pageSize"`
}

func NewDescribeUserViewRequest

func NewDescribeUserViewRequest(
	regionId string,
	domainId string,
	viewId int,
	pageNumber int,
	pageSize int,
) *DescribeUserViewRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param viewId: 自定义线路ID (Required) * param pageNumber: 分页参数,页的序号 (Required) * param pageSize: 分页参数,每页含有的结果的数目 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeUserViewRequestWithAllParams

func NewDescribeUserViewRequestWithAllParams(
	regionId string,
	domainId string,
	viewId int,
	viewName *string,
	pageNumber int,
	pageSize int,
) *DescribeUserViewRequest

* param regionId: 地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param viewId: 自定义线路ID (Required) * param viewName: 自定义线路名称, 最多64个字节,允许:数字、字母、下划线,-,中文 (Optional) * param pageNumber: 分页参数,页的序号 (Required) * param pageSize: 分页参数,每页含有的结果的数目 (Required)

func NewDescribeUserViewRequestWithoutParam

func NewDescribeUserViewRequestWithoutParam() *DescribeUserViewRequest

This constructor has better compatible ability when API parameters changed

func (DescribeUserViewRequest) GetRegionId

func (r DescribeUserViewRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeUserViewRequest) SetDomainId

func (r *DescribeUserViewRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeUserViewRequest) SetPageNumber

func (r *DescribeUserViewRequest) SetPageNumber(pageNumber int)

param pageNumber: 分页参数,页的序号(Required)

func (*DescribeUserViewRequest) SetPageSize

func (r *DescribeUserViewRequest) SetPageSize(pageSize int)

param pageSize: 分页参数,每页含有的结果的数目(Required)

func (*DescribeUserViewRequest) SetRegionId

func (r *DescribeUserViewRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*DescribeUserViewRequest) SetViewId

func (r *DescribeUserViewRequest) SetViewId(viewId int)

param viewId: 自定义线路ID(Required)

func (*DescribeUserViewRequest) SetViewName

func (r *DescribeUserViewRequest) SetViewName(viewName string)

param viewName: 自定义线路名称, 最多64个字节,允许:数字、字母、下划线,-,中文(Optional)

type DescribeUserViewResponse

type DescribeUserViewResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeUserViewResult `json:"result"`
}

type DescribeUserViewResult

type DescribeUserViewResult struct {
	DataList     []domainservice.UserViewInput `json:"dataList"`
	CurrentCount int                           `json:"currentCount"`
	TotalCount   int                           `json:"totalCount"`
	TotalPage    int                           `json:"totalPage"`
}

type DescribeViewTreeRequest

type DescribeViewTreeRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 展示方式,暂时不使用 (Optional) */
	LoadMode *int `json:"loadMode"`

	/* 套餐ID,0->免费版 1->企业版 2->企业高级版  */
	PackId int `json:"packId"`

	/* view ID,默认为-1  */
	ViewId int `json:"viewId"`
}

func NewDescribeViewTreeRequest

func NewDescribeViewTreeRequest(
	regionId string,
	domainId string,
	packId int,
	viewId int,
) *DescribeViewTreeRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param packId: 套餐ID,0->免费版 1->企业版 2->企业高级版 (Required) * param viewId: view ID,默认为-1 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeViewTreeRequestWithAllParams

func NewDescribeViewTreeRequestWithAllParams(
	regionId string,
	domainId string,
	loadMode *int,
	packId int,
	viewId int,
) *DescribeViewTreeRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param loadMode: 展示方式,暂时不使用 (Optional) * param packId: 套餐ID,0->免费版 1->企业版 2->企业高级版 (Required) * param viewId: view ID,默认为-1 (Required)

func NewDescribeViewTreeRequestWithoutParam

func NewDescribeViewTreeRequestWithoutParam() *DescribeViewTreeRequest

This constructor has better compatible ability when API parameters changed

func (DescribeViewTreeRequest) GetRegionId

func (r DescribeViewTreeRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeViewTreeRequest) SetDomainId

func (r *DescribeViewTreeRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*DescribeViewTreeRequest) SetLoadMode

func (r *DescribeViewTreeRequest) SetLoadMode(loadMode int)

param loadMode: 展示方式,暂时不使用(Optional)

func (*DescribeViewTreeRequest) SetPackId

func (r *DescribeViewTreeRequest) SetPackId(packId int)

param packId: 套餐ID,0->免费版 1->企业版 2->企业高级版(Required)

func (*DescribeViewTreeRequest) SetRegionId

func (r *DescribeViewTreeRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DescribeViewTreeRequest) SetViewId

func (r *DescribeViewTreeRequest) SetViewId(viewId int)

param viewId: view ID,默认为-1(Required)

type DescribeViewTreeResponse

type DescribeViewTreeResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    DescribeViewTreeResult `json:"result"`
}

type DescribeViewTreeResult

type DescribeViewTreeResult struct {
	Data []domainservice.ViewTree `json:"data"`
}

type ModifyDomainRequest

type ModifyDomainRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 需要修改的主域名,请使用describeDomains接口获取  */
	DomainName string `json:"domainName"`
}

func NewModifyDomainRequest

func NewModifyDomainRequest(
	regionId string,
	domainId string,
	domainName string,
) *ModifyDomainRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param domainName: 需要修改的主域名,请使用describeDomains接口获取 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyDomainRequestWithAllParams

func NewModifyDomainRequestWithAllParams(
	regionId string,
	domainId string,
	domainName string,
) *ModifyDomainRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param domainName: 需要修改的主域名,请使用describeDomains接口获取 (Required)

func NewModifyDomainRequestWithoutParam

func NewModifyDomainRequestWithoutParam() *ModifyDomainRequest

This constructor has better compatible ability when API parameters changed

func (ModifyDomainRequest) GetRegionId

func (r ModifyDomainRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyDomainRequest) SetDomainId

func (r *ModifyDomainRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*ModifyDomainRequest) SetDomainName

func (r *ModifyDomainRequest) SetDomainName(domainName string)

param domainName: 需要修改的主域名,请使用describeDomains接口获取(Required)

func (*ModifyDomainRequest) SetRegionId

func (r *ModifyDomainRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

type ModifyDomainResponse

type ModifyDomainResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    ModifyDomainResult `json:"result"`
}

type ModifyDomainResult

type ModifyDomainResult struct {
}

type ModifyMonitorRequest

type ModifyMonitorRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 监控项设置信息  */
	UpdateMonitor *domainservice.UpdateMonitor `json:"updateMonitor"`
}

func NewModifyMonitorRequest

func NewModifyMonitorRequest(
	regionId string,
	domainId string,
	updateMonitor *domainservice.UpdateMonitor,
) *ModifyMonitorRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param updateMonitor: 监控项设置信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyMonitorRequestWithAllParams

func NewModifyMonitorRequestWithAllParams(
	regionId string,
	domainId string,
	updateMonitor *domainservice.UpdateMonitor,
) *ModifyMonitorRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param updateMonitor: 监控项设置信息 (Required)

func NewModifyMonitorRequestWithoutParam

func NewModifyMonitorRequestWithoutParam() *ModifyMonitorRequest

This constructor has better compatible ability when API parameters changed

func (ModifyMonitorRequest) GetRegionId

func (r ModifyMonitorRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyMonitorRequest) SetDomainId

func (r *ModifyMonitorRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*ModifyMonitorRequest) SetRegionId

func (r *ModifyMonitorRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*ModifyMonitorRequest) SetUpdateMonitor

func (r *ModifyMonitorRequest) SetUpdateMonitor(updateMonitor *domainservice.UpdateMonitor)

param updateMonitor: 监控项设置信息(Required)

type ModifyMonitorResponse

type ModifyMonitorResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    ModifyMonitorResult `json:"result"`
}

type ModifyMonitorResult

type ModifyMonitorResult struct {
}

type ModifyMonitorStatusRequest

type ModifyMonitorStatusRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 监控项ID,请使用describeMonitor接口获取。  */
	MonitorId string `json:"monitorId"`

	/* 暂停stop, 开启start, 手动恢复recover,手动切换switch,手动恢复和手动切换时候不支持批量操作  */
	Action string `json:"action"`

	/* 监控项的主机值, 手动切换时必填 (Optional) */
	SwitchTarget *string `json:"switchTarget"`
}

func NewModifyMonitorStatusRequest

func NewModifyMonitorStatusRequest(
	regionId string,
	domainId string,
	monitorId string,
	action string,
) *ModifyMonitorStatusRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param monitorId: 监控项ID,请使用describeMonitor接口获取。 (Required) * param action: 暂停stop, 开启start, 手动恢复recover,手动切换switch,手动恢复和手动切换时候不支持批量操作 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyMonitorStatusRequestWithAllParams

func NewModifyMonitorStatusRequestWithAllParams(
	regionId string,
	domainId string,
	monitorId string,
	action string,
	switchTarget *string,
) *ModifyMonitorStatusRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param monitorId: 监控项ID,请使用describeMonitor接口获取。 (Required) * param action: 暂停stop, 开启start, 手动恢复recover,手动切换switch,手动恢复和手动切换时候不支持批量操作 (Required) * param switchTarget: 监控项的主机值, 手动切换时必填 (Optional)

func NewModifyMonitorStatusRequestWithoutParam

func NewModifyMonitorStatusRequestWithoutParam() *ModifyMonitorStatusRequest

This constructor has better compatible ability when API parameters changed

func (ModifyMonitorStatusRequest) GetRegionId

func (r ModifyMonitorStatusRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyMonitorStatusRequest) SetAction

func (r *ModifyMonitorStatusRequest) SetAction(action string)

param action: 暂停stop, 开启start, 手动恢复recover,手动切换switch,手动恢复和手动切换时候不支持批量操作(Required)

func (*ModifyMonitorStatusRequest) SetDomainId

func (r *ModifyMonitorStatusRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*ModifyMonitorStatusRequest) SetMonitorId

func (r *ModifyMonitorStatusRequest) SetMonitorId(monitorId string)

param monitorId: 监控项ID,请使用describeMonitor接口获取。(Required)

func (*ModifyMonitorStatusRequest) SetRegionId

func (r *ModifyMonitorStatusRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*ModifyMonitorStatusRequest) SetSwitchTarget

func (r *ModifyMonitorStatusRequest) SetSwitchTarget(switchTarget string)

param switchTarget: 监控项的主机值, 手动切换时必填(Optional)

type ModifyMonitorStatusResponse

type ModifyMonitorStatusResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    ModifyMonitorStatusResult `json:"result"`
}

type ModifyMonitorStatusResult

type ModifyMonitorStatusResult struct {
}

type ModifyResourceRecordRequest

type ModifyResourceRecordRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 解析记录ID,请使用describeResourceRecord接口获取。  */
	ResourceRecordId string `json:"resourceRecordId"`

	/* updateRR参数  */
	Req *domainservice.UpdateRR `json:"req"`
}

func NewModifyResourceRecordRequest

func NewModifyResourceRecordRequest(
	regionId string,
	domainId string,
	resourceRecordId string,
	req *domainservice.UpdateRR,
) *ModifyResourceRecordRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。 (Required) * param req: updateRR参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyResourceRecordRequestWithAllParams

func NewModifyResourceRecordRequestWithAllParams(
	regionId string,
	domainId string,
	resourceRecordId string,
	req *domainservice.UpdateRR,
) *ModifyResourceRecordRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。 (Required) * param req: updateRR参数 (Required)

func NewModifyResourceRecordRequestWithoutParam

func NewModifyResourceRecordRequestWithoutParam() *ModifyResourceRecordRequest

This constructor has better compatible ability when API parameters changed

func (ModifyResourceRecordRequest) GetRegionId

func (r ModifyResourceRecordRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyResourceRecordRequest) SetDomainId

func (r *ModifyResourceRecordRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*ModifyResourceRecordRequest) SetRegionId

func (r *ModifyResourceRecordRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*ModifyResourceRecordRequest) SetReq

param req: updateRR参数(Required)

func (*ModifyResourceRecordRequest) SetResourceRecordId

func (r *ModifyResourceRecordRequest) SetResourceRecordId(resourceRecordId string)

param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。(Required)

type ModifyResourceRecordResponse

type ModifyResourceRecordResponse struct {
	RequestID string                     `json:"requestId"`
	Error     core.ErrorResponse         `json:"error"`
	Result    ModifyResourceRecordResult `json:"result"`
}

type ModifyResourceRecordResult

type ModifyResourceRecordResult struct {
}

type ModifyResourceRecordStatusRequest

type ModifyResourceRecordStatusRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 域名ID,请使用describeDomains接口获取。  */
	DomainId string `json:"domainId"`

	/* 解析记录ID,请使用describeResourceRecord接口获取。  */
	ResourceRecordId string `json:"resourceRecordId"`

	/* 要修改的状态,enable:启用 disable:停用  */
	Action string `json:"action"`
}

func NewModifyResourceRecordStatusRequest

func NewModifyResourceRecordStatusRequest(
	regionId string,
	domainId string,
	resourceRecordId string,
	action string,
) *ModifyResourceRecordStatusRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。 (Required) * param action: 要修改的状态,enable:启用 disable:停用 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewModifyResourceRecordStatusRequestWithAllParams

func NewModifyResourceRecordStatusRequestWithAllParams(
	regionId string,
	domainId string,
	resourceRecordId string,
	action string,
) *ModifyResourceRecordStatusRequest

* param regionId: 实例所属的地域ID (Required) * param domainId: 域名ID,请使用describeDomains接口获取。 (Required) * param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。 (Required) * param action: 要修改的状态,enable:启用 disable:停用 (Required)

func NewModifyResourceRecordStatusRequestWithoutParam

func NewModifyResourceRecordStatusRequestWithoutParam() *ModifyResourceRecordStatusRequest

This constructor has better compatible ability when API parameters changed

func (ModifyResourceRecordStatusRequest) GetRegionId

func (r ModifyResourceRecordStatusRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ModifyResourceRecordStatusRequest) SetAction

func (r *ModifyResourceRecordStatusRequest) SetAction(action string)

param action: 要修改的状态,enable:启用 disable:停用(Required)

func (*ModifyResourceRecordStatusRequest) SetDomainId

func (r *ModifyResourceRecordStatusRequest) SetDomainId(domainId string)

param domainId: 域名ID,请使用describeDomains接口获取。(Required)

func (*ModifyResourceRecordStatusRequest) SetRegionId

func (r *ModifyResourceRecordStatusRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*ModifyResourceRecordStatusRequest) SetResourceRecordId

func (r *ModifyResourceRecordStatusRequest) SetResourceRecordId(resourceRecordId string)

param resourceRecordId: 解析记录ID,请使用describeResourceRecord接口获取。(Required)

type ModifyResourceRecordStatusResponse

type ModifyResourceRecordStatusResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    ModifyResourceRecordStatusResult `json:"result"`
}

type ModifyResourceRecordStatusResult

type ModifyResourceRecordStatusResult struct {
}

Jump to

Keyboard shortcuts

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