Skip to content

Commit 705ab29

Browse files
[skip ci] Archive 9e226c6 (#28406)
1 parent af85ba8 commit 705ab29

File tree

58 files changed

+157
-93
lines changed

Some content is hidden

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

58 files changed

+157
-93
lines changed

generated/StackHCI/StackHCI.Autorest/Az.StackHCI.format.ps1xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@
146146
</TableControl>
147147
</View>
148148
<View>
149-
<Name>Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.ProxyResourceAutoGenerated</Name>
149+
<Name>Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.ProxyResource</Name>
150150
<ViewSelectedBy>
151-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.ProxyResourceAutoGenerated</TypeName>
151+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.ProxyResource</TypeName>
152152
</ViewSelectedBy>
153153
<TableControl>
154154
<TableHeaders>
@@ -374,9 +374,9 @@
374374
</TableControl>
375375
</View>
376376
<View>
377-
<Name>Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResource</Name>
377+
<Name>Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResourceAutoGenerated</Name>
378378
<ViewSelectedBy>
379-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResource</TypeName>
379+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResourceAutoGenerated</TypeName>
380380
</ViewSelectedBy>
381381
<TableControl>
382382
<TableHeaders>
Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
1-
// ----------------------------------------------------------------------------------
2-
//
3-
// Copyright Microsoft Corporation
4-
// Licensed under the Apache License, Version 2.0 (the "License");
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
53
// you may not use this file except in compliance with the License.
64
// You may obtain a copy of the License at
75
// http://www.apache.org/licenses/LICENSE-2.0
86
// Unless required by applicable law or agreed to in writing, software
9-
// distributed under the License is distributed on an "AS IS" BASIS,
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
108
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
119
// See the License for the specific language governing permissions and
1210
// limitations under the License.
13-
// ----------------------------------------------------------------------------------
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
1413

1514
using System;
1615
using System.Reflection;
16+
using System.Runtime.CompilerServices;
1717
using System.Runtime.InteropServices;
1818

19-
[assembly: AssemblyTitle("Microsoft Azure Powershell - StackHCI")]
20-
[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
21-
[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
22-
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
23-
24-
[assembly: ComVisible(false)]
25-
[assembly: CLSCompliant(false)]
26-
[assembly: Guid("46bc6ec8-8e52-42a7-8b01-ec8bcbbf9f92")]
27-
[assembly: AssemblyVersion("2.5.0")]
28-
[assembly: AssemblyFileVersion("2.5.0")]
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - StackHci")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.6.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.6.1")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

generated/StackHCI/StackHCI.Autorest/exports/ProxyCmdletDefinitions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10104,7 +10104,7 @@ param(
1010410104
[Parameter(Position=5)]
1010510105
[Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Category('Body')]
1010610106
[System.String]
10107-
# Specifies the AccoundId.
10107+
# Specifies the AccountId.
1010810108
# Specifying this along with ArmAccessToken will avoid Azure interactive logon.
1010910109
${AccountId},
1011010110

generated/StackHCI/StackHCI.Autorest/exports/Unregister-AzStackHCI.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ param(
7575
[Parameter(Position=5)]
7676
[Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Category('Body')]
7777
[System.String]
78-
# Specifies the AccoundId.
78+
# Specifies the AccountId.
7979
# Specifying this along with ArmAccessToken will avoid Azure interactive logon.
8080
${AccountId},
8181

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "41f72a61-c672-4edf-b199-80d10ce7dd2a"
2+
"generate_Id": "d2fd8c80-240e-482d-b23b-ae5864a8288a"
33
}

generated/StackHCI/StackHCI.Autorest/generated/api/Models/Api30/ProxyResource.PowerShell.cs renamed to generated/StackHCI/StackHCI.Autorest/generated/api/Models/Api30/ProxyResourceAutoGenerated.PowerShell.cs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30
1010
/// <summary>
1111
/// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
1212
/// </summary>
13-
[System.ComponentModel.TypeConverter(typeof(ProxyResourceTypeConverter))]
14-
public partial class ProxyResource
13+
[System.ComponentModel.TypeConverter(typeof(ProxyResourceAutoGeneratedTypeConverter))]
14+
public partial class ProxyResourceAutoGenerated
1515
{
1616

1717
/// <summary>
@@ -57,44 +57,44 @@ public partial class ProxyResource
5757
partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow);
5858

5959
/// <summary>
60-
/// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResource"
60+
/// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResourceAutoGenerated"
6161
/// />.
6262
/// </summary>
6363
/// <param name="content">The global::System.Collections.IDictionary content that should be used.</param>
6464
/// <returns>
65-
/// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResource" />.
65+
/// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated" />.
6666
/// </returns>
67-
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResource DeserializeFromDictionary(global::System.Collections.IDictionary content)
67+
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated DeserializeFromDictionary(global::System.Collections.IDictionary content)
6868
{
69-
return new ProxyResource(content);
69+
return new ProxyResourceAutoGenerated(content);
7070
}
7171

7272
/// <summary>
73-
/// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResource"
73+
/// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResourceAutoGenerated"
7474
/// />.
7575
/// </summary>
7676
/// <param name="content">The global::System.Management.Automation.PSObject content that should be used.</param>
7777
/// <returns>
78-
/// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResource" />.
78+
/// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated" />.
7979
/// </returns>
80-
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
80+
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
8181
{
82-
return new ProxyResource(content);
82+
return new ProxyResourceAutoGenerated(content);
8383
}
8484

8585
/// <summary>
86-
/// Creates a new instance of <see cref="ProxyResource" />, deserializing the content from a json string.
86+
/// Creates a new instance of <see cref="ProxyResourceAutoGenerated" />, deserializing the content from a json string.
8787
/// </summary>
8888
/// <param name="jsonText">a string containing a JSON serialized instance of this model.</param>
89-
/// <returns>an instance of the <see cref="ProxyResource" /> model class.</returns>
90-
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonNode.Parse(jsonText));
89+
/// <returns>an instance of the <see cref="ProxyResourceAutoGenerated" /> model class.</returns>
90+
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonNode.Parse(jsonText));
9191

9292
/// <summary>
93-
/// Deserializes a <see cref="global::System.Collections.IDictionary" /> into a new instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResource"
93+
/// Deserializes a <see cref="global::System.Collections.IDictionary" /> into a new instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResourceAutoGenerated"
9494
/// />.
9595
/// </summary>
9696
/// <param name="content">The global::System.Collections.IDictionary content that should be used.</param>
97-
internal ProxyResource(global::System.Collections.IDictionary content)
97+
internal ProxyResourceAutoGenerated(global::System.Collections.IDictionary content)
9898
{
9999
bool returnNow = false;
100100
BeforeDeserializeDictionary(content, ref returnNow);
@@ -147,11 +147,11 @@ internal ProxyResource(global::System.Collections.IDictionary content)
147147
}
148148

149149
/// <summary>
150-
/// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into a new instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResource"
150+
/// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into a new instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ProxyResourceAutoGenerated"
151151
/// />.
152152
/// </summary>
153153
/// <param name="content">The global::System.Management.Automation.PSObject content that should be used.</param>
154-
internal ProxyResource(global::System.Management.Automation.PSObject content)
154+
internal ProxyResourceAutoGenerated(global::System.Management.Automation.PSObject content)
155155
{
156156
bool returnNow = false;
157157
BeforeDeserializePSObject(content, ref returnNow);
@@ -209,8 +209,8 @@ internal ProxyResource(global::System.Management.Automation.PSObject content)
209209
public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.SerializationMode.IncludeAll)?.ToString();
210210
}
211211
/// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
212-
[System.ComponentModel.TypeConverter(typeof(ProxyResourceTypeConverter))]
213-
public partial interface IProxyResource
212+
[System.ComponentModel.TypeConverter(typeof(ProxyResourceAutoGeneratedTypeConverter))]
213+
public partial interface IProxyResourceAutoGenerated
214214

215215
{
216216

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Code generated by Microsoft (R) AutoRest Code Generator.
44
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
55

6-
namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30
77
{
88
using Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.PowerShell;
99

@@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue)
106106
/// <returns>
107107
/// an instance of <see cref="ProxyResourceAutoGenerated" />, or <c>null</c> if there is no suitable conversion.
108108
/// </returns>
109-
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.IProxyResourceAutoGenerated ConvertFrom(dynamic sourceValue)
109+
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated ConvertFrom(dynamic sourceValue)
110110
{
111111
if (null == sourceValue)
112112
{
113113
return null;
114114
}
115115
global::System.Type type = sourceValue.GetType();
116-
if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.IProxyResourceAutoGenerated).IsAssignableFrom(type))
116+
if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated).IsAssignableFrom(type))
117117
{
118118
return sourceValue;
119119
}

generated/StackHCI/StackHCI.Autorest/generated/api/Models/Api30/ProxyResource.cs renamed to generated/StackHCI/StackHCI.Autorest/generated/api/Models/Api30/ProxyResourceAutoGenerated.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30
1010
/// <summary>
1111
/// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
1212
/// </summary>
13-
public partial class ProxyResource :
14-
Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResource,
15-
Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceInternal,
13+
public partial class ProxyResourceAutoGenerated :
14+
Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated,
15+
Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGeneratedInternal,
1616
Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.IValidates
1717
{
1818
/// <summary>
@@ -79,8 +79,8 @@ public partial class ProxyResource :
7979
[Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Origin(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.PropertyOrigin.Inherited)]
8080
public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; }
8181

82-
/// <summary>Creates an new <see cref="ProxyResource" /> instance.</summary>
83-
public ProxyResource()
82+
/// <summary>Creates an new <see cref="ProxyResourceAutoGenerated" /> instance.</summary>
83+
public ProxyResourceAutoGenerated()
8484
{
8585

8686
}
@@ -98,14 +98,14 @@ public ProxyResource()
9898
}
9999
}
100100
/// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
101-
public partial interface IProxyResource :
101+
public partial interface IProxyResourceAutoGenerated :
102102
Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.IJsonSerializable,
103103
Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IResourceAutoGenerated
104104
{
105105

106106
}
107107
/// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
108-
internal partial interface IProxyResourceInternal :
108+
internal partial interface IProxyResourceAutoGeneratedInternal :
109109
Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IResourceAutoGeneratedInternal
110110
{
111111

generated/StackHCI/StackHCI.Autorest/generated/api/Models/Api40/ProxyResourceAutoGenerated.json.cs renamed to generated/StackHCI/StackHCI.Autorest/generated/api/Models/Api30/ProxyResourceAutoGenerated.json.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Code generated by Microsoft (R) AutoRest Code Generator.
44
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
55

6-
namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30
77
{
88
using static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Extensions;
99

@@ -56,13 +56,13 @@ public partial class ProxyResourceAutoGenerated
5656
partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonObject container, ref bool returnNow);
5757

5858
/// <summary>
59-
/// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.IProxyResourceAutoGenerated.
59+
/// Deserializes a <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonNode"/> into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated.
6060
/// </summary>
6161
/// <param name="node">a <see cref="Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonNode" /> to deserialize from.</param>
6262
/// <returns>
63-
/// an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.IProxyResourceAutoGenerated.
63+
/// an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated.
6464
/// </returns>
65-
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.IProxyResourceAutoGenerated FromJson(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonNode node)
65+
public static Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.IProxyResourceAutoGenerated FromJson(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonNode node)
6666
{
6767
return node is Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonObject json ? new ProxyResourceAutoGenerated(json) : null;
6868
}
@@ -79,7 +79,7 @@ internal ProxyResourceAutoGenerated(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.
7979
{
8080
return;
8181
}
82-
__resource = new Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api40.Resource(json);
82+
__resourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api30.ResourceAutoGenerated(json);
8383
AfterFromJson(json);
8484
}
8585

@@ -102,7 +102,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Runtime.Json.JsonNode ToJson(
102102
{
103103
return container;
104104
}
105-
__resource?.ToJson(container, serializationMode);
105+
__resourceAutoGenerated?.ToJson(container, serializationMode);
106106
AfterToJson(ref container);
107107
return container;
108108
}

0 commit comments

Comments
 (0)