Beispiel #1
0
 public NetworkInterface(JToken resourceToken) : base(resourceToken)
 {
     foreach (JToken networkInterfaceIpConfigurationToken in ResourceToken["properties"]["ipConfigurations"])
     {
         NetworkInterfaceIpConfiguration networkInterfaceIpConfiguration = new NetworkInterfaceIpConfiguration(networkInterfaceIpConfigurationToken);
         _NetworkInterfaceIpConfigurations.Add(networkInterfaceIpConfiguration);
     }
 }
Beispiel #2
0
 public NetworkInterface(AzureSubscription azureSubscription, JToken resourceToken) : base(azureSubscription, resourceToken)
 {
     foreach (JToken networkInterfaceIpConfigurationToken in ResourceToken["properties"]["ipConfigurations"])
     {
         NetworkInterfaceIpConfiguration networkInterfaceIpConfiguration = new NetworkInterfaceIpConfiguration(azureSubscription, networkInterfaceIpConfigurationToken);
         _NetworkInterfaceIpConfigurations.Add(networkInterfaceIpConfiguration);
     }
 }