Skip to content

Commit 9d3cf1d

Browse files
[skip ci] Archive d07d809 (#28793)
1 parent 89e49d2 commit 9d3cf1d

File tree

137 files changed

+203
-77
lines changed

Some content is hidden

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

137 files changed

+203
-77
lines changed

generated/MySql/MySql.Autorest/Az.MySql.format.ps1xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@
118118
</TableControl>
119119
</View>
120120
<View>
121-
<Name>Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api40.ProxyResource</Name>
121+
<Name>Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api40.ProxyResourceAutoGenerated</Name>
122122
<ViewSelectedBy>
123-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api40.ProxyResource</TypeName>
123+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api40.ProxyResourceAutoGenerated</TypeName>
124124
</ViewSelectedBy>
125125
<TableControl>
126126
<TableHeaders>
@@ -2038,9 +2038,9 @@
20382038
</TableControl>
20392039
</View>
20402040
<View>
2041-
<Name>Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResourceAutoGenerated</Name>
2041+
<Name>Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource</Name>
20422042
<ViewSelectedBy>
2043-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResourceAutoGenerated</TypeName>
2043+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource</TypeName>
20442044
</ViewSelectedBy>
20452045
<TableControl>
20462046
<TableHeaders>

generated/MySql/MySql.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - MySql")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.4.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("1.4.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.5.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.5.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "0fd19a8b-c643-4d30-bdff-b0e6c750101b"
2+
"generate_Id": "38c8887a-4aab-412b-9b14-0e5cace59548"
33
}
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10
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(ProxyResourceAutoGeneratedTypeConverter))]
14-
public partial class ProxyResourceAutoGenerated
13+
[System.ComponentModel.TypeConverter(typeof(ProxyResourceTypeConverter))]
14+
public partial class ProxyResource
1515
{
1616

1717
/// <summary>
@@ -57,44 +57,44 @@ public partial class ProxyResourceAutoGenerated
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.MySql.Models.Api10.ProxyResourceAutoGenerated"
60+
/// Deserializes a <see cref="global::System.Collections.IDictionary" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource"
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.MySql.Models.Api10.IProxyResourceAutoGenerated" />.
65+
/// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResource" />.
6666
/// </returns>
67-
public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResourceAutoGenerated DeserializeFromDictionary(global::System.Collections.IDictionary content)
67+
public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResource DeserializeFromDictionary(global::System.Collections.IDictionary content)
6868
{
69-
return new ProxyResourceAutoGenerated(content);
69+
return new ProxyResource(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.MySql.Models.Api10.ProxyResourceAutoGenerated"
73+
/// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource"
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.MySql.Models.Api10.IProxyResourceAutoGenerated" />.
78+
/// an instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResource" />.
7979
/// </returns>
80-
public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResourceAutoGenerated DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
80+
public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content)
8181
{
82-
return new ProxyResourceAutoGenerated(content);
82+
return new ProxyResource(content);
8383
}
8484

8585
/// <summary>
86-
/// Creates a new instance of <see cref="ProxyResourceAutoGenerated" />, deserializing the content from a json string.
86+
/// Creates a new instance of <see cref="ProxyResource" />, 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="ProxyResourceAutoGenerated" /> model class.</returns>
90-
public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResourceAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Json.JsonNode.Parse(jsonText));
89+
/// <returns>an instance of the <see cref="ProxyResource" /> model class.</returns>
90+
public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.MySql.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.MySql.Models.Api10.ProxyResourceAutoGenerated"
93+
/// Deserializes a <see cref="global::System.Collections.IDictionary" /> into a new instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource"
9494
/// />.
9595
/// </summary>
9696
/// <param name="content">The global::System.Collections.IDictionary content that should be used.</param>
97-
internal ProxyResourceAutoGenerated(global::System.Collections.IDictionary content)
97+
internal ProxyResource(global::System.Collections.IDictionary content)
9898
{
9999
bool returnNow = false;
100100
BeforeDeserializeDictionary(content, ref returnNow);
@@ -119,11 +119,11 @@ internal ProxyResourceAutoGenerated(global::System.Collections.IDictionary conte
119119
}
120120

121121
/// <summary>
122-
/// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into a new instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResourceAutoGenerated"
122+
/// Deserializes a <see cref="global::System.Management.Automation.PSObject" /> into a new instance of <see cref="Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.ProxyResource"
123123
/// />.
124124
/// </summary>
125125
/// <param name="content">The global::System.Management.Automation.PSObject content that should be used.</param>
126-
internal ProxyResourceAutoGenerated(global::System.Management.Automation.PSObject content)
126+
internal ProxyResource(global::System.Management.Automation.PSObject content)
127127
{
128128
bool returnNow = false;
129129
BeforeDeserializePSObject(content, ref returnNow);
@@ -153,8 +153,8 @@ internal ProxyResourceAutoGenerated(global::System.Management.Automation.PSObjec
153153
public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SerializationMode.IncludeAll)?.ToString();
154154
}
155155
/// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
156-
[System.ComponentModel.TypeConverter(typeof(ProxyResourceAutoGeneratedTypeConverter))]
157-
public partial interface IProxyResourceAutoGenerated
156+
[System.ComponentModel.TypeConverter(typeof(ProxyResourceTypeConverter))]
157+
public partial interface IProxyResource
158158

159159
{
160160

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.MySql.Models.Api40
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10
77
{
88
using Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.PowerShell;
99

@@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue)
106106
/// <returns>
107107
/// an instance of <see cref="ProxyResource" />, or <c>null</c> if there is no suitable conversion.
108108
/// </returns>
109-
public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api40.IProxyResource ConvertFrom(dynamic sourceValue)
109+
public static Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResource 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.MySql.Models.Api40.IProxyResource).IsAssignableFrom(type))
116+
if (typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResource).IsAssignableFrom(type))
117117
{
118118
return sourceValue;
119119
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10
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 ProxyResourceAutoGenerated :
14-
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResourceAutoGenerated,
15-
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResourceAutoGeneratedInternal,
13+
public partial class ProxyResource :
14+
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResource,
15+
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IProxyResourceInternal,
1616
Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.IValidates
1717
{
1818
/// <summary>
@@ -45,8 +45,8 @@ public partial class ProxyResourceAutoGenerated :
4545
[Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inherited)]
4646
public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal)__resource).Type; }
4747

48-
/// <summary>Creates an new <see cref="ProxyResourceAutoGenerated" /> instance.</summary>
49-
public ProxyResourceAutoGenerated()
48+
/// <summary>Creates an new <see cref="ProxyResource" /> instance.</summary>
49+
public ProxyResource()
5050
{
5151

5252
}
@@ -64,14 +64,14 @@ public ProxyResourceAutoGenerated()
6464
}
6565
}
6666
/// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
67-
public partial interface IProxyResourceAutoGenerated :
67+
public partial interface IProxyResource :
6868
Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.IJsonSerializable,
6969
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResource
7070
{
7171

7272
}
7373
/// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
74-
internal partial interface IProxyResourceAutoGeneratedInternal :
74+
internal partial interface IProxyResourceInternal :
7575
Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10.IResourceInternal
7676
{
7777

generated/MySql/MySql.Autorest/generated/api/Models/Api40/ProxyResource.json.cs renamed to generated/MySql/MySql.Autorest/generated/api/Models/Api10/ProxyResource.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.MySql.Models.Api40
6+
namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api10
77
{
88
using static Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Extensions;
99

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

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

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

0 commit comments

Comments
 (0)