You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/StackAdmin/Azs.Backup.Admin/Module/Azs.Backup.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Set-AzsBackupShare.ps1
Copy file name to clipboardExpand all lines: src/StackAdmin/Azs.Compute.Admin/Module/Azs.Compute.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Add-AzsPlatformImage.ps1
+81-72Lines changed: 81 additions & 72 deletions
Original file line number
Diff line number
Diff line change
@@ -122,93 +122,102 @@ function Add-AzsPlatformImage {
122
122
Process {
123
123
$ErrorActionPreference='Stop'
124
124
125
-
if ($PSCmdlet.ShouldProcess("$Publisher / $Offer / $Sku / $Version","Add new virtual machine image")) {
126
-
if ($Force.IsPresent-or$PSCmdlet.ShouldContinue("Add new virtual machine image?","Performing operation add virtual machine image with publisher $Publisher, offer $Offer, SKU $Sku, and version $Version.")) {
125
+
if ($PSCmdlet.ShouldProcess("$Publisher/$Offer/$Sku/$Version","Add new virtual machine image")) {
Copy file name to clipboardExpand all lines: src/StackAdmin/Azs.Compute.Admin/Module/Azs.Compute.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Add-AzsVMExtension.ps1
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -126,8 +126,17 @@ function Add-AzsVMExtension {
if ($Force.IsPresent-or$PSCmdlet.ShouldContinue("Add virtual machine image extension?","Performing operation add virtual machine image extension with publisher $Publisher, type $Type, and version $Version.")) {
129
+
if ($PSCmdlet.ShouldProcess("$Publisher/$Type/$Version","Add virtual machine image extension")) {
if ($dontCheck-or ($Force.IsPresent-or$PSCmdlet.ShouldContinue("Virtual machine image extension exists with values $Publisher/$Type/$Sku, overwrite?","Performing operation add virtual machine image extension with publisher $Publisher, type $Type, and version $Version."))) {
Copy file name to clipboardExpand all lines: src/StackAdmin/Azs.Compute.Admin/Module/Azs.Compute.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/New-AzsComputeQuota.ps1
+43-30Lines changed: 43 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Changes may cause incorrect behavior and will be lost if the code is regenerated
Copy file name to clipboardExpand all lines: src/StackAdmin/Azs.Compute.Admin/Module/Azs.Compute.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Set-AzsComputeQuota.ps1
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,7 @@ function Set-AzsComputeQuota {
151
151
}
152
152
}
153
153
154
-
Write-Verbose-Message 'Performing operation CreateOrUpdateWithHttpMessagesAsync on $ComputeAdminClient.'
154
+
Write-Verbose-Message 'Performing operation update on $ComputeAdminClient.'
0 commit comments