tencentcloud-sdk-nodejs-cam 4.1.261 → 4.1.264
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -688,78 +688,82 @@ export interface GetGroupRequest {
|
|
|
688
688
|
*/
|
|
689
689
|
export interface StrategyInfo {
|
|
690
690
|
/**
|
|
691
|
-
*
|
|
691
|
+
* <p>策略ID。</p>
|
|
692
692
|
*/
|
|
693
693
|
PolicyId?: number;
|
|
694
694
|
/**
|
|
695
|
-
*
|
|
695
|
+
* <p>策略名称。</p>
|
|
696
696
|
*/
|
|
697
697
|
PolicyName?: string;
|
|
698
698
|
/**
|
|
699
|
-
*
|
|
699
|
+
* <p>策略创建时间。</p>
|
|
700
700
|
*/
|
|
701
701
|
AddTime?: string;
|
|
702
702
|
/**
|
|
703
|
-
*
|
|
703
|
+
* <p>策略类型。1 表示自定义策略,2 表示预设策略。</p>
|
|
704
704
|
*/
|
|
705
705
|
Type?: number;
|
|
706
706
|
/**
|
|
707
|
-
*
|
|
707
|
+
* <p>策略描述。</p>
|
|
708
708
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
709
709
|
*/
|
|
710
710
|
Description?: string;
|
|
711
711
|
/**
|
|
712
|
-
*
|
|
712
|
+
* <p>创建来源,1 通过控制台创建, 2 通过策略语法创建。</p>
|
|
713
713
|
*/
|
|
714
714
|
CreateMode?: number;
|
|
715
715
|
/**
|
|
716
|
-
*
|
|
716
|
+
* <p>关联的用户数</p>
|
|
717
717
|
*/
|
|
718
718
|
Attachments?: number;
|
|
719
719
|
/**
|
|
720
|
-
*
|
|
720
|
+
* <p>策略关联的产品</p>
|
|
721
721
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
722
722
|
*/
|
|
723
723
|
ServiceType?: string;
|
|
724
724
|
/**
|
|
725
|
-
*
|
|
725
|
+
* <p>当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略</p>
|
|
726
726
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
727
727
|
*/
|
|
728
728
|
IsAttached?: number;
|
|
729
729
|
/**
|
|
730
|
-
*
|
|
730
|
+
* <p>是否已下线</p>
|
|
731
731
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
732
732
|
*/
|
|
733
733
|
Deactived?: number;
|
|
734
734
|
/**
|
|
735
|
-
*
|
|
735
|
+
* <p>已下线产品列表</p>
|
|
736
736
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
737
737
|
*/
|
|
738
738
|
DeactivedDetail?: Array<string>;
|
|
739
739
|
/**
|
|
740
|
-
*
|
|
740
|
+
* <p>是否是服务相关角色策略</p>
|
|
741
741
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
742
742
|
*/
|
|
743
743
|
IsServiceLinkedPolicy?: number;
|
|
744
744
|
/**
|
|
745
|
-
*
|
|
745
|
+
* <p>关联策略实体数</p>
|
|
746
746
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
747
747
|
*/
|
|
748
748
|
AttachEntityCount?: number;
|
|
749
749
|
/**
|
|
750
|
-
*
|
|
750
|
+
* <p>关联权限边界实体数</p>
|
|
751
751
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
752
752
|
*/
|
|
753
753
|
AttachEntityBoundaryCount?: number;
|
|
754
754
|
/**
|
|
755
|
-
*
|
|
755
|
+
* <p>最后编辑时间</p>
|
|
756
756
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
757
757
|
*/
|
|
758
758
|
UpdateTime?: string;
|
|
759
759
|
/**
|
|
760
|
-
*
|
|
760
|
+
* <p>标签列表</p>
|
|
761
761
|
*/
|
|
762
762
|
Tags?: Array<Tag>;
|
|
763
|
+
/**
|
|
764
|
+
* <p>权限级别</p><p>枚举值:</p><ul><li>Global: 全局权限</li><li>Finance: 财务权限</li><li>CloudProduct: 云产品权限</li></ul>
|
|
765
|
+
*/
|
|
766
|
+
PermissionLevel?: string;
|
|
763
767
|
}
|
|
764
768
|
/**
|
|
765
769
|
* DeleteRole返回参数结构体
|
|
@@ -1009,24 +1013,15 @@ export interface CreatePolicyVersionResponse {
|
|
|
1009
1013
|
*/
|
|
1010
1014
|
export interface ListPoliciesResponse {
|
|
1011
1015
|
/**
|
|
1012
|
-
*
|
|
1016
|
+
* <p>策略总数</p>
|
|
1013
1017
|
*/
|
|
1014
1018
|
TotalNum?: number;
|
|
1015
1019
|
/**
|
|
1016
|
-
*
|
|
1017
|
-
policyId:策略 id
|
|
1018
|
-
policyName:策略名
|
|
1019
|
-
addTime:策略创建时间
|
|
1020
|
-
type:1 表示自定义策略,2 表示预设策略
|
|
1021
|
-
description:策略描述
|
|
1022
|
-
createMode:1 表示按业务权限创建的策略,其他值表示可以查看策略语法和通过策略语法更新策略
|
|
1023
|
-
Attachments: 关联的用户数
|
|
1024
|
-
ServiceType: 策略关联的产品
|
|
1025
|
-
IsAttached: 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略
|
|
1020
|
+
* <p>策略数组,数组每个成员包括 policyId、policyName、addTime、type、description、 createMode 字段。其中:<br>policyId:策略 id<br>policyName:策略名<br>addTime:策略创建时间<br>type:1 表示自定义策略,2 表示预设策略<br>description:策略描述<br>createMode:1 表示按业务权限创建的策略,其他值表示可以查看策略语法和通过策略语法更新策略<br>Attachments: 关联的用户数<br>ServiceType: 策略关联的产品<br>IsAttached: 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略</p>
|
|
1026
1021
|
*/
|
|
1027
1022
|
List?: Array<StrategyInfo>;
|
|
1028
1023
|
/**
|
|
1029
|
-
*
|
|
1024
|
+
* <p>保留字段</p>
|
|
1030
1025
|
*/
|
|
1031
1026
|
ServiceTypeList?: Array<string>;
|
|
1032
1027
|
/**
|
|
@@ -2779,19 +2774,19 @@ export interface TagRoleRequest {
|
|
|
2779
2774
|
*/
|
|
2780
2775
|
export interface ListPoliciesRequest {
|
|
2781
2776
|
/**
|
|
2782
|
-
*
|
|
2777
|
+
* <p>每页数量,默认值是 20,必须大于 0 且小于或等于 200</p>
|
|
2783
2778
|
*/
|
|
2784
2779
|
Rp?: number;
|
|
2785
2780
|
/**
|
|
2786
|
-
*
|
|
2781
|
+
* <p>页码,默认值是 1,从 1开始,不能大于 200</p>
|
|
2787
2782
|
*/
|
|
2788
2783
|
Page?: number;
|
|
2789
2784
|
/**
|
|
2790
|
-
*
|
|
2785
|
+
* <p>可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'</p>
|
|
2791
2786
|
*/
|
|
2792
2787
|
Scope?: string;
|
|
2793
2788
|
/**
|
|
2794
|
-
*
|
|
2789
|
+
* <p>按策略名匹配</p>
|
|
2795
2790
|
*/
|
|
2796
2791
|
Keyword?: string;
|
|
2797
2792
|
}
|