diff --git a/src/Network/Network/Models/PSNetworkInterface.cs b/src/Network/Network/Models/PSNetworkInterface.cs index f51da0dfe175..1192f672a9eb 100644 --- a/src/Network/Network/Models/PSNetworkInterface.cs +++ b/src/Network/Network/Models/PSNetworkInterface.cs @@ -86,6 +86,8 @@ public string PrivateEndpointText get { return JsonConvert.SerializeObject(PrivateEndpoint, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + public PSExtendedLocation ExtendedLocation { get; set; } + public bool ShouldSerializeIpConfigurations() { return !string.IsNullOrEmpty(this.Name); diff --git a/src/Network/Network/Models/PSTopLevelResource.cs b/src/Network/Network/Models/PSTopLevelResource.cs index cad7a2852c3f..0888bfa7edb9 100644 --- a/src/Network/Network/Models/PSTopLevelResource.cs +++ b/src/Network/Network/Models/PSTopLevelResource.cs @@ -26,8 +26,6 @@ public class PSTopLevelResource : PSChildResource [Ps1Xml(Label = "Location", Target = ViewControl.Table, Position = 2)] public string Location { get; set; } - public PSExtendedLocation ExtendedLocation { get; set; } - public string ResourceGuid { get; set; } public string Type { get; set; }