Skip to content

Commit 6c674e3

Browse files
authored
[Storage] Output Allowed Copy scope (#20452)
1 parent 4036a60 commit 6c674e3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Storage/Storage.Management/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
## Upcoming Release
2121
*Return ListBlobProperties in blob list result
2222
- `Get-AzStorageBlob`
23+
*Output AllowedCopyScope in get account result
24+
- `Get-AzStorageAccount`
2325

2426
## Version 5.2.0
2527
* Supported MaxPageSize, Include, and Filter parameters for listing encryption scopes

src/Storage/Storage.Management/Models/PSStorageAccount.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public PSStorageAccount(StorageModels.StorageAccount storageAccount)
7272
this.StorageAccountSkuConversionStatus = storageAccount.StorageAccountSkuConversionStatus is null ? null : new PSStorageAccountSkuConversionStatus(storageAccount.StorageAccountSkuConversionStatus);
7373
this.EnableSftp = storageAccount.IsSftpEnabled;
7474
this.EnableLocalUser = storageAccount.IsLocalUserEnabled;
75+
this.AllowedCopyScope = storageAccount.AllowedCopyScope;
7576
}
7677
public bool? AllowCrossTenantReplication { get; set; }
7778

@@ -161,6 +162,8 @@ public PSStorageAccount(StorageModels.StorageAccount storageAccount)
161162

162163
public string PublicNetworkAccess { get; set; }
163164

165+
public string AllowedCopyScope { get; set; }
166+
164167
public PSImmutableStorageAccount ImmutableStorageWithVersioning { get; set; }
165168
public PSStorageAccountSkuConversionStatus StorageAccountSkuConversionStatus { get; set; }
166169

0 commit comments

Comments
 (0)