Skip to content

[Compute] breaking changes #8059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2018
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ function Test-VirtualMachineScaleSetProfile
Assert-AreEqual 2 $vmss.Identity.UserAssignedIdentities.Keys.Count;
Assert-True { $vmss.Identity.UserAssignedIdentities.ContainsKey($newUserId1) };
Assert-True { $vmss.Identity.UserAssignedIdentities.ContainsKey($newUserId2) };
Assert-AreEqual $newUserId1 $vmss.Identity.IdentityIds[0];
Assert-AreEqual $newUserId2 $vmss.Identity.IdentityIds[1];

# AdditionalCapabilities
Assert-Null $vmss.VirtualMachineProfile.AdditionalCapabilities;
Expand Down
8 changes: 7 additions & 1 deletion src/ResourceManager/Compute/Commands.Compute/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@
* Overview of change #1
- Additional information about change #1
-->
## Current Release
## Current Release
* Breaking changes
- IdentityIds are removed from Identity property in PSVirtualMachine and PSVirtualMachineScaleSet object.
- The type of InstanceView property of PSVirtualMachineScaleSetVM object is changed from VirtualMachineInstanceView to VirtualMachineScaleSetVMInstanceView.
- AutoOSUpgradePolicy and AutomaticOSUpgrade properties are removed from UpgradePolicy property.
- The type of Sku property in PSSnapshotUpdate object is changed from DiskSku to SnapshotSku.
- VmScaleSetVMParameterSet is removed from Add-AzVMDataDisk.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@
<Compile Include="Models\PSAvailabilitySet.cs" />
<Compile Include="Models\PSVirtualMachineImageResource.cs" />
<Compile Include="Models\PSVirtualMachineInstanceView.cs" />
<Compile Include="Models\PSVirtualMachineIdentity.cs" />
<Compile Include="Models\PSVirtualMachineList.cs" />
<Compile Include="Models\PSVirtualMachineListStatus.cs" />
<Compile Include="Models\PSVirtualMachineScaleSetExtension.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,18 +188,6 @@ private static void Initialize()
// PSVmssDiskEncryptionStatusContext <=> PSVmssDiskEncryptionStatusContextList
cfg.CreateMap<TO.PSVmssDiskEncryptionStatusContext, TO.PSVmssDiskEncryptionStatusContextList>();
cfg.CreateMap<TO.PSVmssVMDiskEncryptionStatusContext, TO.PSVmssVMDiskEncryptionStatusContextList>();

// PSVirtualMachineIdentity <=> VirtualMachineIdentity
cfg.CreateMap<FROM.VirtualMachineIdentity, TO.PSVirtualMachineIdentity>()
.AfterMap((src, dest) =>
{
if (src.UserAssignedIdentities == null) dest.UserAssignedIdentities = null;
});
cfg.CreateMap<TO.PSVirtualMachineIdentity, FROM.VirtualMachineIdentity>()
.AfterMap((src, dest) =>
{
if (src.UserAssignedIdentities == null) dest.UserAssignedIdentities = null;
});
});

_mapper = config.CreateMapper();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@

namespace Microsoft.Azure.Commands.Compute.Extension.Diagnostics
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet("Add", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssDiagnosticsExtension",SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public class AddAzureRmVmssDiagnosticsExtension : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@

namespace Microsoft.Azure.Commands.Compute
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssDiagnosticsExtension",SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public class RemoveAzureRmVmssDiagnosticsExtension : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@

namespace Microsoft.Azure.Commands.Compute.Extension.AzureDiskEncryption
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet("Disable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssDiskEncryption",SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public class RemoveAzureVmssDiskEncryptionCommand : VirtualMachineScaleSetExtensionBaseCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ private static void Initialize()
cfg.CreateMap<FROM.Snapshot, TO.PSSnapshotList>();
cfg.CreateMap<TO.PSSnapshotList, TO.PSSnapshot>();
cfg.CreateMap<TO.PSSnapshot, TO.PSSnapshotList>();
cfg.CreateMap<FROM.UpgradePolicy, TO.PSUpgradePolicy>();
cfg.CreateMap<TO.PSUpgradePolicy, FROM.UpgradePolicy>();
cfg.CreateMap<FROM.VirtualMachineScaleSet, TO.PSVirtualMachineScaleSetList>()
.ForMember(c => c.Zones, o => o.Condition(r => (r.Zones != null)));
cfg.CreateMap<TO.PSVirtualMachineScaleSetList, TO.PSVirtualMachineScaleSet>()
Expand Down Expand Up @@ -137,16 +135,6 @@ private static void Initialize()
cfg.CreateMap<TO.PSRunCommandDocumentBase, FROM.RunCommandDocumentBase>();
cfg.CreateMap<FROM.RollingUpgradeStatusInfo, TO.PSRollingUpgradeStatusInfo>();
cfg.CreateMap<TO.PSRollingUpgradeStatusInfo, FROM.RollingUpgradeStatusInfo>();
cfg.CreateMap<FROM.VirtualMachineScaleSetIdentity, TO.PSVirtualMachineScaleSetIdentity>()
.AfterMap((src, dest) =>
{
if (src.UserAssignedIdentities == null) dest.UserAssignedIdentities = null;
});
cfg.CreateMap<TO.PSVirtualMachineScaleSetIdentity, FROM.VirtualMachineScaleSetIdentity>()
.AfterMap((src, dest) =>
{
if (src.UserAssignedIdentities == null) dest.UserAssignedIdentities = null;
});
cfg.CreateMap<FROM.VirtualMachineScaleSet, TO.PSVirtualMachineScaleSet>()
.ForMember(c => c.Zones, o => o.Condition(r => (r.Zones != null)));
cfg.CreateMap<TO.PSVirtualMachineScaleSet, FROM.VirtualMachineScaleSet>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ public partial class PSSnapshotUpdate
public int? DiskSizeGB { get; set; }
public EncryptionSettings EncryptionSettings { get; set; }
public IDictionary<string, string> Tags { get; set; }
//public SnapshotSku Sku { get; set; }
public SnapshotSku Sku { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ public string ResourceGroupName

public Sku Sku { get; set; }
public Plan Plan { get; set; }
public PSUpgradePolicy UpgradePolicy { get; set; }
public UpgradePolicy UpgradePolicy { get; set; }
public VirtualMachineScaleSetVMProfile VirtualMachineProfile { get; set; }
public string ProvisioningState { get; set; }
public bool? Overprovision { get; set; }
public string UniqueId { get; set; }
public bool? SinglePlacementGroup { get; set; }
public bool? ZoneBalance { get; set; }
public int? PlatformFaultDomainCount { get; set; }
//public VirtualMachineScaleSetIdentity Identity { get; set; }
public VirtualMachineScaleSetIdentity Identity { get; set; }
public System.Collections.Generic.IList<string> Zones { get; set; }
public string Id { get; set; }
public string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public string ResourceGroupName
public Sku Sku { get; set; }
public bool? LatestModelApplied { get; set; }
public string VmId { get; set; }
//public VirtualMachineScaleSetVMInstanceView InstanceView { get; set; }
public VirtualMachineScaleSetVMInstanceView InstanceView { get; set; }
public HardwareProfile HardwareProfile { get; set; }
public StorageProfile StorageProfile { get; set; }
public AdditionalCapabilities AdditionalCapabilities { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(DiskSku), ReplacementCmdletOutputTypeName = "SnapshotSku")]
#endif
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SnapshotUpdateConfig", SupportsShouldProcess = true)]
[OutputType(typeof(PSSnapshotUpdate))]
public partial class NewAzureRmSnapshotUpdateConfigCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down Expand Up @@ -137,10 +134,7 @@ private void Run()
DiskSizeGB = this.MyInvocation.BoundParameters.ContainsKey("DiskSizeGB") ? this.DiskSizeGB : (int?)null,
Tags = this.MyInvocation.BoundParameters.ContainsKey("Tag") ? this.Tag.Cast<DictionaryEntry>().ToDictionary(ht => (string)ht.Key, ht => (string)ht.Value) : null,
EncryptionSettings = vEncryptionSettings,
Sku = new DiskSku
{
Name = vSku.Name.ToString()
}
Sku = vSku
};

WriteObject(vSnapshotUpdate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(DiskSku), ReplacementCmdletOutputTypeName = "SnapshotSku")]
#endif
[Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SnapshotUpdateDiskEncryptionKey", SupportsShouldProcess = true)]
[OutputType(typeof(PSSnapshotUpdate))]
public partial class SetAzureRmSnapshotUpdateDiskEncryptionKeyCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(DiskSku), ReplacementCmdletOutputTypeName = "SnapshotSku")]
#endif
[Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SnapshotUpdateKeyEncryptionKey", SupportsShouldProcess = true)]
[OutputType(typeof(PSSnapshotUpdate))]
public partial class SetAzureRmSnapshotUpdateKeyEncryptionKeyCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Add, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssAdditionalUnattendContent", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class AddAzureRmVmssAdditionalUnattendContentCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Add, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssDataDisk", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class AddAzureRmVmssDataDiskCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Add, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssExtension", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class AddAzureRmVmssExtensionCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Add, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssNetworkInterfaceConfiguration", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class AddAzureRmVmssNetworkInterfaceConfigurationCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Add, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssSecret", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class AddAzureRmVmssSecretCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Add, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssSshPublicKey", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class AddAzureRmVmssSshPublicKeyCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Add, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssWinRMListener", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class AddAzureRmVmssWinRMListenerCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssConfig", SupportsShouldProcess = true, DefaultParameterSetName = "DefaultParameterSet")]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class NewAzureRmVmssConfigCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down Expand Up @@ -490,9 +484,9 @@ private void Run()
Tags = this.MyInvocation.BoundParameters.ContainsKey("Tag") ? this.Tag.Cast<DictionaryEntry>().ToDictionary(ht => (string)ht.Key, ht => (string)ht.Value) : null,
Sku = vSku,
Plan = vPlan,
UpgradePolicy = (vUpgradePolicy == null) ? null : new PSUpgradePolicy(vUpgradePolicy),
UpgradePolicy = vUpgradePolicy,
VirtualMachineProfile = vVirtualMachineProfile,
Identity = (vIdentity == null) ? null : new PSVirtualMachineScaleSetIdentity(vIdentity),
Identity = vIdentity,
};

WriteObject(vVirtualMachineScaleSet);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssDataDisk", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class RemoveAzureRmVmssDataDiskCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssExtension", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class RemoveAzureRmVmssExtensionCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssNetworkInterfaceConfiguration", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class RemoveAzureRmVmssNetworkInterfaceConfigurationCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@

namespace Microsoft.Azure.Commands.Compute.Automation
{
#if NETSTANDARD
[CmdletOutputBreakingChange(typeof(PSUpgradePolicy),
DeprecatedOutputProperties = new string[] { "AutomaticOSUpgrade", "AutoOSUpgradePolicy" })]
[CmdletOutputBreakingChange(typeof(PSVirtualMachineScaleSetIdentity),
DeprecatedOutputProperties = new string[] { "IdentityIds" })]
#endif
[Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssBootDiagnostic", SupportsShouldProcess = true)]
[OutputType(typeof(PSVirtualMachineScaleSet))]
public partial class SetAzureRmVmssBootDiagnosticCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Expand Down
Loading