Skip to content

Commit

Permalink
Make extended location specific to PSNetworkInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Ehrich committed Jun 4, 2021
1 parent fbb34e7 commit edb4bae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Network/Network/Models/PSNetworkInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions src/Network/Network/Models/PSTopLevelResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit edb4bae

Please sign in to comment.