@huaweicloud/huaweicloud-sdk-cbr 3.1.84 → 3.1.86
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/CbrClient.d.ts +159 -0
- package/v1/CbrClient.d.ts.map +1 -1
- package/v1/CbrClient.js +304 -0
- package/v1/CbrClient.js.map +1 -1
- package/v1/model/BackupExtendInfo.d.ts +0 -2
- package/v1/model/BackupExtendInfo.d.ts.map +1 -1
- package/v1/model/BackupExtendInfo.js +0 -4
- package/v1/model/BackupExtendInfo.js.map +1 -1
- package/v1/model/BackupResp.d.ts +2 -0
- package/v1/model/BackupResp.d.ts.map +1 -1
- package/v1/model/BackupResp.js +4 -0
- package/v1/model/BackupResp.js.map +1 -1
- package/v1/model/CreateOrganizationPolicyRequest.d.ts +7 -0
- package/v1/model/CreateOrganizationPolicyRequest.d.ts.map +1 -0
- package/v1/model/CreateOrganizationPolicyRequest.js +13 -0
- package/v1/model/CreateOrganizationPolicyRequest.js.map +1 -0
- package/v1/model/CreateOrganizationPolicyResponse.d.ts +8 -0
- package/v1/model/CreateOrganizationPolicyResponse.d.ts.map +1 -0
- package/v1/model/CreateOrganizationPolicyResponse.js +15 -0
- package/v1/model/CreateOrganizationPolicyResponse.js.map +1 -0
- package/v1/model/DeleteOrganizationPolicyRequest.d.ts +8 -0
- package/v1/model/DeleteOrganizationPolicyRequest.d.ts.map +1 -0
- package/v1/model/DeleteOrganizationPolicyRequest.js +20 -0
- package/v1/model/DeleteOrganizationPolicyRequest.js.map +1 -0
- package/v1/model/DeleteOrganizationPolicyResponse.d.ts +5 -0
- package/v1/model/DeleteOrganizationPolicyResponse.d.ts.map +1 -0
- package/v1/model/DeleteOrganizationPolicyResponse.js +11 -0
- package/v1/model/DeleteOrganizationPolicyResponse.js.map +1 -0
- package/v1/model/ListExternalVaultResponse.d.ts +0 -4
- package/v1/model/ListExternalVaultResponse.d.ts.map +1 -1
- package/v1/model/ListExternalVaultResponse.js +0 -10
- package/v1/model/ListExternalVaultResponse.js.map +1 -1
- package/v1/model/ListOrganizationPoliciesRequest.d.ts +8 -0
- package/v1/model/ListOrganizationPoliciesRequest.d.ts.map +1 -0
- package/v1/model/ListOrganizationPoliciesRequest.js +20 -0
- package/v1/model/ListOrganizationPoliciesRequest.js.map +1 -0
- package/v1/model/ListOrganizationPoliciesResponse.d.ts +14 -0
- package/v1/model/ListOrganizationPoliciesResponse.d.ts.map +1 -0
- package/v1/model/ListOrganizationPoliciesResponse.js +27 -0
- package/v1/model/ListOrganizationPoliciesResponse.js.map +1 -0
- package/v1/model/ListOrganizationPolicyDetailRequest.d.ts +8 -0
- package/v1/model/ListOrganizationPolicyDetailRequest.d.ts.map +1 -0
- package/v1/model/ListOrganizationPolicyDetailRequest.js +20 -0
- package/v1/model/ListOrganizationPolicyDetailRequest.js.map +1 -0
- package/v1/model/ListOrganizationPolicyDetailResponse.d.ts +14 -0
- package/v1/model/ListOrganizationPolicyDetailResponse.d.ts.map +1 -0
- package/v1/model/ListOrganizationPolicyDetailResponse.js +27 -0
- package/v1/model/ListOrganizationPolicyDetailResponse.js.map +1 -0
- package/v1/model/ListVaultResponse.d.ts +0 -4
- package/v1/model/ListVaultResponse.d.ts.map +1 -1
- package/v1/model/ListVaultResponse.js +0 -10
- package/v1/model/ListVaultResponse.js.map +1 -1
- package/v1/model/OrganizationPolicy.d.ts +50 -0
- package/v1/model/OrganizationPolicy.d.ts.map +1 -0
- package/v1/model/OrganizationPolicy.js +113 -0
- package/v1/model/OrganizationPolicy.js.map +1 -0
- package/v1/model/OrganizationPolicyCreate.d.ts +38 -0
- package/v1/model/OrganizationPolicyCreate.d.ts.map +1 -0
- package/v1/model/OrganizationPolicyCreate.js +82 -0
- package/v1/model/OrganizationPolicyCreate.js.map +1 -0
- package/v1/model/OrganizationPolicyCreateReq.d.ts +7 -0
- package/v1/model/OrganizationPolicyCreateReq.d.ts.map +1 -0
- package/v1/model/OrganizationPolicyCreateReq.js +14 -0
- package/v1/model/OrganizationPolicyCreateReq.js.map +1 -0
- package/v1/model/OrganizationPolicyStatus.d.ts +18 -0
- package/v1/model/OrganizationPolicyStatus.d.ts.map +1 -0
- package/v1/model/OrganizationPolicyStatus.js +47 -0
- package/v1/model/OrganizationPolicyStatus.js.map +1 -0
- package/v1/model/OrganizationPolicyUpdate.d.ts +26 -0
- package/v1/model/OrganizationPolicyUpdate.d.ts.map +1 -0
- package/v1/model/OrganizationPolicyUpdate.js +57 -0
- package/v1/model/OrganizationPolicyUpdate.js.map +1 -0
- package/v1/model/OrganizationPolicyUpdateReq.d.ts +7 -0
- package/v1/model/OrganizationPolicyUpdateReq.d.ts.map +1 -0
- package/v1/model/OrganizationPolicyUpdateReq.js +14 -0
- package/v1/model/OrganizationPolicyUpdateReq.js.map +1 -0
- package/v1/model/ShowOrganizationPolicyRequest.d.ts +8 -0
- package/v1/model/ShowOrganizationPolicyRequest.d.ts.map +1 -0
- package/v1/model/ShowOrganizationPolicyRequest.js +20 -0
- package/v1/model/ShowOrganizationPolicyRequest.js.map +1 -0
- package/v1/model/ShowOrganizationPolicyResponse.d.ts +8 -0
- package/v1/model/ShowOrganizationPolicyResponse.d.ts.map +1 -0
- package/v1/model/ShowOrganizationPolicyResponse.js +15 -0
- package/v1/model/ShowOrganizationPolicyResponse.js.map +1 -0
- package/v1/model/UpdateOrganizationPolicyRequest.d.ts +11 -0
- package/v1/model/UpdateOrganizationPolicyRequest.d.ts.map +1 -0
- package/v1/model/UpdateOrganizationPolicyRequest.js +24 -0
- package/v1/model/UpdateOrganizationPolicyRequest.js.map +1 -0
- package/v1/model/UpdateOrganizationPolicyResponse.d.ts +8 -0
- package/v1/model/UpdateOrganizationPolicyResponse.d.ts.map +1 -0
- package/v1/model/UpdateOrganizationPolicyResponse.js +15 -0
- package/v1/model/UpdateOrganizationPolicyResponse.js.map +1 -0
- package/v1/model/VaultCreate.d.ts +12 -0
- package/v1/model/VaultCreate.d.ts.map +1 -1
- package/v1/model/VaultCreate.js +20 -1
- package/v1/model/VaultCreate.js.map +1 -1
- package/v1/public-api.d.ts +18 -0
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +18 -0
- package/v1/public-api.js.map +1 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateOrganizationPolicyResponse = void 0;
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
5
|
+
class CreateOrganizationPolicyResponse extends SdkResponse_1.SdkResponse {
|
6
|
+
constructor() {
|
7
|
+
super();
|
8
|
+
}
|
9
|
+
withPolicy(policy) {
|
10
|
+
this['policy'] = policy;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
exports.CreateOrganizationPolicyResponse = CreateOrganizationPolicyResponse;
|
15
|
+
//# sourceMappingURL=CreateOrganizationPolicyResponse.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CreateOrganizationPolicyResponse.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/CreateOrganizationPolicyResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,gCAAiC,SAAQ,yBAAW;IAE7D;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,UAAU,CAAC,MAA0B;QACxC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AATD,4EASC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare class DeleteOrganizationPolicyRequest {
|
2
|
+
private 'organization_policy_id'?;
|
3
|
+
constructor(organizationPolicyId?: string);
|
4
|
+
withOrganizationPolicyId(organizationPolicyId: string): DeleteOrganizationPolicyRequest;
|
5
|
+
set organizationPolicyId(organizationPolicyId: string | undefined);
|
6
|
+
get organizationPolicyId(): string | undefined;
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=DeleteOrganizationPolicyRequest.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DeleteOrganizationPolicyRequest.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/DeleteOrganizationPolicyRequest.ts"],"names":[],"mappings":"AAEA,qBAAa,+BAA+B;IACxC,OAAO,CAAC,wBAAwB,CAAC,CAAS;gBACvB,oBAAoB,CAAC,EAAE,MAAM;IAGzC,wBAAwB,CAAC,oBAAoB,EAAE,MAAM,GAAG,+BAA+B;IAI9F,IAAW,oBAAoB,CAAC,oBAAoB,EAAE,MAAM,GAAI,SAAS,EAExE;IACD,IAAW,oBAAoB,IAAI,MAAM,GAAG,SAAS,CAEpD;CACJ"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeleteOrganizationPolicyRequest = void 0;
|
4
|
+
class DeleteOrganizationPolicyRequest {
|
5
|
+
constructor(organizationPolicyId) {
|
6
|
+
this['organization_policy_id'] = organizationPolicyId;
|
7
|
+
}
|
8
|
+
withOrganizationPolicyId(organizationPolicyId) {
|
9
|
+
this['organization_policy_id'] = organizationPolicyId;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
set organizationPolicyId(organizationPolicyId) {
|
13
|
+
this['organization_policy_id'] = organizationPolicyId;
|
14
|
+
}
|
15
|
+
get organizationPolicyId() {
|
16
|
+
return this['organization_policy_id'];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
exports.DeleteOrganizationPolicyRequest = DeleteOrganizationPolicyRequest;
|
20
|
+
//# sourceMappingURL=DeleteOrganizationPolicyRequest.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DeleteOrganizationPolicyRequest.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/DeleteOrganizationPolicyRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,+BAA+B;IAExC,YAAmB,oBAA6B;QAC5C,IAAI,CAAC,wBAAwB,CAAC,GAAG,oBAAoB,CAAC;IAC1D,CAAC;IACM,wBAAwB,CAAC,oBAA4B;QACxD,IAAI,CAAC,wBAAwB,CAAC,GAAG,oBAAoB,CAAC;QACtD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,oBAAoB,CAAC,oBAAyC;QACrE,IAAI,CAAC,wBAAwB,CAAC,GAAG,oBAAoB,CAAC;IAC1D,CAAC;IACD,IAAW,oBAAoB;QAC3B,OAAO,IAAI,CAAC,wBAAwB,CAAC,CAAC;IAC1C,CAAC;CACJ;AAfD,0EAeC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DeleteOrganizationPolicyResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/DeleteOrganizationPolicyResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,gCAAiC,SAAQ,WAAW;;CAIhE"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeleteOrganizationPolicyResponse = void 0;
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
5
|
+
class DeleteOrganizationPolicyResponse extends SdkResponse_1.SdkResponse {
|
6
|
+
constructor() {
|
7
|
+
super();
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.DeleteOrganizationPolicyResponse = DeleteOrganizationPolicyResponse;
|
11
|
+
//# sourceMappingURL=DeleteOrganizationPolicyResponse.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DeleteOrganizationPolicyResponse.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/DeleteOrganizationPolicyResponse.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAE5E,MAAa,gCAAiC,SAAQ,yBAAW;IAC7D;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;CACJ;AAJD,4EAIC"}
|
@@ -5,14 +5,10 @@ export declare class ListExternalVaultResponse extends SdkResponse {
|
|
5
5
|
count?: number;
|
6
6
|
limit?: number;
|
7
7
|
offset?: number;
|
8
|
-
private 'sys_lock_source_service'?;
|
9
8
|
constructor();
|
10
9
|
withVaults(vaults: Array<Vault>): ListExternalVaultResponse;
|
11
10
|
withCount(count: number): ListExternalVaultResponse;
|
12
11
|
withLimit(limit: number): ListExternalVaultResponse;
|
13
12
|
withOffset(offset: number): ListExternalVaultResponse;
|
14
|
-
withSysLockSourceService(sysLockSourceService: string): ListExternalVaultResponse;
|
15
|
-
set sysLockSourceService(sysLockSourceService: string | undefined);
|
16
|
-
get sysLockSourceService(): string | undefined;
|
17
13
|
}
|
18
14
|
//# sourceMappingURL=ListExternalVaultResponse.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ListExternalVaultResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListExternalVaultResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,yBAA0B,SAAQ,WAAW;IAC/C,MAAM,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC
|
1
|
+
{"version":3,"file":"ListExternalVaultResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListExternalVaultResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,yBAA0B,SAAQ,WAAW;IAC/C,MAAM,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;;IAIhB,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,yBAAyB;IAI3D,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,yBAAyB;IAInD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,yBAAyB;IAInD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,yBAAyB;CAI/D"}
|
@@ -22,16 +22,6 @@ class ListExternalVaultResponse extends SdkResponse_1.SdkResponse {
|
|
22
22
|
this['offset'] = offset;
|
23
23
|
return this;
|
24
24
|
}
|
25
|
-
withSysLockSourceService(sysLockSourceService) {
|
26
|
-
this['sys_lock_source_service'] = sysLockSourceService;
|
27
|
-
return this;
|
28
|
-
}
|
29
|
-
set sysLockSourceService(sysLockSourceService) {
|
30
|
-
this['sys_lock_source_service'] = sysLockSourceService;
|
31
|
-
}
|
32
|
-
get sysLockSourceService() {
|
33
|
-
return this['sys_lock_source_service'];
|
34
|
-
}
|
35
25
|
}
|
36
26
|
exports.ListExternalVaultResponse = ListExternalVaultResponse;
|
37
27
|
//# sourceMappingURL=ListExternalVaultResponse.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ListExternalVaultResponse.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListExternalVaultResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,yBAA0B,SAAQ,yBAAW;
|
1
|
+
{"version":3,"file":"ListExternalVaultResponse.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListExternalVaultResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,yBAA0B,SAAQ,yBAAW;IAKtD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,UAAU,CAAC,MAAoB;QAClC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAxBD,8DAwBC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare class ListOrganizationPoliciesRequest {
|
2
|
+
private 'operation_type'?;
|
3
|
+
constructor(operationType?: string);
|
4
|
+
withOperationType(operationType: string): ListOrganizationPoliciesRequest;
|
5
|
+
set operationType(operationType: string | undefined);
|
6
|
+
get operationType(): string | undefined;
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=ListOrganizationPoliciesRequest.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListOrganizationPoliciesRequest.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListOrganizationPoliciesRequest.ts"],"names":[],"mappings":"AAEA,qBAAa,+BAA+B;IACxC,OAAO,CAAC,gBAAgB,CAAC,CAAS;gBACf,aAAa,CAAC,EAAE,MAAM;IAGlC,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,+BAA+B;IAIhF,IAAW,aAAa,CAAC,aAAa,EAAE,MAAM,GAAI,SAAS,EAE1D;IACD,IAAW,aAAa,IAAI,MAAM,GAAG,SAAS,CAE7C;CACJ"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListOrganizationPoliciesRequest = void 0;
|
4
|
+
class ListOrganizationPoliciesRequest {
|
5
|
+
constructor(operationType) {
|
6
|
+
this['operation_type'] = operationType;
|
7
|
+
}
|
8
|
+
withOperationType(operationType) {
|
9
|
+
this['operation_type'] = operationType;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
set operationType(operationType) {
|
13
|
+
this['operation_type'] = operationType;
|
14
|
+
}
|
15
|
+
get operationType() {
|
16
|
+
return this['operation_type'];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
exports.ListOrganizationPoliciesRequest = ListOrganizationPoliciesRequest;
|
20
|
+
//# sourceMappingURL=ListOrganizationPoliciesRequest.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListOrganizationPoliciesRequest.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListOrganizationPoliciesRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,+BAA+B;IAExC,YAAmB,aAAsB;QACrC,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;IAC3C,CAAC;IACM,iBAAiB,CAAC,aAAqB;QAC1C,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,aAAa,CAAC,aAAkC;QACvD,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;IAC3C,CAAC;IACD,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAClC,CAAC;CACJ;AAfD,0EAeC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { OrganizationPolicy } from './OrganizationPolicy';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListOrganizationPoliciesResponse extends SdkResponse {
|
4
|
+
policies?: Array<OrganizationPolicy>;
|
5
|
+
count?: number;
|
6
|
+
limit?: number;
|
7
|
+
offset?: number;
|
8
|
+
constructor();
|
9
|
+
withPolicies(policies: Array<OrganizationPolicy>): ListOrganizationPoliciesResponse;
|
10
|
+
withCount(count: number): ListOrganizationPoliciesResponse;
|
11
|
+
withLimit(limit: number): ListOrganizationPoliciesResponse;
|
12
|
+
withOffset(offset: number): ListOrganizationPoliciesResponse;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=ListOrganizationPoliciesResponse.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListOrganizationPoliciesResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListOrganizationPoliciesResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,gCAAiC,SAAQ,WAAW;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;;IAIhB,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,gCAAgC;IAInF,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,gCAAgC;IAI1D,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,gCAAgC;IAI1D,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,gCAAgC;CAItE"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListOrganizationPoliciesResponse = void 0;
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
5
|
+
class ListOrganizationPoliciesResponse extends SdkResponse_1.SdkResponse {
|
6
|
+
constructor() {
|
7
|
+
super();
|
8
|
+
}
|
9
|
+
withPolicies(policies) {
|
10
|
+
this['policies'] = policies;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
withCount(count) {
|
14
|
+
this['count'] = count;
|
15
|
+
return this;
|
16
|
+
}
|
17
|
+
withLimit(limit) {
|
18
|
+
this['limit'] = limit;
|
19
|
+
return this;
|
20
|
+
}
|
21
|
+
withOffset(offset) {
|
22
|
+
this['offset'] = offset;
|
23
|
+
return this;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
exports.ListOrganizationPoliciesResponse = ListOrganizationPoliciesResponse;
|
27
|
+
//# sourceMappingURL=ListOrganizationPoliciesResponse.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListOrganizationPoliciesResponse.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListOrganizationPoliciesResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,gCAAiC,SAAQ,yBAAW;IAK7D;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,YAAY,CAAC,QAAmC;QACnD,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAxBD,4EAwBC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare class ListOrganizationPolicyDetailRequest {
|
2
|
+
private 'organization_policy_id'?;
|
3
|
+
constructor(organizationPolicyId?: string);
|
4
|
+
withOrganizationPolicyId(organizationPolicyId: string): ListOrganizationPolicyDetailRequest;
|
5
|
+
set organizationPolicyId(organizationPolicyId: string | undefined);
|
6
|
+
get organizationPolicyId(): string | undefined;
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=ListOrganizationPolicyDetailRequest.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListOrganizationPolicyDetailRequest.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListOrganizationPolicyDetailRequest.ts"],"names":[],"mappings":"AAEA,qBAAa,mCAAmC;IAC5C,OAAO,CAAC,wBAAwB,CAAC,CAAS;gBACvB,oBAAoB,CAAC,EAAE,MAAM;IAGzC,wBAAwB,CAAC,oBAAoB,EAAE,MAAM,GAAG,mCAAmC;IAIlG,IAAW,oBAAoB,CAAC,oBAAoB,EAAE,MAAM,GAAI,SAAS,EAExE;IACD,IAAW,oBAAoB,IAAI,MAAM,GAAG,SAAS,CAEpD;CACJ"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListOrganizationPolicyDetailRequest = void 0;
|
4
|
+
class ListOrganizationPolicyDetailRequest {
|
5
|
+
constructor(organizationPolicyId) {
|
6
|
+
this['organization_policy_id'] = organizationPolicyId;
|
7
|
+
}
|
8
|
+
withOrganizationPolicyId(organizationPolicyId) {
|
9
|
+
this['organization_policy_id'] = organizationPolicyId;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
set organizationPolicyId(organizationPolicyId) {
|
13
|
+
this['organization_policy_id'] = organizationPolicyId;
|
14
|
+
}
|
15
|
+
get organizationPolicyId() {
|
16
|
+
return this['organization_policy_id'];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
exports.ListOrganizationPolicyDetailRequest = ListOrganizationPolicyDetailRequest;
|
20
|
+
//# sourceMappingURL=ListOrganizationPolicyDetailRequest.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListOrganizationPolicyDetailRequest.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListOrganizationPolicyDetailRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,mCAAmC;IAE5C,YAAmB,oBAA6B;QAC5C,IAAI,CAAC,wBAAwB,CAAC,GAAG,oBAAoB,CAAC;IAC1D,CAAC;IACM,wBAAwB,CAAC,oBAA4B;QACxD,IAAI,CAAC,wBAAwB,CAAC,GAAG,oBAAoB,CAAC;QACtD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,oBAAoB,CAAC,oBAAyC;QACrE,IAAI,CAAC,wBAAwB,CAAC,GAAG,oBAAoB,CAAC;IAC1D,CAAC;IACD,IAAW,oBAAoB;QAC3B,OAAO,IAAI,CAAC,wBAAwB,CAAC,CAAC;IAC1C,CAAC;CACJ;AAfD,kFAeC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { OrganizationPolicyStatus } from './OrganizationPolicyStatus';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListOrganizationPolicyDetailResponse extends SdkResponse {
|
4
|
+
policies?: Array<OrganizationPolicyStatus>;
|
5
|
+
count?: number;
|
6
|
+
limit?: number;
|
7
|
+
offset?: number;
|
8
|
+
constructor();
|
9
|
+
withPolicies(policies: Array<OrganizationPolicyStatus>): ListOrganizationPolicyDetailResponse;
|
10
|
+
withCount(count: number): ListOrganizationPolicyDetailResponse;
|
11
|
+
withLimit(limit: number): ListOrganizationPolicyDetailResponse;
|
12
|
+
withOffset(offset: number): ListOrganizationPolicyDetailResponse;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=ListOrganizationPolicyDetailResponse.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListOrganizationPolicyDetailResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListOrganizationPolicyDetailResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,oCAAqC,SAAQ,WAAW;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;;IAIhB,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,oCAAoC;IAI7F,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,oCAAoC;IAI9D,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,oCAAoC;IAI9D,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,oCAAoC;CAI1E"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListOrganizationPolicyDetailResponse = void 0;
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
5
|
+
class ListOrganizationPolicyDetailResponse extends SdkResponse_1.SdkResponse {
|
6
|
+
constructor() {
|
7
|
+
super();
|
8
|
+
}
|
9
|
+
withPolicies(policies) {
|
10
|
+
this['policies'] = policies;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
withCount(count) {
|
14
|
+
this['count'] = count;
|
15
|
+
return this;
|
16
|
+
}
|
17
|
+
withLimit(limit) {
|
18
|
+
this['limit'] = limit;
|
19
|
+
return this;
|
20
|
+
}
|
21
|
+
withOffset(offset) {
|
22
|
+
this['offset'] = offset;
|
23
|
+
return this;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
exports.ListOrganizationPolicyDetailResponse = ListOrganizationPolicyDetailResponse;
|
27
|
+
//# sourceMappingURL=ListOrganizationPolicyDetailResponse.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListOrganizationPolicyDetailResponse.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListOrganizationPolicyDetailResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,oCAAqC,SAAQ,yBAAW;IAKjE;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,YAAY,CAAC,QAAyC;QACzD,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAxBD,oFAwBC"}
|
@@ -5,14 +5,10 @@ export declare class ListVaultResponse extends SdkResponse {
|
|
5
5
|
count?: number;
|
6
6
|
limit?: number;
|
7
7
|
offset?: number;
|
8
|
-
private 'sys_lock_source_service'?;
|
9
8
|
constructor();
|
10
9
|
withVaults(vaults: Array<Vault>): ListVaultResponse;
|
11
10
|
withCount(count: number): ListVaultResponse;
|
12
11
|
withLimit(limit: number): ListVaultResponse;
|
13
12
|
withOffset(offset: number): ListVaultResponse;
|
14
|
-
withSysLockSourceService(sysLockSourceService: string): ListVaultResponse;
|
15
|
-
set sysLockSourceService(sysLockSourceService: string | undefined);
|
16
|
-
get sysLockSourceService(): string | undefined;
|
17
13
|
}
|
18
14
|
//# sourceMappingURL=ListVaultResponse.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ListVaultResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListVaultResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,iBAAkB,SAAQ,WAAW;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC
|
1
|
+
{"version":3,"file":"ListVaultResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListVaultResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,iBAAkB,SAAQ,WAAW;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;;IAIhB,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,iBAAiB;IAInD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB;IAI3C,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB;IAI3C,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,iBAAiB;CAIvD"}
|
@@ -22,16 +22,6 @@ class ListVaultResponse extends SdkResponse_1.SdkResponse {
|
|
22
22
|
this['offset'] = offset;
|
23
23
|
return this;
|
24
24
|
}
|
25
|
-
withSysLockSourceService(sysLockSourceService) {
|
26
|
-
this['sys_lock_source_service'] = sysLockSourceService;
|
27
|
-
return this;
|
28
|
-
}
|
29
|
-
set sysLockSourceService(sysLockSourceService) {
|
30
|
-
this['sys_lock_source_service'] = sysLockSourceService;
|
31
|
-
}
|
32
|
-
get sysLockSourceService() {
|
33
|
-
return this['sys_lock_source_service'];
|
34
|
-
}
|
35
25
|
}
|
36
26
|
exports.ListVaultResponse = ListVaultResponse;
|
37
27
|
//# sourceMappingURL=ListVaultResponse.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ListVaultResponse.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListVaultResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,iBAAkB,SAAQ,yBAAW;
|
1
|
+
{"version":3,"file":"ListVaultResponse.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/ListVaultResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,iBAAkB,SAAQ,yBAAW;IAK9C;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,UAAU,CAAC,MAAoB;QAClC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAxBD,8CAwBC"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { PolicyTriggerReq } from './PolicyTriggerReq';
|
2
|
+
import { PolicyoODCreate } from './PolicyoODCreate';
|
3
|
+
export declare class OrganizationPolicy {
|
4
|
+
id?: string;
|
5
|
+
name?: string;
|
6
|
+
description?: string;
|
7
|
+
private 'operation_type'?;
|
8
|
+
private 'domain_id'?;
|
9
|
+
private 'policy_name'?;
|
10
|
+
private 'policy_enabled'?;
|
11
|
+
private 'policy_operation_definition'?;
|
12
|
+
private 'policy_trigger'?;
|
13
|
+
status?: string;
|
14
|
+
private 'domain_name'?;
|
15
|
+
constructor(id?: string, name?: string, operationType?: string, domainId?: string, policyName?: string, policyEnabled?: boolean, policyOperationDefinition?: PolicyoODCreate, policyTrigger?: PolicyTriggerReq, status?: string);
|
16
|
+
withId(id: string): OrganizationPolicy;
|
17
|
+
withName(name: string): OrganizationPolicy;
|
18
|
+
withDescription(description: string): OrganizationPolicy;
|
19
|
+
withOperationType(operationType: OrganizationPolicyOperationTypeEnum | string): OrganizationPolicy;
|
20
|
+
set operationType(operationType: OrganizationPolicyOperationTypeEnum | string | undefined);
|
21
|
+
get operationType(): OrganizationPolicyOperationTypeEnum | string | undefined;
|
22
|
+
withDomainId(domainId: string): OrganizationPolicy;
|
23
|
+
set domainId(domainId: string | undefined);
|
24
|
+
get domainId(): string | undefined;
|
25
|
+
withPolicyName(policyName: string): OrganizationPolicy;
|
26
|
+
set policyName(policyName: string | undefined);
|
27
|
+
get policyName(): string | undefined;
|
28
|
+
withPolicyEnabled(policyEnabled: boolean): OrganizationPolicy;
|
29
|
+
set policyEnabled(policyEnabled: boolean | undefined);
|
30
|
+
get policyEnabled(): boolean | undefined;
|
31
|
+
withPolicyOperationDefinition(policyOperationDefinition: PolicyoODCreate): OrganizationPolicy;
|
32
|
+
set policyOperationDefinition(policyOperationDefinition: PolicyoODCreate | undefined);
|
33
|
+
get policyOperationDefinition(): PolicyoODCreate | undefined;
|
34
|
+
withPolicyTrigger(policyTrigger: PolicyTriggerReq): OrganizationPolicy;
|
35
|
+
set policyTrigger(policyTrigger: PolicyTriggerReq | undefined);
|
36
|
+
get policyTrigger(): PolicyTriggerReq | undefined;
|
37
|
+
withStatus(status: string): OrganizationPolicy;
|
38
|
+
withDomainName(domainName: string): OrganizationPolicy;
|
39
|
+
set domainName(domainName: string | undefined);
|
40
|
+
get domainName(): string | undefined;
|
41
|
+
}
|
42
|
+
/**
|
43
|
+
* @export
|
44
|
+
* @enum {string}
|
45
|
+
*/
|
46
|
+
export declare enum OrganizationPolicyOperationTypeEnum {
|
47
|
+
BACKUP = "backup",
|
48
|
+
REPLICATION = " replication"
|
49
|
+
}
|
50
|
+
//# sourceMappingURL=OrganizationPolicy.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"OrganizationPolicy.d.ts","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/OrganizationPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,qBAAa,kBAAkB;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,gBAAgB,CAAC,CAA+C;IACxE,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,gBAAgB,CAAC,CAAU;IACnC,OAAO,CAAC,6BAA6B,CAAC,CAAkB;IACxD,OAAO,CAAC,gBAAgB,CAAC,CAAmB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,aAAa,CAAC,CAAS;gBACZ,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,EAAE,yBAAyB,CAAC,EAAE,eAAe,EAAE,aAAa,CAAC,EAAE,gBAAgB,EAAE,MAAM,CAAC,EAAE,MAAM;IAW/N,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,kBAAkB;IAItC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB;IAI1C,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB;IAIxD,iBAAiB,CAAC,aAAa,EAAE,mCAAmC,GAAG,MAAM,GAAG,kB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AAM,WAAW;IACjB,WAAW,iBAAiB;CAC/B"}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrganizationPolicyOperationTypeEnum = exports.OrganizationPolicy = void 0;
|
4
|
+
class OrganizationPolicy {
|
5
|
+
constructor(id, name, operationType, domainId, policyName, policyEnabled, policyOperationDefinition, policyTrigger, status) {
|
6
|
+
this['id'] = id;
|
7
|
+
this['name'] = name;
|
8
|
+
this['operation_type'] = operationType;
|
9
|
+
this['domain_id'] = domainId;
|
10
|
+
this['policy_name'] = policyName;
|
11
|
+
this['policy_enabled'] = policyEnabled;
|
12
|
+
this['policy_operation_definition'] = policyOperationDefinition;
|
13
|
+
this['policy_trigger'] = policyTrigger;
|
14
|
+
this['status'] = status;
|
15
|
+
}
|
16
|
+
withId(id) {
|
17
|
+
this['id'] = id;
|
18
|
+
return this;
|
19
|
+
}
|
20
|
+
withName(name) {
|
21
|
+
this['name'] = name;
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
withDescription(description) {
|
25
|
+
this['description'] = description;
|
26
|
+
return this;
|
27
|
+
}
|
28
|
+
withOperationType(operationType) {
|
29
|
+
this['operation_type'] = operationType;
|
30
|
+
return this;
|
31
|
+
}
|
32
|
+
set operationType(operationType) {
|
33
|
+
this['operation_type'] = operationType;
|
34
|
+
}
|
35
|
+
get operationType() {
|
36
|
+
return this['operation_type'];
|
37
|
+
}
|
38
|
+
withDomainId(domainId) {
|
39
|
+
this['domain_id'] = domainId;
|
40
|
+
return this;
|
41
|
+
}
|
42
|
+
set domainId(domainId) {
|
43
|
+
this['domain_id'] = domainId;
|
44
|
+
}
|
45
|
+
get domainId() {
|
46
|
+
return this['domain_id'];
|
47
|
+
}
|
48
|
+
withPolicyName(policyName) {
|
49
|
+
this['policy_name'] = policyName;
|
50
|
+
return this;
|
51
|
+
}
|
52
|
+
set policyName(policyName) {
|
53
|
+
this['policy_name'] = policyName;
|
54
|
+
}
|
55
|
+
get policyName() {
|
56
|
+
return this['policy_name'];
|
57
|
+
}
|
58
|
+
withPolicyEnabled(policyEnabled) {
|
59
|
+
this['policy_enabled'] = policyEnabled;
|
60
|
+
return this;
|
61
|
+
}
|
62
|
+
set policyEnabled(policyEnabled) {
|
63
|
+
this['policy_enabled'] = policyEnabled;
|
64
|
+
}
|
65
|
+
get policyEnabled() {
|
66
|
+
return this['policy_enabled'];
|
67
|
+
}
|
68
|
+
withPolicyOperationDefinition(policyOperationDefinition) {
|
69
|
+
this['policy_operation_definition'] = policyOperationDefinition;
|
70
|
+
return this;
|
71
|
+
}
|
72
|
+
set policyOperationDefinition(policyOperationDefinition) {
|
73
|
+
this['policy_operation_definition'] = policyOperationDefinition;
|
74
|
+
}
|
75
|
+
get policyOperationDefinition() {
|
76
|
+
return this['policy_operation_definition'];
|
77
|
+
}
|
78
|
+
withPolicyTrigger(policyTrigger) {
|
79
|
+
this['policy_trigger'] = policyTrigger;
|
80
|
+
return this;
|
81
|
+
}
|
82
|
+
set policyTrigger(policyTrigger) {
|
83
|
+
this['policy_trigger'] = policyTrigger;
|
84
|
+
}
|
85
|
+
get policyTrigger() {
|
86
|
+
return this['policy_trigger'];
|
87
|
+
}
|
88
|
+
withStatus(status) {
|
89
|
+
this['status'] = status;
|
90
|
+
return this;
|
91
|
+
}
|
92
|
+
withDomainName(domainName) {
|
93
|
+
this['domain_name'] = domainName;
|
94
|
+
return this;
|
95
|
+
}
|
96
|
+
set domainName(domainName) {
|
97
|
+
this['domain_name'] = domainName;
|
98
|
+
}
|
99
|
+
get domainName() {
|
100
|
+
return this['domain_name'];
|
101
|
+
}
|
102
|
+
}
|
103
|
+
exports.OrganizationPolicy = OrganizationPolicy;
|
104
|
+
/**
|
105
|
+
* @export
|
106
|
+
* @enum {string}
|
107
|
+
*/
|
108
|
+
var OrganizationPolicyOperationTypeEnum;
|
109
|
+
(function (OrganizationPolicyOperationTypeEnum) {
|
110
|
+
OrganizationPolicyOperationTypeEnum["BACKUP"] = "backup";
|
111
|
+
OrganizationPolicyOperationTypeEnum["REPLICATION"] = " replication";
|
112
|
+
})(OrganizationPolicyOperationTypeEnum = exports.OrganizationPolicyOperationTypeEnum || (exports.OrganizationPolicyOperationTypeEnum = {}));
|
113
|
+
//# sourceMappingURL=OrganizationPolicy.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"OrganizationPolicy.js","sourceRoot":"","sources":["../../../../../services/cbr/v1/model/OrganizationPolicy.ts"],"names":[],"mappings":";;;AAIA,MAAa,kBAAkB;IAY3B,YAAmB,EAAW,EAAE,IAAa,EAAE,aAAsB,EAAE,QAAiB,EAAE,UAAmB,EAAE,aAAuB,EAAE,yBAA2C,EAAE,aAAgC,EAAE,MAAe;QAClO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;QACvC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;QACvC,IAAI,CAAC,6BAA6B,CAAC,GAAG,yBAAyB,CAAC;QAChE,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;QACvC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;IAC5B,CAAC;IACM,MAAM,CAAC,EAAU;QACpB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC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AO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,yBAAyB,CAAC,yBAAuD;QACxF,IAAI,CAAC,6BAA6B,CAAC,GAAG,yBAAyB,CAAC;IACpE,CAAC;IACD,IAAW,yBAAyB;QAChC,OAAO,IAAI,CAAC,6BAA6B,CAAC,CAAC;IAC/C,CAAC;IACM,iBAAiB,CAAC,aAA+B;QACpD,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,aAAa,CAAC,aAA4C;QACjE,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;IAC3C,CAAC;IACD,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAClC,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;CACJ;AA7GD,gDA6GC;AAED;;;MAGM;AACN,IAAY,mCAGX;AAHD,WAAY,mCAAmC;IAC3C,wDAAiB,CAAA;IACjB,mEAA4B,CAAA;AAChC,CAAC,EAHW,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAG9C"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { PolicyTriggerReq } from './PolicyTriggerReq';
|
2
|
+
import { PolicyoODCreate } from './PolicyoODCreate';
|
3
|
+
export declare class OrganizationPolicyCreate {
|
4
|
+
name?: string;
|
5
|
+
description?: string;
|
6
|
+
private 'operation_type'?;
|
7
|
+
private 'policy_name'?;
|
8
|
+
private 'policy_enabled'?;
|
9
|
+
private 'policy_operation_definition'?;
|
10
|
+
private 'policy_trigger'?;
|
11
|
+
constructor(name?: string, operationType?: string, policyName?: string, policyEnabled?: boolean, policyOperationDefinition?: PolicyoODCreate, policyTrigger?: PolicyTriggerReq);
|
12
|
+
withName(name: string): OrganizationPolicyCreate;
|
13
|
+
withDescription(description: string): OrganizationPolicyCreate;
|
14
|
+
withOperationType(operationType: OrganizationPolicyCreateOperationTypeEnum | string): OrganizationPolicyCreate;
|
15
|
+
set operationType(operationType: OrganizationPolicyCreateOperationTypeEnum | string | undefined);
|
16
|
+
get operationType(): OrganizationPolicyCreateOperationTypeEnum | string | undefined;
|
17
|
+
withPolicyName(policyName: string): OrganizationPolicyCreate;
|
18
|
+
set policyName(policyName: string | undefined);
|
19
|
+
get policyName(): string | undefined;
|
20
|
+
withPolicyEnabled(policyEnabled: boolean): OrganizationPolicyCreate;
|
21
|
+
set policyEnabled(policyEnabled: boolean | undefined);
|
22
|
+
get policyEnabled(): boolean | undefined;
|
23
|
+
withPolicyOperationDefinition(policyOperationDefinition: PolicyoODCreate): OrganizationPolicyCreate;
|
24
|
+
set policyOperationDefinition(policyOperationDefinition: PolicyoODCreate | undefined);
|
25
|
+
get policyOperationDefinition(): PolicyoODCreate | undefined;
|
26
|
+
withPolicyTrigger(policyTrigger: PolicyTriggerReq): OrganizationPolicyCreate;
|
27
|
+
set policyTrigger(policyTrigger: PolicyTriggerReq | undefined);
|
28
|
+
get policyTrigger(): PolicyTriggerReq | undefined;
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* @export
|
32
|
+
* @enum {string}
|
33
|
+
*/
|
34
|
+
export declare enum OrganizationPolicyCreateOperationTypeEnum {
|
35
|
+
BACKUP = "backup",
|
36
|
+
REPLICATION = "replication"
|
37
|
+
}
|
38
|
+
//# sourceMappingURL=OrganizationPolicyCreate.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|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