diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/custom/New-AzSqlVM.ps1 b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/custom/New-AzSqlVM.ps1 index 5bfba6809406..6c0d19bd20c2 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/custom/New-AzSqlVM.ps1 +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/custom/New-AzSqlVM.ps1 @@ -527,12 +527,6 @@ function New-AzSqlVM { # Resource tags. ${Tag}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Category('Body')] - [System.String] - # ARM Resource id of underlying virtual machine created from SQL marketplace image. - ${VirtualMachineResourceId}, - [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Category('Body')] [System.Security.SecureString] diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzAvailabilityGroupListener.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzAvailabilityGroupListener.md index 878b39e83996..020e48eb4936 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzAvailabilityGroupListener.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzAvailabilityGroupListener.md @@ -185,20 +185,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzSqlVM.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzSqlVM.md index 35831e8dca7b..ccdb193ac582 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzSqlVM.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzSqlVM.md @@ -211,20 +211,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzSqlVMGroup.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzSqlVMGroup.md index 46620d0a8a3f..3fa67d1d78e1 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzSqlVMGroup.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Get-AzSqlVMGroup.md @@ -174,20 +174,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Invoke-AzRedeploySqlVM.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Invoke-AzRedeploySqlVM.md index 37f328182366..57b4c90ac953 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Invoke-AzRedeploySqlVM.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Invoke-AzRedeploySqlVM.md @@ -213,20 +213,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Invoke-AzSqlVMTroubleshoot.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Invoke-AzSqlVMTroubleshoot.md index 398b4b09de07..90aa7c7d0155 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Invoke-AzSqlVMTroubleshoot.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Invoke-AzSqlVMTroubleshoot.md @@ -274,20 +274,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzAvailabilityGroupListener.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzAvailabilityGroupListener.md index 268737c469fc..1c4a4a3dc570 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzAvailabilityGroupListener.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzAvailabilityGroupListener.md @@ -373,24 +373,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`AVAILABILITYGROUPCONFIGURATIONREPLICA `: Replica configurations. - - `[Commit ]`: Replica commit mode in availability group. - - `[Failover ]`: Replica failover mode in availability group. - - `[ReadableSecondary ]`: Replica readable secondary mode in availability group. - - `[Role ]`: Replica Role in availability group. - - `[SqlVirtualMachineInstanceId ]`: Sql VirtualMachine Instance Id. - -`MULTISUBNETIPCONFIGURATION `: List of multi subnet IP configurations for an AG listener. - - `SqlVirtualMachineInstance `: SQL virtual machine instance resource id that are enrolled into the availability group listener. - - `[PrivateIPAddressIpaddress ]`: Private IP address bound to the availability group listener. - - `[PrivateIPAddressSubnetResourceId ]`: Subnet used to include private IP. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVM.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVM.md index 44137d97fe80..6b845e9773fc 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVM.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVM.md @@ -52,7 +52,7 @@ New-AzSqlVM -Name -ResourceGroupName -Location [-Subs [-StorageConfigurationSettingDiskConfigurationType ] [-StorageConfigurationSettingSqlSystemDbOnDataDisk] [-StorageConfigurationSettingStorageWorkloadType ] [-Tag ] - [-VirtualMachineResourceId ] [-WsfcDomainCredentialsClusterBootstrapAccountPassword ] + [-WsfcDomainCredentialsClusterBootstrapAccountPassword ] [-WsfcDomainCredentialsClusterOperatorAccountPassword ] [-WsfcDomainCredentialsSqlServiceAccountPassword ] [-WsfcStaticIP ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] @@ -1376,21 +1376,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -VirtualMachineResourceId -ARM Resource id of underlying virtual machine created from SQL marketplace image. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -WsfcDomainCredentialsClusterBootstrapAccountPassword Cluster bootstrap account password. @@ -1493,7 +1478,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVMGroup.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVMGroup.md index ec8b68d0bc0a..7f6619a8093d 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVMGroup.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVMGroup.md @@ -374,7 +374,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVirtualMachineAgReplicaObject.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVirtualMachineAgReplicaObject.md index 0a6c58365890..bf81a2c56133 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVirtualMachineAgReplicaObject.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVirtualMachineAgReplicaObject.md @@ -126,7 +126,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVirtualMachineMultiSubnetIPConfigurationObject.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVirtualMachineMultiSubnetIPConfigurationObject.md index 195c8793f364..703d19971bf6 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVirtualMachineMultiSubnetIPConfigurationObject.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/New-AzSqlVirtualMachineMultiSubnetIPConfigurationObject.md @@ -96,7 +96,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzAvailabilityGroupListener.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzAvailabilityGroupListener.md index 3aa342ab6a55..2491d8918cd4 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzAvailabilityGroupListener.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzAvailabilityGroupListener.md @@ -229,20 +229,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzSqlVM.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzSqlVM.md index c2c59f2be644..d574fddee5c0 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzSqlVM.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzSqlVM.md @@ -213,20 +213,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzSqlVMGroup.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzSqlVMGroup.md index eb251e1b861a..836d61f546fd 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzSqlVMGroup.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Remove-AzSqlVMGroup.md @@ -213,20 +213,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Start-AzSqlVMAssessment.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Start-AzSqlVMAssessment.md index 923b7c210ffc..dff2311e770f 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Start-AzSqlVMAssessment.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Start-AzSqlVMAssessment.md @@ -213,20 +213,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Update-AzSqlVM.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Update-AzSqlVM.md index 5c01844415dc..2b8bf579edcf 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Update-AzSqlVM.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Update-AzSqlVM.md @@ -927,20 +927,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Update-AzSqlVMGroup.md b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Update-AzSqlVMGroup.md index dee954f0f740..8509064b8f31 100644 --- a/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Update-AzSqlVMGroup.md +++ b/src/SqlVirtualMachine/SqlVirtualMachine.Autorest/docs/Update-AzSqlVMGroup.md @@ -367,20 +367,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[AvailabilityGroupListenerName ]`: Name of the availability group listener. - - `[Id ]`: Resource identity path - - `[ResourceGroupName ]`: Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. - - `[SqlVirtualMachineGroupName ]`: Name of the SQL virtual machine group. - - `[SqlVirtualMachineName ]`: Name of the SQL virtual machine. - - `[SubscriptionId ]`: Subscription ID that identifies an Azure subscription. - ## RELATED LINKS diff --git a/tools/StaticAnalysis/Exceptions/Az.SqlVirtualMachine/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.SqlVirtualMachine/BreakingChangeIssues.csv new file mode 100644 index 000000000000..2b463a753a4c --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.SqlVirtualMachine/BreakingChangeIssues.csv @@ -0,0 +1,3 @@ +"Module","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.SqlVirtualMachine","New-AzSqlVM","New-AzSqlVM","0","2000","The cmdlet 'New-AzSqlVM' no longer supports the parameter 'VirtualMachineResourceId' and no alias was found for the original parameter name.","Add the parameter 'VirtualMachineResourceId' back to the cmdlet 'New-AzSqlVM', or add an alias to the original parameter name." +"Az.SqlVirtualMachine","New-AzSqlVM","New-AzSqlVM","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzSqlVM' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzSqlVM'."