示例#1
0
 /// <summary>
 /// Initializes a new instance of the
 /// LBFrontendIPConfigurationResourceSettings class.
 /// </summary>
 /// <param name="name">Gets or sets the frontend IP configuration
 /// name.</param>
 /// <param name="privateIpAddress">Gets or sets the IP address of the
 /// Load Balancer.This is only specified if a specific
 /// private IP address shall be allocated from the subnet specified in
 /// subnetRef.</param>
 /// <param name="privateIpAllocationMethod">Gets or sets PrivateIP
 /// allocation method (Static/Dynamic).</param>
 /// <param name="zones">Gets or sets the csv list of zones.</param>
 public LBFrontendIPConfigurationResourceSettings(string name = default(string), string privateIpAddress = default(string), string privateIpAllocationMethod = default(string), SubnetReference subnet = default(SubnetReference), string zones = default(string))
 {
     Name                      = name;
     PrivateIpAddress          = privateIpAddress;
     PrivateIpAllocationMethod = privateIpAllocationMethod;
     Subnet                    = subnet;
     Zones                     = zones;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the
 /// NicIpConfigurationResourceSettings class.
 /// </summary>
 /// <param name="name">Gets or sets the IP configuration name.</param>
 /// <param name="privateIpAddress">Gets or sets the private IP address
 /// of the network interface IP Configuration.</param>
 /// <param name="privateIpAllocationMethod">Gets or sets the private IP
 /// address allocation method.</param>
 /// <param name="primary">Gets or sets a value indicating whether this
 /// IP configuration is the primary.</param>
 /// <param name="loadBalancerBackendAddressPools">Gets or sets the
 /// references of the load balancer backend address pools.</param>
 public NicIpConfigurationResourceSettings(string name = default(string), string privateIpAddress = default(string), string privateIpAllocationMethod = default(string), SubnetReference subnet = default(SubnetReference), bool?primary = default(bool?), IList <LoadBalancerBackendAddressPoolReference> loadBalancerBackendAddressPools = default(IList <LoadBalancerBackendAddressPoolReference>))
 {
     Name                            = name;
     PrivateIpAddress                = privateIpAddress;
     PrivateIpAllocationMethod       = privateIpAllocationMethod;
     Subnet                          = subnet;
     Primary                         = primary;
     LoadBalancerBackendAddressPools = loadBalancerBackendAddressPools;
     CustomInit();
 }