CreateSlbInstance
CreateSlbInstance
/zstack/v1/load-balancers/slb/instancesOperation ID
CreateSlbInstanceSince
0.6Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
This API requires no request parameters.
Responses
200 OKOn success, this API returns the following response structure.
successbooleanRequiredWhether the operation succeeded.
errorErrorCodeRequiredThe error code. If not null, the operation fails, or vice versa. For more information, see error.
codeStringRequiredThe error code, which is a numbered or alphanumeric code that specifies an error. For example, SYS.1000, HOST.1001.
descriptionStringRequiredThe brief description of the error.
detailsStringRequiredThe details about the error.
elaborationStringRequiredThe reserved field. Default value: null.
opaqueLinkedHashMapRequiredThe reserved field. Default value: null.
causeErrorCodeRequiredThe root error, which is the associated root cause of the current error. If no root error exists, this parameter is null.
inventorySlbVmInstanceInventoryRequiredSee inventory.
slbGroupUuidStringRequiredThe slb group UUID.
configVersionlongRequiredThe config version.
publicNetworkUuidStringRequiredThe public network UUID.
virtualRouterVipsListRequiredThe virtual router vips.
applianceVmTypeStringRequiredThe appliance VM instance type.
managementNetworkUuidStringRequiredThe management network UUID.
defaultRouteL3NetworkUuidStringRequiredThe default route L3 network UUID.
statusStringRequiredThe resource status.
PendingSlbVmInstanceConfigTaskStatusRequiredThe Pending value.
StartingSlbVmInstanceConfigTaskStatusRequiredThe Starting value.
SuccessSlbVmInstanceConfigTaskStatusRequiredThe Success value.
FailedSlbVmInstanceConfigTaskStatusRequiredThe Failed value.
agentPortIntegerRequiredThe agent port.
haStatusStringRequiredThe HA status.
uuidStringRequiredThe Uuid.
nameStringRequiredThe resource name.
descriptionStringRequiredThe detailed description of the resource.
zoneUuidStringRequiredThe zone Uuid.
clusterUuidStringRequiredThe cluster Uuid.
imageUuidStringRequiredThe image Uuid.
hostUuidStringRequiredThe host Uuid.
lastHostUuidStringRequiredThe last host UUID.
instanceOfferingUuidStringRequiredThe instance offering Uuid.
rootVolumeUuidStringRequiredThe root Volume Uuid.
platformStringRequiredThe platform.
architectureStringRequiredThe architecture.
defaultL3NetworkUuidStringRequiredThe default L3 network UUID.
typeStringRequiredThe resource type.
hypervisorTypeStringRequiredThe hypervisor type.
memorySizeLongRequiredThe memory size.
reservedMemorySizeLongRequiredThe reserved memory size.
cpuNumIntegerRequiredThe number of CPUs.
cpuSpeedLongRequiredThe CPU speed.
allocatorStrategyStringRequiredThe allocator strategy.
createDateTimestampRequiredThe creation date.
lastOpDateTimestampRequiredThe last operation date.
stateStringRequiredThe resource state.
guestOsTypeStringRequiredThe guest OS type.
configTasksListRequiredSee configTasks.
vmInstanceUuidStringRequiredThe VM instance Uuid.
configVersionlongRequiredThe config version.
taskNameStringRequiredThe task name.
taskDataStringRequiredThe task data.
retryNumberlongRequiredThe number of retry.
lastFailedReasonStringRequiredThe last failed reason.
createDateTimestampRequiredThe creation date.
lastOpDateTimestampRequiredThe last creation date.
statusSlbVmInstanceConfigTaskStatusRequiredSee status.
PendingSlbVmInstanceConfigTaskStatusRequiredThe Pending value.
StartingSlbVmInstanceConfigTaskStatusRequiredThe Starting value.
SuccessSlbVmInstanceConfigTaskStatusRequiredThe Success value.
FailedSlbVmInstanceConfigTaskStatusRequiredThe Failed value.
vmNicsListRequiredSee vmNics.
uuidStringRequiredThe NIC UUID.
vmInstanceUuidStringRequiredThe VM instance UUID.
l3NetworkUuidStringRequiredThe L3 network UUID.
ipStringRequiredThe IP address of the NIC.
macStringRequiredThe MAC address of the NIC.
hypervisorTypeStringRequiredThe virtualization type.
netmaskStringRequiredThe netmask.
gatewayStringRequiredThe gateway IP address.
metaDataStringRequiredThe metadata.
ipVersionIntegerRequiredThe IP version.
deviceIdIntegerRequiredThe device ID.
typeStringRequiredThe NIC type.
stateStringRequiredThe NIC state.
createDateTimestampRequiredThe time when the NIC was created.
lastOpDateTimestampRequiredThe time when the NIC was last modified.
usedIpsListRequiredSee usedIps.
uuidStringRequiredThe IP address UUID.
ipRangeUuidStringRequiredThe IP range UUID.
l3NetworkUuidStringRequiredThe L3 network UUID.
ipVersionIntegerRequiredThe IP version.
ipStringRequiredThe IP address.
netmaskStringRequiredThe netmask.
gatewayStringRequiredThe gateway IP address.
usedForStringRequiredThe intended use.
ipInLonglongRequiredThe IP address represented as a long integer.
ipInBinarybyte[]RequiredThe IP in binary.
vmNicUuidStringRequiredThe VM Nic Uuid.
createDateTimestampRequiredThe time when the IP address was used.
lastOpDateTimestampRequiredThe time when the was last modified.
allVolumesListRequiredSee allVolumes.
uuidStringRequiredThe volume UUID.
nameStringRequiredThe volume name.
descriptionStringRequiredThe detailed description of the volume.
primaryStorageUuidStringRequiredThe primary storage UUID.
vmInstanceUuidStringRequiredThe bare metal instance UUID.
diskOfferingUuidStringRequiredThe volume offering UUID.
rootImageUuidStringRequiredThe root image UUID.
installPathStringRequiredThe installation path of the volume in the primary storage.
typeStringRequiredThe type of the volume.
formatStringRequiredThe format of the volume.
sizeLongRequiredThe size of the volume.
actualSizeLongRequiredThe actual storage space that the volume takes up.
deviceIdIntegerRequiredThe device ID.
stateStringRequiredThe state of the volume.
statusStringRequiredThe status of the volume.
PendingSlbVmInstanceConfigTaskStatusRequiredThe Pending value.
StartingSlbVmInstanceConfigTaskStatusRequiredThe Starting value.
SuccessSlbVmInstanceConfigTaskStatusRequiredThe Success value.
FailedSlbVmInstanceConfigTaskStatusRequiredThe Failed value.
createDateTimestampRequiredThe time when the volume was created.
lastOpDateTimestampRequiredThe time when the volume was last modified.
isShareableBooleanRequiredIndicates whether the volume is shareable.
volumeQosStringRequiredThe QoS of the volume, for example, 1048576.
lastDetachDateTimestampRequiredThe last detach date.
lastVmInstanceUuidStringRequiredThe last VM instance UUID.
vmCdRomsListRequiredSee vmCdRoms.
uuidStringRequiredThe CD-ROM UUID.
vmInstanceUuidStringRequiredThe VM instance UUID.
deviceIdIntegerRequiredThe device ID.
isoUuidStringRequiredThe ISO image UUID.
isoInstallPathStringRequiredThe installation path of the ISO image.
nameStringRequiredThe CD-ROM name.
descriptionStringRequiredThe detailed description of the CD-ROM.
createDateTimestampRequiredThe time when the CD-ROM was created.
lastOpDateTimestampRequiredThe time when the CD-ROM was last modified.
