| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2fda51f commit 2482db5
8 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,6 +70,7 @@ def create( | |||
| 70 | 70 | origin_port: OriginPortParam | Omit = omit, | |
| 71 | 71 | proxy_protocol: Literal["off", "v1", "v2", "simple"] | Omit = omit, | |
| 72 | 72 | tls: Literal["off", "flexible", "full", "strict"] | Omit = omit, | |
| 73 | + virtual_network_id: str | Omit = omit, | ||
| 73 | 74 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. | |
| 74 | 75 | # The extra values given here take precedence over values defined on the client or passed to this method. | |
| 75 | 76 | extra_headers: Headers | None = None, | |
@@ -121,6 +122,9 @@ def create( | |||
| 121 | 122 | ||
| 122 | 123 | tls: The type of TLS termination associated with the application. | |
| 123 | 124 | ||
| 125 | + virtual_network_id: Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 126 | + virtual networks. | ||
| 127 | + | ||
| 124 | 128 | extra_headers: Send extra headers | |
| 125 | 129 | ||
| 126 | 130 | extra_query: Add additional query parameters to the request | |
@@ -187,6 +191,7 @@ def create( | |||
| 187 | 191 | origin_port: OriginPortParam | Omit = omit, | |
| 188 | 192 | proxy_protocol: Literal["off", "v1", "v2", "simple"] | Omit = omit, | |
| 189 | 193 | tls: Literal["off", "flexible", "full", "strict"] | Omit = omit, | |
| 194 | + virtual_network_id: str | Omit = omit, | ||
| 190 | 195 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. | |
| 191 | 196 | # The extra values given here take precedence over values defined on the client or passed to this method. | |
| 192 | 197 | extra_headers: Headers | None = None, | |
@@ -213,6 +218,7 @@ def create( | |||
| 213 | 218 | "origin_port": origin_port, | |
| 214 | 219 | "proxy_protocol": proxy_protocol, | |
| 215 | 220 | "tls": tls, | |
| 221 | + "virtual_network_id": virtual_network_id, | ||
| 216 | 222 | }, | |
| 217 | 223 | app_create_params.AppCreateParams, | |
| 218 | 224 | ), | |
@@ -246,6 +252,7 @@ def update( | |||
| 246 | 252 | origin_port: OriginPortParam | Omit = omit, | |
| 247 | 253 | proxy_protocol: Literal["off", "v1", "v2", "simple"] | Omit = omit, | |
| 248 | 254 | tls: Literal["off", "flexible", "full", "strict"] | Omit = omit, | |
| 255 | + virtual_network_id: str | Omit = omit, | ||
| 249 | 256 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. | |
| 250 | 257 | # The extra values given here take precedence over values defined on the client or passed to this method. | |
| 251 | 258 | extra_headers: Headers | None = None, | |
@@ -299,6 +306,9 @@ def update( | |||
| 299 | 306 | ||
| 300 | 307 | tls: The type of TLS termination associated with the application. | |
| 301 | 308 | ||
| 309 | + virtual_network_id: Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 310 | + virtual networks. | ||
| 311 | + | ||
| 302 | 312 | extra_headers: Send extra headers | |
| 303 | 313 | ||
| 304 | 314 | extra_query: Add additional query parameters to the request | |
@@ -369,6 +379,7 @@ def update( | |||
| 369 | 379 | origin_port: OriginPortParam | Omit = omit, | |
| 370 | 380 | proxy_protocol: Literal["off", "v1", "v2", "simple"] | Omit = omit, | |
| 371 | 381 | tls: Literal["off", "flexible", "full", "strict"] | Omit = omit, | |
| 382 | + virtual_network_id: str | Omit = omit, | ||
| 372 | 383 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. | |
| 373 | 384 | # The extra values given here take precedence over values defined on the client or passed to this method. | |
| 374 | 385 | extra_headers: Headers | None = None, | |
@@ -397,6 +408,7 @@ def update( | |||
| 397 | 408 | "origin_port": origin_port, | |
| 398 | 409 | "proxy_protocol": proxy_protocol, | |
| 399 | 410 | "tls": tls, | |
| 411 | + "virtual_network_id": virtual_network_id, | ||
| 400 | 412 | }, | |
| 401 | 413 | app_update_params.AppUpdateParams, | |
| 402 | 414 | ), | |
@@ -605,6 +617,7 @@ async def create( | |||
| 605 | 617 | origin_port: OriginPortParam | Omit = omit, | |
| 606 | 618 | proxy_protocol: Literal["off", "v1", "v2", "simple"] | Omit = omit, | |
| 607 | 619 | tls: Literal["off", "flexible", "full", "strict"] | Omit = omit, | |
| 620 | + virtual_network_id: str | Omit = omit, | ||
| 608 | 621 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. | |
| 609 | 622 | # The extra values given here take precedence over values defined on the client or passed to this method. | |
| 610 | 623 | extra_headers: Headers | None = None, | |
@@ -656,6 +669,9 @@ async def create( | |||
| 656 | 669 | ||
| 657 | 670 | tls: The type of TLS termination associated with the application. | |
| 658 | 671 | ||
| 672 | + virtual_network_id: Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 673 | + virtual networks. | ||
| 674 | + | ||
| 659 | 675 | extra_headers: Send extra headers | |
| 660 | 676 | ||
| 661 | 677 | extra_query: Add additional query parameters to the request | |
@@ -722,6 +738,7 @@ async def create( | |||
| 722 | 738 | origin_port: OriginPortParam | Omit = omit, | |
| 723 | 739 | proxy_protocol: Literal["off", "v1", "v2", "simple"] | Omit = omit, | |
| 724 | 740 | tls: Literal["off", "flexible", "full", "strict"] | Omit = omit, | |
| 741 | + virtual_network_id: str | Omit = omit, | ||
| 725 | 742 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. | |
| 726 | 743 | # The extra values given here take precedence over values defined on the client or passed to this method. | |
| 727 | 744 | extra_headers: Headers | None = None, | |
@@ -748,6 +765,7 @@ async def create( | |||
| 748 | 765 | "origin_port": origin_port, | |
| 749 | 766 | "proxy_protocol": proxy_protocol, | |
| 750 | 767 | "tls": tls, | |
| 768 | + "virtual_network_id": virtual_network_id, | ||
| 751 | 769 | }, | |
| 752 | 770 | app_create_params.AppCreateParams, | |
| 753 | 771 | ), | |
@@ -781,6 +799,7 @@ async def update( | |||
| 781 | 799 | origin_port: OriginPortParam | Omit = omit, | |
| 782 | 800 | proxy_protocol: Literal["off", "v1", "v2", "simple"] | Omit = omit, | |
| 783 | 801 | tls: Literal["off", "flexible", "full", "strict"] | Omit = omit, | |
| 802 | + virtual_network_id: str | Omit = omit, | ||
| 784 | 803 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. | |
| 785 | 804 | # The extra values given here take precedence over values defined on the client or passed to this method. | |
| 786 | 805 | extra_headers: Headers | None = None, | |
@@ -834,6 +853,9 @@ async def update( | |||
| 834 | 853 | ||
| 835 | 854 | tls: The type of TLS termination associated with the application. | |
| 836 | 855 | ||
| 856 | + virtual_network_id: Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 857 | + virtual networks. | ||
| 858 | + | ||
| 837 | 859 | extra_headers: Send extra headers | |
| 838 | 860 | ||
| 839 | 861 | extra_query: Add additional query parameters to the request | |
@@ -904,6 +926,7 @@ async def update( | |||
| 904 | 926 | origin_port: OriginPortParam | Omit = omit, | |
| 905 | 927 | proxy_protocol: Literal["off", "v1", "v2", "simple"] | Omit = omit, | |
| 906 | 928 | tls: Literal["off", "flexible", "full", "strict"] | Omit = omit, | |
| 929 | + virtual_network_id: str | Omit = omit, | ||
| 907 | 930 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. | |
| 908 | 931 | # The extra values given here take precedence over values defined on the client or passed to this method. | |
| 909 | 932 | extra_headers: Headers | None = None, | |
@@ -932,6 +955,7 @@ async def update( | |||
| 932 | 955 | "origin_port": origin_port, | |
| 933 | 956 | "proxy_protocol": proxy_protocol, | |
| 934 | 957 | "tls": tls, | |
| 958 | + "virtual_network_id": virtual_network_id, | ||
| 935 | 959 | }, | |
| 936 | 960 | app_update_params.AppUpdateParams, | |
| 937 | 961 | ), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -83,6 +83,12 @@ class SpectrumConfigAppConfig(TypedDict, total=False): | |||
| 83 | 83 | tls: Literal["off", "flexible", "full", "strict"] | |
| 84 | 84 | """The type of TLS termination associated with the application.""" | |
| 85 | 85 | ||
| 86 | + virtual_network_id: str | ||
| 87 | + """ | ||
| 88 | + Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 89 | + virtual networks. | ||
| 90 | + """ | ||
| 91 | + | ||
| 86 | 92 | ||
| 87 | 93 | class SpectrumConfigPaygoAppConfig(TypedDict, total=False): | |
| 88 | 94 | zone_id: Required[str] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,6 +88,12 @@ class SpectrumConfigAppConfig(BaseModel): | |||
| 88 | 88 | tls: Optional[Literal["off", "flexible", "full", "strict"]] = None | |
| 89 | 89 | """The type of TLS termination associated with the application.""" | |
| 90 | 90 | ||
| 91 | + virtual_network_id: Optional[str] = None | ||
| 92 | + """ | ||
| 93 | + Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 94 | + virtual networks. | ||
| 95 | + """ | ||
| 96 | + | ||
| 91 | 97 | ||
| 92 | 98 | class SpectrumConfigPaygoAppConfig(BaseModel): | |
| 93 | 99 | id: str | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,6 +88,12 @@ class SpectrumConfigAppConfig(BaseModel): | |||
| 88 | 88 | tls: Optional[Literal["off", "flexible", "full", "strict"]] = None | |
| 89 | 89 | """The type of TLS termination associated with the application.""" | |
| 90 | 90 | ||
| 91 | + virtual_network_id: Optional[str] = None | ||
| 92 | + """ | ||
| 93 | + Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 94 | + virtual networks. | ||
| 95 | + """ | ||
| 96 | + | ||
| 91 | 97 | ||
| 92 | 98 | class SpectrumConfigPaygoAppConfig(BaseModel): | |
| 93 | 99 | id: str | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,6 +88,12 @@ class SpectrumConfigAppConfig(BaseModel): | |||
| 88 | 88 | tls: Optional[Literal["off", "flexible", "full", "strict"]] = None | |
| 89 | 89 | """The type of TLS termination associated with the application.""" | |
| 90 | 90 | ||
| 91 | + virtual_network_id: Optional[str] = None | ||
| 92 | + """ | ||
| 93 | + Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 94 | + virtual networks. | ||
| 95 | + """ | ||
| 96 | + | ||
| 91 | 97 | ||
| 92 | 98 | class SpectrumConfigPaygoAppConfig(BaseModel): | |
| 93 | 99 | id: str | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -83,6 +83,12 @@ class SpectrumConfigAppConfig(TypedDict, total=False): | |||
| 83 | 83 | tls: Literal["off", "flexible", "full", "strict"] | |
| 84 | 84 | """The type of TLS termination associated with the application.""" | |
| 85 | 85 | ||
| 86 | + virtual_network_id: str | ||
| 87 | + """ | ||
| 88 | + Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 89 | + virtual networks. | ||
| 90 | + """ | ||
| 91 | + | ||
| 86 | 92 | ||
| 87 | 93 | class SpectrumConfigPaygoAppConfig(TypedDict, total=False): | |
| 88 | 94 | zone_id: Required[str] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,6 +88,12 @@ class SpectrumConfigAppConfig(BaseModel): | |||
| 88 | 88 | tls: Optional[Literal["off", "flexible", "full", "strict"]] = None | |
| 89 | 89 | """The type of TLS termination associated with the application.""" | |
| 90 | 90 | ||
| 91 | + virtual_network_id: Optional[str] = None | ||
| 92 | + """ | ||
| 93 | + Optional UUID of a virtual network for routing origin traffic through tunnel | ||
| 94 | + virtual networks. | ||
| 95 | + """ | ||
| 96 | + | ||
| 91 | 97 | ||
| 92 | 98 | class SpectrumConfigPaygoAppConfig(BaseModel): | |
| 93 | 99 | id: str | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,6 +61,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N | |||
| 61 | 61 | origin_port=22, | |
| 62 | 62 | proxy_protocol="off", | |
| 63 | 63 | tls="off", | |
| 64 | + virtual_network_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", | ||
| 64 | 65 | ) | |
| 65 | 66 | assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) | |
| 66 | 67 | ||
@@ -210,6 +211,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N | |||
| 210 | 211 | origin_port=22, | |
| 211 | 212 | proxy_protocol="off", | |
| 212 | 213 | tls="off", | |
| 214 | + virtual_network_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", | ||
| 213 | 215 | ) | |
| 214 | 216 | assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) | |
| 215 | 217 | ||
@@ -538,6 +540,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn | |||
| 538 | 540 | origin_port=22, | |
| 539 | 541 | proxy_protocol="off", | |
| 540 | 542 | tls="off", | |
| 543 | + virtual_network_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", | ||
| 541 | 544 | ) | |
| 542 | 545 | assert_matches_type(Optional[AppCreateResponse], app, path=["response"]) | |
| 543 | 546 | ||
@@ -687,6 +690,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn | |||
| 687 | 690 | origin_port=22, | |
| 688 | 691 | proxy_protocol="off", | |
| 689 | 692 | tls="off", | |
| 693 | + virtual_network_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", | ||
| 690 | 694 | ) | |
| 691 | 695 | assert_matches_type(Optional[AppUpdateResponse], app, path=["response"]) | |
| 692 | 696 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments