hpegl.VmaasInstanceClone
Explore with Pulumi AI
- Example Usage
- Creating Cloned Instance With Minimal Attributes.
- Creating Cloned Instance With All Available Attributes.
- Create VmaasInstanceClone Resource
- Constructor syntax
- Constructor example
- VmaasInstanceClone Resource Properties
- Inputs
- Outputs
- Look up Existing VmaasInstanceClone Resource
- Supporting Types
- Package Details
Compatible version >= 5.2.4
Instance clone resource facilitates creating, updating and deleting cloned virtual machines. For creating an instance clone, provide a unique name and all the Mandatory(Required) parameters. All optional parameters will be inherited from parent resource if not provided.
Create instance by cloning from an existing instance.
While cloning, only the source_instance_id, name and network is required. All other attributes are optional. If not provided, those attributes will be inherited from source instance.
Cloned instance can have all the possible attributes (same as hpegl.VmaasInstance
) except for port
.
Example Usage
Creating Cloned Instance With Minimal 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.VmaasInstanceClone("minimalInstance", {
sourceInstanceId: hpegl_vmaas_instance.tf_instance.id,
networks: [{
id: data.hpegl_vmaas_network.blue_net.id,
}],
volumes: [{
name: "root_vol",
size: 5,
datastoreId: data.hpegl_vmaas_datastore.c_3par.id,
}],
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# minimal instance creation
minimal_instance = hpegl.VmaasInstanceClone("minimalInstance",
source_instance_id=hpegl_vmaas_instance["tf_instance"]["id"],
networks=[{
"id": data["hpegl_vmaas_network"]["blue_net"]["id"],
}],
volumes=[{
"name": "root_vol",
"size": 5,
"datastore_id": data["hpegl_vmaas_datastore"]["c_3par"]["id"],
}])
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.NewVmaasInstanceClone(ctx, "minimalInstance", &hpegl.VmaasInstanceCloneArgs{
SourceInstanceId: pulumi.Any(hpegl_vmaas_instance.Tf_instance.Id),
Networks: hpegl.VmaasInstanceCloneNetworkArray{
&hpegl.VmaasInstanceCloneNetworkArgs{
Id: pulumi.Any(data.Hpegl_vmaas_network.Blue_net.Id),
},
},
Volumes: hpegl.VmaasInstanceCloneVolumeArray{
&hpegl.VmaasInstanceCloneVolumeArgs{
Name: pulumi.String("root_vol"),
Size: pulumi.Float64(5),
DatastoreId: pulumi.Any(data.Hpegl_vmaas_datastore.C_3par.Id),
},
},
})
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.VmaasInstanceClone("minimalInstance", new()
{
SourceInstanceId = hpegl_vmaas_instance.Tf_instance.Id,
Networks = new[]
{
new Hpegl.Inputs.VmaasInstanceCloneNetworkArgs
{
Id = data.Hpegl_vmaas_network.Blue_net.Id,
},
},
Volumes = new[]
{
new Hpegl.Inputs.VmaasInstanceCloneVolumeArgs
{
Name = "root_vol",
Size = 5,
DatastoreId = data.Hpegl_vmaas_datastore.C_3par.Id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hpegl.VmaasInstanceClone;
import com.pulumi.hpegl.VmaasInstanceCloneArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceCloneNetworkArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceCloneVolumeArgs;
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 VmaasInstanceClone("minimalInstance", VmaasInstanceCloneArgs.builder()
.sourceInstanceId(hpegl_vmaas_instance.tf_instance().id())
.networks(VmaasInstanceCloneNetworkArgs.builder()
.id(data.hpegl_vmaas_network().blue_net().id())
.build())
.volumes(VmaasInstanceCloneVolumeArgs.builder()
.name("root_vol")
.size(5)
.datastoreId(data.hpegl_vmaas_datastore().c_3par().id())
.build())
.build());
}
}
resources:
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# minimal instance creation
minimalInstance:
type: hpegl:VmaasInstanceClone
properties:
sourceInstanceId: ${hpegl_vmaas_instance.tf_instance.id}
networks:
- id: ${data.hpegl_vmaas_network.blue_net.id}
volumes:
- name: root_vol
size: 5
datastoreId: ${data.hpegl_vmaas_datastore.c_3par.id}
Creating Cloned Instance With All Available Attributes.
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2021 Hewlett Packard Enterprise Development LP
// Clone a instance from an existing instance
const tfInstanceClone = new hpegl.VmaasInstanceClone("tfInstanceClone", {
sourceInstanceId: hpegl_vmaas_instance.tf_instance.id,
cloudId: data.hpegl_vmaas_cloud.cloud.id,
groupId: data.hpegl_vmaas_group.default_group.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,
},
{
name: "local_vol",
size: 5,
datastoreId: data.hpegl_vmaas_datastore.c_3par.id,
},
],
configs: [{
resourcePoolId: data.hpegl_vmaas_resource_pool.cl_resource_pool.id,
templateId: data.hpegl_vmaas_template.vanilla.id,
noAgent: true,
folderCode: data.hpegl_vmaas_cloud_folder.compute_folder.code,
assetTag: "vm_tag",
}],
hostname: "tf_host_1",
scale: 2,
evars: {
proxy: "http://address:port",
},
powerScheduleId: data.hpegl_vmaas_powerSchedule.weekday.id,
snapshot: {
name: "test_snapshot_1",
description: "test snapshot description is optional",
},
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# Clone a instance from an existing instance
tf_instance_clone = hpegl.VmaasInstanceClone("tfInstanceClone",
source_instance_id=hpegl_vmaas_instance["tf_instance"]["id"],
cloud_id=data["hpegl_vmaas_cloud"]["cloud"]["id"],
group_id=data["hpegl_vmaas_group"]["default_group"]["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"],
},
{
"name": "local_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"],
"template_id": data["hpegl_vmaas_template"]["vanilla"]["id"],
"no_agent": True,
"folder_code": data["hpegl_vmaas_cloud_folder"]["compute_folder"]["code"],
"asset_tag": "vm_tag",
}],
hostname="tf_host_1",
scale=2,
evars={
"proxy": "http://address:port",
},
power_schedule_id=data["hpegl_vmaas_powerSchedule"]["weekday"]["id"],
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 Hewlett Packard Enterprise Development LP
// Clone a instance from an existing instance
_, err := hpegl.NewVmaasInstanceClone(ctx, "tfInstanceClone", &hpegl.VmaasInstanceCloneArgs{
SourceInstanceId: pulumi.Any(hpegl_vmaas_instance.Tf_instance.Id),
CloudId: pulumi.Any(data.Hpegl_vmaas_cloud.Cloud.Id),
GroupId: pulumi.Any(data.Hpegl_vmaas_group.Default_group.Id),
PlanId: pulumi.Any(data.Hpegl_vmaas_plan.G1_small.Id),
InstanceTypeCode: pulumi.Any(data.Hpegl_vmaas_layout.Vmware.Instance_type_code),
Networks: hpegl.VmaasInstanceCloneNetworkArray{
&hpegl.VmaasInstanceCloneNetworkArgs{
Id: pulumi.Any(data.Hpegl_vmaas_network.Blue_net.Id),
},
&hpegl.VmaasInstanceCloneNetworkArgs{
Id: pulumi.Any(data.Hpegl_vmaas_network.Green_net.Id),
},
},
Volumes: hpegl.VmaasInstanceCloneVolumeArray{
&hpegl.VmaasInstanceCloneVolumeArgs{
Name: pulumi.String("root_vol"),
Size: pulumi.Float64(5),
DatastoreId: pulumi.Any(data.Hpegl_vmaas_datastore.C_3par.Id),
},
&hpegl.VmaasInstanceCloneVolumeArgs{
Name: pulumi.String("local_vol"),
Size: pulumi.Float64(5),
DatastoreId: pulumi.Any(data.Hpegl_vmaas_datastore.C_3par.Id),
},
},
Configs: hpegl.VmaasInstanceCloneConfigArray{
&hpegl.VmaasInstanceCloneConfigArgs{
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),
FolderCode: pulumi.Any(data.Hpegl_vmaas_cloud_folder.Compute_folder.Code),
AssetTag: pulumi.String("vm_tag"),
},
},
Hostname: pulumi.String("tf_host_1"),
Scale: pulumi.Float64(2),
Evars: pulumi.StringMap{
"proxy": pulumi.String("http://address:port"),
},
PowerScheduleId: pulumi.Any(data.Hpegl_vmaas_powerSchedule.Weekday.Id),
Snapshot: &hpegl.VmaasInstanceCloneSnapshotArgs{
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 Hewlett Packard Enterprise Development LP
// Clone a instance from an existing instance
var tfInstanceClone = new Hpegl.VmaasInstanceClone("tfInstanceClone", new()
{
SourceInstanceId = hpegl_vmaas_instance.Tf_instance.Id,
CloudId = data.Hpegl_vmaas_cloud.Cloud.Id,
GroupId = data.Hpegl_vmaas_group.Default_group.Id,
PlanId = data.Hpegl_vmaas_plan.G1_small.Id,
InstanceTypeCode = data.Hpegl_vmaas_layout.Vmware.Instance_type_code,
Networks = new[]
{
new Hpegl.Inputs.VmaasInstanceCloneNetworkArgs
{
Id = data.Hpegl_vmaas_network.Blue_net.Id,
},
new Hpegl.Inputs.VmaasInstanceCloneNetworkArgs
{
Id = data.Hpegl_vmaas_network.Green_net.Id,
},
},
Volumes = new[]
{
new Hpegl.Inputs.VmaasInstanceCloneVolumeArgs
{
Name = "root_vol",
Size = 5,
DatastoreId = data.Hpegl_vmaas_datastore.C_3par.Id,
},
new Hpegl.Inputs.VmaasInstanceCloneVolumeArgs
{
Name = "local_vol",
Size = 5,
DatastoreId = data.Hpegl_vmaas_datastore.C_3par.Id,
},
},
Configs = new[]
{
new Hpegl.Inputs.VmaasInstanceCloneConfigArgs
{
ResourcePoolId = data.Hpegl_vmaas_resource_pool.Cl_resource_pool.Id,
TemplateId = data.Hpegl_vmaas_template.Vanilla.Id,
NoAgent = true,
FolderCode = data.Hpegl_vmaas_cloud_folder.Compute_folder.Code,
AssetTag = "vm_tag",
},
},
Hostname = "tf_host_1",
Scale = 2,
Evars =
{
{ "proxy", "http://address:port" },
},
PowerScheduleId = data.Hpegl_vmaas_powerSchedule.Weekday.Id,
Snapshot = new Hpegl.Inputs.VmaasInstanceCloneSnapshotArgs
{
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.VmaasInstanceClone;
import com.pulumi.hpegl.VmaasInstanceCloneArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceCloneNetworkArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceCloneVolumeArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceCloneConfigArgs;
import com.pulumi.hpegl.inputs.VmaasInstanceCloneSnapshotArgs;
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
// Clone a instance from an existing instance
var tfInstanceClone = new VmaasInstanceClone("tfInstanceClone", VmaasInstanceCloneArgs.builder()
.sourceInstanceId(hpegl_vmaas_instance.tf_instance().id())
.cloudId(data.hpegl_vmaas_cloud().cloud().id())
.groupId(data.hpegl_vmaas_group().default_group().id())
.planId(data.hpegl_vmaas_plan().g1_small().id())
.instanceTypeCode(data.hpegl_vmaas_layout().vmware().instance_type_code())
.networks(
VmaasInstanceCloneNetworkArgs.builder()
.id(data.hpegl_vmaas_network().blue_net().id())
.build(),
VmaasInstanceCloneNetworkArgs.builder()
.id(data.hpegl_vmaas_network().green_net().id())
.build())
.volumes(
VmaasInstanceCloneVolumeArgs.builder()
.name("root_vol")
.size(5)
.datastoreId(data.hpegl_vmaas_datastore().c_3par().id())
.build(),
VmaasInstanceCloneVolumeArgs.builder()
.name("local_vol")
.size(5)
.datastoreId(data.hpegl_vmaas_datastore().c_3par().id())
.build())
.configs(VmaasInstanceCloneConfigArgs.builder()
.resourcePoolId(data.hpegl_vmaas_resource_pool().cl_resource_pool().id())
.templateId(data.hpegl_vmaas_template().vanilla().id())
.noAgent(true)
.folderCode(data.hpegl_vmaas_cloud_folder().compute_folder().code())
.assetTag("vm_tag")
.build())
.hostname("tf_host_1")
.scale(2)
.evars(Map.of("proxy", "http://address:port"))
.powerScheduleId(data.hpegl_vmaas_powerSchedule().weekday().id())
.snapshot(VmaasInstanceCloneSnapshotArgs.builder()
.name("test_snapshot_1")
.description("test snapshot description is optional")
.build())
.build());
}
}
resources:
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# Clone a instance from an existing instance
tfInstanceClone:
type: hpegl:VmaasInstanceClone
properties:
sourceInstanceId: ${hpegl_vmaas_instance.tf_instance.id}
cloudId: ${data.hpegl_vmaas_cloud.cloud.id}
groupId: ${data.hpegl_vmaas_group.default_group.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}
- name: local_vol
size: 5
datastoreId: ${data.hpegl_vmaas_datastore.c_3par.id}
configs:
- resourcePoolId: ${data.hpegl_vmaas_resource_pool.cl_resource_pool.id}
templateId: ${data.hpegl_vmaas_template.vanilla.id}
noAgent: true
folderCode: ${data.hpegl_vmaas_cloud_folder.compute_folder.code}
assetTag: vm_tag
hostname: tf_host_1
scale: 2
evars:
proxy: http://address:port
powerScheduleId: ${data.hpegl_vmaas_powerSchedule.weekday.id}
snapshot:
name: test_snapshot_1
description: test snapshot description is optional
Create VmaasInstanceClone Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VmaasInstanceClone(name: string, args: VmaasInstanceCloneArgs, opts?: CustomResourceOptions);
@overload
def VmaasInstanceClone(resource_name: str,
args: VmaasInstanceCloneArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VmaasInstanceClone(resource_name: str,
opts: Optional[ResourceOptions] = None,
networks: Optional[Sequence[VmaasInstanceCloneNetworkArgs]] = None,
volumes: Optional[Sequence[VmaasInstanceCloneVolumeArgs]] = None,
source_instance_id: Optional[float] = None,
name: Optional[str] = None,
plan_id: Optional[float] = None,
group_id: Optional[float] = None,
hostname: Optional[str] = None,
instance_type_code: Optional[str] = None,
labels: Optional[Sequence[str]] = None,
layout_id: Optional[float] = None,
cloud_id: Optional[float] = None,
environment_code: Optional[str] = None,
evars: Optional[Mapping[str, str]] = None,
power: Optional[str] = None,
power_schedule_id: Optional[float] = None,
restart_instance: Optional[float] = None,
scale: Optional[float] = None,
snapshot: Optional[VmaasInstanceCloneSnapshotArgs] = None,
env_prefix: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vmaas_instance_clone_id: Optional[str] = None,
configs: Optional[Sequence[VmaasInstanceCloneConfigArgs]] = None)
func NewVmaasInstanceClone(ctx *Context, name string, args VmaasInstanceCloneArgs, opts ...ResourceOption) (*VmaasInstanceClone, error)
public VmaasInstanceClone(string name, VmaasInstanceCloneArgs args, CustomResourceOptions? opts = null)
public VmaasInstanceClone(String name, VmaasInstanceCloneArgs args)
public VmaasInstanceClone(String name, VmaasInstanceCloneArgs args, CustomResourceOptions options)
type: hpegl:VmaasInstanceClone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VmaasInstanceCloneArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. VmaasInstanceCloneArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VmaasInstanceCloneArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VmaasInstanceCloneArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. VmaasInstanceCloneArgs - 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 vmaasInstanceCloneResource = new Hpegl.VmaasInstanceClone("vmaasInstanceCloneResource", new()
{
Networks = new[]
{
new Hpegl.Inputs.VmaasInstanceCloneNetworkArgs
{
Id = 0,
InterfaceId = 0,
InternalId = 0,
IsPrimary = false,
Name = "string",
},
},
Volumes = new[]
{
new Hpegl.Inputs.VmaasInstanceCloneVolumeArgs
{
DatastoreId = "string",
Name = "string",
Size = 0,
Controller = "string",
Id = 0,
Root = false,
StorageType = 0,
},
},
SourceInstanceId = 0,
Name = "string",
PlanId = 0,
GroupId = 0,
Hostname = "string",
InstanceTypeCode = "string",
Labels = new[]
{
"string",
},
LayoutId = 0,
CloudId = 0,
EnvironmentCode = "string",
Evars =
{
{ "string", "string" },
},
Power = "string",
PowerScheduleId = 0,
RestartInstance = 0,
Scale = 0,
Snapshot = new Hpegl.Inputs.VmaasInstanceCloneSnapshotArgs
{
Name = "string",
Description = "string",
Id = 0,
IsSnapshotExists = false,
},
EnvPrefix = "string",
Tags =
{
{ "string", "string" },
},
VmaasInstanceCloneId = "string",
Configs = new[]
{
new Hpegl.Inputs.VmaasInstanceCloneConfigArgs
{
AssetTag = "string",
CreateUser = false,
FolderCode = "string",
NoAgent = false,
ResourcePoolId = 0,
TemplateId = 0,
},
},
});
example, err := hpegl.NewVmaasInstanceClone(ctx, "vmaasInstanceCloneResource", &hpegl.VmaasInstanceCloneArgs{
Networks: .VmaasInstanceCloneNetworkArray{
&.VmaasInstanceCloneNetworkArgs{
Id: pulumi.Float64(0),
InterfaceId: pulumi.Float64(0),
InternalId: pulumi.Float64(0),
IsPrimary: pulumi.Bool(false),
Name: pulumi.String("string"),
},
},
Volumes: .VmaasInstanceCloneVolumeArray{
&.VmaasInstanceCloneVolumeArgs{
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),
},
},
SourceInstanceId: pulumi.Float64(0),
Name: pulumi.String("string"),
PlanId: pulumi.Float64(0),
GroupId: pulumi.Float64(0),
Hostname: pulumi.String("string"),
InstanceTypeCode: pulumi.String("string"),
Labels: pulumi.StringArray{
pulumi.String("string"),
},
LayoutId: pulumi.Float64(0),
CloudId: pulumi.Float64(0),
EnvironmentCode: pulumi.String("string"),
Evars: pulumi.StringMap{
"string": pulumi.String("string"),
},
Power: pulumi.String("string"),
PowerScheduleId: pulumi.Float64(0),
RestartInstance: pulumi.Float64(0),
Scale: pulumi.Float64(0),
Snapshot: &.VmaasInstanceCloneSnapshotArgs{
Name: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.Float64(0),
IsSnapshotExists: pulumi.Bool(false),
},
EnvPrefix: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VmaasInstanceCloneId: pulumi.String("string"),
Configs: .VmaasInstanceCloneConfigArray{
&.VmaasInstanceCloneConfigArgs{
AssetTag: pulumi.String("string"),
CreateUser: pulumi.Bool(false),
FolderCode: pulumi.String("string"),
NoAgent: pulumi.Bool(false),
ResourcePoolId: pulumi.Float64(0),
TemplateId: pulumi.Float64(0),
},
},
})
var vmaasInstanceCloneResource = new VmaasInstanceClone("vmaasInstanceCloneResource", VmaasInstanceCloneArgs.builder()
.networks(VmaasInstanceCloneNetworkArgs.builder()
.id(0)
.interfaceId(0)
.internalId(0)
.isPrimary(false)
.name("string")
.build())
.volumes(VmaasInstanceCloneVolumeArgs.builder()
.datastoreId("string")
.name("string")
.size(0)
.controller("string")
.id(0)
.root(false)
.storageType(0)
.build())
.sourceInstanceId(0)
.name("string")
.planId(0)
.groupId(0)
.hostname("string")
.instanceTypeCode("string")
.labels("string")
.layoutId(0)
.cloudId(0)
.environmentCode("string")
.evars(Map.of("string", "string"))
.power("string")
.powerScheduleId(0)
.restartInstance(0)
.scale(0)
.snapshot(VmaasInstanceCloneSnapshotArgs.builder()
.name("string")
.description("string")
.id(0)
.isSnapshotExists(false)
.build())
.envPrefix("string")
.tags(Map.of("string", "string"))
.vmaasInstanceCloneId("string")
.configs(VmaasInstanceCloneConfigArgs.builder()
.assetTag("string")
.createUser(false)
.folderCode("string")
.noAgent(false)
.resourcePoolId(0)
.templateId(0)
.build())
.build());
vmaas_instance_clone_resource = hpegl.VmaasInstanceClone("vmaasInstanceCloneResource",
networks=[{
"id": 0,
"interface_id": 0,
"internal_id": 0,
"is_primary": False,
"name": "string",
}],
volumes=[{
"datastore_id": "string",
"name": "string",
"size": 0,
"controller": "string",
"id": 0,
"root": False,
"storage_type": 0,
}],
source_instance_id=0,
name="string",
plan_id=0,
group_id=0,
hostname="string",
instance_type_code="string",
labels=["string"],
layout_id=0,
cloud_id=0,
environment_code="string",
evars={
"string": "string",
},
power="string",
power_schedule_id=0,
restart_instance=0,
scale=0,
snapshot={
"name": "string",
"description": "string",
"id": 0,
"is_snapshot_exists": False,
},
env_prefix="string",
tags={
"string": "string",
},
vmaas_instance_clone_id="string",
configs=[{
"asset_tag": "string",
"create_user": False,
"folder_code": "string",
"no_agent": False,
"resource_pool_id": 0,
"template_id": 0,
}])
const vmaasInstanceCloneResource = new hpegl.VmaasInstanceClone("vmaasInstanceCloneResource", {
networks: [{
id: 0,
interfaceId: 0,
internalId: 0,
isPrimary: false,
name: "string",
}],
volumes: [{
datastoreId: "string",
name: "string",
size: 0,
controller: "string",
id: 0,
root: false,
storageType: 0,
}],
sourceInstanceId: 0,
name: "string",
planId: 0,
groupId: 0,
hostname: "string",
instanceTypeCode: "string",
labels: ["string"],
layoutId: 0,
cloudId: 0,
environmentCode: "string",
evars: {
string: "string",
},
power: "string",
powerScheduleId: 0,
restartInstance: 0,
scale: 0,
snapshot: {
name: "string",
description: "string",
id: 0,
isSnapshotExists: false,
},
envPrefix: "string",
tags: {
string: "string",
},
vmaasInstanceCloneId: "string",
configs: [{
assetTag: "string",
createUser: false,
folderCode: "string",
noAgent: false,
resourcePoolId: 0,
templateId: 0,
}],
});
type: hpegl:VmaasInstanceClone
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
power: string
powerScheduleId: 0
restartInstance: 0
scale: 0
snapshot:
description: string
id: 0
isSnapshotExists: false
name: string
sourceInstanceId: 0
tags:
string: string
vmaasInstanceCloneId: string
volumes:
- controller: string
datastoreId: string
id: 0
name: string
root: false
size: 0
storageType: 0
VmaasInstanceClone 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 VmaasInstanceClone resource accepts the following input properties:
- Networks
This property is required. List<VmaasInstance Clone Network> - Details of the network to which the instance should belong.
- Source
Instance Id This property is required. double - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- Volumes
This property is required. List<VmaasInstance Clone Volume> - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- Cloud
Id double - Unique ID to identify a cloud.
- Configs
List<Vmaas
Instance Clone Config> - Configuration details for the instance to be provisioned.
- Env
Prefix string - Environment prefix
- Environment
Code string - Environment code, which can be obtained via hpeglvmaasenvironment.code
- Evars Dictionary<string, string>
- Environment Variables to be added to the provisioned instance.
- Group
Id double - Unique ID to identify a group.
- Hostname string
- Hostname for the instance
- Instance
Type stringCode - Unique code to identify the instance type.
- Labels List<string>
- An array of strings for labelling instance.
- Layout
Id double - Unique ID to identify a layout.
- Name string
- Name of the instance to be provisioned.
- Plan
Id double - Unique ID to identify a plan.
- 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.
- Power
Schedule doubleId - Scheduled power operations
- Restart
Instance 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
Vmaas
Instance Clone 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.
- Vmaas
Instance stringClone Id - The ID of this resource.
- Networks
This property is required. []VmaasInstance Clone Network Args - Details of the network to which the instance should belong.
- Source
Instance Id This property is required. float64 - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- Volumes
This property is required. []VmaasInstance Clone Volume Args - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- Cloud
Id float64 - Unique ID to identify a cloud.
- Configs
[]Vmaas
Instance Clone Config Args - Configuration details for the instance to be provisioned.
- Env
Prefix string - Environment prefix
- Environment
Code string - Environment code, which can be obtained via hpeglvmaasenvironment.code
- Evars map[string]string
- Environment Variables to be added to the provisioned instance.
- Group
Id float64 - Unique ID to identify a group.
- Hostname string
- Hostname for the instance
- Instance
Type stringCode - Unique code to identify the instance type.
- Labels []string
- An array of strings for labelling instance.
- Layout
Id float64 - Unique ID to identify a layout.
- Name string
- Name of the instance to be provisioned.
- Plan
Id float64 - Unique ID to identify a plan.
- 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.
- Power
Schedule float64Id - Scheduled power operations
- Restart
Instance 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
Vmaas
Instance Clone 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.
- Vmaas
Instance stringClone Id - The ID of this resource.
- networks
This property is required. List<VmaasInstance Clone Network> - Details of the network to which the instance should belong.
- source
Instance Id This property is required. Double - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- volumes
This property is required. List<VmaasInstance Clone Volume> - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloud
Id Double - Unique ID to identify a cloud.
- configs
List<Vmaas
Instance Clone Config> - Configuration details for the instance to be provisioned.
- env
Prefix String - Environment prefix
- environment
Code String - Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Map<String,String>
- Environment Variables to be added to the provisioned instance.
- group
Id Double - Unique ID to identify a group.
- hostname String
- Hostname for the instance
- instance
Type StringCode - Unique code to identify the instance type.
- labels List<String>
- An array of strings for labelling instance.
- layout
Id Double - Unique ID to identify a layout.
- name String
- Name of the instance to be provisioned.
- plan
Id Double - Unique ID to identify a plan.
- 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.
- power
Schedule DoubleId - Scheduled power operations
- restart
Instance 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
Vmaas
Instance Clone 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.
- vmaas
Instance StringClone Id - The ID of this resource.
- networks
This property is required. VmaasInstance Clone Network[] - Details of the network to which the instance should belong.
- source
Instance Id This property is required. number - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- volumes
This property is required. VmaasInstance Clone Volume[] - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloud
Id number - Unique ID to identify a cloud.
- configs
Vmaas
Instance Clone Config[] - Configuration details for the instance to be provisioned.
- env
Prefix string - Environment prefix
- environment
Code string - Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars {[key: string]: string}
- Environment Variables to be added to the provisioned instance.
- group
Id number - Unique ID to identify a group.
- hostname string
- Hostname for the instance
- instance
Type stringCode - Unique code to identify the instance type.
- labels string[]
- An array of strings for labelling instance.
- layout
Id number - Unique ID to identify a layout.
- name string
- Name of the instance to be provisioned.
- plan
Id number - Unique ID to identify a plan.
- 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.
- power
Schedule numberId - Scheduled power operations
- restart
Instance 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
Vmaas
Instance Clone 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.
- vmaas
Instance stringClone Id - The ID of this resource.
- networks
This property is required. Sequence[VmaasInstance Clone Network Args] - Details of the network to which the instance should belong.
- source_
instance_ id This property is required. float - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- volumes
This property is required. Sequence[VmaasInstance Clone Volume Args] - 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[Vmaas
Instance Clone Config Args] - Configuration details for the instance to be provisioned.
- 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.
- 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.
- plan_
id float - Unique ID to identify a plan.
- 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
Vmaas
Instance Clone 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_ strclone_ id - The ID of this resource.
- networks
This property is required. List<Property Map> - Details of the network to which the instance should belong.
- source
Instance Id This property is required. Number - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- volumes
This property is required. List<Property Map> - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloud
Id Number - Unique ID to identify a cloud.
- configs List<Property Map>
- Configuration details for the instance to be provisioned.
- env
Prefix String - Environment prefix
- environment
Code String - Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Map<String>
- Environment Variables to be added to the provisioned instance.
- group
Id Number - Unique ID to identify a group.
- hostname String
- Hostname for the instance
- instance
Type StringCode - Unique code to identify the instance type.
- labels List<String>
- An array of strings for labelling instance.
- layout
Id Number - Unique ID to identify a layout.
- name String
- Name of the instance to be provisioned.
- plan
Id Number - Unique ID to identify a plan.
- 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.
- power
Schedule NumberId - Scheduled power operations
- restart
Instance 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.
- vmaas
Instance StringClone Id - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VmaasInstanceClone resource produces the following output properties:
- Containers
List<Vmaas
Instance Clone Container> - Container's details for the instance which contains IP addresses, hostname and other stats
- Histories
List<Vmaas
Instance Clone History> - History details for the instance
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Id double - Unique ID to identify a server.
- Status string
- Status of the instance.
- Containers
[]Vmaas
Instance Clone Container - Container's details for the instance which contains IP addresses, hostname and other stats
- Histories
[]Vmaas
Instance Clone History - History details for the instance
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Id float64 - Unique ID to identify a server.
- Status string
- Status of the instance.
- containers
List<Vmaas
Instance Clone Container> - Container's details for the instance which contains IP addresses, hostname and other stats
- histories
List<Vmaas
Instance Clone History> - History details for the instance
- id String
- The provider-assigned unique ID for this managed resource.
- server
Id Double - Unique ID to identify a server.
- status String
- Status of the instance.
- containers
Vmaas
Instance Clone Container[] - Container's details for the instance which contains IP addresses, hostname and other stats
- histories
Vmaas
Instance Clone History[] - History details for the instance
- id string
- The provider-assigned unique ID for this managed resource.
- server
Id number - Unique ID to identify a server.
- status string
- Status of the instance.
- containers
Sequence[Vmaas
Instance Clone Container] - Container's details for the instance which contains IP addresses, hostname and other stats
- histories
Sequence[Vmaas
Instance Clone 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.
- server
Id Number - Unique ID to identify a server.
- status String
- Status of the instance.
Look up Existing VmaasInstanceClone Resource
Get an existing VmaasInstanceClone 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?: VmaasInstanceCloneState, opts?: CustomResourceOptions): VmaasInstanceClone
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloud_id: Optional[float] = None,
configs: Optional[Sequence[VmaasInstanceCloneConfigArgs]] = None,
containers: Optional[Sequence[VmaasInstanceCloneContainerArgs]] = 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[VmaasInstanceCloneHistoryArgs]] = 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[VmaasInstanceCloneNetworkArgs]] = None,
plan_id: Optional[float] = 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[VmaasInstanceCloneSnapshotArgs] = None,
source_instance_id: Optional[float] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vmaas_instance_clone_id: Optional[str] = None,
volumes: Optional[Sequence[VmaasInstanceCloneVolumeArgs]] = None) -> VmaasInstanceClone
func GetVmaasInstanceClone(ctx *Context, name string, id IDInput, state *VmaasInstanceCloneState, opts ...ResourceOption) (*VmaasInstanceClone, error)
public static VmaasInstanceClone Get(string name, Input<string> id, VmaasInstanceCloneState? state, CustomResourceOptions? opts = null)
public static VmaasInstanceClone get(String name, Output<String> id, VmaasInstanceCloneState state, CustomResourceOptions options)
resources: _: type: hpegl:VmaasInstanceClone get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Cloud
Id double - Unique ID to identify a cloud.
- Configs
List<Vmaas
Instance Clone Config> - Configuration details for the instance to be provisioned.
- Containers
List<Vmaas
Instance Clone Container> - Container's details for the instance which contains IP addresses, hostname and other stats
- Env
Prefix string - Environment prefix
- Environment
Code string - Environment code, which can be obtained via hpeglvmaasenvironment.code
- Evars Dictionary<string, string>
- Environment Variables to be added to the provisioned instance.
- Group
Id double - Unique ID to identify a group.
- Histories
List<Vmaas
Instance Clone History> - History details for the instance
- Hostname string
- Hostname for the instance
- Instance
Type stringCode - Unique code to identify the instance type.
- Labels List<string>
- An array of strings for labelling instance.
- Layout
Id double - Unique ID to identify a layout.
- Name string
- Name of the instance to be provisioned.
- Networks
List<Vmaas
Instance Clone Network> - Details of the network to which the instance should belong.
- Plan
Id double - Unique ID to identify a plan.
- 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.
- Power
Schedule doubleId - Scheduled power operations
- Restart
Instance 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.
- Server
Id double - Unique ID to identify a server.
- Snapshot
Vmaas
Instance Clone 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.
- Source
Instance doubleId - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- Status string
- Status of the instance.
- Dictionary<string, string>
- A list of key and value pairs used to tag instances of similar type.
- Vmaas
Instance stringClone Id - The ID of this resource.
- Volumes
List<Vmaas
Instance Clone Volume> - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- Cloud
Id float64 - Unique ID to identify a cloud.
- Configs
[]Vmaas
Instance Clone Config Args - Configuration details for the instance to be provisioned.
- Containers
[]Vmaas
Instance Clone Container Args - Container's details for the instance which contains IP addresses, hostname and other stats
- Env
Prefix string - Environment prefix
- Environment
Code string - Environment code, which can be obtained via hpeglvmaasenvironment.code
- Evars map[string]string
- Environment Variables to be added to the provisioned instance.
- Group
Id float64 - Unique ID to identify a group.
- Histories
[]Vmaas
Instance Clone History Args - History details for the instance
- Hostname string
- Hostname for the instance
- Instance
Type stringCode - Unique code to identify the instance type.
- Labels []string
- An array of strings for labelling instance.
- Layout
Id float64 - Unique ID to identify a layout.
- Name string
- Name of the instance to be provisioned.
- Networks
[]Vmaas
Instance Clone Network Args - Details of the network to which the instance should belong.
- Plan
Id float64 - Unique ID to identify a plan.
- 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.
- Power
Schedule float64Id - Scheduled power operations
- Restart
Instance 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.
- Server
Id float64 - Unique ID to identify a server.
- Snapshot
Vmaas
Instance Clone 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.
- Source
Instance float64Id - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- Status string
- Status of the instance.
- map[string]string
- A list of key and value pairs used to tag instances of similar type.
- Vmaas
Instance stringClone Id - The ID of this resource.
- Volumes
[]Vmaas
Instance Clone Volume Args - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloud
Id Double - Unique ID to identify a cloud.
- configs
List<Vmaas
Instance Clone Config> - Configuration details for the instance to be provisioned.
- containers
List<Vmaas
Instance Clone Container> - Container's details for the instance which contains IP addresses, hostname and other stats
- env
Prefix String - Environment prefix
- environment
Code String - Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Map<String,String>
- Environment Variables to be added to the provisioned instance.
- group
Id Double - Unique ID to identify a group.
- histories
List<Vmaas
Instance Clone History> - History details for the instance
- hostname String
- Hostname for the instance
- instance
Type StringCode - Unique code to identify the instance type.
- labels List<String>
- An array of strings for labelling instance.
- layout
Id Double - Unique ID to identify a layout.
- name String
- Name of the instance to be provisioned.
- networks
List<Vmaas
Instance Clone Network> - Details of the network to which the instance should belong.
- plan
Id Double - Unique ID to identify a plan.
- 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.
- power
Schedule DoubleId - Scheduled power operations
- restart
Instance 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.
- server
Id Double - Unique ID to identify a server.
- snapshot
Vmaas
Instance Clone 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.
- source
Instance DoubleId - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- status String
- Status of the instance.
- Map<String,String>
- A list of key and value pairs used to tag instances of similar type.
- vmaas
Instance StringClone Id - The ID of this resource.
- volumes
List<Vmaas
Instance Clone Volume> - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloud
Id number - Unique ID to identify a cloud.
- configs
Vmaas
Instance Clone Config[] - Configuration details for the instance to be provisioned.
- containers
Vmaas
Instance Clone Container[] - Container's details for the instance which contains IP addresses, hostname and other stats
- env
Prefix string - Environment prefix
- environment
Code string - Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars {[key: string]: string}
- Environment Variables to be added to the provisioned instance.
- group
Id number - Unique ID to identify a group.
- histories
Vmaas
Instance Clone History[] - History details for the instance
- hostname string
- Hostname for the instance
- instance
Type stringCode - Unique code to identify the instance type.
- labels string[]
- An array of strings for labelling instance.
- layout
Id number - Unique ID to identify a layout.
- name string
- Name of the instance to be provisioned.
- networks
Vmaas
Instance Clone Network[] - Details of the network to which the instance should belong.
- plan
Id number - Unique ID to identify a plan.
- 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.
- power
Schedule numberId - Scheduled power operations
- restart
Instance 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.
- server
Id number - Unique ID to identify a server.
- snapshot
Vmaas
Instance Clone 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.
- source
Instance numberId - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- status string
- Status of the instance.
- {[key: string]: string}
- A list of key and value pairs used to tag instances of similar type.
- vmaas
Instance stringClone Id - The ID of this resource.
- volumes
Vmaas
Instance Clone 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[Vmaas
Instance Clone Config Args] - Configuration details for the instance to be provisioned.
- containers
Sequence[Vmaas
Instance Clone 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[Vmaas
Instance Clone 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[Vmaas
Instance Clone Network Args] - Details of the network to which the instance should belong.
- plan_
id float - Unique ID to identify a plan.
- 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
Vmaas
Instance Clone 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.
- source_
instance_ floatid - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- 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_ strclone_ id - The ID of this resource.
- volumes
Sequence[Vmaas
Instance Clone Volume Args] - A list of volumes to be created inside a provisioned instance. It can have a root volume and other secondary volumes.
- cloud
Id 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
- env
Prefix String - Environment prefix
- environment
Code String - Environment code, which can be obtained via hpeglvmaasenvironment.code
- evars Map<String>
- Environment Variables to be added to the provisioned instance.
- group
Id Number - Unique ID to identify a group.
- histories List<Property Map>
- History details for the instance
- hostname String
- Hostname for the instance
- instance
Type StringCode - Unique code to identify the instance type.
- labels List<String>
- An array of strings for labelling instance.
- layout
Id 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.
- plan
Id Number - Unique ID to identify a plan.
- 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.
- power
Schedule NumberId - Scheduled power operations
- restart
Instance 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.
- server
Id 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.
- source
Instance NumberId - Instance ID of the source instance. For getting source instance ID use 'hpegvmaasinstance' resource.
- status String
- Status of the instance.
- Map<String>
- A list of key and value pairs used to tag instances of similar type.
- vmaas
Instance StringClone Id - 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
VmaasInstanceCloneConfig, VmaasInstanceCloneConfigArgs
- Asset
Tag string - Asset tag
- Create
User bool - Create user
- Folder
Code string - Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- No
Agent bool - If true agent will not be installed on the instance.
- Resource
Pool doubleId - Unique ID to identify a resource pool.
- Template
Id double - Unique ID for the template
- Asset
Tag string - Asset tag
- Create
User bool - Create user
- Folder
Code string - Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- No
Agent bool - If true agent will not be installed on the instance.
- Resource
Pool float64Id - Unique ID to identify a resource pool.
- Template
Id float64 - Unique ID for the template
- asset
Tag String - Asset tag
- create
User Boolean - Create user
- folder
Code String - Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- no
Agent Boolean - If true agent will not be installed on the instance.
- resource
Pool DoubleId - Unique ID to identify a resource pool.
- template
Id Double - Unique ID for the template
- asset
Tag string - Asset tag
- create
User boolean - Create user
- folder
Code string - Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- no
Agent boolean - If true agent will not be installed on the instance.
- resource
Pool numberId - Unique ID to identify a resource pool.
- template
Id number - Unique ID for the template
- asset_
tag str - Asset tag
- create_
user bool - Create user
- folder_
code str - Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- no_
agent bool - If true agent will not be installed on the instance.
- resource_
pool_ floatid - Unique ID to identify a resource pool.
- template_
id float - Unique ID for the template
- asset
Tag String - Asset tag
- create
User Boolean - Create user
- folder
Code String - Folder in which all VMs to be spawned, use hpeglvmaascloud_folder.code datasource
- no
Agent Boolean - If true agent will not be installed on the instance.
- resource
Pool NumberId - Unique ID to identify a resource pool.
- template
Id Number - Unique ID for the template
VmaasInstanceCloneContainer, VmaasInstanceCloneContainerArgs
- Container
Types This property is required. List<VmaasInstance Clone Container Container Type> - External
Fqdn This property is required. string - Hostname
This property is required. string - Id
This property is required. double - Ip
This property is required. string - Max
Cores This property is required. double - Name
This property is required. string - Servers
This property is required. List<VmaasInstance Clone Container Server>
- Container
Types This property is required. []VmaasInstance Clone Container Container Type - External
Fqdn This property is required. string - Hostname
This property is required. string - Id
This property is required. float64 - Ip
This property is required. string - Max
Cores This property is required. float64 - Name
This property is required. string - Servers
This property is required. []VmaasInstance Clone Container Server
- container
Types This property is required. List<VmaasInstance Clone Container Container Type> - external
Fqdn This property is required. String - hostname
This property is required. String - id
This property is required. Double - ip
This property is required. String - max
Cores This property is required. Double - name
This property is required. String - servers
This property is required. List<VmaasInstance Clone Container Server>
- container
Types This property is required. VmaasInstance Clone Container Container Type[] - external
Fqdn This property is required. string - hostname
This property is required. string - id
This property is required. number - ip
This property is required. string - max
Cores This property is required. number - name
This property is required. string - servers
This property is required. VmaasInstance Clone Container Server[]
- container_
types This property is required. Sequence[VmaasInstance Clone Container Container Type] - external_
fqdn This property is required. str - hostname
This property is required. str - id
This property is required. float - ip
This property is required. str - max_
cores This property is required. float - name
This property is required. str - servers
This property is required. Sequence[VmaasInstance Clone Container Server]
- container
Types This property is required. List<Property Map> - external
Fqdn This property is required. String - hostname
This property is required. String - id
This property is required. Number - ip
This property is required. String - max
Cores This property is required. Number - name
This property is required. String - servers
This property is required. List<Property Map>
VmaasInstanceCloneContainerContainerType, VmaasInstanceCloneContainerContainerTypeArgs
- Name
This property is required. string
- Name
This property is required. string
- name
This property is required. String
- name
This property is required. string
- name
This property is required. str
- name
This property is required. String
VmaasInstanceCloneContainerServer, VmaasInstanceCloneContainerServerArgs
- Compute
Server Types This property is required. List<VmaasInstance Clone Container Server Compute Server Type> - Date
Created This property is required. string - Id
This property is required. double - Last
Updated This property is required. string - Owners
This property is required. List<VmaasInstance Clone Container Server Owner> - Platform
This property is required. string - Platform
Version This property is required. string - Server
Os This property is required. List<VmaasInstance Clone Container Server Server O> - Ssh
Host This property is required. string - Ssh
Port This property is required. double - Visibility
This property is required. string
- Compute
Server Types This property is required. []VmaasInstance Clone Container Server Compute Server Type - Date
Created This property is required. string - Id
This property is required. float64 - Last
Updated This property is required. string - Owners
This property is required. []VmaasInstance Clone Container Server Owner - Platform
This property is required. string - Platform
Version This property is required. string - Server
Os This property is required. []VmaasInstance Clone Container Server Server O - Ssh
Host This property is required. string - Ssh
Port This property is required. float64 - Visibility
This property is required. string
- compute
Server Types This property is required. List<VmaasInstance Clone Container Server Compute Server Type> - date
Created This property is required. String - id
This property is required. Double - last
Updated This property is required. String - owners
This property is required. List<VmaasInstance Clone Container Server Owner> - platform
This property is required. String - platform
Version This property is required. String - server
Os This property is required. List<VmaasInstance Clone Container Server Server O> - ssh
Host This property is required. String - ssh
Port This property is required. Double - visibility
This property is required. String
- compute
Server Types This property is required. VmaasInstance Clone Container Server Compute Server Type[] - date
Created This property is required. string - id
This property is required. number - last
Updated This property is required. string - owners
This property is required. VmaasInstance Clone Container Server Owner[] - platform
This property is required. string - platform
Version This property is required. string - server
Os This property is required. VmaasInstance Clone Container Server Server O[] - ssh
Host This property is required. string - ssh
Port This property is required. number - visibility
This property is required. string
- compute_
server_ types This property is required. Sequence[VmaasInstance Clone Container Server Compute Server Type] - date_
created This property is required. str - id
This property is required. float - last_
updated This property is required. str - owners
This property is required. Sequence[VmaasInstance Clone Container Server Owner] - platform
This property is required. str - platform_
version This property is required. str - server_
os This property is required. Sequence[VmaasInstance Clone Container Server Server O] - ssh_
host This property is required. str - ssh_
port This property is required. float - visibility
This property is required. str
- compute
Server Types This property is required. List<Property Map> - date
Created This property is required. String - id
This property is required. Number - last
Updated This property is required. String - owners
This property is required. List<Property Map> - platform
This property is required. String - platform
Version This property is required. String - server
Os This property is required. List<Property Map> - ssh
Host This property is required. String - ssh
Port This property is required. Number - visibility
This property is required. String
VmaasInstanceCloneContainerServerComputeServerType, VmaasInstanceCloneContainerServerComputeServerTypeArgs
- External
Delete This property is required. bool - Managed
This property is required. bool - Name
This property is required. string
- External
Delete This property is required. bool - Managed
This property is required. bool - Name
This property is required. string
- external
Delete This property is required. Boolean - managed
This property is required. Boolean - name
This property is required. String
- external
Delete This property is required. boolean - managed
This property is required. boolean - name
This property is required. string
- external_
delete This property is required. bool - managed
This property is required. bool - name
This property is required. str
- external
Delete This property is required. Boolean - managed
This property is required. Boolean - name
This property is required. String
VmaasInstanceCloneContainerServerOwner, VmaasInstanceCloneContainerServerOwnerArgs
- Username
This property is required. string
- Username
This property is required. string
- username
This property is required. String
- username
This property is required. string
- username
This property is required. str
- username
This property is required. String
VmaasInstanceCloneContainerServerServerO, VmaasInstanceCloneContainerServerServerOArgs
- Name
This property is required. string
- Name
This property is required. string
- name
This property is required. String
- name
This property is required. string
- name
This property is required. str
- name
This property is required. String
VmaasInstanceCloneHistory, VmaasInstanceCloneHistoryArgs
- Account
Id This property is required. double - Created
Bies This property is required. List<VmaasInstance Clone History Created By> - Date
Created This property is required. string - Display
Name This property is required. string - Duration
This property is required. double - End
Date This property is required. string - Id
This property is required. double - Instance
Id This property is required. double - Last
Updated This property is required. string - Percent
This property is required. double - Process
Types This property is required. List<VmaasInstance Clone History Process Type> - Reason
This property is required. string - Start
Date This property is required. string - Status
This property is required. string - Status
Eta This property is required. double - Unique
Id This property is required. string - Updated
Bies This property is required. List<VmaasInstance Clone History Updated By>
- Account
Id This property is required. float64 - Created
Bies This property is required. []VmaasInstance Clone History Created By - Date
Created This property is required. string - Display
Name This property is required. string - Duration
This property is required. float64 - End
Date This property is required. string - Id
This property is required. float64 - Instance
Id This property is required. float64 - Last
Updated This property is required. string - Percent
This property is required. float64 - Process
Types This property is required. []VmaasInstance Clone History Process Type - Reason
This property is required. string - Start
Date This property is required. string - Status
This property is required. string - Status
Eta This property is required. float64 - Unique
Id This property is required. string - Updated
Bies This property is required. []VmaasInstance Clone History Updated By
- account
Id This property is required. Double - created
Bies This property is required. List<VmaasInstance Clone History Created By> - date
Created This property is required. String - display
Name This property is required. String - duration
This property is required. Double - end
Date This property is required. String - id
This property is required. Double - instance
Id This property is required. Double - last
Updated This property is required. String - percent
This property is required. Double - process
Types This property is required. List<VmaasInstance Clone History Process Type> - reason
This property is required. String - start
Date This property is required. String - status
This property is required. String - status
Eta This property is required. Double - unique
Id This property is required. String - updated
Bies This property is required. List<VmaasInstance Clone History Updated By>
- account
Id This property is required. number - created
Bies This property is required. VmaasInstance Clone History Created By[] - date
Created This property is required. string - display
Name This property is required. string - duration
This property is required. number - end
Date This property is required. string - id
This property is required. number - instance
Id This property is required. number - last
Updated This property is required. string - percent
This property is required. number - process
Types This property is required. VmaasInstance Clone History Process Type[] - reason
This property is required. string - start
Date This property is required. string - status
This property is required. string - status
Eta This property is required. number - unique
Id This property is required. string - updated
Bies This property is required. VmaasInstance Clone History Updated By[]
- account_
id This property is required. float - created_
bies This property is required. Sequence[VmaasInstance Clone History Created By] - date_
created This property is required. str - display_
name This property is required. str - duration
This property is required. float - end_
date This property is required. str - id
This property is required. float - instance_
id This property is required. float - last_
updated This property is required. str - percent
This property is required. float - process_
types This property is required. Sequence[VmaasInstance Clone History Process Type] - reason
This property is required. str - start_
date This property is required. str - status
This property is required. str - status_
eta This property is required. float - unique_
id This property is required. str - updated_
bies This property is required. Sequence[VmaasInstance Clone History Updated By]
- account
Id This property is required. Number - created
Bies This property is required. List<Property Map> - date
Created This property is required. String - display
Name This property is required. String - duration
This property is required. Number - end
Date This property is required. String - id
This property is required. Number - instance
Id This property is required. Number - last
Updated This property is required. String - percent
This property is required. Number - process
Types This property is required. List<Property Map> - reason
This property is required. String - start
Date This property is required. String - status
This property is required. String - status
Eta This property is required. Number - unique
Id This property is required. String - updated
Bies This property is required. List<Property Map>
VmaasInstanceCloneHistoryCreatedBy, VmaasInstanceCloneHistoryCreatedByArgs
- Display
Name This property is required. string - Username
This property is required. string
- Display
Name This property is required. string - Username
This property is required. string
- display
Name This property is required. String - username
This property is required. String
- display
Name This property is required. string - username
This property is required. string
- display_
name This property is required. str - username
This property is required. str
- display
Name This property is required. String - username
This property is required. String
VmaasInstanceCloneHistoryProcessType, VmaasInstanceCloneHistoryProcessTypeArgs
VmaasInstanceCloneHistoryUpdatedBy, VmaasInstanceCloneHistoryUpdatedByArgs
- Display
Name This property is required. string - Username
This property is required. string
- Display
Name This property is required. string - Username
This property is required. string
- display
Name This property is required. String - username
This property is required. String
- display
Name This property is required. string - username
This property is required. string
- display_
name This property is required. str - username
This property is required. str
- display
Name This property is required. String - username
This property is required. String
VmaasInstanceCloneNetwork, VmaasInstanceCloneNetworkArgs
- Id
This property is required. double - Unique ID to identify a network ID.
- Interface
Id double - Unique ID to identify a network interface type.
- Internal
Id double - 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 string
- name of the interface
- Id
This property is required. float64 - Unique ID to identify a network ID.
- Interface
Id float64 - Unique ID to identify a network interface type.
- Internal
Id float64 - 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 string
- name of the interface
- id
This property is required. Double - Unique ID to identify a network ID.
- interface
Id Double - Unique ID to identify a network interface type.
- internal
Id Double - Unique ID to identify a network internal ID.
- is
Primary Boolean - Flag that identifies if a given network is primary. Primary network cannot be deleted.
- name String
- name of the interface
- id
This property is required. number - Unique ID to identify a network ID.
- interface
Id number - Unique ID to identify a network interface type.
- internal
Id number - Unique ID to identify a network internal ID.
- is
Primary boolean - Flag that identifies if a given network is primary. Primary network cannot be deleted.
- name string
- name of the interface
- id
This property is required. 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
This property is required. Number - Unique ID to identify a network ID.
- interface
Id Number - Unique ID to identify a network interface type.
- internal
Id Number - Unique ID to identify a network internal ID.
- is
Primary Boolean - Flag that identifies if a given network is primary. Primary network cannot be deleted.
- name String
- name of the interface
VmaasInstanceCloneSnapshot, VmaasInstanceCloneSnapshotArgs
- Name
This property is required. string - Name of the snapshot.
- Description string
- Description of the snapshot
- Id double
- ID of the snapshot.
- Is
Snapshot boolExists - Flag which will be set to be true if the snapshot with the name exists.
- Name
This property is required. string - Name of the snapshot.
- Description string
- Description of the snapshot
- Id float64
- ID of the snapshot.
- Is
Snapshot boolExists - Flag which will be set to be true if the snapshot with the name exists.
- name
This property is required. String - Name of the snapshot.
- description String
- Description of the snapshot
- id Double
- ID of the snapshot.
- is
Snapshot BooleanExists - Flag which will be set to be true if the snapshot with the name exists.
- name
This property is required. string - Name of the snapshot.
- description string
- Description of the snapshot
- id number
- ID of the snapshot.
- is
Snapshot booleanExists - Flag which will be set to be true if the snapshot with the name exists.
- name
This property is required. 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
This property is required. String - Name of the snapshot.
- description String
- Description of the snapshot
- id Number
- ID of the snapshot.
- is
Snapshot BooleanExists - Flag which will be set to be true if the snapshot with the name exists.
VmaasInstanceCloneVolume, VmaasInstanceCloneVolumeArgs
- Datastore
Id This property is required. string - Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- Name
This property is required. string - Unique name for the volume.
- Size
This property is required. 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
- Storage
Type double - Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- Datastore
Id This property is required. string - Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- Name
This property is required. string - Unique name for the volume.
- Size
This property is required. 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
- Storage
Type float64 - Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- datastore
Id This property is required. String - Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- name
This property is required. String - Unique name for the volume.
- size
This property is required. 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
- storage
Type Double - Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- datastore
Id This property is required. string - Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- name
This property is required. string - Unique name for the volume.
- size
This property is required. 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
- storage
Type number - Storage type ID can be obtained from hpeglvmaasinstancedisktype data source.
- datastore_
id This property is required. str - Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- name
This property is required. str - Unique name for the volume.
- size
This property is required. 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.
- datastore
Id This property is required. String - Datastore ID can be obtained from hpeglvmaasdatastore data source. Use the value 'auto' so that the datastore is automatically selected.
- name
This property is required. String - Unique name for the volume.
- size
This property is required. 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
- storage
Type 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
hpegl
Terraform Provider.
- Example Usage
- Creating Cloned Instance With Minimal Attributes.
- Creating Cloned Instance With All Available Attributes.
- Create VmaasInstanceClone Resource
- Constructor syntax
- Constructor example
- VmaasInstanceClone Resource Properties
- Inputs
- Outputs
- Look up Existing VmaasInstanceClone Resource
- Supporting Types
- Package Details