26
26
from ..._base_client import AsyncPaginator , make_request_options
27
27
from ...types .zero_trust import (
28
28
IdentityProviderType ,
29
+ identity_provider_list_params ,
29
30
identity_provider_create_params ,
30
31
identity_provider_update_params ,
31
32
)
@@ -1585,6 +1586,7 @@ def list(
1585
1586
* ,
1586
1587
account_id : str | NotGiven = NOT_GIVEN ,
1587
1588
zone_id : str | NotGiven = NOT_GIVEN ,
1589
+ scim_enabled : str | NotGiven = NOT_GIVEN ,
1588
1590
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1589
1591
# The extra values given here take precedence over values defined on the client or passed to this method.
1590
1592
extra_headers : Headers | None = None ,
@@ -1600,6 +1602,9 @@ def list(
1600
1602
1601
1603
zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
1602
1604
1605
+ scim_enabled: Indicates to Access to only retrieve identity providers that have the System for
1606
+ Cross-Domain Identity Management (SCIM) enabled.
1607
+
1603
1608
extra_headers: Send extra headers
1604
1609
1605
1610
extra_query: Add additional query parameters to the request
@@ -1624,7 +1629,13 @@ def list(
1624
1629
f"/{ account_or_zone } /{ account_or_zone_id } /access/identity_providers" ,
1625
1630
page = SyncSinglePage [IdentityProviderListResponse ],
1626
1631
options = make_request_options (
1627
- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
1632
+ extra_headers = extra_headers ,
1633
+ extra_query = extra_query ,
1634
+ extra_body = extra_body ,
1635
+ timeout = timeout ,
1636
+ query = maybe_transform (
1637
+ {"scim_enabled" : scim_enabled }, identity_provider_list_params .IdentityProviderListParams
1638
+ ),
1628
1639
),
1629
1640
model = cast (
1630
1641
Any , IdentityProviderListResponse
@@ -3301,6 +3312,7 @@ def list(
3301
3312
* ,
3302
3313
account_id : str | NotGiven = NOT_GIVEN ,
3303
3314
zone_id : str | NotGiven = NOT_GIVEN ,
3315
+ scim_enabled : str | NotGiven = NOT_GIVEN ,
3304
3316
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
3305
3317
# The extra values given here take precedence over values defined on the client or passed to this method.
3306
3318
extra_headers : Headers | None = None ,
@@ -3316,6 +3328,9 @@ def list(
3316
3328
3317
3329
zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
3318
3330
3331
+ scim_enabled: Indicates to Access to only retrieve identity providers that have the System for
3332
+ Cross-Domain Identity Management (SCIM) enabled.
3333
+
3319
3334
extra_headers: Send extra headers
3320
3335
3321
3336
extra_query: Add additional query parameters to the request
@@ -3340,7 +3355,13 @@ def list(
3340
3355
f"/{ account_or_zone } /{ account_or_zone_id } /access/identity_providers" ,
3341
3356
page = AsyncSinglePage [IdentityProviderListResponse ],
3342
3357
options = make_request_options (
3343
- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
3358
+ extra_headers = extra_headers ,
3359
+ extra_query = extra_query ,
3360
+ extra_body = extra_body ,
3361
+ timeout = timeout ,
3362
+ query = maybe_transform (
3363
+ {"scim_enabled" : scim_enabled }, identity_provider_list_params .IdentityProviderListParams
3364
+ ),
3344
3365
),
3345
3366
model = cast (
3346
3367
Any , IdentityProviderListResponse
0 commit comments