/// <summary> /// 修改负载均衡实例属性 /// </summary> /// <param name="requestParams">请求参数.</param> /// <returns>返回对象<see cref="UCloudSDK.Models.UpdateULBAttributeResponse"/></returns> public UpdateULBAttributeResponse UpdateULBAttribute(UpdateULBAttributeRequest requestParams) { var request = new RestRequest(Method.GET); request.AddUObject(requestParams); return(Execute <UpdateULBAttributeResponse>(request)); }
public void UpdateULBAttributeTest() { var entity = new UpdateULBAttributeRequest(Config.region, ulbId); entity.Name = "icyUlb"; var response = ulb.UpdateULBAttribute(entity); Assert.AreEqual(response.RetCode, 0); }