public PSDataBoxEdgeNetworkSetting(NetworkSettings networkSettings) { if (networkSettings == null) { throw new ArgumentNullException(nameof(networkSettings)); } this.NetworkSettings = networkSettings; this.Id = networkSettings.Id; var dataBoxEdgeResourceIdentifier = new DataBoxEdgeResourceIdentifier(networkSettings.Id); this.ResourceGroupName = dataBoxEdgeResourceIdentifier.ResourceGroupName; this.DeviceName = dataBoxEdgeResourceIdentifier.DeviceName; this.Name = dataBoxEdgeResourceIdentifier.Name; this.NetworkAdapters = networkSettings.NetworkAdapters.Select(t => new PSDataBoxEdgeNetworkAdapter(this.DeviceName, t)).ToList(); }
public PSDataBoxEdgeNetworkSetting() { NetworkSettings = new NetworkSettings(); }
public PSStackEdgeNetworkSetting() { NetworkSettings = new NetworkSettings(); }