Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateBondParameters" /> class.
 /// </summary>
 /// <param name="bondingMode">Specifies the new bonding mode. &#39;kActiveBackup&#39; indicates active backup bonding mode. &#39;k802_3ad&#39; indicates 802.3ad bonding mode. (required).</param>
 /// <param name="lacpRate">Specifies the LACP rate. If not specified, This value will default to 0 (slow)..</param>
 /// <param name="name">Specifies the name of the bond being updated. (required).</param>
 /// <param name="xmitHashPolicy">Specifies the xmit hash policy. If not specified, This value will default to 1 (layer3+4)..</param>
 public UpdateBondParameters(BondingModeEnum bondingMode = default(BondingModeEnum), string lacpRate = default(string), string name = default(string), string xmitHashPolicy = default(string))
 {
     this.BondingMode    = bondingMode;
     this.LacpRate       = lacpRate;
     this.Name           = name;
     this.XmitHashPolicy = xmitHashPolicy;
     this.LacpRate       = lacpRate;
     this.XmitHashPolicy = xmitHashPolicy;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateBondParameters" /> class.
 /// </summary>
 /// <param name="bondingMode">Specifies the new bonding mode. &#39;kActiveBackup&#39; indicates active backup bonding mode. &#39;k802_3ad&#39; indicates 802.3ad bonding mode. (required).</param>
 /// <param name="name">Specifies the name of the bond being updated. (required).</param>
 public UpdateBondParameters(BondingModeEnum bondingMode = default(BondingModeEnum), string name = default(string))
 {
     this.BondingMode = bondingMode;
     this.Name        = name;
 }