Skip to content

Commit 7bb5b37

Browse files
ogailogail
authored andcommitted
Rename AzurePSCMdlet to AzureSMCmdlet
1 parent 05d1c9a commit 7bb5b37

File tree

128 files changed

+153
-178
lines changed

Some content is hidden

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

128 files changed

+153
-178
lines changed

src/Common/Commands.Common/AzurePSCmdlet.cs renamed to src/Common/Commands.Common/AzureSMCmdlet.cs

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

2626
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
2727
{
28-
public abstract class AzurePSCmdlet : PSCmdlet
28+
public abstract class AzureSMCmdlet : PSCmdlet
2929
{
3030
private readonly ConcurrentQueue<string> _debugMessages = new ConcurrentQueue<string>();
3131
private RecordingTracingInterceptor _httpTracingInterceptor;
@@ -63,7 +63,7 @@ private get
6363

6464
protected static TokenCache DefaultMemoryTokenCache { get; set; }
6565

66-
static AzurePSCmdlet()
66+
static AzureSMCmdlet()
6767
{
6868
if (!TestMockSupport.RunningMocked)
6969
{
@@ -182,7 +182,7 @@ protected virtual void InitializeProfile()
182182
{
183183
if (Profile == null)
184184
{
185-
Profile = AzurePSCmdlet.CurrentProfile;
185+
Profile = AzureSMCmdlet.CurrentProfile;
186186
}
187187

188188
SetTokenCacheForProfile(Profile);

src/Common/Commands.Common/CloudBaseCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
namespace Microsoft.WindowsAzure.Commands.Utilities.Common
2929
{
30-
public abstract class CloudBaseCmdlet<T> : AzurePSCmdlet
30+
public abstract class CloudBaseCmdlet<T> : AzureSMCmdlet
3131
where T : class
3232
{
3333
private Binding _serviceBinding;

src/Common/Commands.Common/CmdletExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static void InvokeEndProcessing(this PSCmdlet cmdlt)
123123
MethodInfo dynMethod = (typeof(PSCmdlet)).GetMethod("EndProcessing", BindingFlags.NonPublic | BindingFlags.Instance);
124124
dynMethod.Invoke(cmdlt, null);
125125
}
126-
public static void ExecuteWithProcessing(this AzurePSCmdlet cmdlt)
126+
public static void ExecuteWithProcessing(this AzureSMCmdlet cmdlt)
127127
{
128128
cmdlt.InvokeBeginProcessing();
129129
cmdlt.ExecuteCmdlet();

src/Common/Commands.Common/Commands.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
<Compile Include="ChannelHelper.cs" />
162162
<Compile Include="ClientCreatedArgs.cs" />
163163
<Compile Include="CloudBaseCmdlet.cs" />
164-
<Compile Include="AzurePSCmdlet.cs" />
164+
<Compile Include="AzureSMCmdlet.cs" />
165165
<Compile Include="CmdletExtensions.cs" />
166166
<Compile Include="ConfigurationConstants.cs" />
167167
<Compile Include="DiagnosticsHelper.cs" />

src/Common/Commands.Common/SubscriptionCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Profile
2222
/// azure subscription, provides common support
2323
/// for the SubscriptionDataFile parameter.
2424
/// </summary>
25-
public abstract class SubscriptionCmdletBase : AzurePSCmdlet
25+
public abstract class SubscriptionCmdletBase : AzureSMCmdlet
2626
{
2727
private readonly bool _saveProfile;
2828

src/Common/Commands.Profile/Profile/NewAzureProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace Microsoft.WindowsAzure.Commands.Profile
3333
/// Creates new Microsoft Azure profile.
3434
/// </summary>
3535
[Cmdlet(VerbsCommon.New, "AzureProfile"), OutputType(typeof(AzureSMProfile))]
36-
public class NewAzureProfileCommand : AzurePSCmdlet
36+
public class NewAzureProfileCommand : AzureSMCmdlet
3737
{
3838
internal const string CertificateParameterSet = "Certificate";
3939
internal const string CredentialsParameterSet = "Credentials";

src/Common/Commands.Profile/Profile/SelectAzureProfile.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace Microsoft.WindowsAzure.Commands.Profile
3333
/// Creates new Microsoft Azure profile.
3434
/// </summary>
3535
[Cmdlet(VerbsCommon.Select, "AzureProfile"), OutputType(typeof(AzureSMProfile))]
36-
public class SelectAzureProfileCommand : AzurePSCmdlet
36+
public class SelectAzureProfileCommand : AzureSMCmdlet
3737
{
3838
internal const string NewProfileParameterSet = "NewProfile";
3939
internal const string DefaultProfileParameterSet = "DefaultProfile";
@@ -54,15 +54,15 @@ public override void ExecuteCmdlet()
5454
{
5555
if (ParameterSetName == DefaultProfileParameterSet)
5656
{
57-
Profile = AzurePSCmdlet.InitializeDefaultProfile();
57+
Profile = AzureSMCmdlet.InitializeDefaultProfile();
5858
}
5959

6060
if (Profile == null)
6161
{
6262
throw new ArgumentException(Resources.AzureProfileMustNotBeNull);
6363
}
6464

65-
AzurePSCmdlet.CurrentProfile = Profile;
65+
AzureSMCmdlet.CurrentProfile = Profile;
6666
WriteObject(Profile);
6767
}
6868
}

src/Common/Commands.Profile/SwitchAzureMode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.WindowsAzure.Commands.Profile
2424
/// Switches between ServiceManagement and ResourceManager modes.
2525
/// </summary>
2626
[Cmdlet(VerbsCommon.Switch, "AzureMode")]
27-
public class SwitchAzureMode : AzurePSCmdlet
27+
public class SwitchAzureMode : AzureSMCmdlet
2828
{
2929
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Name of the mode to switch to. Valid values are AzureServiceManagement and AzureResourceManager")]
3030
[ValidateSet("AzureServiceManagement", "AzureResourceManager", IgnoreCase = false)]

src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public EnvironmentSetupHelper()
5151
var datastore = new MemoryDataStore();
5252
AzureSession.DataStore = datastore;
5353
var profile = new AzureSMProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile));
54-
AzurePSCmdlet.CurrentProfile = profile;
54+
AzureSMCmdlet.CurrentProfile = profile;
5555
AzureSession.DataStore = datastore;
5656
ProfileClient = new ProfileClient(profile);
5757

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AzureApiManagementCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
2020
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement;
2121
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2222

23-
abstract public class AzureApiManagementCmdletBase : AzurePSCmdlet
23+
abstract public class AzureApiManagementCmdletBase : AzureSMCmdlet
2424
{
2525
protected static TimeSpan LongRunningOperationDefaultTimeout = TimeSpan.FromMinutes(1);
2626

src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/AzureApiManagementCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
2222
using Microsoft.Azure.Commands.ApiManagement.Properties;
2323
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2424

25-
public class AzureApiManagementCmdletBase : AzurePSCmdlet
25+
public class AzureApiManagementCmdletBase : AzureSMCmdlet
2626
{
2727
protected static TimeSpan LongRunningOperationDefaultTimeout = TimeSpan.FromMinutes(1);
2828

src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementHostnameConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
1919
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2020

2121
[Cmdlet(VerbsCommon.New, "AzureApiManagementHostnameConfiguration"), OutputType(typeof (PsApiManagementHostnameConfiguration))]
22-
public class NewAzureApiManagementHostnameConfiguration : AzurePSCmdlet
22+
public class NewAzureApiManagementHostnameConfiguration : AzureSMCmdlet
2323
{
2424
[Parameter(
2525
ValueFromPipelineByPropertyName = false,

src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.Commands
2121
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2222

2323
[Cmdlet(VerbsCommon.New, "AzureApiManagementVirtualNetwork"), OutputType(typeof(PsApiManagementVirtualNetwork))]
24-
public class NewAzureApiManagementVirtualNetwork : AzurePSCmdlet
24+
public class NewAzureApiManagementVirtualNetwork : AzureSMCmdlet
2525
{
2626
[Parameter(
2727
ValueFromPipelineByPropertyName = false,

src/ResourceManager/Automation/Commands.Automation/Cmdlet/AzureAutomationBaseCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
3232
/// <summary>
3333
/// The azure automation base cmdlet.
3434
/// </summary>
35-
public abstract class AzureAutomationBaseCmdlet : AzurePSCmdlet
35+
public abstract class AzureAutomationBaseCmdlet : AzureSMCmdlet
3636
{
3737
/// <summary>
3838
/// The automation client.

src/ResourceManager/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
2626
/// </summary>
2727
[Cmdlet(VerbsCommon.Get, "AzureAutomationAccount", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)]
2828
[OutputType(typeof(AutomationAccount))]
29-
public class GetAzureAutomationAccount : AzurePSCmdlet
29+
public class GetAzureAutomationAccount : AzureSMCmdlet
3030
{
3131
/// <summary>
3232
/// The automation client.

src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
2828
/// </summary>
2929
[Cmdlet(VerbsCommon.New, "AzureAutomationAccount")]
3030
[OutputType(typeof(AutomationAccount))]
31-
public class NewAzureAutomationAccount : AzurePSCmdlet
31+
public class NewAzureAutomationAccount : AzureSMCmdlet
3232
{
3333
/// <summary>
3434
/// The automation client.

src/ResourceManager/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
2727
/// </summary>
2828
[Cmdlet(VerbsCommon.Remove, "AzureAutomationAccount")]
2929
[OutputType(typeof(AutomationAccount))]
30-
public class RemoveAzureAutomationAccount : AzurePSCmdlet
30+
public class RemoveAzureAutomationAccount : AzureSMCmdlet
3131
{
3232
/// <summary>
3333
/// The automation client.

src/ResourceManager/Automation/Commands.Automation/Cmdlet/SetAzureAutomationAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
2828
/// </summary>
2929
[Cmdlet(VerbsCommon.Set, "AzureAutomationAccount")]
3030
[OutputType(typeof(AutomationAccount))]
31-
public class SetAzureAutomationAccount : AzurePSCmdlet
31+
public class SetAzureAutomationAccount : AzureSMCmdlet
3232
{
3333
/// <summary>
3434
/// The automation client.

src/ResourceManager/AzureBackup/Commands.AzureBackup/AzureBackupCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
3333
{
34-
public abstract class AzureBackupCmdletBase : AzurePSCmdlet
34+
public abstract class AzureBackupCmdletBase : AzureSMCmdlet
3535
{
3636
/// <summary>
3737
/// Azure backup client.

src/ResourceManager/AzureBatch/Commands.Batch/BatchCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
namespace Microsoft.Azure.Commands.Batch
2727
{
28-
public class BatchCmdletBase : AzurePSCmdlet
28+
public class BatchCmdletBase : AzureSMCmdlet
2929
{
3030
private BatchClient batchClient;
3131

src/ResourceManager/Commerce/Commands.UsageAggregates/GetUsageAggregatesCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.UsageAggregates
2525
using System.Management.Automation;
2626

2727
[Cmdlet(VerbsCommon.Get, "UsageAggregates"), OutputType(typeof(UsageAggregationGetResponse))]
28-
public class GetUsageAggregatesCommand : AzurePSCmdlet
28+
public class GetUsageAggregatesCommand : AzureSMCmdlet
2929
{
3030
private UsageAggregationManagementClient _theClient;
3131
private AggregationGranularity _aggregationGranularity = AggregationGranularity.Daily;

src/ResourceManager/Compute/Commands.Compute/Common/ComputeClientBaseCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
namespace Microsoft.Azure.Commands.Compute
2121
{
22-
public abstract class ComputeClientBaseCmdlet : AzurePSCmdlet
22+
public abstract class ComputeClientBaseCmdlet : AzureSMCmdlet
2323
{
2424
protected const string VirtualMachineExtensionType = "Microsoft.Compute/virtualMachines/extensions";
2525

src/ResourceManager/Compute/Commands.Compute/Extension/DSC/DscExtensionCmdletCommonBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static class DscExtensionCmdletCommonBase
1212
{
1313
private static StorageManagementClientWrapper _storageClientWrapper;
1414

15-
private static IStorageManagementClient GetStorageClient(this AzurePSCmdlet cmdlet)
15+
private static IStorageManagementClient GetStorageClient(this AzureSMCmdlet cmdlet)
1616
{
1717
if (_storageClientWrapper == null)
1818
{
@@ -22,7 +22,7 @@ private static IStorageManagementClient GetStorageClient(this AzurePSCmdlet cmdl
2222
return _storageClientWrapper.StorageManagementClient;
2323
}
2424

25-
internal static StorageCredentials GetStorageCredentials(this AzurePSCmdlet cmdlet, String resourceGroupName, String storageAccountName)
25+
internal static StorageCredentials GetStorageCredentials(this AzureSMCmdlet cmdlet, String resourceGroupName, String storageAccountName)
2626
{
2727
StorageCredentials credentials = null;
2828
var storageClient = GetStorageClient(cmdlet);
@@ -57,7 +57,7 @@ internal static StorageCredentials GetStorageCredentials(this AzurePSCmdlet cmdl
5757
return credentials;
5858
}
5959

60-
internal static void ThrowInvalidArgumentError(this AzurePSCmdlet cmdlet, string format, params object[] args)
60+
internal static void ThrowInvalidArgumentError(this AzureSMCmdlet cmdlet, string format, params object[] args)
6161
{
6262
cmdlet.ThrowTerminatingError(
6363
new ErrorRecord(

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMAdditionalUnattendContentCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.Compute
3030
ProfileNouns.AdditionalUnattendContent),
3131
OutputType(
3232
typeof(PSVirtualMachine))]
33-
public class NewAzureAdditionalUnattendContentCommand : AzurePSCmdlet
33+
public class NewAzureAdditionalUnattendContentCommand : AzureSMCmdlet
3434
{
3535
private const string defaultComponentName = "Microsoft-Windows-Shell-Setup";
3636
private const string defaultPassName = "oobeSystem";

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMDataDiskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Compute
2626
ProfileNouns.DataDisk),
2727
OutputType(
2828
typeof(PSVirtualMachine))]
29-
public class AddAzureVMDataDiskCommand : AzurePSCmdlet
29+
public class AddAzureVMDataDiskCommand : AzureSMCmdlet
3030
{
3131
[Alias("VMProfile")]
3232
[Parameter(

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMNetworkInterfaceCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Microsoft.Azure.Commands.Compute
3232
DefaultParameterSetName = NicIdParamSetName),
3333
OutputType(
3434
typeof(PSVirtualMachine))]
35-
public class AddAzureVMNetworkInterfaceCommand : AzurePSCmdlet
35+
public class AddAzureVMNetworkInterfaceCommand : AzureSMCmdlet
3636
{
3737
protected const string NicIdParamSetName = "GetNicFromNicId";
3838
protected const string NicObjectParamSetName = "GetNicFromNicObject";

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMSecretCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.Compute
3030
ProfileNouns.VaultSecretGroup),
3131
OutputType(
3232
typeof(PSVirtualMachine))]
33-
public class NewAzureVaultSecretGroupCommand : AzurePSCmdlet
33+
public class NewAzureVaultSecretGroupCommand : AzureSMCmdlet
3434
{
3535
[Alias("VMProfile")]
3636
[Parameter(

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMSshPublicKeyCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.Compute
3030
ProfileNouns.SshPublicKey),
3131
OutputType(
3232
typeof(PSVirtualMachine))]
33-
public class NewAzureSshPublicKeyCommand : AzurePSCmdlet
33+
public class NewAzureSshPublicKeyCommand : AzureSMCmdlet
3434
{
3535
[Alias("VMProfile")]
3636
[Parameter(

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/NewAzureVMConfigCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Compute
2525
ProfileNouns.VirtualMachineConfig),
2626
OutputType(
2727
typeof(PSVirtualMachine))]
28-
public class NewAzureVMConfigCommand : AzurePSCmdlet
28+
public class NewAzureVMConfigCommand : AzureSMCmdlet
2929
{
3030
[Alias("ResourceName", "Name")]
3131
[Parameter(

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMDataDiskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Compute
2626
ProfileNouns.DataDisk),
2727
OutputType(
2828
typeof(PSVirtualMachine))]
29-
public class RemoveAzureVMDataDiskCommand : AzurePSCmdlet
29+
public class RemoveAzureVMDataDiskCommand : AzureSMCmdlet
3030
{
3131
[Alias("VMProfile")]
3232
[Parameter(

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMNetworkInterfaceCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.Compute
2929
ProfileNouns.NetworkInterface),
3030
OutputType(
3131
typeof(PSVirtualMachine))]
32-
public class RemoveAzureVMNetworkInterfaceCommand : AzurePSCmdlet
32+
public class RemoveAzureVMNetworkInterfaceCommand : AzureSMCmdlet
3333
{
3434
[Alias("VMProfile")]
3535
[Parameter(

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMDataDiskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.Compute
2929
ProfileNouns.DataDisk),
3030
OutputType(
3131
typeof(PSVirtualMachine))]
32-
public class SetAzureVMDataDiskCommand : AzurePSCmdlet
32+
public class SetAzureVMDataDiskCommand : AzureSMCmdlet
3333
{
3434
private const string NameParameterSet = "ChangeWithName";
3535
private const string LunParameterSet = "ChangeWithLun";

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMOSDiskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Compute
2828
DefaultParameterSetName = WindowsParamSet),
2929
OutputType(
3030
typeof(PSVirtualMachine))]
31-
public class SetAzureVMOSDiskCommand : AzurePSCmdlet
31+
public class SetAzureVMOSDiskCommand : AzureSMCmdlet
3232
{
3333
protected const string WindowsParamSet = "WindowsParamSet";
3434
protected const string LinuxParamSet = "LinuxParamSet";

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMOperatingSystemCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace Microsoft.Azure.Commands.Compute
3333
DefaultParameterSetName = WindowsParamSet),
3434
OutputType(
3535
typeof(PSVirtualMachine))]
36-
public class SetAzureVMOperatingSystemCommand : AzurePSCmdlet
36+
public class SetAzureVMOperatingSystemCommand : AzureSMCmdlet
3737
{
3838
protected const string WindowsParamSet = "Windows";
3939
protected const string LinuxParamSet = "Linux";

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/SetAzureVMSourceImage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Compute
2424
{
2525
[Cmdlet(VerbsCommon.Set, ProfileNouns.SourceImage, DefaultParameterSetName = ImageReferenceParameterSet),
2626
OutputType(typeof(PSVirtualMachine))]
27-
public class SetAzureVMSourceImageCommand : AzurePSCmdlet
27+
public class SetAzureVMSourceImageCommand : AzureSMCmdlet
2828
{
2929
protected const string ImageReferenceParameterSet = "ImageReferenceParameterSet";
3030

src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
namespace Microsoft.Azure.Commands.DataFactories
2424
{
25-
public abstract class DataFactoryBaseCmdlet : AzurePSCmdlet
25+
public abstract class DataFactoryBaseCmdlet : AzureSMCmdlet
2626
{
2727
private DataFactoryClient dataFactoryClient;
2828

src/ResourceManager/Dns/Commands.Dns/Models/DnsBaseCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
namespace Microsoft.Azure.Commands.Dns.Models
1818
{
19-
public abstract class DnsBaseCmdlet : AzurePSCmdlet
19+
public abstract class DnsBaseCmdlet : AzureSMCmdlet
2020
{
2121
private DnsClient dnsClient;
2222

src/ResourceManager/HDInsight/Commands.HDInsight/HDInsightCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace Microsoft.Azure.Commands.HDInsight.Commands
2222
{
23-
public class HDInsightCmdletBase : AzurePSCmdlet
23+
public class HDInsightCmdletBase : AzureSMCmdlet
2424
{
2525
private AzureHdInsightManagementClient _hdInsightManagementClient;
2626
private AzureHdInsightJobManagementClient _hdInsightJobClient;

0 commit comments

Comments
 (0)