C# 클래스 OpenStack.Compute.v2_1.ServerCreateDefinition

파일 보기 프로젝트 열기: ONLYOFFICE/AppServer 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ConfigureBootFromNewVolume ( Identifier volumeId, int volumeSize, bool deleteVolumeWithServer = false ) : void

Configures the server to boot from a copy of an existing volume.

ConfigureBootFromNewVolume ( int volumeSize, bool deleteVolumeWithServer = false ) : void

Configures the server to boot from a new volume, copied from the base server image.

ConfigureBootFromVolume ( Identifier volumeId, bool deleteVolumeWithServer = false ) : void

Configures the server to boot from an existing volume.

LoadUserDataFromFile ( string path ) : void

Load the UserData from the specified file path.

ServerCreateDefinition ( string name, Identifier imageId, Identifier flavorId ) : System

Initializes a new instance of the ServerCreateDefinition class.

메소드 상세

ConfigureBootFromNewVolume() 공개 메소드

Configures the server to boot from a copy of an existing volume.
public ConfigureBootFromNewVolume ( Identifier volumeId, int volumeSize, bool deleteVolumeWithServer = false ) : void
volumeId Identifier The volume identifier.
volumeSize int Size of the volume.
deleteVolumeWithServer bool if set to true [delete volume with server].
리턴 void

ConfigureBootFromNewVolume() 공개 메소드

Configures the server to boot from a new volume, copied from the base server image.
public ConfigureBootFromNewVolume ( int volumeSize, bool deleteVolumeWithServer = false ) : void
volumeSize int Size of the volume.
deleteVolumeWithServer bool if set to true [delete volume with server].
리턴 void

ConfigureBootFromVolume() 공개 메소드

Configures the server to boot from an existing volume.
public ConfigureBootFromVolume ( Identifier volumeId, bool deleteVolumeWithServer = false ) : void
volumeId Identifier The volume identifier.
deleteVolumeWithServer bool if set to true [delete volume with server].
리턴 void

LoadUserDataFromFile() 공개 메소드

Load the UserData from the specified file path.
The specified path is invalid (for example, it is on an unmapped drive). An I/O error occurred while opening the file. This operation is not supported on the current platform.-or- specified a directory.-or- The caller does not have the required permission. The file specified in was not found. The caller does not have the required permission.
public LoadUserDataFromFile ( string path ) : void
path string The user data file path.
리턴 void

ServerCreateDefinition() 공개 메소드

Initializes a new instance of the ServerCreateDefinition class.
public ServerCreateDefinition ( string name, Identifier imageId, Identifier flavorId ) : System
name string The server name.
imageId Identifier The image identifier.
flavorId Identifier The flavor identifier.
리턴 System