메소드 | 설명 | |
---|---|---|
AddRolesToExistingDeployment ( List |
||
CleanupUnattachedDisks ( ) : void |
Cleans up any disks which don't have an attached VM
|
|
ClosePorts ( string cloudServiceName, string virtualMachineName ) : void | ||
CreateNewVirtualMachineDeploymentFromTemplateGallery ( List |
Creates a new virtual machine from a gallery template
|
|
DeleteNamedVirtualMachineDisk ( string name ) : void |
Deletes a vm disk if a name is known
|
|
DeleteVirtualMachine ( bool removeDisks = true, bool removeUnderlyingBlobs = true, bool removeCloudService = true, bool removeStorageAccount = true ) : void |
Deletes the virtual machine that has context with the client
|
|
GetAvailableVirtualNetworks ( ) : List |
||
GetCurrentUbuntuImage ( ) : |
This returns all of the available ubuntu images in the gallery
|
|
GetHostDetails ( string cloudServiceName ) : List |
Gets a list of hosts, internal ip addresses and other things
|
|
GetVirtualMachineSubnetCollection ( string cloudServiceName ) : |
Gets a list of virtual machine subnets that the vms in the cloud service belong to
|
|
LinuxVirtualMachineClient ( List |
Constructs a VirtualMachinenClient
|
|
LinuxVirtualMachineClient ( string subscriptionId, |
Constructs a LinuxVirtualMachineClient and will get the details of a virtual machine given a cloud service
|
|
ListImages ( string filter = "" ) : List |
Lists all of the OS images assoiated with Linux that are public within the subscription
|
|
OpenPorts ( string cloudServiceName, string virtualMachineName ) : void | ||
Restart ( ) : void |
Restarts the virtual machine instance
|
|
Stop ( ) : void |
Stops the virtual machine instance
|
메소드 | 설명 | |
---|---|---|
AddServiceCertificateToRoles ( |
||
CheckVmDeploymentIsRunning ( List |
||
DeleteDataDisks ( |
||
ParseBlobDetails ( string blobAddress ) : string |
Returns the name of the blob and container
|
public AddRolesToExistingDeployment ( List |
||
properties | List |
|
cloudServiceName | string | |
serviceCertificate | ||
리턴 | void |
public ClosePorts ( string cloudServiceName, string virtualMachineName ) : void | ||
cloudServiceName | string | |
virtualMachineName | string | |
리턴 | void |
public CreateNewVirtualMachineDeploymentFromTemplateGallery ( List |
||
properties | List |
Can be any gallery template |
cloudServiceName | string | The name of the cloud service - if it doesn't exist it will be created |
serviceCertificate | The service certificate responsible for adding the ssh keys | |
location | string | Where the cloud service will be created if it doesn't exist |
affinityGroup | string | Affinity group that this service will live in |
리턴 | IVirtualMachineClient |
public DeleteNamedVirtualMachineDisk ( string name ) : void | ||
name | string | The name of the vm disk |
리턴 | void |
public DeleteVirtualMachine ( bool removeDisks = true, bool removeUnderlyingBlobs = true, bool removeCloudService = true, bool removeStorageAccount = true ) : void | ||
removeDisks | bool | True if the underlying disks in blob storage should be removed |
removeUnderlyingBlobs | bool | removes the underlying blob |
removeCloudService | bool | Removes the cloud service container |
removeStorageAccount | bool | The storage account that the vhd is in |
리턴 | void |
public GetCurrentUbuntuImage ( ) : |
||
리턴 |
public GetHostDetails ( string cloudServiceName ) : List |
||
cloudServiceName | string | |
리턴 | List |
public GetVirtualMachineSubnetCollection ( string cloudServiceName ) : |
||
cloudServiceName | string | |
리턴 |
public LinuxVirtualMachineClient ( List |
||
properties | List |
A valid VirtualMachineProperties object |
subscriptionId | string | The susbcription id for the subscription |
certificate | The susbcription id for the subscription | |
리턴 | System |
public LinuxVirtualMachineClient ( string subscriptionId, |
||
subscriptionId | string | the subscription id |
certificate | A management certificate for the subscription | |
리턴 | System |
public OpenPorts ( string cloudServiceName, string virtualMachineName ) : void | ||
cloudServiceName | string | |
virtualMachineName | string | |
리턴 | void |