Skip to content

Commit df92ee8

Browse files
committed
Update RDFE Generated Commands
1 parent 45f0ea5 commit df92ee8

File tree

6 files changed

+50045
-6
lines changed

6 files changed

+50045
-6
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Automation/Create-ParameterObject.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ function Create-ParameterObjectImpl
4949
{
5050
return 0;
5151
}
52+
elseif ($typeInfo.FullName -eq 'System.Byte[]')
53+
{
54+
return New-Object -TypeName System.Byte[] -ArgumentList 0;
55+
}
5256
elseif ($typeInfo.FullName -like 'System.Collections.Generic.IList*' -or $typeInfo.FullName -like 'System.Collections.Generic.List*')
5357
{
5458
[System.Type]$itemType = $typeInfo.GetGenericArguments()[0];

src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Generated/InvokeAzureComputeMethodCmdlet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ protected object ParseParameter(object input)
167167
}
168168
}
169169

170-
public override void ExecuteCmdlet()
170+
protected override void ProcessRecord()
171171
{
172-
base.ExecuteCmdlet();
172+
base.ProcessRecord();
173173
ExecuteClientAction(() =>
174174
{
175175
if (ParameterSetName == "InvokeByDynamicParameters")

0 commit comments

Comments
 (0)