Skip to content

Commit 7a61cb8

Browse files
Move Compute to main (Azure#20227)
1 parent 16266d3 commit 7a61cb8

File tree

55 files changed

+587
-277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+587
-277
lines changed

src/Compute/Compute.Autorest/create-model-cmdlets.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Create an in-memory object for ${ObjectType}.
158158
.Outputs
159159
${ObjectTypeWithNamespace}
160160
.Link
161-
https://docs.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
161+
https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
162162
#>
163163
function New-Az${ModulePrefix}${ObjectType}Object {
164164
[OutputType('${ObjectTypeWithNamespace}')]

src/Compute/Compute.Autorest/custom/Set-AzVMRunCommand_ScriptLocalPath.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function Set-AzVMRunCommand_ScriptLocalPath {
180180
if ($PSBoundParameters.ContainsKey("ScriptLocalPath"))
181181
{
182182
# Read Local File and add
183-
$script = Get-Content -Path $ScriptLocalPath
183+
$script = (Get-Content -Path $ScriptLocalPath) -join ";"
184184
$PSBoundParameters.Add("SourceScript", $script)
185185
# If necessary, remove the -ParameterA parameter from the dictionary of bound parameters
186186
$null = $PSBoundParameters.Remove("ScriptLocalPath")

src/Compute/Compute.Autorest/custom/Set-AzVmssVMRunCommand_ScriptLocalPath.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
function Set-AzVmssVMRunCommand_ScriptLocalPath {
1818
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20210701.IVirtualMachineRunCommand])]
19-
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
19+
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
2020
param(
2121
[Parameter(Mandatory)]
2222
[Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Path')]
@@ -186,12 +186,12 @@ function Set-AzVmssVMRunCommand_ScriptLocalPath {
186186
if ($PSBoundParameters.ContainsKey("ScriptLocalPath"))
187187
{
188188
# Read Local File and add
189-
$script = Get-Content -Path $ScriptLocalPath
189+
$script = (Get-Content -Path $ScriptLocalPath) -join ";"
190190
$PSBoundParameters.Add("SourceScript", $script)
191191
# If necessary, remove the -ParameterA parameter from the dictionary of bound parameters
192192
$null = $PSBoundParameters.Remove("ScriptLocalPath")
193193
}
194-
Az.Compute\Set-AzVMRunCommand @PSBoundParameters
194+
Az.Compute\Set-AzVmssVMRunCommand @PSBoundParameters
195195
}
196196
}
197197

src/Compute/Compute.Autorest/docs/Az.Compute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
Module Name: Az.Compute
33
Module Guid: 64d81db2-280c-4cff-a9f8-9e3ef386b229
4-
Download Help Link: https://docs.microsoft.com/powershell/module/az.compute
4+
Download Help Link: https://learn.microsoft.com/powershell/module/az.compute
55
Help Version: 1.0.0.0
66
Locale: en-US
77
---

src/Compute/Compute.Autorest/docs/Get-AzGalleryApplication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.Compute
4-
online version: https://docs.microsoft.com/powershell/module/az.compute/get-azgalleryapplication
4+
online version: https://learn.microsoft.com/powershell/module/az.compute/get-azgalleryapplication
55
schema: 2.0.0
66
---
77

src/Compute/Compute.Autorest/docs/Get-AzGalleryApplicationVersion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.Compute
4-
online version: https://docs.microsoft.com/powershell/module/az.compute/get-azgalleryapplicationversion
4+
online version: https://learn.microsoft.com/powershell/module/az.compute/get-azgalleryapplicationversion
55
schema: 2.0.0
66
---
77

src/Compute/Compute.Autorest/docs/Get-AzVMRunCommand.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/Compute/Compute.Autorest/docs/Get-AzVmssVMRunCommand.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/Compute/Compute.Autorest/docs/New-AzGalleryApplication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.Compute
4-
online version: https://docs.microsoft.com/powershell/module/az.compute/new-azgalleryapplication
4+
online version: https://learn.microsoft.com/powershell/module/az.compute/new-azgalleryapplication
55
schema: 2.0.0
66
---
77

src/Compute/Compute.Autorest/docs/New-AzGalleryApplicationVersion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.Compute
4-
online version: https://docs.microsoft.com/powershell/module/az.compute/new-azgalleryapplicationversion
4+
online version: https://learn.microsoft.com/powershell/module/az.compute/new-azgalleryapplicationversion
55
schema: 2.0.0
66
---
77

0 commit comments

Comments
 (0)