Skip to content

Commit 55fe209

Browse files
committed
support New-AzRmStorageContainer and New-AzRmStorageShare
1 parent e90d8ed commit 55fe209

File tree

4 files changed

+894
-0
lines changed

4 files changed

+894
-0
lines changed

src/Storage/Storage.Management/Blob/NewAzureStorageContainer.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ public PSPublicAccess PublicAccess
160160

161161
public override void ExecuteCmdlet()
162162
{
163+
if (DryRun.IsPresent && TryHandleDryRun())
164+
{
165+
return; // prevent real execution
166+
}
167+
163168
base.ExecuteCmdlet();
164169

165170
if (ShouldProcess(this.Name, "Create container"))

0 commit comments

Comments
 (0)