Skip to content

Commit dad48ec

Browse files
Removed Type in Runbook and Module
1 parent 18a5516 commit dad48ec

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class Constants
3232

3333
public const string AutomationServicePrefix = "OaasCS";
3434

35-
public const string JobStartedByParameterName = "JobStartedBy";
35+
public const string JobStartedByParameterName = "MicrosoftApplicationManagementStartedBy";
3636

3737
// default schedule expiry time for daily schedule, consistent with UX
3838
// 12/31/9999 12:00:00 AM

src/ServiceManagement/Automation/Commands.Automation/Model/Module.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public Module(string automationAccountName, Azure.Management.Automation.Models.M
3333
this.AutomationAccountName = automationAccountName;
3434
this.Name = module.Name;
3535
this.Location = module.Location;
36-
this.Type = module.Type;
3736
this.Tags = module.Tags ?? new Dictionary<string, string>();
3837

3938
if (module.Properties == null) return;
@@ -69,11 +68,6 @@ public Module()
6968
/// </summary>
7069
public string Location { get; set; }
7170

72-
/// <summary>
73-
/// Gets or sets the type.
74-
/// </summary>
75-
public string Type { get; set; }
76-
7771
/// <summary>
7872
/// Gets or sets the tags.
7973
/// </summary>

src/ServiceManagement/Automation/Commands.Automation/Model/Runbook.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public Runbook(string accountName, AutomationManagement.Models.Runbook runbook)
4545
this.AutomationAccountName = accountName;
4646
this.Name = runbook.Name;
4747
this.Location = runbook.Location;
48-
this.Type = runbook.Type;
4948
this.Tags = runbook.Tags ?? new Dictionary<string, string>();
5049

5150
if (runbook.Properties == null) return;
@@ -85,11 +84,6 @@ public Runbook()
8584
/// </summary>
8685
public string Location { get; set; }
8786

88-
/// <summary>
89-
/// Gets or sets the type.
90-
/// </summary>
91-
public string Type { get; set; }
92-
9387
/// <summary>
9488
/// Gets or sets the tags.
9589
/// </summary>

0 commit comments

Comments
 (0)