22
22
__all__ = [
23
23
"ApplicationCreateParams" ,
24
24
"SelfHostedApplication" ,
25
+ "SelfHostedApplicationDestination" ,
25
26
"SelfHostedApplicationPolicy" ,
26
27
"SelfHostedApplicationPolicyAccessAppPolicyLink" ,
27
28
"SelfHostedApplicationPolicyUnionMember2" ,
35
36
"SaaSApplicationSCIMConfig" ,
36
37
"SaaSApplicationSCIMConfigAuthentication" ,
37
38
"BrowserSSHApplication" ,
39
+ "BrowserSSHApplicationDestination" ,
38
40
"BrowserSSHApplicationPolicy" ,
39
41
"BrowserSSHApplicationPolicyAccessAppPolicyLink" ,
40
42
"BrowserSSHApplicationPolicyUnionMember2" ,
41
43
"BrowserSSHApplicationSCIMConfig" ,
42
44
"BrowserSSHApplicationSCIMConfigAuthentication" ,
43
45
"BrowserVNCApplication" ,
46
+ "BrowserVNCApplicationDestination" ,
44
47
"BrowserVNCApplicationPolicy" ,
45
48
"BrowserVNCApplicationPolicyAccessAppPolicyLink" ,
46
49
"BrowserVNCApplicationPolicyUnionMember2" ,
81
84
82
85
class SelfHostedApplication (TypedDict , total = False ):
83
86
domain : Required [str ]
84
- """The primary hostname and path that Access will secure .
87
+ """The primary hostname and path secured by Access .
85
88
86
- If the app is visible in the App Launcher dashboard, this is the domain that
87
- will be displayed.
89
+ This domain will be displayed if the app is visible in the App Launcher.
88
90
"""
89
91
90
92
type : Required [str ]
@@ -144,6 +146,14 @@ class SelfHostedApplication(TypedDict, total=False):
144
146
custom_pages : List [str ]
145
147
"""The custom pages that will be displayed when applicable for this application"""
146
148
149
+ destinations : Iterable [SelfHostedApplicationDestination ]
150
+ """List of destinations secured by Access.
151
+
152
+ This supersedes `self_hosted_domains` to allow for more flexibility in defining
153
+ different types of domains. If `destinations` are provided, then
154
+ `self_hosted_domains` will be ignored.
155
+ """
156
+
147
157
enable_binding_cookie : bool
148
158
"""
149
159
Enables the binding cookie, which increases security against compromised
@@ -194,7 +204,12 @@ class SelfHostedApplication(TypedDict, total=False):
194
204
"""
195
205
196
206
self_hosted_domains : List [SelfHostedDomains ]
197
- """List of domains that Access will secure."""
207
+ """List of public domains that Access will secure.
208
+
209
+ This field is deprecated in favor of `destinations` and will be supported until
210
+ **November 21, 2025.** If `destinations` are provided, then
211
+ `self_hosted_domains` will be ignored.
212
+ """
198
213
199
214
service_auth_401_redirect : bool
200
215
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
@@ -216,6 +231,20 @@ class SelfHostedApplication(TypedDict, total=False):
216
231
"""
217
232
218
233
234
+ class SelfHostedApplicationDestination (TypedDict , total = False ):
235
+ destination : str
236
+ """A destination secured by Access.
237
+
238
+ Public destinations can include a domain and path with
239
+ [wildcards](https://developers.cloudflare.com/cloudflare-one/policies/access/app-paths/).
240
+ Private destinations are an early access feature and gated behind a feature
241
+ flag. Private destinations support private IPv4, IPv6, and Server Name
242
+ Indications (SNI) with optional port ranges.
243
+ """
244
+
245
+ type : Literal ["public" , "private" ]
246
+
247
+
219
248
class SelfHostedApplicationPolicyAccessAppPolicyLink (TypedDict , total = False ):
220
249
id : str
221
250
"""The UUID of the policy"""
@@ -468,10 +497,9 @@ class SaaSApplicationSCIMConfig(TypedDict, total=False):
468
497
469
498
class BrowserSSHApplication (TypedDict , total = False ):
470
499
domain : Required [str ]
471
- """The primary hostname and path that Access will secure .
500
+ """The primary hostname and path secured by Access .
472
501
473
- If the app is visible in the App Launcher dashboard, this is the domain that
474
- will be displayed.
502
+ This domain will be displayed if the app is visible in the App Launcher.
475
503
"""
476
504
477
505
type : Required [str ]
@@ -531,6 +559,14 @@ class BrowserSSHApplication(TypedDict, total=False):
531
559
custom_pages : List [str ]
532
560
"""The custom pages that will be displayed when applicable for this application"""
533
561
562
+ destinations : Iterable [BrowserSSHApplicationDestination ]
563
+ """List of destinations secured by Access.
564
+
565
+ This supersedes `self_hosted_domains` to allow for more flexibility in defining
566
+ different types of domains. If `destinations` are provided, then
567
+ `self_hosted_domains` will be ignored.
568
+ """
569
+
534
570
enable_binding_cookie : bool
535
571
"""
536
572
Enables the binding cookie, which increases security against compromised
@@ -581,7 +617,12 @@ class BrowserSSHApplication(TypedDict, total=False):
581
617
"""
582
618
583
619
self_hosted_domains : List [SelfHostedDomains ]
584
- """List of domains that Access will secure."""
620
+ """List of public domains that Access will secure.
621
+
622
+ This field is deprecated in favor of `destinations` and will be supported until
623
+ **November 21, 2025.** If `destinations` are provided, then
624
+ `self_hosted_domains` will be ignored.
625
+ """
585
626
586
627
service_auth_401_redirect : bool
587
628
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
@@ -603,6 +644,20 @@ class BrowserSSHApplication(TypedDict, total=False):
603
644
"""
604
645
605
646
647
+ class BrowserSSHApplicationDestination (TypedDict , total = False ):
648
+ destination : str
649
+ """A destination secured by Access.
650
+
651
+ Public destinations can include a domain and path with
652
+ [wildcards](https://developers.cloudflare.com/cloudflare-one/policies/access/app-paths/).
653
+ Private destinations are an early access feature and gated behind a feature
654
+ flag. Private destinations support private IPv4, IPv6, and Server Name
655
+ Indications (SNI) with optional port ranges.
656
+ """
657
+
658
+ type : Literal ["public" , "private" ]
659
+
660
+
606
661
class BrowserSSHApplicationPolicyAccessAppPolicyLink (TypedDict , total = False ):
607
662
id : str
608
663
"""The UUID of the policy"""
@@ -700,10 +755,9 @@ class BrowserSSHApplicationSCIMConfig(TypedDict, total=False):
700
755
701
756
class BrowserVNCApplication (TypedDict , total = False ):
702
757
domain : Required [str ]
703
- """The primary hostname and path that Access will secure .
758
+ """The primary hostname and path secured by Access .
704
759
705
- If the app is visible in the App Launcher dashboard, this is the domain that
706
- will be displayed.
760
+ This domain will be displayed if the app is visible in the App Launcher.
707
761
"""
708
762
709
763
type : Required [str ]
@@ -763,6 +817,14 @@ class BrowserVNCApplication(TypedDict, total=False):
763
817
custom_pages : List [str ]
764
818
"""The custom pages that will be displayed when applicable for this application"""
765
819
820
+ destinations : Iterable [BrowserVNCApplicationDestination ]
821
+ """List of destinations secured by Access.
822
+
823
+ This supersedes `self_hosted_domains` to allow for more flexibility in defining
824
+ different types of domains. If `destinations` are provided, then
825
+ `self_hosted_domains` will be ignored.
826
+ """
827
+
766
828
enable_binding_cookie : bool
767
829
"""
768
830
Enables the binding cookie, which increases security against compromised
@@ -813,7 +875,12 @@ class BrowserVNCApplication(TypedDict, total=False):
813
875
"""
814
876
815
877
self_hosted_domains : List [SelfHostedDomains ]
816
- """List of domains that Access will secure."""
878
+ """List of public domains that Access will secure.
879
+
880
+ This field is deprecated in favor of `destinations` and will be supported until
881
+ **November 21, 2025.** If `destinations` are provided, then
882
+ `self_hosted_domains` will be ignored.
883
+ """
817
884
818
885
service_auth_401_redirect : bool
819
886
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
@@ -835,6 +902,20 @@ class BrowserVNCApplication(TypedDict, total=False):
835
902
"""
836
903
837
904
905
+ class BrowserVNCApplicationDestination (TypedDict , total = False ):
906
+ destination : str
907
+ """A destination secured by Access.
908
+
909
+ Public destinations can include a domain and path with
910
+ [wildcards](https://developers.cloudflare.com/cloudflare-one/policies/access/app-paths/).
911
+ Private destinations are an early access feature and gated behind a feature
912
+ flag. Private destinations support private IPv4, IPv6, and Server Name
913
+ Indications (SNI) with optional port ranges.
914
+ """
915
+
916
+ type : Literal ["public" , "private" ]
917
+
918
+
838
919
class BrowserVNCApplicationPolicyAccessAppPolicyLink (TypedDict , total = False ):
839
920
id : str
840
921
"""The UUID of the policy"""
0 commit comments