Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/StackHCIVM/StackHCIVM.Autorest/Az.StackHCIVM.psd1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@{
GUID = '7389f67c-ec9d-4c13-9c9a-308834413af6'
RootModule = './Az.StackHCIVM.psm1'
ModuleVersion = '0.1.0'
ModuleVersion = '2.0.0'
CompatiblePSEditions = 'Core', 'Desktop'
Author = 'Microsoft Corporation'
CompanyName = 'Microsoft Corporation'
Expand Down
20 changes: 10 additions & 10 deletions src/StackHCIVM/StackHCIVM.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,23 @@ In this directory, run AutoRest:
> see https://aka.ms/autorest

```yaml
commit: 59883fd93ea3f0911d2070a533a3724bf9c2516a
commit: 812f964651d5f1f7148b54ed2cc35cb97be12523
require:
- $(this-folder)/../../readme.azure.noprofile.md
repo: azure-rest-api-specs

input-file:
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/common.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualMachineInstances.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2024-01-01/common.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2024-01-01/galleryImages.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2024-01-01/marketplaceGalleryImages.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2024-01-01/networkInterfaces.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2024-01-01/storageContainers.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2024-01-01/virtualHardDisks.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2024-01-01/virtualMachineInstances.json
- $(repo)/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2024-01-01/logicalNetworks.json
- $(repo)/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2023-03-15-preview/HybridCompute.json

module-version: 0.1.0
module-version: 2.0.0
title: StackHCIVM
service-name: StackHCIVM
subject-prefix: $(service-name)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "logicalNetworks",
"apiVersion": "2023-09-01-preview",
"apiVersion": "2024-01-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.stackhcivm"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "networkInterfaces",
"apiVersion": "2023-09-01-preview",
"apiVersion": "2024-01-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.stackhcivm"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "storageContainers",
"apiVersion": "2023-09-01-preview",
"apiVersion": "2024-01-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.stackhcivm"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "virtualHardDisks",
"apiVersion": "2023-09-01-preview",
"apiVersion": "2024-01-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.stackhcivm"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,11 @@ function New-AzStackHCIVMVirtualMachine {
$PSBoundParameters.Add("WindowConfigurationProvisionVMConfigAgent", $true)
if(-not $ProvisionVMAgent){
$null = $PSBoundParameters.Remove("WindowConfigurationProvisionVMAgent")
$PSBoundParameters.Add("WindowConfigurationProvisionVMAgent", $false)
}
if (-not $ProvisionVMConfigAgent){
$null = $PSBoundParameters.Remove("WindowConfigurationProvisionVMConfigAgent")
$PSBoundParameters.Add("WindowConfigurationProvisionVMConfigAgent", $true)
}
$null = $PSBoundParameters.Remove("ProvisionVMAgent")
$null = $PSBoundParameters.Remove("ProvisionVMConfigAgent")
Expand Down Expand Up @@ -580,9 +582,11 @@ function New-AzStackHCIVMVirtualMachine {
$PSBoundParameters.Add("LinuxConfigurationProvisionVMConfigAgent", $true)
if(-not $ProvisionVMAgent){
$null = $PSBoundParameters.Remove("LinuxConfigurationProvisionVMAgent")
$PSBoundParameters.Add("LinuxConfigurationProvisionVMAgent", $false)
}
if (-not $ProvisionVMConfigAgent){
$null = $PSBoundParameters.Remove("LinuxConfigurationProvisionVMConfigAgent")
$PSBoundParameters.Add("LinuxConfigurationProvisionVMConfigAgent", $false)
}
$null = $PSBoundParameters.Remove("ProvisionVMAgent")
$null = $PSBoundParameters.Remove("ProvisionVMConfigAgent")
Expand Down