Skip to content

Commit 935b2b2

Browse files
a-santamariaAlfredo Santamaria Gomez
authored andcommitted
Fix StaticAnalysis BreakingChange and Signature issues
* remove .ManagedClusters from models namespace * regenerate help * Rename UpgradeMode to ApplicationUpgradeMode * suppress managed clusters breaking changes as it is in preview (#2) * Fix static analysis signature issues * fix breaking changes exceptions (#3) * adding missing header * fixing breakingChangeIssues file * add missing braking changes * remove duplicates from braking exceptions * fix app tests * Change Tags to singular for application Co-authored-by: Alfredo Santamaria Gomez <[email protected]>
1 parent 33100ed commit 935b2b2

File tree

69 files changed

+461
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+461
-331
lines changed

src/ServiceFabric/ServiceFabric.Test/ScenarioTests/ServiceFabricManagedClustersApplicationTests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function Test-ManagedAppType
5555

5656
$tags = @{"test"="tag"}
5757

58-
$appType = $appTypeFromGet | Set-AzServiceFabricManagedClusterApplicationType -Tags $tags -Verbose
58+
$appType = $appTypeFromGet | Set-AzServiceFabricManagedClusterApplicationType -Tag $tags -Verbose
5959
Assert-AreEqual "Succeeded" $appType.ProvisioningState
6060

6161
$appTypeFromGet = Get-AzServiceFabricManagedClusterApplicationType -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appTypeName
@@ -103,7 +103,7 @@ function Test-ManagedAppTypeVersion
103103

104104
$tags = @{"test"="tag"}
105105

106-
$appTypeVersion = $appTypeVersionFromGet | Set-AzServiceFabricManagedClusterApplicationTypeVersion -Tags $tags -Verbose
106+
$appTypeVersion = $appTypeVersionFromGet | Set-AzServiceFabricManagedClusterApplicationTypeVersion -Tag $tags -Verbose
107107
Assert-AreEqual "Succeeded" $appTypeVersion.ProvisioningState
108108

109109
$appTypeVersionFromGet = Get-AzServiceFabricManagedClusterApplicationTypeVersion -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appTypeName -Version $v1

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ApplicationTypeVersions/GetAzServiceFabricManagedClusterApplicationTypeVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Management.Automation;
1818
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1919
using Microsoft.Azure.Commands.ServiceFabric.Common;
20-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
20+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222

2323
namespace Microsoft.Azure.Commands.ServiceFabric.Commands

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ApplicationTypeVersions/NewAzServiceFabricManagedClusterApplicationTypeVersion.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Management.Automation;
1818
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1919
using Microsoft.Azure.Commands.ServiceFabric.Common;
20-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
20+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;
2323

@@ -57,7 +57,7 @@ public class NewAzServiceFabricManagedClustersApplicationTypeVersion : ManagedAp
5757
public string PackageUrl { get; set; }
5858

5959
[Parameter(Mandatory = false, ValueFromPipeline = true, HelpMessage = "Specify the tags as key/value pairs.")]
60-
public Hashtable Tags { get; set; }
60+
public Hashtable Tag { get; set; }
6161

6262
[Parameter(Mandatory = false, HelpMessage = "Continue without prompts")]
6363
public SwitchParameter Force { get; set; }
@@ -87,7 +87,7 @@ public override void ExecuteCmdlet()
8787
location: cluster.Location,
8888
packageUrl: this.PackageUrl,
8989
force: this.Force.IsPresent,
90-
tags: this.Tags);
90+
tags: this.Tag);
9191
WriteObject(new PSManagedApplicationTypeVersion(managedAppTypeVersion), false);
9292
}
9393
}

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ApplicationTypeVersions/RemoveAzServiceFabricManagedClusterApplicationTypeVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020

2121
namespace Microsoft.Azure.Commands.ServiceFabric.Commands
2222
{

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ApplicationTypeVersions/SetAzServiceFabricManagedClusterApplicationTypeVersion.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2020
using Microsoft.Azure.Commands.ServiceFabric.Common;
21-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
21+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2323
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;
2424
using Microsoft.WindowsAzure.Commands.Utilities.Common;
@@ -69,7 +69,7 @@ public class SetAzServiceFabricManagedClustersApplicationTypeVersion : ManagedAp
6969
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ByResourceGroup, HelpMessage = "Specify the tags as key/value pairs.")]
7070
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ByResourceId, HelpMessage = "Specify the tags as key/value pairs.")]
7171
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ByInputObject, HelpMessage = "Specify the tags as key/value pairs.")]
72-
public Hashtable Tags { get; set; }
72+
public Hashtable Tag { get; set; }
7373

7474
[Parameter(Mandatory = true, ParameterSetName = ByResourceId, ValueFromPipelineByPropertyName = true,
7575
HelpMessage = "Arm ResourceId of the managed application type version.")]
@@ -154,9 +154,9 @@ private ApplicationTypeVersionResource GetUpdatedAppTypeVersionParams(Applicatio
154154
{
155155
currentAppTypeVersion.AppPackageUrl = this.PackageUrl;
156156
}
157-
if (this.IsParameterBound(c => c.Tags))
157+
if (this.IsParameterBound(c => c.Tag))
158158
{
159-
currentAppTypeVersion.Tags = this.Tags?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string);
159+
currentAppTypeVersion.Tags = this.Tag?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string);
160160
}
161161

162162
return currentAppTypeVersion;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ApplicationTypes/GetAzServiceFabricManagedClusterApplicationType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Management.Automation;
1818
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1919
using Microsoft.Azure.Commands.ServiceFabric.Common;
20-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
20+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222

2323
namespace Microsoft.Azure.Commands.ServiceFabric.Commands

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ApplicationTypes/NewAzServiceFabricManagedClusterApplicationType.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1616
using Microsoft.Azure.Commands.ServiceFabric.Common;
17-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
17+
using Microsoft.Azure.Commands.ServiceFabric.Models;
1818
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
1919
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;
2020
using System;
@@ -46,7 +46,7 @@ public class NewAzServiceFabricManagedClusterApplicationType : ManagedApplicatio
4646
public string Name { get; set; }
4747

4848
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Specify the tags as key/value pairs.")]
49-
public Hashtable Tags { get; set; }
49+
public Hashtable Tag { get; set; }
5050
#endregion
5151

5252
public override void ExecuteCmdlet()
@@ -63,7 +63,7 @@ public override void ExecuteCmdlet()
6363
}
6464
else
6565
{
66-
var appType = CreateManagedApplicationType(this.Name, cluster.Location, this.Tags);
66+
var appType = CreateManagedApplicationType(this.Name, cluster.Location, this.Tag);
6767
WriteObject(new PSManagedApplicationType(appType), false);
6868
}
6969
}

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ApplicationTypes/RemoveAzServiceFabricManagedClusterApplicationType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2121

2222
namespace Microsoft.Azure.Commands.ServiceFabric.Commands

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ApplicationTypes/SetAzServiceFabricManagedClusterApplicationType.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Management.Automation;
1818
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1919
using Microsoft.Azure.Commands.ServiceFabric.Common;
20-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
20+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;
2323
using Microsoft.WindowsAzure.Commands.Utilities.Common;
@@ -53,7 +53,7 @@ public class SetAzServiceFabricManagedClusterApplicationType : ManagedApplicatio
5353
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ByResourceGroup, HelpMessage = "Specify the tags as key/value pairs.")]
5454
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ByInputObject, HelpMessage = "Specify the tags as key/value pairs.")]
5555
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ByResourceId, HelpMessage = "Specify the tags as key/value pairs.")]
56-
public Hashtable Tags { get; set; }
56+
public Hashtable Tag { get; set; }
5757

5858
[Parameter(Mandatory = true, ParameterSetName = ByResourceId, ValueFromPipelineByPropertyName = true,
5959
HelpMessage = "Arm ResourceId of the managed application type.")]
@@ -130,8 +130,8 @@ private ApplicationTypeResource GetUpdatedAppTypeParams(ApplicationTypeResource
130130
}
131131

132132

133-
if (this.IsParameterBound(c => c.Tags)) {
134-
currentAppType.Tags = this.Tags?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string);
133+
if (this.IsParameterBound(c => c.Tag)) {
134+
currentAppType.Tags = this.Tag?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string);
135135
}
136136

137137
return currentAppType;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/Applications/GetAzServiceFabricManagedClusterApplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Management.Automation;
1818
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1919
using Microsoft.Azure.Commands.ServiceFabric.Common;
20-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
20+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222

2323
namespace Microsoft.Azure.Commands.ServiceFabric.Commands

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/Applications/NewAzServiceFabricManagedClusterApplication.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Management.Automation;
1919
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2020
using Microsoft.Azure.Commands.ServiceFabric.Common;
21-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
21+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2323
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;
2424

@@ -85,7 +85,7 @@ public class NewAzServiceFabricManagedClusterApplication : ManagedApplicationCmd
8585

8686
[Parameter(Mandatory = false, ValueFromPipeline = true, ParameterSetName = SkipAppTypeVersion, HelpMessage = "Specify the tags as key/value pairs.")]
8787
[Parameter(Mandatory = false, ValueFromPipeline = true, ParameterSetName = CreateAppTypeVersion, HelpMessage = "Specify the tags as key/value pairs.")]
88-
public Hashtable Tags { get; set; }
88+
public Hashtable Tag { get; set; }
8989

9090
[Parameter(Mandatory = false, HelpMessage = "Continue without prompts")]
9191
public SwitchParameter Force { get; set; }
@@ -168,7 +168,7 @@ private ApplicationResource GetNewAppParameters(string location)
168168
version: this.GetAppTypeArmResourceId(this.DefaultContext.Subscription.Id, this.ResourceGroupName, this.ClusterName, this.ApplicationTypeName, this.ApplicationTypeVersion),
169169
parameters: this.ApplicationParameter?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string),
170170
location: location,
171-
tags: this.Tags?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string));
171+
tags: this.Tag?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string));
172172
}
173173

174174
private string GetAppTypeArmResourceId(string subscriptionId, string resourceGroup, string clusterName, string appTypeName, string appTypeVersion)

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/Applications/RemoveAzServiceFabricManagedClusterApplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020

2121
namespace Microsoft.Azure.Commands.ServiceFabric.Commands
2222
{

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/Applications/SetAzServiceFabricManagedClusterApplication.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using System.Management.Automation;
2020
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
2121
using Microsoft.Azure.Commands.ServiceFabric.Common;
22-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
22+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2323
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2424
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;
2525
using Microsoft.WindowsAzure.Commands.Utilities.Common;
@@ -124,7 +124,7 @@ public class SetAzServiceFabricManagedClusterApplication : ManagedApplicationCmd
124124
HelpMessage = "The mode used to monitor health during a rolling upgrade. The values are Monitored, and UnmonitoredAuto.")]
125125
[Parameter(Mandatory = false, ParameterSetName = ByInputObject,
126126
HelpMessage = "The mode used to monitor health during a rolling upgrade. The values are Monitored, and UnmonitoredAuto.")]
127-
public UpgradeMode UpgradeMode { get; set; }
127+
public ApplicationUpgradeMode UpgradeMode { get; set; }
128128

129129
#region RollingUpgradeMonitoringPolicy
130130

@@ -242,7 +242,7 @@ public class SetAzServiceFabricManagedClusterApplication : ManagedApplicationCmd
242242
#endregion
243243

244244
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Specify the tags as key/value pairs.")]
245-
public Hashtable Tags { get; set; }
245+
public Hashtable Tag { get; set; }
246246

247247
[Parameter(Mandatory = true, ParameterSetName = ByResourceId, ValueFromPipelineByPropertyName = true,
248248
HelpMessage = "Arm ResourceId of the managed application.")]
@@ -332,9 +332,9 @@ private ApplicationResource GetUpdatedAppParams(ApplicationResource inputObject
332332
currentApp.Parameters = this.ApplicationParameter?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string);
333333
}
334334

335-
if (this.IsParameterBound(c => c.Tags))
335+
if (this.IsParameterBound(c => c.Tag))
336336
{
337-
currentApp.Tags = this.Tags?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string);
337+
currentApp.Tags = this.Tag?.Cast<DictionaryEntry>().ToDictionary(d => d.Key as string, d => d.Value as string);
338338
}
339339

340340
currentApp.UpgradePolicy = SetUpgradePolicy(currentApp.UpgradePolicy);

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ManagedClusters/AddAzServiceFabricManagedClusterClientCertificate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020
using Microsoft.Azure.Management.Internal.Resources;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ManagedClusters/GetAzServiceFabricManagedCluster.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020
using Microsoft.Azure.Management.Internal.Resources;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ManagedClusters/NewAzServiceFabricManagedCluster.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Security;
1818
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1919
using Microsoft.Azure.Commands.ServiceFabric.Common;
20-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
20+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2121
using Microsoft.Azure.Management.Internal.Resources;
2222
using Microsoft.Azure.Management.Internal.Resources.Models;
2323
using Microsoft.Azure.Management.ServiceFabricManagedClusters;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ManagedClusters/RemoveAzServiceFabricManagedCluster.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System.Management.Automation;
1616
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1717
using Microsoft.Azure.Commands.ServiceFabric.Common;
18-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
18+
using Microsoft.Azure.Commands.ServiceFabric.Models;
1919

2020
namespace Microsoft.Azure.Commands.ServiceFabric.Commands
2121
{

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ManagedClusters/RemoveAzServiceFabricManagedClusterClientCertificate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020
using Microsoft.Azure.Management.Internal.Resources;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/ManagedClusters/SetAzServiceFabricManagedCluster.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System.Management.Automation;
1616
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1717
using Microsoft.Azure.Commands.ServiceFabric.Common;
18-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
18+
using Microsoft.Azure.Commands.ServiceFabric.Models;
1919
using Microsoft.Azure.Management.Internal.Resources;
2020
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/AddAzServiceFabricManagedNodeTypeVMExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020
using Microsoft.Azure.Management.Internal.Resources;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/AddAzServiceFabricManagedNodeTypeVMSecret.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Management.Automation;
1818
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1919
using Microsoft.Azure.Commands.ServiceFabric.Common;
20-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
20+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2121
using Microsoft.Azure.Management.Internal.Resources;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2323
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/GetAzServiceFabricManagedNodeType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020
using Microsoft.Azure.Management.Internal.Resources;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/NewAzServiceFabricManagedNodeType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Management.Automation;
1818
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1919
using Microsoft.Azure.Commands.ServiceFabric.Common;
20-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
20+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2121
using Microsoft.Azure.Management.Internal.Resources;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2323
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/RemoveAzServiceFabricManagedNodeType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System.Management.Automation;
1616
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1717
using Microsoft.Azure.Commands.ServiceFabric.Common;
18-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
18+
using Microsoft.Azure.Commands.ServiceFabric.Models;
1919
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;
2020

2121
namespace Microsoft.Azure.Commands.ServiceFabric.Commands

src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/RemoveAzServiceFabricManagedNodeTypeVMExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System.Management.Automation;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Commands.ServiceFabric.Common;
19-
using Microsoft.Azure.Commands.ServiceFabric.Models.ManagedClusters;
19+
using Microsoft.Azure.Commands.ServiceFabric.Models;
2020
using Microsoft.Azure.Management.Internal.Resources;
2121
using Microsoft.Azure.Management.ServiceFabricManagedClusters;
2222
using Microsoft.Azure.Management.ServiceFabricManagedClusters.Models;

0 commit comments

Comments
 (0)