Documentation ¶
Index ¶
- type AssignSecondaryIpsRequest
- func NewAssignSecondaryIpsRequest(regionId string, networkInterfaceId string) *AssignSecondaryIpsRequest
- func NewAssignSecondaryIpsRequestWithAllParams(regionId string, networkInterfaceId string, force *bool, secondaryIps []string, ...) *AssignSecondaryIpsRequest
- func NewAssignSecondaryIpsRequestWithoutParam() *AssignSecondaryIpsRequest
- func (r AssignSecondaryIpsRequest) GetRegionId() string
- func (r *AssignSecondaryIpsRequest) SetForce(force bool)
- func (r *AssignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)
- func (r *AssignSecondaryIpsRequest) SetRegionId(regionId string)
- func (r *AssignSecondaryIpsRequest) SetSecondaryIpCount(secondaryIpCount int)
- func (r *AssignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)
- type AssignSecondaryIpsResponse
- type AssignSecondaryIpsResult
- type CreateNetworkInterfaceRequest
- func NewCreateNetworkInterfaceRequest(regionId string, subnetId string) *CreateNetworkInterfaceRequest
- func NewCreateNetworkInterfaceRequestWithAllParams(regionId string, subnetId string, az *string, networkInterfaceName *string, ...) *CreateNetworkInterfaceRequest
- func NewCreateNetworkInterfaceRequestWithoutParam() *CreateNetworkInterfaceRequest
- func (r CreateNetworkInterfaceRequest) GetRegionId() string
- func (r *CreateNetworkInterfaceRequest) SetAz(az string)
- func (r *CreateNetworkInterfaceRequest) SetDescription(description string)
- func (r *CreateNetworkInterfaceRequest) SetNetworkInterfaceName(networkInterfaceName string)
- func (r *CreateNetworkInterfaceRequest) SetPrimaryIpAddress(primaryIpAddress string)
- func (r *CreateNetworkInterfaceRequest) SetRegionId(regionId string)
- func (r *CreateNetworkInterfaceRequest) SetSanityCheck(sanityCheck int)
- func (r *CreateNetworkInterfaceRequest) SetSecondaryIpAddresses(secondaryIpAddresses []string)
- func (r *CreateNetworkInterfaceRequest) SetSecondaryIpCount(secondaryIpCount int)
- func (r *CreateNetworkInterfaceRequest) SetSecurityGroups(securityGroups []string)
- func (r *CreateNetworkInterfaceRequest) SetSubnetId(subnetId string)
- type CreateNetworkInterfaceResponse
- type CreateNetworkInterfaceResult
- type CreateRdsAccountRequest
- func NewCreateRdsAccountRequest(regionId string, instanceId string, accountName string, accountPassword string) *CreateRdsAccountRequest
- func NewCreateRdsAccountRequestWithAllParams(regionId string, instanceId string, accountName string, accountPassword string) *CreateRdsAccountRequest
- func NewCreateRdsAccountRequestWithoutParam() *CreateRdsAccountRequest
- func (r CreateRdsAccountRequest) GetRegionId() string
- func (r *CreateRdsAccountRequest) SetAccountName(accountName string)
- func (r *CreateRdsAccountRequest) SetAccountPassword(accountPassword string)
- func (r *CreateRdsAccountRequest) SetInstanceId(instanceId string)
- func (r *CreateRdsAccountRequest) SetRegionId(regionId string)
- type CreateRdsAccountResponse
- type CreateRdsAccountResult
- type CreateRdsDatabaseRequest
- func NewCreateRdsDatabaseRequest(regionId string, instanceId string, dbName string, characterSetName string) *CreateRdsDatabaseRequest
- func NewCreateRdsDatabaseRequestWithAllParams(regionId string, instanceId string, dbName string, characterSetName string) *CreateRdsDatabaseRequest
- func NewCreateRdsDatabaseRequestWithoutParam() *CreateRdsDatabaseRequest
- func (r CreateRdsDatabaseRequest) GetRegionId() string
- func (r *CreateRdsDatabaseRequest) SetCharacterSetName(characterSetName string)
- func (r *CreateRdsDatabaseRequest) SetDbName(dbName string)
- func (r *CreateRdsDatabaseRequest) SetInstanceId(instanceId string)
- func (r *CreateRdsDatabaseRequest) SetRegionId(regionId string)
- type CreateRdsDatabaseResponse
- type CreateRdsDatabaseResult
- type CreateSubnetRequest
- func NewCreateSubnetRequest(regionId string, vpcId string, subnetName string, addressPrefix string) *CreateSubnetRequest
- func NewCreateSubnetRequestWithAllParams(regionId string, vpcId string, subnetName string, addressPrefix string, ...) *CreateSubnetRequest
- func NewCreateSubnetRequestWithoutParam() *CreateSubnetRequest
- func (r CreateSubnetRequest) GetRegionId() string
- func (r *CreateSubnetRequest) SetAddressPrefix(addressPrefix string)
- func (r *CreateSubnetRequest) SetAz(az string)
- func (r *CreateSubnetRequest) SetDescription(description string)
- func (r *CreateSubnetRequest) SetRegionId(regionId string)
- func (r *CreateSubnetRequest) SetRouteTableId(routeTableId string)
- func (r *CreateSubnetRequest) SetSubnetName(subnetName string)
- func (r *CreateSubnetRequest) SetSubnetType(subnetType string)
- func (r *CreateSubnetRequest) SetVpcId(vpcId string)
- type CreateSubnetResponse
- type CreateSubnetResult
- type DeleteNetworkInterfaceRequest
- func NewDeleteNetworkInterfaceRequest(regionId string, networkInterfaceId string) *DeleteNetworkInterfaceRequest
- func NewDeleteNetworkInterfaceRequestWithAllParams(regionId string, networkInterfaceId string) *DeleteNetworkInterfaceRequest
- func NewDeleteNetworkInterfaceRequestWithoutParam() *DeleteNetworkInterfaceRequest
- type DeleteNetworkInterfaceResponse
- type DeleteNetworkInterfaceResult
- type DeleteRdsAccountRequest
- func NewDeleteRdsAccountRequest(regionId string, instanceId string, accountName string) *DeleteRdsAccountRequest
- func NewDeleteRdsAccountRequestWithAllParams(regionId string, instanceId string, accountName string) *DeleteRdsAccountRequest
- func NewDeleteRdsAccountRequestWithoutParam() *DeleteRdsAccountRequest
- type DeleteRdsAccountResponse
- type DeleteRdsAccountResult
- type DeleteRdsDatabaseRequest
- func NewDeleteRdsDatabaseRequest(regionId string, instanceId string, dbName string) *DeleteRdsDatabaseRequest
- func NewDeleteRdsDatabaseRequestWithAllParams(regionId string, instanceId string, dbName string) *DeleteRdsDatabaseRequest
- func NewDeleteRdsDatabaseRequestWithoutParam() *DeleteRdsDatabaseRequest
- type DeleteRdsDatabaseResponse
- type DeleteRdsDatabaseResult
- type DeleteSubnetRequest
- type DeleteSubnetResponse
- type DeleteSubnetResult
- type DescribeInstanceInfoRequest
- type DescribeInstanceInfoResponse
- type DescribeInstanceInfoResult
- type DescribeNetworkInterfaceRequest
- func NewDescribeNetworkInterfaceRequest(regionId string, networkInterfaceId string) *DescribeNetworkInterfaceRequest
- func NewDescribeNetworkInterfaceRequestWithAllParams(regionId string, networkInterfaceId string) *DescribeNetworkInterfaceRequest
- func NewDescribeNetworkInterfaceRequestWithoutParam() *DescribeNetworkInterfaceRequest
- type DescribeNetworkInterfaceResponse
- type DescribeNetworkInterfaceResult
- type DescribeNetworkInterfacesRequest
- func NewDescribeNetworkInterfacesRequest(regionId string) *DescribeNetworkInterfacesRequest
- func NewDescribeNetworkInterfacesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter) *DescribeNetworkInterfacesRequest
- func NewDescribeNetworkInterfacesRequestWithoutParam() *DescribeNetworkInterfacesRequest
- func (r DescribeNetworkInterfacesRequest) GetRegionId() string
- func (r *DescribeNetworkInterfacesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeNetworkInterfacesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeNetworkInterfacesRequest) SetPageSize(pageSize int)
- func (r *DescribeNetworkInterfacesRequest) SetRegionId(regionId string)
- type DescribeNetworkInterfacesResponse
- type DescribeNetworkInterfacesResult
- type DescribeRdsAccountsRequest
- func NewDescribeRdsAccountsRequest(regionId string, instanceId string) *DescribeRdsAccountsRequest
- func NewDescribeRdsAccountsRequestWithAllParams(regionId string, instanceId string, pageNumber *int, pageSize *int) *DescribeRdsAccountsRequest
- func NewDescribeRdsAccountsRequestWithoutParam() *DescribeRdsAccountsRequest
- func (r DescribeRdsAccountsRequest) GetRegionId() string
- func (r *DescribeRdsAccountsRequest) SetInstanceId(instanceId string)
- func (r *DescribeRdsAccountsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeRdsAccountsRequest) SetPageSize(pageSize int)
- func (r *DescribeRdsAccountsRequest) SetRegionId(regionId string)
- type DescribeRdsAccountsResponse
- type DescribeRdsAccountsResult
- type DescribeRdsDatabasesRequest
- func NewDescribeRdsDatabasesRequest(regionId string, instanceId string) *DescribeRdsDatabasesRequest
- func NewDescribeRdsDatabasesRequestWithAllParams(regionId string, instanceId string, dbName *string, pageNumber *int, ...) *DescribeRdsDatabasesRequest
- func NewDescribeRdsDatabasesRequestWithoutParam() *DescribeRdsDatabasesRequest
- func (r DescribeRdsDatabasesRequest) GetRegionId() string
- func (r *DescribeRdsDatabasesRequest) SetDbName(dbName string)
- func (r *DescribeRdsDatabasesRequest) SetInstanceId(instanceId string)
- func (r *DescribeRdsDatabasesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeRdsDatabasesRequest) SetPageSize(pageSize int)
- func (r *DescribeRdsDatabasesRequest) SetRegionId(regionId string)
- type DescribeRdsDatabasesResponse
- type DescribeRdsDatabasesResult
- type DescribeRdsInstanceRequest
- type DescribeRdsInstanceResponse
- type DescribeRdsInstanceResult
- type DescribeRdsInstancesRequest
- func NewDescribeRdsInstancesRequest(regionId string) *DescribeRdsInstancesRequest
- func NewDescribeRdsInstancesRequestWithAllParams(regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ...) *DescribeRdsInstancesRequest
- func NewDescribeRdsInstancesRequestWithoutParam() *DescribeRdsInstancesRequest
- func (r DescribeRdsInstancesRequest) GetRegionId() string
- func (r *DescribeRdsInstancesRequest) SetFilters(filters []common.Filter)
- func (r *DescribeRdsInstancesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeRdsInstancesRequest) SetPageSize(pageSize int)
- func (r *DescribeRdsInstancesRequest) SetRegionId(regionId string)
- func (r *DescribeRdsInstancesRequest) SetType(type_ int)
- type DescribeRdsInstancesResponse
- type DescribeRdsInstancesResult
- type DescribeRdsWhiteListRequest
- type DescribeRdsWhiteListResponse
- type DescribeRdsWhiteListResult
- type DescribeSubnetRequest
- type DescribeSubnetResponse
- type DescribeSubnetResult
- type DescribeSubnetsRequest
- func (r DescribeSubnetsRequest) GetRegionId() string
- func (r *DescribeSubnetsRequest) SetFilters(filters []common.Filter)
- func (r *DescribeSubnetsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeSubnetsRequest) SetPageSize(pageSize int)
- func (r *DescribeSubnetsRequest) SetRegionId(regionId string)
- func (r *DescribeSubnetsRequest) SetType(type_ int)
- type DescribeSubnetsResponse
- type DescribeSubnetsResult
- type DescribeTasksRequest
- type DescribeTasksResponse
- type DescribeTasksResult
- type DescribeYdRdsInstancesRequest
- type DescribeYdRdsInstancesResponse
- type DescribeYdRdsInstancesResult
- type GrantRdsPrivilegeRequest
- func NewGrantRdsPrivilegeRequest(regionId string, instanceId string, accountName string, ...) *GrantRdsPrivilegeRequest
- func NewGrantRdsPrivilegeRequestWithAllParams(regionId string, instanceId string, accountName string, ...) *GrantRdsPrivilegeRequest
- func NewGrantRdsPrivilegeRequestWithoutParam() *GrantRdsPrivilegeRequest
- func (r GrantRdsPrivilegeRequest) GetRegionId() string
- func (r *GrantRdsPrivilegeRequest) SetAccountName(accountName string)
- func (r *GrantRdsPrivilegeRequest) SetAccountPrivileges(accountPrivileges []rds.AccountPrivilege)
- func (r *GrantRdsPrivilegeRequest) SetInstanceId(instanceId string)
- func (r *GrantRdsPrivilegeRequest) SetRegionId(regionId string)
- type GrantRdsPrivilegeResponse
- type GrantRdsPrivilegeResult
- type ModifyRdsWhiteListRequest
- func NewModifyRdsWhiteListRequest(regionId string, instanceId string, ips string) *ModifyRdsWhiteListRequest
- func NewModifyRdsWhiteListRequestWithAllParams(regionId string, instanceId string, ips string) *ModifyRdsWhiteListRequest
- func NewModifyRdsWhiteListRequestWithoutParam() *ModifyRdsWhiteListRequest
- type ModifyRdsWhiteListResponse
- type ModifyRdsWhiteListResult
- type PutProductMetricDataRequest
- func NewPutProductMetricDataRequest(regionId string, appCode string, serviceCode string, region string, ...) *PutProductMetricDataRequest
- func NewPutProductMetricDataRequestWithAllParams(regionId string, appCode string, serviceCode string, region string, ...) *PutProductMetricDataRequest
- func NewPutProductMetricDataRequestWithoutParam() *PutProductMetricDataRequest
- func (r PutProductMetricDataRequest) GetRegionId() string
- func (r *PutProductMetricDataRequest) SetAppCode(appCode string)
- func (r *PutProductMetricDataRequest) SetDataPoints(dataPoints []monitor.DataPointX)
- func (r *PutProductMetricDataRequest) SetRegion(region string)
- func (r *PutProductMetricDataRequest) SetRegionId(regionId string)
- func (r *PutProductMetricDataRequest) SetResourceId(resourceId string)
- func (r *PutProductMetricDataRequest) SetServiceCode(serviceCode string)
- type PutProductMetricDataResponse
- type PutProductMetricDataResult
- type PutRequest
- func (r PutRequest) GetRegionId() string
- func (r *PutRequest) SetAppCode(appCode string)
- func (r *PutRequest) SetDataPoints(dataPoints []monitor.DataPointX)
- func (r *PutRequest) SetRegion(region string)
- func (r *PutRequest) SetRegionId(regionId string)
- func (r *PutRequest) SetResourceId(resourceId string)
- func (r *PutRequest) SetServiceCode(serviceCode string)
- type PutResponse
- type PutResult
- type RevokePrivilegeRequest
- func NewRevokePrivilegeRequest(regionId string, instanceId string, accountName string, dbNames []string) *RevokePrivilegeRequest
- func NewRevokePrivilegeRequestWithAllParams(regionId string, instanceId string, accountName string, dbNames []string) *RevokePrivilegeRequest
- func NewRevokePrivilegeRequestWithoutParam() *RevokePrivilegeRequest
- func (r RevokePrivilegeRequest) GetRegionId() string
- func (r *RevokePrivilegeRequest) SetAccountName(accountName string)
- func (r *RevokePrivilegeRequest) SetDbNames(dbNames []string)
- func (r *RevokePrivilegeRequest) SetInstanceId(instanceId string)
- func (r *RevokePrivilegeRequest) SetRegionId(regionId string)
- type RevokePrivilegeResponse
- type RevokePrivilegeResult
- type UnassignSecondaryIpsRequest
- func NewUnassignSecondaryIpsRequest(regionId string, networkInterfaceId string) *UnassignSecondaryIpsRequest
- func NewUnassignSecondaryIpsRequestWithAllParams(regionId string, networkInterfaceId string, secondaryIps []string) *UnassignSecondaryIpsRequest
- func NewUnassignSecondaryIpsRequestWithoutParam() *UnassignSecondaryIpsRequest
- type UnassignSecondaryIpsResponse
- type UnassignSecondaryIpsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignSecondaryIpsRequest ¶
type AssignSecondaryIpsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* networkInterface ID */ NetworkInterfaceId string `json:"networkInterfaceId"` /* secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配,默认抢占重分配。默认值:true (Optional) */ Force *bool `json:"force"` /* 指定分配的secondaryIp地址 (Optional) */ SecondaryIps []string `json:"secondaryIps"` /* 指定自动分配的secondaryIp个数 (Optional) */ SecondaryIpCount *int `json:"secondaryIpCount"` }
func NewAssignSecondaryIpsRequest ¶
func NewAssignSecondaryIpsRequest( regionId string, networkInterfaceId string, ) *AssignSecondaryIpsRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAssignSecondaryIpsRequestWithAllParams ¶
func NewAssignSecondaryIpsRequestWithAllParams( regionId string, networkInterfaceId string, force *bool, secondaryIps []string, secondaryIpCount *int, ) *AssignSecondaryIpsRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param force: secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配,默认抢占重分配。默认值:true (Optional) * param secondaryIps: 指定分配的secondaryIp地址 (Optional) * param secondaryIpCount: 指定自动分配的secondaryIp个数 (Optional)
func NewAssignSecondaryIpsRequestWithoutParam ¶
func NewAssignSecondaryIpsRequestWithoutParam() *AssignSecondaryIpsRequest
This constructor has better compatible ability when API parameters changed
func (AssignSecondaryIpsRequest) GetRegionId ¶
func (r AssignSecondaryIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AssignSecondaryIpsRequest) SetForce ¶
func (r *AssignSecondaryIpsRequest) SetForce(force bool)
param force: secondary ip被其他接口占用时,是否抢占。false:非抢占重分配,true:抢占重分配,默认抢占重分配。默认值:true(Optional)
func (*AssignSecondaryIpsRequest) SetNetworkInterfaceId ¶
func (r *AssignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)
param networkInterfaceId: networkInterface ID(Required)
func (*AssignSecondaryIpsRequest) SetRegionId ¶
func (r *AssignSecondaryIpsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*AssignSecondaryIpsRequest) SetSecondaryIpCount ¶
func (r *AssignSecondaryIpsRequest) SetSecondaryIpCount(secondaryIpCount int)
param secondaryIpCount: 指定自动分配的secondaryIp个数(Optional)
func (*AssignSecondaryIpsRequest) SetSecondaryIps ¶
func (r *AssignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)
param secondaryIps: 指定分配的secondaryIp地址(Optional)
type AssignSecondaryIpsResponse ¶
type AssignSecondaryIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AssignSecondaryIpsResult `json:"result"` }
type AssignSecondaryIpsResult ¶
type AssignSecondaryIpsResult struct { }
type CreateNetworkInterfaceRequest ¶
type CreateNetworkInterfaceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 子网ID */ SubnetId string `json:"subnetId"` /* 可用区,用户的默认可用区,该参数无效,不建议使用 (Optional) */ Az *string `json:"az"` /* 网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) */ NetworkInterfaceName *string `json:"networkInterfaceName"` /* 网卡主IP,如果不指定,会自动从子网中分配 (Optional) */ PrimaryIpAddress *string `json:"primaryIpAddress"` /* SecondaryIp列表 (Optional) */ SecondaryIpAddresses []string `json:"secondaryIpAddresses"` /* 自动分配的SecondaryIp数量 (Optional) */ SecondaryIpCount *int `json:"secondaryIpCount"` /* 要绑定的安全组ID列表,最多指定5个安全组 (Optional) */ SecurityGroups []string `json:"securityGroups"` /* 源和目标IP地址校验,取值为0或者1,默认为1 (Optional) */ SanityCheck *int `json:"sanityCheck"` /* 描述, 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional) */ Description *string `json:"description"` }
func NewCreateNetworkInterfaceRequest ¶
func NewCreateNetworkInterfaceRequest( regionId string, subnetId string, ) *CreateNetworkInterfaceRequest
* param regionId: Region ID (Required) * param subnetId: 子网ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateNetworkInterfaceRequestWithAllParams ¶
func NewCreateNetworkInterfaceRequestWithAllParams( regionId string, subnetId string, az *string, networkInterfaceName *string, primaryIpAddress *string, secondaryIpAddresses []string, secondaryIpCount *int, securityGroups []string, sanityCheck *int, description *string, ) *CreateNetworkInterfaceRequest
* param regionId: Region ID (Required) * param subnetId: 子网ID (Required) * param az: 可用区,用户的默认可用区,该参数无效,不建议使用 (Optional) * param networkInterfaceName: 网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Optional) * param primaryIpAddress: 网卡主IP,如果不指定,会自动从子网中分配 (Optional) * param secondaryIpAddresses: SecondaryIp列表 (Optional) * param secondaryIpCount: 自动分配的SecondaryIp数量 (Optional) * param securityGroups: 要绑定的安全组ID列表,最多指定5个安全组 (Optional) * param sanityCheck: 源和目标IP地址校验,取值为0或者1,默认为1 (Optional) * param description: 描述, 允许输入UTF-8编码下的全部字符,不超过256字符 (Optional)
func NewCreateNetworkInterfaceRequestWithoutParam ¶
func NewCreateNetworkInterfaceRequestWithoutParam() *CreateNetworkInterfaceRequest
This constructor has better compatible ability when API parameters changed
func (CreateNetworkInterfaceRequest) GetRegionId ¶
func (r CreateNetworkInterfaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateNetworkInterfaceRequest) SetAz ¶
func (r *CreateNetworkInterfaceRequest) SetAz(az string)
param az: 可用区,用户的默认可用区,该参数无效,不建议使用(Optional)
func (*CreateNetworkInterfaceRequest) SetDescription ¶
func (r *CreateNetworkInterfaceRequest) SetDescription(description string)
param description: 描述, 允许输入UTF-8编码下的全部字符,不超过256字符(Optional)
func (*CreateNetworkInterfaceRequest) SetNetworkInterfaceName ¶
func (r *CreateNetworkInterfaceRequest) SetNetworkInterfaceName(networkInterfaceName string)
param networkInterfaceName: 网卡名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Optional)
func (*CreateNetworkInterfaceRequest) SetPrimaryIpAddress ¶
func (r *CreateNetworkInterfaceRequest) SetPrimaryIpAddress(primaryIpAddress string)
param primaryIpAddress: 网卡主IP,如果不指定,会自动从子网中分配(Optional)
func (*CreateNetworkInterfaceRequest) SetRegionId ¶
func (r *CreateNetworkInterfaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateNetworkInterfaceRequest) SetSanityCheck ¶
func (r *CreateNetworkInterfaceRequest) SetSanityCheck(sanityCheck int)
param sanityCheck: 源和目标IP地址校验,取值为0或者1,默认为1(Optional)
func (*CreateNetworkInterfaceRequest) SetSecondaryIpAddresses ¶
func (r *CreateNetworkInterfaceRequest) SetSecondaryIpAddresses(secondaryIpAddresses []string)
param secondaryIpAddresses: SecondaryIp列表(Optional)
func (*CreateNetworkInterfaceRequest) SetSecondaryIpCount ¶
func (r *CreateNetworkInterfaceRequest) SetSecondaryIpCount(secondaryIpCount int)
param secondaryIpCount: 自动分配的SecondaryIp数量(Optional)
func (*CreateNetworkInterfaceRequest) SetSecurityGroups ¶
func (r *CreateNetworkInterfaceRequest) SetSecurityGroups(securityGroups []string)
param securityGroups: 要绑定的安全组ID列表,最多指定5个安全组(Optional)
func (*CreateNetworkInterfaceRequest) SetSubnetId ¶
func (r *CreateNetworkInterfaceRequest) SetSubnetId(subnetId string)
param subnetId: 子网ID(Required)
type CreateNetworkInterfaceResponse ¶
type CreateNetworkInterfaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateNetworkInterfaceResult `json:"result"` }
type CreateNetworkInterfaceResult ¶
type CreateNetworkInterfaceResult struct {
NetworkInterfaceId string `json:"networkInterfaceId"`
}
type CreateRdsAccountRequest ¶
type CreateRdsAccountRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ AccountName string `json:"accountName"` /* 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ AccountPassword string `json:"accountPassword"` }
func NewCreateRdsAccountRequest ¶
func NewCreateRdsAccountRequest( regionId string, instanceId string, accountName string, accountPassword string, ) *CreateRdsAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRdsAccountRequestWithAllParams ¶
func NewCreateRdsAccountRequestWithAllParams( regionId string, instanceId string, accountName string, accountPassword string, ) *CreateRdsAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required)
func NewCreateRdsAccountRequestWithoutParam ¶
func NewCreateRdsAccountRequestWithoutParam() *CreateRdsAccountRequest
This constructor has better compatible ability when API parameters changed
func (CreateRdsAccountRequest) GetRegionId ¶
func (r CreateRdsAccountRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRdsAccountRequest) SetAccountName ¶
func (r *CreateRdsAccountRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个RDS实例中,账号名不能重复。账号名的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateRdsAccountRequest) SetAccountPassword ¶
func (r *CreateRdsAccountRequest) SetAccountPassword(accountPassword string)
param accountPassword: 密码,密码的具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateRdsAccountRequest) SetInstanceId ¶
func (r *CreateRdsAccountRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateRdsAccountRequest) SetRegionId ¶
func (r *CreateRdsAccountRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateRdsAccountResponse ¶
type CreateRdsAccountResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateRdsAccountResult `json:"result"` }
type CreateRdsAccountResult ¶
type CreateRdsAccountResult struct { }
type CreateRdsDatabaseRequest ¶
type CreateRdsDatabaseRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) */ DbName string `json:"dbName"` /* 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) */ CharacterSetName string `json:"characterSetName"` }
func NewCreateRdsDatabaseRequest ¶
func NewCreateRdsDatabaseRequest( regionId string, instanceId string, dbName string, characterSetName string, ) *CreateRdsDatabaseRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRdsDatabaseRequestWithAllParams ¶
func NewCreateRdsDatabaseRequestWithAllParams( regionId string, instanceId string, dbName string, characterSetName string, ) *CreateRdsDatabaseRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Required) * param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Required)
func NewCreateRdsDatabaseRequestWithoutParam ¶
func NewCreateRdsDatabaseRequestWithoutParam() *CreateRdsDatabaseRequest
This constructor has better compatible ability when API parameters changed
func (CreateRdsDatabaseRequest) GetRegionId ¶
func (r CreateRdsDatabaseRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRdsDatabaseRequest) SetCharacterSetName ¶
func (r *CreateRdsDatabaseRequest) SetCharacterSetName(characterSetName string)
param characterSetName: 数据库的字符集名,当前支持的字符集请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md)(Required)
func (*CreateRdsDatabaseRequest) SetDbName ¶
func (r *CreateRdsDatabaseRequest) SetDbName(dbName string)
param dbName: 数据库名,数据库名称的限制请参考[帮助中心文档](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md)(Required)
func (*CreateRdsDatabaseRequest) SetInstanceId ¶
func (r *CreateRdsDatabaseRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*CreateRdsDatabaseRequest) SetRegionId ¶
func (r *CreateRdsDatabaseRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type CreateRdsDatabaseResponse ¶
type CreateRdsDatabaseResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateRdsDatabaseResult `json:"result"` }
type CreateRdsDatabaseResult ¶
type CreateRdsDatabaseResult struct { }
type CreateSubnetRequest ¶
type CreateSubnetRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 子网所属vpc的Id */ VpcId string `json:"vpcId"` /* 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 */ SubnetName string `json:"subnetName"` /* 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果vpc含有cidr,则必须为vpc所在cidr的子网 */ AddressPrefix string `json:"addressPrefix"` /* 子网关联的路由表Id, 默认为vpc的默认路由表,子网关联路由表需检查路由表中已绑定的子网与本子网类型是否一致(一致标准为:或者都为标准子网,或者都为相同边缘可用区的边缘子网) (Optional) */ RouteTableId *string `json:"routeTableId"` /* 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) */ Description *string `json:"description"` /* 子网类型,取值:standard(标准子网),edge(边缘子网) (Optional) */ SubnetType *string `json:"subnetType"` /* 子网可用区,边缘子网必须指定可用区 (Optional) */ Az *string `json:"az"` }
func NewCreateSubnetRequest ¶
func NewCreateSubnetRequest( regionId string, vpcId string, subnetName string, addressPrefix string, ) *CreateSubnetRequest
* param regionId: Region ID (Required) * param vpcId: 子网所属vpc的Id (Required) * param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * param addressPrefix: 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果vpc含有cidr,则必须为vpc所在cidr的子网 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSubnetRequestWithAllParams ¶
func NewCreateSubnetRequestWithAllParams( regionId string, vpcId string, subnetName string, addressPrefix string, routeTableId *string, description *string, subnetType *string, az *string, ) *CreateSubnetRequest
* param regionId: Region ID (Required) * param vpcId: 子网所属vpc的Id (Required) * param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。 (Required) * param addressPrefix: 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果vpc含有cidr,则必须为vpc所在cidr的子网 (Required) * param routeTableId: 子网关联的路由表Id, 默认为vpc的默认路由表,子网关联路由表需检查路由表中已绑定的子网与本子网类型是否一致(一致标准为:或者都为标准子网,或者都为相同边缘可用区的边缘子网) (Optional) * param description: 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。 (Optional) * param subnetType: 子网类型,取值:standard(标准子网),edge(边缘子网) (Optional) * param az: 子网可用区,边缘子网必须指定可用区 (Optional)
func NewCreateSubnetRequestWithoutParam ¶
func NewCreateSubnetRequestWithoutParam() *CreateSubnetRequest
This constructor has better compatible ability when API parameters changed
func (CreateSubnetRequest) GetRegionId ¶
func (r CreateSubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSubnetRequest) SetAddressPrefix ¶
func (r *CreateSubnetRequest) SetAddressPrefix(addressPrefix string)
param addressPrefix: 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果vpc含有cidr,则必须为vpc所在cidr的子网(Required)
func (*CreateSubnetRequest) SetAz ¶
func (r *CreateSubnetRequest) SetAz(az string)
param az: 子网可用区,边缘子网必须指定可用区(Optional)
func (*CreateSubnetRequest) SetDescription ¶
func (r *CreateSubnetRequest) SetDescription(description string)
param description: 子网描述信息,允许输入UTF-8编码下的全部字符,不超过256字符。(Optional)
func (*CreateSubnetRequest) SetRegionId ¶
func (r *CreateSubnetRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateSubnetRequest) SetRouteTableId ¶
func (r *CreateSubnetRequest) SetRouteTableId(routeTableId string)
param routeTableId: 子网关联的路由表Id, 默认为vpc的默认路由表,子网关联路由表需检查路由表中已绑定的子网与本子网类型是否一致(一致标准为:或者都为标准子网,或者都为相同边缘可用区的边缘子网)(Optional)
func (*CreateSubnetRequest) SetSubnetName ¶
func (r *CreateSubnetRequest) SetSubnetName(subnetName string)
param subnetName: 子网名称,只允许输入中文、数字、大小写字母、英文下划线“_”及中划线“-”,不允许为空且不超过32字符。(Required)
func (*CreateSubnetRequest) SetSubnetType ¶
func (r *CreateSubnetRequest) SetSubnetType(subnetType string)
param subnetType: 子网类型,取值:standard(标准子网),edge(边缘子网)(Optional)
func (*CreateSubnetRequest) SetVpcId ¶
func (r *CreateSubnetRequest) SetVpcId(vpcId string)
param vpcId: 子网所属vpc的Id(Required)
type CreateSubnetResponse ¶
type CreateSubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateSubnetResult `json:"result"` }
type CreateSubnetResult ¶
type CreateSubnetResult struct {
SubnetId string `json:"subnetId"`
}
type DeleteNetworkInterfaceRequest ¶
type DeleteNetworkInterfaceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* networkInterface ID */ NetworkInterfaceId string `json:"networkInterfaceId"` }
func NewDeleteNetworkInterfaceRequest ¶
func NewDeleteNetworkInterfaceRequest( regionId string, networkInterfaceId string, ) *DeleteNetworkInterfaceRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteNetworkInterfaceRequestWithAllParams ¶
func NewDeleteNetworkInterfaceRequestWithAllParams( regionId string, networkInterfaceId string, ) *DeleteNetworkInterfaceRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required)
func NewDeleteNetworkInterfaceRequestWithoutParam ¶
func NewDeleteNetworkInterfaceRequestWithoutParam() *DeleteNetworkInterfaceRequest
This constructor has better compatible ability when API parameters changed
func (DeleteNetworkInterfaceRequest) GetRegionId ¶
func (r DeleteNetworkInterfaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteNetworkInterfaceRequest) SetNetworkInterfaceId ¶
func (r *DeleteNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)
param networkInterfaceId: networkInterface ID(Required)
func (*DeleteNetworkInterfaceRequest) SetRegionId ¶
func (r *DeleteNetworkInterfaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteNetworkInterfaceResponse ¶
type DeleteNetworkInterfaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteNetworkInterfaceResult `json:"result"` }
type DeleteNetworkInterfaceResult ¶
type DeleteNetworkInterfaceResult struct { }
type DeleteRdsAccountRequest ¶
type DeleteRdsAccountRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` }
func NewDeleteRdsAccountRequest ¶
func NewDeleteRdsAccountRequest( regionId string, instanceId string, accountName string, ) *DeleteRdsAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRdsAccountRequestWithAllParams ¶
func NewDeleteRdsAccountRequestWithAllParams( regionId string, instanceId string, accountName string, ) *DeleteRdsAccountRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required)
func NewDeleteRdsAccountRequestWithoutParam ¶
func NewDeleteRdsAccountRequestWithoutParam() *DeleteRdsAccountRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRdsAccountRequest) GetRegionId ¶
func (r DeleteRdsAccountRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRdsAccountRequest) SetAccountName ¶
func (r *DeleteRdsAccountRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*DeleteRdsAccountRequest) SetInstanceId ¶
func (r *DeleteRdsAccountRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DeleteRdsAccountRequest) SetRegionId ¶
func (r *DeleteRdsAccountRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DeleteRdsAccountResponse ¶
type DeleteRdsAccountResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteRdsAccountResult `json:"result"` }
type DeleteRdsAccountResult ¶
type DeleteRdsAccountResult struct { }
type DeleteRdsDatabaseRequest ¶
type DeleteRdsDatabaseRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 库名称 */ DbName string `json:"dbName"` }
func NewDeleteRdsDatabaseRequest ¶
func NewDeleteRdsDatabaseRequest( regionId string, instanceId string, dbName string, ) *DeleteRdsDatabaseRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRdsDatabaseRequestWithAllParams ¶
func NewDeleteRdsDatabaseRequestWithAllParams( regionId string, instanceId string, dbName string, ) *DeleteRdsDatabaseRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 库名称 (Required)
func NewDeleteRdsDatabaseRequestWithoutParam ¶
func NewDeleteRdsDatabaseRequestWithoutParam() *DeleteRdsDatabaseRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRdsDatabaseRequest) GetRegionId ¶
func (r DeleteRdsDatabaseRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRdsDatabaseRequest) SetDbName ¶
func (r *DeleteRdsDatabaseRequest) SetDbName(dbName string)
param dbName: 库名称(Required)
func (*DeleteRdsDatabaseRequest) SetInstanceId ¶
func (r *DeleteRdsDatabaseRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DeleteRdsDatabaseRequest) SetRegionId ¶
func (r *DeleteRdsDatabaseRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DeleteRdsDatabaseResponse ¶
type DeleteRdsDatabaseResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteRdsDatabaseResult `json:"result"` }
type DeleteRdsDatabaseResult ¶
type DeleteRdsDatabaseResult struct { }
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Subnet ID */ SubnetId string `json:"subnetId"` }
func NewDeleteSubnetRequest ¶
func NewDeleteSubnetRequest( regionId string, subnetId string, ) *DeleteSubnetRequest
* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteSubnetRequestWithAllParams ¶
func NewDeleteSubnetRequestWithAllParams( regionId string, subnetId string, ) *DeleteSubnetRequest
* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required)
func NewDeleteSubnetRequestWithoutParam ¶
func NewDeleteSubnetRequestWithoutParam() *DeleteSubnetRequest
This constructor has better compatible ability when API parameters changed
func (DeleteSubnetRequest) GetRegionId ¶
func (r DeleteSubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteSubnetRequest) SetRegionId ¶
func (r *DeleteSubnetRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteSubnetRequest) SetSubnetId ¶
func (r *DeleteSubnetRequest) SetSubnetId(subnetId string)
param subnetId: Subnet ID(Required)
type DeleteSubnetResponse ¶
type DeleteSubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteSubnetResult `json:"result"` }
type DeleteSubnetResult ¶
type DeleteSubnetResult struct { }
type DescribeInstanceInfoRequest ¶
type DescribeInstanceInfoRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeInstanceInfoRequest ¶
func NewDescribeInstanceInfoRequest( regionId string, instanceId string, ) *DescribeInstanceInfoRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeInstanceInfoRequestWithAllParams ¶
func NewDescribeInstanceInfoRequestWithAllParams( regionId string, instanceId string, ) *DescribeInstanceInfoRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeInstanceInfoRequestWithoutParam ¶
func NewDescribeInstanceInfoRequestWithoutParam() *DescribeInstanceInfoRequest
This constructor has better compatible ability when API parameters changed
func (DescribeInstanceInfoRequest) GetRegionId ¶
func (r DescribeInstanceInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeInstanceInfoRequest) SetInstanceId ¶
func (r *DescribeInstanceInfoRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeInstanceInfoRequest) SetRegionId ¶
func (r *DescribeInstanceInfoRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeInstanceInfoResponse ¶
type DescribeInstanceInfoResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeInstanceInfoResult `json:"result"` }
type DescribeNetworkInterfaceRequest ¶
type DescribeNetworkInterfaceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* networkInterface ID */ NetworkInterfaceId string `json:"networkInterfaceId"` }
func NewDescribeNetworkInterfaceRequest ¶
func NewDescribeNetworkInterfaceRequest( regionId string, networkInterfaceId string, ) *DescribeNetworkInterfaceRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeNetworkInterfaceRequestWithAllParams ¶
func NewDescribeNetworkInterfaceRequestWithAllParams( regionId string, networkInterfaceId string, ) *DescribeNetworkInterfaceRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required)
func NewDescribeNetworkInterfaceRequestWithoutParam ¶
func NewDescribeNetworkInterfaceRequestWithoutParam() *DescribeNetworkInterfaceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNetworkInterfaceRequest) GetRegionId ¶
func (r DescribeNetworkInterfaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNetworkInterfaceRequest) SetNetworkInterfaceId ¶
func (r *DescribeNetworkInterfaceRequest) SetNetworkInterfaceId(networkInterfaceId string)
param networkInterfaceId: networkInterface ID(Required)
func (*DescribeNetworkInterfaceRequest) SetRegionId ¶
func (r *DescribeNetworkInterfaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeNetworkInterfaceResponse ¶
type DescribeNetworkInterfaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeNetworkInterfaceResult `json:"result"` }
type DescribeNetworkInterfaceResult ¶
type DescribeNetworkInterfaceResult struct {
NetworkInterface vpc.NetworkInterface `json:"networkInterface"`
}
type DescribeNetworkInterfacesRequest ¶
type DescribeNetworkInterfacesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小,默认为20,取值范围:[10,100] (Optional) */ PageSize *int `json:"pageSize"` /* networkInterfaceIds - 弹性网卡ID列表,支持多个 networkInterfaceNames - 弹性网卡名称列表,支持多个 vpcId - 弹性网卡所属vpc Id,支持单个 subnetId - 弹性网卡所属子网Id,支持单个 role - 网卡角色,取值范围:Primary(主网卡)、Secondary(辅助网卡)、Managed (受管网卡),支持单个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeNetworkInterfacesRequest ¶
func NewDescribeNetworkInterfacesRequest( regionId string, ) *DescribeNetworkInterfacesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeNetworkInterfacesRequestWithAllParams ¶
func NewDescribeNetworkInterfacesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, ) *DescribeNetworkInterfacesRequest
- param regionId: Region ID (Required)
- param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
- param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
- param filters: networkInterfaceIds - 弹性网卡ID列表,支持多个
networkInterfaceNames - 弹性网卡名称列表,支持多个 vpcId - 弹性网卡所属vpc Id,支持单个 subnetId - 弹性网卡所属子网Id,支持单个 role - 网卡角色,取值范围:Primary(主网卡)、Secondary(辅助网卡)、Managed (受管网卡),支持单个
(Optional)
func NewDescribeNetworkInterfacesRequestWithoutParam ¶
func NewDescribeNetworkInterfacesRequestWithoutParam() *DescribeNetworkInterfacesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeNetworkInterfacesRequest) GetRegionId ¶
func (r DescribeNetworkInterfacesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeNetworkInterfacesRequest) SetFilters ¶
func (r *DescribeNetworkInterfacesRequest) SetFilters(filters []common.Filter)
param filters: networkInterfaceIds - 弹性网卡ID列表,支持多个
networkInterfaceNames - 弹性网卡名称列表,支持多个 vpcId - 弹性网卡所属vpc Id,支持单个 subnetId - 弹性网卡所属子网Id,支持单个 role - 网卡角色,取值范围:Primary(主网卡)、Secondary(辅助网卡)、Managed (受管网卡),支持单个 (Optional)
func (*DescribeNetworkInterfacesRequest) SetPageNumber ¶
func (r *DescribeNetworkInterfacesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)
func (*DescribeNetworkInterfacesRequest) SetPageSize ¶
func (r *DescribeNetworkInterfacesRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)
func (*DescribeNetworkInterfacesRequest) SetRegionId ¶
func (r *DescribeNetworkInterfacesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeNetworkInterfacesResponse ¶
type DescribeNetworkInterfacesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeNetworkInterfacesResult `json:"result"` }
type DescribeNetworkInterfacesResult ¶
type DescribeNetworkInterfacesResult struct { NetworkInterfaces []vpc.NetworkInterface `json:"networkInterfaces"` TotalCount int `json:"totalCount"` }
type DescribeRdsAccountsRequest ¶
type DescribeRdsAccountsRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeRdsAccountsRequest ¶
func NewDescribeRdsAccountsRequest( regionId string, instanceId string, ) *DescribeRdsAccountsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRdsAccountsRequestWithAllParams ¶
func NewDescribeRdsAccountsRequestWithAllParams( regionId string, instanceId string, pageNumber *int, pageSize *int, ) *DescribeRdsAccountsRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)
func NewDescribeRdsAccountsRequestWithoutParam ¶
func NewDescribeRdsAccountsRequestWithoutParam() *DescribeRdsAccountsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRdsAccountsRequest) GetRegionId ¶
func (r DescribeRdsAccountsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRdsAccountsRequest) SetInstanceId ¶
func (r *DescribeRdsAccountsRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeRdsAccountsRequest) SetPageNumber ¶
func (r *DescribeRdsAccountsRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeRdsAccountsRequest) SetPageSize ¶
func (r *DescribeRdsAccountsRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)
func (*DescribeRdsAccountsRequest) SetRegionId ¶
func (r *DescribeRdsAccountsRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeRdsAccountsResponse ¶
type DescribeRdsAccountsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRdsAccountsResult `json:"result"` }
type DescribeRdsDatabasesRequest ¶
type DescribeRdsDatabasesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段** (Optional) */ DbName *string `json:"dbName"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` }
func NewDescribeRdsDatabasesRequest ¶
func NewDescribeRdsDatabasesRequest( regionId string, instanceId string, ) *DescribeRdsDatabasesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRdsDatabasesRequestWithAllParams ¶
func NewDescribeRdsDatabasesRequestWithAllParams( regionId string, instanceId string, dbName *string, pageNumber *int, pageSize *int, ) *DescribeRdsDatabasesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param dbName: 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段** (Optional) * param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) * param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)
func NewDescribeRdsDatabasesRequestWithoutParam ¶
func NewDescribeRdsDatabasesRequestWithoutParam() *DescribeRdsDatabasesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRdsDatabasesRequest) GetRegionId ¶
func (r DescribeRdsDatabasesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRdsDatabasesRequest) SetDbName ¶
func (r *DescribeRdsDatabasesRequest) SetDbName(dbName string)
param dbName: 数据库名。如果不指定数据库名,则返回所有数据库列表<br>- **MySQL:不支持该字段**<br>- **SQL Server:支持该字段**(Optional)
func (*DescribeRdsDatabasesRequest) SetInstanceId ¶
func (r *DescribeRdsDatabasesRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeRdsDatabasesRequest) SetPageNumber ¶
func (r *DescribeRdsDatabasesRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeRdsDatabasesRequest) SetPageSize ¶
func (r *DescribeRdsDatabasesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)
func (*DescribeRdsDatabasesRequest) SetRegionId ¶
func (r *DescribeRdsDatabasesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeRdsDatabasesResponse ¶
type DescribeRdsDatabasesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRdsDatabasesResult `json:"result"` }
type DescribeRdsInstanceRequest ¶
type DescribeRdsInstanceRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeRdsInstanceRequest ¶
func NewDescribeRdsInstanceRequest( regionId string, instanceId string, ) *DescribeRdsInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRdsInstanceRequestWithAllParams ¶
func NewDescribeRdsInstanceRequestWithAllParams( regionId string, instanceId string, ) *DescribeRdsInstanceRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeRdsInstanceRequestWithoutParam ¶
func NewDescribeRdsInstanceRequestWithoutParam() *DescribeRdsInstanceRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRdsInstanceRequest) GetRegionId ¶
func (r DescribeRdsInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRdsInstanceRequest) SetInstanceId ¶
func (r *DescribeRdsInstanceRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeRdsInstanceRequest) SetRegionId ¶
func (r *DescribeRdsInstanceRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeRdsInstanceResponse ¶
type DescribeRdsInstanceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRdsInstanceResult `json:"result"` }
type DescribeRdsInstanceResult ¶
type DescribeRdsInstanceResult struct {
DbInstanceAttributes yunding.DBInstanceAttribute `json:"dbInstanceAttributes"`
}
type DescribeRdsInstancesRequest ¶
type DescribeRdsInstancesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional) */ PageNumber *int `json:"pageNumber"` /* 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional) */ PageSize *int `json:"pageSize"` /* 过滤参数,多个过滤参数之间的关系为“与”(and) 支持以下属性的过滤: instanceId, 支持operator选项:eq instanceName, 支持operator选项:eq engine, 支持operator选项:eq engineVersion, 支持operator选项:eq instanceStatus, 支持operator选项:eq chargeMode, 支持operator选项:eq vpcId, 支持operator选项:eq (Optional) */ Filters []common.Filter `json:"filters"` /* 资源类型,MySQL:1,SqlServer:2 (Optional) */ Type *int `json:"type"` }
func NewDescribeRdsInstancesRequest ¶
func NewDescribeRdsInstancesRequest( regionId string, ) *DescribeRdsInstancesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRdsInstancesRequestWithAllParams ¶
func NewDescribeRdsInstancesRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, filters []common.Filter, type_ *int, ) *DescribeRdsInstancesRequest
- param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required)
- param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页; (Optional)
- param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口 (Optional)
- param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)
支持以下属性的过滤: instanceId, 支持operator选项:eq instanceName, 支持operator选项:eq engine, 支持operator选项:eq engineVersion, 支持operator选项:eq instanceStatus, 支持operator选项:eq chargeMode, 支持operator选项:eq vpcId, 支持operator选项:eq
(Optional) * param type_: 资源类型,MySQL:1,SqlServer:2 (Optional)
func NewDescribeRdsInstancesRequestWithoutParam ¶
func NewDescribeRdsInstancesRequestWithoutParam() *DescribeRdsInstancesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRdsInstancesRequest) GetRegionId ¶
func (r DescribeRdsInstancesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRdsInstancesRequest) SetFilters ¶
func (r *DescribeRdsInstancesRequest) SetFilters(filters []common.Filter)
param filters: 过滤参数,多个过滤参数之间的关系为“与”(and)
支持以下属性的过滤: instanceId, 支持operator选项:eq instanceName, 支持operator选项:eq engine, 支持operator选项:eq engineVersion, 支持operator选项:eq instanceStatus, 支持operator选项:eq chargeMode, 支持operator选项:eq vpcId, 支持operator选项:eq (Optional)
func (*DescribeRdsInstancesRequest) SetPageNumber ¶
func (r *DescribeRdsInstancesRequest) SetPageNumber(pageNumber int)
param pageNumber: 显示数据的页码,默认为1,取值范围:[-1,∞)。pageNumber为-1时,返回所有数据页码;超过总页数时,显示最后一页;(Optional)
func (*DescribeRdsInstancesRequest) SetPageSize ¶
func (r *DescribeRdsInstancesRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数据条数,默认为100,取值范围:[10,100],用于查询列表的接口(Optional)
func (*DescribeRdsInstancesRequest) SetRegionId ¶
func (r *DescribeRdsInstancesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
func (*DescribeRdsInstancesRequest) SetType ¶
func (r *DescribeRdsInstancesRequest) SetType(type_ int)
param type_: 资源类型,MySQL:1,SqlServer:2(Optional)
type DescribeRdsInstancesResponse ¶
type DescribeRdsInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRdsInstancesResult `json:"result"` }
type DescribeRdsInstancesResult ¶
type DescribeRdsInstancesResult struct { DbInstances []yunding.DBInstance `json:"dbInstances"` TotalCount int `json:"totalCount"` }
type DescribeRdsWhiteListRequest ¶
type DescribeRdsWhiteListRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` }
func NewDescribeRdsWhiteListRequest ¶
func NewDescribeRdsWhiteListRequest( regionId string, instanceId string, ) *DescribeRdsWhiteListRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRdsWhiteListRequestWithAllParams ¶
func NewDescribeRdsWhiteListRequestWithAllParams( regionId string, instanceId string, ) *DescribeRdsWhiteListRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required)
func NewDescribeRdsWhiteListRequestWithoutParam ¶
func NewDescribeRdsWhiteListRequestWithoutParam() *DescribeRdsWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRdsWhiteListRequest) GetRegionId ¶
func (r DescribeRdsWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRdsWhiteListRequest) SetInstanceId ¶
func (r *DescribeRdsWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*DescribeRdsWhiteListRequest) SetRegionId ¶
func (r *DescribeRdsWhiteListRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeRdsWhiteListResponse ¶
type DescribeRdsWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeRdsWhiteListResult `json:"result"` }
type DescribeSubnetRequest ¶
type DescribeSubnetRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* Subnet ID */ SubnetId string `json:"subnetId"` }
func NewDescribeSubnetRequest ¶
func NewDescribeSubnetRequest( regionId string, subnetId string, ) *DescribeSubnetRequest
* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSubnetRequestWithAllParams ¶
func NewDescribeSubnetRequestWithAllParams( regionId string, subnetId string, ) *DescribeSubnetRequest
* param regionId: Region ID (Required) * param subnetId: Subnet ID (Required)
func NewDescribeSubnetRequestWithoutParam ¶
func NewDescribeSubnetRequestWithoutParam() *DescribeSubnetRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSubnetRequest) GetRegionId ¶
func (r DescribeSubnetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSubnetRequest) SetRegionId ¶
func (r *DescribeSubnetRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeSubnetRequest) SetSubnetId ¶
func (r *DescribeSubnetRequest) SetSubnetId(subnetId string)
param subnetId: Subnet ID(Required)
type DescribeSubnetResponse ¶
type DescribeSubnetResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSubnetResult `json:"result"` }
type DescribeSubnetResult ¶
type DescribeSubnetsRequest ¶
type DescribeSubnetsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional) */ PageNumber *int `json:"pageNumber"` /* 分页大小,默认为20,取值范围:[10,100] (Optional) */ PageSize *int `json:"pageSize"` /* 子网类型,主机等资源子网:1;LB子网:2;数据库子网:3 (Optional) */ Type *int `json:"type"` /* subnetIds - subnet ID列表,支持多个 subnetNames - subnet名称列表,支持多个 routeTableId - 子网关联路由表Id,支持单个 aclId - 子网关联acl Id,支持单个 vpcId - 子网所属VPC Id,支持单个 (Optional) */ Filters []common.Filter `json:"filters"` }
func NewDescribeSubnetsRequest ¶
func NewDescribeSubnetsRequest( regionId string, ) *DescribeSubnetsRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSubnetsRequestWithAllParams ¶
func NewDescribeSubnetsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, type_ *int, filters []common.Filter, ) *DescribeSubnetsRequest
- param regionId: Region ID (Required)
- param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页 (Optional)
- param pageSize: 分页大小,默认为20,取值范围:[10,100] (Optional)
- param type_: 子网类型,主机等资源子网:1;LB子网:2;数据库子网:3 (Optional)
- param filters: subnetIds - subnet ID列表,支持多个
subnetNames - subnet名称列表,支持多个 routeTableId - 子网关联路由表Id,支持单个 aclId - 子网关联acl Id,支持单个 vpcId - 子网所属VPC Id,支持单个
(Optional)
func NewDescribeSubnetsRequestWithoutParam ¶
func NewDescribeSubnetsRequestWithoutParam() *DescribeSubnetsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSubnetsRequest) GetRegionId ¶
func (r DescribeSubnetsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSubnetsRequest) SetFilters ¶
func (r *DescribeSubnetsRequest) SetFilters(filters []common.Filter)
param filters: subnetIds - subnet ID列表,支持多个
subnetNames - subnet名称列表,支持多个 routeTableId - 子网关联路由表Id,支持单个 aclId - 子网关联acl Id,支持单个 vpcId - 子网所属VPC Id,支持单个 (Optional)
func (*DescribeSubnetsRequest) SetPageNumber ¶
func (r *DescribeSubnetsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码, 默认为1, 取值范围:[1,∞), 页码超过总页数时, 显示最后一页(Optional)
func (*DescribeSubnetsRequest) SetPageSize ¶
func (r *DescribeSubnetsRequest) SetPageSize(pageSize int)
param pageSize: 分页大小,默认为20,取值范围:[10,100](Optional)
func (*DescribeSubnetsRequest) SetRegionId ¶
func (r *DescribeSubnetsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeSubnetsRequest) SetType ¶
func (r *DescribeSubnetsRequest) SetType(type_ int)
param type_: 子网类型,主机等资源子网:1;LB子网:2;数据库子网:3(Optional)
type DescribeSubnetsResponse ¶
type DescribeSubnetsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeSubnetsResult `json:"result"` }
type DescribeSubnetsResult ¶
type DescribeTasksRequest ¶
type DescribeTasksRequest struct { core.JDCloudRequest /* 实例 Id */ InstanceId string `json:"instanceId"` }
func NewDescribeTasksRequest ¶
func NewDescribeTasksRequest( instanceId string, ) *DescribeTasksRequest
* param instanceId: 实例 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeTasksRequestWithAllParams ¶
func NewDescribeTasksRequestWithAllParams( instanceId string, ) *DescribeTasksRequest
* param instanceId: 实例 Id (Required)
func NewDescribeTasksRequestWithoutParam ¶
func NewDescribeTasksRequestWithoutParam() *DescribeTasksRequest
This constructor has better compatible ability when API parameters changed
func (DescribeTasksRequest) GetRegionId ¶
func (r DescribeTasksRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeTasksRequest) SetInstanceId ¶
func (r *DescribeTasksRequest) SetInstanceId(instanceId string)
param instanceId: 实例 Id(Required)
type DescribeTasksResponse ¶
type DescribeTasksResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeTasksResult `json:"result"` }
type DescribeTasksResult ¶
type DescribeYdRdsInstancesRequest ¶
type DescribeYdRdsInstancesRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* 应用appKey; */ AppKey string `json:"appKey"` }
func NewDescribeYdRdsInstancesRequest ¶
func NewDescribeYdRdsInstancesRequest( regionId string, appKey string, ) *DescribeYdRdsInstancesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param appKey: 应用appKey; (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeYdRdsInstancesRequestWithAllParams ¶
func NewDescribeYdRdsInstancesRequestWithAllParams( regionId string, appKey string, ) *DescribeYdRdsInstancesRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param appKey: 应用appKey; (Required)
func NewDescribeYdRdsInstancesRequestWithoutParam ¶
func NewDescribeYdRdsInstancesRequestWithoutParam() *DescribeYdRdsInstancesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeYdRdsInstancesRequest) GetRegionId ¶
func (r DescribeYdRdsInstancesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeYdRdsInstancesRequest) SetAppKey ¶
func (r *DescribeYdRdsInstancesRequest) SetAppKey(appKey string)
param appKey: 应用appKey;(Required)
func (*DescribeYdRdsInstancesRequest) SetRegionId ¶
func (r *DescribeYdRdsInstancesRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type DescribeYdRdsInstancesResponse ¶
type DescribeYdRdsInstancesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeYdRdsInstancesResult `json:"result"` }
type DescribeYdRdsInstancesResult ¶
type DescribeYdRdsInstancesResult struct { Clusters []yunding.RdsInstance `json:"clusters"` TotalCount int `json:"totalCount"` }
type GrantRdsPrivilegeRequest ¶
type GrantRdsPrivilegeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` /* 账号的访问权限 */ AccountPrivileges []rds.AccountPrivilege `json:"accountPrivileges"` }
func NewGrantRdsPrivilegeRequest ¶
func NewGrantRdsPrivilegeRequest( regionId string, instanceId string, accountName string, accountPrivileges []rds.AccountPrivilege, ) *GrantRdsPrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPrivileges: 账号的访问权限 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGrantRdsPrivilegeRequestWithAllParams ¶
func NewGrantRdsPrivilegeRequestWithAllParams( regionId string, instanceId string, accountName string, accountPrivileges []rds.AccountPrivilege, ) *GrantRdsPrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param accountPrivileges: 账号的访问权限 (Required)
func NewGrantRdsPrivilegeRequestWithoutParam ¶
func NewGrantRdsPrivilegeRequestWithoutParam() *GrantRdsPrivilegeRequest
This constructor has better compatible ability when API parameters changed
func (GrantRdsPrivilegeRequest) GetRegionId ¶
func (r GrantRdsPrivilegeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GrantRdsPrivilegeRequest) SetAccountName ¶
func (r *GrantRdsPrivilegeRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*GrantRdsPrivilegeRequest) SetAccountPrivileges ¶
func (r *GrantRdsPrivilegeRequest) SetAccountPrivileges(accountPrivileges []rds.AccountPrivilege)
param accountPrivileges: 账号的访问权限(Required)
func (*GrantRdsPrivilegeRequest) SetInstanceId ¶
func (r *GrantRdsPrivilegeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*GrantRdsPrivilegeRequest) SetRegionId ¶
func (r *GrantRdsPrivilegeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type GrantRdsPrivilegeResponse ¶
type GrantRdsPrivilegeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GrantRdsPrivilegeResult `json:"result"` }
type GrantRdsPrivilegeResult ¶
type GrantRdsPrivilegeResult struct { }
type ModifyRdsWhiteListRequest ¶
type ModifyRdsWhiteListRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 */ Ips string `json:"ips"` }
func NewModifyRdsWhiteListRequest ¶
func NewModifyRdsWhiteListRequest( regionId string, instanceId string, ips string, ) *ModifyRdsWhiteListRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyRdsWhiteListRequestWithAllParams ¶
func NewModifyRdsWhiteListRequestWithAllParams( regionId string, instanceId string, ips string, ) *ModifyRdsWhiteListRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10 (Required)
func NewModifyRdsWhiteListRequestWithoutParam ¶
func NewModifyRdsWhiteListRequestWithoutParam() *ModifyRdsWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (ModifyRdsWhiteListRequest) GetRegionId ¶
func (r ModifyRdsWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyRdsWhiteListRequest) SetInstanceId ¶
func (r *ModifyRdsWhiteListRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*ModifyRdsWhiteListRequest) SetIps ¶
func (r *ModifyRdsWhiteListRequest) SetIps(ips string)
param ips: IP或IP段,不同的IP/IP段之间用英文逗号分隔,例如0.0.0.0/0,192.168.0.10(Required)
func (*ModifyRdsWhiteListRequest) SetRegionId ¶
func (r *ModifyRdsWhiteListRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type ModifyRdsWhiteListResponse ¶
type ModifyRdsWhiteListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result ModifyRdsWhiteListResult `json:"result"` }
type ModifyRdsWhiteListResult ¶
type ModifyRdsWhiteListResult struct { }
type PutProductMetricDataRequest ¶
type PutProductMetricDataRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 目前统一用jcloud */ AppCode string `json:"appCode"` /* 资源的类型,取值vm,ip,database,storage,disk,cdn,redis,balance,nat_gw,db_ro,vpn,ddos等,新接入的产品要求与opentapi命名的产品线名称一致 */ ServiceCode string `json:"serviceCode"` /* 地域信息,如 cn-north-1 等 */ Region string `json:"region"` /* 资源的唯一表示,一般为uuid */ ResourceId string `json:"resourceId"` /* 监控数据点 */ DataPoints []monitor.DataPointX `json:"dataPoints"` }
func NewPutProductMetricDataRequest ¶
func NewPutProductMetricDataRequest( regionId string, appCode string, serviceCode string, region string, resourceId string, dataPoints []monitor.DataPointX, ) *PutProductMetricDataRequest
* param regionId: 地域ID (Required) * param appCode: 目前统一用jcloud (Required) * param serviceCode: 资源的类型,取值vm,ip,database,storage,disk,cdn,redis,balance,nat_gw,db_ro,vpn,ddos等,新接入的产品要求与opentapi命名的产品线名称一致 (Required) * param region: 地域信息,如 cn-north-1 等 (Required) * param resourceId: 资源的唯一表示,一般为uuid (Required) * param dataPoints: 监控数据点 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewPutProductMetricDataRequestWithAllParams ¶
func NewPutProductMetricDataRequestWithAllParams( regionId string, appCode string, serviceCode string, region string, resourceId string, dataPoints []monitor.DataPointX, ) *PutProductMetricDataRequest
* param regionId: 地域ID (Required) * param appCode: 目前统一用jcloud (Required) * param serviceCode: 资源的类型,取值vm,ip,database,storage,disk,cdn,redis,balance,nat_gw,db_ro,vpn,ddos等,新接入的产品要求与opentapi命名的产品线名称一致 (Required) * param region: 地域信息,如 cn-north-1 等 (Required) * param resourceId: 资源的唯一表示,一般为uuid (Required) * param dataPoints: 监控数据点 (Required)
func NewPutProductMetricDataRequestWithoutParam ¶
func NewPutProductMetricDataRequestWithoutParam() *PutProductMetricDataRequest
This constructor has better compatible ability when API parameters changed
func (PutProductMetricDataRequest) GetRegionId ¶
func (r PutProductMetricDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*PutProductMetricDataRequest) SetAppCode ¶
func (r *PutProductMetricDataRequest) SetAppCode(appCode string)
param appCode: 目前统一用jcloud(Required)
func (*PutProductMetricDataRequest) SetDataPoints ¶
func (r *PutProductMetricDataRequest) SetDataPoints(dataPoints []monitor.DataPointX)
param dataPoints: 监控数据点(Required)
func (*PutProductMetricDataRequest) SetRegion ¶
func (r *PutProductMetricDataRequest) SetRegion(region string)
param region: 地域信息,如 cn-north-1 等(Required)
func (*PutProductMetricDataRequest) SetRegionId ¶
func (r *PutProductMetricDataRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
func (*PutProductMetricDataRequest) SetResourceId ¶
func (r *PutProductMetricDataRequest) SetResourceId(resourceId string)
param resourceId: 资源的唯一表示,一般为uuid(Required)
func (*PutProductMetricDataRequest) SetServiceCode ¶
func (r *PutProductMetricDataRequest) SetServiceCode(serviceCode string)
param serviceCode: 资源的类型,取值vm,ip,database,storage,disk,cdn,redis,balance,nat_gw,db_ro,vpn,ddos等,新接入的产品要求与opentapi命名的产品线名称一致(Required)
type PutProductMetricDataResponse ¶
type PutProductMetricDataResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result PutProductMetricDataResult `json:"result"` }
type PutRequest ¶
type PutRequest struct { core.JDCloudRequest /* 地域ID */ RegionId string `json:"regionId"` /* 目前统一用jcloud */ AppCode string `json:"appCode"` /* 资源的类型,取值vm,ip,database,storage,disk,cdn,redis,balance,nat_gw,db_ro,vpn,ddos等,新接入的产品要求与opentapi命名的产品线名称一致 */ ServiceCode string `json:"serviceCode"` /* 地域信息,如 cn-north-1 等 */ Region string `json:"region"` /* 资源的唯一表示,一般为uuid */ ResourceId string `json:"resourceId"` /* 监控数据点 */ DataPoints []monitor.DataPointX `json:"dataPoints"` }
func NewPutRequest ¶
func NewPutRequest( regionId string, appCode string, serviceCode string, region string, resourceId string, dataPoints []monitor.DataPointX, ) *PutRequest
* param regionId: 地域ID (Required) * param appCode: 目前统一用jcloud (Required) * param serviceCode: 资源的类型,取值vm,ip,database,storage,disk,cdn,redis,balance,nat_gw,db_ro,vpn,ddos等,新接入的产品要求与opentapi命名的产品线名称一致 (Required) * param region: 地域信息,如 cn-north-1 等 (Required) * param resourceId: 资源的唯一表示,一般为uuid (Required) * param dataPoints: 监控数据点 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewPutRequestWithAllParams ¶
func NewPutRequestWithAllParams( regionId string, appCode string, serviceCode string, region string, resourceId string, dataPoints []monitor.DataPointX, ) *PutRequest
* param regionId: 地域ID (Required) * param appCode: 目前统一用jcloud (Required) * param serviceCode: 资源的类型,取值vm,ip,database,storage,disk,cdn,redis,balance,nat_gw,db_ro,vpn,ddos等,新接入的产品要求与opentapi命名的产品线名称一致 (Required) * param region: 地域信息,如 cn-north-1 等 (Required) * param resourceId: 资源的唯一表示,一般为uuid (Required) * param dataPoints: 监控数据点 (Required)
func NewPutRequestWithoutParam ¶
func NewPutRequestWithoutParam() *PutRequest
This constructor has better compatible ability when API parameters changed
func (PutRequest) GetRegionId ¶
func (r PutRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*PutRequest) SetAppCode ¶
func (r *PutRequest) SetAppCode(appCode string)
param appCode: 目前统一用jcloud(Required)
func (*PutRequest) SetDataPoints ¶
func (r *PutRequest) SetDataPoints(dataPoints []monitor.DataPointX)
param dataPoints: 监控数据点(Required)
func (*PutRequest) SetRegion ¶
func (r *PutRequest) SetRegion(region string)
param region: 地域信息,如 cn-north-1 等(Required)
func (*PutRequest) SetRegionId ¶
func (r *PutRequest) SetRegionId(regionId string)
param regionId: 地域ID(Required)
func (*PutRequest) SetResourceId ¶
func (r *PutRequest) SetResourceId(resourceId string)
param resourceId: 资源的唯一表示,一般为uuid(Required)
func (*PutRequest) SetServiceCode ¶
func (r *PutRequest) SetServiceCode(serviceCode string)
param serviceCode: 资源的类型,取值vm,ip,database,storage,disk,cdn,redis,balance,nat_gw,db_ro,vpn,ddos等,新接入的产品要求与opentapi命名的产品线名称一致(Required)
type PutResponse ¶
type PutResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result PutResult `json:"result"` }
type RevokePrivilegeRequest ¶
type RevokePrivilegeRequest struct { core.JDCloudRequest /* 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) */ RegionId string `json:"regionId"` /* RDS 实例ID,唯一标识一个RDS实例 */ InstanceId string `json:"instanceId"` /* 账号名,在同一个实例中账号名不能重复 */ AccountName string `json:"accountName"` /* 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库 */ DbNames []string `json:"dbNames"` }
func NewRevokePrivilegeRequest ¶
func NewRevokePrivilegeRequest( regionId string, instanceId string, accountName string, dbNames []string, ) *RevokePrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewRevokePrivilegeRequestWithAllParams ¶
func NewRevokePrivilegeRequestWithAllParams( regionId string, instanceId string, accountName string, dbNames []string, ) *RevokePrivilegeRequest
* param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md) (Required) * param instanceId: RDS 实例ID,唯一标识一个RDS实例 (Required) * param accountName: 账号名,在同一个实例中账号名不能重复 (Required) * param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库 (Required)
func NewRevokePrivilegeRequestWithoutParam ¶
func NewRevokePrivilegeRequestWithoutParam() *RevokePrivilegeRequest
This constructor has better compatible ability when API parameters changed
func (RevokePrivilegeRequest) GetRegionId ¶
func (r RevokePrivilegeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*RevokePrivilegeRequest) SetAccountName ¶
func (r *RevokePrivilegeRequest) SetAccountName(accountName string)
param accountName: 账号名,在同一个实例中账号名不能重复(Required)
func (*RevokePrivilegeRequest) SetDbNames ¶
func (r *RevokePrivilegeRequest) SetDbNames(dbNames []string)
param dbNames: 需要取消授权的数据库的名称。权限取消后,该账号将不能访问此数据库(Required)
func (*RevokePrivilegeRequest) SetInstanceId ¶
func (r *RevokePrivilegeRequest) SetInstanceId(instanceId string)
param instanceId: RDS 实例ID,唯一标识一个RDS实例(Required)
func (*RevokePrivilegeRequest) SetRegionId ¶
func (r *RevokePrivilegeRequest) SetRegionId(regionId string)
param regionId: 地域代码,取值范围参见[《各地域及可用区对照表》](../Enum-Definitions/Regions-AZ.md)(Required)
type RevokePrivilegeResponse ¶
type RevokePrivilegeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result RevokePrivilegeResult `json:"result"` }
type RevokePrivilegeResult ¶
type RevokePrivilegeResult struct { }
type UnassignSecondaryIpsRequest ¶
type UnassignSecondaryIpsRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* networkInterface ID */ NetworkInterfaceId string `json:"networkInterfaceId"` /* 指定删除的secondaryIp地址 (Optional) */ SecondaryIps []string `json:"secondaryIps"` }
func NewUnassignSecondaryIpsRequest ¶
func NewUnassignSecondaryIpsRequest( regionId string, networkInterfaceId string, ) *UnassignSecondaryIpsRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUnassignSecondaryIpsRequestWithAllParams ¶
func NewUnassignSecondaryIpsRequestWithAllParams( regionId string, networkInterfaceId string, secondaryIps []string, ) *UnassignSecondaryIpsRequest
* param regionId: Region ID (Required) * param networkInterfaceId: networkInterface ID (Required) * param secondaryIps: 指定删除的secondaryIp地址 (Optional)
func NewUnassignSecondaryIpsRequestWithoutParam ¶
func NewUnassignSecondaryIpsRequestWithoutParam() *UnassignSecondaryIpsRequest
This constructor has better compatible ability when API parameters changed
func (UnassignSecondaryIpsRequest) GetRegionId ¶
func (r UnassignSecondaryIpsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UnassignSecondaryIpsRequest) SetNetworkInterfaceId ¶
func (r *UnassignSecondaryIpsRequest) SetNetworkInterfaceId(networkInterfaceId string)
param networkInterfaceId: networkInterface ID(Required)
func (*UnassignSecondaryIpsRequest) SetRegionId ¶
func (r *UnassignSecondaryIpsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*UnassignSecondaryIpsRequest) SetSecondaryIps ¶
func (r *UnassignSecondaryIpsRequest) SetSecondaryIps(secondaryIps []string)
param secondaryIps: 指定删除的secondaryIp地址(Optional)
type UnassignSecondaryIpsResponse ¶
type UnassignSecondaryIpsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UnassignSecondaryIpsResult `json:"result"` }
type UnassignSecondaryIpsResult ¶
type UnassignSecondaryIpsResult struct { }
Source Files ¶
- AssignSecondaryIps.go
- CreateNetworkInterface.go
- CreateRdsAccount.go
- CreateRdsDatabase.go
- CreateSubnet.go
- DeleteNetworkInterface.go
- DeleteRdsAccount.go
- DeleteRdsDatabase.go
- DeleteSubnet.go
- DescribeInstanceInfo.go
- DescribeNetworkInterface.go
- DescribeNetworkInterfaces.go
- DescribeRdsAccounts.go
- DescribeRdsDatabases.go
- DescribeRdsInstance.go
- DescribeRdsInstances.go
- DescribeRdsWhiteList.go
- DescribeSubnet.go
- DescribeSubnets.go
- DescribeTasks.go
- DescribeYdRdsInstances.go
- GrantRdsPrivilege.go
- ModifyRdsWhiteList.go
- Put.go
- PutProductMetricData.go
- RevokePrivilege.go
- UnassignSecondaryIps.go