async getRoutineStagingEnvIp()

in src/libs/apiService.ts [561:599]


  async getRoutineStagingEnvIp(): Promise<GetRoutineStagingEnvIpRes | null> {
    try {
      let params = {
        action: 'GetRoutineStagingEnvIp',
        version: '2024-09-10',
        protocol: 'https',
        method: 'GET',
        authType: 'AK',
        bodyType: 'json',
        reqBodyType: 'json',
        style: 'RPC',
        pathname: '/',
        toMap: function () {
          return this;
        }
      };

      let request = new $OpenApi.OpenApiRequest({});
      let runtime = {
        toMap: function () {
          return this;
        }
      };
      const res = await this.client.callApi(params, request, runtime);
      if (res.statusCode === 200) {
        const response: GetRoutineStagingEnvIpRes = {
          code: res.statusCode,
          data: {
            IPV4: res.body.IPV4,
            RequestId: res.body.RequestId
          }
        };
        return response;
      }
    } catch (error) {
      console.log(error);
    }
    return null;
  }