Skip to content

Commit 1d9ec0c

Browse files
[skip ci] Archive 72762e4 (#28750)
1 parent a6abb20 commit 1d9ec0c

File tree

96 files changed

+109
-2802
lines changed

Some content is hidden

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

96 files changed

+109
-2802
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "5c30ad29-a0d7-4e8e-a2fe-9f6680e1588d"
2+
"generate_Id": "6134f143-f400-47d1-bd3d-e9e42a18f521"
33
}

generated/Oracle/Oracle.Autorest/generated/cmdlets/AddAzOracleCloudVMClusterVM_AddExpanded.cs

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ public partial class AddAzOracleCloudVMClusterVM_AddExpanded : global::System.Ma
4343
/// <summary>A dictionary to carry over additional data for pipeline.</summary>
4444
private global::System.Collections.Generic.Dictionary<global::System.String,global::System.Object> _extensibleParameters = new System.Collections.Generic.Dictionary<string, object>();
4545

46-
/// <summary>A buffer to record first returned object in response.</summary>
47-
private object _firstResponse = null;
48-
49-
/// <summary>
50-
/// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
51-
/// Two means multiple returned objects in response.
52-
/// </summary>
53-
private int _responseSize = 0;
54-
5546
/// <summary>when specified, runs this cmdlet as a PowerShell job</summary>
5647
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
5748
[global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.ParameterCategory.Runtime)]
@@ -269,11 +260,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Oracle.Cmdlets.AddAzOracleCloudVMClust
269260
/// <summary>Performs clean-up after the command execution</summary>
270261
protected override void EndProcessing()
271262
{
272-
if (1 ==_responseSize)
273-
{
274-
// Flush buffer
275-
WriteObject(_firstResponse);
276-
}
277263
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Oracle.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
278264
if (telemetryInfo != null)
279265
{
@@ -581,24 +567,7 @@ protected override void StopProcessing()
581567
// onOk - response for 200 / application/json
582568
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.ICloudVMCluster
583569
var result = (await response);
584-
if (null != result)
585-
{
586-
if (0 == _responseSize)
587-
{
588-
_firstResponse = result;
589-
_responseSize = 1;
590-
}
591-
else
592-
{
593-
if (1 ==_responseSize)
594-
{
595-
// Flush buffer
596-
WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
597-
}
598-
WriteObject(result.AddMultipleTypeNameIntoPSObject());
599-
_responseSize = 2;
600-
}
601-
}
570+
WriteObject(result, false);
602571
}
603572
}
604573
}

generated/Oracle/Oracle.Autorest/generated/cmdlets/AddAzOracleCloudVMClusterVM_AddViaIdentityExpanded.cs

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ public partial class AddAzOracleCloudVMClusterVM_AddViaIdentityExpanded : global
4343
/// <summary>A dictionary to carry over additional data for pipeline.</summary>
4444
private global::System.Collections.Generic.Dictionary<global::System.String,global::System.Object> _extensibleParameters = new System.Collections.Generic.Dictionary<string, object>();
4545

46-
/// <summary>A buffer to record first returned object in response.</summary>
47-
private object _firstResponse = null;
48-
49-
/// <summary>
50-
/// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
51-
/// Two means multiple returned objects in response.
52-
/// </summary>
53-
private int _responseSize = 0;
54-
5546
/// <summary>when specified, runs this cmdlet as a PowerShell job</summary>
5647
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
5748
[global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.ParameterCategory.Runtime)]
@@ -227,11 +218,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Oracle.Cmdlets.AddAzOracleCloudVMClust
227218
/// <summary>Performs clean-up after the command execution</summary>
228219
protected override void EndProcessing()
229220
{
230-
if (1 ==_responseSize)
231-
{
232-
// Flush buffer
233-
WriteObject(_firstResponse);
234-
}
235221
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Oracle.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
236222
if (telemetryInfo != null)
237223
{
@@ -559,24 +545,7 @@ protected override void StopProcessing()
559545
// onOk - response for 200 / application/json
560546
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.ICloudVMCluster
561547
var result = (await response);
562-
if (null != result)
563-
{
564-
if (0 == _responseSize)
565-
{
566-
_firstResponse = result;
567-
_responseSize = 1;
568-
}
569-
else
570-
{
571-
if (1 ==_responseSize)
572-
{
573-
// Flush buffer
574-
WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
575-
}
576-
WriteObject(result.AddMultipleTypeNameIntoPSObject());
577-
_responseSize = 2;
578-
}
579-
}
548+
WriteObject(result, false);
580549
}
581550
}
582551
}

generated/Oracle/Oracle.Autorest/generated/cmdlets/AddAzOracleCloudVMClusterVM_AddViaJsonFilePath.cs

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,8 @@ public partial class AddAzOracleCloudVMClusterVM_AddViaJsonFilePath : global::Sy
4141
/// <summary>A dictionary to carry over additional data for pipeline.</summary>
4242
private global::System.Collections.Generic.Dictionary<global::System.String,global::System.Object> _extensibleParameters = new System.Collections.Generic.Dictionary<string, object>();
4343

44-
/// <summary>A buffer to record first returned object in response.</summary>
45-
private object _firstResponse = null;
46-
4744
public global::System.String _jsonString;
4845

49-
/// <summary>
50-
/// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
51-
/// Two means multiple returned objects in response.
52-
/// </summary>
53-
private int _responseSize = 0;
54-
5546
/// <summary>when specified, runs this cmdlet as a PowerShell job</summary>
5647
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
5748
[global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.ParameterCategory.Runtime)]
@@ -270,11 +261,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Oracle.Cmdlets.AddAzOracleCloudVMClust
270261
/// <summary>Performs clean-up after the command execution</summary>
271262
protected override void EndProcessing()
272263
{
273-
if (1 ==_responseSize)
274-
{
275-
// Flush buffer
276-
WriteObject(_firstResponse);
277-
}
278264
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Oracle.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
279265
if (telemetryInfo != null)
280266
{
@@ -582,24 +568,7 @@ protected override void StopProcessing()
582568
// onOk - response for 200 / application/json
583569
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.ICloudVMCluster
584570
var result = (await response);
585-
if (null != result)
586-
{
587-
if (0 == _responseSize)
588-
{
589-
_firstResponse = result;
590-
_responseSize = 1;
591-
}
592-
else
593-
{
594-
if (1 ==_responseSize)
595-
{
596-
// Flush buffer
597-
WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
598-
}
599-
WriteObject(result.AddMultipleTypeNameIntoPSObject());
600-
_responseSize = 2;
601-
}
602-
}
571+
WriteObject(result, false);
603572
}
604573
}
605574
}

generated/Oracle/Oracle.Autorest/generated/cmdlets/AddAzOracleCloudVMClusterVM_AddViaJsonString.cs

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,6 @@ public partial class AddAzOracleCloudVMClusterVM_AddViaJsonString : global::Syst
4141
/// <summary>A dictionary to carry over additional data for pipeline.</summary>
4242
private global::System.Collections.Generic.Dictionary<global::System.String,global::System.Object> _extensibleParameters = new System.Collections.Generic.Dictionary<string, object>();
4343

44-
/// <summary>A buffer to record first returned object in response.</summary>
45-
private object _firstResponse = null;
46-
47-
/// <summary>
48-
/// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
49-
/// Two means multiple returned objects in response.
50-
/// </summary>
51-
private int _responseSize = 0;
52-
5344
/// <summary>when specified, runs this cmdlet as a PowerShell job</summary>
5445
[global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")]
5546
[global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.ParameterCategory.Runtime)]
@@ -268,11 +259,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Oracle.Cmdlets.AddAzOracleCloudVMClust
268259
/// <summary>Performs clean-up after the command execution</summary>
269260
protected override void EndProcessing()
270261
{
271-
if (1 ==_responseSize)
272-
{
273-
// Flush buffer
274-
WriteObject(_firstResponse);
275-
}
276262
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Oracle.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
277263
if (telemetryInfo != null)
278264
{
@@ -580,24 +566,7 @@ protected override void StopProcessing()
580566
// onOk - response for 200 / application/json
581567
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.ICloudVMCluster
582568
var result = (await response);
583-
if (null != result)
584-
{
585-
if (0 == _responseSize)
586-
{
587-
_firstResponse = result;
588-
_responseSize = 1;
589-
}
590-
else
591-
{
592-
if (1 ==_responseSize)
593-
{
594-
// Flush buffer
595-
WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
596-
}
597-
WriteObject(result.AddMultipleTypeNameIntoPSObject());
598-
_responseSize = 2;
599-
}
600-
}
569+
WriteObject(result, false);
601570
}
602571
}
603572
}

generated/Oracle/Oracle.Autorest/generated/cmdlets/InvokeAzOracleActionDbNode_ActionExpanded.cs

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ public partial class InvokeAzOracleActionDbNode_ActionExpanded : global::System.
4343
/// <summary>A dictionary to carry over additional data for pipeline.</summary>
4444
private global::System.Collections.Generic.Dictionary<global::System.String,global::System.Object> _extensibleParameters = new System.Collections.Generic.Dictionary<string, object>();
4545

46-
/// <summary>A buffer to record first returned object in response.</summary>
47-
private object _firstResponse = null;
48-
49-
/// <summary>
50-
/// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
51-
/// Two means multiple returned objects in response.
52-
/// </summary>
53-
private int _responseSize = 0;
54-
5546
/// <summary>Db action</summary>
5647
[global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Db action")]
5748
[global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.ParameterCategory.Body)]
@@ -276,11 +267,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Oracle.Cmdlets.InvokeAzOracleActionDbN
276267
/// <summary>Performs clean-up after the command execution</summary>
277268
protected override void EndProcessing()
278269
{
279-
if (1 ==_responseSize)
280-
{
281-
// Flush buffer
282-
WriteObject(_firstResponse);
283-
}
284270
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Oracle.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
285271
if (telemetryInfo != null)
286272
{
@@ -596,24 +582,7 @@ protected override void StopProcessing()
596582
// onOk - response for 200 / application/json
597583
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.IDbNode
598584
var result = (await response);
599-
if (null != result)
600-
{
601-
if (0 == _responseSize)
602-
{
603-
_firstResponse = result;
604-
_responseSize = 1;
605-
}
606-
else
607-
{
608-
if (1 ==_responseSize)
609-
{
610-
// Flush buffer
611-
WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
612-
}
613-
WriteObject(result.AddMultipleTypeNameIntoPSObject());
614-
_responseSize = 2;
615-
}
616-
}
585+
WriteObject(result, false);
617586
}
618587
}
619588
}

generated/Oracle/Oracle.Autorest/generated/cmdlets/InvokeAzOracleActionDbNode_ActionViaIdentityCloudVMClusterExpanded.cs

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ public partial class InvokeAzOracleActionDbNode_ActionViaIdentityCloudVMClusterE
4343
/// <summary>A dictionary to carry over additional data for pipeline.</summary>
4444
private global::System.Collections.Generic.Dictionary<global::System.String,global::System.Object> _extensibleParameters = new System.Collections.Generic.Dictionary<string, object>();
4545

46-
/// <summary>A buffer to record first returned object in response.</summary>
47-
private object _firstResponse = null;
48-
49-
/// <summary>
50-
/// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
51-
/// Two means multiple returned objects in response.
52-
/// </summary>
53-
private int _responseSize = 0;
54-
5546
/// <summary>Db action</summary>
5647
[global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Db action")]
5748
[global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.ParameterCategory.Body)]
@@ -236,11 +227,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Oracle.Cmdlets.InvokeAzOracleActionDbN
236227
/// <summary>Performs clean-up after the command execution</summary>
237228
protected override void EndProcessing()
238229
{
239-
if (1 ==_responseSize)
240-
{
241-
// Flush buffer
242-
WriteObject(_firstResponse);
243-
}
244230
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Oracle.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
245231
if (telemetryInfo != null)
246232
{
@@ -578,24 +564,7 @@ protected override void StopProcessing()
578564
// onOk - response for 200 / application/json
579565
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.IDbNode
580566
var result = (await response);
581-
if (null != result)
582-
{
583-
if (0 == _responseSize)
584-
{
585-
_firstResponse = result;
586-
_responseSize = 1;
587-
}
588-
else
589-
{
590-
if (1 ==_responseSize)
591-
{
592-
// Flush buffer
593-
WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
594-
}
595-
WriteObject(result.AddMultipleTypeNameIntoPSObject());
596-
_responseSize = 2;
597-
}
598-
}
567+
WriteObject(result, false);
599568
}
600569
}
601570
}

generated/Oracle/Oracle.Autorest/generated/cmdlets/InvokeAzOracleActionDbNode_ActionViaIdentityExpanded.cs

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ public partial class InvokeAzOracleActionDbNode_ActionViaIdentityExpanded : glob
4343
/// <summary>A dictionary to carry over additional data for pipeline.</summary>
4444
private global::System.Collections.Generic.Dictionary<global::System.String,global::System.Object> _extensibleParameters = new System.Collections.Generic.Dictionary<string, object>();
4545

46-
/// <summary>A buffer to record first returned object in response.</summary>
47-
private object _firstResponse = null;
48-
49-
/// <summary>
50-
/// A flag to tell whether it is the first returned object in a call. Zero means no response yet. One means 1 returned object.
51-
/// Two means multiple returned objects in response.
52-
/// </summary>
53-
private int _responseSize = 0;
54-
5546
/// <summary>Db action</summary>
5647
[global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Db action")]
5748
[global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Oracle.ParameterCategory.Body)]
@@ -219,11 +210,6 @@ public Microsoft.Azure.PowerShell.Cmdlets.Oracle.Cmdlets.InvokeAzOracleActionDbN
219210
/// <summary>Performs clean-up after the command execution</summary>
220211
protected override void EndProcessing()
221212
{
222-
if (1 ==_responseSize)
223-
{
224-
// Flush buffer
225-
WriteObject(_firstResponse);
226-
}
227213
var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.Oracle.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId);
228214
if (telemetryInfo != null)
229215
{
@@ -563,24 +549,7 @@ protected override void StopProcessing()
563549
// onOk - response for 200 / application/json
564550
// (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.IDbNode
565551
var result = (await response);
566-
if (null != result)
567-
{
568-
if (0 == _responseSize)
569-
{
570-
_firstResponse = result;
571-
_responseSize = 1;
572-
}
573-
else
574-
{
575-
if (1 ==_responseSize)
576-
{
577-
// Flush buffer
578-
WriteObject(_firstResponse.AddMultipleTypeNameIntoPSObject());
579-
}
580-
WriteObject(result.AddMultipleTypeNameIntoPSObject());
581-
_responseSize = 2;
582-
}
583-
}
552+
WriteObject(result, false);
584553
}
585554
}
586555
}

0 commit comments

Comments
 (0)