Skip to content

Commit 890d549

Browse files
returning state in account
1 parent fc20203 commit 890d549

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/ResourceManager/Automation/Commands.Automation/Model/AutomationAccount.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ public AutomationAccount(string resourceGroupName, AutomationManagement.Models.A
5454
this.Plan = automationAccount.Properties.Sku != null ? automationAccount.Properties.Sku.Name : null;
5555
this.CreationTime = automationAccount.Properties.CreationTime.ToLocalTime();
5656
this.LastModifiedTime = automationAccount.Properties.LastModifiedTime.ToLocalTime();
57+
this.State = automationAccount.Properties.State;
58+
this.LastModifiedBy = automationAccount.Properties.LastModifiedBy;
5759
}
5860

5961
/// <summary>
@@ -98,6 +100,11 @@ public AutomationAccount()
98100
/// </summary>
99101
public DateTimeOffset LastModifiedTime { get; set; }
100102

103+
/// <summary>
104+
/// Gets or sets the LastModifiedBy.
105+
/// </summary>
106+
public string LastModifiedBy { get; set; }
107+
101108
/// <summary>
102109
/// Gets or sets the tags.
103110
/// </summary>

0 commit comments

Comments
 (0)