53
53
[CmdletBinding ()]
54
54
param (
55
55
[Parameter (Mandatory )]
56
- [string ]$AzResourceGroupName ,
56
+ [string ]$AzResourceGroupName = ' myResourceGroup ' ,
57
57
[Parameter (Mandatory )]
58
- [string ]$AzVmName ,
58
+ [string ]$AzVmName = ' myVmName ' ,
59
59
[Parameter (Mandatory )]
60
- <<<<<<< HEAD
61
- [ValidateSet (' eastus' , ' eastus2' , ' germany' , ' northeurope' , ' germanywestcentral' )]
62
- =======
60
+
63
61
[ValidateSet (
64
62
' eastus' , ' eastus2' , ' southcentralus' , ' westus2' ,
65
63
' westus3' , ' australiaeast' , ' southeastasia' , ' northeurope' ,
@@ -79,16 +77,15 @@ param(
79
77
' francesouth' , ' germanynorth' , ' norwaywest' , ' switzerlandwest' ,
80
78
' ukwest' , ' uaecentral' , ' brazilsoutheast'
81
79
)]
82
- >>>>>>> d27ed172490c2a99af476a122f8fcfd7a8ae8575
83
80
[string ]$AzLocation ,
84
81
[Parameter (Mandatory )]
85
- [string ]$AzImageName ,
82
+ [string ]$AzImageName = ' myImageName ' ,
86
83
[Parameter (Mandatory )]
87
- [string ]$AzPublicIpAddressName ,
84
+ [string ]$AzPublicIpAddressName = ' myPublicIpAddressName ' ,
88
85
[Parameter (Mandatory )]
89
- [Securestring ]$AZOpenPorts ,
86
+ [int ]$AZOpenPorts = 22 ,
90
87
[Parameter (Mandatory )]
91
- [string ]$AzVmSize ,
88
+ [string ]$AzVmSize = ' Standard_B1s ' ,
92
89
[Parameter (Mandatory )]
93
90
[string ]$AzSshKeyName
94
91
0 commit comments