Skip to content

Commit fbd87bd

Browse files
Remove-AAConnectionType cmdlet and Optional RunbookName- addressed commets
1 parent aee2f5a commit fbd87bd

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class ImportAzureAutomationRunbook : AzureAutomationBaseCmdlet
4646
/// <summary>
4747
/// Gets or sets the runbook name
4848
/// </summary>
49-
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")]
49+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the runbook to import, if different from the file name. Not supported for PowerShell Workflow runbooks.")]
5050
[Alias("RunbookName")]
5151
public string Name { get; set; }
5252

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@
2222
namespace Microsoft.Azure.Commands.Automation.Cmdlet
2323
{
2424
/// <summary>
25-
/// Removes a ConnectionType for automation.
25+
/// Removes a Connection type for automation.
2626
/// </summary>
2727
[Cmdlet(VerbsCommon.Remove, "AzureAutomationConnectionType", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
2828
public class RemoveAzureAutomationConnectionType : AzureAutomationBaseCmdlet
2929
{
3030
/// <summary>
3131
/// Gets or sets the connection name.
3232
/// </summary>
33-
[Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connectiontype name.")]
33+
[Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection type name.")]
3434
[ValidateNotNullOrEmpty]
3535
public string Name { get; set; }
3636

37-
[Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 3, HelpMessage = "Confirm the removal of the connectiontype")]
37+
[Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 3, HelpMessage = "Confirm the removal of the connection type")]
3838
public SwitchParameter Force { get; set; }
3939

4040
/// <summary>

src/ResourceManager/Automation/Commands.Automation/Properties/Resources.Designer.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ResourceManager/Automation/Commands.Automation/Properties/Resources.resx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,14 +404,14 @@
404404
<comment>Automation</comment>
405405
</data>
406406
<data name="FileNameRunbookNameMismatch" xml:space="preserve">
407-
<value>FileName and RunbookName should be same for PowerShellWorkflow runbook type.</value>
407+
<value>File name and runbook name must be the same for PowerShell Workflow runbooks.</value>
408408
<comment>Automation</comment>
409409
</data>
410410
<data name="ConnectionTypeNotFound" xml:space="preserve">
411-
<value>The connectiontype was not found. ConnectionType name: {0}.</value>
411+
<value>The connection type was not found. ConnectionType name: {0}.</value>
412412
</data>
413413
<data name="RemoveConnectionTypeThatHasConnectionWarning" xml:space="preserve">
414-
<value>This connectiontype has connections associated with it. If you delete this connectiontype, all connections associated with it will be unusable and should be removed, unless you create a new connectiontype with the same name that has the same field definitions as the deleted connectiontype. However, it can have additional fields as well. Are you sure you want to remove the Azure Automation {0} ?</value>
414+
<value>This connection type has connections associated with it. If you delete this connection type, all connections associated with it will be unusable and should be removed, unless you create a new connection type with the same name that has the same field definitions as the deleted connection type. However, it can have additional fields as well. Are you sure you want to remove the Azure Automation {0} ?</value>
415415
<comment>Automation</comment>
416416
</data>
417417
</root>

src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnectionType.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@
2222
namespace Microsoft.Azure.Commands.Automation.Cmdlet
2323
{
2424
/// <summary>
25-
/// Removes a ConnectionType for automation.
25+
/// Removes a Connection type for automation.
2626
/// </summary>
2727
[Cmdlet(VerbsCommon.Remove, "AzureAutomationConnectionType", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)]
2828
public class RemoveAzureAutomationConnectionType : AzureAutomationBaseCmdlet
2929
{
3030
/// <summary>
31-
/// Gets or sets the connection name.
31+
/// Gets or sets the connection type name.
3232
/// </summary>
33-
[Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connectiontype name.")]
33+
[Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection type name.")]
3434
[ValidateNotNullOrEmpty]
3535
public string Name { get; set; }
3636

37-
[Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, HelpMessage = "Confirm the removal of the connectiontype")]
37+
[Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, HelpMessage = "Confirm the removal of the connection type")]
3838
public SwitchParameter Force { get; set; }
3939

4040
/// <summary>

src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,11 @@
279279
<value>The Compilation Job having Id: {0} was not found.</value>
280280
</data>
281281
<data name="ConnectionTypeNotFound" xml:space="preserve">
282-
<value>The connectiontype was not found. ConnectionType name: {0}.</value>
282+
<value>The connection type was not found. ConnectionType name: {0}.</value>
283283
<comment>Automation</comment>
284284
</data>
285285
<data name="RemoveConnectionTypeThatHasConnectionWarning" xml:space="preserve">
286-
<value>This connectiontype has connections associated with it. If you delete this connectiontype, all connections associated with it will be unusable and should be removed, unless you create a new connectiontype with the same name that has the same field definitions as the deleted connectiontype. However, it can have additional fields as well. Are you sure you want to remove the Azure Automation {0} ?</value>
286+
<value>This connection type has connections associated with it. If you delete this connection type, all connections associated with it will be unusable and should be removed, unless you create a new connection type with the same name that has the same field definitions as the deleted connection type. However, it can have additional fields as well. Are you sure you want to remove the Azure Automation {0} ?</value>
287287
<comment>Automation</comment>
288288
</data>
289289
</root>

0 commit comments

Comments
 (0)