Exemple #1
0
        public void TestAssignSecondaryIps()
        {
            VpcClient vpcClient = GetVpcClient();
            AssignSecondaryIpsRequest request = new AssignSecondaryIpsRequest();

            request.RegionId           = "cn-north-1";
            request.NetworkInterfaceId = "port-ovvw8hxuwe";
            List <string> secondIpList = new List <string>();

            secondIpList.Add("10.100.0.19");
            // request.SecondaryIpCount = 1.0M;
            var result = vpcClient.AssignSecondaryIps(request).Result;

            _output.WriteLine(JsonConvert.SerializeObject(result));
        }