VirtualMachineInstances interface
Interface representing a VirtualMachineInstances.
Methods
begin |
The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation. |
begin |
The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation. |
begin |
The operation to delete a virtual machine instance. |
begin |
The operation to delete a virtual machine instance. |
begin |
The operation to restart a virtual machine instance. |
begin |
The operation to restart a virtual machine instance. |
begin |
The operation to start a virtual machine instance. |
begin |
The operation to start a virtual machine instance. |
begin |
The operation to power off (stop) a virtual machine instance. |
begin |
The operation to power off (stop) a virtual machine instance. |
begin |
The operation to update a virtual machine instance. |
begin |
The operation to update a virtual machine instance. |
get(string, Virtual |
Retrieves information about a virtual machine instance. |
list(string, Virtual |
Lists all of the virtual machine instances within the specified parent resource. |
Method Details
beginCreateOrUpdate(string, VirtualMachineInstancesCreateOrUpdateOptionalParams)
The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.
function beginCreateOrUpdate(resourceUri: string, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstance>, VirtualMachineInstance>>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineInstance>, VirtualMachineInstance>>
beginCreateOrUpdateAndWait(string, VirtualMachineInstancesCreateOrUpdateOptionalParams)
The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.
function beginCreateOrUpdateAndWait(resourceUri: string, options?: VirtualMachineInstancesCreateOrUpdateOptionalParams): Promise<VirtualMachineInstance>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<VirtualMachineInstance>
beginDelete(string, VirtualMachineInstancesDeleteOptionalParams)
The operation to delete a virtual machine instance.
function beginDelete(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesDeleteHeaders>, VirtualMachineInstancesDeleteHeaders>>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineInstancesDeleteHeaders>, VirtualMachineInstancesDeleteHeaders>>
beginDeleteAndWait(string, VirtualMachineInstancesDeleteOptionalParams)
The operation to delete a virtual machine instance.
function beginDeleteAndWait(resourceUri: string, options?: VirtualMachineInstancesDeleteOptionalParams): Promise<VirtualMachineInstancesDeleteHeaders>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<VirtualMachineInstancesDeleteHeaders>
beginRestart(string, VirtualMachineInstancesRestartOptionalParams)
The operation to restart a virtual machine instance.
function beginRestart(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesRestartHeaders>, VirtualMachineInstancesRestartHeaders>>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineInstancesRestartHeaders>, VirtualMachineInstancesRestartHeaders>>
beginRestartAndWait(string, VirtualMachineInstancesRestartOptionalParams)
The operation to restart a virtual machine instance.
function beginRestartAndWait(resourceUri: string, options?: VirtualMachineInstancesRestartOptionalParams): Promise<VirtualMachineInstancesRestartHeaders>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
beginStart(string, VirtualMachineInstancesStartOptionalParams)
The operation to start a virtual machine instance.
function beginStart(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStartHeaders>, VirtualMachineInstancesStartHeaders>>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineInstancesStartHeaders>, VirtualMachineInstancesStartHeaders>>
beginStartAndWait(string, VirtualMachineInstancesStartOptionalParams)
The operation to start a virtual machine instance.
function beginStartAndWait(resourceUri: string, options?: VirtualMachineInstancesStartOptionalParams): Promise<VirtualMachineInstancesStartHeaders>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<VirtualMachineInstancesStartHeaders>
beginStop(string, VirtualMachineInstancesStopOptionalParams)
The operation to power off (stop) a virtual machine instance.
function beginStop(resourceUri: string, options?: VirtualMachineInstancesStopOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstancesStopHeaders>, VirtualMachineInstancesStopHeaders>>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineInstancesStopHeaders>, VirtualMachineInstancesStopHeaders>>
beginStopAndWait(string, VirtualMachineInstancesStopOptionalParams)
The operation to power off (stop) a virtual machine instance.
function beginStopAndWait(resourceUri: string, options?: VirtualMachineInstancesStopOptionalParams): Promise<VirtualMachineInstancesStopHeaders>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<VirtualMachineInstancesStopHeaders>
beginUpdate(string, VirtualMachineInstancesUpdateOptionalParams)
The operation to update a virtual machine instance.
function beginUpdate(resourceUri: string, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineInstance>, VirtualMachineInstance>>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualMachineInstance>, VirtualMachineInstance>>
beginUpdateAndWait(string, VirtualMachineInstancesUpdateOptionalParams)
The operation to update a virtual machine instance.
function beginUpdateAndWait(resourceUri: string, options?: VirtualMachineInstancesUpdateOptionalParams): Promise<VirtualMachineInstance>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<VirtualMachineInstance>
get(string, VirtualMachineInstancesGetOptionalParams)
Retrieves information about a virtual machine instance.
function get(resourceUri: string, options?: VirtualMachineInstancesGetOptionalParams): Promise<VirtualMachineInstance>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.
Returns
Promise<VirtualMachineInstance>
list(string, VirtualMachineInstancesListOptionalParams)
Lists all of the virtual machine instances within the specified parent resource.
function list(resourceUri: string, options?: VirtualMachineInstancesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineInstance, VirtualMachineInstance[], PageSettings>
Parameters
- resourceUri
-
string
The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
The options parameters.