VirtualMachineCreateParameters 成员
Represents the parameters that are used to create a Virtual Machine.
以下各表列出了由 VirtualMachineCreateParameters 类型公开的成员。
公共 构造函数
Name | 说明 | |
---|---|---|
VirtualMachineCreateParameters | 重载。 |
返回页首
公共 属性
Name | 说明 | |
---|---|---|
AvailabilitySetName | Gets or sets the name of an availability set to which the Virtual Machine should be added. | |
ConfigurationSets | Gets or sets a collection of ConfigurationSet objects that define the system and application configuration settings for a Virtual Machine. | |
DataVirtualHardDisks | Gets or sets a collection of DataVirtualHardDisk objects that define the parameters that are used to add data disks to a Virtual Machine. | |
MediaLocation | Optional. Location where VMImage VHDs should be copied, for published VMImages. | |
OSVirtualHardDisk | Gets or sets an OSVirtualHardDisk object that defines the parameters that are used to create the operating system disk for a Virtual Machine. | |
ProvisionGuestAgent | Optional. Indicates whether the WindowsAzureGuestAgent service is installed on the Virtual Machine. To run a resource extension in a Virtual Machine, this service must be installed. | |
ResourceExtensionReferences | Optional. Contains a collection of resource extensions that are to be installed on the Virtual Machine. This element is used if ProvisionGuestAgent is set to true. | |
RoleName | Gets or sets the name of the Virtual Machine. | |
RoleSize | Gets or sets a VirtualMachineRoleSize value that specifies the size of the Virtual Machine. | |
VMImageName | Optional. Name of the VMImage from which this Role is to be created. If the OSDisk in the VMImage was Specialized, then no WindowsProvisioningConfigurationSet or LinuxProvisioningConfigurationSet should be provided. No OSVirtualHardDisk or DataVirtualHardDisk should be specified when using this argument. |
返回页首
公共 方法
(另请参见 受保护 方法)
Name | 说明 | |
---|---|---|
Equals | (继承自 Object) | |
GetHashCode | (继承自 Object) | |
GetType | (继承自 Object) | |
ToString | (继承自 Object) |
返回页首
受保护 方法
Name | 说明 | |
---|---|---|
Finalize | (继承自 Object) | |
MemberwiseClone | (继承自 Object) |
返回页首
另请参阅
参考
VirtualMachineCreateParameters 类
Microsoft.WindowsAzure.Management.Compute.Models 命名空间