Class InstanceState
Inheritance
System.Object
InstanceState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class InstanceState : ResourceArgs
Constructors
View Source
InstanceState()
Declaration
Properties
View Source
AccessIpV4
The first detected Fixed IPv4 address.
Declaration
public Input<string> AccessIpV4 { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AccessIpV6
The first detected Fixed IPv6 address.
Declaration
public Input<string> AccessIpV6 { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AdminPass
The administrative password to assign to the server.
Changing this changes the root password on the existing server.
Declaration
public Input<string> AdminPass { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Declaration
public InputMap<object> AllMetadata { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
The collection of tags assigned on the instance, which have
been explicitly and implicitly added.
Declaration
public InputList<string> AllTags { get; set; }
Property Value
View Source
AvailabilityZone
The availability zone in which to create
the server. Conflicts with availability_zone_hints. Changing this creates
a new server.
Declaration
public Input<string> AvailabilityZone { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AvailabilityZoneHints
The availability zone in which to
create the server. This argument is preferred to availability_zone, when
scheduling the server on a
particular
host or node. Conflicts with availability_zone. Changing this creates a
new server.
Declaration
public Input<string> AvailabilityZoneHints { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
BlockDevices
Configuration of block devices. The block_device
structure is documented below. Changing this creates a new server.
You can specify multiple block devices which will create an instance with
multiple disks. This configuration is very flexible, so please see the
following reference
for more information.
Declaration
public InputList<InstanceBlockDeviceGetArgs> BlockDevices { get; set; }
Property Value
View Source
ConfigDrive
Whether to use the config_drive feature to
configure the instance. Changing this creates a new server.
Declaration
public Input<bool> ConfigDrive { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
FlavorId
The flavor ID of
the desired flavor for the server. Changing this resizes the existing server.
Declaration
public Input<string> FlavorId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
FlavorName
The name of the
desired flavor for the server. Changing this resizes the existing server.
Declaration
public Input<string> FlavorName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ForceDelete
Whether to force the OpenStack instance to be
forcefully deleted. This is useful for environments that have reclaim / soft
deletion enabled.
Declaration
public Input<bool> ForceDelete { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ImageId
(Optional; Required if image_name is empty and not booting
from a volume. Do not specify if booting from a volume.) The image ID of
the desired image for the server. Changing this creates a new server.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ImageName
(Optional; Required if image_id is empty and not booting
from a volume. Do not specify if booting from a volume.) The name of the
desired image for the server. Changing this creates a new server.
Declaration
public Input<string> ImageName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
KeyPair
The name of a key pair to put on the server. The key
pair must already be created and associated with the tenant's account.
Changing this creates a new server.
Declaration
public Input<string> KeyPair { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Metadata key/value pairs to make available from
within the instance. Changing this updates the existing server metadata.
Declaration
public InputMap<object> Metadata { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
Name
The human-readable
name of the network. Changing this creates a new server.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Networks
An array of one or more networks to attach to the
instance. The network object structure is documented below. Changing this
creates a new server.
Declaration
public InputList<InstanceNetworkGetArgs> Networks { get; set; }
Property Value
View Source
Personalities
Customize the personality of an instance by
defining one or more files and their contents. The personality structure
is described below.
Declaration
public InputList<InstancePersonalityGetArgs> Personalities { get; set; }
Property Value
View Source
PowerState
Provide the VM state. Only 'active' and 'shutoff'
are supported values. Note: If the initial power_state is the shutoff
the VM will be stopped immediately after build and the provisioners like
remote-exec or files are not supported.
Declaration
public Input<string> PowerState { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Region
The region in which to create the server instance. If
omitted, the region argument of the provider is used. Changing this
creates a new server.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SchedulerHints
Provide the Nova scheduler with hints on how
the instance should be launched. The available hints are described below.
Declaration
public InputList<InstanceSchedulerHintGetArgs> SchedulerHints { get; set; }
Property Value
View Source
SecurityGroups
An array of one or more security group names
or ids to associate with the server. Changing this results in adding/removing
security groups from the existing server. Note: When attaching the
instance to networks using Ports, place the security groups on the Port
and not the instance.
Declaration
public InputList<string> SecurityGroups { get; set; }
Property Value
View Source
StopBeforeDestroy
Whether to try stop instance gracefully
before destroying it, thus giving chance for guest OS daemons to stop correctly.
If instance doesn't stop within timeout, it will be destroyed anyway.
Declaration
public Input<bool> StopBeforeDestroy { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
A set of string tags for the instance. Changing this
updates the existing instance tags.
Declaration
public InputList<string> Tags { get; set; }
Property Value
View Source
UserData
The user data to provide when launching the instance.
Changing this creates a new server.
Declaration
public Input<string> UserData { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
VendorOptions
Map of additional vendor-specific options.
Supported options are described below.
Declaration
public Input<InstanceVendorOptionsGetArgs> VendorOptions { get; set; }
Property Value