Wrapper function to auto-identify background script to process provided settings and deploy Azure infrastructure.
This command is part of the common command tooling.
Parameters
-SettingsFile
Required. (String) File path for the settings file to be converted into a settings object.
-SettingsObject
Required. (Object) Object containing the configuration values required to run this cmdlet.
-PolicySettingsFile
Required. (String) Policy file path for the settings file to be converted into a settings object New-CmAzIaasRecoveryServicesVault.
-PolicySettingsObject
Required. (Object) Policy object containing the configuration values required to run this New-CmAzIaasRecoveryServicesVault.
-TagSettingsFile
Required. (String) File path for settings containing tags definition.
-LocalAdminUsername
Required. (SecureString) Local admin username for deployed vms, max length 20 characters.
-LocalAdminPassword
Required. (SecureString) Local admin passwords for deployed vms, requires three of the following character types: * Uppercase * Lowercase * Numeric * Special
-WhatIf
(Switch) Run the command without executing any actions, so that no changes are made. The command will output a description of actions to be performed against the affected resources in the console window. Use this option if you are unsure of the overall impact of your command and wish to review it before committing to making changes.
-Confirm
(Switch) Run the command without executing any actions, so that no changes are made. The command will output a description of actions to be performed against the affected resources in the console window. Use this option if you are unsure of the overall impact of your command and wish to review it before committing to making changes.
Usage
Example 1
1
New-CmAzDeployment -SettingsFile "c:/directory/settingsFile.yml"
Example 2
1
New-CmAzDeployment -SettingsFile "c:/directory/settingsFile.yml" -TagSettingsFile "c:/directory/tags.yml"
Example 3
1
New-CmAzDeployment -SettingsFile "c:/directory/virtualmachine.yml" -LocalAdminUsername $adminUser -LocalAdminPassword $adminPassword