Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineScaleSetIPConfigurationInner class.
 /// </summary>
 /// <param name="name">The IP configuration name.</param>
 /// <param name="subnet">Specifies the identifier of the
 /// subnet.</param>
 /// <param name="primary">Specifies the primary network interface in
 /// case the virtual machine has more than 1 network interface.</param>
 /// <param name="publicIPAddressConfiguration">The
 /// publicIPAddressConfiguration.</param>
 /// <param name="privateIPAddressVersion">Available from Api-Version
 /// 2017-03-30 onwards, it represents whether the specific
 /// ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
 /// Possible values are: 'IPv4' and 'IPv6'. Possible values include:
 /// 'IPv4', 'IPv6'</param>
 /// <param name="applicationGatewayBackendAddressPools">Specifies an
 /// array of references to backend address pools of application
 /// gateways. A scale set can reference backend address pools of
 /// multiple application gateways. Multiple scale sets cannot use the
 /// same application gateway.</param>
 /// <param name="loadBalancerBackendAddressPools">Specifies an array of
 /// references to backend address pools of load balancers. A scale set
 /// can reference backend address pools of one public and one internal
 /// load balancer. Multiple scale sets cannot use the same load
 /// balancer.</param>
 /// <param name="loadBalancerInboundNatPools">Specifies an array of
 /// references to inbound Nat pools of the load balancers. A scale set
 /// can reference inbound nat pools of one public and one internal load
 /// balancer. Multiple scale sets cannot use the same load
 /// balancer</param>
 public VirtualMachineScaleSetIPConfigurationInner(string name, string id = default(string), ApiEntityReference subnet = default(ApiEntityReference), bool?primary = default(bool?), VirtualMachineScaleSetPublicIPAddressConfiguration publicIPAddressConfiguration = default(VirtualMachineScaleSetPublicIPAddressConfiguration), string privateIPAddressVersion = default(string), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> applicationGatewayBackendAddressPools = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> loadBalancerBackendAddressPools = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> loadBalancerInboundNatPools = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>))
     : base(id)
 {
     Name    = name;
     Subnet  = subnet;
     Primary = primary;
     PublicIPAddressConfiguration          = publicIPAddressConfiguration;
     PrivateIPAddressVersion               = privateIPAddressVersion;
     ApplicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools;
     LoadBalancerBackendAddressPools       = loadBalancerBackendAddressPools;
     LoadBalancerInboundNatPools           = loadBalancerInboundNatPools;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineScaleSetUpdateNetworkProfile class.
 /// </summary>
 /// <param name="healthProbe">A reference to a load balancer probe used
 /// to determine the health of an instance in the virtual machine scale
 /// set. The reference will be in the form:
 /// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.</param>
 /// <param name="networkInterfaceConfigurations">The list of network
 /// configurations.</param>
 public VirtualMachineScaleSetUpdateNetworkProfile(ApiEntityReference healthProbe = default(ApiEntityReference), IList <VirtualMachineScaleSetUpdateNetworkConfigurationInner> networkInterfaceConfigurations = default(IList <VirtualMachineScaleSetUpdateNetworkConfigurationInner>))
 {
     HealthProbe = healthProbe;
     NetworkInterfaceConfigurations = networkInterfaceConfigurations;
     CustomInit();
 }