hpegl.VmaasInstance
Explore with Pulumi AI
Example Usage
Creating New Instance With Only Required Attributes
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
// minimal instance creation
const minimalInstance = new hpegl.VmaasInstance("minimalInstance", {
    cloudId: data.hpegl_vmaas_cloud.cloud.id,
    groupId: data.hpegl_vmaas_group.default_group.id,
    layoutId: data.hpegl_vmaas_layout.vmware_centos.id,
    planId: data.hpegl_vmaas_plan.g1_small.id,
    instanceTypeCode: data.hpegl_vmaas_layout.vmware_centos.instance_type_code,
    networks: [{
        id: data.hpegl_vmaas_network.blue_net.id,
    }],
    volumes: [{
        name: "root_vol",
        size: 5,
        datastoreId: data.hpegl_vmaas_datastore.c_3par.id,
    }],
    configs: [{
        resourcePoolId: data.hpegl_vmaas_resource_pool.cl_resource_pool.id,
        folderCode: data.hpegl_vmaas_cloud_folder.compute_folder.code,
    }],
    environmentCode: data.hpegl_vmaas_environment.dev.code,
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# minimal instance creation
minimal_instance = hpegl.VmaasInstance("minimalInstance",
    cloud_id=data["hpegl_vmaas_cloud"]["cloud"]["id"],
    group_id=data["hpegl_vmaas_group"]["default_group"]["id"],
    layout_id=data["hpegl_vmaas_layout"]["vmware_centos"]["id"],
    plan_id=data["hpegl_vmaas_plan"]["g1_small"]["id"],
    instance_type_code=data["hpegl_vmaas_layout"]["vmware_centos"]["instance_type_code"],
    networks=[{
        "id": data["hpegl_vmaas_network"]["blue_net"]["id"],
    }],
    volumes=[{
        "name": "root_vol",
        "size": 5,
        "datastore_id": data["hpegl_vmaas_datastore"]["c_3par"]["id"],
    }],
    configs=[{
        "resource_pool_id": data["hpegl_vmaas_resource_pool"]["cl_resource_pool"]["id"],
        "folder_code": data["hpegl_vmaas_cloud_folder"]["compute_folder"]["code"],
    }],
    environment_code=data["hpegl_vmaas_environment"]["dev"]["code"])
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
		// minimal instance creation
		_, err := hpegl.NewVmaasInstance(ctx, "minimalInstance", &hpegl.VmaasInstanceArgs{
			CloudId:          pulumi.Any(data.Hpegl_vmaas_cloud.Cloud.Id),
			GroupId:          pulumi.Any(data.Hpegl_vmaas_group.Default_group.Id),
			LayoutId:         pulumi.Any(data.Hpegl_vmaas_layout.Vmware_centos.Id),
			PlanId:           pulumi.Any(data.Hpegl_vmaas_plan.G1_small.Id),
			InstanceTypeCode: pulumi.Any(data.Hpegl_vmaas_layout.Vmware_centos.Instance_type_code),
			Networks: hpegl.VmaasInstanceNetworkArray{
				&hpegl.VmaasInstanceNetworkArgs{
					Id: pulumi.Any(data.Hpegl_vmaas_network.Blue_net.Id),
				},
			},
			Volumes: hpegl.VmaasInstanceVolumeArray{
				&hpegl.VmaasInstanceVolumeArgs{
					Name:        pulumi.String("root_vol"),
					Size:        pulumi.Float64(5),
					DatastoreId: pulumi.Any(data.Hpegl_vmaas_datastore.C_3par.Id),
				},
			},
			Configs: hpegl.VmaasInstanceConfigArray{
				&hpegl.VmaasInstanceConfigArgs{
					ResourcePoolId: pulumi.Any(data.Hpegl_vmaas_resource_pool.Cl_resource_pool.Id),
					FolderCode:     pulumi.Any(data.Hpegl_vmaas_cloud_folder.Compute_folder.Code),
				},
			},
			EnvironmentCode: pulumi.Any(data.Hpegl_vmaas_environment.Dev.Code),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hpegl = Pulumi.Hpegl;
return await Deployment.RunAsync(() => 
{
    // (C) Copyright 2021 Hewlett Packard Enterprise Development LP
    // minimal instance creation
    var minimalInstance = new Hpegl.VmaasInstance("minimalInstance", new()
    {
        CloudId = data.Hpegl_vmaas_cloud.Cloud.Id,
        GroupId = data.Hpegl_vmaas_group.Default_group.Id,
        LayoutId = data.Hpegl_vmaas_layout.Vmware_centos.Id,
        PlanId = data.Hpegl_vmaas_plan.G1_small.Id,
        InstanceTypeCode = data.Hpegl_vmaas_layout.Vmware_centos.Instance_type_code,
        Networks = new[]
        {
            new Hpegl.Inputs.VmaasInstanceNetworkArgs
            {
                Id = data.Hpegl_vmaas_network.Blue_net.Id,
            },
        },
        Volumes = new[]
        {
            new Hpegl.Inputs.VmaasInstanceVolumeArgs
            {
                Name = "root_vol",
                Size = 5,
                DatastoreId = data.Hpegl_vmaas_datastore.C_3par.Id,
            },
        },
        Configs = new[]
        {
            new Hpegl.Inputs.VmaasInstanceConfigArgs
            {
                ResourcePoolId = data.Hpegl_vmaas_resource_pool.Cl_resource_pool.Id,
                FolderCode = data.Hpegl_vmaas_cloud_folder.Compute_folder.Code,
            },
        },
        EnvironmentCode = data.Hpegl_vmaas_environment.Dev.Code,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hpegl.VmaasInstance;
import com.pulumi.hpegl.VmaasInstanceArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceNetworkArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceVolumeArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        // (C) Copyright 2021 Hewlett Packard Enterprise Development LP
        // minimal instance creation
        var minimalInstance = new VmaasInstance("minimalInstance", VmaasInstanceArgs.builder()
            .cloudId(data.hpegl_vmaas_cloud().cloud().id())
            .groupId(data.hpegl_vmaas_group().default_group().id())
            .layoutId(data.hpegl_vmaas_layout().vmware_centos().id())
            .planId(data.hpegl_vmaas_plan().g1_small().id())
            .instanceTypeCode(data.hpegl_vmaas_layout().vmware_centos().instance_type_code())
            .networks(VmaasInstanceNetworkArgs.builder()
                .id(data.hpegl_vmaas_network().blue_net().id())
                .build())
            .volumes(VmaasInstanceVolumeArgs.builder()
                .name("root_vol")
                .size(5)
                .datastoreId(data.hpegl_vmaas_datastore().c_3par().id())
                .build())
            .configs(VmaasInstanceConfigArgs.builder()
                .resourcePoolId(data.hpegl_vmaas_resource_pool().cl_resource_pool().id())
                .folderCode(data.hpegl_vmaas_cloud_folder().compute_folder().code())
                .build())
            .environmentCode(data.hpegl_vmaas_environment().dev().code())
            .build());
    }
}
resources:
  # (C) Copyright 2021 Hewlett Packard Enterprise Development LP
  # minimal instance creation
  minimalInstance:
    type: hpegl:VmaasInstance
    properties:
      cloudId: ${data.hpegl_vmaas_cloud.cloud.id}
      groupId: ${data.hpegl_vmaas_group.default_group.id}
      layoutId: ${data.hpegl_vmaas_layout.vmware_centos.id}
      planId: ${data.hpegl_vmaas_plan.g1_small.id}
      instanceTypeCode: ${data.hpegl_vmaas_layout.vmware_centos.instance_type_code}
      networks:
        - id: ${data.hpegl_vmaas_network.blue_net.id}
      volumes:
        - name: root_vol
          size: 5
          datastoreId: ${data.hpegl_vmaas_datastore.c_3par.id}
      configs:
        - resourcePoolId: ${data.hpegl_vmaas_resource_pool.cl_resource_pool.id}
          folderCode: ${data.hpegl_vmaas_cloud_folder.compute_folder.code}
      environmentCode: ${data.hpegl_vmaas_environment.dev.code}
powerattribute is supported forhpegl.VmaasInstance, but onlypoweronoperation is supported while creating.
For creating snapshot use snapshot attribute. Any update in snapshot’s name or description
will result in the creation of a new snapshot.
Reconfiguring an instance causes the snapshot to be deleted.
is_snapshot_exist field in snapshot will be true if the snapshot exists under an instance. Use
this field to identify whether snapshot got deleted (because of reconfigure or anything else).
Snapshot update, apply and delete is not supported yet.
Creating New Instance With All Possible Attributes
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP
// create instance with all possible options
const tfInstance = new hpegl.VmaasInstance("tfInstance", {
    cloudId: data.hpegl_vmaas_cloud.cloud.id,
    groupId: data.hpegl_vmaas_group.default_group.id,
    layoutId: data.hpegl_vmaas_layout.vmware.id,
    planId: data.hpegl_vmaas_plan.g1_small.id,
    instanceTypeCode: data.hpegl_vmaas_layout.vmware.instance_type_code,
    networks: [
        {
            id: data.hpegl_vmaas_network.blue_net.id,
        },
        {
            id: data.hpegl_vmaas_network.green_net.id,
        },
    ],
    volumes: [
        {
            name: "root_vol",
            size: 5,
            datastoreId: data.hpegl_vmaas_datastore.c_3par.id,
            storageType: data.hpegl_vmaas_instance_disk_type.vmaas_cloud_vmware_thin_lazy.id,
        },
        {
            name: "local_vol",
            size: 5,
            datastoreId: data.hpegl_vmaas_datastore.c_3par.id,
            storageType: data.hpegl_vmaas_instance_disk_type.vmware_thin.id,
            controller: data.hpegl_vmaas_instance_storage_controller.scsi_0.id,
        },
        {
            name: "data_vol",
            size: 5,
            datastoreId: data.hpegl_vmaas_datastore.c_3par.id,
            storageType: data.hpegl_vmaas_instance_disk_type.vmware_thin.id,
            controller: data.hpegl_vmaas_instance_storage_controller.scsi_0.id,
        },
    ],
    labels: ["test_label"],
    tags: {
        key: "value",
        name: "data",
        some: "random",
    },
    configs: [{
        resourcePoolId: data.hpegl_vmaas_resource_pool.cl_resource_pool.id,
        templateId: data.hpegl_vmaas_template.vanilla.id,
        noAgent: true,
        assetTag: "vm_tag",
        folderCode: data.hpegl_vmaas_cloud_folder.compute_folder.code,
        createUser: true,
    }],
    hostname: "tf_host_1",
    scale: 2,
    evars: {
        proxy: "http://address:port",
    },
    envPrefix: "tf_test",
    powerScheduleId: data.hpegl_vmaas_power_schedule.weekday.id,
    ports: [{
        name: "nginx",
        port: "80",
        lb: "No LB",
    }],
    environmentCode: data.hpegl_vmaas_environment.dev.code,
    power: "poweron",
    restartInstance: 1,
    snapshot: {
        name: "test_snapshot_1",
        description: "test snapshot description is optional",
    },
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP
# create instance with all possible options
tf_instance = hpegl.VmaasInstance("tfInstance",
    cloud_id=data["hpegl_vmaas_cloud"]["cloud"]["id"],
    group_id=data["hpegl_vmaas_group"]["default_group"]["id"],
    layout_id=data["hpegl_vmaas_layout"]["vmware"]["id"],
    plan_id=data["hpegl_vmaas_plan"]["g1_small"]["id"],
    instance_type_code=data["hpegl_vmaas_layout"]["vmware"]["instance_type_code"],
    networks=[
        {
            "id": data["hpegl_vmaas_network"]["blue_net"]["id"],
        },
        {
            "id": data["hpegl_vmaas_network"]["green_net"]["id"],
        },
    ],
    volumes=[
        {
            "name": "root_vol",
            "size": 5,
            "datastore_id": data["hpegl_vmaas_datastore"]["c_3par"]["id"],
            "storage_type": data["hpegl_vmaas_instance_disk_type"]["vmaas_cloud_vmware_thin_lazy"]["id"],
        },
        {
            "name": "local_vol",
            "size": 5,
            "datastore_id": data["hpegl_vmaas_datastore"]["c_3par"]["id"],
            "storage_type": data["hpegl_vmaas_instance_disk_type"]["vmware_thin"]["id"],
            "controller": data["hpegl_vmaas_instance_storage_controller"]["scsi_0"]["id"],
        },
        {
            "name": "data_vol",
            "size": 5,
            "datastore_id": data["hpegl_vmaas_datastore"]["c_3par"]["id"],
            "storage_type": data["hpegl_vmaas_instance_disk_type"]["vmware_thin"]["id"],
            "controller": data["hpegl_vmaas_instance_storage_controller"]["scsi_0"]["id"],
        },
    ],
    labels=["test_label"],
    tags={
        "key": "value",
        "name": "data",
        "some": "random",
    },
    configs=[{
        "resource_pool_id": data["hpegl_vmaas_resource_pool"]["cl_resource_pool"]["id"],
        "template_id": data["hpegl_vmaas_template"]["vanilla"]["id"],
        "no_agent": True,
        "asset_tag": "vm_tag",
        "folder_code": data["hpegl_vmaas_cloud_folder"]["compute_folder"]["code"],
        "create_user": True,
    }],
    hostname="tf_host_1",
    scale=2,
    evars={
        "proxy": "http://address:port",
    },
    env_prefix="tf_test",
    power_schedule_id=data["hpegl_vmaas_power_schedule"]["weekday"]["id"],
    ports=[{
        "name": "nginx",
        "port": "80",
        "lb": "No LB",
    }],
    environment_code=data["hpegl_vmaas_environment"]["dev"]["code"],
    power="poweron",
    restart_instance=1,
    snapshot={
        "name": "test_snapshot_1",
        "description": "test snapshot description is optional",
    })
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP
		// create instance with all possible options
		_, err := hpegl.NewVmaasInstance(ctx, "tfInstance", &hpegl.VmaasInstanceArgs{
			CloudId:          pulumi.Any(data.Hpegl_vmaas_cloud.Cloud.Id),
			GroupId:          pulumi.Any(data.Hpegl_vmaas_group.Default_group.Id),
			LayoutId:         pulumi.Any(data.Hpegl_vmaas_layout.Vmware.Id),
			PlanId:           pulumi.Any(data.Hpegl_vmaas_plan.G1_small.Id),
			InstanceTypeCode: pulumi.Any(data.Hpegl_vmaas_layout.Vmware.Instance_type_code),
			Networks: hpegl.VmaasInstanceNetworkArray{
				&hpegl.VmaasInstanceNetworkArgs{
					Id: pulumi.Any(data.Hpegl_vmaas_network.Blue_net.Id),
				},
				&hpegl.VmaasInstanceNetworkArgs{
					Id: pulumi.Any(data.Hpegl_vmaas_network.Green_net.Id),
				},
			},
			Volumes: hpegl.VmaasInstanceVolumeArray{
				&hpegl.VmaasInstanceVolumeArgs{
					Name:        pulumi.String("root_vol"),
					Size:        pulumi.Float64(5),
					DatastoreId: pulumi.Any(data.Hpegl_vmaas_datastore.C_3par.Id),
					StorageType: pulumi.Any(data.Hpegl_vmaas_instance_disk_type.Vmaas_cloud_vmware_thin_lazy.Id),
				},
				&hpegl.VmaasInstanceVolumeArgs{
					Name:        pulumi.String("local_vol"),
					Size:        pulumi.Float64(5),
					DatastoreId: pulumi.Any(data.Hpegl_vmaas_datastore.C_3par.Id),
					StorageType: pulumi.Any(data.Hpegl_vmaas_instance_disk_type.Vmware_thin.Id),
					Controller:  pulumi.Any(data.Hpegl_vmaas_instance_storage_controller.Scsi_0.Id),
				},
				&hpegl.VmaasInstanceVolumeArgs{
					Name:        pulumi.String("data_vol"),
					Size:        pulumi.Float64(5),
					DatastoreId: pulumi.Any(data.Hpegl_vmaas_datastore.C_3par.Id),
					StorageType: pulumi.Any(data.Hpegl_vmaas_instance_disk_type.Vmware_thin.Id),
					Controller:  pulumi.Any(data.Hpegl_vmaas_instance_storage_controller.Scsi_0.Id),
				},
			},
			Labels: pulumi.StringArray{
				pulumi.String("test_label"),
			},
			Tags: pulumi.StringMap{
				"key":  pulumi.String("value"),
				"name": pulumi.String("data"),
				"some": pulumi.String("random"),
			},
			Configs: hpegl.VmaasInstanceConfigArray{
				&hpegl.VmaasInstanceConfigArgs{
					ResourcePoolId: pulumi.Any(data.Hpegl_vmaas_resource_pool.Cl_resource_pool.Id),
					TemplateId:     pulumi.Any(data.Hpegl_vmaas_template.Vanilla.Id),
					NoAgent:        pulumi.Bool(true),
					AssetTag:       pulumi.String("vm_tag"),
					FolderCode:     pulumi.Any(data.Hpegl_vmaas_cloud_folder.Compute_folder.Code),
					CreateUser:     pulumi.Bool(true),
				},
			},
			Hostname: pulumi.String("tf_host_1"),
			Scale:    pulumi.Float64(2),
			Evars: pulumi.StringMap{
				"proxy": pulumi.String("http://address:port"),
			},
			EnvPrefix:       pulumi.String("tf_test"),
			PowerScheduleId: pulumi.Any(data.Hpegl_vmaas_power_schedule.Weekday.Id),
			Ports: hpegl.VmaasInstancePortArray{
				&hpegl.VmaasInstancePortArgs{
					Name: pulumi.String("nginx"),
					Port: pulumi.String("80"),
					Lb:   pulumi.String("No LB"),
				},
			},
			EnvironmentCode: pulumi.Any(data.Hpegl_vmaas_environment.Dev.Code),
			Power:           pulumi.String("poweron"),
			RestartInstance: pulumi.Float64(1),
			Snapshot: &hpegl.VmaasInstanceSnapshotArgs{
				Name:        pulumi.String("test_snapshot_1"),
				Description: pulumi.String("test snapshot description is optional"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hpegl = Pulumi.Hpegl;
return await Deployment.RunAsync(() => 
{
    // (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP
    // create instance with all possible options
    var tfInstance = new Hpegl.VmaasInstance("tfInstance", new()
    {
        CloudId = data.Hpegl_vmaas_cloud.Cloud.Id,
        GroupId = data.Hpegl_vmaas_group.Default_group.Id,
        LayoutId = data.Hpegl_vmaas_layout.Vmware.Id,
        PlanId = data.Hpegl_vmaas_plan.G1_small.Id,
        InstanceTypeCode = data.Hpegl_vmaas_layout.Vmware.Instance_type_code,
        Networks = new[]
        {
            new Hpegl.Inputs.VmaasInstanceNetworkArgs
            {
                Id = data.Hpegl_vmaas_network.Blue_net.Id,
            },
            new Hpegl.Inputs.VmaasInstanceNetworkArgs
            {
                Id = data.Hpegl_vmaas_network.Green_net.Id,
            },
        },
        Volumes = new[]
        {
            new Hpegl.Inputs.VmaasInstanceVolumeArgs
            {
                Name = "root_vol",
                Size = 5,
                DatastoreId = data.Hpegl_vmaas_datastore.C_3par.Id,
                StorageType = data.Hpegl_vmaas_instance_disk_type.Vmaas_cloud_vmware_thin_lazy.Id,
            },
            new Hpegl.Inputs.VmaasInstanceVolumeArgs
            {
                Name = "local_vol",
                Size = 5,
                DatastoreId = data.Hpegl_vmaas_datastore.C_3par.Id,
                StorageType = data.Hpegl_vmaas_instance_disk_type.Vmware_thin.Id,
                Controller = data.Hpegl_vmaas_instance_storage_controller.Scsi_0.Id,
            },
            new Hpegl.Inputs.VmaasInstanceVolumeArgs
            {
                Name = "data_vol",
                Size = 5,
                DatastoreId = data.Hpegl_vmaas_datastore.C_3par.Id,
                StorageType = data.Hpegl_vmaas_instance_disk_type.Vmware_thin.Id,
                Controller = data.Hpegl_vmaas_instance_storage_controller.Scsi_0.Id,
            },
        },
        Labels = new[]
        {
            "test_label",
        },
        Tags = 
        {
            { "key", "value" },
            { "name", "data" },
            { "some", "random" },
        },
        Configs = new[]
        {
            new Hpegl.Inputs.VmaasInstanceConfigArgs
            {
                ResourcePoolId = data.Hpegl_vmaas_resource_pool.Cl_resource_pool.Id,
                TemplateId = data.Hpegl_vmaas_template.Vanilla.Id,
                NoAgent = true,
                AssetTag = "vm_tag",
                FolderCode = data.Hpegl_vmaas_cloud_folder.Compute_folder.Code,
                CreateUser = true,
            },
        },
        Hostname = "tf_host_1",
        Scale = 2,
        Evars = 
        {
            { "proxy", "http://address:port" },
        },
        EnvPrefix = "tf_test",
        PowerScheduleId = data.Hpegl_vmaas_power_schedule.Weekday.Id,
        Ports = new[]
        {
            new Hpegl.Inputs.VmaasInstancePortArgs
            {
                Name = "nginx",
                Port = "80",
                Lb = "No LB",
            },
        },
        EnvironmentCode = data.Hpegl_vmaas_environment.Dev.Code,
        Power = "poweron",
        RestartInstance = 1,
        Snapshot = new Hpegl.Inputs.VmaasInstanceSnapshotArgs
        {
            Name = "test_snapshot_1",
            Description = "test snapshot description is optional",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hpegl.VmaasInstance;
import com.pulumi.hpegl.VmaasInstanceArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceNetworkArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceVolumeArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceConfigArgs;
import com.pulumi.hpegl.inputs.VmaasInstancePortArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceSnapshotArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        // (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP
        // create instance with all possible options
        var tfInstance = new VmaasInstance("tfInstance", VmaasInstanceArgs.builder()
            .cloudId(data.hpegl_vmaas_cloud().cloud().id())
            .groupId(data.hpegl_vmaas_group().default_group().id())
            .layoutId(data.hpegl_vmaas_layout().vmware().id())
            .planId(data.hpegl_vmaas_plan().g1_small().id())
            .instanceTypeCode(data.hpegl_vmaas_layout().vmware().instance_type_code())
            .networks(            
                VmaasInstanceNetworkArgs.builder()
                    .id(data.hpegl_vmaas_network().blue_net().id())
                    .build(),
                VmaasInstanceNetworkArgs.builder()
                    .id(data.hpegl_vmaas_network().green_net().id())
                    .build())
            .volumes(            
                VmaasInstanceVolumeArgs.builder()
                    .name("root_vol")
                    .size(5)
                    .datastoreId(data.hpegl_vmaas_datastore().c_3par().id())
                    .storageType(data.hpegl_vmaas_instance_disk_type().vmaas_cloud_vmware_thin_lazy().id())
                    .build(),
                VmaasInstanceVolumeArgs.builder()
                    .name("local_vol")
                    .size(5)
                    .datastoreId(data.hpegl_vmaas_datastore().c_3par().id())
                    .storageType(data.hpegl_vmaas_instance_disk_type().vmware_thin().id())
                    .controller(data.hpegl_vmaas_instance_storage_controller().scsi_0().id())
                    .build(),
                VmaasInstanceVolumeArgs.builder()
                    .name("data_vol")
                    .size(5)
                    .datastoreId(data.hpegl_vmaas_datastore().c_3par().id())
                    .storageType(data.hpegl_vmaas_instance_disk_type().vmware_thin().id())
                    .controller(data.hpegl_vmaas_instance_storage_controller().scsi_0().id())
                    .build())
            .labels("test_label")
            .tags(Map.ofEntries(
                Map.entry("key", "value"),
                Map.entry("name", "data"),
                Map.entry("some", "random")
            ))
            .configs(VmaasInstanceConfigArgs.builder()
                .resourcePoolId(data.hpegl_vmaas_resource_pool().cl_resource_pool().id())
                .templateId(data.hpegl_vmaas_template().vanilla().id())
                .noAgent(true)
                .assetTag("vm_tag")
                .folderCode(data.hpegl_vmaas_cloud_folder().compute_folder().code())
                .createUser(true)
                .build())
            .hostname("tf_host_1")
            .scale(2)
            .evars(Map.of("proxy", "http://address:port"))
            .envPrefix("tf_test")
            .powerScheduleId(data.hpegl_vmaas_power_schedule().weekday().id())
            .ports(VmaasInstancePortArgs.builder()
                .name("nginx")
                .port(80)
                .lb("No LB")
                .build())
            .environmentCode(data.hpegl_vmaas_environment().dev().code())
            .power("poweron")
            .restartInstance(1)
            .snapshot(VmaasInstanceSnapshotArgs.builder()
                .name("test_snapshot_1")
                .description("test snapshot description is optional")
                .build())
            .build());
    }
}
resources:
  # (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP
  # create instance with all possible options
  tfInstance:
    type: hpegl:VmaasInstance
    properties:
      cloudId: ${data.hpegl_vmaas_cloud.cloud.id}
      groupId: ${data.hpegl_vmaas_group.default_group.id}
      layoutId: ${data.hpegl_vmaas_layout.vmware.id}
      planId: ${data.hpegl_vmaas_plan.g1_small.id}
      instanceTypeCode: ${data.hpegl_vmaas_layout.vmware.instance_type_code}
      networks:
        - id: ${data.hpegl_vmaas_network.blue_net.id}
        - id: ${data.hpegl_vmaas_network.green_net.id}
      volumes:
        - name: root_vol
          size: 5
          datastoreId: ${data.hpegl_vmaas_datastore.c_3par.id}
          storageType: ${data.hpegl_vmaas_instance_disk_type.vmaas_cloud_vmware_thin_lazy.id}
        - name: local_vol
          size: 5
          datastoreId: ${data.hpegl_vmaas_datastore.c_3par.id}
          storageType: ${data.hpegl_vmaas_instance_disk_type.vmware_thin.id}
          controller: ${data.hpegl_vmaas_instance_storage_controller.scsi_0.id}
        - name: data_vol
          size: 5
          datastoreId: ${data.hpegl_vmaas_datastore.c_3par.id}
          storageType: ${data.hpegl_vmaas_instance_disk_type.vmware_thin.id}
          controller: ${data.hpegl_vmaas_instance_storage_controller.scsi_0.id}
      labels:
        - test_label
      tags:
        key: value
        name: data
        some: random
      configs:
        - resourcePoolId: ${data.hpegl_vmaas_resource_pool.cl_resource_pool.id}
          templateId: ${data.hpegl_vmaas_template.vanilla.id}
          noAgent: true
          assetTag: vm_tag
          folderCode: ${data.hpegl_vmaas_cloud_folder.compute_folder.code}
          createUser: true
      hostname: tf_host_1
      scale: 2
      evars:
        proxy: http://address:port
      envPrefix: tf_test
      powerScheduleId: ${data.hpegl_vmaas_power_schedule.weekday.id}
      ports:
        - name: nginx
          port: 80
          lb: No LB
      environmentCode: ${data.hpegl_vmaas_environment.dev.code}
      # On creating only poweron operation is supported. Upon updation all other
      #   # lifecycle operations are permitted.
      power: poweron
      # Restarts the instance if set to any positive integer.
      #   # Restart works only on pre-created instance.`,
      restartInstance: 1
      snapshot:
        name: test_snapshot_1
        description: test snapshot description is optional
Create VmaasInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VmaasInstance(name: string, args: VmaasInstanceArgs, opts?: CustomResourceOptions);@overload
def VmaasInstance(resource_name: str,
                  args: VmaasInstanceArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def VmaasInstance(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  layout_id: Optional[float] = None,
                  configs: Optional[Sequence[VmaasInstanceConfigArgs]] = None,
                  volumes: Optional[Sequence[VmaasInstanceVolumeArgs]] = None,
                  plan_id: Optional[float] = None,
                  networks: Optional[Sequence[VmaasInstanceNetworkArgs]] = None,
                  group_id: Optional[float] = None,
                  cloud_id: Optional[float] = None,
                  instance_type_code: Optional[str] = None,
                  name: Optional[str] = None,
                  power_schedule_id: Optional[float] = None,
                  hostname: Optional[str] = None,
                  evars: Optional[Mapping[str, str]] = None,
                  environment_code: Optional[str] = None,
                  ports: Optional[Sequence[VmaasInstancePortArgs]] = None,
                  power: Optional[str] = None,
                  labels: Optional[Sequence[str]] = None,
                  restart_instance: Optional[float] = None,
                  scale: Optional[float] = None,
                  snapshot: Optional[VmaasInstanceSnapshotArgs] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  vmaas_instance_id: Optional[str] = None,
                  env_prefix: Optional[str] = None)func NewVmaasInstance(ctx *Context, name string, args VmaasInstanceArgs, opts ...ResourceOption) (*VmaasInstance, error)public VmaasInstance(string name, VmaasInstanceArgs args, CustomResourceOptions? opts = null)
public VmaasInstance(String name, VmaasInstanceArgs args)
public VmaasInstance(String name, VmaasInstanceArgs args, CustomResourceOptions options)
type: hpegl:VmaasInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VmaasInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VmaasInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VmaasInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VmaasInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VmaasInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vmaasInstanceResource = new Hpegl.VmaasInstance("vmaasInstanceResource", new()
{
    LayoutId = 0,
    Configs = new[]
    {
        new Hpegl.Inputs.VmaasInstanceConfigArgs
        {
            FolderCode = "string",
            ResourcePoolId = 0,
            AssetTag = "string",
            CreateUser = false,
            NoAgent = false,
            TemplateId = 0,
        },
    },
    Volumes = new[]
    {
        new Hpegl.Inputs.VmaasInstanceVolumeArgs
        {
            DatastoreId = "string",
            Name = "string",
            Size = 0,
            Controller = "string",
            Id = 0,
            Root = false,
            StorageType = 0,
        },
    },
    PlanId = 0,
    Networks = new[]
    {
        new Hpegl.Inputs.VmaasInstanceNetworkArgs
        {
            Id = 0,
            InterfaceId = 0,
            InternalId = 0,
            IsPrimary = false,
            Name = "string",
        },
    },
    GroupId = 0,
    CloudId = 0,
    InstanceTypeCode = "string",
    Name = "string",
    PowerScheduleId = 0,
    Hostname = "string",
    Evars = 
    {
        { "string", "string" },
    },
    EnvironmentCode = "string",
    Ports = new[]
    {
        new Hpegl.Inputs.VmaasInstancePortArgs
        {
            Lb = "string",
            Name = "string",
            Port = "string",
        },
    },
    Power = "string",
    Labels = new[]
    {
        "string",
    },
    RestartInstance = 0,
    Scale = 0,
    Snapshot = new Hpegl.Inputs.VmaasInstanceSnapshotArgs
    {
        Name = "string",
        Description = "string",
        Id = 0,
        IsSnapshotExists = false,
    },
    Tags = 
    {
        { "string", "string" },
    },
    VmaasInstanceId = "string",
    EnvPrefix = "string",
});
example, err := hpegl.NewVmaasInstance(ctx, "vmaasInstanceResource", &hpegl.VmaasInstanceArgs{
	LayoutId: pulumi.Float64(0),
	Configs: hpegl.VmaasInstanceConfigArray{
		&hpegl.VmaasInstanceConfigArgs{
			FolderCode:     pulumi.String("string"),
			ResourcePoolId: pulumi.Float64(0),
			AssetTag:       pulumi.String("string"),
			CreateUser:     pulumi.Bool(false),
			NoAgent:        pulumi.Bool(false),
			TemplateId:     pulumi.Float64(0),
		},
	},
	Volumes: hpegl.VmaasInstanceVolumeArray{
		&hpegl.VmaasInstanceVolumeArgs{
			DatastoreId: pulumi.String("string"),
			Name:        pulumi.String("string"),
			Size:        pulumi.Float64(0),
			Controller:  pulumi.String("string"),
			Id:          pulumi.Float64(0),
			Root:        pulumi.Bool(false),
			StorageType: pulumi.Float64(0),
		},
	},
	PlanId: pulumi.Float64(0),
	Networks: hpegl.VmaasInstanceNetworkArray{
		&hpegl.VmaasInstanceNetworkArgs{
			Id:          pulumi.Float64(0),
			InterfaceId: pulumi.Float64(0),
			InternalId:  pulumi.Float64(0),
			IsPrimary:   pulumi.Bool(false),
			Name:        pulumi.String("string"),
		},
	},
	GroupId:          pulumi.Float64(0),
	CloudId:          pulumi.Float64(0),
	InstanceTypeCode: pulumi.String("string"),
	Name:             pulumi.String("string"),
	PowerScheduleId:  pulumi.Float64(0),
	Hostname:         pulumi.String("string"),
	Evars: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	EnvironmentCode: pulumi.String("string"),
	Ports: hpegl.VmaasInstancePortArray{
		&hpegl.VmaasInstancePortArgs{
			Lb:   pulumi.String("string"),
			Name: pulumi.String("string"),
			Port: pulumi.String("string"),
		},
	},
	Power: pulumi.String("string"),
	Labels: pulumi.StringArray{
		pulumi.String("string"),
	},
	RestartInstance: pulumi.Float64(0),
	Scale:           pulumi.Float64(0),
	Snapshot: &hpegl.VmaasInstanceSnapshotArgs{
		Name:             pulumi.String("string"),
		Description:      pulumi.String("string"),
		Id:               pulumi.Float64(0),
		IsSnapshotExists: pulumi.Bool(false),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	VmaasInstanceId: pulumi.String("string"),
	EnvPrefix:       pulumi.String("string"),
})
var vmaasInstanceResource = new VmaasInstance("vmaasInstanceResource", VmaasInstanceArgs.builder()
    .layoutId(0.0)
    .configs(VmaasInstanceConfigArgs.builder()
        .folderCode("string")
        .resourcePoolId(0.0)
        .assetTag("string")
        .createUser(false)
        .noAgent(false)
        .templateId(0.0)
        .build())
    .volumes(VmaasInstanceVolumeArgs.builder()
        .datastoreId("string")
        .name("string")
        .size(0.0)
        .controller("string")
        .id(0.0)
        .root(false)
        .storageType(0.0)
        .build())
    .planId(0.0)
    .networks(VmaasInstanceNetworkArgs.builder()
        .id(0.0)
        .interfaceId(0.0)
        .internalId(0.0)
        .isPrimary(false)
        .name("string")
        .build())
    .groupId(0.0)
    .cloudId(0.0)
    .instanceTypeCode("string")
    .name("string")
    .powerScheduleId(0.0)
    .hostname("string")
    .evars(Map.of("string", "string"))
    .environmentCode("string")
    .ports(VmaasInstancePortArgs.builder()
        .lb("string")
        .name("string")
        .port("string")
        .build())
    .power("string")
    .labels("string")
    .restartInstance(0.0)
    .scale(0.0)
    .snapshot(VmaasInstanceSnapshotArgs.builder()
        .name("string")
        .description("string")
        .id(0.0)
        .isSnapshotExists(false)
        .build())
    .tags(Map.of("string", "string"))
    .vmaasInstanceId("string")
    .envPrefix("string")
    .build());
vmaas_instance_resource = hpegl.VmaasInstance("vmaasInstanceResource",
    layout_id=0,
    configs=[{
        "folder_code": "string",
        "resource_pool_id": 0,
        "asset_tag": "string",
        "create_user": False,
        "no_agent": False,
        "template_id": 0,
    }],
    volumes=[{
        "datastore_id": "string",
        "name": "string",
        "size": 0,
        "controller": "string",
        "id": 0,
        "root": False,
        "storage_type": 0,
    }],
    plan_id=0,
    networks=[{
        "id": 0,
        "interface_id": 0,
        "internal_id": 0,
        "is_primary": False,
        "name": "string",
    }],
    group_id=0,
    cloud_id=0,
    instance_type_code="string",
    name="string",
    power_schedule_id=0,
    hostname="string",
    evars={
        "string": "string",
    },
    environment_code="string",
    ports=[{
        "lb": "string",
        "name": "string",
        "port": "string",
    }],
    power="string",
    labels=["string"],
    restart_instance=0,
    scale=0,
    snapshot={
        "name": "string",
        "description": "string",
        "id": 0,
        "is_snapshot_exists": False,
    },
    tags={
        "string": "string",
    },
    vmaas_instance_id="string",
    env_prefix="string")
const vmaasInstanceResource = new hpegl.VmaasInstance("vmaasInstanceResource", {
    layoutId: 0,
    configs: [{
        folderCode: "string",
        resourcePoolId: 0,
        assetTag: "string",
        createUser: false,
        noAgent: false,
        templateId: 0,
    }],
    volumes: [{
        datastoreId: "string",
        name: "string",
        size: 0,
        controller: "string",
        id: 0,
        root: false,
        storageType: 0,
    }],
    planId: 0,
    networks: [{
        id: 0,
        interfaceId: 0,
        internalId: 0,
        isPrimary: false,
        name: "string",
    }],
    groupId: 0,
    cloudId: 0,
    instanceTypeCode: "string",
    name: "string",
    powerScheduleId: 0,
    hostname: "string",
    evars: {
        string: "string",
    },
    environmentCode: "string",
    ports: [{
        lb: "string",
        name: "string",
        port: "string",
    }],
    power: "string",
    labels: ["string"],
    restartInstance: 0,
    scale: 0,
    snapshot: {
        name: "string",
        description: "string",
        id: 0,
        isSnapshotExists: false,
    },
    tags: {
        string: "string",
    },
    vmaasInstanceId: "string",
    envPrefix: "string",
});
type: hpegl:VmaasInstance
properties:
    cloudId: 0
    configs:
        - assetTag: string
          createUser: false
          folderCode: string
          noAgent: false
          resourcePoolId: 0
          templateId: 0
    envPrefix: string
    environmentCode: string
    evars:
        string: string
    groupId: 0
    hostname: string
    instanceTypeCode: string
    labels:
        - string
    layoutId: 0
    name: string
    networks:
        - id: 0
          interfaceId: 0
          internalId: 0
          isPrimary: false
          name: string
    planId: 0
    ports:
        - lb: string
          name: string
          port: string
    power: string
    powerScheduleId: 0
    restartInstance: 0
    scale: 0
    snapshot:
        description: string
        id: 0
        isSnapshotExists: false
        name: string
    tags:
        string: string
    vmaasInstanceId: string
    volumes:
        - controller: string
          datastoreId: string
          id: 0
          name: string
          root: false
          size: 0
          storageType: 0
VmaasInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VmaasInstance resource accepts the following input properties:
- CloudId double
- Unique ID to identify a cloud.
- Configs
List<VmaasInstance Config> 
- Configuration details for the instance to be provisioned.
- GroupId double
- Unique ID to identify a group.
- InstanceType stringCode 
- Unique code to identify the instance type.
- LayoutId double
- Unique ID to identify a layout.
- Networks
List<VmaasInstance Network> 
- Details of the network to which the instance should belong.
- PlanId double
- Unique ID to identify a plan.
- Volumes
List<VmaasInstance Volume> 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- EnvPrefix string
- Environment prefix
- EnvironmentCode string
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- Evars Dictionary<string, string>
- Environment Variables to be added to the provisioned instance.
- Hostname string
- Hostname for the instance
- Labels List<string>
- An array of strings for labelling instance.
- Name string
- Name of the instance to be provisioned.
- Ports
List<VmaasInstance Port> 
- Provide port for the instance
- Power string
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- PowerSchedule doubleId 
- Scheduled power operations
- RestartInstance double
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- Scale double
- Number of nodes within an instance.
- Snapshot
VmaasInstance Snapshot 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- Dictionary<string, string>
- A list of key and value pairs used to tag instances of similar type.
- VmaasInstance stringId 
- The ID of this resource.
- CloudId float64
- Unique ID to identify a cloud.
- Configs
[]VmaasInstance Config Args 
- Configuration details for the instance to be provisioned.
- GroupId float64
- Unique ID to identify a group.
- InstanceType stringCode 
- Unique code to identify the instance type.
- LayoutId float64
- Unique ID to identify a layout.
- Networks
[]VmaasInstance Network Args 
- Details of the network to which the instance should belong.
- PlanId float64
- Unique ID to identify a plan.
- Volumes
[]VmaasInstance Volume Args 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- EnvPrefix string
- Environment prefix
- EnvironmentCode string
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- Evars map[string]string
- Environment Variables to be added to the provisioned instance.
- Hostname string
- Hostname for the instance
- Labels []string
- An array of strings for labelling instance.
- Name string
- Name of the instance to be provisioned.
- Ports
[]VmaasInstance Port Args 
- Provide port for the instance
- Power string
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- PowerSchedule float64Id 
- Scheduled power operations
- RestartInstance float64
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- Scale float64
- Number of nodes within an instance.
- Snapshot
VmaasInstance Snapshot Args 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- map[string]string
- A list of key and value pairs used to tag instances of similar type.
- VmaasInstance stringId 
- The ID of this resource.
- cloudId Double
- Unique ID to identify a cloud.
- configs
List<VmaasInstance Config> 
- Configuration details for the instance to be provisioned.
- groupId Double
- Unique ID to identify a group.
- instanceType StringCode 
- Unique code to identify the instance type.
- layoutId Double
- Unique ID to identify a layout.
- networks
List<VmaasInstance Network> 
- Details of the network to which the instance should belong.
- planId Double
- Unique ID to identify a plan.
- volumes
List<VmaasInstance Volume> 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- envPrefix String
- Environment prefix
- environmentCode String
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Map<String,String>
- Environment Variables to be added to the provisioned instance.
- hostname String
- Hostname for the instance
- labels List<String>
- An array of strings for labelling instance.
- name String
- Name of the instance to be provisioned.
- ports
List<VmaasInstance Port> 
- Provide port for the instance
- power String
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- powerSchedule DoubleId 
- Scheduled power operations
- restartInstance Double
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- scale Double
- Number of nodes within an instance.
- snapshot
VmaasInstance Snapshot 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- Map<String,String>
- A list of key and value pairs used to tag instances of similar type.
- vmaasInstance StringId 
- The ID of this resource.
- cloudId number
- Unique ID to identify a cloud.
- configs
VmaasInstance Config[] 
- Configuration details for the instance to be provisioned.
- groupId number
- Unique ID to identify a group.
- instanceType stringCode 
- Unique code to identify the instance type.
- layoutId number
- Unique ID to identify a layout.
- networks
VmaasInstance Network[] 
- Details of the network to which the instance should belong.
- planId number
- Unique ID to identify a plan.
- volumes
VmaasInstance Volume[] 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- envPrefix string
- Environment prefix
- environmentCode string
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars {[key: string]: string}
- Environment Variables to be added to the provisioned instance.
- hostname string
- Hostname for the instance
- labels string[]
- An array of strings for labelling instance.
- name string
- Name of the instance to be provisioned.
- ports
VmaasInstance Port[] 
- Provide port for the instance
- power string
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- powerSchedule numberId 
- Scheduled power operations
- restartInstance number
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- scale number
- Number of nodes within an instance.
- snapshot
VmaasInstance Snapshot 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- {[key: string]: string}
- A list of key and value pairs used to tag instances of similar type.
- vmaasInstance stringId 
- The ID of this resource.
- cloud_id float
- Unique ID to identify a cloud.
- configs
Sequence[VmaasInstance Config Args] 
- Configuration details for the instance to be provisioned.
- group_id float
- Unique ID to identify a group.
- instance_type_ strcode 
- Unique code to identify the instance type.
- layout_id float
- Unique ID to identify a layout.
- networks
Sequence[VmaasInstance Network Args] 
- Details of the network to which the instance should belong.
- plan_id float
- Unique ID to identify a plan.
- volumes
Sequence[VmaasInstance Volume Args] 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- env_prefix str
- Environment prefix
- environment_code str
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Mapping[str, str]
- Environment Variables to be added to the provisioned instance.
- hostname str
- Hostname for the instance
- labels Sequence[str]
- An array of strings for labelling instance.
- name str
- Name of the instance to be provisioned.
- ports
Sequence[VmaasInstance Port Args] 
- Provide port for the instance
- power str
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- power_schedule_ floatid 
- Scheduled power operations
- restart_instance float
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- scale float
- Number of nodes within an instance.
- snapshot
VmaasInstance Snapshot Args 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- Mapping[str, str]
- A list of key and value pairs used to tag instances of similar type.
- vmaas_instance_ strid 
- The ID of this resource.
- cloudId Number
- Unique ID to identify a cloud.
- configs List<Property Map>
- Configuration details for the instance to be provisioned.
- groupId Number
- Unique ID to identify a group.
- instanceType StringCode 
- Unique code to identify the instance type.
- layoutId Number
- Unique ID to identify a layout.
- networks List<Property Map>
- Details of the network to which the instance should belong.
- planId Number
- Unique ID to identify a plan.
- volumes List<Property Map>
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- envPrefix String
- Environment prefix
- environmentCode String
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Map<String>
- Environment Variables to be added to the provisioned instance.
- hostname String
- Hostname for the instance
- labels List<String>
- An array of strings for labelling instance.
- name String
- Name of the instance to be provisioned.
- ports List<Property Map>
- Provide port for the instance
- power String
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- powerSchedule NumberId 
- Scheduled power operations
- restartInstance Number
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- scale Number
- Number of nodes within an instance.
- snapshot Property Map
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- Map<String>
- A list of key and value pairs used to tag instances of similar type.
- vmaasInstance StringId 
- The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VmaasInstance resource produces the following output properties:
- Containers
List<VmaasInstance Container> 
- Container's details for the instance which contains IP addresses, hostname and other stats
- Histories
List<VmaasInstance History> 
- History details for the instance
- Id string
- The provider-assigned unique ID for this managed resource.
- ServerId double
- Unique ID to identify a server.
- Status string
- Status of the instance.
- Containers
[]VmaasInstance Container 
- Container's details for the instance which contains IP addresses, hostname and other stats
- Histories
[]VmaasInstance History 
- History details for the instance
- Id string
- The provider-assigned unique ID for this managed resource.
- ServerId float64
- Unique ID to identify a server.
- Status string
- Status of the instance.
- containers
List<VmaasInstance Container> 
- Container's details for the instance which contains IP addresses, hostname and other stats
- histories
List<VmaasInstance History> 
- History details for the instance
- id String
- The provider-assigned unique ID for this managed resource.
- serverId Double
- Unique ID to identify a server.
- status String
- Status of the instance.
- containers
VmaasInstance Container[] 
- Container's details for the instance which contains IP addresses, hostname and other stats
- histories
VmaasInstance History[] 
- History details for the instance
- id string
- The provider-assigned unique ID for this managed resource.
- serverId number
- Unique ID to identify a server.
- status string
- Status of the instance.
- containers
Sequence[VmaasInstance Container] 
- Container's details for the instance which contains IP addresses, hostname and other stats
- histories
Sequence[VmaasInstance History] 
- History details for the instance
- id str
- The provider-assigned unique ID for this managed resource.
- server_id float
- Unique ID to identify a server.
- status str
- Status of the instance.
- containers List<Property Map>
- Container's details for the instance which contains IP addresses, hostname and other stats
- histories List<Property Map>
- History details for the instance
- id String
- The provider-assigned unique ID for this managed resource.
- serverId Number
- Unique ID to identify a server.
- status String
- Status of the instance.
Look up Existing VmaasInstance Resource
Get an existing VmaasInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VmaasInstanceState, opts?: CustomResourceOptions): VmaasInstance@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cloud_id: Optional[float] = None,
        configs: Optional[Sequence[VmaasInstanceConfigArgs]] = None,
        containers: Optional[Sequence[VmaasInstanceContainerArgs]] = None,
        env_prefix: Optional[str] = None,
        environment_code: Optional[str] = None,
        evars: Optional[Mapping[str, str]] = None,
        group_id: Optional[float] = None,
        histories: Optional[Sequence[VmaasInstanceHistoryArgs]] = None,
        hostname: Optional[str] = None,
        instance_type_code: Optional[str] = None,
        labels: Optional[Sequence[str]] = None,
        layout_id: Optional[float] = None,
        name: Optional[str] = None,
        networks: Optional[Sequence[VmaasInstanceNetworkArgs]] = None,
        plan_id: Optional[float] = None,
        ports: Optional[Sequence[VmaasInstancePortArgs]] = None,
        power: Optional[str] = None,
        power_schedule_id: Optional[float] = None,
        restart_instance: Optional[float] = None,
        scale: Optional[float] = None,
        server_id: Optional[float] = None,
        snapshot: Optional[VmaasInstanceSnapshotArgs] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        vmaas_instance_id: Optional[str] = None,
        volumes: Optional[Sequence[VmaasInstanceVolumeArgs]] = None) -> VmaasInstancefunc GetVmaasInstance(ctx *Context, name string, id IDInput, state *VmaasInstanceState, opts ...ResourceOption) (*VmaasInstance, error)public static VmaasInstance Get(string name, Input<string> id, VmaasInstanceState? state, CustomResourceOptions? opts = null)public static VmaasInstance get(String name, Output<String> id, VmaasInstanceState state, CustomResourceOptions options)resources:  _:    type: hpegl:VmaasInstance    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CloudId double
- Unique ID to identify a cloud.
- Configs
List<VmaasInstance Config> 
- Configuration details for the instance to be provisioned.
- Containers
List<VmaasInstance Container> 
- Container's details for the instance which contains IP addresses, hostname and other stats
- EnvPrefix string
- Environment prefix
- EnvironmentCode string
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- Evars Dictionary<string, string>
- Environment Variables to be added to the provisioned instance.
- GroupId double
- Unique ID to identify a group.
- Histories
List<VmaasInstance History> 
- History details for the instance
- Hostname string
- Hostname for the instance
- InstanceType stringCode 
- Unique code to identify the instance type.
- Labels List<string>
- An array of strings for labelling instance.
- LayoutId double
- Unique ID to identify a layout.
- Name string
- Name of the instance to be provisioned.
- Networks
List<VmaasInstance Network> 
- Details of the network to which the instance should belong.
- PlanId double
- Unique ID to identify a plan.
- Ports
List<VmaasInstance Port> 
- Provide port for the instance
- Power string
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- PowerSchedule doubleId 
- Scheduled power operations
- RestartInstance double
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- Scale double
- Number of nodes within an instance.
- ServerId double
- Unique ID to identify a server.
- Snapshot
VmaasInstance Snapshot 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- Status string
- Status of the instance.
- Dictionary<string, string>
- A list of key and value pairs used to tag instances of similar type.
- VmaasInstance stringId 
- The ID of this resource.
- Volumes
List<VmaasInstance Volume> 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- CloudId float64
- Unique ID to identify a cloud.
- Configs
[]VmaasInstance Config Args 
- Configuration details for the instance to be provisioned.
- Containers
[]VmaasInstance Container Args 
- Container's details for the instance which contains IP addresses, hostname and other stats
- EnvPrefix string
- Environment prefix
- EnvironmentCode string
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- Evars map[string]string
- Environment Variables to be added to the provisioned instance.
- GroupId float64
- Unique ID to identify a group.
- Histories
[]VmaasInstance History Args 
- History details for the instance
- Hostname string
- Hostname for the instance
- InstanceType stringCode 
- Unique code to identify the instance type.
- Labels []string
- An array of strings for labelling instance.
- LayoutId float64
- Unique ID to identify a layout.
- Name string
- Name of the instance to be provisioned.
- Networks
[]VmaasInstance Network Args 
- Details of the network to which the instance should belong.
- PlanId float64
- Unique ID to identify a plan.
- Ports
[]VmaasInstance Port Args 
- Provide port for the instance
- Power string
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- PowerSchedule float64Id 
- Scheduled power operations
- RestartInstance float64
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- Scale float64
- Number of nodes within an instance.
- ServerId float64
- Unique ID to identify a server.
- Snapshot
VmaasInstance Snapshot Args 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- Status string
- Status of the instance.
- map[string]string
- A list of key and value pairs used to tag instances of similar type.
- VmaasInstance stringId 
- The ID of this resource.
- Volumes
[]VmaasInstance Volume Args 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloudId Double
- Unique ID to identify a cloud.
- configs
List<VmaasInstance Config> 
- Configuration details for the instance to be provisioned.
- containers
List<VmaasInstance Container> 
- Container's details for the instance which contains IP addresses, hostname and other stats
- envPrefix String
- Environment prefix
- environmentCode String
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Map<String,String>
- Environment Variables to be added to the provisioned instance.
- groupId Double
- Unique ID to identify a group.
- histories
List<VmaasInstance History> 
- History details for the instance
- hostname String
- Hostname for the instance
- instanceType StringCode 
- Unique code to identify the instance type.
- labels List<String>
- An array of strings for labelling instance.
- layoutId Double
- Unique ID to identify a layout.
- name String
- Name of the instance to be provisioned.
- networks
List<VmaasInstance Network> 
- Details of the network to which the instance should belong.
- planId Double
- Unique ID to identify a plan.
- ports
List<VmaasInstance Port> 
- Provide port for the instance
- power String
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- powerSchedule DoubleId 
- Scheduled power operations
- restartInstance Double
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- scale Double
- Number of nodes within an instance.
- serverId Double
- Unique ID to identify a server.
- snapshot
VmaasInstance Snapshot 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- status String
- Status of the instance.
- Map<String,String>
- A list of key and value pairs used to tag instances of similar type.
- vmaasInstance StringId 
- The ID of this resource.
- volumes
List<VmaasInstance Volume> 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloudId number
- Unique ID to identify a cloud.
- configs
VmaasInstance Config[] 
- Configuration details for the instance to be provisioned.
- containers
VmaasInstance Container[] 
- Container's details for the instance which contains IP addresses, hostname and other stats
- envPrefix string
- Environment prefix
- environmentCode string
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars {[key: string]: string}
- Environment Variables to be added to the provisioned instance.
- groupId number
- Unique ID to identify a group.
- histories
VmaasInstance History[] 
- History details for the instance
- hostname string
- Hostname for the instance
- instanceType stringCode 
- Unique code to identify the instance type.
- labels string[]
- An array of strings for labelling instance.
- layoutId number
- Unique ID to identify a layout.
- name string
- Name of the instance to be provisioned.
- networks
VmaasInstance Network[] 
- Details of the network to which the instance should belong.
- planId number
- Unique ID to identify a plan.
- ports
VmaasInstance Port[] 
- Provide port for the instance
- power string
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- powerSchedule numberId 
- Scheduled power operations
- restartInstance number
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- scale number
- Number of nodes within an instance.
- serverId number
- Unique ID to identify a server.
- snapshot
VmaasInstance Snapshot 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- status string
- Status of the instance.
- {[key: string]: string}
- A list of key and value pairs used to tag instances of similar type.
- vmaasInstance stringId 
- The ID of this resource.
- volumes
VmaasInstance Volume[] 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloud_id float
- Unique ID to identify a cloud.
- configs
Sequence[VmaasInstance Config Args] 
- Configuration details for the instance to be provisioned.
- containers
Sequence[VmaasInstance Container Args] 
- Container's details for the instance which contains IP addresses, hostname and other stats
- env_prefix str
- Environment prefix
- environment_code str
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Mapping[str, str]
- Environment Variables to be added to the provisioned instance.
- group_id float
- Unique ID to identify a group.
- histories
Sequence[VmaasInstance History Args] 
- History details for the instance
- hostname str
- Hostname for the instance
- instance_type_ strcode 
- Unique code to identify the instance type.
- labels Sequence[str]
- An array of strings for labelling instance.
- layout_id float
- Unique ID to identify a layout.
- name str
- Name of the instance to be provisioned.
- networks
Sequence[VmaasInstance Network Args] 
- Details of the network to which the instance should belong.
- plan_id float
- Unique ID to identify a plan.
- ports
Sequence[VmaasInstance Port Args] 
- Provide port for the instance
- power str
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- power_schedule_ floatid 
- Scheduled power operations
- restart_instance float
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- scale float
- Number of nodes within an instance.
- server_id float
- Unique ID to identify a server.
- snapshot
VmaasInstance Snapshot Args 
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- status str
- Status of the instance.
- Mapping[str, str]
- A list of key and value pairs used to tag instances of similar type.
- vmaas_instance_ strid 
- The ID of this resource.
- volumes
Sequence[VmaasInstance Volume Args] 
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloudId Number
- Unique ID to identify a cloud.
- configs List<Property Map>
- Configuration details for the instance to be provisioned.
- containers List<Property Map>
- Container's details for the instance which contains IP addresses, hostname and other stats
- envPrefix String
- Environment prefix
- environmentCode String
- Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Map<String>
- Environment Variables to be added to the provisioned instance.
- groupId Number
- Unique ID to identify a group.
- histories List<Property Map>
- History details for the instance
- hostname String
- Hostname for the instance
- instanceType StringCode 
- Unique code to identify the instance type.
- labels List<String>
- An array of strings for labelling instance.
- layoutId Number
- Unique ID to identify a layout.
- name String
- Name of the instance to be provisioned.
- networks List<Property Map>
- Details of the network to which the instance should belong.
- planId Number
- Unique ID to identify a plan.
- ports List<Property Map>
- Provide port for the instance
- power String
- Power operation for an instance. Power attribute can be used to update the power state of an existing instance. Allowed power operations are 'poweroff', 'poweron' and 'suspend'. While creating an instance only 'poweron' operation is allowed.
- powerSchedule NumberId 
- Scheduled power operations
- restartInstance Number
- Restarts the instance if set to any positive integer. Restart works only on pre-created instance.
- scale Number
- Number of nodes within an instance.
- serverId Number
- Unique ID to identify a server.
- snapshot Property Map
- Details for the snapshot to be created. Note that Snapshot name and description should be unique for each snapshot. Any change in name or description will result in the creation of a new snapshot.
- status String
- Status of the instance.
- Map<String>
- A list of key and value pairs used to tag instances of similar type.
- vmaasInstance StringId 
- The ID of this resource.
- volumes List<Property Map>
- A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
Supporting Types
VmaasInstanceConfig, VmaasInstanceConfigArgs      
- FolderCode string
- Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- ResourcePool doubleId 
- Unique ID to identify a resource pool.
- AssetTag string
- Asset tag
- CreateUser bool
- Create user
- NoAgent bool
- If true agent will not be installed on the instance.
- TemplateId double
- Unique ID for the template
- FolderCode string
- Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- ResourcePool float64Id 
- Unique ID to identify a resource pool.
- AssetTag string
- Asset tag
- CreateUser bool
- Create user
- NoAgent bool
- If true agent will not be installed on the instance.
- TemplateId float64
- Unique ID for the template
- folderCode String
- Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- resourcePool DoubleId 
- Unique ID to identify a resource pool.
- assetTag String
- Asset tag
- createUser Boolean
- Create user
- noAgent Boolean
- If true agent will not be installed on the instance.
- templateId Double
- Unique ID for the template
- folderCode string
- Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- resourcePool numberId 
- Unique ID to identify a resource pool.
- assetTag string
- Asset tag
- createUser boolean
- Create user
- noAgent boolean
- If true agent will not be installed on the instance.
- templateId number
- Unique ID for the template
- folder_code str
- Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- resource_pool_ floatid 
- Unique ID to identify a resource pool.
- asset_tag str
- Asset tag
- create_user bool
- Create user
- no_agent bool
- If true agent will not be installed on the instance.
- template_id float
- Unique ID for the template
- folderCode String
- Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- resourcePool NumberId 
- Unique ID to identify a resource pool.
- assetTag String
- Asset tag
- createUser Boolean
- Create user
- noAgent Boolean
- If true agent will not be installed on the instance.
- templateId Number
- Unique ID for the template
VmaasInstanceContainer, VmaasInstanceContainerArgs      
- ContainerTypes List<VmaasInstance Container Container Type> 
- ExternalFqdn string
- Hostname string
- Id double
- Ip string
- MaxCores double
- Name string
- Servers
List<VmaasInstance Container Server> 
- ContainerTypes []VmaasInstance Container Container Type 
- ExternalFqdn string
- Hostname string
- Id float64
- Ip string
- MaxCores float64
- Name string
- Servers
[]VmaasInstance Container Server 
- containerTypes List<VmaasInstance Container Container Type> 
- externalFqdn String
- hostname String
- id Double
- ip String
- maxCores Double
- name String
- servers
List<VmaasInstance Container Server> 
- containerTypes VmaasInstance Container Container Type[] 
- externalFqdn string
- hostname string
- id number
- ip string
- maxCores number
- name string
- servers
VmaasInstance Container Server[] 
- containerTypes List<Property Map>
- externalFqdn String
- hostname String
- id Number
- ip String
- maxCores Number
- name String
- servers List<Property Map>
VmaasInstanceContainerContainerType, VmaasInstanceContainerContainerTypeArgs          
- Name string
- Name string
- name String
- name string
- name str
- name String
VmaasInstanceContainerServer, VmaasInstanceContainerServerArgs        
- ComputeServer List<VmaasTypes Instance Container Server Compute Server Type> 
- DateCreated string
- Id double
- LastUpdated string
- Owners
List<VmaasInstance Container Server Owner> 
- Platform string
- PlatformVersion string
- ServerOs List<VmaasInstance Container Server Server O> 
- SshHost string
- SshPort double
- Visibility string
- ComputeServer []VmaasTypes Instance Container Server Compute Server Type 
- DateCreated string
- Id float64
- LastUpdated string
- Owners
[]VmaasInstance Container Server Owner 
- Platform string
- PlatformVersion string
- ServerOs []VmaasInstance Container Server Server O 
- SshHost string
- SshPort float64
- Visibility string
- computeServer List<VmaasTypes Instance Container Server Compute Server Type> 
- dateCreated String
- id Double
- lastUpdated String
- owners
List<VmaasInstance Container Server Owner> 
- platform String
- platformVersion String
- serverOs List<VmaasInstance Container Server Server O> 
- sshHost String
- sshPort Double
- visibility String
- computeServer VmaasTypes Instance Container Server Compute Server Type[] 
- dateCreated string
- id number
- lastUpdated string
- owners
VmaasInstance Container Server Owner[] 
- platform string
- platformVersion string
- serverOs VmaasInstance Container Server Server O[] 
- sshHost string
- sshPort number
- visibility string
- computeServer List<Property Map>Types 
- dateCreated String
- id Number
- lastUpdated String
- owners List<Property Map>
- platform String
- platformVersion String
- serverOs List<Property Map>
- sshHost String
- sshPort Number
- visibility String
VmaasInstanceContainerServerComputeServerType, VmaasInstanceContainerServerComputeServerTypeArgs              
- ExternalDelete bool
- Managed bool
- Name string
- ExternalDelete bool
- Managed bool
- Name string
- externalDelete Boolean
- managed Boolean
- name String
- externalDelete boolean
- managed boolean
- name string
- external_delete bool
- managed bool
- name str
- externalDelete Boolean
- managed Boolean
- name String
VmaasInstanceContainerServerOwner, VmaasInstanceContainerServerOwnerArgs          
- Username string
- Username string
- username String
- username string
- username str
- username String
VmaasInstanceContainerServerServerO, VmaasInstanceContainerServerServerOArgs            
- Name string
- Name string
- name String
- name string
- name str
- name String
VmaasInstanceHistory, VmaasInstanceHistoryArgs      
- AccountId double
- CreatedBies List<VmaasInstance History Created By> 
- DateCreated string
- DisplayName string
- Duration double
- EndDate string
- Id double
- InstanceId double
- LastUpdated string
- Percent double
- ProcessTypes List<VmaasInstance History Process Type> 
- Reason string
- StartDate string
- Status string
- StatusEta double
- UniqueId string
- UpdatedBies List<VmaasInstance History Updated By> 
- AccountId float64
- CreatedBies []VmaasInstance History Created By 
- DateCreated string
- DisplayName string
- Duration float64
- EndDate string
- Id float64
- InstanceId float64
- LastUpdated string
- Percent float64
- ProcessTypes []VmaasInstance History Process Type 
- Reason string
- StartDate string
- Status string
- StatusEta float64
- UniqueId string
- UpdatedBies []VmaasInstance History Updated By 
- accountId Double
- createdBies List<VmaasInstance History Created By> 
- dateCreated String
- displayName String
- duration Double
- endDate String
- id Double
- instanceId Double
- lastUpdated String
- percent Double
- processTypes List<VmaasInstance History Process Type> 
- reason String
- startDate String
- status String
- statusEta Double
- uniqueId String
- updatedBies List<VmaasInstance History Updated By> 
- accountId number
- createdBies VmaasInstance History Created By[] 
- dateCreated string
- displayName string
- duration number
- endDate string
- id number
- instanceId number
- lastUpdated string
- percent number
- processTypes VmaasInstance History Process Type[] 
- reason string
- startDate string
- status string
- statusEta number
- uniqueId string
- updatedBies VmaasInstance History Updated By[] 
- account_id float
- created_bies Sequence[VmaasInstance History Created By] 
- date_created str
- display_name str
- duration float
- end_date str
- id float
- instance_id float
- last_updated str
- percent float
- process_types Sequence[VmaasInstance History Process Type] 
- reason str
- start_date str
- status str
- status_eta float
- unique_id str
- updated_bies Sequence[VmaasInstance History Updated By] 
- accountId Number
- createdBies List<Property Map>
- dateCreated String
- displayName String
- duration Number
- endDate String
- id Number
- instanceId Number
- lastUpdated String
- percent Number
- processTypes List<Property Map>
- reason String
- startDate String
- status String
- statusEta Number
- uniqueId String
- updatedBies List<Property Map>
VmaasInstanceHistoryCreatedBy, VmaasInstanceHistoryCreatedByArgs          
- DisplayName string
- Username string
- DisplayName string
- Username string
- displayName String
- username String
- displayName string
- username string
- display_name str
- username str
- displayName String
- username String
VmaasInstanceHistoryProcessType, VmaasInstanceHistoryProcessTypeArgs          
VmaasInstanceHistoryUpdatedBy, VmaasInstanceHistoryUpdatedByArgs          
- DisplayName string
- Username string
- DisplayName string
- Username string
- displayName String
- username String
- displayName string
- username string
- display_name str
- username str
- displayName String
- username String
VmaasInstanceNetwork, VmaasInstanceNetworkArgs      
- Id double
- Unique ID to identify a network ID.
- InterfaceId double
- Unique ID to identify a network interface type.
- InternalId double
- Unique ID to identify a network internal ID.
- IsPrimary bool
- Flag that identifies if a given network is primary. Primary network cannot be deleted.
- Name string
- name of the interface
- Id float64
- Unique ID to identify a network ID.
- InterfaceId float64
- Unique ID to identify a network interface type.
- InternalId float64
- Unique ID to identify a network internal ID.
- IsPrimary bool
- Flag that identifies if a given network is primary. Primary network cannot be deleted.
- Name string
- name of the interface
- id Double
- Unique ID to identify a network ID.
- interfaceId Double
- Unique ID to identify a network interface type.
- internalId Double
- Unique ID to identify a network internal ID.
- isPrimary Boolean
- Flag that identifies if a given network is primary. Primary network cannot be deleted.
- name String
- name of the interface
- id number
- Unique ID to identify a network ID.
- interfaceId number
- Unique ID to identify a network interface type.
- internalId number
- Unique ID to identify a network internal ID.
- isPrimary boolean
- Flag that identifies if a given network is primary. Primary network cannot be deleted.
- name string
- name of the interface
- id float
- Unique ID to identify a network ID.
- interface_id float
- Unique ID to identify a network interface type.
- internal_id float
- Unique ID to identify a network internal ID.
- is_primary bool
- Flag that identifies if a given network is primary. Primary network cannot be deleted.
- name str
- name of the interface
- id Number
- Unique ID to identify a network ID.
- interfaceId Number
- Unique ID to identify a network interface type.
- internalId Number
- Unique ID to identify a network internal ID.
- isPrimary Boolean
- Flag that identifies if a given network is primary. Primary network cannot be deleted.
- name String
- name of the interface
VmaasInstancePort, VmaasInstancePortArgs      
VmaasInstanceSnapshot, VmaasInstanceSnapshotArgs      
- Name string
- Name of the snapshot.
- Description string
- Description of the snapshot
- Id double
- ID of the snapshot.
- IsSnapshot boolExists 
- Flag which will be set to be true if the snapshot with the name exists.
- Name string
- Name of the snapshot.
- Description string
- Description of the snapshot
- Id float64
- ID of the snapshot.
- IsSnapshot boolExists 
- Flag which will be set to be true if the snapshot with the name exists.
- name String
- Name of the snapshot.
- description String
- Description of the snapshot
- id Double
- ID of the snapshot.
- isSnapshot BooleanExists 
- Flag which will be set to be true if the snapshot with the name exists.
- name string
- Name of the snapshot.
- description string
- Description of the snapshot
- id number
- ID of the snapshot.
- isSnapshot booleanExists 
- Flag which will be set to be true if the snapshot with the name exists.
- name str
- Name of the snapshot.
- description str
- Description of the snapshot
- id float
- ID of the snapshot.
- is_snapshot_ boolexists 
- Flag which will be set to be true if the snapshot with the name exists.
- name String
- Name of the snapshot.
- description String
- Description of the snapshot
- id Number
- ID of the snapshot.
- isSnapshot BooleanExists 
- Flag which will be set to be true if the snapshot with the name exists.
VmaasInstanceVolume, VmaasInstanceVolumeArgs      
- DatastoreId string
- Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- Name string
- Unique name for the volume.
- Size double
- Size of the volume in GB.
- Controller string
- Storage controller ID can be obtained from hpeglvmaasinstancestoragecontroller data source. Can not be customized for the first volume. This field can not be updated once volume is created.
- Id double
- ID for the volume
- Root bool
- true if volume is root
- StorageType double
- Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- DatastoreId string
- Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- Name string
- Unique name for the volume.
- Size float64
- Size of the volume in GB.
- Controller string
- Storage controller ID can be obtained from hpeglvmaasinstancestoragecontroller data source. Can not be customized for the first volume. This field can not be updated once volume is created.
- Id float64
- ID for the volume
- Root bool
- true if volume is root
- StorageType float64
- Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- datastoreId String
- Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- name String
- Unique name for the volume.
- size Double
- Size of the volume in GB.
- controller String
- Storage controller ID can be obtained from hpeglvmaasinstancestoragecontroller data source. Can not be customized for the first volume. This field can not be updated once volume is created.
- id Double
- ID for the volume
- root Boolean
- true if volume is root
- storageType Double
- Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- datastoreId string
- Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- name string
- Unique name for the volume.
- size number
- Size of the volume in GB.
- controller string
- Storage controller ID can be obtained from hpeglvmaasinstancestoragecontroller data source. Can not be customized for the first volume. This field can not be updated once volume is created.
- id number
- ID for the volume
- root boolean
- true if volume is root
- storageType number
- Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- datastore_id str
- Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- name str
- Unique name for the volume.
- size float
- Size of the volume in GB.
- controller str
- Storage controller ID can be obtained from hpeglvmaasinstancestoragecontroller data source. Can not be customized for the first volume. This field can not be updated once volume is created.
- id float
- ID for the volume
- root bool
- true if volume is root
- storage_type float
- Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- datastoreId String
- Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- name String
- Unique name for the volume.
- size Number
- Size of the volume in GB.
- controller String
- Storage controller ID can be obtained from hpeglvmaasinstancestoragecontroller data source. Can not be customized for the first volume. This field can not be updated once volume is created.
- id Number
- ID for the volume
- root Boolean
- true if volume is root
- storageType Number
- Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the hpeglTerraform Provider.