Skip to content

Commit 40138c5

Browse files
committed
RDBug 7069788:[PSH] fix the breaking change on New/Get/Set-AzureRMStorageAccount for Sku.Name, and New-AzureRMstorageAccountKey - Fix a build failure
1 parent fc37086 commit 40138c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ResourceManager/Storage/Commands.Management.Storage/Models/StorageAccountKeys.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public StorageAccountKeys(IList<StorageAccountKey> storageKeys) : base()
1212
this.Key2 = storageKeys[1].Value;
1313
}
1414

15-
public string Key1 { get; }
16-
public string Key2 { get; }
15+
public string Key1 { get; set; }
16+
public string Key2 { get; set; }
1717
}
1818
}

src/ResourceManager/Storage/Commands.Management.Storage/Models/StorageAccountRegenerateKeyResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public StorageAccountRegenerateKeyResponse(StorageAccountListKeysResult result)
1212
Keys = result.Keys;
1313
}
1414
}
15-
public StorageAccountKeys StorageAccountKeys { get; }
16-
public IList<StorageAccountKey> Keys { get; }
15+
public StorageAccountKeys StorageAccountKeys { get; set; }
16+
public IList<StorageAccountKey> Keys { get; set; }
1717
}
1818
}

0 commit comments

Comments
 (0)