C# Class Elastacloud.AzureManagement.Fluent.Types.VirtualMachines.PersistentVMRole

Represents a persistent Vm role
Inheritance: ICustomXmlSerializer
ファイルを表示 Open project: azurecoder/fluent-management Class Usage Examples

Public Methods

Method Description
AddAdhocLinuxRoleTemplates ( List properties ) : List

Adds the default template for a Windows Virtual Machine

AddAdhocWindowsRoleTemplate ( WindowsVirtualMachineProperties properties ) : PersistentVMRole

Adds the default template for a Windows Virtual Machine

ConvertToRoleInstanceStatus ( string status ) : RoleInstanceStatus

Reusable conversion function to convert to a status object

GetAdHocTemplate ( VirtualMachineProperties properties, ConfigurationSet operatingSystemConfigurationSet ) : PersistentVMRole
GetXmlTree ( ) : System.Xml.Linq.XElement

Gets the Xml tree for the custom serialiser

Method Details

AddAdhocLinuxRoleTemplates() public static method

Adds the default template for a Windows Virtual Machine
public static AddAdhocLinuxRoleTemplates ( List properties ) : List
properties List
return List

AddAdhocWindowsRoleTemplate() public static method

Adds the default template for a Windows Virtual Machine
public static AddAdhocWindowsRoleTemplate ( WindowsVirtualMachineProperties properties ) : PersistentVMRole
properties WindowsVirtualMachineProperties
return PersistentVMRole

ConvertToRoleInstanceStatus() public static method

Reusable conversion function to convert to a status object
public static ConvertToRoleInstanceStatus ( string status ) : RoleInstanceStatus
status string
return RoleInstanceStatus

GetAdHocTemplate() public static method

public static GetAdHocTemplate ( VirtualMachineProperties properties, ConfigurationSet operatingSystemConfigurationSet ) : PersistentVMRole
properties VirtualMachineProperties
operatingSystemConfigurationSet ConfigurationSet
return PersistentVMRole

GetXmlTree() public method

Gets the Xml tree for the custom serialiser
public GetXmlTree ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement