published on Tuesday, Aug 18, 2026 by OVHcloud
published on Tuesday, Aug 18, 2026 by OVHcloud
Creates an instance in a public cloud project.
WARNING Changing
image_idrebuilds the instance and wipes the root disk. Back up any data on the root disk before changing the image.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
instance:
type: ovh:CloudInstance
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-instance
flavorId: <flavor id>
imageId: <image id>
sshKeyName: my-ssh-key
networks:
- auto_assign_public_ip: true
Example coming soon!
Network interfaces
A networks[] entry supports four shapes. Entries keep the order they are
written in: the API returns them sorted by network id and the provider
re-orders them back to the configuration.
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
networks:
type: ovh:CloudInstance
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-multi-homed-instance
flavorId: <flavor id>
imageId: <image id>
networks:
- auto_assign_public_ip: true
- ip: 203.0.113.10
- network_id: <private network id>
subnet_id: <subnet id>
- network_id: <private network id>
subnet_id: <subnet id>
ip: 10.0.0.42
Example coming soon!
Private-network-only instance
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
private:
type: ovh:CloudNetworkPrivateVrack
properties:
serviceName: <Public cloud project id>
name: my-private-network
region: GRA11
privateCloudNetworkPrivateVrackSubnet:
type: ovh:CloudNetworkPrivateVrackSubnet
name: private
properties:
serviceName: ${private.serviceName}
networkId: ${private.id}
name: my-subnet
cidr: 10.0.0.0/24
region: GRA11
# No public interface at all: the instance is only reachable from the vRack.
# Add an ovh_cloud_gateway on the same subnet to give it egress.
privateOnly:
type: ovh:CloudInstance
name: private_only
properties:
serviceName: ${private.serviceName}
region: GRA11
name: my-private-instance
flavorId: <flavor id>
imageId: <image id>
networks:
- network_id: ${private.id}
subnet_id: ${privateCloudNetworkPrivateVrackSubnet.id}
Example coming soon!
Boot from volume
Omit image_id and pass a bootable volume in volume_ids. The instance’s
current_state.image stays null for a boot-from-volume instance.
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
boot:
type: ovh:CloudStorageBlockVolume
properties:
serviceName: <Public cloud project id>
name: my-boot-volume
size: 50
region: GRA11
volumeType: HIGH_SPEED_GEN2
createFrom:
image_id: <image id>
bootFromVolume:
type: ovh:CloudInstance
name: boot_from_volume
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-boot-from-volume-instance
flavorId: <flavor id>
volumeIds:
- ${boot.id}
networks:
- auto_assign_public_ip: true
Example coming soon!
Attaching additional block volumes
volume_ids is mutable: adding or removing an id attaches or detaches the
volume in place, without recreating the instance.
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
data:
type: ovh:CloudStorageBlockVolume
properties:
serviceName: <Public cloud project id>
name: my-data-volume
size: 100
region: GRA11
volumeType: CLASSIC
withVolumes:
type: ovh:CloudInstance
name: with_volumes
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-instance-with-volumes
flavorId: <flavor id>
imageId: <image id>
volumeIds:
- ${data.id}
networks:
- auto_assign_public_ip: true
Example coming soon!
Security groups
security_group_ids is optional and computed:
- omitted — the platform applies the project’s
defaultsecurity group and writes it into the target spec, so after the first applysecurity_group_idsholds exactly that one group id. Removing the attribute from a configuration that used to set it therefore keeps the groups already attached; it does not detach them. - explicit empty list (
security_group_ids = []) — no security group is applied at all. The instance accepts no inbound traffic; use it only when the filtering is handled elsewhere. - explicit list of ids — exactly those groups are applied to every interface.
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
web:
type: ovh:CloudSecurityGroup
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-web-security-group
description: Allow SSH and HTTPS
rules:
- direction: INGRESS
ethernet_type: IPV4
protocol: TCP
port_range_min: 22
port_range_max: 22
remote_ip_prefix: 0.0.0.0/0
description: SSH
filtered:
type: ovh:CloudInstance
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-filtered-instance
flavorId: <flavor id>
imageId: <image id>
securityGroupIds:
- ${web.id}
networks:
- auto_assign_public_ip: true
# No security group at all: the instance accepts no inbound traffic.
noFiltering:
type: ovh:CloudInstance
name: no_filtering
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-unfiltered-instance
flavorId: <flavor id>
imageId: <image id>
securityGroupIds: []
networks:
- auto_assign_public_ip: true
Example coming soon!
Attaching file storage shares
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
share:
type: ovh:CloudStorageFileShare
properties:
serviceName: <Public cloud project id>
name: my-share
size: 150
region: GRA11
protocol: NFS
shareType: STANDARD_1AZ
shareNetworkId: <share network id>
# No ovh_cloud_storage_file_share_acl resource targets this share: the instance
# below owns its access rules.
withShares:
type: ovh:CloudInstance
name: with_shares
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-instance-with-shares
flavorId: <flavor id>
imageId: <image id>
shares:
- id: ${share.id}
- id: <read only share id>
access_level: READ_ONLY
networks:
- network_id: <private network id>
subnet_id: <subnet id>
Example coming soon!
Power state
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
# The instance stays provisioned and keeps its disks, ports and IPs, but the
# VM is powered off.
stopped:
type: ovh:CloudInstance
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-stopped-instance
flavorId: <flavor id>
imageId: <image id>
powerState: SHUTOFF
networks:
- auto_assign_public_ip: true
# Powered off and released on the hypervisor. Switching power_state back to
# ACTIVE unshelves it in place.
shelved:
type: ovh:CloudInstance
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-shelved-instance
flavorId: <flavor id>
imageId: <image id>
powerState: SHELVED
networks:
- auto_assign_public_ip: true
Example coming soon!
Joining an instance group
Group membership is only settable here, through the instance’s group_id. See
ovh.CloudInstanceGroup.
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
spread:
type: ovh:CloudInstanceGroup
properties:
serviceName: <Public cloud project id>
region: GRA11
name: my-anti-affinity-group
policy: ANTI_AFFINITY
grouped:
type: ovh:CloudInstance
properties:
serviceName: <Public cloud project id>
region: ${spread.region}
name: my-grouped-instance-${range.value}
flavorId: <flavor id>
imageId: <image id>
groupId: ${spread.id}
networks:
- auto_assign_public_ip: true
options: {}
Example coming soon!
Operational notes
- Create, update and delete poll the API until the instance settles, for up to
60 minutes each. The resource offers no
timeouts {}block, so that budget cannot be shortened or extended from the configuration. - An update re-reads the instance immediately before issuing the
PUT, so thechecksumit sends is the freshest one. This keeps a concurrent server-side change from failing the apply with aChecksumMismatch(HTTP 409). resource_status = "ERROR"is terminal: polling stops at once and the provider surfaces the summary of the failed task(s) instead of a generic unexpected-state error.
Create CloudInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudInstance(name: string, args: CloudInstanceArgs, opts?: CustomResourceOptions);@overload
def CloudInstance(resource_name: str,
args: CloudInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
flavor_id: Optional[str] = None,
service_name: Optional[str] = None,
image_id: Optional[str] = None,
name: Optional[str] = None,
networks: Optional[Sequence[CloudInstanceNetworkArgs]] = None,
power_state: Optional[str] = None,
availability_zone: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
group_id: Optional[str] = None,
shares: Optional[Sequence[CloudInstanceShareArgs]] = None,
ssh_key_name: Optional[str] = None,
volume_ids: Optional[Sequence[str]] = None)func NewCloudInstance(ctx *Context, name string, args CloudInstanceArgs, opts ...ResourceOption) (*CloudInstance, error)public CloudInstance(string name, CloudInstanceArgs args, CustomResourceOptions? opts = null)
public CloudInstance(String name, CloudInstanceArgs args)
public CloudInstance(String name, CloudInstanceArgs args, CustomResourceOptions options)
type: ovh:CloudInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ovh_cloud_instance" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CloudInstanceArgs
- 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 CloudInstanceArgs
- 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 CloudInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudInstanceArgs
- 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 cloudInstanceResource = new Ovh.CloudInstance("cloudInstanceResource", new()
{
Region = "string",
FlavorId = "string",
ServiceName = "string",
ImageId = "string",
Name = "string",
Networks = new[]
{
new Ovh.Inputs.CloudInstanceNetworkArgs
{
AutoAssignPublicIp = false,
Ip = "string",
NetworkId = "string",
SubnetId = "string",
},
},
PowerState = "string",
AvailabilityZone = "string",
SecurityGroupIds = new[]
{
"string",
},
GroupId = "string",
Shares = new[]
{
new Ovh.Inputs.CloudInstanceShareArgs
{
Id = "string",
AccessLevel = "string",
},
},
SshKeyName = "string",
VolumeIds = new[]
{
"string",
},
});
example, err := ovh.NewCloudInstance(ctx, "cloudInstanceResource", &ovh.CloudInstanceArgs{
Region: pulumi.String("string"),
FlavorId: pulumi.String("string"),
ServiceName: pulumi.String("string"),
ImageId: pulumi.String("string"),
Name: pulumi.String("string"),
Networks: ovh.CloudInstanceNetworkArray{
&ovh.CloudInstanceNetworkArgs{
AutoAssignPublicIp: pulumi.Bool(false),
Ip: pulumi.String("string"),
NetworkId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
},
},
PowerState: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
GroupId: pulumi.String("string"),
Shares: ovh.CloudInstanceShareArray{
&ovh.CloudInstanceShareArgs{
Id: pulumi.String("string"),
AccessLevel: pulumi.String("string"),
},
},
SshKeyName: pulumi.String("string"),
VolumeIds: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "ovh_cloud_instance" "cloudInstanceResource" {
lifecycle {
create_before_destroy = true
}
region = "string"
flavor_id = "string"
service_name = "string"
image_id = "string"
name = "string"
networks {
auto_assign_public_ip = false
ip = "string"
network_id = "string"
subnet_id = "string"
}
power_state = "string"
availability_zone = "string"
security_group_ids = ["string"]
group_id = "string"
shares {
id = "string"
access_level = "string"
}
ssh_key_name = "string"
volume_ids = ["string"]
}
var cloudInstanceResource = new CloudInstance("cloudInstanceResource", CloudInstanceArgs.builder()
.region("string")
.flavorId("string")
.serviceName("string")
.imageId("string")
.name("string")
.networks(CloudInstanceNetworkArgs.builder()
.autoAssignPublicIp(false)
.ip("string")
.networkId("string")
.subnetId("string")
.build())
.powerState("string")
.availabilityZone("string")
.securityGroupIds("string")
.groupId("string")
.shares(CloudInstanceShareArgs.builder()
.id("string")
.accessLevel("string")
.build())
.sshKeyName("string")
.volumeIds("string")
.build());
cloud_instance_resource = ovh.CloudInstance("cloudInstanceResource",
region="string",
flavor_id="string",
service_name="string",
image_id="string",
name="string",
networks=[{
"auto_assign_public_ip": False,
"ip": "string",
"network_id": "string",
"subnet_id": "string",
}],
power_state="string",
availability_zone="string",
security_group_ids=["string"],
group_id="string",
shares=[{
"id": "string",
"access_level": "string",
}],
ssh_key_name="string",
volume_ids=["string"])
const cloudInstanceResource = new ovh.CloudInstance("cloudInstanceResource", {
region: "string",
flavorId: "string",
serviceName: "string",
imageId: "string",
name: "string",
networks: [{
autoAssignPublicIp: false,
ip: "string",
networkId: "string",
subnetId: "string",
}],
powerState: "string",
availabilityZone: "string",
securityGroupIds: ["string"],
groupId: "string",
shares: [{
id: "string",
accessLevel: "string",
}],
sshKeyName: "string",
volumeIds: ["string"],
});
type: ovh:CloudInstance
properties:
availabilityZone: string
flavorId: string
groupId: string
imageId: string
name: string
networks:
- autoAssignPublicIp: false
ip: string
networkId: string
subnetId: string
powerState: string
region: string
securityGroupIds:
- string
serviceName: string
shares:
- accessLevel: string
id: string
sshKeyName: string
volumeIds:
- string
CloudInstance 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 CloudInstance resource accepts the following input properties:
- Flavor
Id string - Flavor ID. Changing it resizes the instance in place.
- Region string
- Region where the instance is created. Changing this value recreates the resource.
- Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- Group
Id string - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - Image
Id string - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- Name string
- Instance name.
- Networks
List<Cloud
Instance Network> - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- Power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - Security
Group List<string>Ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). -
List<Cloud
Instance Share> - Filesystem shares attached to the instance. Each entry supports:
- Ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - Volume
Ids List<string> - IDs of block-storage volumes attached to the instance.
- Flavor
Id string - Flavor ID. Changing it resizes the instance in place.
- Region string
- Region where the instance is created. Changing this value recreates the resource.
- Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- Availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- Group
Id string - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - Image
Id string - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- Name string
- Instance name.
- Networks
[]Cloud
Instance Network Args - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- Power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - Security
Group []stringIds - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). -
[]Cloud
Instance Share Args - Filesystem shares attached to the instance. Each entry supports:
- Ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - Volume
Ids []string - IDs of block-storage volumes attached to the instance.
- flavor_
id string - Flavor ID. Changing it resizes the instance in place.
- region string
- Region where the instance is created. Changing this value recreates the resource.
- service_
name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability_
zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- group_
id string - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image_
id string - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name string
- Instance name.
- networks list(object)
- Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power_
state string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - security_
group_ list(string)ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - list(object)
- Filesystem shares attached to the instance. Each entry supports:
- ssh_
key_ stringname - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - volume_
ids list(string) - IDs of block-storage volumes attached to the instance.
- flavor
Id String - Flavor ID. Changing it resizes the instance in place.
- region String
- Region where the instance is created. Changing this value recreates the resource.
- service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability
Zone String - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- group
Id String - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image
Id String - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name String
- Instance name.
- networks
List<Cloud
Instance Network> - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State String - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - security
Group List<String>Ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). -
List<Cloud
Instance Share> - Filesystem shares attached to the instance. Each entry supports:
- ssh
Key StringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - volume
Ids List<String> - IDs of block-storage volumes attached to the instance.
- flavor
Id string - Flavor ID. Changing it resizes the instance in place.
- region string
- Region where the instance is created. Changing this value recreates the resource.
- service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- group
Id string - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image
Id string - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name string
- Instance name.
- networks
Cloud
Instance Network[] - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - security
Group string[]Ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). -
Cloud
Instance Share[] - Filesystem shares attached to the instance. Each entry supports:
- ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - volume
Ids string[] - IDs of block-storage volumes attached to the instance.
- flavor_
id str - Flavor ID. Changing it resizes the instance in place.
- region str
- Region where the instance is created. Changing this value recreates the resource.
- service_
name str - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability_
zone str - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- group_
id str - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image_
id str - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name str
- Instance name.
- networks
Sequence[Cloud
Instance Network Args] - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power_
state str - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - security_
group_ Sequence[str]ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). -
Sequence[Cloud
Instance Share Args] - Filesystem shares attached to the instance. Each entry supports:
- ssh_
key_ strname - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - volume_
ids Sequence[str] - IDs of block-storage volumes attached to the instance.
- flavor
Id String - Flavor ID. Changing it resizes the instance in place.
- region String
- Region where the instance is created. Changing this value recreates the resource.
- service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- availability
Zone String - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- group
Id String - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image
Id String - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name String
- Instance name.
- networks List<Property Map>
- Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State String - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - security
Group List<String>Ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - List<Property Map>
- Filesystem shares attached to the instance. Each entry supports:
- ssh
Key StringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - volume
Ids List<String> - IDs of block-storage volumes attached to the instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudInstance resource produces the following output properties:
- Checksum string
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- Created
At string - Creation date of the instance, as an RFC 3339 timestamp.
- Current
State CloudInstance Current State - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Status string - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - Updated
At string - Last modification date of the instance, as an RFC 3339 timestamp.
- Checksum string
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- Created
At string - Creation date of the instance, as an RFC 3339 timestamp.
- Current
State CloudInstance Current State - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Status string - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - Updated
At string - Last modification date of the instance, as an RFC 3339 timestamp.
- checksum string
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created_
at string - Creation date of the instance, as an RFC 3339 timestamp.
- current_
state object - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
status string - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - updated_
at string - Last modification date of the instance, as an RFC 3339 timestamp.
- checksum String
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created
At String - Creation date of the instance, as an RFC 3339 timestamp.
- current
State CloudInstance Current State - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Status String - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - updated
At String - Last modification date of the instance, as an RFC 3339 timestamp.
- checksum string
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created
At string - Creation date of the instance, as an RFC 3339 timestamp.
- current
State CloudInstance Current State - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Status string - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - updated
At string - Last modification date of the instance, as an RFC 3339 timestamp.
- checksum str
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created_
at str - Creation date of the instance, as an RFC 3339 timestamp.
- current_
state CloudInstance Current State - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
status str - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - updated_
at str - Last modification date of the instance, as an RFC 3339 timestamp.
- checksum String
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created
At String - Creation date of the instance, as an RFC 3339 timestamp.
- current
State Property Map - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Status String - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - updated
At String - Last modification date of the instance, as an RFC 3339 timestamp.
Look up Existing CloudInstance Resource
Get an existing CloudInstance 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?: CloudInstanceState, opts?: CustomResourceOptions): CloudInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
checksum: Optional[str] = None,
created_at: Optional[str] = None,
current_state: Optional[CloudInstanceCurrentStateArgs] = None,
flavor_id: Optional[str] = None,
group_id: Optional[str] = None,
image_id: Optional[str] = None,
name: Optional[str] = None,
networks: Optional[Sequence[CloudInstanceNetworkArgs]] = None,
power_state: Optional[str] = None,
region: Optional[str] = None,
resource_status: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
service_name: Optional[str] = None,
shares: Optional[Sequence[CloudInstanceShareArgs]] = None,
ssh_key_name: Optional[str] = None,
updated_at: Optional[str] = None,
volume_ids: Optional[Sequence[str]] = None) -> CloudInstancefunc GetCloudInstance(ctx *Context, name string, id IDInput, state *CloudInstanceState, opts ...ResourceOption) (*CloudInstance, error)public static CloudInstance Get(string name, Input<string> id, CloudInstanceState? state, CustomResourceOptions? opts = null)public static CloudInstance get(String name, Output<String> id, CloudInstanceState state, CustomResourceOptions options)resources: _: type: ovh:CloudInstance get: id: ${id}import {
to = ovh_cloud_instance.example
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.
- Availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- Checksum string
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- Created
At string - Creation date of the instance, as an RFC 3339 timestamp.
- Current
State CloudInstance Current State - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- Flavor
Id string - Flavor ID. Changing it resizes the instance in place.
- Group
Id string - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - Image
Id string - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- Name string
- Instance name.
- Networks
List<Cloud
Instance Network> - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- Power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - Region string
- Region where the instance is created. Changing this value recreates the resource.
- Resource
Status string - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - Security
Group List<string>Ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
-
List<Cloud
Instance Share> - Filesystem shares attached to the instance. Each entry supports:
- Ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - Updated
At string - Last modification date of the instance, as an RFC 3339 timestamp.
- Volume
Ids List<string> - IDs of block-storage volumes attached to the instance.
- Availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- Checksum string
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- Created
At string - Creation date of the instance, as an RFC 3339 timestamp.
- Current
State CloudInstance Current State Args - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- Flavor
Id string - Flavor ID. Changing it resizes the instance in place.
- Group
Id string - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - Image
Id string - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- Name string
- Instance name.
- Networks
[]Cloud
Instance Network Args - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- Power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - Region string
- Region where the instance is created. Changing this value recreates the resource.
- Resource
Status string - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - Security
Group []stringIds - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
-
[]Cloud
Instance Share Args - Filesystem shares attached to the instance. Each entry supports:
- Ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - Updated
At string - Last modification date of the instance, as an RFC 3339 timestamp.
- Volume
Ids []string - IDs of block-storage volumes attached to the instance.
- availability_
zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- checksum string
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created_
at string - Creation date of the instance, as an RFC 3339 timestamp.
- current_
state object - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- flavor_
id string - Flavor ID. Changing it resizes the instance in place.
- group_
id string - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image_
id string - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name string
- Instance name.
- networks list(object)
- Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power_
state string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - region string
- Region where the instance is created. Changing this value recreates the resource.
- resource_
status string - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - security_
group_ list(string)ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - service_
name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- list(object)
- Filesystem shares attached to the instance. Each entry supports:
- ssh_
key_ stringname - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - updated_
at string - Last modification date of the instance, as an RFC 3339 timestamp.
- volume_
ids list(string) - IDs of block-storage volumes attached to the instance.
- availability
Zone String - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- checksum String
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created
At String - Creation date of the instance, as an RFC 3339 timestamp.
- current
State CloudInstance Current State - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- flavor
Id String - Flavor ID. Changing it resizes the instance in place.
- group
Id String - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image
Id String - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name String
- Instance name.
- networks
List<Cloud
Instance Network> - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State String - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - region String
- Region where the instance is created. Changing this value recreates the resource.
- resource
Status String - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - security
Group List<String>Ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
-
List<Cloud
Instance Share> - Filesystem shares attached to the instance. Each entry supports:
- ssh
Key StringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - updated
At String - Last modification date of the instance, as an RFC 3339 timestamp.
- volume
Ids List<String> - IDs of block-storage volumes attached to the instance.
- availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- checksum string
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created
At string - Creation date of the instance, as an RFC 3339 timestamp.
- current
State CloudInstance Current State - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- flavor
Id string - Flavor ID. Changing it resizes the instance in place.
- group
Id string - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image
Id string - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name string
- Instance name.
- networks
Cloud
Instance Network[] - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - region string
- Region where the instance is created. Changing this value recreates the resource.
- resource
Status string - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - security
Group string[]Ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
-
Cloud
Instance Share[] - Filesystem shares attached to the instance. Each entry supports:
- ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - updated
At string - Last modification date of the instance, as an RFC 3339 timestamp.
- volume
Ids string[] - IDs of block-storage volumes attached to the instance.
- availability_
zone str - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- checksum str
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created_
at str - Creation date of the instance, as an RFC 3339 timestamp.
- current_
state CloudInstance Current State Args - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- flavor_
id str - Flavor ID. Changing it resizes the instance in place.
- group_
id str - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image_
id str - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name str
- Instance name.
- networks
Sequence[Cloud
Instance Network Args] - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power_
state str - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - region str
- Region where the instance is created. Changing this value recreates the resource.
- resource_
status str - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - security_
group_ Sequence[str]ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - service_
name str - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
-
Sequence[Cloud
Instance Share Args] - Filesystem shares attached to the instance. Each entry supports:
- ssh_
key_ strname - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - updated_
at str - Last modification date of the instance, as an RFC 3339 timestamp.
- volume_
ids Sequence[str] - IDs of block-storage volumes attached to the instance.
- availability
Zone String - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- checksum String
- Computed hash representing the current target specification value. It implements optimistic concurrency control: the value is echoed back on update and the request is rejected when it no longer matches server-side.
- created
At String - Creation date of the instance, as an RFC 3339 timestamp.
- current
State Property Map - Observed state of the instance as reported by the compute backend, as opposed to the requested specification exposed at root level. Null while the instance is still being created and no backend state is available yet:
- flavor
Id String - Flavor ID. Changing it resizes the instance in place.
- group
Id String - ID of the placement group the instance belongs to (immutable). This is the only way to make an instance a member of an
ovh.CloudInstanceGroup. Changing this value recreates the resource. - image
Id String - Image ID to boot from. Omit for a boot-from-volume instance. WARNING: changing it rebuilds the instance and wipes the root disk.
- name String
- Instance name.
- networks List<Property Map>
- Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State String - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - region String
- Region where the instance is created. Changing this value recreates the resource.
- resource
Status String - Instance readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). Distinct fromcurrent_state.power_state, which carries the lower-level OpenStack administrative power state. - security
Group List<String>Ids - IDs of security groups applied to all interfaces. Omit it to let the platform apply the project's
defaultsecurity group; set an explicit empty list ([]) to apply no security group at all (the instance then accepts no inbound traffic). - service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- List<Property Map>
- Filesystem shares attached to the instance. Each entry supports:
- ssh
Key StringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - updated
At String - Last modification date of the instance, as an RFC 3339 timestamp.
- volume
Ids List<String> - IDs of block-storage volumes attached to the instance.
Supporting Types
CloudInstanceCurrentState, CloudInstanceCurrentStateArgs
- Flavor
Cloud
Instance Current State Flavor - Observed flavor of the instance, with its full sizing details:
- Group
Cloud
Instance Current State Group - Instance (placement) group the instance belongs to, null when it is not part of any group:
- Host
Id string - Opaque identifier of the physical host the instance is running on, as exposed by OpenStack. Null when not available.
- Image
Cloud
Instance Current State Image - Observed image the instance was booted from, null for a boot-from-volume instance which has no image:
- Location
Cloud
Instance Current State Location - Observed region and availability zone where the instance is provisioned:
- Locked bool
- Whether the instance is locked against modifications. While locked, mutating actions are refused until it is unlocked.
- Name string
- Instance name.
- Networks
List<Cloud
Instance Current State Network> - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- Power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - Project
Id string - Identifier of the Public Cloud project the instance belongs to.
- Security
Groups List<CloudInstance Current State Security Group> - Security groups currently attached to the instance's ports:
-
List<Cloud
Instance Current State Share> - Filesystem shares attached to the instance. Each entry supports:
- Ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - User
Id string - Identifier of the OpenStack user that owns the instance.
- Volumes
List<Cloud
Instance Current State Volume> - Observed block volumes attached to the instance:
- Flavor
Cloud
Instance Current State Flavor - Observed flavor of the instance, with its full sizing details:
- Group
Cloud
Instance Current State Group - Instance (placement) group the instance belongs to, null when it is not part of any group:
- Host
Id string - Opaque identifier of the physical host the instance is running on, as exposed by OpenStack. Null when not available.
- Image
Cloud
Instance Current State Image - Observed image the instance was booted from, null for a boot-from-volume instance which has no image:
- Location
Cloud
Instance Current State Location - Observed region and availability zone where the instance is provisioned:
- Locked bool
- Whether the instance is locked against modifications. While locked, mutating actions are refused until it is unlocked.
- Name string
- Instance name.
- Networks
[]Cloud
Instance Current State Network - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- Power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - Project
Id string - Identifier of the Public Cloud project the instance belongs to.
- Security
Groups []CloudInstance Current State Security Group - Security groups currently attached to the instance's ports:
-
[]Cloud
Instance Current State Share - Filesystem shares attached to the instance. Each entry supports:
- Ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - User
Id string - Identifier of the OpenStack user that owns the instance.
- Volumes
[]Cloud
Instance Current State Volume - Observed block volumes attached to the instance:
- flavor object
- Observed flavor of the instance, with its full sizing details:
- group object
- Instance (placement) group the instance belongs to, null when it is not part of any group:
- host_
id string - Opaque identifier of the physical host the instance is running on, as exposed by OpenStack. Null when not available.
- image object
- Observed image the instance was booted from, null for a boot-from-volume instance which has no image:
- location object
- Observed region and availability zone where the instance is provisioned:
- locked bool
- Whether the instance is locked against modifications. While locked, mutating actions are refused until it is unlocked.
- name string
- Instance name.
- networks list(object)
- Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power_
state string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - project_
id string - Identifier of the Public Cloud project the instance belongs to.
- security_
groups list(object) - Security groups currently attached to the instance's ports:
- list(object)
- Filesystem shares attached to the instance. Each entry supports:
- ssh_
key_ stringname - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - user_
id string - Identifier of the OpenStack user that owns the instance.
- volumes list(object)
- Observed block volumes attached to the instance:
- flavor
Cloud
Instance Current State Flavor - Observed flavor of the instance, with its full sizing details:
- group
Cloud
Instance Current State Group - Instance (placement) group the instance belongs to, null when it is not part of any group:
- host
Id String - Opaque identifier of the physical host the instance is running on, as exposed by OpenStack. Null when not available.
- image
Cloud
Instance Current State Image - Observed image the instance was booted from, null for a boot-from-volume instance which has no image:
- location
Cloud
Instance Current State Location - Observed region and availability zone where the instance is provisioned:
- locked Boolean
- Whether the instance is locked against modifications. While locked, mutating actions are refused until it is unlocked.
- name String
- Instance name.
- networks
List<Cloud
Instance Current State Network> - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State String - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - project
Id String - Identifier of the Public Cloud project the instance belongs to.
- security
Groups List<CloudInstance Current State Security Group> - Security groups currently attached to the instance's ports:
-
List<Cloud
Instance Current State Share> - Filesystem shares attached to the instance. Each entry supports:
- ssh
Key StringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - user
Id String - Identifier of the OpenStack user that owns the instance.
- volumes
List<Cloud
Instance Current State Volume> - Observed block volumes attached to the instance:
- flavor
Cloud
Instance Current State Flavor - Observed flavor of the instance, with its full sizing details:
- group
Cloud
Instance Current State Group - Instance (placement) group the instance belongs to, null when it is not part of any group:
- host
Id string - Opaque identifier of the physical host the instance is running on, as exposed by OpenStack. Null when not available.
- image
Cloud
Instance Current State Image - Observed image the instance was booted from, null for a boot-from-volume instance which has no image:
- location
Cloud
Instance Current State Location - Observed region and availability zone where the instance is provisioned:
- locked boolean
- Whether the instance is locked against modifications. While locked, mutating actions are refused until it is unlocked.
- name string
- Instance name.
- networks
Cloud
Instance Current State Network[] - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State string - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - project
Id string - Identifier of the Public Cloud project the instance belongs to.
- security
Groups CloudInstance Current State Security Group[] - Security groups currently attached to the instance's ports:
-
Cloud
Instance Current State Share[] - Filesystem shares attached to the instance. Each entry supports:
- ssh
Key stringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - user
Id string - Identifier of the OpenStack user that owns the instance.
- volumes
Cloud
Instance Current State Volume[] - Observed block volumes attached to the instance:
- flavor
Cloud
Instance Current State Flavor - Observed flavor of the instance, with its full sizing details:
- group
Cloud
Instance Current State Group - Instance (placement) group the instance belongs to, null when it is not part of any group:
- host_
id str - Opaque identifier of the physical host the instance is running on, as exposed by OpenStack. Null when not available.
- image
Cloud
Instance Current State Image - Observed image the instance was booted from, null for a boot-from-volume instance which has no image:
- location
Cloud
Instance Current State Location - Observed region and availability zone where the instance is provisioned:
- locked bool
- Whether the instance is locked against modifications. While locked, mutating actions are refused until it is unlocked.
- name str
- Instance name.
- networks
Sequence[Cloud
Instance Current State Network] - Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power_
state str - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - project_
id str - Identifier of the Public Cloud project the instance belongs to.
- security_
groups Sequence[CloudInstance Current State Security Group] - Security groups currently attached to the instance's ports:
-
Sequence[Cloud
Instance Current State Share] - Filesystem shares attached to the instance. Each entry supports:
- ssh_
key_ strname - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - user_
id str - Identifier of the OpenStack user that owns the instance.
- volumes
Sequence[Cloud
Instance Current State Volume] - Observed block volumes attached to the instance:
- flavor Property Map
- Observed flavor of the instance, with its full sizing details:
- group Property Map
- Instance (placement) group the instance belongs to, null when it is not part of any group:
- host
Id String - Opaque identifier of the physical host the instance is running on, as exposed by OpenStack. Null when not available.
- image Property Map
- Observed image the instance was booted from, null for a boot-from-volume instance which has no image:
- location Property Map
- Observed region and availability zone where the instance is provisioned:
- locked Boolean
- Whether the instance is locked against modifications. While locked, mutating actions are refused until it is unlocked.
- name String
- Instance name.
- networks List<Property Map>
- Network interfaces attached to the instance. Entries keep the order they are written in; the API returns them sorted by network id and the provider re-orders them back to the configuration. Four shapes:
- power
State String - Desired power state:
ACTIVE,SHUTOFForSHELVED. When omitted, the API appliesACTIVEserver-side and echoes it back; the provider declares no default of its own. - project
Id String - Identifier of the Public Cloud project the instance belongs to.
- security
Groups List<Property Map> - Security groups currently attached to the instance's ports:
- List<Property Map>
- Filesystem shares attached to the instance. Each entry supports:
- ssh
Key StringName - Name of the SSH key injected at boot (immutable). Point it at the
nameof anovh.CloudSSHKey. Changing this value recreates the resource. - user
Id String - Identifier of the OpenStack user that owns the instance.
- volumes List<Property Map>
- Observed block volumes attached to the instance:
CloudInstanceCurrentStateFlavor, CloudInstanceCurrentStateFlavorArgs
- Disk int
- Size of the flavor's local root disk, in GB.
- Ephemeral int
- Size of the flavor's ephemeral disk, in GB.
- Id string
- Identifier of the instance (placement) group.
- Name string
- Instance name.
- Ram int
- Amount of RAM provided by the flavor, in MB.
- Swap int
- Size of the flavor's swap space, in MB.
- Vcpus int
- Number of virtual CPUs provided by the flavor.
- Disk int
- Size of the flavor's local root disk, in GB.
- Ephemeral int
- Size of the flavor's ephemeral disk, in GB.
- Id string
- Identifier of the instance (placement) group.
- Name string
- Instance name.
- Ram int
- Amount of RAM provided by the flavor, in MB.
- Swap int
- Size of the flavor's swap space, in MB.
- Vcpus int
- Number of virtual CPUs provided by the flavor.
- disk number
- Size of the flavor's local root disk, in GB.
- ephemeral number
- Size of the flavor's ephemeral disk, in GB.
- id string
- Identifier of the instance (placement) group.
- name string
- Instance name.
- ram number
- Amount of RAM provided by the flavor, in MB.
- swap number
- Size of the flavor's swap space, in MB.
- vcpus number
- Number of virtual CPUs provided by the flavor.
- disk Integer
- Size of the flavor's local root disk, in GB.
- ephemeral Integer
- Size of the flavor's ephemeral disk, in GB.
- id String
- Identifier of the instance (placement) group.
- name String
- Instance name.
- ram Integer
- Amount of RAM provided by the flavor, in MB.
- swap Integer
- Size of the flavor's swap space, in MB.
- vcpus Integer
- Number of virtual CPUs provided by the flavor.
- disk number
- Size of the flavor's local root disk, in GB.
- ephemeral number
- Size of the flavor's ephemeral disk, in GB.
- id string
- Identifier of the instance (placement) group.
- name string
- Instance name.
- ram number
- Amount of RAM provided by the flavor, in MB.
- swap number
- Size of the flavor's swap space, in MB.
- vcpus number
- Number of virtual CPUs provided by the flavor.
- disk int
- Size of the flavor's local root disk, in GB.
- ephemeral int
- Size of the flavor's ephemeral disk, in GB.
- id str
- Identifier of the instance (placement) group.
- name str
- Instance name.
- ram int
- Amount of RAM provided by the flavor, in MB.
- swap int
- Size of the flavor's swap space, in MB.
- vcpus int
- Number of virtual CPUs provided by the flavor.
- disk Number
- Size of the flavor's local root disk, in GB.
- ephemeral Number
- Size of the flavor's ephemeral disk, in GB.
- id String
- Identifier of the instance (placement) group.
- name String
- Instance name.
- ram Number
- Amount of RAM provided by the flavor, in MB.
- swap Number
- Size of the flavor's swap space, in MB.
- vcpus Number
- Number of virtual CPUs provided by the flavor.
CloudInstanceCurrentStateGroup, CloudInstanceCurrentStateGroupArgs
- Id string
- Identifier of the instance (placement) group.
- Id string
- Identifier of the instance (placement) group.
- id string
- Identifier of the instance (placement) group.
- id String
- Identifier of the instance (placement) group.
- id string
- Identifier of the instance (placement) group.
- id str
- Identifier of the instance (placement) group.
- id String
- Identifier of the instance (placement) group.
CloudInstanceCurrentStateImage, CloudInstanceCurrentStateImageArgs
- Deprecated bool
- Whether the image is flagged as deprecated. A deprecated image still boots existing instances but is no longer recommended for new ones.
- Id string
- Identifier of the instance (placement) group.
- Name string
- Instance name.
- Size int
- Size of the attached volume, in GB.
- Status string
- Lifecycle status of the image as reported by Glance.
- Deprecated bool
- Whether the image is flagged as deprecated. A deprecated image still boots existing instances but is no longer recommended for new ones.
- Id string
- Identifier of the instance (placement) group.
- Name string
- Instance name.
- Size int
- Size of the attached volume, in GB.
- Status string
- Lifecycle status of the image as reported by Glance.
- deprecated bool
- Whether the image is flagged as deprecated. A deprecated image still boots existing instances but is no longer recommended for new ones.
- id string
- Identifier of the instance (placement) group.
- name string
- Instance name.
- size number
- Size of the attached volume, in GB.
- status string
- Lifecycle status of the image as reported by Glance.
- deprecated Boolean
- Whether the image is flagged as deprecated. A deprecated image still boots existing instances but is no longer recommended for new ones.
- id String
- Identifier of the instance (placement) group.
- name String
- Instance name.
- size Integer
- Size of the attached volume, in GB.
- status String
- Lifecycle status of the image as reported by Glance.
- deprecated boolean
- Whether the image is flagged as deprecated. A deprecated image still boots existing instances but is no longer recommended for new ones.
- id string
- Identifier of the instance (placement) group.
- name string
- Instance name.
- size number
- Size of the attached volume, in GB.
- status string
- Lifecycle status of the image as reported by Glance.
- deprecated bool
- Whether the image is flagged as deprecated. A deprecated image still boots existing instances but is no longer recommended for new ones.
- id str
- Identifier of the instance (placement) group.
- name str
- Instance name.
- size int
- Size of the attached volume, in GB.
- status str
- Lifecycle status of the image as reported by Glance.
- deprecated Boolean
- Whether the image is flagged as deprecated. A deprecated image still boots existing instances but is no longer recommended for new ones.
- id String
- Identifier of the instance (placement) group.
- name String
- Instance name.
- size Number
- Size of the attached volume, in GB.
- status String
- Lifecycle status of the image as reported by Glance.
CloudInstanceCurrentStateLocation, CloudInstanceCurrentStateLocationArgs
- Availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- Region string
- Region where the instance is created. Changing this value recreates the resource.
- Availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- Region string
- Region where the instance is created. Changing this value recreates the resource.
- availability_
zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- region string
- Region where the instance is created. Changing this value recreates the resource.
- availability
Zone String - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- region String
- Region where the instance is created. Changing this value recreates the resource.
- availability
Zone string - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- region string
- Region where the instance is created. Changing this value recreates the resource.
- availability_
zone str - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- region str
- Region where the instance is created. Changing this value recreates the resource.
- availability
Zone String - Availability zone of the instance (immutable; assigned by the platform if omitted). Changing this value recreates the resource — only when it is set in the configuration; a value assigned by the platform is never treated as a change.
- region String
- Region where the instance is created. Changing this value recreates the resource.
CloudInstanceCurrentStateNetwork, CloudInstanceCurrentStateNetworkArgs
- Addresses
List<Cloud
Instance Current State Network Address> - Addresses observed on this interface: its fixed addresses plus, where applicable, its floating IP and any additional IPs routed to it. Each address carries a type of
FIXED,FLOATINGorADDITIONAL: - Gateway
Id string - Identifier of the gateway providing egress for this interface, null when none applies.
- Id string
- Identifier of the instance (placement) group.
- Subnet
Id string - Subnet ID within the private network. Required with
network_id.
- Addresses
[]Cloud
Instance Current State Network Address - Addresses observed on this interface: its fixed addresses plus, where applicable, its floating IP and any additional IPs routed to it. Each address carries a type of
FIXED,FLOATINGorADDITIONAL: - Gateway
Id string - Identifier of the gateway providing egress for this interface, null when none applies.
- Id string
- Identifier of the instance (placement) group.
- Subnet
Id string - Subnet ID within the private network. Required with
network_id.
- addresses list(object)
- Addresses observed on this interface: its fixed addresses plus, where applicable, its floating IP and any additional IPs routed to it. Each address carries a type of
FIXED,FLOATINGorADDITIONAL: - gateway_
id string - Identifier of the gateway providing egress for this interface, null when none applies.
- id string
- Identifier of the instance (placement) group.
- subnet_
id string - Subnet ID within the private network. Required with
network_id.
- addresses
List<Cloud
Instance Current State Network Address> - Addresses observed on this interface: its fixed addresses plus, where applicable, its floating IP and any additional IPs routed to it. Each address carries a type of
FIXED,FLOATINGorADDITIONAL: - gateway
Id String - Identifier of the gateway providing egress for this interface, null when none applies.
- id String
- Identifier of the instance (placement) group.
- subnet
Id String - Subnet ID within the private network. Required with
network_id.
- addresses
Cloud
Instance Current State Network Address[] - Addresses observed on this interface: its fixed addresses plus, where applicable, its floating IP and any additional IPs routed to it. Each address carries a type of
FIXED,FLOATINGorADDITIONAL: - gateway
Id string - Identifier of the gateway providing egress for this interface, null when none applies.
- id string
- Identifier of the instance (placement) group.
- subnet
Id string - Subnet ID within the private network. Required with
network_id.
- addresses
Sequence[Cloud
Instance Current State Network Address] - Addresses observed on this interface: its fixed addresses plus, where applicable, its floating IP and any additional IPs routed to it. Each address carries a type of
FIXED,FLOATINGorADDITIONAL: - gateway_
id str - Identifier of the gateway providing egress for this interface, null when none applies.
- id str
- Identifier of the instance (placement) group.
- subnet_
id str - Subnet ID within the private network. Required with
network_id.
- addresses List<Property Map>
- Addresses observed on this interface: its fixed addresses plus, where applicable, its floating IP and any additional IPs routed to it. Each address carries a type of
FIXED,FLOATINGorADDITIONAL: - gateway
Id String - Identifier of the gateway providing egress for this interface, null when none applies.
- id String
- Identifier of the instance (placement) group.
- subnet
Id String - Subnet ID within the private network. Required with
network_id.
CloudInstanceCurrentStateNetworkAddress, CloudInstanceCurrentStateNetworkAddressArgs
- Ip string
- IP address assigned to the interface (IPv4 or IPv6).
- Mac string
- MAC address of the interface this IP is bound to. Null when the backend reports no interface for the address, which happens for an additional IP routed to an instance whose public interface has no visible Ext-Net address yet.
- Type string
- How this address reaches the instance:
FIXEDfor an address assigned to the interface itself,FLOATINGfor a floating IP NAT'd onto it,ADDITIONALfor an additional IP routed to the public interface. - Version int
- IP version of the address (4 for IPv4, 6 for IPv6).
- Ip string
- IP address assigned to the interface (IPv4 or IPv6).
- Mac string
- MAC address of the interface this IP is bound to. Null when the backend reports no interface for the address, which happens for an additional IP routed to an instance whose public interface has no visible Ext-Net address yet.
- Type string
- How this address reaches the instance:
FIXEDfor an address assigned to the interface itself,FLOATINGfor a floating IP NAT'd onto it,ADDITIONALfor an additional IP routed to the public interface. - Version int
- IP version of the address (4 for IPv4, 6 for IPv6).
- ip string
- IP address assigned to the interface (IPv4 or IPv6).
- mac string
- MAC address of the interface this IP is bound to. Null when the backend reports no interface for the address, which happens for an additional IP routed to an instance whose public interface has no visible Ext-Net address yet.
- type string
- How this address reaches the instance:
FIXEDfor an address assigned to the interface itself,FLOATINGfor a floating IP NAT'd onto it,ADDITIONALfor an additional IP routed to the public interface. - version number
- IP version of the address (4 for IPv4, 6 for IPv6).
- ip String
- IP address assigned to the interface (IPv4 or IPv6).
- mac String
- MAC address of the interface this IP is bound to. Null when the backend reports no interface for the address, which happens for an additional IP routed to an instance whose public interface has no visible Ext-Net address yet.
- type String
- How this address reaches the instance:
FIXEDfor an address assigned to the interface itself,FLOATINGfor a floating IP NAT'd onto it,ADDITIONALfor an additional IP routed to the public interface. - version Integer
- IP version of the address (4 for IPv4, 6 for IPv6).
- ip string
- IP address assigned to the interface (IPv4 or IPv6).
- mac string
- MAC address of the interface this IP is bound to. Null when the backend reports no interface for the address, which happens for an additional IP routed to an instance whose public interface has no visible Ext-Net address yet.
- type string
- How this address reaches the instance:
FIXEDfor an address assigned to the interface itself,FLOATINGfor a floating IP NAT'd onto it,ADDITIONALfor an additional IP routed to the public interface. - version number
- IP version of the address (4 for IPv4, 6 for IPv6).
- ip str
- IP address assigned to the interface (IPv4 or IPv6).
- mac str
- MAC address of the interface this IP is bound to. Null when the backend reports no interface for the address, which happens for an additional IP routed to an instance whose public interface has no visible Ext-Net address yet.
- type str
- How this address reaches the instance:
FIXEDfor an address assigned to the interface itself,FLOATINGfor a floating IP NAT'd onto it,ADDITIONALfor an additional IP routed to the public interface. - version int
- IP version of the address (4 for IPv4, 6 for IPv6).
- ip String
- IP address assigned to the interface (IPv4 or IPv6).
- mac String
- MAC address of the interface this IP is bound to. Null when the backend reports no interface for the address, which happens for an additional IP routed to an instance whose public interface has no visible Ext-Net address yet.
- type String
- How this address reaches the instance:
FIXEDfor an address assigned to the interface itself,FLOATINGfor a floating IP NAT'd onto it,ADDITIONALfor an additional IP routed to the public interface. - version Number
- IP version of the address (4 for IPv4, 6 for IPv6).
CloudInstanceCurrentStateSecurityGroup, CloudInstanceCurrentStateSecurityGroupArgs
- Id string
- Identifier of the instance (placement) group.
- Id string
- Identifier of the instance (placement) group.
- id string
- Identifier of the instance (placement) group.
- id String
- Identifier of the instance (placement) group.
- id string
- Identifier of the instance (placement) group.
- id str
- Identifier of the instance (placement) group.
- id String
- Identifier of the instance (placement) group.
CloudInstanceCurrentStateShare, CloudInstanceCurrentStateShareArgs
- Access
Level string - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift. - Access
To string - The instance IP address the Manila access rule targets: its fixed IPv4 address on the share's network.
- Id string
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- State string
- Observed state of the underlying access rule (
ACTIVE,APPLYING,DENYING,ERROR). Null while no state has been reported yet.
- Access
Level string - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift. - Access
To string - The instance IP address the Manila access rule targets: its fixed IPv4 address on the share's network.
- Id string
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- State string
- Observed state of the underlying access rule (
ACTIVE,APPLYING,DENYING,ERROR). Null while no state has been reported yet.
- access_
level string - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift. - access_
to string - The instance IP address the Manila access rule targets: its fixed IPv4 address on the share's network.
- id string
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- state string
- Observed state of the underlying access rule (
ACTIVE,APPLYING,DENYING,ERROR). Null while no state has been reported yet.
- access
Level String - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift. - access
To String - The instance IP address the Manila access rule targets: its fixed IPv4 address on the share's network.
- id String
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- state String
- Observed state of the underlying access rule (
ACTIVE,APPLYING,DENYING,ERROR). Null while no state has been reported yet.
- access
Level string - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift. - access
To string - The instance IP address the Manila access rule targets: its fixed IPv4 address on the share's network.
- id string
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- state string
- Observed state of the underlying access rule (
ACTIVE,APPLYING,DENYING,ERROR). Null while no state has been reported yet.
- access_
level str - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift. - access_
to str - The instance IP address the Manila access rule targets: its fixed IPv4 address on the share's network.
- id str
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- state str
- Observed state of the underlying access rule (
ACTIVE,APPLYING,DENYING,ERROR). Null while no state has been reported yet.
- access
Level String - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift. - access
To String - The instance IP address the Manila access rule targets: its fixed IPv4 address on the share's network.
- id String
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- state String
- Observed state of the underlying access rule (
ACTIVE,APPLYING,DENYING,ERROR). Null while no state has been reported yet.
CloudInstanceCurrentStateVolume, CloudInstanceCurrentStateVolumeArgs
CloudInstanceNetwork, CloudInstanceNetworkArgs
- Auto
Assign boolPublic Ip - Attach a public interface with a public IP assigned by the platform. Only valid on an entry with no
network_idand noip, and on at most one entry. - Ip string
- IP address of this interface. Without
network_id: a public IP the project already owns (additional IP, or an Ext-Net IP of the project in the instance's region). Withnetwork_id+subnet_id: pins the port's fixed address when inside the subnet CIDR, otherwise associates the existing floating IP with that address. - Network
Id string - Private network ID. Omit for a public interface.
- Subnet
Id string - Subnet ID within the private network. Required with
network_id.
- Auto
Assign boolPublic Ip - Attach a public interface with a public IP assigned by the platform. Only valid on an entry with no
network_idand noip, and on at most one entry. - Ip string
- IP address of this interface. Without
network_id: a public IP the project already owns (additional IP, or an Ext-Net IP of the project in the instance's region). Withnetwork_id+subnet_id: pins the port's fixed address when inside the subnet CIDR, otherwise associates the existing floating IP with that address. - Network
Id string - Private network ID. Omit for a public interface.
- Subnet
Id string - Subnet ID within the private network. Required with
network_id.
- auto_
assign_ boolpublic_ ip - Attach a public interface with a public IP assigned by the platform. Only valid on an entry with no
network_idand noip, and on at most one entry. - ip string
- IP address of this interface. Without
network_id: a public IP the project already owns (additional IP, or an Ext-Net IP of the project in the instance's region). Withnetwork_id+subnet_id: pins the port's fixed address when inside the subnet CIDR, otherwise associates the existing floating IP with that address. - network_
id string - Private network ID. Omit for a public interface.
- subnet_
id string - Subnet ID within the private network. Required with
network_id.
- auto
Assign BooleanPublic Ip - Attach a public interface with a public IP assigned by the platform. Only valid on an entry with no
network_idand noip, and on at most one entry. - ip String
- IP address of this interface. Without
network_id: a public IP the project already owns (additional IP, or an Ext-Net IP of the project in the instance's region). Withnetwork_id+subnet_id: pins the port's fixed address when inside the subnet CIDR, otherwise associates the existing floating IP with that address. - network
Id String - Private network ID. Omit for a public interface.
- subnet
Id String - Subnet ID within the private network. Required with
network_id.
- auto
Assign booleanPublic Ip - Attach a public interface with a public IP assigned by the platform. Only valid on an entry with no
network_idand noip, and on at most one entry. - ip string
- IP address of this interface. Without
network_id: a public IP the project already owns (additional IP, or an Ext-Net IP of the project in the instance's region). Withnetwork_id+subnet_id: pins the port's fixed address when inside the subnet CIDR, otherwise associates the existing floating IP with that address. - network
Id string - Private network ID. Omit for a public interface.
- subnet
Id string - Subnet ID within the private network. Required with
network_id.
- auto_
assign_ boolpublic_ ip - Attach a public interface with a public IP assigned by the platform. Only valid on an entry with no
network_idand noip, and on at most one entry. - ip str
- IP address of this interface. Without
network_id: a public IP the project already owns (additional IP, or an Ext-Net IP of the project in the instance's region). Withnetwork_id+subnet_id: pins the port's fixed address when inside the subnet CIDR, otherwise associates the existing floating IP with that address. - network_
id str - Private network ID. Omit for a public interface.
- subnet_
id str - Subnet ID within the private network. Required with
network_id.
- auto
Assign BooleanPublic Ip - Attach a public interface with a public IP assigned by the platform. Only valid on an entry with no
network_idand noip, and on at most one entry. - ip String
- IP address of this interface. Without
network_id: a public IP the project already owns (additional IP, or an Ext-Net IP of the project in the instance's region). Withnetwork_id+subnet_id: pins the port's fixed address when inside the subnet CIDR, otherwise associates the existing floating IP with that address. - network
Id String - Private network ID. Omit for a public interface.
- subnet
Id String - Subnet ID within the private network. Required with
network_id.
CloudInstanceShare, CloudInstanceShareArgs
- Id string
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- Access
Level string - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift.
- Id string
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- Access
Level string - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift.
- id string
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- access_
level string - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift.
- id String
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- access
Level String - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift.
- id string
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- access
Level string - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift.
- id str
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- access_
level str - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift.
- id String
- Identifier of the file storage share to attach. Adding the reference attaches the share to the instance, removing it detaches it.
- access
Level String - Access level granted to the instance for this share:
READ_ONLYorREAD_WRITE. Omit it to let the API apply its default (READ_WRITE). When omitted, the attribute stays null in state even though the API echoesREAD_WRITEback, so an omitted level never shows up as drift.
Import
An instance in a public cloud project can be imported using the service_name
and instance_id, separated by /:
terraform
import {
to = ovh_cloud_instance.instance
id = “<service_name>/<instance_id>”
}
bash
$ pulumi import ovh:index/cloudInstance:CloudInstance instance service_name/instance_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
published on Tuesday, Aug 18, 2026 by OVHcloud