Get-CIVAppStartRule
This cmdlet retrieves the start rules for virtual machines in a specified vApp.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
VApp | CIVApp[] | named |
|
Specifies the vApps whose start rules you want to retrieve. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | CIServer[] | named |
|
Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer. |
optional | VM | CIVM[] | named |
|
Specifies the virtual machines for which to retrieve start rules. |
Output
VMware.VimAutomation.Cloud.Types.V1.CIVAppStartRuleExamples
Example 1
$myVApp = Get-CIVApp -Name 'MyVApp' Get-CIVAppStartRule -VApp $myVApp
Retrieves all start rules for the specified vApp.
Example 2
$myVApp = Get-CIVApp -Name 'MyVApp' $VMinVApp = Get-CIVM 'MyVM' -VApp $myVApp $myVApp | Get-CIVAppStartRule -VM $VMinVApp
Retrieves start rules for the specified virtual machine.
Related Commands
CIVApp
This cmdlet retrieves virtual appliances in the cloud.
This cmdlet imports a virtual machine from the underlying vSphere to the cloud.
This cmdlet creates a new vApp.
This cmdlet removes vApps from the cloud.
This cmdlet restarts the specified vApp.
This cmdlet modifies the configuration of the specified vApps in the cloud.
This cmdlet starts the specified vApp.
This cmdlet stops the specified vApp.
This cmdlet suspends the specified vApp.
CIVAppGuest
This cmdlet restarts the guest operating systems of all virtual machines in the specified vApp.
This cmdlet shuts down the guest operating systems of all virtual machines in the specified vApp.
CIVAppNetwork
This cmdlet retrieves the vApp networks available on a vCloud Director server.
This cmdlet creates a new vApp network.
This cmdlet removes the specified vApp networks if they are not in use.
This cmdlet modifies the configuration of the specified vApp networks.
CIVAppStartRule
This cmdlet retrieves the start rules for virtual machines in a specified vApp.
This cmdlet modifies the start rules for virtual machines in the specified vApp.
CIVAppTemplate
This cmdlet retrieves vApp templates.
This cmdlet imports a virtual machine or an OVF package from vCenter Server to vCloud Director as a vApp template.
This cmdlet creates a new vApp template.
This cmdlet removes the specified vApp template.
This cmdlet modifies the configuration of the specified vApp template.