Beispiel #1
0
        public void DeleteSSLTest()
        {
            var entity   = new DeleteSSLRequest(Config.region, sslId);
            var response = ulb.DeleteSSL(entity);

            Assert.AreEqual(response.RetCode, 0);
        }
Beispiel #2
0
        /// <summary>
        /// 删除SSL证书
        /// </summary>
        /// <param name="requestParams">请求参数.</param>
        /// <returns>返回对象<see cref="UCloudSDK.Models.DeleteSSLResponse"/></returns>
        public DeleteSSLResponse DeleteSSL(DeleteSSLRequest requestParams)
        {
            var request = new RestRequest(Method.GET);

            request.AddUObject(requestParams);
            return(Execute <DeleteSSLResponse>(request));
        }