From 6c053fb8e74b9943517225eb276846e956e11114 Mon Sep 17 00:00:00 2001 From: Raj Kamal Singh Date: Mon, 2 Mar 2015 15:46:20 +0530 Subject: [PATCH] Add PR suggestion fixes --- .../Cmdlets/DeviceJobs/GetAzureStorSimpleJob.cs | 2 ++ .../Commands.StorSimple/Properties/Resources.Designer.cs | 4 ++-- .../StorSimple/Commands.StorSimple/Properties/Resources.resx | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DeviceJobs/GetAzureStorSimpleJob.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DeviceJobs/GetAzureStorSimpleJob.cs index 7a9791cc72bb..319f2c56e14e 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DeviceJobs/GetAzureStorSimpleJob.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DeviceJobs/GetAzureStorSimpleJob.cs @@ -38,6 +38,7 @@ public class GetAzureStorSimpleJob : StorSimpleCmdletBase /// [Parameter(Mandatory = true, Position = 0, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByDeviceName, HelpMessage=StorSimpleCmdletHelpMessage.DeviceName)] + [ValidateNotNullOrEmpty] public string DeviceName { get; set; } @@ -46,6 +47,7 @@ public class GetAzureStorSimpleJob : StorSimpleCmdletBase /// [Parameter(Mandatory=true, Position = 0, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById, HelpMessage = StorSimpleCmdletHelpMessage.DeviceJobId)] + [ValidateNotNullOrEmpty] public string InstanceId { get; set; } /// diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs index 744c6b2b2dc8..4704743e24bf 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs @@ -223,7 +223,7 @@ internal static string DeviceJobsNextPageFormatMessage { } /// - /// Looks up a localized string similar to More jobs are available in the subsequent pages for your query. To access the next page use \"-Skip {0}\" in your commandlet. + /// Looks up a localized string similar to More jobs are available in the subsequent pages for your query. To access the next page use -Skip {0} in your commandlet. /// internal static string DeviceJobsNextPagewithNoFirstMessage { get { @@ -1186,7 +1186,7 @@ internal static string SuccessMessageSetResourceContext { } /// - /// Looks up a localized string similar to The {0} job is triggered successfully. Please use the command Get-AzureStorSimpleJob -JobId {1} for tracking the job's status. + /// Looks up a localized string similar to The {0} job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId {1} for tracking the job's status. /// internal static string SuccessMessageSubmitDeviceJob { get { diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx index a8b552efa535..b9d8d1b05fce 100644 --- a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx @@ -433,7 +433,7 @@ More jobs are available for your query. To access the next page of your result use -First {0} -Skip {1} in your commandlet - More jobs are available in the subsequent pages for your query. To access the next page use \"-Skip {0}\" in your commandlet + More jobs are available in the subsequent pages for your query. To access the next page use -Skip {0} in your commandlet No more jobs are present for your query! @@ -490,7 +490,7 @@ Volume Container Group \"{0}\" is not eligible for failover due to the reason: {1} - The {0} job is triggered successfully. Please use the command Get-AzureStorSimpleJob -JobId {1} for tracking the job's status + The {0} job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId {1} for tracking the job's status Cloning backup with backupId {0}...