Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit 7e76fd2

Browse files
committed
Add CreateAndStartBackupPlan.
1 parent 1a74770 commit 7e76fd2

File tree

5 files changed

+858
-0
lines changed

5 files changed

+858
-0
lines changed

aliyun-php-sdk-dbs/ChangeLog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2021-01-07 Version: 1.0.29
2+
- Add CreateAndStartBackupPlan.
3+
- Add DescribeDLAService.
4+
- Add CreateDLAService.
5+
- Add CloseDLAService.
6+
17
2020-12-29 Version: 1.0.27
28
- Add DisableBackupLog.
39
- Add EnableBackupLog.
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?php
2+
3+
namespace Dbs\Request\V20190306;
4+
5+
/**
6+
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
7+
*
8+
* Request of CloseDLAService
9+
*
10+
* @method string getClientToken()
11+
* @method string getBackupPlanId()
12+
* @method string getOwnerId()
13+
*/
14+
class CloseDLAServiceRequest extends \RpcAcsRequest
15+
{
16+
17+
/**
18+
* @var string
19+
*/
20+
protected $method = 'POST';
21+
22+
/**
23+
* Class constructor.
24+
*/
25+
public function __construct()
26+
{
27+
parent::__construct(
28+
'Dbs',
29+
'2019-03-06',
30+
'CloseDLAService',
31+
'cbs'
32+
);
33+
}
34+
35+
/**
36+
* @param string $clientToken
37+
*
38+
* @return $this
39+
*/
40+
public function setClientToken($clientToken)
41+
{
42+
$this->requestParameters['ClientToken'] = $clientToken;
43+
$this->queryParameters['ClientToken'] = $clientToken;
44+
45+
return $this;
46+
}
47+
48+
/**
49+
* @param string $backupPlanId
50+
*
51+
* @return $this
52+
*/
53+
public function setBackupPlanId($backupPlanId)
54+
{
55+
$this->requestParameters['BackupPlanId'] = $backupPlanId;
56+
$this->queryParameters['BackupPlanId'] = $backupPlanId;
57+
58+
return $this;
59+
}
60+
61+
/**
62+
* @param string $ownerId
63+
*
64+
* @return $this
65+
*/
66+
public function setOwnerId($ownerId)
67+
{
68+
$this->requestParameters['OwnerId'] = $ownerId;
69+
$this->queryParameters['OwnerId'] = $ownerId;
70+
71+
return $this;
72+
}
73+
}

0 commit comments

Comments
 (0)