当前位置:   article > 正文

华为sdk依赖+slf4j依赖(初次使用华为sdk)_: com.huaweicloud.sdk.core.region.iregionprovider

: com.huaweicloud.sdk.core.region.iregionprovider
<dependency>
  <groupId>com.huaweicloud.sdk</groupId>
  <artifactId>huaweicloud-sdk-vpc</artifactId>
  <version>3.0.60</version>
</dependency>
<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>slf4j-nop</artifactId>
  <version>1.7.2</version>
</dependency>

package demo.sdk;
import com.huaweicloud.sdk.core.auth.ICredential;
import com.huaweicloud.sdk.core.auth.BasicCredentials;
import com.huaweicloud.sdk.core.exception.ConnectionException;
import com.huaweicloud.sdk.core.exception.RequestTimeoutException;
import com.huaweicloud.sdk.core.exception.ServiceResponseException;
import com.huaweicloud.sdk.vpc.v2.region.VpcRegion;
import com.huaweicloud.sdk.vpc.v2.*;
import com.huaweicloud.sdk.vpc.v2.model.*;

public class ListVpcsSolution {

    public static void main(String[] args) {
        String ak = "ak";
        String sk = "sk
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/298181
推荐阅读
相关标签
  

闽ICP备14008679号