cloudspace

package
v0.0.0-...-933ec7c Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntiAffinityGroup

type AntiAffinityGroup struct{}

func (AntiAffinityGroup) Create

func (AntiAffinityGroup) Delete

func (AntiAffinityGroup) Read

func (AntiAffinityGroup) Update

func (AntiAffinityGroup) WireDependencies

type AntiAffinityGroupArgs

type AntiAffinityGroupArgs struct {
	URL          string `pulumi:"url" provider:"secret"`
	Token        string `pulumi:"token" provider:"secret"`
	CustomerID   string `pulumi:"customerID" provider:"secret"`
	CloudSpaceID string `pulumi:"cloudspace_id"`
	GroupID      string `pulumi:"group_id"`
	Spread       int    `pulumi:"spread"`
}

type AntiAffinityGroupState

type AntiAffinityGroupState struct {
	AntiAffinityGroupArgs
	URL          string `pulumi:"url"`
	Token        string `pulumi:"token"`
	CustomerID   string `pulumi:"customerID"`
	CloudSpaceID string `json:"cloudspace_id" pulumi:"cloudspace_id"`
	GroupID      string `json:"group_id" pulumi:"group_id"`
	Spread       int    `json:"spread" pulumi:"spread"`
	Status       string `json:"status" pulumi:"status"`
}

type ConnectedCloudspace

type ConnectedCloudspace struct{}

func (ConnectedCloudspace) Create

func (ConnectedCloudspace) Delete

func (ConnectedCloudspace) Update

func (ConnectedCloudspace) WireDependencies

type ConnectedCloudspaceArgs

type ConnectedCloudspaceArgs struct {
	URL                   string `pulumi:"url" provider:"secret"`
	Token                 string `pulumi:"token" provider:"secret"`
	CustomerID            string `pulumi:"customerID" provider:"secret"`
	CloudSpaceID          string `pulumi:"cloudspace_id"`
	ConnectedCloudSpaceID string `pulumi:"connected_cloudspace_id"`
	RemoteCloudSpaceIP    string `pulumi:"remote_cloudspace_ip "`
	LocalCloudSpaceIP     string `pulumi:"local_cloudspace_ip "`
}

type ConnectedCloudspaceState

type ConnectedCloudspaceState struct {
	ConnectedCloudspaceArgs
	URL                   string `pulumi:"url"`
	Token                 string `pulumi:"token"`
	CustomerID            string `pulumi:"customerID"`
	CloudSpaceID          string `pulumi:"cloudspace_id"`
	ConnectedCloudSpaceID string `json:"connected_cloudspace_id" pulumi:"connected_cloudspace_id"`
	RemoteCloudSpaceIP    string `json:"remote_cloudspace_ip" pulumi:"remote_cloudspace_ip"`
	LocalCloudSpaceIP     string `json:"local_cloudspace_ip" pulumi:"local_cloudspace_ip"`
	Status                string `json:"status" pulumi:"status"`
}

type CpuTopology

type CpuTopology struct {
	Cores   int `pulumi:"cores" json:"cores"`
	Threads int `pulumi:"threads" json:"threads"`
	Sockets int `pulumi:"sockets" json:"sockets"`
}

type ExternalNetwork

type ExternalNetwork struct{}

func (ExternalNetwork) Create

func (ExternalNetwork) Delete

func (ExternalNetwork) Delete(ctx p.Context, id string, state ExternalNetworkState) error

func (ExternalNetwork) Update

func (ExternalNetwork) WireDependencies

func (ex ExternalNetwork) WireDependencies(f infer.FieldSelector, args *ExternalNetworkArgs, state *ExternalNetworkState)

type ExternalNetworkArgs

type ExternalNetworkArgs struct {
	URL                 string `pulumi:"url" provider:"secret"`
	Token               string `pulumi:"token" provider:"secret"`
	CustomerID          string `pulumi:"customerID" provider:"secret"`
	CloudSpaceID        string `pulumi:"cloudspace_id"`
	ExternalNetworkID   string `pulumi:"external_network_id" provider:"ignoreOnChanges"`
	ExternalNetworkType string `pulumi:"external_network_type" provider:"ignoreOnChanges"`
	Metric              int    `pulumi:"metric"`
	ExternalNetworkIP   string `pulumi:"external_network_ip" provider:"ignoreOnChanges"`
}

type ExternalNetworkState

type ExternalNetworkState struct {
	ExternalNetworkArgs
	URL               string `pulumi:"url"`
	Token             string `pulumi:"token"`
	CustomerID        string `pulumi:"customerID"`
	CloudSpaceID      string `pulumi:"cloudspace_id"`
	ExternalNetworkID string `pulumi:"external_network_id"`
	Metric            int    `pulumi:"metric"`
	ExternalNetworkIP string `pulumi:"external_network_ip"`
}

type NetworkInterface

type NetworkInterface struct {
	DeviceName           string `pulumi:"device_name" json:"device_name"`
	MacAddress           string `pulumi:"mac_address" json:"mac_address"`
	IPAddress            string `pulumi:"ip_address" json:"ip_address"`
	NetworkID            int    `pulumi:"network_id" json:"network_id"`
	NicType              string `pulumi:"nic_type" json:"nic_type"`
	Model                string `pulumi:"model" json:"model"`
	ExternalCloudspaceID string `pulumi:"external_cloudspace_id,optional" json:"external_cloudspace_id"`
}

type OsAccount

type OsAccount struct {
	Login    string `pulumi:"login" json:"login"`
	Password string `pulumi:"password" json:"password"`
}

type PortForward

type PortForward struct{}

func (PortForward) Create

func (pf PortForward) Create(ctx p.Context, name string, input PortForwardArgs, preview bool) (string, PortForwardState, error)

func (PortForward) Delete

func (PortForward) Delete(ctx p.Context, id string, state PortForwardState) error

func (PortForward) Read

func (PortForward) Update

func (pf PortForward) Update(ctx p.Context, id string, state PortForwardState, input PortForwardArgs, preview bool) (PortForwardState, error)

func (PortForward) WireDependencies

func (pf PortForward) WireDependencies(f infer.FieldSelector, args *PortForwardArgs, state *PortForwardState)

type PortForwardArgs

type PortForwardArgs struct {
	URL              string  `pulumi:"url" provider:"secret"`
	Token            string  `pulumi:"token" provider:"secret"`
	CustomerID       string  `pulumi:"customerID" provider:"secret"`
	CloudSpaceID     string  `pulumi:"cloudspace_id"`
	LocalPort        int     `pulumi:"local_port"`
	PublicPort       int     `pulumi:"public_port"`
	Protocol         string  `pulumi:"protocol"`
	VirtualMachineID int     `pulumi:"vm_id"`
	PublicIP         string  `pulumi:"public_ip"`
	TillPublicPort   *int    `pulumi:"till_public_port,optional"`
	NestedCSID       *string `pulumi:"nested_cs_id,optional"`
}

type PortForwardState

type PortForwardState struct {
	PortForwardArgs
	URL              string  `pulumi:"url"`
	Token            string  `pulumi:"token"`
	CustomerID       string  `pulumi:"customerID"`
	CloudSpaceID     string  `pulumi:"cloudspace_id"`
	PortForwardID    string  `json:"portforward_id" pulumi:"portforward_id"`
	LocalPort        int     `json:"local_port" pulumi:"local_port"`
	PublicPort       int     `json:"public_port" pulumi:"public_port"`
	Protocol         string  `json:"protocol" pulumi:"protocol"`
	VirtualMachineID int     `json:"vm_id" pulumi:"vm_id"`
	PublicIP         string  `json:"public_ip" pulumi:"public_ip"`
	TillPublicPort   *int    `json:"till_public_port" pulumi:"till_public_port,optional"`
	NestedCSID       *string `json:"nested_cloudspace_id" pulumi:"nested_cs_id,optional"`
}

type VirtualMachine

type VirtualMachine struct{}

func (VirtualMachine) Create

func (vm VirtualMachine) Create(ctx p.Context, name string, input VirtualMachineArgs, preview bool) (string, VirtualMachineState, error)

func (VirtualMachine) Delete

func (VirtualMachine) Delete(ctx p.Context, id string, state VirtualMachineState) error

func (VirtualMachine) Read

func (VirtualMachine) Update

func (VirtualMachine) WireDependencies

func (vm VirtualMachine) WireDependencies(f infer.FieldSelector, args *VirtualMachineArgs, state *VirtualMachineState)

type VirtualMachineArgs

type VirtualMachineArgs struct {
	URL           string  `pulumi:"url" provider:"secret"`
	Token         string  `pulumi:"token" provider:"secret"`
	CustomerID    string  `pulumi:"customerID" provider:"secret"`
	CloudSpaceID  string  `pulumi:"cloudspace_id"`
	Name          string  `pulumi:"name"`
	Description   string  `pulumi:"description"`
	DataDisks     *[]int  `pulumi:"data_disks,optional"`
	Vcpus         int     `pulumi:"vcpus"`
	Memory        int     `pulumi:"memory"`
	PrivateIP     *string `pulumi:"private_ip,optional"`
	UserData      *string `pulumi:"user_data,optional"`
	ImageID       *int    `pulumi:"image_id,optional"`
	DiskSize      *int    `pulumi:"disk_size,optional"`
	CdromID       *int    `pulumi:"cdrom_id,optional"`
	BootDiskID    *int    `pulumi:"boot_disk_id,optional"`
	OsType        *string `pulumi:"os_type,optional"`
	OsName        *string `pulumi:"os_name,optional"`
	EnableVMAgent *bool   `pulumi:"enable_vm_agent,optional"`
	SnapshotID    *string `pulumi:"snapshot_id,optional"`
	AllVMDisks    *bool   `pulumi:"all_vm_disks,optional"`
	Acronis       *bool   `pulumi:"acronis,optional"`
	BootType      *string `pulumi:"boot_type,optional"`
}

type VirtualMachineState

type VirtualMachineState struct {
	VirtualMachineArgs
	URL               string             `pulumi:"url"`
	Token             string             `pulumi:"token"`
	CustomerID        string             `pulumi:"customerID"`
	CloudSpaceID      string             `pulumi:"cloudspace_id"`
	VirtualMachineID  int                `pulumi:"vm_id" json:"vm_id"`
	Name              string             `pulumi:"name" json:"name"`
	Description       string             `pulumi:"description" json:"description"`
	BootDiskID        int                `pulumi:"boot_disk_id" json:"boot_disk_id"`
	CloudspaceID      string             `pulumi:"cloudspace_id" json:"cloudspace_id"`
	Status            string             `pulumi:"status" json:"status"`
	UpdateTime        float64            `pulumi:"update_time" json:"update_time"`
	CreationTime      float64            `pulumi:"creation_time" json:"creation_time"`
	Vcpus             int                `pulumi:"vcpus" json:"vcpus"`
	Storage           int                `pulumi:"storage" json:"storage"`
	Memory            int                `pulumi:"memory" json:"memory"`
	AgentStatus       string             `pulumi:"agent_status" json:"agent_status"`
	ImageID           int                `pulumi:"image_id" json:"image_id"`
	Locked            bool               `pulumi:"locked" json:"locked"`
	StackID           int                `pulumi:"stack_id" json:"stack_id"`
	ImpactAlertHook   string             `pulumi:"impact_alert_hook,optional" json:"impact_alert_hook"`
	OsImageName       string             `pulumi:"os_image_name" json:"os_image_name"`
	Hostname          string             `pulumi:"hostname" json:"hostname"`
	Disks             []VmDisk           `pulumi:"disks" json:"disks"`
	OsAccounts        []OsAccount        `pulumi:"os_accounts" json:"os_accounts"`
	NetworkInterfaces []NetworkInterface `pulumi:"network_interfaces" json:"network_interfaces"`
	Appliance         bool               `pulumi:"appliance" json:"appliance"`
	CpusPinStatus     bool               `pulumi:"cpus_pin_status" json:"cpus_pin_status"`
	BootType          string             `pulumi:"boot_type" json:"boot_type"`
	CpuTopology       CpuTopology        `pulumi:"cpu_topology" json:"cpu_topology"`
}

type VmDisk

type VmDisk struct {
	Status      string `pulumi:"status" json:"status"`
	DiskSize    int    `pulumi:"disk_size" json:"disk_size"`
	DiskName    string `pulumi:"disk_name" json:"disk_name"`
	Description string `pulumi:"description" json:"description"`
	Exposed     bool   `pulumi:"exposed" json:"exposed"`
	PciBus      int    `pulumi:"pci_bus" json:"pci_bus"`
	PciSlot     int    `pulumi:"pci_slot" json:"pci_slot"`
	DiskID      int    `pulumi:"disk_id" json:"disk_id"`
	DiskType    string `pulumi:"disk_type" json:"disk_type"`
	Order       string `pulumi:"order" json:"order"`
}

Jump to

Keyboard shortcuts

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