Dela via


Azure VM

Azure VM connector allows you to manage virtual machines.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
Contact
Name Microsoft
URL https://azure.microsoft.com/support/
Connector Metadata
Publisher Microsoft
Website https://azure.microsoft.com/en-us/services/virtual-machines/
Privacy policy https://privacy.microsoft.com/
Categories Productivity

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Throttling Limits

Name Calls Renewal Period
API calls per connection 1000 60 seconds

Actions

Deallocate virtual machine

Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.

Deallocate virtual machine in a VM scale set

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

Get virtual machine

Gets a virtual machine.

Get virtual machine in a VM scale set

Gets a virtual machine in a VM scale set.

Power off virtual machine

Power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.

Power off virtual machine in a VM scale set

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources.

Reapply virtual machine

Reapply a virtual machine's state.

Redeploy virtual machine

Shuts down the virtual machine, moves it to a new node, and powers it back on.

Redeploy virtual machine in a VM scale set

Shuts down the virtual machine in the VM scale set, moves it to a new node, and powers it back on.

Reimage virtual machine in a VM scale set

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

Restart virtual machine

Restarts a virtual machine.

Restart virtual machine in a VM scale set

Restarts a virtual machine in a VM scale set.

Start virtual machine

Starts a virtual machine.

Start virtual machine in a VM scale set

Starts a virtual machine in a VM scale set.

Deallocate virtual machine

Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine
virtualMachineName True string

The name of the virtual machine.

Deallocate virtual machine in a VM scale set

Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine Scale Set
virtualMachineScaleSetName True string

The name of the virtual machine scale set.

Virtual Machine in a VM scale set
virtualMachineInScaleSetInstanceId True string

The name of the virtual machine in a VM scale set.

Get virtual machine

Gets a virtual machine.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine
virtualMachineName True string

The name of the virtual machine.

Returns

Virtual Machine information.

Get virtual machine in a VM scale set

Gets a virtual machine in a VM scale set.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine Scale Set
virtualMachineScaleSetName True string

The name of the virtual machine scale set.

Virtual Machine in a VM scale set
virtualMachineInScaleSetInstanceId True string

The name of the virtual machine in a VM scale set.

Returns

Virtual Machine information.

Power off virtual machine

Power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine
virtualMachineName True string

The name of the virtual machine.

Power off virtual machine in a VM scale set

Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine Scale Set
virtualMachineScaleSetName True string

The name of the virtual machine scale set.

Virtual Machine in a VM scale set
virtualMachineInScaleSetInstanceId True string

The name of the virtual machine in a VM scale set.

Reapply virtual machine

Reapply a virtual machine's state.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine
virtualMachineName True string

The name of the virtual machine.

Redeploy virtual machine

Shuts down the virtual machine, moves it to a new node, and powers it back on.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine
virtualMachineName True string

The name of the virtual machine.

Redeploy virtual machine in a VM scale set

Shuts down the virtual machine in the VM scale set, moves it to a new node, and powers it back on.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine Scale Set
virtualMachineScaleSetName True string

The name of the virtual machine scale set.

Virtual Machine in a VM scale set
virtualMachineInScaleSetInstanceId True string

The name of the virtual machine in a VM scale set.

Reimage virtual machine in a VM scale set

Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine Scale Set
virtualMachineScaleSetName True string

The name of the virtual machine scale set.

Virtual Machine in a VM scale set
virtualMachineInScaleSetInstanceId True string

The name of the virtual machine in a VM scale set.

Restart virtual machine

Restarts a virtual machine.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine
virtualMachineName True string

The name of the virtual machine.

Restart virtual machine in a VM scale set

Restarts a virtual machine in a VM scale set.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine Scale Set
virtualMachineScaleSetName True string

The name of the virtual machine scale set.

Virtual Machine in a VM scale set
virtualMachineInScaleSetInstanceId True string

The name of the virtual machine in a VM scale set.

Start virtual machine

Starts a virtual machine.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine
virtualMachineName True string

The name of the virtual machine.

Start virtual machine in a VM scale set

Starts a virtual machine in a VM scale set.

Parameters

Name Key Required Type Description
Subscription Id
subscriptionId True string

Microsoft Azure subscription.

Resource Group
resourceGroupName True string

The name of the resource group.

Virtual Machine Scale Set
virtualMachineScaleSetName True string

The name of the virtual machine scale set.

Virtual Machine in a VM scale set
virtualMachineInScaleSetInstanceId True string

The name of the virtual machine in a VM scale set.

Definitions

VirtualMachineInScaleSet

Virtual Machine information.

Name Path Type Description
Id
id string

The ID of the virtual machine.

Name
name string

The Name of the virtual machine.

InstanceId
instanceId string

The instance Id of the virtual machine.

properties
properties VirtualMachineInScaleSetProperties

Virtual Machine properties.

VirtualMachineInScaleSetProperties

Virtual Machine properties.

Name Path Type Description
ProvisioningState
provisioningState string

The state of the virtual machine.

VirtualMachine

Virtual Machine information.

Name Path Type Description
Id
id string

The ID of the virtual machine.

Name
name string

The Name of the virtual machine.

properties
properties VirtualMachineProperties

Virtual Machine properties.

VirtualMachineProperties

Virtual Machine properties.

Name Path Type Description
ProvisioningState
provisioningState string

The state of the virtual machine.