@alicloud/csas20230120 1.9.2 → 1.10.0

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/dist/client.d.ts CHANGED
@@ -4137,6 +4137,87 @@ export declare class ListTagsForPrivateAccessPolicyResponse extends $tea.Model {
4137
4137
  [key: string]: any;
4138
4138
  });
4139
4139
  }
4140
+ export declare class ListUserApplicationsRequest extends $tea.Model {
4141
+ /**
4142
+ * @remarks
4143
+ * This parameter is required.
4144
+ *
4145
+ * @example
4146
+ * 1
4147
+ */
4148
+ currentPage?: number;
4149
+ /**
4150
+ * @example
4151
+ * private_access_application_name
4152
+ */
4153
+ name?: string;
4154
+ /**
4155
+ * @remarks
4156
+ * This parameter is required.
4157
+ *
4158
+ * @example
4159
+ * 10
4160
+ */
4161
+ pageSize?: number;
4162
+ /**
4163
+ * @remarks
4164
+ * This parameter is required.
4165
+ *
4166
+ * @example
4167
+ * su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****
4168
+ */
4169
+ saseUserId?: string;
4170
+ static names(): {
4171
+ [key: string]: string;
4172
+ };
4173
+ static types(): {
4174
+ [key: string]: any;
4175
+ };
4176
+ constructor(map?: {
4177
+ [key: string]: any;
4178
+ });
4179
+ }
4180
+ export declare class ListUserApplicationsResponseBody extends $tea.Model {
4181
+ applications?: ListUserApplicationsResponseBodyApplications[];
4182
+ /**
4183
+ * @remarks
4184
+ * Id of the request
4185
+ *
4186
+ * @example
4187
+ * 58D6B23E-E5DA-5418-8F61-51A3B5A30049
4188
+ */
4189
+ requestId?: string;
4190
+ /**
4191
+ * @example
4192
+ * 20
4193
+ */
4194
+ totalNum?: number;
4195
+ static names(): {
4196
+ [key: string]: string;
4197
+ };
4198
+ static types(): {
4199
+ [key: string]: any;
4200
+ };
4201
+ constructor(map?: {
4202
+ [key: string]: any;
4203
+ });
4204
+ }
4205
+ export declare class ListUserApplicationsResponse extends $tea.Model {
4206
+ headers?: {
4207
+ [key: string]: string;
4208
+ };
4209
+ statusCode?: number;
4210
+ body?: ListUserApplicationsResponseBody;
4211
+ static names(): {
4212
+ [key: string]: string;
4213
+ };
4214
+ static types(): {
4215
+ [key: string]: any;
4216
+ };
4217
+ constructor(map?: {
4218
+ [key: string]: any;
4219
+ });
4220
+ }
4140
4221
  export declare class ListUserDevicesRequest extends $tea.Model {
4141
4222
  appStatuses?: string[];
4142
4223
  /**
@@ -4421,6 +4502,87 @@ export declare class ListUserGroupsForRegistrationPolicyResponse extends $tea.Mo
4421
4502
  [key: string]: any;
4422
4503
  });
4423
4504
  }
4505
+ export declare class ListUserPrivateAccessPoliciesRequest extends $tea.Model {
4506
+ /**
4507
+ * @remarks
4508
+ * This parameter is required.
4509
+ *
4510
+ * @example
4511
+ * 1
4512
+ */
4513
+ currentPage?: number;
4514
+ /**
4515
+ * @example
4516
+ * private_access_policy_name
4517
+ */
4518
+ name?: string;
4519
+ /**
4520
+ * @remarks
4521
+ * This parameter is required.
4522
+ *
4523
+ * @example
4524
+ * 10
4525
+ */
4526
+ pageSize?: number;
4527
+ /**
4528
+ * @remarks
4529
+ * This parameter is required.
4530
+ *
4531
+ * @example
4532
+ * su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****
4533
+ */
4534
+ saseUserId?: string;
4535
+ static names(): {
4536
+ [key: string]: string;
4537
+ };
4538
+ static types(): {
4539
+ [key: string]: any;
4540
+ };
4541
+ constructor(map?: {
4542
+ [key: string]: any;
4543
+ });
4544
+ }
4545
+ export declare class ListUserPrivateAccessPoliciesResponseBody extends $tea.Model {
4546
+ polices?: ListUserPrivateAccessPoliciesResponseBodyPolices[];
4547
+ /**
4548
+ * @remarks
4549
+ * Id of the request
4550
+ *
4551
+ * @example
4552
+ * 9D852F87-AFB5-51B8-AACD-F7D0EFB8277D
4553
+ */
4554
+ requestId?: string;
4555
+ /**
4556
+ * @example
4557
+ * 20
4558
+ */
4559
+ totalNum?: number;
4560
+ static names(): {
4561
+ [key: string]: string;
4562
+ };
4563
+ static types(): {
4564
+ [key: string]: any;
4565
+ };
4566
+ constructor(map?: {
4567
+ [key: string]: any;
4568
+ });
4569
+ }
4570
+ export declare class ListUserPrivateAccessPoliciesResponse extends $tea.Model {
4571
+ headers?: {
4572
+ [key: string]: string;
4573
+ };
4574
+ statusCode?: number;
4575
+ body?: ListUserPrivateAccessPoliciesResponseBody;
4576
+ static names(): {
4577
+ [key: string]: string;
4578
+ };
4579
+ static types(): {
4580
+ [key: string]: any;
4581
+ };
4582
+ constructor(map?: {
4583
+ [key: string]: any;
4584
+ });
4585
+ }
4424
4586
  export declare class ListUsersRequest extends $tea.Model {
4425
4587
  /**
4426
4588
  * @remarks
@@ -8421,6 +8583,60 @@ export declare class ListTagsForPrivateAccessPolicyResponseBodyPolices extends $
8421
8583
  [key: string]: any;
8422
8584
  });
8423
8585
  }
8586
+ export declare class ListUserApplicationsResponseBodyApplicationsPortRanges extends $tea.Model {
8587
+ /**
8588
+ * @example
8589
+ * 80
8590
+ */
8591
+ begin?: string;
8592
+ /**
8593
+ * @example
8594
+ * 81
8595
+ */
8596
+ end?: string;
8597
+ static names(): {
8598
+ [key: string]: string;
8599
+ };
8600
+ static types(): {
8601
+ [key: string]: any;
8602
+ };
8603
+ constructor(map?: {
8604
+ [key: string]: any;
8605
+ });
8606
+ }
8607
+ export declare class ListUserApplicationsResponseBodyApplications extends $tea.Model {
8608
+ /**
8609
+ * @example
8610
+ * Block
8611
+ */
8612
+ action?: string;
8613
+ addresses?: string[];
8614
+ /**
8615
+ * @example
8616
+ * pa-application-b927baf3e592****
8617
+ */
8618
+ applicationId?: string;
8619
+ /**
8620
+ * @example
8621
+ * private_access_application_name
8622
+ */
8623
+ name?: string;
8624
+ portRanges?: ListUserApplicationsResponseBodyApplicationsPortRanges[];
8625
+ /**
8626
+ * @example
8627
+ * TCP
8628
+ */
8629
+ protocol?: string;
8630
+ static names(): {
8631
+ [key: string]: string;
8632
+ };
8633
+ static types(): {
8634
+ [key: string]: any;
8635
+ };
8636
+ constructor(map?: {
8637
+ [key: string]: any;
8638
+ });
8639
+ }
8424
8640
  export declare class ListUserDevicesResponseBodyDevices extends $tea.Model {
8425
8641
  /**
8426
8642
  * @example
@@ -8751,6 +8967,80 @@ export declare class ListUserGroupsForRegistrationPolicyResponseBodyPolicies ext
8751
8967
  [key: string]: any;
8752
8968
  });
8753
8969
  }
8970
+ export declare class ListUserPrivateAccessPoliciesResponseBodyPolicesCustomUserAttributes extends $tea.Model {
8971
+ /**
8972
+ * @example
8973
+ * 12
8974
+ */
8975
+ idpId?: number;
8976
+ /**
8977
+ * @example
8978
+ * Equal
8979
+ */
8980
+ relation?: string;
8981
+ /**
8982
+ * @example
8983
+ * department
8984
+ */
8985
+ userGroupType?: string;
8986
+ value?: string;
8987
+ static names(): {
8988
+ [key: string]: string;
8989
+ };
8990
+ static types(): {
8991
+ [key: string]: any;
8992
+ };
8993
+ constructor(map?: {
8994
+ [key: string]: any;
8995
+ });
8996
+ }
8997
+ export declare class ListUserPrivateAccessPoliciesResponseBodyPolices extends $tea.Model {
8998
+ customUserAttributes?: ListUserPrivateAccessPoliciesResponseBodyPolicesCustomUserAttributes[];
8999
+ /**
9000
+ * @example
9001
+ * device_attribute_name
9002
+ */
9003
+ deviceAttributeName?: string;
9004
+ /**
9005
+ * @example
9006
+ * user_group_name
9007
+ */
9008
+ matchedUserGroup?: string;
9009
+ /**
9010
+ * @example
9011
+ * private_access_policy_name
9012
+ */
9013
+ name?: string;
9014
+ /**
9015
+ * @example
9016
+ * Allow
9017
+ */
9018
+ policyAction?: string;
9019
+ /**
9020
+ * @example
9021
+ * pa-policy-1b0d0e8b4bcf****
9022
+ */
9023
+ policyId?: string;
9024
+ /**
9025
+ * @example
9026
+ * 1
9027
+ */
9028
+ priority?: number;
9029
+ /**
9030
+ * @example
9031
+ * Custom
9032
+ */
9033
+ userGroupMode?: string;
9034
+ static names(): {
9035
+ [key: string]: string;
9036
+ };
9037
+ static types(): {
9038
+ [key: string]: any;
9039
+ };
9040
+ constructor(map?: {
9041
+ [key: string]: any;
9042
+ });
9043
+ }
8754
9044
  export declare class ListUsersResponseBodyUsers extends $tea.Model {
8755
9045
  department?: string;
8756
9046
  /**
@@ -10259,6 +10549,21 @@ export default class Client extends OpenApi {
10259
10549
  * @returns ListTagsForPrivateAccessPolicyResponse
10260
10550
  */
10261
10551
  listTagsForPrivateAccessPolicy(request: ListTagsForPrivateAccessPolicyRequest): Promise<ListTagsForPrivateAccessPolicyResponse>;
10552
+ /**
10553
+ * 列表查询用户应用权限
10554
+ *
10555
+ * @param request - ListUserApplicationsRequest
10556
+ * @param runtime - runtime options for this request RuntimeOptions
10557
+ * @returns ListUserApplicationsResponse
10558
+ */
10559
+ listUserApplicationsWithOptions(request: ListUserApplicationsRequest, runtime: $Util.RuntimeOptions): Promise<ListUserApplicationsResponse>;
10560
+ /**
10561
+ * 列表查询用户应用权限
10562
+ *
10563
+ * @param request - ListUserApplicationsRequest
10564
+ * @returns ListUserApplicationsResponse
10565
+ */
10566
+ listUserApplications(request: ListUserApplicationsRequest): Promise<ListUserApplicationsResponse>;
10262
10567
  /**
10263
10568
  * 批量查询用户设备列表
10264
10569
  *
@@ -10319,6 +10624,21 @@ export default class Client extends OpenApi {
10319
10624
  * @returns ListUserGroupsForRegistrationPolicyResponse
10320
10625
  */
10321
10626
  listUserGroupsForRegistrationPolicy(request: ListUserGroupsForRegistrationPolicyRequest): Promise<ListUserGroupsForRegistrationPolicyResponse>;
10627
+ /**
10628
+ * 列表查询用户零信任策略
10629
+ *
10630
+ * @param request - ListUserPrivateAccessPoliciesRequest
10631
+ * @param runtime - runtime options for this request RuntimeOptions
10632
+ * @returns ListUserPrivateAccessPoliciesResponse
10633
+ */
10634
+ listUserPrivateAccessPoliciesWithOptions(request: ListUserPrivateAccessPoliciesRequest, runtime: $Util.RuntimeOptions): Promise<ListUserPrivateAccessPoliciesResponse>;
10635
+ /**
10636
+ * 列表查询用户零信任策略
10637
+ *
10638
+ * @param request - ListUserPrivateAccessPoliciesRequest
10639
+ * @returns ListUserPrivateAccessPoliciesResponse
10640
+ */
10641
+ listUserPrivateAccessPolicies(request: ListUserPrivateAccessPoliciesRequest): Promise<ListUserPrivateAccessPoliciesResponse>;
10322
10642
  /**
10323
10643
  * 列表查询登陆用户
10324
10644
  *