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.AutoScaleAssembly: 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
)
Public Sub New (
flavorId As FlavorId,
imageId As ImageId,
name As String,
diskConfiguration As DiskConfiguration,
metadata As JObject,
networks As IEnumerable(Of ServerNetworkArgument),
personality As IEnumerable(Of Personality)
)
public:
ServerArgument(
FlavorId^ flavorId,
ImageId^ imageId,
String^ name,
DiskConfiguration^ diskConfiguration,
JObject^ metadata,
IEnumerable<ServerNetworkArgument^>^ networks,
IEnumerable<Personality^>^ personality
)
new :
flavorId : FlavorId *
imageId : ImageId *
name : string *
diskConfiguration : DiskConfiguration *
metadata : JObject *
networks : IEnumerable<ServerNetworkArgument> *
personality : IEnumerable<Personality> -> ServerArgument
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 Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also