Click or drag to resize
ServerArgument Constructor
This API is preliminary and subject to change.
Initializes a new instance of the ServerArgument class with the specified values.

Namespace: net.openstack.Providers.Rackspace.Objects.AutoScale
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public ServerArgument(
	FlavorId flavorId,
	ImageId imageId,
	string name,
	DiskConfiguration diskConfiguration,
	JObject metadata,
	IEnumerable<ServerNetworkArgument> networks,
	IEnumerable<Personality> personality
)

Parameters

flavorId
Type: net.openstack.Core.DomainFlavorId
The ID of the flavor to use when creating new servers. See Id.
imageId
Type: net.openstack.Core.DomainImageId
The ID of the image to use when creating new servers. See Id.
name
Type: SystemString
The prefix to use when assigning names to new servers.
diskConfiguration
Type: net.openstack.Core.DomainDiskConfiguration
The disk configuration to use for new servers.
metadata
Type: Newtonsoft.Json.LinqJObject
The metadata to associate with the server argument.
networks
Type: System.Collections.GenericIEnumerableServerNetworkArgument
A collection of ServerNetworkArgument objects describing the networks to initially connect newly created servers to.
personality
Type: System.Collections.GenericIEnumerablePersonality
A collection of Personality objects describing the personality for new server instances.
Exceptions
ExceptionCondition
ArgumentNullException If flavorId is .

-or-

If imageId is .

ArgumentException If networks contains any values.

-or-

If personality contains any values.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also