Documentation
¶
Index ¶
- Constants
- type AllocateDdosIpAddressesRequest
- type AllocateDdosIpAddressesResponse
- type AllocateDdosIpAddressesResponseParams
- type AllocateEipAddressesRequest
- type AllocateEipAddressesResponse
- type AllocateEipAddressesResponseParams
- type AssociateDdosIpAddressRequest
- type AssociateDdosIpAddressResponse
- type AssociateEipAddressRequest
- type AssociateEipAddressResponse
- type AssociateSubnetInstanceIpAddress
- type AssociateSubnetInstancesRequest
- type AssociateSubnetInstancesResponse
- type AssociateVpcSubnetRequest
- type AssociateVpcSubnetResponse
- type AvailableResource
- type BindCidrBlockIpsRequest
- type BindCidrBlockIpsResponse
- type CancelInstanceBandwidthDowngradeRequest
- type CancelInstanceBandwidthDowngradeResponse
- type CancelInstanceTrafficPackageDowngradeRequest
- type CancelInstanceTrafficPackageDowngradeResponse
- type ChargePrepaid
- type CidrBlockInfo
- type Client
- func (c *Client) AllocateDdosIpAddresses(request *AllocateDdosIpAddressesRequest) (response *AllocateDdosIpAddressesResponse, err error)
- func (c *Client) AllocateEipAddresses(request *AllocateEipAddressesRequest) (response *AllocateEipAddressesResponse, err error)
- func (c *Client) AssociateDdosIpAddress(request *AssociateDdosIpAddressRequest) (response *AssociateDdosIpAddressResponse, err error)
- func (c *Client) AssociateEipAddress(request *AssociateEipAddressRequest) (response *AssociateEipAddressResponse, err error)
- func (c *Client) AssociateSubnetInstances(request *AssociateSubnetInstancesRequest) (response *AssociateSubnetInstancesResponse, err error)
- func (c *Client) AssociateVpcSubnet(request *AssociateVpcSubnetRequest) (response *AssociateVpcSubnetResponse, err error)
- func (c *Client) BindCidrBlockIps(request *BindCidrBlockIpsRequest) (response *BindCidrBlockIpsResponse, err error)
- func (c *Client) CancelInstanceBandwidthDowngrade(request *CancelInstanceBandwidthDowngradeRequest) (response *CancelInstanceBandwidthDowngradeResponse, err error)
- func (c *Client) CancelInstanceTrafficPackageDowngrade(request *CancelInstanceTrafficPackageDowngradeRequest) (response *CancelInstanceTrafficPackageDowngradeResponse, err error)
- func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateIpv4Block(request *CreateIpv4BlockRequest) (response *CreateIpv4BlockResponse, err error)
- func (c *Client) CreateIpv6Block(request *CreateIpv6BlockRequest) (response *CreateIpv6BlockResponse, err error)
- func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
- func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
- func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
- func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
- func (c *Client) DescribeAvailableIpv4Resources(request *DescribeAvailableIpv4ResourcesRequest) (response *DescribeAvailableIpv4ResourcesResponse, err error)
- func (c *Client) DescribeAvailableIpv6Resources(request *DescribeAvailableIpv6ResourcesRequest) (response *DescribeAvailableIpv6ResourcesResponse, err error)
- func (c *Client) DescribeAvailableResources(request *DescribeAvailableResourcesRequest) (response *DescribeAvailableResourcesResponse, err error)
- func (c *Client) DescribeCidrBlockIps(request *DescribeCidrBlockIpsRequest) (response *DescribeCidrBlockIpsResponse, err error)
- func (c *Client) DescribeCidrBlocks(request *DescribeCidrBlocksRequest) (response *DescribeCidrBlocksResponse, err error)
- func (c *Client) DescribeDdosAvailableResources(request *DescribeDdosIpAvailableResourcesRequest) (response *DescribeDdosIpAvailableResourcesResponse, err error)
- func (c *Client) DescribeDdosIpAddresses(request *DescribeDdosIpAddressesRequest) (response *DescribeDdosIpAddressesResponse, err error)
- func (c *Client) DescribeEipAddresses(request *DescribeEipAddressesRequest) (response *DescribeEipAddressesResponse, err error)
- func (c *Client) DescribeEipAvailableResources(request *DescribeEipAvailableResourcesRequest) (response *DescribeEipAvailableResourcesResponse, err error)
- func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
- func (c *Client) DescribeInstanceAvailableCidrBlock(request *DescribeInstanceAvailableCidrBlockRequest) (response *DescribeInstanceAvailableCidrBlockResponse, err error)
- func (c *Client) DescribeInstanceAvailableDdosResources(request *DescribeInstanceAvailableDdosResourcesRequest) (response *DescribeInstanceAvailableDdosResourcesResponse, err error)
- func (c *Client) DescribeInstanceAvailableEipResources(request *DescribeInstanceAvailableEipResourcesRequest) (response *DescribeInstanceAvailableEipResourcesResponse, err error)
- func (c *Client) DescribeInstanceInternetStatus(request *DescribeInstanceInternetStatusRequest) (response *DescribeInstanceInternetStatusResponse, err error)
- func (c *Client) DescribeInstanceTypes(request *DescribeInstanceTypesRequest) (response *DescribeInstanceTypesResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeSubnetAvailableResources(request *DescribeSubnetAvailableResourcesRequest) (response *DescribeSubnetAvailableResourcesResponse, err error)
- func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
- func (c *Client) DescribeVpcAvailableRegions(request *DescribeVpcAvailableRegionsRequest) (response *DescribeVpcAvailableRegionsResponse, err error)
- func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
- func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) InquiryPriceCreateDdosIpAddress(request *InquiryPriceCreateDdosIpAddressRequest) (response *InquiryPriceCreateDdosIpAddressResponse, err error)
- func (c *Client) InquiryPriceCreateEipAddress(request *InquiryPriceCreateEipAddressRequest) (response *InquiryPriceCreateEipAddressResponse, err error)
- func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
- func (c *Client) InquiryPriceCreateIpv4Block(request *InquiryPriceCreateIpv4BlockRequest) (response *InquiryPriceCreateIpv4BlockResponse, err error)
- func (c *Client) InquiryPriceInstanceBandwidth(request *InquiryPriceInstanceBandwidthRequest) (response *InquiryPriceInstanceBandwidthResponse, err error)
- func (c *Client) InquiryPriceInstanceTrafficPackage(request *InquiryPriceInstanceTrafficPackageRequest) (response *InquiryPriceInstanceTrafficPackageResponse, err error)
- func (c *Client) ModifyCidrBlocksAttribute(request *ModifyCidrBlocksAttributeRequest) (response *ModifyCidrBlocksAttributeResponse, err error)
- func (c *Client) ModifyDdosIpAddressesResourceGroup(request *ModifyDdosIpAddressesResourceGroupRequest) (response *ModifyDdosIpAddressesResourceGroupResponse, err error)
- func (c *Client) ModifyEipAddressesResourceGroup(request *ModifyEipAddressesResourceGroupRequest) (response *ModifyEipAddressesResourceGroupResponse, err error)
- func (c *Client) ModifyInstanceBandwidth(request *ModifyInstanceBandwidthRequest) (response *ModifyInstanceBandwidthResponse, err error)
- func (c *Client) ModifyInstanceTrafficPackage(request *ModifyInstanceTrafficPackageRequest) (response *ModifyInstanceTrafficPackageResponse, err error)
- func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
- func (c *Client) ModifyInstancesResourceGroup(request *ModifyInstancesResourceGroupRequest) (response *ModifyInstancesResourceGroupResponse, err error)
- func (c *Client) ModifySubnetsAttribute(request *ModifySubnetsAttributeRequest) (response *ModifySubnetsAttributeResponse, err error)
- func (c *Client) ModifySubnetsResourceGroup(request *ModifySubnetsResourceGroupRequest) (response *ModifySubnetsResourceGroupResponse, err error)
- func (c *Client) ModifyVpcsAttribute(request *ModifyVpcsAttributeRequest) (response *ModifyVpcsAttributeResponse, err error)
- func (c *Client) ModifyVpcsResourceGroup(request *ModifyVpcsResourceGroupRequest) (response *ModifyVpcsResourceGroupResponse, err error)
- func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
- func (c *Client) ReinstallInstance(request *ReinstallInstanceRequest) (response *ReInstallInstanceResponse, err error)
- func (c *Client) ReleaseCidrBlocks(request *ReleaseCidrBlocksRequest) (response *ReleaseCidrBlocksResponse, err error)
- func (c *Client) ReleaseDdosIpAddresses(request *ReleaseDdosIpAddressesRequest) (response *ReleaseDdosIpAddressesResponse, err error)
- func (c *Client) ReleaseEipAddresses(request *ReleaseEipAddressesRequest) (response *ReleaseEipAddressesResponse, err error)
- func (c *Client) ReleaseInstances(request *ReleaseInstancesRequest) (response *ReleaseInstancesResponse, err error)
- func (c *Client) RenewCidrBlock(request *RenewCidrBlockRequest) (response *RenewCidrBlockResponse, err error)
- func (c *Client) RenewDdosIpAddress(request *RenewDdosIpAddressRequest) (response *RenewDdosIpAddressResponse, err error)
- func (c *Client) RenewEipAddress(request *RenewEipAddressRequest) (response *RenewEipAddressResponse, err error)
- func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
- func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
- func (c *Client) TerminateCidrBlock(request *TerminateCidrBlockRequest) (response *TerminateCidrBlockResponse, err error)
- func (c *Client) TerminateDdosIpAddress(request *TerminateDdosIpAddressRequest) (response *TerminateDdosIpAddressResponse, err error)
- func (c *Client) TerminateEipAddress(request *TerminateEipAddressRequest) (response *TerminateEipAddressResponse, err error)
- func (c *Client) TerminateInstance(request *TerminateInstanceRequest) (response *TerminateInstanceResponse, err error)
- func (c *Client) UnAssociateSubnetInstance(request *UnAssociateSubnetInstanceRequest) (response *UnAssociateSubnetInstanceResponse, err error)
- func (c *Client) UnassociateDdosIpAddress(request *UnassociateDdosIpAddressRequest) (response *UnassociateDdosIpAddressResponse, err error)
- func (c *Client) UnassociateEipAddress(request *UnassociateEipAddressRequest) (response *UnassociateEipAddressResponse, err error)
- func (c *Client) UnbindCidrBlockIps(request *UnbindCidrBlockIpsRequest) (response *UnbindCidrBlockIpsResponse, err error)
- type CreateInstanceResponseParams
- type CreateInstancesRequest
- type CreateInstancesResponse
- type CreateIpv4BlockRequest
- type CreateIpv4BlockResponse
- type CreateIpv4BlockResponseParam
- type CreateIpv6BlockRequest
- type CreateIpv6BlockResponse
- type CreateIpv6BlockResponseParam
- type CreateSubnetRequest
- type CreateSubnetResponse
- type CreateSubnetResponseParams
- type CreateVpcRequest
- type CreateVpcResponse
- type CreateVpcResponseParams
- type CustomRaid
- type DdosIpAddress
- type DdosIpAvailableResource
- type DeleteSubnetRequest
- type DeleteSubnetResponse
- type DeleteVpcRequest
- type DeleteVpcResponse
- type DescribeAvailableIpv4ResourcesRequest
- type DescribeAvailableIpv4ResourcesResponse
- type DescribeAvailableIpv4ResourcesResponseParam
- type DescribeAvailableIpv4ResourcesResponseParams
- type DescribeAvailableIpv6ResourcesRequest
- type DescribeAvailableIpv6ResourcesResponse
- type DescribeAvailableIpv6ResourcesResponseParam
- type DescribeAvailableIpv6ResourcesResponseParams
- type DescribeAvailableResourcesRequest
- type DescribeAvailableResourcesResponse
- type DescribeAvailableResourcesResponseParams
- type DescribeCidrBlockIpsRequest
- type DescribeCidrBlockIpsResponse
- type DescribeCidrBlockIpsResponseParam
- type DescribeCidrBlockIpsResponseParams
- type DescribeCidrBlocksRequest
- type DescribeCidrBlocksResponse
- type DescribeCidrBlocksResponseParams
- type DescribeDdosIpAddressesRequest
- type DescribeDdosIpAddressesResponse
- type DescribeDdosIpAddressesResponseParams
- type DescribeDdosIpAvailableResourcesRequest
- type DescribeDdosIpAvailableResourcesResponse
- type DescribeDdosIpAvailableResourcesResponseParams
- type DescribeEipAddressesRequest
- type DescribeEipAddressesResponse
- type DescribeEipAddressesResponseParams
- type DescribeEipAvailableResourcesRequest
- type DescribeEipAvailableResourcesResponse
- type DescribeEipAvailableResourcesResponseParams
- type DescribeImagesRequest
- type DescribeImagesResponse
- type DescribeImagesResponseParams
- type DescribeInstanceAvailableCidrBlockRequest
- type DescribeInstanceAvailableCidrBlockResponse
- type DescribeInstanceAvailableCidrBlockResponseParam
- type DescribeInstanceAvailableCidrBlockResponseParams
- type DescribeInstanceAvailableDdosResourcesRequest
- type DescribeInstanceAvailableDdosResourcesResponse
- type DescribeInstanceAvailableDdosResourcesResponseParams
- type DescribeInstanceAvailableEipResourcesRequest
- type DescribeInstanceAvailableEipResourcesResponse
- type DescribeInstanceAvailableEipResourcesResponseParams
- type DescribeInstanceInternetStatusRequest
- type DescribeInstanceInternetStatusResponse
- type DescribeInstanceTypesRequest
- type DescribeInstanceTypesResponse
- type DescribeInstanceTypesResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeSubnetAvailableResourcesRequest
- type DescribeSubnetAvailableResourcesResponse
- type DescribeSubnetAvailableResourcesResponseParams
- type DescribeSubnetsRequest
- type DescribeSubnetsResponse
- type DescribeSubnetsResponseParams
- type DescribeVpcAvailableRegionsRequest
- type DescribeVpcAvailableRegionsResponse
- type DescribeVpcAvailableRegionsResponseParams
- type DescribeVpcsRequest
- type DescribeVpcsResponse
- type DescribeVpcsResponseParams
- type DescribeZonesRequest
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type Disk
- type EipAddress
- type EipAvailableResource
- type ImageInfo
- type InquiryPriceCreateDdosIpAddressRequest
- type InquiryPriceCreateDdosIpAddressResponse
- type InquiryPriceCreateDdosIpAddressResponseParams
- type InquiryPriceCreateEipAddressRequest
- type InquiryPriceCreateEipAddressResponse
- type InquiryPriceCreateEipAddressResponseParams
- type InquiryPriceCreateInstanceRequest
- type InquiryPriceCreateInstanceResponse
- type InquiryPriceCreateInstanceResponseParams
- type InquiryPriceCreateIpv4BlockRequest
- type InquiryPriceCreateIpv4BlockResponse
- type InquiryPriceCreateIpv4BlockResponseParam
- type InquiryPriceInstanceBandwidthRequest
- type InquiryPriceInstanceBandwidthResponse
- type InquiryPriceInstanceBandwidthResponseParams
- type InquiryPriceInstanceTrafficPackageRequest
- type InquiryPriceInstanceTrafficPackageResponse
- type InquiryPriceInstanceTrafficPackageResponseParams
- type InstanceAvailableDdosIpResource
- type InstanceAvailableEipResource
- type InstanceDiskInfo
- type InstanceInfo
- type InstanceInternetStatus
- type InstanceType
- type IpBindParam
- type ModifyCidrBlocksAttributeRequest
- type ModifyCidrBlocksAttributeResponse
- type ModifyDdosIpAddressesResourceGroupRequest
- type ModifyDdosIpAddressesResourceGroupResponse
- type ModifyEipAddressesResourceGroupRequest
- type ModifyEipAddressesResourceGroupResponse
- type ModifyInstanceBandwidthRequest
- type ModifyInstanceBandwidthResponse
- type ModifyInstanceBandwidthResponseParams
- type ModifyInstanceTrafficPackageRequest
- type ModifyInstanceTrafficPackageResponse
- type ModifyInstanceTrafficPackageSizeResponseParams
- type ModifyInstancesAttributeRequest
- type ModifyInstancesAttributeResponse
- type ModifyInstancesResourceGroupRequest
- type ModifyInstancesResourceGroupResponse
- type ModifySubnetsAttributeRequest
- type ModifySubnetsAttributeResponse
- type ModifySubnetsResourceGroupRequest
- type ModifySubnetsResourceGroupResponse
- type ModifyVpcsAttributeRequest
- type ModifyVpcsAttributeResponse
- type ModifyVpcsResourceGroupRequest
- type ModifyVpcsResourceGroupResponse
- type Nic
- type Partition
- type Price
- type RaidConfig
- type ReInstallInstanceResponse
- type RebootInstancesRequest
- type RebootInstancesResponse
- type ReinstallInstanceRequest
- type ReleaseCidrBlocksRequest
- type ReleaseCidrBlocksResponse
- type ReleaseDdosIpAddressesRequest
- type ReleaseDdosIpAddressesResponse
- type ReleaseEipAddressesRequest
- type ReleaseEipAddressesResponse
- type ReleaseInstancesRequest
- type ReleaseInstancesResponse
- type RenewCidrBlockRequest
- type RenewCidrBlockResponse
- type RenewDdosIpAddressRequest
- type RenewDdosIpAddressResponse
- type RenewEipAddressRequest
- type RenewEipAddressResponse
- type RenewInstanceRequest
- type RenewInstanceResponse
- type StartInstancesRequest
- type StartInstancesResponse
- type StepPrice
- type StopInstancesRequest
- type StopInstancesResponse
- type Subnet
- type SubnetAssociateInstance
- type TerminateCidrBlockRequest
- type TerminateCidrBlockResponse
- type TerminateDdosIpAddressRequest
- type TerminateDdosIpAddressResponse
- type TerminateEipAddressRequest
- type TerminateEipAddressResponse
- type TerminateInstanceRequest
- type TerminateInstanceResponse
- type UnAssociateSubnetInstanceRequest
- type UnAssociateSubnetInstanceResponse
- type UnassociateDdosIpAddressRequest
- type UnassociateDdosIpAddressResponse
- type UnassociateEipAddressRequest
- type UnassociateEipAddressResponse
- type UnbindCidrBlockIpsRequest
- type UnbindCidrBlockIpsResponse
- type VpcInfo
- type VpcRegion
- type ZoneInfo
Constants ¶
View Source
const ( APIVersion = "2022-11-20" SERVICE = "bmc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocateDdosIpAddressesRequest ¶
type AllocateDdosIpAddressesRequest struct {
*common.BaseRequest
DdosIpChargeType string `json:"ddosIpChargeType,omitempty"`
DdosIpChargePrepaid *ChargePrepaid `json:"ddosIpChargePrepaid,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
Amount int `json:"amount,omitempty"`
}
func NewAllocateDdosIpAddressesRequest ¶
func NewAllocateDdosIpAddressesRequest() (request *AllocateDdosIpAddressesRequest)
type AllocateDdosIpAddressesResponse ¶
type AllocateDdosIpAddressesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *AllocateDdosIpAddressesResponseParams `json:"response,omitempty"`
}
func NewAllocateDdosIpAddressesResponse ¶
func NewAllocateDdosIpAddressesResponse() (response *AllocateDdosIpAddressesResponse)
type AllocateEipAddressesRequest ¶
type AllocateEipAddressesRequest struct {
*common.BaseRequest
EipChargeType string `json:"eipChargeType,omitempty"`
EipChargePrepaid *ChargePrepaid `json:"eipChargePrepaid,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
Amount int `json:"amount,omitempty"`
}
func NewAllocateEipAddressesRequest ¶
func NewAllocateEipAddressesRequest() (request *AllocateEipAddressesRequest)
type AllocateEipAddressesResponse ¶
type AllocateEipAddressesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *AllocateEipAddressesResponseParams `json:"response,omitempty"`
}
func NewAllocateEipAddressesResponse ¶
func NewAllocateEipAddressesResponse() (response *AllocateEipAddressesResponse)
type AssociateDdosIpAddressRequest ¶
type AssociateDdosIpAddressRequest struct {
*common.BaseRequest
DdosIpId string `json:"ddosIpId,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
}
func NewAssociateDdosIpAddressRequest ¶
func NewAssociateDdosIpAddressRequest() (request *AssociateDdosIpAddressRequest)
type AssociateDdosIpAddressResponse ¶
type AssociateDdosIpAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssociateDdosIpAddressResponse ¶
func NewAssociateDdosIpAddressResponse() (response *AssociateDdosIpAddressResponse)
type AssociateEipAddressRequest ¶
type AssociateEipAddressRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
}
func NewAssociateEipAddressRequest ¶
func NewAssociateEipAddressRequest() (request *AssociateEipAddressRequest)
type AssociateEipAddressResponse ¶
type AssociateEipAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssociateEipAddressResponse ¶
func NewAssociateEipAddressResponse() (response *AssociateEipAddressResponse)
type AssociateSubnetInstancesRequest ¶
type AssociateSubnetInstancesRequest struct {
*common.BaseRequest
SubnetId string `json:"subnetId,omitempty"`
SubnetInstanceList []*AssociateSubnetInstanceIpAddress `json:"subnetInstanceList,omitempty"`
}
func NewAssociateSubnetInstancesRequest ¶
func NewAssociateSubnetInstancesRequest() (request *AssociateSubnetInstancesRequest)
type AssociateSubnetInstancesResponse ¶
type AssociateSubnetInstancesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssociateSubnetInstancesResponse ¶
func NewAssociateSubnetInstancesResponse() (response *AssociateSubnetInstancesResponse)
type AssociateVpcSubnetRequest ¶ added in v0.1.1
type AssociateVpcSubnetRequest struct {
*common.BaseRequest
SubnetId string `json:"subnetId,omitempty"`
VpcId string `json:"vpcId,omitempty"`
}
func NewAssociateVpcSubnetRequest ¶ added in v0.1.1
func NewAssociateVpcSubnetRequest() (request *AssociateVpcSubnetRequest)
type AssociateVpcSubnetResponse ¶ added in v0.1.1
type AssociateVpcSubnetResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewAssociateVpcSubnetResponse ¶ added in v0.1.1
func NewAssociateVpcSubnetResponse() (response *AssociateVpcSubnetResponse)
type AvailableResource ¶
type AvailableResource struct {
ZoneId string `json:"zoneId,omitempty"`
SellStatus string `json:"sellStatus,omitempty"`
InternetChargeTypes []string `json:"internetChargeTypes,omitempty"`
InstanceTypeId string `json:"instanceTypeId,omitempty"`
MaximumBandwidthOut int `json:"maximumBandwidthOut,omitempty"`
DefaultBandwidthOut int `json:"defaultBandwidthOut,omitempty"`
DefaultTrafficPackageSize float64 `json:"defaultTrafficPackageSize,omitempty"`
}
type BindCidrBlockIpsRequest ¶ added in v0.1.1
type BindCidrBlockIpsRequest struct {
*common.BaseRequest
CidrBlockId string `json:"cidrBlockId,omitempty"`
IpBindList []*IpBindParam `json:"ipBindList,omitempty"`
}
func NewBindCidrBlockIpsRequest ¶ added in v0.1.1
func NewBindCidrBlockIpsRequest() (request *BindCidrBlockIpsRequest)
type BindCidrBlockIpsResponse ¶ added in v0.1.1
type BindCidrBlockIpsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewBindCidrBlockIpsResponse ¶ added in v0.1.1
func NewBindCidrBlockIpsResponse() (response *BindCidrBlockIpsResponse)
type CancelInstanceBandwidthDowngradeRequest ¶
type CancelInstanceBandwidthDowngradeRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewCancelInstanceBandwidthDowngradeRequest ¶
func NewCancelInstanceBandwidthDowngradeRequest() (request *CancelInstanceBandwidthDowngradeRequest)
type CancelInstanceBandwidthDowngradeResponse ¶
type CancelInstanceBandwidthDowngradeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewCancelInstanceBandwidthDowngradeResponse ¶
func NewCancelInstanceBandwidthDowngradeResponse() (response *CancelInstanceBandwidthDowngradeResponse)
type CancelInstanceTrafficPackageDowngradeRequest ¶
type CancelInstanceTrafficPackageDowngradeRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewCancelInstanceTrafficPackageDowngradeRequest ¶
func NewCancelInstanceTrafficPackageDowngradeRequest() (request *CancelInstanceTrafficPackageDowngradeRequest)
type CancelInstanceTrafficPackageDowngradeResponse ¶
type CancelInstanceTrafficPackageDowngradeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewCancelInstanceTrafficPackageDowngradeResponse ¶
func NewCancelInstanceTrafficPackageDowngradeResponse() (response *CancelInstanceTrafficPackageDowngradeResponse)
type ChargePrepaid ¶
type ChargePrepaid struct {
Period int `json:"period,omitempty"`
}
type CidrBlockInfo ¶ added in v0.1.1
type CidrBlockInfo struct {
CidrBlockId string `json:"cidrBlockId,omitempty"`
CidrBlockType string `json:"cidrBlockType,omitempty"`
CidrBlockName string `json:"cidrBlockName,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
Gateway string `json:"gateway,omitempty"`
AvailableIpStart string `json:"availableIpStart,omitempty"`
AvailableIpEnd string `json:"availableIpEnd,omitempty"`
AvailableIpCount int `json:"availableIpCount,omitempty"`
InstanceIds []string `json:"instanceIds,omitempty"`
Status string `json:"status,omitempty"`
ChargeType string `json:"chargeType,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ExpireTime *string `json:"expireTime,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
}
type Client ¶
func NewClientWithSecretKey ¶
func (*Client) AllocateDdosIpAddresses ¶
func (c *Client) AllocateDdosIpAddresses(request *AllocateDdosIpAddressesRequest) (response *AllocateDdosIpAddressesResponse, err error)
func (*Client) AllocateEipAddresses ¶
func (c *Client) AllocateEipAddresses(request *AllocateEipAddressesRequest) (response *AllocateEipAddressesResponse, err error)
func (*Client) AssociateDdosIpAddress ¶
func (c *Client) AssociateDdosIpAddress(request *AssociateDdosIpAddressRequest) (response *AssociateDdosIpAddressResponse, err error)
func (*Client) AssociateEipAddress ¶
func (c *Client) AssociateEipAddress(request *AssociateEipAddressRequest) (response *AssociateEipAddressResponse, err error)
func (*Client) AssociateSubnetInstances ¶
func (c *Client) AssociateSubnetInstances(request *AssociateSubnetInstancesRequest) (response *AssociateSubnetInstancesResponse, err error)
func (*Client) AssociateVpcSubnet ¶ added in v0.1.1
func (c *Client) AssociateVpcSubnet(request *AssociateVpcSubnetRequest) (response *AssociateVpcSubnetResponse, err error)
func (*Client) BindCidrBlockIps ¶ added in v0.1.1
func (c *Client) BindCidrBlockIps(request *BindCidrBlockIpsRequest) (response *BindCidrBlockIpsResponse, err error)
func (*Client) CancelInstanceBandwidthDowngrade ¶
func (c *Client) CancelInstanceBandwidthDowngrade(request *CancelInstanceBandwidthDowngradeRequest) (response *CancelInstanceBandwidthDowngradeResponse, err error)
func (*Client) CancelInstanceTrafficPackageDowngrade ¶
func (c *Client) CancelInstanceTrafficPackageDowngrade(request *CancelInstanceTrafficPackageDowngradeRequest) (response *CancelInstanceTrafficPackageDowngradeResponse, err error)
func (*Client) CreateInstances ¶
func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
func (*Client) CreateIpv4Block ¶ added in v0.1.1
func (c *Client) CreateIpv4Block(request *CreateIpv4BlockRequest) (response *CreateIpv4BlockResponse, err error)
func (*Client) CreateIpv6Block ¶ added in v0.1.1
func (c *Client) CreateIpv6Block(request *CreateIpv6BlockRequest) (response *CreateIpv6BlockResponse, err error)
func (*Client) CreateSubnet ¶
func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)
func (*Client) CreateVpc ¶
func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)
func (*Client) DeleteSubnet ¶
func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)
func (*Client) DeleteVpc ¶
func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)
func (*Client) DescribeAvailableIpv4Resources ¶ added in v0.1.1
func (c *Client) DescribeAvailableIpv4Resources(request *DescribeAvailableIpv4ResourcesRequest) (response *DescribeAvailableIpv4ResourcesResponse, err error)
func (*Client) DescribeAvailableIpv6Resources ¶ added in v0.1.1
func (c *Client) DescribeAvailableIpv6Resources(request *DescribeAvailableIpv6ResourcesRequest) (response *DescribeAvailableIpv6ResourcesResponse, err error)
func (*Client) DescribeAvailableResources ¶
func (c *Client) DescribeAvailableResources(request *DescribeAvailableResourcesRequest) (response *DescribeAvailableResourcesResponse, err error)
func (*Client) DescribeCidrBlockIps ¶ added in v0.1.1
func (c *Client) DescribeCidrBlockIps(request *DescribeCidrBlockIpsRequest) (response *DescribeCidrBlockIpsResponse, err error)
func (*Client) DescribeCidrBlocks ¶ added in v0.1.1
func (c *Client) DescribeCidrBlocks(request *DescribeCidrBlocksRequest) (response *DescribeCidrBlocksResponse, err error)
func (*Client) DescribeDdosAvailableResources ¶
func (c *Client) DescribeDdosAvailableResources(request *DescribeDdosIpAvailableResourcesRequest) (response *DescribeDdosIpAvailableResourcesResponse, err error)
func (*Client) DescribeDdosIpAddresses ¶
func (c *Client) DescribeDdosIpAddresses(request *DescribeDdosIpAddressesRequest) (response *DescribeDdosIpAddressesResponse, err error)
func (*Client) DescribeEipAddresses ¶
func (c *Client) DescribeEipAddresses(request *DescribeEipAddressesRequest) (response *DescribeEipAddressesResponse, err error)
func (*Client) DescribeEipAvailableResources ¶
func (c *Client) DescribeEipAvailableResources(request *DescribeEipAvailableResourcesRequest) (response *DescribeEipAvailableResourcesResponse, err error)
func (*Client) DescribeImages ¶
func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
func (*Client) DescribeInstanceAvailableCidrBlock ¶ added in v0.1.1
func (c *Client) DescribeInstanceAvailableCidrBlock(request *DescribeInstanceAvailableCidrBlockRequest) (response *DescribeInstanceAvailableCidrBlockResponse, err error)
func (*Client) DescribeInstanceAvailableDdosResources ¶ added in v0.1.1
func (c *Client) DescribeInstanceAvailableDdosResources(request *DescribeInstanceAvailableDdosResourcesRequest) (response *DescribeInstanceAvailableDdosResourcesResponse, err error)
func (*Client) DescribeInstanceAvailableEipResources ¶ added in v0.1.1
func (c *Client) DescribeInstanceAvailableEipResources(request *DescribeInstanceAvailableEipResourcesRequest) (response *DescribeInstanceAvailableEipResourcesResponse, err error)
func (*Client) DescribeInstanceInternetStatus ¶
func (c *Client) DescribeInstanceInternetStatus(request *DescribeInstanceInternetStatusRequest) (response *DescribeInstanceInternetStatusResponse, err error)
func (*Client) DescribeInstanceTypes ¶
func (c *Client) DescribeInstanceTypes(request *DescribeInstanceTypesRequest) (response *DescribeInstanceTypesResponse, err error)
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
func (*Client) DescribeSubnetAvailableResources ¶ added in v0.1.1
func (c *Client) DescribeSubnetAvailableResources(request *DescribeSubnetAvailableResourcesRequest) (response *DescribeSubnetAvailableResourcesResponse, err error)
func (*Client) DescribeSubnets ¶
func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)
func (*Client) DescribeVpcAvailableRegions ¶
func (c *Client) DescribeVpcAvailableRegions(request *DescribeVpcAvailableRegionsRequest) (response *DescribeVpcAvailableRegionsResponse, err error)
func (*Client) DescribeVpcs ¶
func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
func (*Client) InquiryPriceCreateDdosIpAddress ¶
func (c *Client) InquiryPriceCreateDdosIpAddress(request *InquiryPriceCreateDdosIpAddressRequest) (response *InquiryPriceCreateDdosIpAddressResponse, err error)
func (*Client) InquiryPriceCreateEipAddress ¶
func (c *Client) InquiryPriceCreateEipAddress(request *InquiryPriceCreateEipAddressRequest) (response *InquiryPriceCreateEipAddressResponse, err error)
func (*Client) InquiryPriceCreateInstance ¶
func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
func (*Client) InquiryPriceCreateIpv4Block ¶ added in v0.1.1
func (c *Client) InquiryPriceCreateIpv4Block(request *InquiryPriceCreateIpv4BlockRequest) (response *InquiryPriceCreateIpv4BlockResponse, err error)
func (*Client) InquiryPriceInstanceBandwidth ¶ added in v0.1.1
func (c *Client) InquiryPriceInstanceBandwidth(request *InquiryPriceInstanceBandwidthRequest) (response *InquiryPriceInstanceBandwidthResponse, err error)
func (*Client) InquiryPriceInstanceTrafficPackage ¶ added in v0.1.1
func (c *Client) InquiryPriceInstanceTrafficPackage(request *InquiryPriceInstanceTrafficPackageRequest) (response *InquiryPriceInstanceTrafficPackageResponse, err error)
func (*Client) ModifyCidrBlocksAttribute ¶ added in v0.1.1
func (c *Client) ModifyCidrBlocksAttribute(request *ModifyCidrBlocksAttributeRequest) (response *ModifyCidrBlocksAttributeResponse, err error)
func (*Client) ModifyDdosIpAddressesResourceGroup ¶
func (c *Client) ModifyDdosIpAddressesResourceGroup(request *ModifyDdosIpAddressesResourceGroupRequest) (response *ModifyDdosIpAddressesResourceGroupResponse, err error)
func (*Client) ModifyEipAddressesResourceGroup ¶
func (c *Client) ModifyEipAddressesResourceGroup(request *ModifyEipAddressesResourceGroupRequest) (response *ModifyEipAddressesResourceGroupResponse, err error)
func (*Client) ModifyInstanceBandwidth ¶
func (c *Client) ModifyInstanceBandwidth(request *ModifyInstanceBandwidthRequest) (response *ModifyInstanceBandwidthResponse, err error)
func (*Client) ModifyInstanceTrafficPackage ¶
func (c *Client) ModifyInstanceTrafficPackage(request *ModifyInstanceTrafficPackageRequest) (response *ModifyInstanceTrafficPackageResponse, err error)
func (*Client) ModifyInstancesAttribute ¶
func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)
func (*Client) ModifyInstancesResourceGroup ¶
func (c *Client) ModifyInstancesResourceGroup(request *ModifyInstancesResourceGroupRequest) (response *ModifyInstancesResourceGroupResponse, err error)
func (*Client) ModifySubnetsAttribute ¶
func (c *Client) ModifySubnetsAttribute(request *ModifySubnetsAttributeRequest) (response *ModifySubnetsAttributeResponse, err error)
func (*Client) ModifySubnetsResourceGroup ¶
func (c *Client) ModifySubnetsResourceGroup(request *ModifySubnetsResourceGroupRequest) (response *ModifySubnetsResourceGroupResponse, err error)
func (*Client) ModifyVpcsAttribute ¶
func (c *Client) ModifyVpcsAttribute(request *ModifyVpcsAttributeRequest) (response *ModifyVpcsAttributeResponse, err error)
func (*Client) ModifyVpcsResourceGroup ¶
func (c *Client) ModifyVpcsResourceGroup(request *ModifyVpcsResourceGroupRequest) (response *ModifyVpcsResourceGroupResponse, err error)
func (*Client) RebootInstances ¶
func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)
func (*Client) ReinstallInstance ¶
func (c *Client) ReinstallInstance(request *ReinstallInstanceRequest) (response *ReInstallInstanceResponse, err error)
func (*Client) ReleaseCidrBlocks ¶ added in v0.1.1
func (c *Client) ReleaseCidrBlocks(request *ReleaseCidrBlocksRequest) (response *ReleaseCidrBlocksResponse, err error)
func (*Client) ReleaseDdosIpAddresses ¶ added in v0.1.1
func (c *Client) ReleaseDdosIpAddresses(request *ReleaseDdosIpAddressesRequest) (response *ReleaseDdosIpAddressesResponse, err error)
func (*Client) ReleaseEipAddresses ¶
func (c *Client) ReleaseEipAddresses(request *ReleaseEipAddressesRequest) (response *ReleaseEipAddressesResponse, err error)
func (*Client) ReleaseInstances ¶
func (c *Client) ReleaseInstances(request *ReleaseInstancesRequest) (response *ReleaseInstancesResponse, err error)
func (*Client) RenewCidrBlock ¶ added in v0.1.1
func (c *Client) RenewCidrBlock(request *RenewCidrBlockRequest) (response *RenewCidrBlockResponse, err error)
func (*Client) RenewDdosIpAddress ¶
func (c *Client) RenewDdosIpAddress(request *RenewDdosIpAddressRequest) (response *RenewDdosIpAddressResponse, err error)
func (*Client) RenewEipAddress ¶
func (c *Client) RenewEipAddress(request *RenewEipAddressRequest) (response *RenewEipAddressResponse, err error)
func (*Client) RenewInstance ¶
func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
func (*Client) StartInstances ¶
func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)
func (*Client) StopInstances ¶
func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)
func (*Client) TerminateCidrBlock ¶ added in v0.1.1
func (c *Client) TerminateCidrBlock(request *TerminateCidrBlockRequest) (response *TerminateCidrBlockResponse, err error)
func (*Client) TerminateDdosIpAddress ¶
func (c *Client) TerminateDdosIpAddress(request *TerminateDdosIpAddressRequest) (response *TerminateDdosIpAddressResponse, err error)
func (*Client) TerminateEipAddress ¶
func (c *Client) TerminateEipAddress(request *TerminateEipAddressRequest) (response *TerminateEipAddressResponse, err error)
func (*Client) TerminateInstance ¶
func (c *Client) TerminateInstance(request *TerminateInstanceRequest) (response *TerminateInstanceResponse, err error)
func (*Client) UnAssociateSubnetInstance ¶
func (c *Client) UnAssociateSubnetInstance(request *UnAssociateSubnetInstanceRequest) (response *UnAssociateSubnetInstanceResponse, err error)
func (*Client) UnassociateDdosIpAddress ¶
func (c *Client) UnassociateDdosIpAddress(request *UnassociateDdosIpAddressRequest) (response *UnassociateDdosIpAddressResponse, err error)
func (*Client) UnassociateEipAddress ¶
func (c *Client) UnassociateEipAddress(request *UnassociateEipAddressRequest) (response *UnassociateEipAddressResponse, err error)
func (*Client) UnbindCidrBlockIps ¶ added in v0.1.1
func (c *Client) UnbindCidrBlockIps(request *UnbindCidrBlockIpsRequest) (response *UnbindCidrBlockIpsResponse, err error)
type CreateInstancesRequest ¶
type CreateInstancesRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
InstanceChargeType string `json:"instanceChargeType,omitempty"`
InstanceChargePrepaid *ChargePrepaid `json:"instanceChargePrepaid,omitempty"`
InstanceTypeId string `json:"instanceTypeId,omitempty"`
ImageId string `json:"imageId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
Hostname string `json:"hostname,omitempty"`
Amount int `json:"amount,omitempty"`
Password string `json:"password,omitempty"`
SshKeys []string `json:"sshKeys,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
InternetMaxBandwidthOut int `json:"internetMaxBandwidthOut,omitempty"`
TrafficPackageSize float64 `json:"trafficPackageSize,omitempty"`
SubnetId string `json:"subnetId,omitempty"`
RaidConfig *RaidConfig `json:"raidConfig,omitempty"`
Partitions []*Partition `json:"partitions,omitempty"`
Nic *Nic `json:"nic,omitempty"`
}
func NewCreateInstancesRequest ¶
func NewCreateInstancesRequest() (request *CreateInstancesRequest)
type CreateInstancesResponse ¶
type CreateInstancesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *CreateInstanceResponseParams `json:"response"`
}
func NewCreateInstancesResponse ¶
func NewCreateInstancesResponse() (response *CreateInstancesResponse)
type CreateIpv4BlockRequest ¶ added in v0.1.1
type CreateIpv4BlockRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
Name string `json:"name,omitempty"`
ChargeType string `json:"chargeType,omitempty"`
ChargePrepaid *ChargePrepaid `json:"chargePrepaid,omitempty"`
Netmask int `json:"netmask,omitempty"`
Amount *int `json:"amount,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewCreateIpv4BlockRequest ¶ added in v0.1.1
func NewCreateIpv4BlockRequest() (request *CreateIpv4BlockRequest)
type CreateIpv4BlockResponse ¶ added in v0.1.1
type CreateIpv4BlockResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *CreateIpv4BlockResponseParam `json:"response"`
}
func NewCreateIpv4BlockResponse ¶ added in v0.1.1
func NewCreateIpv4BlockResponse() (response *CreateIpv4BlockResponse)
type CreateIpv4BlockResponseParam ¶ added in v0.1.1
type CreateIpv6BlockRequest ¶ added in v0.1.1
type CreateIpv6BlockRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
Name string `json:"name,omitempty"`
Amount *int `json:"amount,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewCreateIpv6BlockRequest ¶ added in v0.1.1
func NewCreateIpv6BlockRequest() (request *CreateIpv6BlockRequest)
type CreateIpv6BlockResponse ¶ added in v0.1.1
type CreateIpv6BlockResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *CreateIpv6BlockResponseParam `json:"response"`
}
func NewCreateIpv6BlockResponse ¶ added in v0.1.1
func NewCreateIpv6BlockResponse() (response *CreateIpv6BlockResponse)
type CreateIpv6BlockResponseParam ¶ added in v0.1.1
type CreateSubnetRequest ¶
type CreateSubnetRequest struct {
*common.BaseRequest
CidrBlock string `json:"cidrBlock,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
SubnetName string `json:"subnetName,omitempty"`
VpcId string `json:"vpcId,omitempty"`
}
func NewCreateSubnetRequest ¶
func NewCreateSubnetRequest() (request *CreateSubnetRequest)
type CreateSubnetResponse ¶
type CreateSubnetResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *CreateSubnetResponseParams `json:"response,omitempty"`
}
func NewCreateSubnetResponse ¶
func NewCreateSubnetResponse() (response *CreateSubnetResponse)
type CreateVpcRequest ¶
type CreateVpcRequest struct {
*common.BaseRequest
CidrBlock string `json:"cidrBlock,omitempty"`
VpcRegionId string `json:"vpcRegionId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
VpcName string `json:"vpcName,omitempty"`
}
func NewCreateVpcRequest ¶
func NewCreateVpcRequest() (request *CreateVpcRequest)
type CreateVpcResponse ¶
type CreateVpcResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *CreateVpcResponseParams `json:"response,omitempty"`
}
func NewCreateVpcResponse ¶
func NewCreateVpcResponse() (response *CreateVpcResponse)
type CreateVpcResponseParams ¶
type CustomRaid ¶
type DdosIpAddress ¶
type DdosIpAddress struct {
DdosIpId string `json:"ddosIpId,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
IpAddress string `json:"ipAddress,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
DdosIpChargeType string `json:"ddosIpChargeType,omitempty"`
Period *int `json:"period,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ExpiredTime string `json:"expiredTime,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
DdosIpStatus string `json:"ddosIpStatus,omitempty"`
}
type DdosIpAvailableResource ¶
type DeleteSubnetRequest ¶
type DeleteSubnetRequest struct {
*common.BaseRequest
SubnetId string `json:"subnetId,omitempty"`
}
func NewDeleteSubnetRequest ¶
func NewDeleteSubnetRequest() (request *DeleteSubnetRequest)
type DeleteSubnetResponse ¶
type DeleteSubnetResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteSubnetResponse ¶
func NewDeleteSubnetResponse() (response *DeleteSubnetResponse)
type DeleteVpcRequest ¶
type DeleteVpcRequest struct {
*common.BaseRequest
VpcId string `json:"vpcId,omitempty"`
}
func NewDeleteVpcRequest ¶
func NewDeleteVpcRequest() (request *DeleteVpcRequest)
type DeleteVpcResponse ¶
type DeleteVpcResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response,omitempty"`
}
func NewDeleteVpcResponse ¶
func NewDeleteVpcResponse() (response *DeleteVpcResponse)
type DescribeAvailableIpv4ResourcesRequest ¶ added in v0.1.1
type DescribeAvailableIpv4ResourcesRequest struct {
*common.BaseRequest
ChargeType string `json:"chargeType,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
}
func NewDescribeAvailableIpv4ResourcesRequest ¶ added in v0.1.1
func NewDescribeAvailableIpv4ResourcesRequest() (request *DescribeAvailableIpv4ResourcesRequest)
type DescribeAvailableIpv4ResourcesResponse ¶ added in v0.1.1
type DescribeAvailableIpv4ResourcesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeAvailableIpv4ResourcesResponseParams `json:"response"`
}
func NewDescribeAvailableIpv4ResourcesResponse ¶ added in v0.1.1
func NewDescribeAvailableIpv4ResourcesResponse() (response *DescribeAvailableIpv4ResourcesResponse)
type DescribeAvailableIpv4ResourcesResponseParam ¶ added in v0.1.1
type DescribeAvailableIpv4ResourcesResponseParams ¶ added in v0.1.1
type DescribeAvailableIpv4ResourcesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
AvailableIpv4Resources []*DescribeAvailableIpv4ResourcesResponseParam `json:"availableIpv4Resources,omitempty"`
}
type DescribeAvailableIpv6ResourcesRequest ¶ added in v0.1.1
type DescribeAvailableIpv6ResourcesRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
}
func NewDescribeAvailableIpv6ResourcesRequest ¶ added in v0.1.1
func NewDescribeAvailableIpv6ResourcesRequest() (request *DescribeAvailableIpv6ResourcesRequest)
type DescribeAvailableIpv6ResourcesResponse ¶ added in v0.1.1
type DescribeAvailableIpv6ResourcesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeAvailableIpv6ResourcesResponseParams `json:"response"`
}
func NewDescribeAvailableIpv6ResourcesResponse ¶ added in v0.1.1
func NewDescribeAvailableIpv6ResourcesResponse() (response *DescribeAvailableIpv6ResourcesResponse)
type DescribeAvailableIpv6ResourcesResponseParam ¶ added in v0.1.1
type DescribeAvailableIpv6ResourcesResponseParams ¶ added in v0.1.1
type DescribeAvailableIpv6ResourcesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
AvailableIpv6Resources []*DescribeAvailableIpv6ResourcesResponseParam `json:"availableIpv6Resources,omitempty"`
}
type DescribeAvailableResourcesRequest ¶
type DescribeAvailableResourcesRequest struct {
*common.BaseRequest
InstanceTypeId string `json:"instanceTypeId,omitempty"`
InstanceChargeType string `json:"instanceChargeType,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
SellStatus string `json:"sellStatus,omitempty"`
}
func NewDescribeAvailableResourcesRequest ¶
func NewDescribeAvailableResourcesRequest() (request *DescribeAvailableResourcesRequest)
type DescribeAvailableResourcesResponse ¶
type DescribeAvailableResourcesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeAvailableResourcesResponseParams `json:"response"`
}
func NewDescribeAvailableResourcesResponse ¶
func NewDescribeAvailableResourcesResponse() (response *DescribeAvailableResourcesResponse)
type DescribeAvailableResourcesResponseParams ¶
type DescribeAvailableResourcesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
AvailableResources []*AvailableResource `json:"availableResources,omitempty"`
}
type DescribeCidrBlockIpsRequest ¶ added in v0.1.1
type DescribeCidrBlockIpsRequest struct {
*common.BaseRequest
CidrBlockId string `json:"cidrBlockId,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
Ip string `json:"ip,omitempty"`
}
func NewDescribeCidrBlockIpsRequest ¶ added in v0.1.1
func NewDescribeCidrBlockIpsRequest() (request *DescribeCidrBlockIpsRequest)
type DescribeCidrBlockIpsResponse ¶ added in v0.1.1
type DescribeCidrBlockIpsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeCidrBlockIpsResponseParams `json:"response"`
}
func NewDescribeCidrBlockIpsResponse ¶ added in v0.1.1
func NewDescribeCidrBlockIpsResponse() (response *DescribeCidrBlockIpsResponse)
type DescribeCidrBlockIpsResponseParam ¶ added in v0.1.1
type DescribeCidrBlockIpsResponseParams ¶ added in v0.1.1
type DescribeCidrBlockIpsResponseParams struct {
RequestId string `json:"requestId,omitempty"`
CidrBlockIps []*DescribeCidrBlockIpsResponseParam `json:"CidrBlockIps,omitempty"`
}
type DescribeCidrBlocksRequest ¶ added in v0.1.1
type DescribeCidrBlocksRequest struct {
*common.BaseRequest
CidrBlockIds []string `json:"cidrBlockIds,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
CidrBlockName string `json:"cidrBlockName,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
CidrBlockType string `json:"cidrBlockType,omitempty"`
Gateway string `json:"gateway,omitempty"`
ChargeType string `json:"chargeType,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
PageNum int `json:"pageNum,omitempty"`
PageSize int `json:"pageSize,omitempty"`
}
func NewDescribeCidrBlocksRequest ¶ added in v0.1.1
func NewDescribeCidrBlocksRequest() (request *DescribeCidrBlocksRequest)
type DescribeCidrBlocksResponse ¶ added in v0.1.1
type DescribeCidrBlocksResponse struct {
*common.BaseResponse
RequestId string `json:"requestId"`
Response *DescribeCidrBlocksResponseParams `json:"response"`
}
func NewDescribeCidrBlocksResponse ¶ added in v0.1.1
func NewDescribeCidrBlocksResponse() (response *DescribeCidrBlocksResponse)
type DescribeCidrBlocksResponseParams ¶ added in v0.1.1
type DescribeCidrBlocksResponseParams struct {
RequestId string `json:"requestId,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
DataSet []*CidrBlockInfo `json:"dataSet,omitempty"`
}
type DescribeDdosIpAddressesRequest ¶
type DescribeDdosIpAddressesRequest struct {
*common.BaseRequest
DdosIpIds []string `json:"ddosIpIds,omitempty"`
DdosIpChargeType string `json:"ddosIpChargeType,omitempty"`
IpAddress string `json:"ipAddress,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
DdosIpStatus string `json:"ddosIpStatus,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribeDdosIpAddressesRequest ¶
func NewDescribeDdosIpAddressesRequest() (request *DescribeDdosIpAddressesRequest)
type DescribeDdosIpAddressesResponse ¶
type DescribeDdosIpAddressesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeDdosIpAddressesResponseParams `json:"response,omitempty"`
}
func NewDescribeDdosIpAddressesResponse ¶
func NewDescribeDdosIpAddressesResponse() (response *DescribeDdosIpAddressesResponse)
type DescribeDdosIpAddressesResponseParams ¶
type DescribeDdosIpAddressesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
DataSet []*DdosIpAddress `json:"dataSet,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
}
type DescribeDdosIpAvailableResourcesRequest ¶
type DescribeDdosIpAvailableResourcesRequest struct {
*common.BaseRequest
DdosIpChargeType string `json:"ddosIpChargeType,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
}
func NewDescribeDdosAvailableResourcesRequest ¶
func NewDescribeDdosAvailableResourcesRequest() (request *DescribeDdosIpAvailableResourcesRequest)
type DescribeDdosIpAvailableResourcesResponse ¶
type DescribeDdosIpAvailableResourcesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeDdosIpAvailableResourcesResponseParams `json:"response,omitempty"`
}
func NewDescribeDdosAvailableResourcesResponse ¶
func NewDescribeDdosAvailableResourcesResponse() (response *DescribeDdosIpAvailableResourcesResponse)
type DescribeDdosIpAvailableResourcesResponseParams ¶
type DescribeDdosIpAvailableResourcesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
DdosIpResources []*DdosIpAvailableResource `json:"ddosIpResources,omitempty"`
}
type DescribeEipAddressesRequest ¶
type DescribeEipAddressesRequest struct {
*common.BaseRequest
EipIds []string `json:"eipIds,omitempty"`
EipChargeType string `json:"eipChargeType,omitempty"`
IpAddress string `json:"ipAddress,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
EipStatus string `json:"eipStatus,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribeEipAddressesRequest ¶
func NewDescribeEipAddressesRequest() (request *DescribeEipAddressesRequest)
type DescribeEipAddressesResponse ¶
type DescribeEipAddressesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeEipAddressesResponseParams `json:"response,omitempty"`
}
func NewDescribeEipAddressesResponse ¶
func NewDescribeEipAddressesResponse() (response *DescribeEipAddressesResponse)
type DescribeEipAddressesResponseParams ¶
type DescribeEipAddressesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
DataSet []*EipAddress `json:"dataSet,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
}
type DescribeEipAvailableResourcesRequest ¶
type DescribeEipAvailableResourcesRequest struct {
*common.BaseRequest
EipChargeType string `json:"eipChargeType,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
}
func NewDescribeEipAvailableResourcesRequest ¶
func NewDescribeEipAvailableResourcesRequest() (request *DescribeEipAvailableResourcesRequest)
type DescribeEipAvailableResourcesResponse ¶
type DescribeEipAvailableResourcesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeEipAvailableResourcesResponseParams `json:"response,omitempty"`
}
func NewDescribeEipAvailableResourcesResponse ¶
func NewDescribeEipAvailableResourcesResponse() (response *DescribeEipAvailableResourcesResponse)
type DescribeEipAvailableResourcesResponseParams ¶
type DescribeEipAvailableResourcesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
EipResources []*EipAvailableResource `json:"eipResources,omitempty"`
}
type DescribeImagesRequest ¶
type DescribeImagesRequest struct {
*common.BaseRequest
ImageIds []string `json:"imageIds,omitempty"`
ImageName string `json:"imageName,omitempty"`
Catalog string `json:"catalog,omitempty"`
ImageType string `json:"imageType,omitempty"`
OsType string `json:"osType,omitempty"`
InstanceTypeId string `json:"instanceTypeId,omitempty"`
}
func NewDescribeImagesRequest ¶
func NewDescribeImagesRequest() (request *DescribeImagesRequest)
type DescribeImagesResponse ¶
type DescribeImagesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeImagesResponseParams `json:"response"`
}
func NewDescribeImagesResponse ¶
func NewDescribeImagesResponse() (response *DescribeImagesResponse)
type DescribeInstanceAvailableCidrBlockRequest ¶ added in v0.1.1
type DescribeInstanceAvailableCidrBlockRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
CidrBlockType string `json:"cidrBlockType,omitempty"`
}
func NewDescribeInstanceAvailableCidrBlockRequest ¶ added in v0.1.1
func NewDescribeInstanceAvailableCidrBlockRequest() (request *DescribeInstanceAvailableCidrBlockRequest)
type DescribeInstanceAvailableCidrBlockResponse ¶ added in v0.1.1
type DescribeInstanceAvailableCidrBlockResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeInstanceAvailableCidrBlockResponseParams `json:"response"`
}
func NewDescribeInstanceAvailableCidrBlockResponse ¶ added in v0.1.1
func NewDescribeInstanceAvailableCidrBlockResponse() (response *DescribeInstanceAvailableCidrBlockResponse)
type DescribeInstanceAvailableCidrBlockResponseParam ¶ added in v0.1.1
type DescribeInstanceAvailableCidrBlockResponseParam struct {
CidrBlockId string `json:"cidrBlockId,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
CidrBlockType string `json:"cidrBlockType,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
AvailableIps []string `json:"availableIps,omitempty"`
AvailableIpCount int `json:"availableIpCount,omitempty"`
}
type DescribeInstanceAvailableCidrBlockResponseParams ¶ added in v0.1.1
type DescribeInstanceAvailableCidrBlockResponseParams struct {
RequestId string `json:"requestId,omitempty"`
InstanceAvailableCidrBlocks []*DescribeInstanceAvailableCidrBlockResponseParam `json:"instanceAvailableCidrBlocks,omitempty"`
}
type DescribeInstanceAvailableDdosResourcesRequest ¶ added in v0.1.1
type DescribeInstanceAvailableDdosResourcesRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewDescribeInstanceAvailableDdosResourcesRequest ¶ added in v0.1.1
func NewDescribeInstanceAvailableDdosResourcesRequest() (request *DescribeInstanceAvailableDdosResourcesRequest)
type DescribeInstanceAvailableDdosResourcesResponse ¶ added in v0.1.1
type DescribeInstanceAvailableDdosResourcesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeInstanceAvailableDdosResourcesResponseParams `json:"response,omitempty"`
}
func NewDescribeInstanceAvailableDdosResourcesResponse ¶ added in v0.1.1
func NewDescribeInstanceAvailableDdosResourcesResponse() (response *DescribeInstanceAvailableDdosResourcesResponse)
type DescribeInstanceAvailableDdosResourcesResponseParams ¶ added in v0.1.1
type DescribeInstanceAvailableDdosResourcesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
InstanceDdosIpResources []*InstanceAvailableDdosIpResource `json:"instanceDdosIpResources,omitempty"`
}
type DescribeInstanceAvailableEipResourcesRequest ¶ added in v0.1.1
type DescribeInstanceAvailableEipResourcesRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewDescribeInstanceAvailableEipResourcesRequest ¶ added in v0.1.1
func NewDescribeInstanceAvailableEipResourcesRequest() (request *DescribeInstanceAvailableEipResourcesRequest)
type DescribeInstanceAvailableEipResourcesResponse ¶ added in v0.1.1
type DescribeInstanceAvailableEipResourcesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeInstanceAvailableEipResourcesResponseParams `json:"response,omitempty"`
}
func NewDescribeInstanceAvailableEipResourcesResponse ¶ added in v0.1.1
func NewDescribeInstanceAvailableEipResourcesResponse() (response *DescribeInstanceAvailableEipResourcesResponse)
type DescribeInstanceAvailableEipResourcesResponseParams ¶ added in v0.1.1
type DescribeInstanceAvailableEipResourcesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
InstanceEipResources []*InstanceAvailableEipResource `json:"instanceEipResources,omitempty"`
}
type DescribeInstanceInternetStatusRequest ¶
type DescribeInstanceInternetStatusRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewDescribeInstanceInternetStatusRequest ¶
func NewDescribeInstanceInternetStatusRequest() (request *DescribeInstanceInternetStatusRequest)
type DescribeInstanceInternetStatusResponse ¶
type DescribeInstanceInternetStatusResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *InstanceInternetStatus `json:"response"`
}
func NewDescribeInstanceInternetStatusResponse ¶
func NewDescribeInstanceInternetStatusResponse() (response *DescribeInstanceInternetStatusResponse)
type DescribeInstanceTypesRequest ¶
type DescribeInstanceTypesRequest struct {
*common.BaseRequest
ImageId string `json:"imageId,omitempty"`
InstanceTypeIds []string `json:"instanceTypeIds,omitempty"`
MinimumCpuCoreCount *int `json:"minimumCpuCoreCount,omitempty"`
MaximumCpuCoreCount *int `json:"maximumCpuCoreCount,omitempty"`
MinimumMemorySize *int `json:"minimumMemorySize,omitempty"`
MaximumMemorySize *int `json:"maximumMemorySize,omitempty"`
MinimumBandwidth *int `json:"minimumBandwidth,omitempty"`
SupportRaids []int `json:"supportRaids,omitempty"`
SupportSubnet *bool `json:"supportSubnet,omitempty"`
MinimumDiskSize *int `json:"minimumDiskSize,omitempty"`
MaximumDiskSize *int `json:"maximumDiskSize,omitempty"`
IsHA *bool `json:"isHA,omitempty"`
}
func NewDescribeInstanceTypesRequest ¶
func NewDescribeInstanceTypesRequest() (request *DescribeInstanceTypesRequest)
type DescribeInstanceTypesResponse ¶
type DescribeInstanceTypesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeInstanceTypesResponseParams `json:"response"`
}
func NewDescribeInstanceTypesResponse ¶
func NewDescribeInstanceTypesResponse() (response *DescribeInstanceTypesResponse)
type DescribeInstanceTypesResponseParams ¶
type DescribeInstanceTypesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
InstanceTypes []*InstanceType `json:"instanceTypes,omitempty"`
}
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
InstanceTypeId string `json:"instanceTypeId,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
ImageId string `json:"imageId,omitempty"`
SubnetId string `json:"subnetId,omitempty"`
InstanceStatus string `json:"instanceStatus,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
Hostname string `json:"hostname,omitempty"`
PublicIpAddresses []string `json:"publicIpAddresses,omitempty"`
PrivateIpAddresses []string `json:"privateIpAddresses,omitempty"`
PageNum int `json:"pageNum,omitempty"`
PageSize int `json:"pageSize,omitempty"`
}
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeInstancesResponseParams `json:"response"`
}
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
type DescribeInstancesResponseParams ¶
type DescribeInstancesResponseParams struct {
RequestId string `json:"requestId,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
DataSet []*InstanceInfo `json:"dataSet,omitempty"`
}
type DescribeSubnetAvailableResourcesRequest ¶ added in v0.1.1
type DescribeSubnetAvailableResourcesRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
}
func NewDescribeSubnetAvailableResourcesRequest ¶ added in v0.1.1
func NewDescribeSubnetAvailableResourcesRequest() (request *DescribeSubnetAvailableResourcesRequest)
type DescribeSubnetAvailableResourcesResponse ¶ added in v0.1.1
type DescribeSubnetAvailableResourcesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeSubnetAvailableResourcesResponseParams `json:"response,omitempty"`
}
func NewDescribeSubnetAvailableResourcesResponse ¶ added in v0.1.1
func NewDescribeSubnetAvailableResourcesResponse() (response *DescribeSubnetAvailableResourcesResponse)
type DescribeSubnetAvailableResourcesResponseParams ¶ added in v0.1.1
type DescribeSubnetsRequest ¶
type DescribeSubnetsRequest struct {
*common.BaseRequest
SubnetIds []string `json:"subnetIds,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
SubnetName string `json:"subnetName,omitempty"`
VpcId string `json:"vpcId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
SubnetStatus string `json:"subnetStatus,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribeSubnetsRequest ¶
func NewDescribeSubnetsRequest() (request *DescribeSubnetsRequest)
type DescribeSubnetsResponse ¶
type DescribeSubnetsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeSubnetsResponseParams `json:"response,omitempty"`
}
func NewDescribeSubnetsResponse ¶
func NewDescribeSubnetsResponse() (response *DescribeSubnetsResponse)
type DescribeVpcAvailableRegionsRequest ¶
type DescribeVpcAvailableRegionsRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
VpcRegionId string `json:"vpcRegionId,omitempty"`
}
func NewDescribeVpcAvailableRegionsRequest ¶
func NewDescribeVpcAvailableRegionsRequest() (request *DescribeVpcAvailableRegionsRequest)
type DescribeVpcAvailableRegionsResponse ¶
type DescribeVpcAvailableRegionsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeVpcAvailableRegionsResponseParams `json:"response,omitempty"`
}
func NewDescribeVpcAvailableRegionsResponse ¶
func NewDescribeVpcAvailableRegionsResponse() (response *DescribeVpcAvailableRegionsResponse)
type DescribeVpcsRequest ¶
type DescribeVpcsRequest struct {
*common.BaseRequest
VpcIds []string `json:"vpcIds,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
VpcStatus string `json:"vpcStatus,omitempty"`
VpcName string `json:"vpcName,omitempty"`
VpcRegionId string `json:"vpcRegionId,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
PageSize int `json:"pageSize,omitempty"`
PageNum int `json:"pageNum,omitempty"`
}
func NewDescribeVpcsRequest ¶
func NewDescribeVpcsRequest() (request *DescribeVpcsRequest)
type DescribeVpcsResponse ¶
type DescribeVpcsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeVpcsResponseParams `json:"response,omitempty"`
}
func NewDescribeVpcsResponse ¶
func NewDescribeVpcsResponse() (response *DescribeVpcsResponse)
type DescribeZonesRequest ¶
type DescribeZonesRequest struct {
*common.BaseRequest
AcceptLanguage string `json:"acceptLanguage,omitempty"`
}
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
type DescribeZonesResponse ¶
type DescribeZonesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *DescribeZonesResponseParams `json:"response"`
}
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
type EipAddress ¶
type EipAddress struct {
EipId string `json:"eipId,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
IpAddress string `json:"ipAddress,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
EipChargeType string `json:"eipChargeType,omitempty"`
Period *int `json:"period,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ExpiredTime string `json:"expiredTime,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
EipStatus string `json:"eipStatus,omitempty"`
}
type EipAvailableResource ¶
type InquiryPriceCreateDdosIpAddressRequest ¶
type InquiryPriceCreateDdosIpAddressRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
DdosIpChargeType string `json:"ddosIpChargeType,omitempty"`
DdosIpChargePrepaid *ChargePrepaid `json:"ddosIpChargePrepaid,omitempty"`
Amount int `json:"amount,omitempty"`
}
func NewInquiryPriceCreateDdosIpAddressRequest ¶
func NewInquiryPriceCreateDdosIpAddressRequest() (request *InquiryPriceCreateDdosIpAddressRequest)
type InquiryPriceCreateDdosIpAddressResponse ¶
type InquiryPriceCreateDdosIpAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *InquiryPriceCreateDdosIpAddressResponseParams `json:"response"`
}
func NewInquiryPriceCreateDdosIpAddressResponse ¶
func NewInquiryPriceCreateDdosIpAddressResponse() (response *InquiryPriceCreateDdosIpAddressResponse)
type InquiryPriceCreateEipAddressRequest ¶
type InquiryPriceCreateEipAddressRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
EipChargeType string `json:"eipChargeType,omitempty"`
EipChargePrepaid *ChargePrepaid `json:"eipChargePrepaid,omitempty"`
Amount int `json:"amount,omitempty"`
}
func NewInquiryPriceCreateEipAddressRequest ¶
func NewInquiryPriceCreateEipAddressRequest() (request *InquiryPriceCreateEipAddressRequest)
type InquiryPriceCreateEipAddressResponse ¶
type InquiryPriceCreateEipAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *InquiryPriceCreateEipAddressResponseParams `json:"response"`
}
func NewInquiryPriceCreateEipAddressResponse ¶
func NewInquiryPriceCreateEipAddressResponse() (response *InquiryPriceCreateEipAddressResponse)
type InquiryPriceCreateInstanceRequest ¶
type InquiryPriceCreateInstanceRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
InstanceTypeId string `json:"instanceTypeId,omitempty"`
InstanceChargeType string `json:"instanceChargeType,omitempty"`
InstanceChargePrepaid *ChargePrepaid `json:"instanceChargePrepaid,omitempty"`
TrafficPackageSize float64 `json:"trafficPackageSize,omitempty"`
InternetMaxBandwidthOut int `json:"internetMaxBandwidthOut,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
}
func NewInquiryPriceCreateInstanceRequest ¶
func NewInquiryPriceCreateInstanceRequest() (request *InquiryPriceCreateInstanceRequest)
type InquiryPriceCreateInstanceResponse ¶
type InquiryPriceCreateInstanceResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *InquiryPriceCreateInstanceResponseParams `json:"response"`
}
func NewInquiryPriceCreateInstanceRequestResponse ¶
func NewInquiryPriceCreateInstanceRequestResponse() (response *InquiryPriceCreateInstanceResponse)
type InquiryPriceCreateIpv4BlockRequest ¶ added in v0.1.1
type InquiryPriceCreateIpv4BlockRequest struct {
*common.BaseRequest
ZoneId string `json:"zoneId,omitempty"`
ChargeType string `json:"chargeType,omitempty"`
ChargePrepaid *ChargePrepaid `json:"chargePrepaid,omitempty"`
Netmask int `json:"netmask,omitempty"`
Amount *int `json:"amount,omitempty"`
}
func NewInquiryPriceCreateIpv4BlockRequest ¶ added in v0.1.1
func NewInquiryPriceCreateIpv4BlockRequest() (request *InquiryPriceCreateIpv4BlockRequest)
type InquiryPriceCreateIpv4BlockResponse ¶ added in v0.1.1
type InquiryPriceCreateIpv4BlockResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *InquiryPriceCreateIpv4BlockResponseParam `json:"response"`
}
func NewInquiryPriceCreateIpv4BlockResponse ¶ added in v0.1.1
func NewInquiryPriceCreateIpv4BlockResponse() (response *InquiryPriceCreateIpv4BlockResponse)
type InquiryPriceCreateIpv4BlockResponseParam ¶ added in v0.1.1
type InquiryPriceInstanceBandwidthRequest ¶ added in v0.1.1
type InquiryPriceInstanceBandwidthRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
BandwidthOutMbps int `json:"bandwidthOutMbps,omitempty"`
}
func NewInquiryPriceInstanceBandwidthRequest ¶ added in v0.1.1
func NewInquiryPriceInstanceBandwidthRequest() (request *InquiryPriceInstanceBandwidthRequest)
type InquiryPriceInstanceBandwidthResponse ¶ added in v0.1.1
type InquiryPriceInstanceBandwidthResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *InquiryPriceInstanceBandwidthResponseParams `json:"response"`
}
func NewInquiryPriceInstanceBandwidthResponse ¶ added in v0.1.1
func NewInquiryPriceInstanceBandwidthResponse() (response *InquiryPriceInstanceBandwidthResponse)
type InquiryPriceInstanceBandwidthResponseParams ¶ added in v0.1.1
type InquiryPriceInstanceTrafficPackageRequest ¶ added in v0.1.1
type InquiryPriceInstanceTrafficPackageRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
TrafficPackageSize float64 `json:"trafficPackageSize,omitempty"`
}
func NewInquiryPriceInstanceTrafficPackageRequest ¶ added in v0.1.1
func NewInquiryPriceInstanceTrafficPackageRequest() (request *InquiryPriceInstanceTrafficPackageRequest)
type InquiryPriceInstanceTrafficPackageResponse ¶ added in v0.1.1
type InquiryPriceInstanceTrafficPackageResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *InquiryPriceInstanceTrafficPackageResponseParams `json:"response"`
}
func NewInquiryPriceInstanceTrafficPackageResponse ¶ added in v0.1.1
func NewInquiryPriceInstanceTrafficPackageResponse() (response *InquiryPriceInstanceTrafficPackageResponse)
type InquiryPriceInstanceTrafficPackageResponseParams ¶ added in v0.1.1
type InstanceAvailableDdosIpResource ¶ added in v0.1.1
type InstanceAvailableEipResource ¶ added in v0.1.1
type InstanceDiskInfo ¶
type InstanceInfo ¶
type InstanceInfo struct {
InstanceId string `json:"instanceId,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
Hostname string `json:"hostname,omitempty"`
InstanceTypeId string `json:"instanceTypeId,omitempty"`
ImageId *string `json:"imageId,omitempty"`
ImageName string `json:"imageName,omitempty"`
InstanceChargeType string `json:"instanceChargeType,omitempty"`
BandwidthOutMbps *int `json:"bandwidthOutMbps,omitempty"`
TrafficPackageSize *float64 `json:"trafficPackageSize,omitempty"`
InternetChargeType string `json:"internetChargeType,omitempty"`
Period *int `json:"period,omitempty"`
PrimaryPublicIpAddress *string `json:"primaryPublicIpAddress,omitempty"`
PublicIpAddresses []string `json:"publicIpAddresses,omitempty"`
PrivateIpAddresses []string `json:"privateIpAddresses,omitempty"`
Ipv6Addresses []string `json:"ipv6Addresses,omitempty"`
SubnetIds []string `json:"subnetIds,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ExpiredTime *string `json:"expiredTime,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
InstanceStatus string `json:"instanceStatus,omitempty"`
Partitions []*Partition `json:"partitions,omitempty"`
RaidConfig *RaidConfig `json:"raidConfig,omitempty"`
Nic *Nic `json:"nic,omitempty"`
}
type InstanceInternetStatus ¶
type InstanceInternetStatus struct {
RequestId string `json:"requestId,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
InternetMaxBandwidthOut *int `json:"internetMaxBandwidthOut,omitempty"`
ModifiedInternetMaxBandwidthOut *int `json:"modifiedInternetMaxBandwidthOut,omitempty"`
ModifiedBandwidthStatus string `json:"modifiedBandwidthStatus,omitempty"`
TrafficPackageSize *float64 `json:"trafficPackageSize,omitempty"`
ModifiedTrafficPackageSize *float64 `json:"modifiedTrafficPackageSize,omitempty"`
ModifiedTrafficPackageStatus string `json:"modifiedTrafficPackageStatus,omitempty"`
}
type InstanceType ¶
type InstanceType struct {
ImageIds []string `json:"imageIds,omitempty"`
InstanceTypeId string `json:"instanceTypeId,omitempty"`
Description string `json:"description,omitempty"`
CpuCoreCount int `json:"cpuCoreCount,omitempty"`
MemorySize int `json:"memorySize,omitempty"`
MaximumBandwidth int `json:"maximumBandwidth,omitempty"`
SupportRaids []int `json:"supportRaids,omitempty"`
SupportSubnet bool `json:"supportSubnet,omitempty"`
IsHA bool `json:"isHA,omitempty"`
DiskInfo *InstanceDiskInfo `json:"diskInfo,omitempty"`
}
type IpBindParam ¶ added in v0.1.1
type ModifyCidrBlocksAttributeRequest ¶ added in v0.1.1
type ModifyCidrBlocksAttributeRequest struct {
*common.BaseRequest
CidrBlockIds []string `json:"cidrBlockIds,omitempty"`
Name string `json:"name,omitempty"`
}
func NewModifyCidrBlocksAttributeRequest ¶ added in v0.1.1
func NewModifyCidrBlocksAttributeRequest() (request *ModifyCidrBlocksAttributeRequest)
type ModifyCidrBlocksAttributeResponse ¶ added in v0.1.1
type ModifyCidrBlocksAttributeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyCidrBlocksAttributeResponse ¶ added in v0.1.1
func NewModifyCidrBlocksAttributeResponse() (response *ModifyCidrBlocksAttributeResponse)
type ModifyDdosIpAddressesResourceGroupRequest ¶
type ModifyDdosIpAddressesResourceGroupRequest struct {
*common.BaseRequest
DdosIpIds []string `json:"ddosIpIds,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewModifyDdosIpAddressesResourceGroupRequest ¶
func NewModifyDdosIpAddressesResourceGroupRequest() (request *ModifyDdosIpAddressesResourceGroupRequest)
type ModifyDdosIpAddressesResourceGroupResponse ¶
type ModifyDdosIpAddressesResourceGroupResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyDdosIpAddressesResourceGroupResponse ¶
func NewModifyDdosIpAddressesResourceGroupResponse() (response *ModifyDdosIpAddressesResourceGroupResponse)
type ModifyEipAddressesResourceGroupRequest ¶
type ModifyEipAddressesResourceGroupRequest struct {
*common.BaseRequest
EipIds []string `json:"eipIds,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewModifyEipAddressesResourceGroupRequest ¶
func NewModifyEipAddressesResourceGroupRequest() (request *ModifyEipAddressesResourceGroupRequest)
type ModifyEipAddressesResourceGroupResponse ¶
type ModifyEipAddressesResourceGroupResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyEipAddressesResourceGroupResponse ¶
func NewModifyEipAddressesResourceGroupResponse() (response *ModifyEipAddressesResourceGroupResponse)
type ModifyInstanceBandwidthRequest ¶
type ModifyInstanceBandwidthRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
BandwidthOutMbps *int `json:"bandwidthOutMbps,omitempty"`
}
func NewModifyInstanceBandwidthRequest ¶
func NewModifyInstanceBandwidthRequest() (request *ModifyInstanceBandwidthRequest)
type ModifyInstanceBandwidthResponse ¶
type ModifyInstanceBandwidthResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *ModifyInstanceBandwidthResponseParams `json:"response"`
}
func NewModifyInstanceBandwidthResponse ¶
func NewModifyInstanceBandwidthResponse() (response *ModifyInstanceBandwidthResponse)
type ModifyInstanceTrafficPackageRequest ¶
type ModifyInstanceTrafficPackageRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
TrafficPackageSize *float64 `json:"trafficPackageSize,omitempty"`
}
func NewModifyInstanceTrafficPackageRequest ¶
func NewModifyInstanceTrafficPackageRequest() (request *ModifyInstanceTrafficPackageRequest)
type ModifyInstanceTrafficPackageResponse ¶
type ModifyInstanceTrafficPackageResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response *ModifyInstanceTrafficPackageSizeResponseParams `json:"response"`
}
func NewModifyInstanceTrafficPackageResponse ¶
func NewModifyInstanceTrafficPackageResponse() (response *ModifyInstanceTrafficPackageResponse)
type ModifyInstancesAttributeRequest ¶
type ModifyInstancesAttributeRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
InstanceName string `json:"instanceName,omitempty"`
}
func NewModifyInstancesAttributeRequest ¶
func NewModifyInstancesAttributeRequest() (request *ModifyInstancesAttributeRequest)
type ModifyInstancesAttributeResponse ¶
type ModifyInstancesAttributeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyInstancesAttributeResponse ¶
func NewModifyInstancesAttributeResponse() (response *ModifyInstancesAttributeResponse)
type ModifyInstancesResourceGroupRequest ¶
type ModifyInstancesResourceGroupRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewModifyInstancesResourceGroupRequest ¶
func NewModifyInstancesResourceGroupRequest() (request *ModifyInstancesResourceGroupRequest)
type ModifyInstancesResourceGroupResponse ¶
type ModifyInstancesResourceGroupResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyInstancesResourceGroupResponse ¶
func NewModifyInstancesResourceGroupResponse() (response *ModifyInstancesResourceGroupResponse)
type ModifySubnetsAttributeRequest ¶
type ModifySubnetsAttributeRequest struct {
*common.BaseRequest
SubnetIds []string `json:"subnetIds,omitempty"`
SubnetName string `json:"subnetName,omitempty"`
}
func NewModifySubnetsAttributeRequest ¶
func NewModifySubnetsAttributeRequest() (request *ModifySubnetsAttributeRequest)
type ModifySubnetsAttributeResponse ¶
type ModifySubnetsAttributeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifySubnetsAttributeResponse ¶
func NewModifySubnetsAttributeResponse() (response *ModifySubnetsAttributeResponse)
type ModifySubnetsResourceGroupRequest ¶
type ModifySubnetsResourceGroupRequest struct {
*common.BaseRequest
SubnetIds []string `json:"subnetIds,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewModifySubnetsResourceGroupRequest ¶
func NewModifySubnetsResourceGroupRequest() (request *ModifySubnetsResourceGroupRequest)
type ModifySubnetsResourceGroupResponse ¶
type ModifySubnetsResourceGroupResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifySubnetsResourceGroupResponse ¶
func NewModifySubnetsResourceGroupResponse() (response *ModifySubnetsResourceGroupResponse)
type ModifyVpcsAttributeRequest ¶
type ModifyVpcsAttributeRequest struct {
*common.BaseRequest
VpcIds []string `json:"vpcIds,omitempty"`
VpcName string `json:"vpcName,omitempty"`
}
func NewModifyVpcsAttributeRequest ¶
func NewModifyVpcsAttributeRequest() (request *ModifyVpcsAttributeRequest)
type ModifyVpcsAttributeResponse ¶
type ModifyVpcsAttributeResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyVpcsAttributeResponse ¶
func NewModifyVpcsAttributeResponse() (response *ModifyVpcsAttributeResponse)
type ModifyVpcsResourceGroupRequest ¶
type ModifyVpcsResourceGroupRequest struct {
*common.BaseRequest
VpcIds []string `json:"vpcIds,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
}
func NewModifyVpcsResourceGroupRequest ¶
func NewModifyVpcsResourceGroupRequest() (request *ModifyVpcsResourceGroupRequest)
type ModifyVpcsResourceGroupResponse ¶
type ModifyVpcsResourceGroupResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewModifyVpcsResourceGroupResponse ¶
func NewModifyVpcsResourceGroupResponse() (response *ModifyVpcsResourceGroupResponse)
type Price ¶
type Price struct {
Discount *float64 `json:"discount,omitempty"`
DiscountPrice *float64 `json:"discountPrice,omitempty"`
OriginalPrice *float64 `json:"originalPrice,omitempty"`
UnitPrice *float64 `json:"unitPrice,omitempty"`
DiscountUnitPrice *float64 `json:"discountUnitPrice,omitempty"`
ChargeUnit *string `json:"chargeUnit,omitempty"`
StepPrices []*StepPrice `json:"stepPrices,omitempty"`
}
type RaidConfig ¶
type RaidConfig struct {
RaidType *int `json:"raidType,omitempty"`
CustomRaids []*CustomRaid `json:"customRaids,omitempty"`
}
type ReInstallInstanceResponse ¶
type ReInstallInstanceResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewReinstallInstanceResponse ¶
func NewReinstallInstanceResponse() (response *ReInstallInstanceResponse)
type RebootInstancesRequest ¶
type RebootInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
}
func NewRebootInstancesRequest ¶
func NewRebootInstancesRequest() (request *RebootInstancesRequest)
type RebootInstancesResponse ¶
type RebootInstancesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewRebootInstancesResponse ¶
func NewRebootInstancesResponse() (response *RebootInstancesResponse)
type ReinstallInstanceRequest ¶
type ReinstallInstanceRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
ImageId string `json:"imageId,omitempty"`
Hostname string `json:"hostname,omitempty"`
Password string `json:"password,omitempty"`
SshKeys []string `json:"sshKeys,omitempty"`
RaidConfig *RaidConfig `json:"raidConfig,omitempty"`
Partitions []*Partition `json:"partitions,omitempty"`
Nic *Nic `json:"nic,omitempty"`
}
func NewReinstallInstanceRequest ¶
func NewReinstallInstanceRequest() (request *ReinstallInstanceRequest)
type ReleaseCidrBlocksRequest ¶ added in v0.1.1
type ReleaseCidrBlocksRequest struct {
*common.BaseRequest
CidrBlockIds []string `json:"cidrBlockIds,omitempty"`
}
func NewReleaseCidrBlocksRequest ¶ added in v0.1.1
func NewReleaseCidrBlocksRequest() (request *ReleaseCidrBlocksRequest)
type ReleaseCidrBlocksResponse ¶ added in v0.1.1
type ReleaseCidrBlocksResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewReleaseCidrBlocksResponse ¶ added in v0.1.1
func NewReleaseCidrBlocksResponse() (response *ReleaseCidrBlocksResponse)
type ReleaseDdosIpAddressesRequest ¶ added in v0.1.1
type ReleaseDdosIpAddressesRequest struct {
*common.BaseRequest
DdosIpIds []string `json:"ddosIpIds,omitempty"`
}
func NewReleaseDdosIpAddressesRequest ¶ added in v0.1.1
func NewReleaseDdosIpAddressesRequest() (request *ReleaseDdosIpAddressesRequest)
type ReleaseDdosIpAddressesResponse ¶ added in v0.1.1
type ReleaseDdosIpAddressesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewReleaseDdosIpAddressesResponse ¶ added in v0.1.1
func NewReleaseDdosIpAddressesResponse() (response *ReleaseDdosIpAddressesResponse)
type ReleaseEipAddressesRequest ¶
type ReleaseEipAddressesRequest struct {
*common.BaseRequest
EipIds []string `json:"eipIds,omitempty"`
}
func NewReleaseEipAddressesRequest ¶
func NewReleaseEipAddressesRequest() (request *ReleaseEipAddressesRequest)
type ReleaseEipAddressesResponse ¶
type ReleaseEipAddressesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewReleaseEipAddressesResponse ¶
func NewReleaseEipAddressesResponse() (response *ReleaseEipAddressesResponse)
type ReleaseInstancesRequest ¶
type ReleaseInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
}
func NewReleaseInstancesRequest ¶
func NewReleaseInstancesRequest() (request *ReleaseInstancesRequest)
type ReleaseInstancesResponse ¶
type ReleaseInstancesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewReleaseInstancesResponse ¶
func NewReleaseInstancesResponse() (response *ReleaseInstancesResponse)
type RenewCidrBlockRequest ¶ added in v0.1.1
type RenewCidrBlockRequest struct {
*common.BaseRequest
CidrBlockId string `json:"cidrBlockId,omitempty"`
}
func NewRenewCidrBlockRequest ¶ added in v0.1.1
func NewRenewCidrBlockRequest() (request *RenewCidrBlockRequest)
type RenewCidrBlockResponse ¶ added in v0.1.1
type RenewCidrBlockResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewRenewCidrBlockResponse ¶ added in v0.1.1
func NewRenewCidrBlockResponse() (response *RenewCidrBlockResponse)
type RenewDdosIpAddressRequest ¶
type RenewDdosIpAddressRequest struct {
*common.BaseRequest
DdosIpId string `json:"ddosIpId,omitempty"`
}
func NewRenewDdosIpAddressRequest ¶
func NewRenewDdosIpAddressRequest() (request *RenewDdosIpAddressRequest)
type RenewDdosIpAddressResponse ¶
type RenewDdosIpAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewRenewDdosIpAddressResponse ¶
func NewRenewDdosIpAddressResponse() (response *RenewDdosIpAddressResponse)
type RenewEipAddressRequest ¶
type RenewEipAddressRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
}
func NewRenewEipAddressRequest ¶
func NewRenewEipAddressRequest() (request *RenewEipAddressRequest)
type RenewEipAddressResponse ¶
type RenewEipAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewRenewEipAddressResponse ¶
func NewRenewEipAddressResponse() (response *RenewEipAddressResponse)
type RenewInstanceRequest ¶
type RenewInstanceRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewRenewInstanceRequest ¶
func NewRenewInstanceRequest() (request *RenewInstanceRequest)
type RenewInstanceResponse ¶
type RenewInstanceResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewRenewInstanceResponse ¶
func NewRenewInstanceResponse() (response *RenewInstanceResponse)
type StartInstancesRequest ¶
type StartInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
}
func NewStartInstancesRequest ¶
func NewStartInstancesRequest() (request *StartInstancesRequest)
type StartInstancesResponse ¶
type StartInstancesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewStartInstancesResponse ¶
func NewStartInstancesResponse() (response *StartInstancesResponse)
type StopInstancesRequest ¶
type StopInstancesRequest struct {
*common.BaseRequest
InstanceIds []string `json:"instanceIds,omitempty"`
}
func NewStopInstancesRequest ¶
func NewStopInstancesRequest() (request *StopInstancesRequest)
type StopInstancesResponse ¶
type StopInstancesResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewStopInstancesResponse ¶
func NewStopInstancesResponse() (response *StopInstancesResponse)
type Subnet ¶
type Subnet struct {
SubnetId string `json:"subnetId,omitempty"`
ZoneId string `json:"zoneId,omitempty"`
SubnetName string `json:"subnetName,omitempty"`
VpcId string `json:"vpcId,omitempty"`
VpcName string `json:"vpcName,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
CreateTime string `json:"createTime,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
SubnetStatus string `json:"subnetStatus,omitempty"`
SubnetInstanceSet []*SubnetAssociateInstance `json:"subnetInstanceSet,omitempty"`
}
type SubnetAssociateInstance ¶
type TerminateCidrBlockRequest ¶ added in v0.1.1
type TerminateCidrBlockRequest struct {
*common.BaseRequest
CidrBlockId string `json:"cidrBlockId,omitempty"`
}
func NewTerminateCidrBlockRequest ¶ added in v0.1.1
func NewTerminateCidrBlockRequest() (request *TerminateCidrBlockRequest)
type TerminateCidrBlockResponse ¶ added in v0.1.1
type TerminateCidrBlockResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewTerminateCidrBlockResponse ¶ added in v0.1.1
func NewTerminateCidrBlockResponse() (response *TerminateCidrBlockResponse)
type TerminateDdosIpAddressRequest ¶
type TerminateDdosIpAddressRequest struct {
*common.BaseRequest
DdosIpId string `json:"ddosIpId,omitempty"`
}
func NewTerminateDdosIpAddressRequest ¶
func NewTerminateDdosIpAddressRequest() (request *TerminateDdosIpAddressRequest)
type TerminateDdosIpAddressResponse ¶
type TerminateDdosIpAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewTerminateDdosIpAddressResponse ¶
func NewTerminateDdosIpAddressResponse() (response *TerminateDdosIpAddressResponse)
type TerminateEipAddressRequest ¶
type TerminateEipAddressRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
}
func NewTerminateEipAddressRequest ¶
func NewTerminateEipAddressRequest() (request *TerminateEipAddressRequest)
type TerminateEipAddressResponse ¶
type TerminateEipAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewTerminateEipAddressResponse ¶
func NewTerminateEipAddressResponse() (response *TerminateEipAddressResponse)
type TerminateInstanceRequest ¶
type TerminateInstanceRequest struct {
*common.BaseRequest
InstanceId string `json:"instanceId,omitempty"`
}
func NewTerminateInstanceRequest ¶
func NewTerminateInstanceRequest() (request *TerminateInstanceRequest)
type TerminateInstanceResponse ¶
type TerminateInstanceResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewTerminateInstanceResponse ¶
func NewTerminateInstanceResponse() (response *TerminateInstanceResponse)
type UnAssociateSubnetInstanceRequest ¶
type UnAssociateSubnetInstanceRequest struct {
*common.BaseRequest
SubnetId string `json:"subnetId,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
}
func NewUnAssociateSubnetInstanceRequest ¶
func NewUnAssociateSubnetInstanceRequest() (request *UnAssociateSubnetInstanceRequest)
type UnAssociateSubnetInstanceResponse ¶
type UnAssociateSubnetInstanceResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewUnAssociateSubnetInstanceResponse ¶
func NewUnAssociateSubnetInstanceResponse() (response *UnAssociateSubnetInstanceResponse)
type UnassociateDdosIpAddressRequest ¶
type UnassociateDdosIpAddressRequest struct {
*common.BaseRequest
DdosIpId string `json:"ddosIpId,omitempty"`
}
func NewUnassociateDdosIpAddressRequest ¶
func NewUnassociateDdosIpAddressRequest() (request *UnassociateDdosIpAddressRequest)
type UnassociateDdosIpAddressResponse ¶
type UnassociateDdosIpAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewUnassociateDdosIpAddressResponse ¶
func NewUnassociateDdosIpAddressResponse() (response *UnassociateDdosIpAddressResponse)
type UnassociateEipAddressRequest ¶
type UnassociateEipAddressRequest struct {
*common.BaseRequest
EipId string `json:"eipId,omitempty"`
}
func NewUnassociateEipAddressRequest ¶
func NewUnassociateEipAddressRequest() (request *UnassociateEipAddressRequest)
type UnassociateEipAddressResponse ¶
type UnassociateEipAddressResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewUnassociateEipAddressResponse ¶
func NewUnassociateEipAddressResponse() (response *UnassociateEipAddressResponse)
type UnbindCidrBlockIpsRequest ¶ added in v0.1.1
type UnbindCidrBlockIpsRequest struct {
*common.BaseRequest
CidrBlockId string `json:"cidrBlockId,omitempty"`
IpList []string `json:"ipList,omitempty"`
}
func NewUnbindCidrBlockIpsRequest ¶ added in v0.1.1
func NewUnbindCidrBlockIpsRequest() (request *UnbindCidrBlockIpsRequest)
type UnbindCidrBlockIpsResponse ¶ added in v0.1.1
type UnbindCidrBlockIpsResponse struct {
*common.BaseResponse
RequestId string `json:"requestId,omitempty"`
Response struct {
RequestId string `json:"requestId,omitempty"`
} `json:"response"`
}
func NewUnbindCidrBlockIpsResponse ¶ added in v0.1.1
func NewUnbindCidrBlockIpsResponse() (response *UnbindCidrBlockIpsResponse)
type VpcInfo ¶
type VpcInfo struct {
VpcId string `json:"vpcId,omitempty"`
VpcRegionId string `json:"vpcRegionId,omitempty"`
VpcRegionName string `json:"vpcRegionName,omitempty"`
VpcName string `json:"vpcName,omitempty"`
CidrBlock string `json:"cidrBlock,omitempty"`
ResourceGroupId string `json:"resourceGroupId,omitempty"`
ResourceGroupName string `json:"resourceGroupName,omitempty"`
CreateTime string `json:"createTime,omitempty"`
VpcStatus string `json:"vpcStatus,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.