Метод | Описание | |
---|---|---|
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 GetAvailableVirtualNetworks ( ) : List |
||
Результат | List |
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 ListImages ( string filter = "" ) : List |
||
filter | string | |
Результат | List |
public OpenPorts ( string cloudServiceName, string virtualMachineName ) : void | ||
cloudServiceName | string | |
virtualMachineName | string | |
Результат | void |