pulumi-azure-native 2.74.0a1732531694__py3-none-any.whl → 2.75.0a1732957898__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +35 -0
- pulumi_azure_native/azureplaywrightservice/__init__.py +3 -0
- pulumi_azure_native/azureplaywrightservice/account.py +3 -3
- pulumi_azure_native/azureplaywrightservice/get_account.py +2 -2
- pulumi_azure_native/azureplaywrightservice/v20231001preview/account.py +1 -1
- pulumi_azure_native/azureplaywrightservice/v20240201preview/account.py +1 -1
- pulumi_azure_native/azureplaywrightservice/v20240801preview/account.py +1 -1
- pulumi_azure_native/azureplaywrightservice/v20241201/__init__.py +11 -0
- pulumi_azure_native/azureplaywrightservice/v20241201/_enums.py +23 -0
- pulumi_azure_native/azureplaywrightservice/v20241201/account.py +380 -0
- pulumi_azure_native/azureplaywrightservice/v20241201/get_account.py +241 -0
- pulumi_azure_native/azureplaywrightservice/v20241201/outputs.py +131 -0
- pulumi_azure_native/machinelearningservices/v20241001preview/outputs.py +57 -29
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/signalrservice/__init__.py +3 -0
- pulumi_azure_native/signalrservice/get_signal_r.py +2 -2
- pulumi_azure_native/signalrservice/get_signal_r_custom_certificate.py +2 -2
- pulumi_azure_native/signalrservice/get_signal_r_custom_domain.py +2 -2
- pulumi_azure_native/signalrservice/get_signal_r_private_endpoint_connection.py +2 -2
- pulumi_azure_native/signalrservice/get_signal_r_replica.py +2 -2
- pulumi_azure_native/signalrservice/get_signal_r_shared_private_link_resource.py +2 -2
- pulumi_azure_native/signalrservice/list_signal_r_keys.py +2 -2
- pulumi_azure_native/signalrservice/signal_r.py +3 -3
- pulumi_azure_native/signalrservice/signal_r_custom_certificate.py +3 -3
- pulumi_azure_native/signalrservice/signal_r_custom_domain.py +3 -3
- pulumi_azure_native/signalrservice/signal_r_private_endpoint_connection.py +3 -3
- pulumi_azure_native/signalrservice/signal_r_replica.py +3 -3
- pulumi_azure_native/signalrservice/signal_r_shared_private_link_resource.py +3 -3
- pulumi_azure_native/signalrservice/v20230201/signal_r.py +1 -1
- pulumi_azure_native/signalrservice/v20230201/signal_r_custom_certificate.py +1 -1
- pulumi_azure_native/signalrservice/v20230201/signal_r_custom_domain.py +1 -1
- pulumi_azure_native/signalrservice/v20230201/signal_r_private_endpoint_connection.py +1 -1
- pulumi_azure_native/signalrservice/v20230201/signal_r_shared_private_link_resource.py +1 -1
- pulumi_azure_native/signalrservice/v20230301preview/signal_r.py +1 -1
- pulumi_azure_native/signalrservice/v20230301preview/signal_r_custom_certificate.py +1 -1
- pulumi_azure_native/signalrservice/v20230301preview/signal_r_custom_domain.py +1 -1
- pulumi_azure_native/signalrservice/v20230301preview/signal_r_private_endpoint_connection.py +1 -1
- pulumi_azure_native/signalrservice/v20230301preview/signal_r_replica.py +1 -1
- pulumi_azure_native/signalrservice/v20230301preview/signal_r_shared_private_link_resource.py +1 -1
- pulumi_azure_native/signalrservice/v20230601preview/signal_r.py +1 -1
- pulumi_azure_native/signalrservice/v20230601preview/signal_r_custom_certificate.py +1 -1
- pulumi_azure_native/signalrservice/v20230601preview/signal_r_custom_domain.py +1 -1
- pulumi_azure_native/signalrservice/v20230601preview/signal_r_private_endpoint_connection.py +1 -1
- pulumi_azure_native/signalrservice/v20230601preview/signal_r_replica.py +1 -1
- pulumi_azure_native/signalrservice/v20230601preview/signal_r_shared_private_link_resource.py +1 -1
- pulumi_azure_native/signalrservice/v20230801preview/signal_r.py +1 -1
- pulumi_azure_native/signalrservice/v20230801preview/signal_r_custom_certificate.py +1 -1
- pulumi_azure_native/signalrservice/v20230801preview/signal_r_custom_domain.py +1 -1
- pulumi_azure_native/signalrservice/v20230801preview/signal_r_private_endpoint_connection.py +1 -1
- pulumi_azure_native/signalrservice/v20230801preview/signal_r_replica.py +1 -1
- pulumi_azure_native/signalrservice/v20230801preview/signal_r_shared_private_link_resource.py +1 -1
- pulumi_azure_native/signalrservice/v20240101preview/signal_r.py +1 -1
- pulumi_azure_native/signalrservice/v20240101preview/signal_r_custom_certificate.py +1 -1
- pulumi_azure_native/signalrservice/v20240101preview/signal_r_custom_domain.py +1 -1
- pulumi_azure_native/signalrservice/v20240101preview/signal_r_private_endpoint_connection.py +1 -1
- pulumi_azure_native/signalrservice/v20240101preview/signal_r_replica.py +1 -1
- pulumi_azure_native/signalrservice/v20240101preview/signal_r_shared_private_link_resource.py +1 -1
- pulumi_azure_native/signalrservice/v20240301/signal_r.py +1 -1
- pulumi_azure_native/signalrservice/v20240301/signal_r_custom_certificate.py +1 -1
- pulumi_azure_native/signalrservice/v20240301/signal_r_custom_domain.py +1 -1
- pulumi_azure_native/signalrservice/v20240301/signal_r_private_endpoint_connection.py +1 -1
- pulumi_azure_native/signalrservice/v20240301/signal_r_replica.py +1 -1
- pulumi_azure_native/signalrservice/v20240301/signal_r_shared_private_link_resource.py +1 -1
- pulumi_azure_native/signalrservice/v20240401preview/signal_r.py +1 -1
- pulumi_azure_native/signalrservice/v20240401preview/signal_r_custom_certificate.py +1 -1
- pulumi_azure_native/signalrservice/v20240401preview/signal_r_custom_domain.py +1 -1
- pulumi_azure_native/signalrservice/v20240401preview/signal_r_private_endpoint_connection.py +1 -1
- pulumi_azure_native/signalrservice/v20240401preview/signal_r_replica.py +1 -1
- pulumi_azure_native/signalrservice/v20240401preview/signal_r_shared_private_link_resource.py +1 -1
- pulumi_azure_native/signalrservice/v20240801preview/signal_r.py +1 -1
- pulumi_azure_native/signalrservice/v20240801preview/signal_r_custom_certificate.py +1 -1
- pulumi_azure_native/signalrservice/v20240801preview/signal_r_custom_domain.py +1 -1
- pulumi_azure_native/signalrservice/v20240801preview/signal_r_private_endpoint_connection.py +1 -1
- pulumi_azure_native/signalrservice/v20240801preview/signal_r_replica.py +1 -1
- pulumi_azure_native/signalrservice/v20240801preview/signal_r_shared_private_link_resource.py +1 -1
- pulumi_azure_native/signalrservice/v20241001preview/__init__.py +23 -0
- pulumi_azure_native/signalrservice/v20241001preview/_enums.py +109 -0
- pulumi_azure_native/signalrservice/v20241001preview/_inputs.py +1976 -0
- pulumi_azure_native/signalrservice/v20241001preview/get_signal_r.py +536 -0
- pulumi_azure_native/signalrservice/v20241001preview/get_signal_r_custom_certificate.py +191 -0
- pulumi_azure_native/signalrservice/v20241001preview/get_signal_r_custom_domain.py +177 -0
- pulumi_azure_native/signalrservice/v20241001preview/get_signal_r_private_endpoint_connection.py +191 -0
- pulumi_azure_native/signalrservice/v20241001preview/get_signal_r_replica.py +222 -0
- pulumi_azure_native/signalrservice/v20241001preview/get_signal_r_shared_private_link_resource.py +219 -0
- pulumi_azure_native/signalrservice/v20241001preview/list_signal_r_keys.py +128 -0
- pulumi_azure_native/signalrservice/v20241001preview/outputs.py +2015 -0
- pulumi_azure_native/signalrservice/v20241001preview/signal_r.py +892 -0
- pulumi_azure_native/signalrservice/v20241001preview/signal_r_custom_certificate.py +289 -0
- pulumi_azure_native/signalrservice/v20241001preview/signal_r_custom_domain.py +260 -0
- pulumi_azure_native/signalrservice/v20241001preview/signal_r_private_endpoint_connection.py +270 -0
- pulumi_azure_native/signalrservice/v20241001preview/signal_r_replica.py +367 -0
- pulumi_azure_native/signalrservice/v20241001preview/signal_r_shared_private_link_resource.py +328 -0
- pulumi_azure_native/webpubsub/__init__.py +3 -0
- pulumi_azure_native/webpubsub/get_web_pub_sub.py +2 -2
- pulumi_azure_native/webpubsub/get_web_pub_sub_custom_certificate.py +2 -2
- pulumi_azure_native/webpubsub/get_web_pub_sub_custom_domain.py +2 -2
- pulumi_azure_native/webpubsub/get_web_pub_sub_hub.py +2 -2
- pulumi_azure_native/webpubsub/get_web_pub_sub_private_endpoint_connection.py +2 -2
- pulumi_azure_native/webpubsub/get_web_pub_sub_replica.py +2 -2
- pulumi_azure_native/webpubsub/get_web_pub_sub_shared_private_link_resource.py +2 -2
- pulumi_azure_native/webpubsub/list_web_pub_sub_keys.py +2 -2
- pulumi_azure_native/webpubsub/v20210401preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20210601preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20210901preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20230201/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20230201/web_pub_sub_custom_certificate.py +1 -1
- pulumi_azure_native/webpubsub/v20230201/web_pub_sub_custom_domain.py +1 -1
- pulumi_azure_native/webpubsub/v20230201/web_pub_sub_hub.py +1 -1
- pulumi_azure_native/webpubsub/v20230201/web_pub_sub_private_endpoint_connection.py +1 -1
- pulumi_azure_native/webpubsub/v20230201/web_pub_sub_shared_private_link_resource.py +1 -1
- pulumi_azure_native/webpubsub/v20230301preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20230301preview/web_pub_sub_custom_certificate.py +1 -1
- pulumi_azure_native/webpubsub/v20230301preview/web_pub_sub_custom_domain.py +1 -1
- pulumi_azure_native/webpubsub/v20230301preview/web_pub_sub_hub.py +1 -1
- pulumi_azure_native/webpubsub/v20230301preview/web_pub_sub_private_endpoint_connection.py +1 -1
- pulumi_azure_native/webpubsub/v20230301preview/web_pub_sub_replica.py +1 -1
- pulumi_azure_native/webpubsub/v20230301preview/web_pub_sub_shared_private_link_resource.py +1 -1
- pulumi_azure_native/webpubsub/v20230601preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20230601preview/web_pub_sub_custom_certificate.py +1 -1
- pulumi_azure_native/webpubsub/v20230601preview/web_pub_sub_custom_domain.py +1 -1
- pulumi_azure_native/webpubsub/v20230601preview/web_pub_sub_hub.py +1 -1
- pulumi_azure_native/webpubsub/v20230601preview/web_pub_sub_private_endpoint_connection.py +1 -1
- pulumi_azure_native/webpubsub/v20230601preview/web_pub_sub_replica.py +1 -1
- pulumi_azure_native/webpubsub/v20230601preview/web_pub_sub_shared_private_link_resource.py +1 -1
- pulumi_azure_native/webpubsub/v20230801preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20230801preview/web_pub_sub_custom_certificate.py +1 -1
- pulumi_azure_native/webpubsub/v20230801preview/web_pub_sub_custom_domain.py +1 -1
- pulumi_azure_native/webpubsub/v20230801preview/web_pub_sub_hub.py +1 -1
- pulumi_azure_native/webpubsub/v20230801preview/web_pub_sub_private_endpoint_connection.py +1 -1
- pulumi_azure_native/webpubsub/v20230801preview/web_pub_sub_replica.py +1 -1
- pulumi_azure_native/webpubsub/v20230801preview/web_pub_sub_shared_private_link_resource.py +1 -1
- pulumi_azure_native/webpubsub/v20240101preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20240101preview/web_pub_sub_custom_certificate.py +1 -1
- pulumi_azure_native/webpubsub/v20240101preview/web_pub_sub_custom_domain.py +1 -1
- pulumi_azure_native/webpubsub/v20240101preview/web_pub_sub_hub.py +1 -1
- pulumi_azure_native/webpubsub/v20240101preview/web_pub_sub_private_endpoint_connection.py +1 -1
- pulumi_azure_native/webpubsub/v20240101preview/web_pub_sub_replica.py +1 -1
- pulumi_azure_native/webpubsub/v20240101preview/web_pub_sub_shared_private_link_resource.py +1 -1
- pulumi_azure_native/webpubsub/v20240301/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20240301/web_pub_sub_custom_certificate.py +1 -1
- pulumi_azure_native/webpubsub/v20240301/web_pub_sub_custom_domain.py +1 -1
- pulumi_azure_native/webpubsub/v20240301/web_pub_sub_hub.py +1 -1
- pulumi_azure_native/webpubsub/v20240301/web_pub_sub_private_endpoint_connection.py +1 -1
- pulumi_azure_native/webpubsub/v20240301/web_pub_sub_replica.py +1 -1
- pulumi_azure_native/webpubsub/v20240301/web_pub_sub_shared_private_link_resource.py +1 -1
- pulumi_azure_native/webpubsub/v20240401preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20240401preview/web_pub_sub_custom_certificate.py +1 -1
- pulumi_azure_native/webpubsub/v20240401preview/web_pub_sub_custom_domain.py +1 -1
- pulumi_azure_native/webpubsub/v20240401preview/web_pub_sub_hub.py +1 -1
- pulumi_azure_native/webpubsub/v20240401preview/web_pub_sub_private_endpoint_connection.py +1 -1
- pulumi_azure_native/webpubsub/v20240401preview/web_pub_sub_replica.py +1 -1
- pulumi_azure_native/webpubsub/v20240401preview/web_pub_sub_shared_private_link_resource.py +1 -1
- pulumi_azure_native/webpubsub/v20240801preview/web_pub_sub.py +1 -1
- pulumi_azure_native/webpubsub/v20240801preview/web_pub_sub_custom_certificate.py +1 -1
- pulumi_azure_native/webpubsub/v20240801preview/web_pub_sub_custom_domain.py +1 -1
- pulumi_azure_native/webpubsub/v20240801preview/web_pub_sub_hub.py +1 -1
- pulumi_azure_native/webpubsub/v20240801preview/web_pub_sub_private_endpoint_connection.py +1 -1
- pulumi_azure_native/webpubsub/v20240801preview/web_pub_sub_replica.py +1 -1
- pulumi_azure_native/webpubsub/v20240801preview/web_pub_sub_shared_private_link_resource.py +1 -1
- pulumi_azure_native/webpubsub/v20241001preview/__init__.py +25 -0
- pulumi_azure_native/webpubsub/v20241001preview/_enums.py +104 -0
- pulumi_azure_native/webpubsub/v20241001preview/_inputs.py +2053 -0
- pulumi_azure_native/webpubsub/v20241001preview/get_web_pub_sub.py +489 -0
- pulumi_azure_native/webpubsub/v20241001preview/get_web_pub_sub_custom_certificate.py +191 -0
- pulumi_azure_native/webpubsub/v20241001preview/get_web_pub_sub_custom_domain.py +177 -0
- pulumi_azure_native/webpubsub/v20241001preview/get_web_pub_sub_hub.py +149 -0
- pulumi_azure_native/webpubsub/v20241001preview/get_web_pub_sub_private_endpoint_connection.py +191 -0
- pulumi_azure_native/webpubsub/v20241001preview/get_web_pub_sub_replica.py +222 -0
- pulumi_azure_native/webpubsub/v20241001preview/get_web_pub_sub_shared_private_link_resource.py +219 -0
- pulumi_azure_native/webpubsub/v20241001preview/list_web_pub_sub_keys.py +128 -0
- pulumi_azure_native/webpubsub/v20241001preview/outputs.py +2099 -0
- pulumi_azure_native/webpubsub/v20241001preview/web_pub_sub.py +785 -0
- pulumi_azure_native/webpubsub/v20241001preview/web_pub_sub_custom_certificate.py +289 -0
- pulumi_azure_native/webpubsub/v20241001preview/web_pub_sub_custom_domain.py +260 -0
- pulumi_azure_native/webpubsub/v20241001preview/web_pub_sub_hub.py +222 -0
- pulumi_azure_native/webpubsub/v20241001preview/web_pub_sub_private_endpoint_connection.py +270 -0
- pulumi_azure_native/webpubsub/v20241001preview/web_pub_sub_replica.py +367 -0
- pulumi_azure_native/webpubsub/v20241001preview/web_pub_sub_shared_private_link_resource.py +328 -0
- pulumi_azure_native/webpubsub/web_pub_sub.py +3 -3
- pulumi_azure_native/webpubsub/web_pub_sub_custom_certificate.py +3 -3
- pulumi_azure_native/webpubsub/web_pub_sub_custom_domain.py +3 -3
- pulumi_azure_native/webpubsub/web_pub_sub_hub.py +3 -3
- pulumi_azure_native/webpubsub/web_pub_sub_private_endpoint_connection.py +3 -3
- pulumi_azure_native/webpubsub/web_pub_sub_replica.py +3 -3
- pulumi_azure_native/webpubsub/web_pub_sub_shared_private_link_resource.py +3 -3
- {pulumi_azure_native-2.74.0a1732531694.dist-info → pulumi_azure_native-2.75.0a1732957898.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.74.0a1732531694.dist-info → pulumi_azure_native-2.75.0a1732957898.dist-info}/RECORD +189 -148
- {pulumi_azure_native-2.74.0a1732531694.dist-info → pulumi_azure_native-2.75.0a1732957898.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.74.0a1732531694.dist-info → pulumi_azure_native-2.75.0a1732957898.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2015 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._enums import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'ApplicationFirewallSettingsResponse',
|
|
21
|
+
'IPRuleResponse',
|
|
22
|
+
'LiveTraceCategoryResponse',
|
|
23
|
+
'LiveTraceConfigurationResponse',
|
|
24
|
+
'ManagedIdentityResponse',
|
|
25
|
+
'ManagedIdentitySettingsResponse',
|
|
26
|
+
'NetworkACLResponse',
|
|
27
|
+
'PrivateEndpointACLResponse',
|
|
28
|
+
'PrivateEndpointConnectionResponse',
|
|
29
|
+
'PrivateEndpointResponse',
|
|
30
|
+
'PrivateLinkServiceConnectionStateResponse',
|
|
31
|
+
'ResourceLogCategoryResponse',
|
|
32
|
+
'ResourceLogConfigurationResponse',
|
|
33
|
+
'ResourceReferenceResponse',
|
|
34
|
+
'ResourceSkuResponse',
|
|
35
|
+
'ServerlessSettingsResponse',
|
|
36
|
+
'ServerlessUpstreamSettingsResponse',
|
|
37
|
+
'SharedPrivateLinkResourceResponse',
|
|
38
|
+
'SignalRCorsSettingsResponse',
|
|
39
|
+
'SignalRFeatureResponse',
|
|
40
|
+
'SignalRNetworkACLsResponse',
|
|
41
|
+
'SignalRTlsSettingsResponse',
|
|
42
|
+
'SystemDataResponse',
|
|
43
|
+
'ThrottleByJwtCustomClaimRuleResponse',
|
|
44
|
+
'ThrottleByJwtSignatureRuleResponse',
|
|
45
|
+
'ThrottleByUserIdRuleResponse',
|
|
46
|
+
'TrafficThrottleByJwtCustomClaimRuleResponse',
|
|
47
|
+
'TrafficThrottleByJwtSignatureRuleResponse',
|
|
48
|
+
'TrafficThrottleByUserIdRuleResponse',
|
|
49
|
+
'UpstreamAuthSettingsResponse',
|
|
50
|
+
'UpstreamTemplateResponse',
|
|
51
|
+
'UserAssignedIdentityPropertyResponse',
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
@pulumi.output_type
|
|
55
|
+
class ApplicationFirewallSettingsResponse(dict):
|
|
56
|
+
"""
|
|
57
|
+
Application firewall settings for the resource
|
|
58
|
+
"""
|
|
59
|
+
@staticmethod
|
|
60
|
+
def __key_warning(key: str):
|
|
61
|
+
suggest = None
|
|
62
|
+
if key == "clientConnectionCountRules":
|
|
63
|
+
suggest = "client_connection_count_rules"
|
|
64
|
+
elif key == "clientTrafficControlRules":
|
|
65
|
+
suggest = "client_traffic_control_rules"
|
|
66
|
+
|
|
67
|
+
if suggest:
|
|
68
|
+
pulumi.log.warn(f"Key '{key}' not found in ApplicationFirewallSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
69
|
+
|
|
70
|
+
def __getitem__(self, key: str) -> Any:
|
|
71
|
+
ApplicationFirewallSettingsResponse.__key_warning(key)
|
|
72
|
+
return super().__getitem__(key)
|
|
73
|
+
|
|
74
|
+
def get(self, key: str, default = None) -> Any:
|
|
75
|
+
ApplicationFirewallSettingsResponse.__key_warning(key)
|
|
76
|
+
return super().get(key, default)
|
|
77
|
+
|
|
78
|
+
def __init__(__self__, *,
|
|
79
|
+
client_connection_count_rules: Optional[Sequence[Any]] = None,
|
|
80
|
+
client_traffic_control_rules: Optional[Sequence[Any]] = None):
|
|
81
|
+
"""
|
|
82
|
+
Application firewall settings for the resource
|
|
83
|
+
:param Sequence[Union['ThrottleByJwtCustomClaimRuleResponse', 'ThrottleByJwtSignatureRuleResponse', 'ThrottleByUserIdRuleResponse']] client_connection_count_rules: Rules to control the client connection count
|
|
84
|
+
:param Sequence[Union['TrafficThrottleByJwtCustomClaimRuleResponse', 'TrafficThrottleByJwtSignatureRuleResponse', 'TrafficThrottleByUserIdRuleResponse']] client_traffic_control_rules: Rules to control the client traffic
|
|
85
|
+
"""
|
|
86
|
+
if client_connection_count_rules is not None:
|
|
87
|
+
pulumi.set(__self__, "client_connection_count_rules", client_connection_count_rules)
|
|
88
|
+
if client_traffic_control_rules is not None:
|
|
89
|
+
pulumi.set(__self__, "client_traffic_control_rules", client_traffic_control_rules)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter(name="clientConnectionCountRules")
|
|
93
|
+
def client_connection_count_rules(self) -> Optional[Sequence[Any]]:
|
|
94
|
+
"""
|
|
95
|
+
Rules to control the client connection count
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "client_connection_count_rules")
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
@pulumi.getter(name="clientTrafficControlRules")
|
|
101
|
+
def client_traffic_control_rules(self) -> Optional[Sequence[Any]]:
|
|
102
|
+
"""
|
|
103
|
+
Rules to control the client traffic
|
|
104
|
+
"""
|
|
105
|
+
return pulumi.get(self, "client_traffic_control_rules")
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
@pulumi.output_type
|
|
109
|
+
class IPRuleResponse(dict):
|
|
110
|
+
"""
|
|
111
|
+
An IP rule
|
|
112
|
+
"""
|
|
113
|
+
def __init__(__self__, *,
|
|
114
|
+
action: Optional[str] = None,
|
|
115
|
+
value: Optional[str] = None):
|
|
116
|
+
"""
|
|
117
|
+
An IP rule
|
|
118
|
+
:param str action: Azure Networking ACL Action.
|
|
119
|
+
:param str value: An IP or CIDR or ServiceTag
|
|
120
|
+
"""
|
|
121
|
+
if action is not None:
|
|
122
|
+
pulumi.set(__self__, "action", action)
|
|
123
|
+
if value is not None:
|
|
124
|
+
pulumi.set(__self__, "value", value)
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
@pulumi.getter
|
|
128
|
+
def action(self) -> Optional[str]:
|
|
129
|
+
"""
|
|
130
|
+
Azure Networking ACL Action.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "action")
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter
|
|
136
|
+
def value(self) -> Optional[str]:
|
|
137
|
+
"""
|
|
138
|
+
An IP or CIDR or ServiceTag
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "value")
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
@pulumi.output_type
|
|
144
|
+
class LiveTraceCategoryResponse(dict):
|
|
145
|
+
"""
|
|
146
|
+
Live trace category configuration of a Microsoft.SignalRService resource.
|
|
147
|
+
"""
|
|
148
|
+
def __init__(__self__, *,
|
|
149
|
+
enabled: Optional[str] = None,
|
|
150
|
+
name: Optional[str] = None):
|
|
151
|
+
"""
|
|
152
|
+
Live trace category configuration of a Microsoft.SignalRService resource.
|
|
153
|
+
:param str enabled: Indicates whether or the live trace category is enabled.
|
|
154
|
+
Available values: true, false.
|
|
155
|
+
Case insensitive.
|
|
156
|
+
:param str name: Gets or sets the live trace category's name.
|
|
157
|
+
Available values: ConnectivityLogs, MessagingLogs.
|
|
158
|
+
Case insensitive.
|
|
159
|
+
"""
|
|
160
|
+
if enabled is not None:
|
|
161
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
162
|
+
if name is not None:
|
|
163
|
+
pulumi.set(__self__, "name", name)
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
@pulumi.getter
|
|
167
|
+
def enabled(self) -> Optional[str]:
|
|
168
|
+
"""
|
|
169
|
+
Indicates whether or the live trace category is enabled.
|
|
170
|
+
Available values: true, false.
|
|
171
|
+
Case insensitive.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "enabled")
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
@pulumi.getter
|
|
177
|
+
def name(self) -> Optional[str]:
|
|
178
|
+
"""
|
|
179
|
+
Gets or sets the live trace category's name.
|
|
180
|
+
Available values: ConnectivityLogs, MessagingLogs.
|
|
181
|
+
Case insensitive.
|
|
182
|
+
"""
|
|
183
|
+
return pulumi.get(self, "name")
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
@pulumi.output_type
|
|
187
|
+
class LiveTraceConfigurationResponse(dict):
|
|
188
|
+
"""
|
|
189
|
+
Live trace configuration of a Microsoft.SignalRService resource.
|
|
190
|
+
"""
|
|
191
|
+
def __init__(__self__, *,
|
|
192
|
+
categories: Optional[Sequence['outputs.LiveTraceCategoryResponse']] = None,
|
|
193
|
+
enabled: Optional[str] = None):
|
|
194
|
+
"""
|
|
195
|
+
Live trace configuration of a Microsoft.SignalRService resource.
|
|
196
|
+
:param Sequence['LiveTraceCategoryResponse'] categories: Gets or sets the list of category configurations.
|
|
197
|
+
:param str enabled: Indicates whether or not enable live trace.
|
|
198
|
+
When it's set to true, live trace client can connect to the service.
|
|
199
|
+
Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories".
|
|
200
|
+
Available values: true, false.
|
|
201
|
+
Case insensitive.
|
|
202
|
+
"""
|
|
203
|
+
if categories is not None:
|
|
204
|
+
pulumi.set(__self__, "categories", categories)
|
|
205
|
+
if enabled is None:
|
|
206
|
+
enabled = 'false'
|
|
207
|
+
if enabled is not None:
|
|
208
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
@pulumi.getter
|
|
212
|
+
def categories(self) -> Optional[Sequence['outputs.LiveTraceCategoryResponse']]:
|
|
213
|
+
"""
|
|
214
|
+
Gets or sets the list of category configurations.
|
|
215
|
+
"""
|
|
216
|
+
return pulumi.get(self, "categories")
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
@pulumi.getter
|
|
220
|
+
def enabled(self) -> Optional[str]:
|
|
221
|
+
"""
|
|
222
|
+
Indicates whether or not enable live trace.
|
|
223
|
+
When it's set to true, live trace client can connect to the service.
|
|
224
|
+
Otherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in "categories".
|
|
225
|
+
Available values: true, false.
|
|
226
|
+
Case insensitive.
|
|
227
|
+
"""
|
|
228
|
+
return pulumi.get(self, "enabled")
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
@pulumi.output_type
|
|
232
|
+
class ManagedIdentityResponse(dict):
|
|
233
|
+
"""
|
|
234
|
+
A class represent managed identities used for request and response
|
|
235
|
+
"""
|
|
236
|
+
@staticmethod
|
|
237
|
+
def __key_warning(key: str):
|
|
238
|
+
suggest = None
|
|
239
|
+
if key == "principalId":
|
|
240
|
+
suggest = "principal_id"
|
|
241
|
+
elif key == "tenantId":
|
|
242
|
+
suggest = "tenant_id"
|
|
243
|
+
elif key == "userAssignedIdentities":
|
|
244
|
+
suggest = "user_assigned_identities"
|
|
245
|
+
|
|
246
|
+
if suggest:
|
|
247
|
+
pulumi.log.warn(f"Key '{key}' not found in ManagedIdentityResponse. Access the value via the '{suggest}' property getter instead.")
|
|
248
|
+
|
|
249
|
+
def __getitem__(self, key: str) -> Any:
|
|
250
|
+
ManagedIdentityResponse.__key_warning(key)
|
|
251
|
+
return super().__getitem__(key)
|
|
252
|
+
|
|
253
|
+
def get(self, key: str, default = None) -> Any:
|
|
254
|
+
ManagedIdentityResponse.__key_warning(key)
|
|
255
|
+
return super().get(key, default)
|
|
256
|
+
|
|
257
|
+
def __init__(__self__, *,
|
|
258
|
+
principal_id: str,
|
|
259
|
+
tenant_id: str,
|
|
260
|
+
type: Optional[str] = None,
|
|
261
|
+
user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentityPropertyResponse']] = None):
|
|
262
|
+
"""
|
|
263
|
+
A class represent managed identities used for request and response
|
|
264
|
+
:param str principal_id: Get the principal id for the system assigned identity.
|
|
265
|
+
Only be used in response.
|
|
266
|
+
:param str tenant_id: Get the tenant id for the system assigned identity.
|
|
267
|
+
Only be used in response
|
|
268
|
+
:param str type: Represents the identity type: systemAssigned, userAssigned, None
|
|
269
|
+
:param Mapping[str, 'UserAssignedIdentityPropertyResponse'] user_assigned_identities: Get or set the user assigned identities
|
|
270
|
+
"""
|
|
271
|
+
pulumi.set(__self__, "principal_id", principal_id)
|
|
272
|
+
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
273
|
+
if type is not None:
|
|
274
|
+
pulumi.set(__self__, "type", type)
|
|
275
|
+
if user_assigned_identities is not None:
|
|
276
|
+
pulumi.set(__self__, "user_assigned_identities", user_assigned_identities)
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter(name="principalId")
|
|
280
|
+
def principal_id(self) -> str:
|
|
281
|
+
"""
|
|
282
|
+
Get the principal id for the system assigned identity.
|
|
283
|
+
Only be used in response.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "principal_id")
|
|
286
|
+
|
|
287
|
+
@property
|
|
288
|
+
@pulumi.getter(name="tenantId")
|
|
289
|
+
def tenant_id(self) -> str:
|
|
290
|
+
"""
|
|
291
|
+
Get the tenant id for the system assigned identity.
|
|
292
|
+
Only be used in response
|
|
293
|
+
"""
|
|
294
|
+
return pulumi.get(self, "tenant_id")
|
|
295
|
+
|
|
296
|
+
@property
|
|
297
|
+
@pulumi.getter
|
|
298
|
+
def type(self) -> Optional[str]:
|
|
299
|
+
"""
|
|
300
|
+
Represents the identity type: systemAssigned, userAssigned, None
|
|
301
|
+
"""
|
|
302
|
+
return pulumi.get(self, "type")
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
@pulumi.getter(name="userAssignedIdentities")
|
|
306
|
+
def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityPropertyResponse']]:
|
|
307
|
+
"""
|
|
308
|
+
Get or set the user assigned identities
|
|
309
|
+
"""
|
|
310
|
+
return pulumi.get(self, "user_assigned_identities")
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
@pulumi.output_type
|
|
314
|
+
class ManagedIdentitySettingsResponse(dict):
|
|
315
|
+
"""
|
|
316
|
+
Managed identity settings for upstream.
|
|
317
|
+
"""
|
|
318
|
+
def __init__(__self__, *,
|
|
319
|
+
resource: Optional[str] = None):
|
|
320
|
+
"""
|
|
321
|
+
Managed identity settings for upstream.
|
|
322
|
+
:param str resource: The Resource indicating the App ID URI of the target resource.
|
|
323
|
+
It also appears in the aud (audience) claim of the issued token.
|
|
324
|
+
"""
|
|
325
|
+
if resource is not None:
|
|
326
|
+
pulumi.set(__self__, "resource", resource)
|
|
327
|
+
|
|
328
|
+
@property
|
|
329
|
+
@pulumi.getter
|
|
330
|
+
def resource(self) -> Optional[str]:
|
|
331
|
+
"""
|
|
332
|
+
The Resource indicating the App ID URI of the target resource.
|
|
333
|
+
It also appears in the aud (audience) claim of the issued token.
|
|
334
|
+
"""
|
|
335
|
+
return pulumi.get(self, "resource")
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
@pulumi.output_type
|
|
339
|
+
class NetworkACLResponse(dict):
|
|
340
|
+
"""
|
|
341
|
+
Network ACL
|
|
342
|
+
"""
|
|
343
|
+
def __init__(__self__, *,
|
|
344
|
+
allow: Optional[Sequence[str]] = None,
|
|
345
|
+
deny: Optional[Sequence[str]] = None):
|
|
346
|
+
"""
|
|
347
|
+
Network ACL
|
|
348
|
+
:param Sequence[str] allow: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
|
|
349
|
+
:param Sequence[str] deny: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
|
|
350
|
+
"""
|
|
351
|
+
if allow is not None:
|
|
352
|
+
pulumi.set(__self__, "allow", allow)
|
|
353
|
+
if deny is not None:
|
|
354
|
+
pulumi.set(__self__, "deny", deny)
|
|
355
|
+
|
|
356
|
+
@property
|
|
357
|
+
@pulumi.getter
|
|
358
|
+
def allow(self) -> Optional[Sequence[str]]:
|
|
359
|
+
"""
|
|
360
|
+
Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
|
|
361
|
+
"""
|
|
362
|
+
return pulumi.get(self, "allow")
|
|
363
|
+
|
|
364
|
+
@property
|
|
365
|
+
@pulumi.getter
|
|
366
|
+
def deny(self) -> Optional[Sequence[str]]:
|
|
367
|
+
"""
|
|
368
|
+
Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
|
|
369
|
+
"""
|
|
370
|
+
return pulumi.get(self, "deny")
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
@pulumi.output_type
|
|
374
|
+
class PrivateEndpointACLResponse(dict):
|
|
375
|
+
"""
|
|
376
|
+
ACL for a private endpoint
|
|
377
|
+
"""
|
|
378
|
+
def __init__(__self__, *,
|
|
379
|
+
name: str,
|
|
380
|
+
allow: Optional[Sequence[str]] = None,
|
|
381
|
+
deny: Optional[Sequence[str]] = None):
|
|
382
|
+
"""
|
|
383
|
+
ACL for a private endpoint
|
|
384
|
+
:param str name: Name of the private endpoint connection
|
|
385
|
+
:param Sequence[str] allow: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
|
|
386
|
+
:param Sequence[str] deny: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
|
|
387
|
+
"""
|
|
388
|
+
pulumi.set(__self__, "name", name)
|
|
389
|
+
if allow is not None:
|
|
390
|
+
pulumi.set(__self__, "allow", allow)
|
|
391
|
+
if deny is not None:
|
|
392
|
+
pulumi.set(__self__, "deny", deny)
|
|
393
|
+
|
|
394
|
+
@property
|
|
395
|
+
@pulumi.getter
|
|
396
|
+
def name(self) -> str:
|
|
397
|
+
"""
|
|
398
|
+
Name of the private endpoint connection
|
|
399
|
+
"""
|
|
400
|
+
return pulumi.get(self, "name")
|
|
401
|
+
|
|
402
|
+
@property
|
|
403
|
+
@pulumi.getter
|
|
404
|
+
def allow(self) -> Optional[Sequence[str]]:
|
|
405
|
+
"""
|
|
406
|
+
Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
|
|
407
|
+
"""
|
|
408
|
+
return pulumi.get(self, "allow")
|
|
409
|
+
|
|
410
|
+
@property
|
|
411
|
+
@pulumi.getter
|
|
412
|
+
def deny(self) -> Optional[Sequence[str]]:
|
|
413
|
+
"""
|
|
414
|
+
Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
|
|
415
|
+
"""
|
|
416
|
+
return pulumi.get(self, "deny")
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
@pulumi.output_type
|
|
420
|
+
class PrivateEndpointConnectionResponse(dict):
|
|
421
|
+
"""
|
|
422
|
+
A private endpoint connection to an azure resource
|
|
423
|
+
"""
|
|
424
|
+
@staticmethod
|
|
425
|
+
def __key_warning(key: str):
|
|
426
|
+
suggest = None
|
|
427
|
+
if key == "groupIds":
|
|
428
|
+
suggest = "group_ids"
|
|
429
|
+
elif key == "provisioningState":
|
|
430
|
+
suggest = "provisioning_state"
|
|
431
|
+
elif key == "systemData":
|
|
432
|
+
suggest = "system_data"
|
|
433
|
+
elif key == "privateEndpoint":
|
|
434
|
+
suggest = "private_endpoint"
|
|
435
|
+
elif key == "privateLinkServiceConnectionState":
|
|
436
|
+
suggest = "private_link_service_connection_state"
|
|
437
|
+
|
|
438
|
+
if suggest:
|
|
439
|
+
pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionResponse. Access the value via the '{suggest}' property getter instead.")
|
|
440
|
+
|
|
441
|
+
def __getitem__(self, key: str) -> Any:
|
|
442
|
+
PrivateEndpointConnectionResponse.__key_warning(key)
|
|
443
|
+
return super().__getitem__(key)
|
|
444
|
+
|
|
445
|
+
def get(self, key: str, default = None) -> Any:
|
|
446
|
+
PrivateEndpointConnectionResponse.__key_warning(key)
|
|
447
|
+
return super().get(key, default)
|
|
448
|
+
|
|
449
|
+
def __init__(__self__, *,
|
|
450
|
+
group_ids: Sequence[str],
|
|
451
|
+
id: str,
|
|
452
|
+
name: str,
|
|
453
|
+
provisioning_state: str,
|
|
454
|
+
system_data: 'outputs.SystemDataResponse',
|
|
455
|
+
type: str,
|
|
456
|
+
private_endpoint: Optional['outputs.PrivateEndpointResponse'] = None,
|
|
457
|
+
private_link_service_connection_state: Optional['outputs.PrivateLinkServiceConnectionStateResponse'] = None):
|
|
458
|
+
"""
|
|
459
|
+
A private endpoint connection to an azure resource
|
|
460
|
+
:param Sequence[str] group_ids: Group IDs
|
|
461
|
+
:param str id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
462
|
+
:param str name: The name of the resource
|
|
463
|
+
:param str provisioning_state: Provisioning state of the resource.
|
|
464
|
+
:param 'SystemDataResponse' system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
465
|
+
:param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
466
|
+
:param 'PrivateEndpointResponse' private_endpoint: Private endpoint
|
|
467
|
+
:param 'PrivateLinkServiceConnectionStateResponse' private_link_service_connection_state: Connection state of the private endpoint connection
|
|
468
|
+
"""
|
|
469
|
+
pulumi.set(__self__, "group_ids", group_ids)
|
|
470
|
+
pulumi.set(__self__, "id", id)
|
|
471
|
+
pulumi.set(__self__, "name", name)
|
|
472
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
473
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
474
|
+
pulumi.set(__self__, "type", type)
|
|
475
|
+
if private_endpoint is not None:
|
|
476
|
+
pulumi.set(__self__, "private_endpoint", private_endpoint)
|
|
477
|
+
if private_link_service_connection_state is not None:
|
|
478
|
+
pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
|
|
479
|
+
|
|
480
|
+
@property
|
|
481
|
+
@pulumi.getter(name="groupIds")
|
|
482
|
+
def group_ids(self) -> Sequence[str]:
|
|
483
|
+
"""
|
|
484
|
+
Group IDs
|
|
485
|
+
"""
|
|
486
|
+
return pulumi.get(self, "group_ids")
|
|
487
|
+
|
|
488
|
+
@property
|
|
489
|
+
@pulumi.getter
|
|
490
|
+
def id(self) -> str:
|
|
491
|
+
"""
|
|
492
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
493
|
+
"""
|
|
494
|
+
return pulumi.get(self, "id")
|
|
495
|
+
|
|
496
|
+
@property
|
|
497
|
+
@pulumi.getter
|
|
498
|
+
def name(self) -> str:
|
|
499
|
+
"""
|
|
500
|
+
The name of the resource
|
|
501
|
+
"""
|
|
502
|
+
return pulumi.get(self, "name")
|
|
503
|
+
|
|
504
|
+
@property
|
|
505
|
+
@pulumi.getter(name="provisioningState")
|
|
506
|
+
def provisioning_state(self) -> str:
|
|
507
|
+
"""
|
|
508
|
+
Provisioning state of the resource.
|
|
509
|
+
"""
|
|
510
|
+
return pulumi.get(self, "provisioning_state")
|
|
511
|
+
|
|
512
|
+
@property
|
|
513
|
+
@pulumi.getter(name="systemData")
|
|
514
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
515
|
+
"""
|
|
516
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
517
|
+
"""
|
|
518
|
+
return pulumi.get(self, "system_data")
|
|
519
|
+
|
|
520
|
+
@property
|
|
521
|
+
@pulumi.getter
|
|
522
|
+
def type(self) -> str:
|
|
523
|
+
"""
|
|
524
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
525
|
+
"""
|
|
526
|
+
return pulumi.get(self, "type")
|
|
527
|
+
|
|
528
|
+
@property
|
|
529
|
+
@pulumi.getter(name="privateEndpoint")
|
|
530
|
+
def private_endpoint(self) -> Optional['outputs.PrivateEndpointResponse']:
|
|
531
|
+
"""
|
|
532
|
+
Private endpoint
|
|
533
|
+
"""
|
|
534
|
+
return pulumi.get(self, "private_endpoint")
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
@pulumi.getter(name="privateLinkServiceConnectionState")
|
|
538
|
+
def private_link_service_connection_state(self) -> Optional['outputs.PrivateLinkServiceConnectionStateResponse']:
|
|
539
|
+
"""
|
|
540
|
+
Connection state of the private endpoint connection
|
|
541
|
+
"""
|
|
542
|
+
return pulumi.get(self, "private_link_service_connection_state")
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
@pulumi.output_type
|
|
546
|
+
class PrivateEndpointResponse(dict):
|
|
547
|
+
"""
|
|
548
|
+
Private endpoint
|
|
549
|
+
"""
|
|
550
|
+
def __init__(__self__, *,
|
|
551
|
+
id: Optional[str] = None):
|
|
552
|
+
"""
|
|
553
|
+
Private endpoint
|
|
554
|
+
:param str id: Full qualified Id of the private endpoint
|
|
555
|
+
"""
|
|
556
|
+
if id is not None:
|
|
557
|
+
pulumi.set(__self__, "id", id)
|
|
558
|
+
|
|
559
|
+
@property
|
|
560
|
+
@pulumi.getter
|
|
561
|
+
def id(self) -> Optional[str]:
|
|
562
|
+
"""
|
|
563
|
+
Full qualified Id of the private endpoint
|
|
564
|
+
"""
|
|
565
|
+
return pulumi.get(self, "id")
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
@pulumi.output_type
|
|
569
|
+
class PrivateLinkServiceConnectionStateResponse(dict):
|
|
570
|
+
"""
|
|
571
|
+
Connection state of the private endpoint connection
|
|
572
|
+
"""
|
|
573
|
+
@staticmethod
|
|
574
|
+
def __key_warning(key: str):
|
|
575
|
+
suggest = None
|
|
576
|
+
if key == "actionsRequired":
|
|
577
|
+
suggest = "actions_required"
|
|
578
|
+
|
|
579
|
+
if suggest:
|
|
580
|
+
pulumi.log.warn(f"Key '{key}' not found in PrivateLinkServiceConnectionStateResponse. Access the value via the '{suggest}' property getter instead.")
|
|
581
|
+
|
|
582
|
+
def __getitem__(self, key: str) -> Any:
|
|
583
|
+
PrivateLinkServiceConnectionStateResponse.__key_warning(key)
|
|
584
|
+
return super().__getitem__(key)
|
|
585
|
+
|
|
586
|
+
def get(self, key: str, default = None) -> Any:
|
|
587
|
+
PrivateLinkServiceConnectionStateResponse.__key_warning(key)
|
|
588
|
+
return super().get(key, default)
|
|
589
|
+
|
|
590
|
+
def __init__(__self__, *,
|
|
591
|
+
actions_required: Optional[str] = None,
|
|
592
|
+
description: Optional[str] = None,
|
|
593
|
+
status: Optional[str] = None):
|
|
594
|
+
"""
|
|
595
|
+
Connection state of the private endpoint connection
|
|
596
|
+
:param str actions_required: A message indicating if changes on the service provider require any updates on the consumer.
|
|
597
|
+
:param str description: The reason for approval/rejection of the connection.
|
|
598
|
+
:param str status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
|
|
599
|
+
"""
|
|
600
|
+
if actions_required is not None:
|
|
601
|
+
pulumi.set(__self__, "actions_required", actions_required)
|
|
602
|
+
if description is not None:
|
|
603
|
+
pulumi.set(__self__, "description", description)
|
|
604
|
+
if status is not None:
|
|
605
|
+
pulumi.set(__self__, "status", status)
|
|
606
|
+
|
|
607
|
+
@property
|
|
608
|
+
@pulumi.getter(name="actionsRequired")
|
|
609
|
+
def actions_required(self) -> Optional[str]:
|
|
610
|
+
"""
|
|
611
|
+
A message indicating if changes on the service provider require any updates on the consumer.
|
|
612
|
+
"""
|
|
613
|
+
return pulumi.get(self, "actions_required")
|
|
614
|
+
|
|
615
|
+
@property
|
|
616
|
+
@pulumi.getter
|
|
617
|
+
def description(self) -> Optional[str]:
|
|
618
|
+
"""
|
|
619
|
+
The reason for approval/rejection of the connection.
|
|
620
|
+
"""
|
|
621
|
+
return pulumi.get(self, "description")
|
|
622
|
+
|
|
623
|
+
@property
|
|
624
|
+
@pulumi.getter
|
|
625
|
+
def status(self) -> Optional[str]:
|
|
626
|
+
"""
|
|
627
|
+
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
|
|
628
|
+
"""
|
|
629
|
+
return pulumi.get(self, "status")
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
@pulumi.output_type
|
|
633
|
+
class ResourceLogCategoryResponse(dict):
|
|
634
|
+
"""
|
|
635
|
+
Resource log category configuration of a Microsoft.SignalRService resource.
|
|
636
|
+
"""
|
|
637
|
+
def __init__(__self__, *,
|
|
638
|
+
enabled: Optional[str] = None,
|
|
639
|
+
name: Optional[str] = None):
|
|
640
|
+
"""
|
|
641
|
+
Resource log category configuration of a Microsoft.SignalRService resource.
|
|
642
|
+
:param str enabled: Indicates whether or the resource log category is enabled.
|
|
643
|
+
Available values: true, false.
|
|
644
|
+
Case insensitive.
|
|
645
|
+
:param str name: Gets or sets the resource log category's name.
|
|
646
|
+
Available values: ConnectivityLogs, MessagingLogs.
|
|
647
|
+
Case insensitive.
|
|
648
|
+
"""
|
|
649
|
+
if enabled is not None:
|
|
650
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
651
|
+
if name is not None:
|
|
652
|
+
pulumi.set(__self__, "name", name)
|
|
653
|
+
|
|
654
|
+
@property
|
|
655
|
+
@pulumi.getter
|
|
656
|
+
def enabled(self) -> Optional[str]:
|
|
657
|
+
"""
|
|
658
|
+
Indicates whether or the resource log category is enabled.
|
|
659
|
+
Available values: true, false.
|
|
660
|
+
Case insensitive.
|
|
661
|
+
"""
|
|
662
|
+
return pulumi.get(self, "enabled")
|
|
663
|
+
|
|
664
|
+
@property
|
|
665
|
+
@pulumi.getter
|
|
666
|
+
def name(self) -> Optional[str]:
|
|
667
|
+
"""
|
|
668
|
+
Gets or sets the resource log category's name.
|
|
669
|
+
Available values: ConnectivityLogs, MessagingLogs.
|
|
670
|
+
Case insensitive.
|
|
671
|
+
"""
|
|
672
|
+
return pulumi.get(self, "name")
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
@pulumi.output_type
|
|
676
|
+
class ResourceLogConfigurationResponse(dict):
|
|
677
|
+
"""
|
|
678
|
+
Resource log configuration of a Microsoft.SignalRService resource.
|
|
679
|
+
"""
|
|
680
|
+
def __init__(__self__, *,
|
|
681
|
+
categories: Optional[Sequence['outputs.ResourceLogCategoryResponse']] = None):
|
|
682
|
+
"""
|
|
683
|
+
Resource log configuration of a Microsoft.SignalRService resource.
|
|
684
|
+
:param Sequence['ResourceLogCategoryResponse'] categories: Gets or sets the list of category configurations.
|
|
685
|
+
"""
|
|
686
|
+
if categories is not None:
|
|
687
|
+
pulumi.set(__self__, "categories", categories)
|
|
688
|
+
|
|
689
|
+
@property
|
|
690
|
+
@pulumi.getter
|
|
691
|
+
def categories(self) -> Optional[Sequence['outputs.ResourceLogCategoryResponse']]:
|
|
692
|
+
"""
|
|
693
|
+
Gets or sets the list of category configurations.
|
|
694
|
+
"""
|
|
695
|
+
return pulumi.get(self, "categories")
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
@pulumi.output_type
|
|
699
|
+
class ResourceReferenceResponse(dict):
|
|
700
|
+
"""
|
|
701
|
+
Reference to a resource.
|
|
702
|
+
"""
|
|
703
|
+
def __init__(__self__, *,
|
|
704
|
+
id: Optional[str] = None):
|
|
705
|
+
"""
|
|
706
|
+
Reference to a resource.
|
|
707
|
+
:param str id: Resource ID.
|
|
708
|
+
"""
|
|
709
|
+
if id is not None:
|
|
710
|
+
pulumi.set(__self__, "id", id)
|
|
711
|
+
|
|
712
|
+
@property
|
|
713
|
+
@pulumi.getter
|
|
714
|
+
def id(self) -> Optional[str]:
|
|
715
|
+
"""
|
|
716
|
+
Resource ID.
|
|
717
|
+
"""
|
|
718
|
+
return pulumi.get(self, "id")
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
@pulumi.output_type
|
|
722
|
+
class ResourceSkuResponse(dict):
|
|
723
|
+
"""
|
|
724
|
+
The billing information of the resource.
|
|
725
|
+
"""
|
|
726
|
+
def __init__(__self__, *,
|
|
727
|
+
family: str,
|
|
728
|
+
name: str,
|
|
729
|
+
size: str,
|
|
730
|
+
capacity: Optional[int] = None,
|
|
731
|
+
tier: Optional[str] = None):
|
|
732
|
+
"""
|
|
733
|
+
The billing information of the resource.
|
|
734
|
+
:param str family: Not used. Retained for future use.
|
|
735
|
+
:param str name: The name of the SKU. Required.
|
|
736
|
+
|
|
737
|
+
Allowed values: Standard_S1, Free_F1, Premium_P1, Premium_P2
|
|
738
|
+
:param str size: Not used. Retained for future use.
|
|
739
|
+
:param int capacity: Optional, integer. The unit count of the resource.
|
|
740
|
+
1 for Free_F1/Standard_S1/Premium_P1, 100 for Premium_P2 by default.
|
|
741
|
+
|
|
742
|
+
If present, following values are allowed:
|
|
743
|
+
Free_F1: 1;
|
|
744
|
+
Standard_S1: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;
|
|
745
|
+
Premium_P1: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;
|
|
746
|
+
Premium_P2: 100,200,300,400,500,600,700,800,900,1000;
|
|
747
|
+
:param str tier: Optional tier of this particular SKU. 'Standard' or 'Free'.
|
|
748
|
+
|
|
749
|
+
`Basic` is deprecated, use `Standard` instead.
|
|
750
|
+
"""
|
|
751
|
+
pulumi.set(__self__, "family", family)
|
|
752
|
+
pulumi.set(__self__, "name", name)
|
|
753
|
+
pulumi.set(__self__, "size", size)
|
|
754
|
+
if capacity is not None:
|
|
755
|
+
pulumi.set(__self__, "capacity", capacity)
|
|
756
|
+
if tier is not None:
|
|
757
|
+
pulumi.set(__self__, "tier", tier)
|
|
758
|
+
|
|
759
|
+
@property
|
|
760
|
+
@pulumi.getter
|
|
761
|
+
def family(self) -> str:
|
|
762
|
+
"""
|
|
763
|
+
Not used. Retained for future use.
|
|
764
|
+
"""
|
|
765
|
+
return pulumi.get(self, "family")
|
|
766
|
+
|
|
767
|
+
@property
|
|
768
|
+
@pulumi.getter
|
|
769
|
+
def name(self) -> str:
|
|
770
|
+
"""
|
|
771
|
+
The name of the SKU. Required.
|
|
772
|
+
|
|
773
|
+
Allowed values: Standard_S1, Free_F1, Premium_P1, Premium_P2
|
|
774
|
+
"""
|
|
775
|
+
return pulumi.get(self, "name")
|
|
776
|
+
|
|
777
|
+
@property
|
|
778
|
+
@pulumi.getter
|
|
779
|
+
def size(self) -> str:
|
|
780
|
+
"""
|
|
781
|
+
Not used. Retained for future use.
|
|
782
|
+
"""
|
|
783
|
+
return pulumi.get(self, "size")
|
|
784
|
+
|
|
785
|
+
@property
|
|
786
|
+
@pulumi.getter
|
|
787
|
+
def capacity(self) -> Optional[int]:
|
|
788
|
+
"""
|
|
789
|
+
Optional, integer. The unit count of the resource.
|
|
790
|
+
1 for Free_F1/Standard_S1/Premium_P1, 100 for Premium_P2 by default.
|
|
791
|
+
|
|
792
|
+
If present, following values are allowed:
|
|
793
|
+
Free_F1: 1;
|
|
794
|
+
Standard_S1: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;
|
|
795
|
+
Premium_P1: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;
|
|
796
|
+
Premium_P2: 100,200,300,400,500,600,700,800,900,1000;
|
|
797
|
+
"""
|
|
798
|
+
return pulumi.get(self, "capacity")
|
|
799
|
+
|
|
800
|
+
@property
|
|
801
|
+
@pulumi.getter
|
|
802
|
+
def tier(self) -> Optional[str]:
|
|
803
|
+
"""
|
|
804
|
+
Optional tier of this particular SKU. 'Standard' or 'Free'.
|
|
805
|
+
|
|
806
|
+
`Basic` is deprecated, use `Standard` instead.
|
|
807
|
+
"""
|
|
808
|
+
return pulumi.get(self, "tier")
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
@pulumi.output_type
|
|
812
|
+
class ServerlessSettingsResponse(dict):
|
|
813
|
+
"""
|
|
814
|
+
Serverless settings.
|
|
815
|
+
"""
|
|
816
|
+
@staticmethod
|
|
817
|
+
def __key_warning(key: str):
|
|
818
|
+
suggest = None
|
|
819
|
+
if key == "connectionTimeoutInSeconds":
|
|
820
|
+
suggest = "connection_timeout_in_seconds"
|
|
821
|
+
elif key == "keepAliveIntervalInSeconds":
|
|
822
|
+
suggest = "keep_alive_interval_in_seconds"
|
|
823
|
+
|
|
824
|
+
if suggest:
|
|
825
|
+
pulumi.log.warn(f"Key '{key}' not found in ServerlessSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
826
|
+
|
|
827
|
+
def __getitem__(self, key: str) -> Any:
|
|
828
|
+
ServerlessSettingsResponse.__key_warning(key)
|
|
829
|
+
return super().__getitem__(key)
|
|
830
|
+
|
|
831
|
+
def get(self, key: str, default = None) -> Any:
|
|
832
|
+
ServerlessSettingsResponse.__key_warning(key)
|
|
833
|
+
return super().get(key, default)
|
|
834
|
+
|
|
835
|
+
def __init__(__self__, *,
|
|
836
|
+
connection_timeout_in_seconds: Optional[int] = None,
|
|
837
|
+
keep_alive_interval_in_seconds: Optional[int] = None):
|
|
838
|
+
"""
|
|
839
|
+
Serverless settings.
|
|
840
|
+
:param int connection_timeout_in_seconds: Gets or sets Client Connection Timeout. Optional to be set.
|
|
841
|
+
Value in seconds.
|
|
842
|
+
Default value is 30 seconds.
|
|
843
|
+
Customer should set the timeout to a shorter period if messages are expected to be sent in shorter intervals,
|
|
844
|
+
and want the client to disconnect more quickly after the last message is sent.
|
|
845
|
+
You can set the timeout to a longer period if messages are expected to be sent in longer intervals,
|
|
846
|
+
and they want to keep the same client connection alive during this session.
|
|
847
|
+
The service considers the client disconnected if it hasn't received a message (including keep-alive) in this interval.
|
|
848
|
+
:param int keep_alive_interval_in_seconds: Gets or sets the Keep-Alive Interval. Optional to set.
|
|
849
|
+
Value is in seconds.
|
|
850
|
+
The default value is 15 seconds.
|
|
851
|
+
Customers should set this value to a shorter period if they want the service to send keep-alive messages more frequently,
|
|
852
|
+
ensuring timely checks of the connection status.
|
|
853
|
+
Conversely, customers can set this value to a longer period if they want the service to send keep-alive messages less frequently,
|
|
854
|
+
reducing network traffic, but note that it may take longer to detect a disconnection.
|
|
855
|
+
This interval ensures that the connection is maintained by sending periodic keep-alive messages to the client.
|
|
856
|
+
"""
|
|
857
|
+
if connection_timeout_in_seconds is None:
|
|
858
|
+
connection_timeout_in_seconds = 30
|
|
859
|
+
if connection_timeout_in_seconds is not None:
|
|
860
|
+
pulumi.set(__self__, "connection_timeout_in_seconds", connection_timeout_in_seconds)
|
|
861
|
+
if keep_alive_interval_in_seconds is not None:
|
|
862
|
+
pulumi.set(__self__, "keep_alive_interval_in_seconds", keep_alive_interval_in_seconds)
|
|
863
|
+
|
|
864
|
+
@property
|
|
865
|
+
@pulumi.getter(name="connectionTimeoutInSeconds")
|
|
866
|
+
def connection_timeout_in_seconds(self) -> Optional[int]:
|
|
867
|
+
"""
|
|
868
|
+
Gets or sets Client Connection Timeout. Optional to be set.
|
|
869
|
+
Value in seconds.
|
|
870
|
+
Default value is 30 seconds.
|
|
871
|
+
Customer should set the timeout to a shorter period if messages are expected to be sent in shorter intervals,
|
|
872
|
+
and want the client to disconnect more quickly after the last message is sent.
|
|
873
|
+
You can set the timeout to a longer period if messages are expected to be sent in longer intervals,
|
|
874
|
+
and they want to keep the same client connection alive during this session.
|
|
875
|
+
The service considers the client disconnected if it hasn't received a message (including keep-alive) in this interval.
|
|
876
|
+
"""
|
|
877
|
+
return pulumi.get(self, "connection_timeout_in_seconds")
|
|
878
|
+
|
|
879
|
+
@property
|
|
880
|
+
@pulumi.getter(name="keepAliveIntervalInSeconds")
|
|
881
|
+
def keep_alive_interval_in_seconds(self) -> Optional[int]:
|
|
882
|
+
"""
|
|
883
|
+
Gets or sets the Keep-Alive Interval. Optional to set.
|
|
884
|
+
Value is in seconds.
|
|
885
|
+
The default value is 15 seconds.
|
|
886
|
+
Customers should set this value to a shorter period if they want the service to send keep-alive messages more frequently,
|
|
887
|
+
ensuring timely checks of the connection status.
|
|
888
|
+
Conversely, customers can set this value to a longer period if they want the service to send keep-alive messages less frequently,
|
|
889
|
+
reducing network traffic, but note that it may take longer to detect a disconnection.
|
|
890
|
+
This interval ensures that the connection is maintained by sending periodic keep-alive messages to the client.
|
|
891
|
+
"""
|
|
892
|
+
return pulumi.get(self, "keep_alive_interval_in_seconds")
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
@pulumi.output_type
|
|
896
|
+
class ServerlessUpstreamSettingsResponse(dict):
|
|
897
|
+
"""
|
|
898
|
+
The settings for the Upstream when the service is in server-less mode.
|
|
899
|
+
"""
|
|
900
|
+
def __init__(__self__, *,
|
|
901
|
+
templates: Optional[Sequence['outputs.UpstreamTemplateResponse']] = None):
|
|
902
|
+
"""
|
|
903
|
+
The settings for the Upstream when the service is in server-less mode.
|
|
904
|
+
:param Sequence['UpstreamTemplateResponse'] templates: Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects.
|
|
905
|
+
"""
|
|
906
|
+
if templates is not None:
|
|
907
|
+
pulumi.set(__self__, "templates", templates)
|
|
908
|
+
|
|
909
|
+
@property
|
|
910
|
+
@pulumi.getter
|
|
911
|
+
def templates(self) -> Optional[Sequence['outputs.UpstreamTemplateResponse']]:
|
|
912
|
+
"""
|
|
913
|
+
Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects.
|
|
914
|
+
"""
|
|
915
|
+
return pulumi.get(self, "templates")
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
@pulumi.output_type
|
|
919
|
+
class SharedPrivateLinkResourceResponse(dict):
|
|
920
|
+
"""
|
|
921
|
+
Describes a Shared Private Link Resource
|
|
922
|
+
"""
|
|
923
|
+
@staticmethod
|
|
924
|
+
def __key_warning(key: str):
|
|
925
|
+
suggest = None
|
|
926
|
+
if key == "groupId":
|
|
927
|
+
suggest = "group_id"
|
|
928
|
+
elif key == "privateLinkResourceId":
|
|
929
|
+
suggest = "private_link_resource_id"
|
|
930
|
+
elif key == "provisioningState":
|
|
931
|
+
suggest = "provisioning_state"
|
|
932
|
+
elif key == "systemData":
|
|
933
|
+
suggest = "system_data"
|
|
934
|
+
elif key == "requestMessage":
|
|
935
|
+
suggest = "request_message"
|
|
936
|
+
|
|
937
|
+
if suggest:
|
|
938
|
+
pulumi.log.warn(f"Key '{key}' not found in SharedPrivateLinkResourceResponse. Access the value via the '{suggest}' property getter instead.")
|
|
939
|
+
|
|
940
|
+
def __getitem__(self, key: str) -> Any:
|
|
941
|
+
SharedPrivateLinkResourceResponse.__key_warning(key)
|
|
942
|
+
return super().__getitem__(key)
|
|
943
|
+
|
|
944
|
+
def get(self, key: str, default = None) -> Any:
|
|
945
|
+
SharedPrivateLinkResourceResponse.__key_warning(key)
|
|
946
|
+
return super().get(key, default)
|
|
947
|
+
|
|
948
|
+
def __init__(__self__, *,
|
|
949
|
+
group_id: str,
|
|
950
|
+
id: str,
|
|
951
|
+
name: str,
|
|
952
|
+
private_link_resource_id: str,
|
|
953
|
+
provisioning_state: str,
|
|
954
|
+
status: str,
|
|
955
|
+
system_data: 'outputs.SystemDataResponse',
|
|
956
|
+
type: str,
|
|
957
|
+
fqdns: Optional[Sequence[str]] = None,
|
|
958
|
+
request_message: Optional[str] = None):
|
|
959
|
+
"""
|
|
960
|
+
Describes a Shared Private Link Resource
|
|
961
|
+
:param str group_id: The group id from the provider of resource the shared private link resource is for
|
|
962
|
+
:param str id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
963
|
+
:param str name: The name of the resource
|
|
964
|
+
:param str private_link_resource_id: The resource id of the resource the shared private link resource is for
|
|
965
|
+
:param str provisioning_state: Provisioning state of the resource.
|
|
966
|
+
:param str status: Status of the shared private link resource
|
|
967
|
+
:param 'SystemDataResponse' system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
968
|
+
:param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
969
|
+
:param Sequence[str] fqdns: A list of FQDNs for third party private link service
|
|
970
|
+
:param str request_message: The request message for requesting approval of the shared private link resource
|
|
971
|
+
"""
|
|
972
|
+
pulumi.set(__self__, "group_id", group_id)
|
|
973
|
+
pulumi.set(__self__, "id", id)
|
|
974
|
+
pulumi.set(__self__, "name", name)
|
|
975
|
+
pulumi.set(__self__, "private_link_resource_id", private_link_resource_id)
|
|
976
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
977
|
+
pulumi.set(__self__, "status", status)
|
|
978
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
979
|
+
pulumi.set(__self__, "type", type)
|
|
980
|
+
if fqdns is not None:
|
|
981
|
+
pulumi.set(__self__, "fqdns", fqdns)
|
|
982
|
+
if request_message is not None:
|
|
983
|
+
pulumi.set(__self__, "request_message", request_message)
|
|
984
|
+
|
|
985
|
+
@property
|
|
986
|
+
@pulumi.getter(name="groupId")
|
|
987
|
+
def group_id(self) -> str:
|
|
988
|
+
"""
|
|
989
|
+
The group id from the provider of resource the shared private link resource is for
|
|
990
|
+
"""
|
|
991
|
+
return pulumi.get(self, "group_id")
|
|
992
|
+
|
|
993
|
+
@property
|
|
994
|
+
@pulumi.getter
|
|
995
|
+
def id(self) -> str:
|
|
996
|
+
"""
|
|
997
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
998
|
+
"""
|
|
999
|
+
return pulumi.get(self, "id")
|
|
1000
|
+
|
|
1001
|
+
@property
|
|
1002
|
+
@pulumi.getter
|
|
1003
|
+
def name(self) -> str:
|
|
1004
|
+
"""
|
|
1005
|
+
The name of the resource
|
|
1006
|
+
"""
|
|
1007
|
+
return pulumi.get(self, "name")
|
|
1008
|
+
|
|
1009
|
+
@property
|
|
1010
|
+
@pulumi.getter(name="privateLinkResourceId")
|
|
1011
|
+
def private_link_resource_id(self) -> str:
|
|
1012
|
+
"""
|
|
1013
|
+
The resource id of the resource the shared private link resource is for
|
|
1014
|
+
"""
|
|
1015
|
+
return pulumi.get(self, "private_link_resource_id")
|
|
1016
|
+
|
|
1017
|
+
@property
|
|
1018
|
+
@pulumi.getter(name="provisioningState")
|
|
1019
|
+
def provisioning_state(self) -> str:
|
|
1020
|
+
"""
|
|
1021
|
+
Provisioning state of the resource.
|
|
1022
|
+
"""
|
|
1023
|
+
return pulumi.get(self, "provisioning_state")
|
|
1024
|
+
|
|
1025
|
+
@property
|
|
1026
|
+
@pulumi.getter
|
|
1027
|
+
def status(self) -> str:
|
|
1028
|
+
"""
|
|
1029
|
+
Status of the shared private link resource
|
|
1030
|
+
"""
|
|
1031
|
+
return pulumi.get(self, "status")
|
|
1032
|
+
|
|
1033
|
+
@property
|
|
1034
|
+
@pulumi.getter(name="systemData")
|
|
1035
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
1036
|
+
"""
|
|
1037
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
1038
|
+
"""
|
|
1039
|
+
return pulumi.get(self, "system_data")
|
|
1040
|
+
|
|
1041
|
+
@property
|
|
1042
|
+
@pulumi.getter
|
|
1043
|
+
def type(self) -> str:
|
|
1044
|
+
"""
|
|
1045
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1046
|
+
"""
|
|
1047
|
+
return pulumi.get(self, "type")
|
|
1048
|
+
|
|
1049
|
+
@property
|
|
1050
|
+
@pulumi.getter
|
|
1051
|
+
def fqdns(self) -> Optional[Sequence[str]]:
|
|
1052
|
+
"""
|
|
1053
|
+
A list of FQDNs for third party private link service
|
|
1054
|
+
"""
|
|
1055
|
+
return pulumi.get(self, "fqdns")
|
|
1056
|
+
|
|
1057
|
+
@property
|
|
1058
|
+
@pulumi.getter(name="requestMessage")
|
|
1059
|
+
def request_message(self) -> Optional[str]:
|
|
1060
|
+
"""
|
|
1061
|
+
The request message for requesting approval of the shared private link resource
|
|
1062
|
+
"""
|
|
1063
|
+
return pulumi.get(self, "request_message")
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
@pulumi.output_type
|
|
1067
|
+
class SignalRCorsSettingsResponse(dict):
|
|
1068
|
+
"""
|
|
1069
|
+
Cross-Origin Resource Sharing (CORS) settings.
|
|
1070
|
+
"""
|
|
1071
|
+
@staticmethod
|
|
1072
|
+
def __key_warning(key: str):
|
|
1073
|
+
suggest = None
|
|
1074
|
+
if key == "allowedOrigins":
|
|
1075
|
+
suggest = "allowed_origins"
|
|
1076
|
+
|
|
1077
|
+
if suggest:
|
|
1078
|
+
pulumi.log.warn(f"Key '{key}' not found in SignalRCorsSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1079
|
+
|
|
1080
|
+
def __getitem__(self, key: str) -> Any:
|
|
1081
|
+
SignalRCorsSettingsResponse.__key_warning(key)
|
|
1082
|
+
return super().__getitem__(key)
|
|
1083
|
+
|
|
1084
|
+
def get(self, key: str, default = None) -> Any:
|
|
1085
|
+
SignalRCorsSettingsResponse.__key_warning(key)
|
|
1086
|
+
return super().get(key, default)
|
|
1087
|
+
|
|
1088
|
+
def __init__(__self__, *,
|
|
1089
|
+
allowed_origins: Optional[Sequence[str]] = None):
|
|
1090
|
+
"""
|
|
1091
|
+
Cross-Origin Resource Sharing (CORS) settings.
|
|
1092
|
+
:param Sequence[str] allowed_origins: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. If omitted, allow all by default.
|
|
1093
|
+
"""
|
|
1094
|
+
if allowed_origins is not None:
|
|
1095
|
+
pulumi.set(__self__, "allowed_origins", allowed_origins)
|
|
1096
|
+
|
|
1097
|
+
@property
|
|
1098
|
+
@pulumi.getter(name="allowedOrigins")
|
|
1099
|
+
def allowed_origins(self) -> Optional[Sequence[str]]:
|
|
1100
|
+
"""
|
|
1101
|
+
Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. If omitted, allow all by default.
|
|
1102
|
+
"""
|
|
1103
|
+
return pulumi.get(self, "allowed_origins")
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
@pulumi.output_type
|
|
1107
|
+
class SignalRFeatureResponse(dict):
|
|
1108
|
+
"""
|
|
1109
|
+
Feature of a resource, which controls the runtime behavior.
|
|
1110
|
+
"""
|
|
1111
|
+
def __init__(__self__, *,
|
|
1112
|
+
flag: str,
|
|
1113
|
+
value: str,
|
|
1114
|
+
properties: Optional[Mapping[str, str]] = None):
|
|
1115
|
+
"""
|
|
1116
|
+
Feature of a resource, which controls the runtime behavior.
|
|
1117
|
+
:param str flag: FeatureFlags is the supported features of Azure SignalR service.
|
|
1118
|
+
- ServiceMode: Flag for backend server for SignalR service. Values allowed: "Default": have your own backend server; "Serverless": your application doesn't have a backend server; "Classic": for backward compatibility. Support both Default and Serverless mode but not recommended; "PredefinedOnly": for future use.
|
|
1119
|
+
- EnableConnectivityLogs: "true"/"false", to enable/disable the connectivity log category respectively.
|
|
1120
|
+
- EnableMessagingLogs: "true"/"false", to enable/disable the connectivity log category respectively.
|
|
1121
|
+
- EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. Please note that live traces are counted as outbound messages that will be charged. Values allowed: "true"/"false", to enable/disable live trace feature.
|
|
1122
|
+
:param str value: Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values.
|
|
1123
|
+
:param Mapping[str, str] properties: Optional properties related to this feature.
|
|
1124
|
+
"""
|
|
1125
|
+
pulumi.set(__self__, "flag", flag)
|
|
1126
|
+
pulumi.set(__self__, "value", value)
|
|
1127
|
+
if properties is not None:
|
|
1128
|
+
pulumi.set(__self__, "properties", properties)
|
|
1129
|
+
|
|
1130
|
+
@property
|
|
1131
|
+
@pulumi.getter
|
|
1132
|
+
def flag(self) -> str:
|
|
1133
|
+
"""
|
|
1134
|
+
FeatureFlags is the supported features of Azure SignalR service.
|
|
1135
|
+
- ServiceMode: Flag for backend server for SignalR service. Values allowed: "Default": have your own backend server; "Serverless": your application doesn't have a backend server; "Classic": for backward compatibility. Support both Default and Serverless mode but not recommended; "PredefinedOnly": for future use.
|
|
1136
|
+
- EnableConnectivityLogs: "true"/"false", to enable/disable the connectivity log category respectively.
|
|
1137
|
+
- EnableMessagingLogs: "true"/"false", to enable/disable the connectivity log category respectively.
|
|
1138
|
+
- EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. Please note that live traces are counted as outbound messages that will be charged. Values allowed: "true"/"false", to enable/disable live trace feature.
|
|
1139
|
+
"""
|
|
1140
|
+
return pulumi.get(self, "flag")
|
|
1141
|
+
|
|
1142
|
+
@property
|
|
1143
|
+
@pulumi.getter
|
|
1144
|
+
def value(self) -> str:
|
|
1145
|
+
"""
|
|
1146
|
+
Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values.
|
|
1147
|
+
"""
|
|
1148
|
+
return pulumi.get(self, "value")
|
|
1149
|
+
|
|
1150
|
+
@property
|
|
1151
|
+
@pulumi.getter
|
|
1152
|
+
def properties(self) -> Optional[Mapping[str, str]]:
|
|
1153
|
+
"""
|
|
1154
|
+
Optional properties related to this feature.
|
|
1155
|
+
"""
|
|
1156
|
+
return pulumi.get(self, "properties")
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
@pulumi.output_type
|
|
1160
|
+
class SignalRNetworkACLsResponse(dict):
|
|
1161
|
+
"""
|
|
1162
|
+
Network ACLs for the resource
|
|
1163
|
+
"""
|
|
1164
|
+
@staticmethod
|
|
1165
|
+
def __key_warning(key: str):
|
|
1166
|
+
suggest = None
|
|
1167
|
+
if key == "defaultAction":
|
|
1168
|
+
suggest = "default_action"
|
|
1169
|
+
elif key == "ipRules":
|
|
1170
|
+
suggest = "ip_rules"
|
|
1171
|
+
elif key == "privateEndpoints":
|
|
1172
|
+
suggest = "private_endpoints"
|
|
1173
|
+
elif key == "publicNetwork":
|
|
1174
|
+
suggest = "public_network"
|
|
1175
|
+
|
|
1176
|
+
if suggest:
|
|
1177
|
+
pulumi.log.warn(f"Key '{key}' not found in SignalRNetworkACLsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1178
|
+
|
|
1179
|
+
def __getitem__(self, key: str) -> Any:
|
|
1180
|
+
SignalRNetworkACLsResponse.__key_warning(key)
|
|
1181
|
+
return super().__getitem__(key)
|
|
1182
|
+
|
|
1183
|
+
def get(self, key: str, default = None) -> Any:
|
|
1184
|
+
SignalRNetworkACLsResponse.__key_warning(key)
|
|
1185
|
+
return super().get(key, default)
|
|
1186
|
+
|
|
1187
|
+
def __init__(__self__, *,
|
|
1188
|
+
default_action: Optional[str] = None,
|
|
1189
|
+
ip_rules: Optional[Sequence['outputs.IPRuleResponse']] = None,
|
|
1190
|
+
private_endpoints: Optional[Sequence['outputs.PrivateEndpointACLResponse']] = None,
|
|
1191
|
+
public_network: Optional['outputs.NetworkACLResponse'] = None):
|
|
1192
|
+
"""
|
|
1193
|
+
Network ACLs for the resource
|
|
1194
|
+
:param str default_action: Azure Networking ACL Action.
|
|
1195
|
+
:param Sequence['IPRuleResponse'] ip_rules: IP rules for filtering public traffic
|
|
1196
|
+
:param Sequence['PrivateEndpointACLResponse'] private_endpoints: ACLs for requests from private endpoints
|
|
1197
|
+
:param 'NetworkACLResponse' public_network: Network ACL
|
|
1198
|
+
"""
|
|
1199
|
+
if default_action is not None:
|
|
1200
|
+
pulumi.set(__self__, "default_action", default_action)
|
|
1201
|
+
if ip_rules is not None:
|
|
1202
|
+
pulumi.set(__self__, "ip_rules", ip_rules)
|
|
1203
|
+
if private_endpoints is not None:
|
|
1204
|
+
pulumi.set(__self__, "private_endpoints", private_endpoints)
|
|
1205
|
+
if public_network is not None:
|
|
1206
|
+
pulumi.set(__self__, "public_network", public_network)
|
|
1207
|
+
|
|
1208
|
+
@property
|
|
1209
|
+
@pulumi.getter(name="defaultAction")
|
|
1210
|
+
def default_action(self) -> Optional[str]:
|
|
1211
|
+
"""
|
|
1212
|
+
Azure Networking ACL Action.
|
|
1213
|
+
"""
|
|
1214
|
+
return pulumi.get(self, "default_action")
|
|
1215
|
+
|
|
1216
|
+
@property
|
|
1217
|
+
@pulumi.getter(name="ipRules")
|
|
1218
|
+
def ip_rules(self) -> Optional[Sequence['outputs.IPRuleResponse']]:
|
|
1219
|
+
"""
|
|
1220
|
+
IP rules for filtering public traffic
|
|
1221
|
+
"""
|
|
1222
|
+
return pulumi.get(self, "ip_rules")
|
|
1223
|
+
|
|
1224
|
+
@property
|
|
1225
|
+
@pulumi.getter(name="privateEndpoints")
|
|
1226
|
+
def private_endpoints(self) -> Optional[Sequence['outputs.PrivateEndpointACLResponse']]:
|
|
1227
|
+
"""
|
|
1228
|
+
ACLs for requests from private endpoints
|
|
1229
|
+
"""
|
|
1230
|
+
return pulumi.get(self, "private_endpoints")
|
|
1231
|
+
|
|
1232
|
+
@property
|
|
1233
|
+
@pulumi.getter(name="publicNetwork")
|
|
1234
|
+
def public_network(self) -> Optional['outputs.NetworkACLResponse']:
|
|
1235
|
+
"""
|
|
1236
|
+
Network ACL
|
|
1237
|
+
"""
|
|
1238
|
+
return pulumi.get(self, "public_network")
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
@pulumi.output_type
|
|
1242
|
+
class SignalRTlsSettingsResponse(dict):
|
|
1243
|
+
"""
|
|
1244
|
+
TLS settings for the resource
|
|
1245
|
+
"""
|
|
1246
|
+
@staticmethod
|
|
1247
|
+
def __key_warning(key: str):
|
|
1248
|
+
suggest = None
|
|
1249
|
+
if key == "clientCertEnabled":
|
|
1250
|
+
suggest = "client_cert_enabled"
|
|
1251
|
+
|
|
1252
|
+
if suggest:
|
|
1253
|
+
pulumi.log.warn(f"Key '{key}' not found in SignalRTlsSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1254
|
+
|
|
1255
|
+
def __getitem__(self, key: str) -> Any:
|
|
1256
|
+
SignalRTlsSettingsResponse.__key_warning(key)
|
|
1257
|
+
return super().__getitem__(key)
|
|
1258
|
+
|
|
1259
|
+
def get(self, key: str, default = None) -> Any:
|
|
1260
|
+
SignalRTlsSettingsResponse.__key_warning(key)
|
|
1261
|
+
return super().get(key, default)
|
|
1262
|
+
|
|
1263
|
+
def __init__(__self__, *,
|
|
1264
|
+
client_cert_enabled: Optional[bool] = None):
|
|
1265
|
+
"""
|
|
1266
|
+
TLS settings for the resource
|
|
1267
|
+
:param bool client_cert_enabled: Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier.
|
|
1268
|
+
"""
|
|
1269
|
+
if client_cert_enabled is None:
|
|
1270
|
+
client_cert_enabled = False
|
|
1271
|
+
if client_cert_enabled is not None:
|
|
1272
|
+
pulumi.set(__self__, "client_cert_enabled", client_cert_enabled)
|
|
1273
|
+
|
|
1274
|
+
@property
|
|
1275
|
+
@pulumi.getter(name="clientCertEnabled")
|
|
1276
|
+
def client_cert_enabled(self) -> Optional[bool]:
|
|
1277
|
+
"""
|
|
1278
|
+
Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier.
|
|
1279
|
+
"""
|
|
1280
|
+
return pulumi.get(self, "client_cert_enabled")
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
@pulumi.output_type
|
|
1284
|
+
class SystemDataResponse(dict):
|
|
1285
|
+
"""
|
|
1286
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
1287
|
+
"""
|
|
1288
|
+
@staticmethod
|
|
1289
|
+
def __key_warning(key: str):
|
|
1290
|
+
suggest = None
|
|
1291
|
+
if key == "createdAt":
|
|
1292
|
+
suggest = "created_at"
|
|
1293
|
+
elif key == "createdBy":
|
|
1294
|
+
suggest = "created_by"
|
|
1295
|
+
elif key == "createdByType":
|
|
1296
|
+
suggest = "created_by_type"
|
|
1297
|
+
elif key == "lastModifiedAt":
|
|
1298
|
+
suggest = "last_modified_at"
|
|
1299
|
+
elif key == "lastModifiedBy":
|
|
1300
|
+
suggest = "last_modified_by"
|
|
1301
|
+
elif key == "lastModifiedByType":
|
|
1302
|
+
suggest = "last_modified_by_type"
|
|
1303
|
+
|
|
1304
|
+
if suggest:
|
|
1305
|
+
pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1306
|
+
|
|
1307
|
+
def __getitem__(self, key: str) -> Any:
|
|
1308
|
+
SystemDataResponse.__key_warning(key)
|
|
1309
|
+
return super().__getitem__(key)
|
|
1310
|
+
|
|
1311
|
+
def get(self, key: str, default = None) -> Any:
|
|
1312
|
+
SystemDataResponse.__key_warning(key)
|
|
1313
|
+
return super().get(key, default)
|
|
1314
|
+
|
|
1315
|
+
def __init__(__self__, *,
|
|
1316
|
+
created_at: Optional[str] = None,
|
|
1317
|
+
created_by: Optional[str] = None,
|
|
1318
|
+
created_by_type: Optional[str] = None,
|
|
1319
|
+
last_modified_at: Optional[str] = None,
|
|
1320
|
+
last_modified_by: Optional[str] = None,
|
|
1321
|
+
last_modified_by_type: Optional[str] = None):
|
|
1322
|
+
"""
|
|
1323
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
1324
|
+
:param str created_at: The timestamp of resource creation (UTC).
|
|
1325
|
+
:param str created_by: The identity that created the resource.
|
|
1326
|
+
:param str created_by_type: The type of identity that created the resource.
|
|
1327
|
+
:param str last_modified_at: The timestamp of resource last modification (UTC)
|
|
1328
|
+
:param str last_modified_by: The identity that last modified the resource.
|
|
1329
|
+
:param str last_modified_by_type: The type of identity that last modified the resource.
|
|
1330
|
+
"""
|
|
1331
|
+
if created_at is not None:
|
|
1332
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
1333
|
+
if created_by is not None:
|
|
1334
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
1335
|
+
if created_by_type is not None:
|
|
1336
|
+
pulumi.set(__self__, "created_by_type", created_by_type)
|
|
1337
|
+
if last_modified_at is not None:
|
|
1338
|
+
pulumi.set(__self__, "last_modified_at", last_modified_at)
|
|
1339
|
+
if last_modified_by is not None:
|
|
1340
|
+
pulumi.set(__self__, "last_modified_by", last_modified_by)
|
|
1341
|
+
if last_modified_by_type is not None:
|
|
1342
|
+
pulumi.set(__self__, "last_modified_by_type", last_modified_by_type)
|
|
1343
|
+
|
|
1344
|
+
@property
|
|
1345
|
+
@pulumi.getter(name="createdAt")
|
|
1346
|
+
def created_at(self) -> Optional[str]:
|
|
1347
|
+
"""
|
|
1348
|
+
The timestamp of resource creation (UTC).
|
|
1349
|
+
"""
|
|
1350
|
+
return pulumi.get(self, "created_at")
|
|
1351
|
+
|
|
1352
|
+
@property
|
|
1353
|
+
@pulumi.getter(name="createdBy")
|
|
1354
|
+
def created_by(self) -> Optional[str]:
|
|
1355
|
+
"""
|
|
1356
|
+
The identity that created the resource.
|
|
1357
|
+
"""
|
|
1358
|
+
return pulumi.get(self, "created_by")
|
|
1359
|
+
|
|
1360
|
+
@property
|
|
1361
|
+
@pulumi.getter(name="createdByType")
|
|
1362
|
+
def created_by_type(self) -> Optional[str]:
|
|
1363
|
+
"""
|
|
1364
|
+
The type of identity that created the resource.
|
|
1365
|
+
"""
|
|
1366
|
+
return pulumi.get(self, "created_by_type")
|
|
1367
|
+
|
|
1368
|
+
@property
|
|
1369
|
+
@pulumi.getter(name="lastModifiedAt")
|
|
1370
|
+
def last_modified_at(self) -> Optional[str]:
|
|
1371
|
+
"""
|
|
1372
|
+
The timestamp of resource last modification (UTC)
|
|
1373
|
+
"""
|
|
1374
|
+
return pulumi.get(self, "last_modified_at")
|
|
1375
|
+
|
|
1376
|
+
@property
|
|
1377
|
+
@pulumi.getter(name="lastModifiedBy")
|
|
1378
|
+
def last_modified_by(self) -> Optional[str]:
|
|
1379
|
+
"""
|
|
1380
|
+
The identity that last modified the resource.
|
|
1381
|
+
"""
|
|
1382
|
+
return pulumi.get(self, "last_modified_by")
|
|
1383
|
+
|
|
1384
|
+
@property
|
|
1385
|
+
@pulumi.getter(name="lastModifiedByType")
|
|
1386
|
+
def last_modified_by_type(self) -> Optional[str]:
|
|
1387
|
+
"""
|
|
1388
|
+
The type of identity that last modified the resource.
|
|
1389
|
+
"""
|
|
1390
|
+
return pulumi.get(self, "last_modified_by_type")
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
@pulumi.output_type
|
|
1394
|
+
class ThrottleByJwtCustomClaimRuleResponse(dict):
|
|
1395
|
+
"""
|
|
1396
|
+
Throttle the client connection by a custom JWT claim
|
|
1397
|
+
"""
|
|
1398
|
+
@staticmethod
|
|
1399
|
+
def __key_warning(key: str):
|
|
1400
|
+
suggest = None
|
|
1401
|
+
if key == "claimName":
|
|
1402
|
+
suggest = "claim_name"
|
|
1403
|
+
elif key == "maxCount":
|
|
1404
|
+
suggest = "max_count"
|
|
1405
|
+
|
|
1406
|
+
if suggest:
|
|
1407
|
+
pulumi.log.warn(f"Key '{key}' not found in ThrottleByJwtCustomClaimRuleResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1408
|
+
|
|
1409
|
+
def __getitem__(self, key: str) -> Any:
|
|
1410
|
+
ThrottleByJwtCustomClaimRuleResponse.__key_warning(key)
|
|
1411
|
+
return super().__getitem__(key)
|
|
1412
|
+
|
|
1413
|
+
def get(self, key: str, default = None) -> Any:
|
|
1414
|
+
ThrottleByJwtCustomClaimRuleResponse.__key_warning(key)
|
|
1415
|
+
return super().get(key, default)
|
|
1416
|
+
|
|
1417
|
+
def __init__(__self__, *,
|
|
1418
|
+
claim_name: str,
|
|
1419
|
+
type: str,
|
|
1420
|
+
max_count: Optional[int] = None):
|
|
1421
|
+
"""
|
|
1422
|
+
Throttle the client connection by a custom JWT claim
|
|
1423
|
+
:param str claim_name: The name of the claim in the JWT token. The client connection with the same claim value will be aggregated. If the claim is not found in the token, the connection will be allowed.
|
|
1424
|
+
:param str type:
|
|
1425
|
+
Expected value is 'ThrottleByJwtCustomClaimRule'.
|
|
1426
|
+
:param int max_count: Maximum connection count allowed for the same Jwt claim value. Clients with the same Jwt claim will get rejected if the connection count exceeds this value. Default value is 20.
|
|
1427
|
+
"""
|
|
1428
|
+
pulumi.set(__self__, "claim_name", claim_name)
|
|
1429
|
+
pulumi.set(__self__, "type", 'ThrottleByJwtCustomClaimRule')
|
|
1430
|
+
if max_count is None:
|
|
1431
|
+
max_count = 20
|
|
1432
|
+
if max_count is not None:
|
|
1433
|
+
pulumi.set(__self__, "max_count", max_count)
|
|
1434
|
+
|
|
1435
|
+
@property
|
|
1436
|
+
@pulumi.getter(name="claimName")
|
|
1437
|
+
def claim_name(self) -> str:
|
|
1438
|
+
"""
|
|
1439
|
+
The name of the claim in the JWT token. The client connection with the same claim value will be aggregated. If the claim is not found in the token, the connection will be allowed.
|
|
1440
|
+
"""
|
|
1441
|
+
return pulumi.get(self, "claim_name")
|
|
1442
|
+
|
|
1443
|
+
@property
|
|
1444
|
+
@pulumi.getter
|
|
1445
|
+
def type(self) -> str:
|
|
1446
|
+
"""
|
|
1447
|
+
|
|
1448
|
+
Expected value is 'ThrottleByJwtCustomClaimRule'.
|
|
1449
|
+
"""
|
|
1450
|
+
return pulumi.get(self, "type")
|
|
1451
|
+
|
|
1452
|
+
@property
|
|
1453
|
+
@pulumi.getter(name="maxCount")
|
|
1454
|
+
def max_count(self) -> Optional[int]:
|
|
1455
|
+
"""
|
|
1456
|
+
Maximum connection count allowed for the same Jwt claim value. Clients with the same Jwt claim will get rejected if the connection count exceeds this value. Default value is 20.
|
|
1457
|
+
"""
|
|
1458
|
+
return pulumi.get(self, "max_count")
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
@pulumi.output_type
|
|
1462
|
+
class ThrottleByJwtSignatureRuleResponse(dict):
|
|
1463
|
+
"""
|
|
1464
|
+
Throttle the client connection by the JWT signature
|
|
1465
|
+
"""
|
|
1466
|
+
@staticmethod
|
|
1467
|
+
def __key_warning(key: str):
|
|
1468
|
+
suggest = None
|
|
1469
|
+
if key == "maxCount":
|
|
1470
|
+
suggest = "max_count"
|
|
1471
|
+
|
|
1472
|
+
if suggest:
|
|
1473
|
+
pulumi.log.warn(f"Key '{key}' not found in ThrottleByJwtSignatureRuleResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1474
|
+
|
|
1475
|
+
def __getitem__(self, key: str) -> Any:
|
|
1476
|
+
ThrottleByJwtSignatureRuleResponse.__key_warning(key)
|
|
1477
|
+
return super().__getitem__(key)
|
|
1478
|
+
|
|
1479
|
+
def get(self, key: str, default = None) -> Any:
|
|
1480
|
+
ThrottleByJwtSignatureRuleResponse.__key_warning(key)
|
|
1481
|
+
return super().get(key, default)
|
|
1482
|
+
|
|
1483
|
+
def __init__(__self__, *,
|
|
1484
|
+
type: str,
|
|
1485
|
+
max_count: Optional[int] = None):
|
|
1486
|
+
"""
|
|
1487
|
+
Throttle the client connection by the JWT signature
|
|
1488
|
+
:param str type:
|
|
1489
|
+
Expected value is 'ThrottleByJwtSignatureRule'.
|
|
1490
|
+
:param int max_count: Maximum connection count allowed for the same JWT signature. Clients with the same JWT signature will get rejected if the connection count exceeds this value. Default value is 20.
|
|
1491
|
+
"""
|
|
1492
|
+
pulumi.set(__self__, "type", 'ThrottleByJwtSignatureRule')
|
|
1493
|
+
if max_count is None:
|
|
1494
|
+
max_count = 20
|
|
1495
|
+
if max_count is not None:
|
|
1496
|
+
pulumi.set(__self__, "max_count", max_count)
|
|
1497
|
+
|
|
1498
|
+
@property
|
|
1499
|
+
@pulumi.getter
|
|
1500
|
+
def type(self) -> str:
|
|
1501
|
+
"""
|
|
1502
|
+
|
|
1503
|
+
Expected value is 'ThrottleByJwtSignatureRule'.
|
|
1504
|
+
"""
|
|
1505
|
+
return pulumi.get(self, "type")
|
|
1506
|
+
|
|
1507
|
+
@property
|
|
1508
|
+
@pulumi.getter(name="maxCount")
|
|
1509
|
+
def max_count(self) -> Optional[int]:
|
|
1510
|
+
"""
|
|
1511
|
+
Maximum connection count allowed for the same JWT signature. Clients with the same JWT signature will get rejected if the connection count exceeds this value. Default value is 20.
|
|
1512
|
+
"""
|
|
1513
|
+
return pulumi.get(self, "max_count")
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
@pulumi.output_type
|
|
1517
|
+
class ThrottleByUserIdRuleResponse(dict):
|
|
1518
|
+
"""
|
|
1519
|
+
Throttle the client connection by the user ID
|
|
1520
|
+
"""
|
|
1521
|
+
@staticmethod
|
|
1522
|
+
def __key_warning(key: str):
|
|
1523
|
+
suggest = None
|
|
1524
|
+
if key == "maxCount":
|
|
1525
|
+
suggest = "max_count"
|
|
1526
|
+
|
|
1527
|
+
if suggest:
|
|
1528
|
+
pulumi.log.warn(f"Key '{key}' not found in ThrottleByUserIdRuleResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1529
|
+
|
|
1530
|
+
def __getitem__(self, key: str) -> Any:
|
|
1531
|
+
ThrottleByUserIdRuleResponse.__key_warning(key)
|
|
1532
|
+
return super().__getitem__(key)
|
|
1533
|
+
|
|
1534
|
+
def get(self, key: str, default = None) -> Any:
|
|
1535
|
+
ThrottleByUserIdRuleResponse.__key_warning(key)
|
|
1536
|
+
return super().get(key, default)
|
|
1537
|
+
|
|
1538
|
+
def __init__(__self__, *,
|
|
1539
|
+
type: str,
|
|
1540
|
+
max_count: Optional[int] = None):
|
|
1541
|
+
"""
|
|
1542
|
+
Throttle the client connection by the user ID
|
|
1543
|
+
:param str type:
|
|
1544
|
+
Expected value is 'ThrottleByUserIdRule'.
|
|
1545
|
+
:param int max_count: Maximum connection count allowed for the same user ID. Clients with the same user ID will get rejected if the connection count exceeds this value. Default value is 20.
|
|
1546
|
+
"""
|
|
1547
|
+
pulumi.set(__self__, "type", 'ThrottleByUserIdRule')
|
|
1548
|
+
if max_count is None:
|
|
1549
|
+
max_count = 20
|
|
1550
|
+
if max_count is not None:
|
|
1551
|
+
pulumi.set(__self__, "max_count", max_count)
|
|
1552
|
+
|
|
1553
|
+
@property
|
|
1554
|
+
@pulumi.getter
|
|
1555
|
+
def type(self) -> str:
|
|
1556
|
+
"""
|
|
1557
|
+
|
|
1558
|
+
Expected value is 'ThrottleByUserIdRule'.
|
|
1559
|
+
"""
|
|
1560
|
+
return pulumi.get(self, "type")
|
|
1561
|
+
|
|
1562
|
+
@property
|
|
1563
|
+
@pulumi.getter(name="maxCount")
|
|
1564
|
+
def max_count(self) -> Optional[int]:
|
|
1565
|
+
"""
|
|
1566
|
+
Maximum connection count allowed for the same user ID. Clients with the same user ID will get rejected if the connection count exceeds this value. Default value is 20.
|
|
1567
|
+
"""
|
|
1568
|
+
return pulumi.get(self, "max_count")
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
@pulumi.output_type
|
|
1572
|
+
class TrafficThrottleByJwtCustomClaimRuleResponse(dict):
|
|
1573
|
+
"""
|
|
1574
|
+
Throttle the client traffic by a custom JWT claim
|
|
1575
|
+
"""
|
|
1576
|
+
@staticmethod
|
|
1577
|
+
def __key_warning(key: str):
|
|
1578
|
+
suggest = None
|
|
1579
|
+
if key == "claimName":
|
|
1580
|
+
suggest = "claim_name"
|
|
1581
|
+
elif key == "aggregationWindowInSeconds":
|
|
1582
|
+
suggest = "aggregation_window_in_seconds"
|
|
1583
|
+
elif key == "maxInboundMessageBytes":
|
|
1584
|
+
suggest = "max_inbound_message_bytes"
|
|
1585
|
+
|
|
1586
|
+
if suggest:
|
|
1587
|
+
pulumi.log.warn(f"Key '{key}' not found in TrafficThrottleByJwtCustomClaimRuleResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1588
|
+
|
|
1589
|
+
def __getitem__(self, key: str) -> Any:
|
|
1590
|
+
TrafficThrottleByJwtCustomClaimRuleResponse.__key_warning(key)
|
|
1591
|
+
return super().__getitem__(key)
|
|
1592
|
+
|
|
1593
|
+
def get(self, key: str, default = None) -> Any:
|
|
1594
|
+
TrafficThrottleByJwtCustomClaimRuleResponse.__key_warning(key)
|
|
1595
|
+
return super().get(key, default)
|
|
1596
|
+
|
|
1597
|
+
def __init__(__self__, *,
|
|
1598
|
+
claim_name: str,
|
|
1599
|
+
type: str,
|
|
1600
|
+
aggregation_window_in_seconds: Optional[int] = None,
|
|
1601
|
+
max_inbound_message_bytes: Optional[float] = None):
|
|
1602
|
+
"""
|
|
1603
|
+
Throttle the client traffic by a custom JWT claim
|
|
1604
|
+
:param str claim_name: The name of the claim in the JWT token. The message bytes with the same claim value will be aggregated. If the claim is not found in the token, the rule will be skipped.
|
|
1605
|
+
:param str type:
|
|
1606
|
+
Expected value is 'TrafficThrottleByJwtCustomClaimRule'.
|
|
1607
|
+
:param int aggregation_window_in_seconds: The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.
|
|
1608
|
+
:param float max_inbound_message_bytes: Maximum accumulated inbound message bytes allowed for the same JWT signature within a time window. Clients with the same JWT claim will get disconnected if the message bytes exceeds this value. Default value is 1GB.
|
|
1609
|
+
"""
|
|
1610
|
+
pulumi.set(__self__, "claim_name", claim_name)
|
|
1611
|
+
pulumi.set(__self__, "type", 'TrafficThrottleByJwtCustomClaimRule')
|
|
1612
|
+
if aggregation_window_in_seconds is None:
|
|
1613
|
+
aggregation_window_in_seconds = 60
|
|
1614
|
+
if aggregation_window_in_seconds is not None:
|
|
1615
|
+
pulumi.set(__self__, "aggregation_window_in_seconds", aggregation_window_in_seconds)
|
|
1616
|
+
if max_inbound_message_bytes is not None:
|
|
1617
|
+
pulumi.set(__self__, "max_inbound_message_bytes", max_inbound_message_bytes)
|
|
1618
|
+
|
|
1619
|
+
@property
|
|
1620
|
+
@pulumi.getter(name="claimName")
|
|
1621
|
+
def claim_name(self) -> str:
|
|
1622
|
+
"""
|
|
1623
|
+
The name of the claim in the JWT token. The message bytes with the same claim value will be aggregated. If the claim is not found in the token, the rule will be skipped.
|
|
1624
|
+
"""
|
|
1625
|
+
return pulumi.get(self, "claim_name")
|
|
1626
|
+
|
|
1627
|
+
@property
|
|
1628
|
+
@pulumi.getter
|
|
1629
|
+
def type(self) -> str:
|
|
1630
|
+
"""
|
|
1631
|
+
|
|
1632
|
+
Expected value is 'TrafficThrottleByJwtCustomClaimRule'.
|
|
1633
|
+
"""
|
|
1634
|
+
return pulumi.get(self, "type")
|
|
1635
|
+
|
|
1636
|
+
@property
|
|
1637
|
+
@pulumi.getter(name="aggregationWindowInSeconds")
|
|
1638
|
+
def aggregation_window_in_seconds(self) -> Optional[int]:
|
|
1639
|
+
"""
|
|
1640
|
+
The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.
|
|
1641
|
+
"""
|
|
1642
|
+
return pulumi.get(self, "aggregation_window_in_seconds")
|
|
1643
|
+
|
|
1644
|
+
@property
|
|
1645
|
+
@pulumi.getter(name="maxInboundMessageBytes")
|
|
1646
|
+
def max_inbound_message_bytes(self) -> Optional[float]:
|
|
1647
|
+
"""
|
|
1648
|
+
Maximum accumulated inbound message bytes allowed for the same JWT signature within a time window. Clients with the same JWT claim will get disconnected if the message bytes exceeds this value. Default value is 1GB.
|
|
1649
|
+
"""
|
|
1650
|
+
return pulumi.get(self, "max_inbound_message_bytes")
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
@pulumi.output_type
|
|
1654
|
+
class TrafficThrottleByJwtSignatureRuleResponse(dict):
|
|
1655
|
+
"""
|
|
1656
|
+
Throttle the client traffic by the JWT signature
|
|
1657
|
+
"""
|
|
1658
|
+
@staticmethod
|
|
1659
|
+
def __key_warning(key: str):
|
|
1660
|
+
suggest = None
|
|
1661
|
+
if key == "aggregationWindowInSeconds":
|
|
1662
|
+
suggest = "aggregation_window_in_seconds"
|
|
1663
|
+
elif key == "maxInboundMessageBytes":
|
|
1664
|
+
suggest = "max_inbound_message_bytes"
|
|
1665
|
+
|
|
1666
|
+
if suggest:
|
|
1667
|
+
pulumi.log.warn(f"Key '{key}' not found in TrafficThrottleByJwtSignatureRuleResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1668
|
+
|
|
1669
|
+
def __getitem__(self, key: str) -> Any:
|
|
1670
|
+
TrafficThrottleByJwtSignatureRuleResponse.__key_warning(key)
|
|
1671
|
+
return super().__getitem__(key)
|
|
1672
|
+
|
|
1673
|
+
def get(self, key: str, default = None) -> Any:
|
|
1674
|
+
TrafficThrottleByJwtSignatureRuleResponse.__key_warning(key)
|
|
1675
|
+
return super().get(key, default)
|
|
1676
|
+
|
|
1677
|
+
def __init__(__self__, *,
|
|
1678
|
+
type: str,
|
|
1679
|
+
aggregation_window_in_seconds: Optional[int] = None,
|
|
1680
|
+
max_inbound_message_bytes: Optional[float] = None):
|
|
1681
|
+
"""
|
|
1682
|
+
Throttle the client traffic by the JWT signature
|
|
1683
|
+
:param str type:
|
|
1684
|
+
Expected value is 'TrafficThrottleByJwtSignatureRule'.
|
|
1685
|
+
:param int aggregation_window_in_seconds: The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.
|
|
1686
|
+
:param float max_inbound_message_bytes: Maximum accumulated inbound message bytes allowed for the same JWT signature within a time window. Clients with the same JWT signature will get disconnected if the message bytes exceeds this value. Default value is 1GB.
|
|
1687
|
+
"""
|
|
1688
|
+
pulumi.set(__self__, "type", 'TrafficThrottleByJwtSignatureRule')
|
|
1689
|
+
if aggregation_window_in_seconds is None:
|
|
1690
|
+
aggregation_window_in_seconds = 60
|
|
1691
|
+
if aggregation_window_in_seconds is not None:
|
|
1692
|
+
pulumi.set(__self__, "aggregation_window_in_seconds", aggregation_window_in_seconds)
|
|
1693
|
+
if max_inbound_message_bytes is not None:
|
|
1694
|
+
pulumi.set(__self__, "max_inbound_message_bytes", max_inbound_message_bytes)
|
|
1695
|
+
|
|
1696
|
+
@property
|
|
1697
|
+
@pulumi.getter
|
|
1698
|
+
def type(self) -> str:
|
|
1699
|
+
"""
|
|
1700
|
+
|
|
1701
|
+
Expected value is 'TrafficThrottleByJwtSignatureRule'.
|
|
1702
|
+
"""
|
|
1703
|
+
return pulumi.get(self, "type")
|
|
1704
|
+
|
|
1705
|
+
@property
|
|
1706
|
+
@pulumi.getter(name="aggregationWindowInSeconds")
|
|
1707
|
+
def aggregation_window_in_seconds(self) -> Optional[int]:
|
|
1708
|
+
"""
|
|
1709
|
+
The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.
|
|
1710
|
+
"""
|
|
1711
|
+
return pulumi.get(self, "aggregation_window_in_seconds")
|
|
1712
|
+
|
|
1713
|
+
@property
|
|
1714
|
+
@pulumi.getter(name="maxInboundMessageBytes")
|
|
1715
|
+
def max_inbound_message_bytes(self) -> Optional[float]:
|
|
1716
|
+
"""
|
|
1717
|
+
Maximum accumulated inbound message bytes allowed for the same JWT signature within a time window. Clients with the same JWT signature will get disconnected if the message bytes exceeds this value. Default value is 1GB.
|
|
1718
|
+
"""
|
|
1719
|
+
return pulumi.get(self, "max_inbound_message_bytes")
|
|
1720
|
+
|
|
1721
|
+
|
|
1722
|
+
@pulumi.output_type
|
|
1723
|
+
class TrafficThrottleByUserIdRuleResponse(dict):
|
|
1724
|
+
"""
|
|
1725
|
+
Throttle the client traffic by the user ID
|
|
1726
|
+
"""
|
|
1727
|
+
@staticmethod
|
|
1728
|
+
def __key_warning(key: str):
|
|
1729
|
+
suggest = None
|
|
1730
|
+
if key == "aggregationWindowInSeconds":
|
|
1731
|
+
suggest = "aggregation_window_in_seconds"
|
|
1732
|
+
elif key == "maxInboundMessageBytes":
|
|
1733
|
+
suggest = "max_inbound_message_bytes"
|
|
1734
|
+
|
|
1735
|
+
if suggest:
|
|
1736
|
+
pulumi.log.warn(f"Key '{key}' not found in TrafficThrottleByUserIdRuleResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1737
|
+
|
|
1738
|
+
def __getitem__(self, key: str) -> Any:
|
|
1739
|
+
TrafficThrottleByUserIdRuleResponse.__key_warning(key)
|
|
1740
|
+
return super().__getitem__(key)
|
|
1741
|
+
|
|
1742
|
+
def get(self, key: str, default = None) -> Any:
|
|
1743
|
+
TrafficThrottleByUserIdRuleResponse.__key_warning(key)
|
|
1744
|
+
return super().get(key, default)
|
|
1745
|
+
|
|
1746
|
+
def __init__(__self__, *,
|
|
1747
|
+
type: str,
|
|
1748
|
+
aggregation_window_in_seconds: Optional[int] = None,
|
|
1749
|
+
max_inbound_message_bytes: Optional[float] = None):
|
|
1750
|
+
"""
|
|
1751
|
+
Throttle the client traffic by the user ID
|
|
1752
|
+
:param str type:
|
|
1753
|
+
Expected value is 'TrafficThrottleByUserIdRule'.
|
|
1754
|
+
:param int aggregation_window_in_seconds: The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.
|
|
1755
|
+
:param float max_inbound_message_bytes: Maximum accumulated inbound message bytes allowed for the same user ID within a time window. Clients with the same user ID will get disconnected if the message bytes exceeds this value. Default value is 1GB.
|
|
1756
|
+
"""
|
|
1757
|
+
pulumi.set(__self__, "type", 'TrafficThrottleByUserIdRule')
|
|
1758
|
+
if aggregation_window_in_seconds is None:
|
|
1759
|
+
aggregation_window_in_seconds = 60
|
|
1760
|
+
if aggregation_window_in_seconds is not None:
|
|
1761
|
+
pulumi.set(__self__, "aggregation_window_in_seconds", aggregation_window_in_seconds)
|
|
1762
|
+
if max_inbound_message_bytes is not None:
|
|
1763
|
+
pulumi.set(__self__, "max_inbound_message_bytes", max_inbound_message_bytes)
|
|
1764
|
+
|
|
1765
|
+
@property
|
|
1766
|
+
@pulumi.getter
|
|
1767
|
+
def type(self) -> str:
|
|
1768
|
+
"""
|
|
1769
|
+
|
|
1770
|
+
Expected value is 'TrafficThrottleByUserIdRule'.
|
|
1771
|
+
"""
|
|
1772
|
+
return pulumi.get(self, "type")
|
|
1773
|
+
|
|
1774
|
+
@property
|
|
1775
|
+
@pulumi.getter(name="aggregationWindowInSeconds")
|
|
1776
|
+
def aggregation_window_in_seconds(self) -> Optional[int]:
|
|
1777
|
+
"""
|
|
1778
|
+
The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.
|
|
1779
|
+
"""
|
|
1780
|
+
return pulumi.get(self, "aggregation_window_in_seconds")
|
|
1781
|
+
|
|
1782
|
+
@property
|
|
1783
|
+
@pulumi.getter(name="maxInboundMessageBytes")
|
|
1784
|
+
def max_inbound_message_bytes(self) -> Optional[float]:
|
|
1785
|
+
"""
|
|
1786
|
+
Maximum accumulated inbound message bytes allowed for the same user ID within a time window. Clients with the same user ID will get disconnected if the message bytes exceeds this value. Default value is 1GB.
|
|
1787
|
+
"""
|
|
1788
|
+
return pulumi.get(self, "max_inbound_message_bytes")
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
@pulumi.output_type
|
|
1792
|
+
class UpstreamAuthSettingsResponse(dict):
|
|
1793
|
+
"""
|
|
1794
|
+
Upstream auth settings. If not set, no auth is used for upstream messages.
|
|
1795
|
+
"""
|
|
1796
|
+
@staticmethod
|
|
1797
|
+
def __key_warning(key: str):
|
|
1798
|
+
suggest = None
|
|
1799
|
+
if key == "managedIdentity":
|
|
1800
|
+
suggest = "managed_identity"
|
|
1801
|
+
|
|
1802
|
+
if suggest:
|
|
1803
|
+
pulumi.log.warn(f"Key '{key}' not found in UpstreamAuthSettingsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1804
|
+
|
|
1805
|
+
def __getitem__(self, key: str) -> Any:
|
|
1806
|
+
UpstreamAuthSettingsResponse.__key_warning(key)
|
|
1807
|
+
return super().__getitem__(key)
|
|
1808
|
+
|
|
1809
|
+
def get(self, key: str, default = None) -> Any:
|
|
1810
|
+
UpstreamAuthSettingsResponse.__key_warning(key)
|
|
1811
|
+
return super().get(key, default)
|
|
1812
|
+
|
|
1813
|
+
def __init__(__self__, *,
|
|
1814
|
+
managed_identity: Optional['outputs.ManagedIdentitySettingsResponse'] = None,
|
|
1815
|
+
type: Optional[str] = None):
|
|
1816
|
+
"""
|
|
1817
|
+
Upstream auth settings. If not set, no auth is used for upstream messages.
|
|
1818
|
+
:param 'ManagedIdentitySettingsResponse' managed_identity: Managed identity settings for upstream.
|
|
1819
|
+
:param str type: Upstream auth type enum.
|
|
1820
|
+
"""
|
|
1821
|
+
if managed_identity is not None:
|
|
1822
|
+
pulumi.set(__self__, "managed_identity", managed_identity)
|
|
1823
|
+
if type is not None:
|
|
1824
|
+
pulumi.set(__self__, "type", type)
|
|
1825
|
+
|
|
1826
|
+
@property
|
|
1827
|
+
@pulumi.getter(name="managedIdentity")
|
|
1828
|
+
def managed_identity(self) -> Optional['outputs.ManagedIdentitySettingsResponse']:
|
|
1829
|
+
"""
|
|
1830
|
+
Managed identity settings for upstream.
|
|
1831
|
+
"""
|
|
1832
|
+
return pulumi.get(self, "managed_identity")
|
|
1833
|
+
|
|
1834
|
+
@property
|
|
1835
|
+
@pulumi.getter
|
|
1836
|
+
def type(self) -> Optional[str]:
|
|
1837
|
+
"""
|
|
1838
|
+
Upstream auth type enum.
|
|
1839
|
+
"""
|
|
1840
|
+
return pulumi.get(self, "type")
|
|
1841
|
+
|
|
1842
|
+
|
|
1843
|
+
@pulumi.output_type
|
|
1844
|
+
class UpstreamTemplateResponse(dict):
|
|
1845
|
+
"""
|
|
1846
|
+
Upstream template item settings. It defines the Upstream URL of the incoming requests.
|
|
1847
|
+
The template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template.
|
|
1848
|
+
"""
|
|
1849
|
+
@staticmethod
|
|
1850
|
+
def __key_warning(key: str):
|
|
1851
|
+
suggest = None
|
|
1852
|
+
if key == "urlTemplate":
|
|
1853
|
+
suggest = "url_template"
|
|
1854
|
+
elif key == "categoryPattern":
|
|
1855
|
+
suggest = "category_pattern"
|
|
1856
|
+
elif key == "eventPattern":
|
|
1857
|
+
suggest = "event_pattern"
|
|
1858
|
+
elif key == "hubPattern":
|
|
1859
|
+
suggest = "hub_pattern"
|
|
1860
|
+
|
|
1861
|
+
if suggest:
|
|
1862
|
+
pulumi.log.warn(f"Key '{key}' not found in UpstreamTemplateResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1863
|
+
|
|
1864
|
+
def __getitem__(self, key: str) -> Any:
|
|
1865
|
+
UpstreamTemplateResponse.__key_warning(key)
|
|
1866
|
+
return super().__getitem__(key)
|
|
1867
|
+
|
|
1868
|
+
def get(self, key: str, default = None) -> Any:
|
|
1869
|
+
UpstreamTemplateResponse.__key_warning(key)
|
|
1870
|
+
return super().get(key, default)
|
|
1871
|
+
|
|
1872
|
+
def __init__(__self__, *,
|
|
1873
|
+
url_template: str,
|
|
1874
|
+
auth: Optional['outputs.UpstreamAuthSettingsResponse'] = None,
|
|
1875
|
+
category_pattern: Optional[str] = None,
|
|
1876
|
+
event_pattern: Optional[str] = None,
|
|
1877
|
+
hub_pattern: Optional[str] = None):
|
|
1878
|
+
"""
|
|
1879
|
+
Upstream template item settings. It defines the Upstream URL of the incoming requests.
|
|
1880
|
+
The template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template.
|
|
1881
|
+
:param str url_template: Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.
|
|
1882
|
+
For example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`.
|
|
1883
|
+
:param 'UpstreamAuthSettingsResponse' auth: Upstream auth settings. If not set, no auth is used for upstream messages.
|
|
1884
|
+
:param str category_pattern: Gets or sets the matching pattern for category names. If not set, it matches any category.
|
|
1885
|
+
There are 3 kind of patterns supported:
|
|
1886
|
+
1. "*", it to matches any category name.
|
|
1887
|
+
2. Combine multiple categories with ",", for example "connections,messages", it matches category "connections" and "messages".
|
|
1888
|
+
3. The single category name, for example, "connections", it matches the category "connections".
|
|
1889
|
+
:param str event_pattern: Gets or sets the matching pattern for event names. If not set, it matches any event.
|
|
1890
|
+
There are 3 kind of patterns supported:
|
|
1891
|
+
1. "*", it to matches any event name.
|
|
1892
|
+
2. Combine multiple events with ",", for example "connect,disconnect", it matches event "connect" and "disconnect".
|
|
1893
|
+
3. The single event name, for example, "connect", it matches "connect".
|
|
1894
|
+
:param str hub_pattern: Gets or sets the matching pattern for hub names. If not set, it matches any hub.
|
|
1895
|
+
There are 3 kind of patterns supported:
|
|
1896
|
+
1. "*", it to matches any hub name.
|
|
1897
|
+
2. Combine multiple hubs with ",", for example "hub1,hub2", it matches "hub1" and "hub2".
|
|
1898
|
+
3. The single hub name, for example, "hub1", it matches "hub1".
|
|
1899
|
+
"""
|
|
1900
|
+
pulumi.set(__self__, "url_template", url_template)
|
|
1901
|
+
if auth is not None:
|
|
1902
|
+
pulumi.set(__self__, "auth", auth)
|
|
1903
|
+
if category_pattern is not None:
|
|
1904
|
+
pulumi.set(__self__, "category_pattern", category_pattern)
|
|
1905
|
+
if event_pattern is not None:
|
|
1906
|
+
pulumi.set(__self__, "event_pattern", event_pattern)
|
|
1907
|
+
if hub_pattern is not None:
|
|
1908
|
+
pulumi.set(__self__, "hub_pattern", hub_pattern)
|
|
1909
|
+
|
|
1910
|
+
@property
|
|
1911
|
+
@pulumi.getter(name="urlTemplate")
|
|
1912
|
+
def url_template(self) -> str:
|
|
1913
|
+
"""
|
|
1914
|
+
Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.
|
|
1915
|
+
For example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`.
|
|
1916
|
+
"""
|
|
1917
|
+
return pulumi.get(self, "url_template")
|
|
1918
|
+
|
|
1919
|
+
@property
|
|
1920
|
+
@pulumi.getter
|
|
1921
|
+
def auth(self) -> Optional['outputs.UpstreamAuthSettingsResponse']:
|
|
1922
|
+
"""
|
|
1923
|
+
Upstream auth settings. If not set, no auth is used for upstream messages.
|
|
1924
|
+
"""
|
|
1925
|
+
return pulumi.get(self, "auth")
|
|
1926
|
+
|
|
1927
|
+
@property
|
|
1928
|
+
@pulumi.getter(name="categoryPattern")
|
|
1929
|
+
def category_pattern(self) -> Optional[str]:
|
|
1930
|
+
"""
|
|
1931
|
+
Gets or sets the matching pattern for category names. If not set, it matches any category.
|
|
1932
|
+
There are 3 kind of patterns supported:
|
|
1933
|
+
1. "*", it to matches any category name.
|
|
1934
|
+
2. Combine multiple categories with ",", for example "connections,messages", it matches category "connections" and "messages".
|
|
1935
|
+
3. The single category name, for example, "connections", it matches the category "connections".
|
|
1936
|
+
"""
|
|
1937
|
+
return pulumi.get(self, "category_pattern")
|
|
1938
|
+
|
|
1939
|
+
@property
|
|
1940
|
+
@pulumi.getter(name="eventPattern")
|
|
1941
|
+
def event_pattern(self) -> Optional[str]:
|
|
1942
|
+
"""
|
|
1943
|
+
Gets or sets the matching pattern for event names. If not set, it matches any event.
|
|
1944
|
+
There are 3 kind of patterns supported:
|
|
1945
|
+
1. "*", it to matches any event name.
|
|
1946
|
+
2. Combine multiple events with ",", for example "connect,disconnect", it matches event "connect" and "disconnect".
|
|
1947
|
+
3. The single event name, for example, "connect", it matches "connect".
|
|
1948
|
+
"""
|
|
1949
|
+
return pulumi.get(self, "event_pattern")
|
|
1950
|
+
|
|
1951
|
+
@property
|
|
1952
|
+
@pulumi.getter(name="hubPattern")
|
|
1953
|
+
def hub_pattern(self) -> Optional[str]:
|
|
1954
|
+
"""
|
|
1955
|
+
Gets or sets the matching pattern for hub names. If not set, it matches any hub.
|
|
1956
|
+
There are 3 kind of patterns supported:
|
|
1957
|
+
1. "*", it to matches any hub name.
|
|
1958
|
+
2. Combine multiple hubs with ",", for example "hub1,hub2", it matches "hub1" and "hub2".
|
|
1959
|
+
3. The single hub name, for example, "hub1", it matches "hub1".
|
|
1960
|
+
"""
|
|
1961
|
+
return pulumi.get(self, "hub_pattern")
|
|
1962
|
+
|
|
1963
|
+
|
|
1964
|
+
@pulumi.output_type
|
|
1965
|
+
class UserAssignedIdentityPropertyResponse(dict):
|
|
1966
|
+
"""
|
|
1967
|
+
Properties of user assigned identity.
|
|
1968
|
+
"""
|
|
1969
|
+
@staticmethod
|
|
1970
|
+
def __key_warning(key: str):
|
|
1971
|
+
suggest = None
|
|
1972
|
+
if key == "clientId":
|
|
1973
|
+
suggest = "client_id"
|
|
1974
|
+
elif key == "principalId":
|
|
1975
|
+
suggest = "principal_id"
|
|
1976
|
+
|
|
1977
|
+
if suggest:
|
|
1978
|
+
pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityPropertyResponse. Access the value via the '{suggest}' property getter instead.")
|
|
1979
|
+
|
|
1980
|
+
def __getitem__(self, key: str) -> Any:
|
|
1981
|
+
UserAssignedIdentityPropertyResponse.__key_warning(key)
|
|
1982
|
+
return super().__getitem__(key)
|
|
1983
|
+
|
|
1984
|
+
def get(self, key: str, default = None) -> Any:
|
|
1985
|
+
UserAssignedIdentityPropertyResponse.__key_warning(key)
|
|
1986
|
+
return super().get(key, default)
|
|
1987
|
+
|
|
1988
|
+
def __init__(__self__, *,
|
|
1989
|
+
client_id: str,
|
|
1990
|
+
principal_id: str):
|
|
1991
|
+
"""
|
|
1992
|
+
Properties of user assigned identity.
|
|
1993
|
+
:param str client_id: Get the client id for the user assigned identity
|
|
1994
|
+
:param str principal_id: Get the principal id for the user assigned identity
|
|
1995
|
+
"""
|
|
1996
|
+
pulumi.set(__self__, "client_id", client_id)
|
|
1997
|
+
pulumi.set(__self__, "principal_id", principal_id)
|
|
1998
|
+
|
|
1999
|
+
@property
|
|
2000
|
+
@pulumi.getter(name="clientId")
|
|
2001
|
+
def client_id(self) -> str:
|
|
2002
|
+
"""
|
|
2003
|
+
Get the client id for the user assigned identity
|
|
2004
|
+
"""
|
|
2005
|
+
return pulumi.get(self, "client_id")
|
|
2006
|
+
|
|
2007
|
+
@property
|
|
2008
|
+
@pulumi.getter(name="principalId")
|
|
2009
|
+
def principal_id(self) -> str:
|
|
2010
|
+
"""
|
|
2011
|
+
Get the principal id for the user assigned identity
|
|
2012
|
+
"""
|
|
2013
|
+
return pulumi.get(self, "principal_id")
|
|
2014
|
+
|
|
2015
|
+
|