pulumi-azure-native 3.8.0a1755549300__py3-none-any.whl → 3.8.0a1756942349__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/config/__init__.pyi +11 -1
- pulumi_azure_native/config/vars.py +15 -1
- pulumi_azure_native/monitor/_enums.py +1 -1
- pulumi_azure_native/monitor/_inputs.py +23 -3
- pulumi_azure_native/monitor/get_scheduled_query_rule.py +6 -6
- pulumi_azure_native/monitor/outputs.py +16 -2
- pulumi_azure_native/monitor/scheduled_query_rule.py +12 -12
- pulumi_azure_native/provider.py +43 -3
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/redisenterprise/_enums.py +82 -5
- pulumi_azure_native/redisenterprise/_inputs.py +19 -19
- pulumi_azure_native/redisenterprise/access_policy_assignment.py +7 -7
- pulumi_azure_native/redisenterprise/database.py +56 -17
- pulumi_azure_native/redisenterprise/get_access_policy_assignment.py +6 -6
- pulumi_azure_native/redisenterprise/get_database.py +40 -12
- pulumi_azure_native/redisenterprise/get_private_endpoint_connection.py +8 -8
- pulumi_azure_native/redisenterprise/get_redis_enterprise.py +54 -12
- pulumi_azure_native/redisenterprise/list_database_keys.py +8 -8
- pulumi_azure_native/redisenterprise/outputs.py +125 -14
- pulumi_azure_native/redisenterprise/private_endpoint_connection.py +7 -7
- pulumi_azure_native/redisenterprise/redis_enterprise.py +63 -14
- pulumi_azure_native/search/_enums.py +121 -10
- pulumi_azure_native/search/_inputs.py +109 -69
- pulumi_azure_native/search/get_private_endpoint_connection.py +26 -12
- pulumi_azure_native/search/get_service.py +117 -19
- pulumi_azure_native/search/get_shared_private_link_resource.py +26 -12
- pulumi_azure_native/search/list_admin_key.py +9 -9
- pulumi_azure_native/search/list_query_key_by_search_service.py +10 -10
- pulumi_azure_native/search/outputs.py +303 -57
- pulumi_azure_native/search/private_endpoint_connection.py +26 -16
- pulumi_azure_native/search/service.py +179 -33
- pulumi_azure_native/search/shared_private_link_resource.py +26 -16
- {pulumi_azure_native-3.8.0a1755549300.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.8.0a1755549300.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/RECORD +36 -36
- {pulumi_azure_native-3.8.0a1755549300.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-3.8.0a1755549300.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/top_level.txt +0 -0
|
@@ -40,6 +40,11 @@ clientSecret: Optional[str]
|
|
|
40
40
|
The Client Secret which should be used. For use when authenticating as a Service Principal using a Client Secret.
|
|
41
41
|
"""
|
|
42
42
|
|
|
43
|
+
disableInstanceDiscovery: Optional[bool]
|
|
44
|
+
"""
|
|
45
|
+
Determines whether or not instance discovery is performed when attempting to authenticate. Setting this to true will completely disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack.
|
|
46
|
+
"""
|
|
47
|
+
|
|
43
48
|
disablePulumiPartnerId: Optional[bool]
|
|
44
49
|
"""
|
|
45
50
|
This will disable the Pulumi Partner ID which is used if a custom `partnerId` isn't specified.
|
|
@@ -47,7 +52,7 @@ This will disable the Pulumi Partner ID which is used if a custom `partnerId` is
|
|
|
47
52
|
|
|
48
53
|
environment: Optional[str]
|
|
49
54
|
"""
|
|
50
|
-
The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
|
|
55
|
+
The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. Not used when metadataHost is specified or when ARM_METADATA_HOSTNAME is set.
|
|
51
56
|
"""
|
|
52
57
|
|
|
53
58
|
location: Optional[str]
|
|
@@ -100,6 +105,11 @@ tenantId: Optional[str]
|
|
|
100
105
|
The Tenant ID which should be used.
|
|
101
106
|
"""
|
|
102
107
|
|
|
108
|
+
useDefaultAzureCredential: Optional[bool]
|
|
109
|
+
"""
|
|
110
|
+
Use the default credential chain of the Azure SDK (see https://learn.microsoft.com/en-us/azure/developer/go/sdk/authentication/credential-chains#defaultazurecredential-overview).
|
|
111
|
+
"""
|
|
112
|
+
|
|
103
113
|
useMsi: Optional[bool]
|
|
104
114
|
"""
|
|
105
115
|
Allow Managed Service Identity be used for Authentication.
|
|
@@ -56,6 +56,13 @@ class _ExportableConfig(types.ModuleType):
|
|
|
56
56
|
"""
|
|
57
57
|
return __config__.get('clientSecret')
|
|
58
58
|
|
|
59
|
+
@property
|
|
60
|
+
def disable_instance_discovery(self) -> Optional[bool]:
|
|
61
|
+
"""
|
|
62
|
+
Determines whether or not instance discovery is performed when attempting to authenticate. Setting this to true will completely disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack.
|
|
63
|
+
"""
|
|
64
|
+
return __config__.get_bool('disableInstanceDiscovery')
|
|
65
|
+
|
|
59
66
|
@property
|
|
60
67
|
def disable_pulumi_partner_id(self) -> Optional[bool]:
|
|
61
68
|
"""
|
|
@@ -66,7 +73,7 @@ class _ExportableConfig(types.ModuleType):
|
|
|
66
73
|
@property
|
|
67
74
|
def environment(self) -> Optional[str]:
|
|
68
75
|
"""
|
|
69
|
-
The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
|
|
76
|
+
The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. Not used when metadataHost is specified or when ARM_METADATA_HOSTNAME is set.
|
|
70
77
|
"""
|
|
71
78
|
return __config__.get('environment')
|
|
72
79
|
|
|
@@ -140,6 +147,13 @@ class _ExportableConfig(types.ModuleType):
|
|
|
140
147
|
"""
|
|
141
148
|
return __config__.get('tenantId')
|
|
142
149
|
|
|
150
|
+
@property
|
|
151
|
+
def use_default_azure_credential(self) -> Optional[bool]:
|
|
152
|
+
"""
|
|
153
|
+
Use the default credential chain of the Azure SDK (see https://learn.microsoft.com/en-us/azure/developer/go/sdk/authentication/credential-chains#defaultazurecredential-overview).
|
|
154
|
+
"""
|
|
155
|
+
return __config__.get_bool('useDefaultAzureCredential')
|
|
156
|
+
|
|
143
157
|
@property
|
|
144
158
|
def use_msi(self) -> Optional[bool]:
|
|
145
159
|
"""
|
|
@@ -224,7 +224,7 @@ class Kind(builtins.str, Enum):
|
|
|
224
224
|
Indicates the type of scheduled query rule. The default is LogAlert.
|
|
225
225
|
"""
|
|
226
226
|
LOG_ALERT = "LogAlert"
|
|
227
|
-
|
|
227
|
+
SIMPLE_LOG_ALERT = "SimpleLogAlert"
|
|
228
228
|
LOG_TO_METRIC = "LogToMetric"
|
|
229
229
|
|
|
230
230
|
|
|
@@ -1930,7 +1930,7 @@ if not MYPY:
|
|
|
1930
1930
|
"""
|
|
1931
1931
|
alert_sensitivity: NotRequired[pulumi.Input[builtins.str]]
|
|
1932
1932
|
"""
|
|
1933
|
-
The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant
|
|
1933
|
+
The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant only for dynamic threshold rules of the kind LogAlert.
|
|
1934
1934
|
"""
|
|
1935
1935
|
criterion_type: NotRequired[pulumi.Input[Union[builtins.str, 'CriterionType']]]
|
|
1936
1936
|
"""
|
|
@@ -1956,6 +1956,10 @@ if not MYPY:
|
|
|
1956
1956
|
"""
|
|
1957
1957
|
The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
|
|
1958
1958
|
"""
|
|
1959
|
+
min_recurrence_count: NotRequired[pulumi.Input[builtins.float]]
|
|
1960
|
+
"""
|
|
1961
|
+
The minimum results count that should be found for triggering an alert. Relevant only for rules of the kind SimpleLogAlert.
|
|
1962
|
+
"""
|
|
1959
1963
|
operator: NotRequired[pulumi.Input[Union[builtins.str, 'ConditionOperator']]]
|
|
1960
1964
|
"""
|
|
1961
1965
|
The criteria operator. Relevant and required only for rules of the kind LogAlert.
|
|
@@ -1989,6 +1993,7 @@ class ConditionArgs:
|
|
|
1989
1993
|
ignore_data_before: Optional[pulumi.Input[builtins.str]] = None,
|
|
1990
1994
|
metric_measure_column: Optional[pulumi.Input[builtins.str]] = None,
|
|
1991
1995
|
metric_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1996
|
+
min_recurrence_count: Optional[pulumi.Input[builtins.float]] = None,
|
|
1992
1997
|
operator: Optional[pulumi.Input[Union[builtins.str, 'ConditionOperator']]] = None,
|
|
1993
1998
|
query: Optional[pulumi.Input[builtins.str]] = None,
|
|
1994
1999
|
resource_id_column: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1996,13 +2001,14 @@ class ConditionArgs:
|
|
|
1996
2001
|
time_aggregation: Optional[pulumi.Input[Union[builtins.str, 'TimeAggregation']]] = None):
|
|
1997
2002
|
"""
|
|
1998
2003
|
A condition of the scheduled query rule.
|
|
1999
|
-
:param pulumi.Input[builtins.str] alert_sensitivity: The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant
|
|
2004
|
+
:param pulumi.Input[builtins.str] alert_sensitivity: The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant only for dynamic threshold rules of the kind LogAlert.
|
|
2000
2005
|
:param pulumi.Input[Union[builtins.str, 'CriterionType']] criterion_type: Specifies the type of threshold criteria
|
|
2001
2006
|
:param pulumi.Input[Sequence[pulumi.Input['DimensionArgs']]] dimensions: List of Dimensions conditions
|
|
2002
2007
|
:param pulumi.Input['ConditionFailingPeriodsArgs'] failing_periods: The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
|
|
2003
2008
|
:param pulumi.Input[builtins.str] ignore_data_before: Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format). Relevant only for dynamic threshold rules of the kind LogAlert.
|
|
2004
2009
|
:param pulumi.Input[builtins.str] metric_measure_column: The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
|
|
2005
2010
|
:param pulumi.Input[builtins.str] metric_name: The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
|
|
2011
|
+
:param pulumi.Input[builtins.float] min_recurrence_count: The minimum results count that should be found for triggering an alert. Relevant only for rules of the kind SimpleLogAlert.
|
|
2006
2012
|
:param pulumi.Input[Union[builtins.str, 'ConditionOperator']] operator: The criteria operator. Relevant and required only for rules of the kind LogAlert.
|
|
2007
2013
|
:param pulumi.Input[builtins.str] query: Log query alert
|
|
2008
2014
|
:param pulumi.Input[builtins.str] resource_id_column: The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
|
|
@@ -2023,6 +2029,8 @@ class ConditionArgs:
|
|
|
2023
2029
|
pulumi.set(__self__, "metric_measure_column", metric_measure_column)
|
|
2024
2030
|
if metric_name is not None:
|
|
2025
2031
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
2032
|
+
if min_recurrence_count is not None:
|
|
2033
|
+
pulumi.set(__self__, "min_recurrence_count", min_recurrence_count)
|
|
2026
2034
|
if operator is not None:
|
|
2027
2035
|
pulumi.set(__self__, "operator", operator)
|
|
2028
2036
|
if query is not None:
|
|
@@ -2038,7 +2046,7 @@ class ConditionArgs:
|
|
|
2038
2046
|
@pulumi.getter(name="alertSensitivity")
|
|
2039
2047
|
def alert_sensitivity(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2040
2048
|
"""
|
|
2041
|
-
The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant
|
|
2049
|
+
The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant only for dynamic threshold rules of the kind LogAlert.
|
|
2042
2050
|
"""
|
|
2043
2051
|
return pulumi.get(self, "alert_sensitivity")
|
|
2044
2052
|
|
|
@@ -2118,6 +2126,18 @@ class ConditionArgs:
|
|
|
2118
2126
|
def metric_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2119
2127
|
pulumi.set(self, "metric_name", value)
|
|
2120
2128
|
|
|
2129
|
+
@property
|
|
2130
|
+
@pulumi.getter(name="minRecurrenceCount")
|
|
2131
|
+
def min_recurrence_count(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
2132
|
+
"""
|
|
2133
|
+
The minimum results count that should be found for triggering an alert. Relevant only for rules of the kind SimpleLogAlert.
|
|
2134
|
+
"""
|
|
2135
|
+
return pulumi.get(self, "min_recurrence_count")
|
|
2136
|
+
|
|
2137
|
+
@min_recurrence_count.setter
|
|
2138
|
+
def min_recurrence_count(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
2139
|
+
pulumi.set(self, "min_recurrence_count", value)
|
|
2140
|
+
|
|
2121
2141
|
@property
|
|
2122
2142
|
@pulumi.getter
|
|
2123
2143
|
def operator(self) -> Optional[pulumi.Input[Union[builtins.str, 'ConditionOperator']]]:
|
|
@@ -129,7 +129,7 @@ class GetScheduledQueryRuleResult:
|
|
|
129
129
|
@pulumi.getter(name="autoMitigate")
|
|
130
130
|
def auto_mitigate(self) -> Optional[builtins.bool]:
|
|
131
131
|
"""
|
|
132
|
-
The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of
|
|
132
|
+
The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
133
133
|
"""
|
|
134
134
|
return pulumi.get(self, "auto_mitigate")
|
|
135
135
|
|
|
@@ -281,7 +281,7 @@ class GetScheduledQueryRuleResult:
|
|
|
281
281
|
@pulumi.getter(name="resolveConfiguration")
|
|
282
282
|
def resolve_configuration(self) -> Optional['outputs.RuleResolveConfigurationResponse']:
|
|
283
283
|
"""
|
|
284
|
-
Defines the configuration for resolving fired alerts. Relevant only for rules of
|
|
284
|
+
Defines the configuration for resolving fired alerts. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
285
285
|
"""
|
|
286
286
|
return pulumi.get(self, "resolve_configuration")
|
|
287
287
|
|
|
@@ -393,9 +393,9 @@ def get_scheduled_query_rule(resource_group_name: Optional[builtins.str] = None,
|
|
|
393
393
|
"""
|
|
394
394
|
Retrieve an scheduled query rule definition.
|
|
395
395
|
|
|
396
|
-
Uses Azure REST API version
|
|
396
|
+
Uses Azure REST API version 2025-01-01-preview.
|
|
397
397
|
|
|
398
|
-
Other available API versions: 2023-12-01,
|
|
398
|
+
Other available API versions: 2023-12-01, 2024-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
399
399
|
|
|
400
400
|
|
|
401
401
|
:param builtins.str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
@@ -443,9 +443,9 @@ def get_scheduled_query_rule_output(resource_group_name: Optional[pulumi.Input[b
|
|
|
443
443
|
"""
|
|
444
444
|
Retrieve an scheduled query rule definition.
|
|
445
445
|
|
|
446
|
-
Uses Azure REST API version
|
|
446
|
+
Uses Azure REST API version 2025-01-01-preview.
|
|
447
447
|
|
|
448
|
-
Other available API versions: 2023-12-01,
|
|
448
|
+
Other available API versions: 2023-12-01, 2024-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
449
449
|
|
|
450
450
|
|
|
451
451
|
:param builtins.str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
@@ -1727,6 +1727,8 @@ class ConditionResponse(dict):
|
|
|
1727
1727
|
suggest = "metric_measure_column"
|
|
1728
1728
|
elif key == "metricName":
|
|
1729
1729
|
suggest = "metric_name"
|
|
1730
|
+
elif key == "minRecurrenceCount":
|
|
1731
|
+
suggest = "min_recurrence_count"
|
|
1730
1732
|
elif key == "resourceIdColumn":
|
|
1731
1733
|
suggest = "resource_id_column"
|
|
1732
1734
|
elif key == "timeAggregation":
|
|
@@ -1751,6 +1753,7 @@ class ConditionResponse(dict):
|
|
|
1751
1753
|
ignore_data_before: Optional[builtins.str] = None,
|
|
1752
1754
|
metric_measure_column: Optional[builtins.str] = None,
|
|
1753
1755
|
metric_name: Optional[builtins.str] = None,
|
|
1756
|
+
min_recurrence_count: Optional[builtins.float] = None,
|
|
1754
1757
|
operator: Optional[builtins.str] = None,
|
|
1755
1758
|
query: Optional[builtins.str] = None,
|
|
1756
1759
|
resource_id_column: Optional[builtins.str] = None,
|
|
@@ -1758,13 +1761,14 @@ class ConditionResponse(dict):
|
|
|
1758
1761
|
time_aggregation: Optional[builtins.str] = None):
|
|
1759
1762
|
"""
|
|
1760
1763
|
A condition of the scheduled query rule.
|
|
1761
|
-
:param builtins.str alert_sensitivity: The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant
|
|
1764
|
+
:param builtins.str alert_sensitivity: The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant only for dynamic threshold rules of the kind LogAlert.
|
|
1762
1765
|
:param builtins.str criterion_type: Specifies the type of threshold criteria
|
|
1763
1766
|
:param Sequence['DimensionResponse'] dimensions: List of Dimensions conditions
|
|
1764
1767
|
:param 'ConditionResponseFailingPeriods' failing_periods: The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
|
|
1765
1768
|
:param builtins.str ignore_data_before: Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format). Relevant only for dynamic threshold rules of the kind LogAlert.
|
|
1766
1769
|
:param builtins.str metric_measure_column: The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
|
|
1767
1770
|
:param builtins.str metric_name: The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
|
|
1771
|
+
:param builtins.float min_recurrence_count: The minimum results count that should be found for triggering an alert. Relevant only for rules of the kind SimpleLogAlert.
|
|
1768
1772
|
:param builtins.str operator: The criteria operator. Relevant and required only for rules of the kind LogAlert.
|
|
1769
1773
|
:param builtins.str query: Log query alert
|
|
1770
1774
|
:param builtins.str resource_id_column: The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
|
|
@@ -1785,6 +1789,8 @@ class ConditionResponse(dict):
|
|
|
1785
1789
|
pulumi.set(__self__, "metric_measure_column", metric_measure_column)
|
|
1786
1790
|
if metric_name is not None:
|
|
1787
1791
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
1792
|
+
if min_recurrence_count is not None:
|
|
1793
|
+
pulumi.set(__self__, "min_recurrence_count", min_recurrence_count)
|
|
1788
1794
|
if operator is not None:
|
|
1789
1795
|
pulumi.set(__self__, "operator", operator)
|
|
1790
1796
|
if query is not None:
|
|
@@ -1800,7 +1806,7 @@ class ConditionResponse(dict):
|
|
|
1800
1806
|
@pulumi.getter(name="alertSensitivity")
|
|
1801
1807
|
def alert_sensitivity(self) -> Optional[builtins.str]:
|
|
1802
1808
|
"""
|
|
1803
|
-
The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant
|
|
1809
|
+
The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant only for dynamic threshold rules of the kind LogAlert.
|
|
1804
1810
|
"""
|
|
1805
1811
|
return pulumi.get(self, "alert_sensitivity")
|
|
1806
1812
|
|
|
@@ -1852,6 +1858,14 @@ class ConditionResponse(dict):
|
|
|
1852
1858
|
"""
|
|
1853
1859
|
return pulumi.get(self, "metric_name")
|
|
1854
1860
|
|
|
1861
|
+
@property
|
|
1862
|
+
@pulumi.getter(name="minRecurrenceCount")
|
|
1863
|
+
def min_recurrence_count(self) -> Optional[builtins.float]:
|
|
1864
|
+
"""
|
|
1865
|
+
The minimum results count that should be found for triggering an alert. Relevant only for rules of the kind SimpleLogAlert.
|
|
1866
|
+
"""
|
|
1867
|
+
return pulumi.get(self, "min_recurrence_count")
|
|
1868
|
+
|
|
1855
1869
|
@property
|
|
1856
1870
|
@pulumi.getter
|
|
1857
1871
|
def operator(self) -> Optional[builtins.str]:
|
|
@@ -52,7 +52,7 @@ class ScheduledQueryRuleArgs:
|
|
|
52
52
|
:param pulumi.Input[builtins.str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
53
53
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] scopes: The list of resource id's that this scheduled query rule is scoped to.
|
|
54
54
|
:param pulumi.Input['ActionsArgs'] actions: Actions to invoke when the alert fires.
|
|
55
|
-
:param pulumi.Input[builtins.bool] auto_mitigate: The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of
|
|
55
|
+
:param pulumi.Input[builtins.bool] auto_mitigate: The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
56
56
|
:param pulumi.Input[builtins.bool] check_workspace_alerts_storage_configured: The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
|
|
57
57
|
:param pulumi.Input[builtins.str] description: The description of the scheduled query rule.
|
|
58
58
|
:param pulumi.Input[builtins.str] display_name: The display name of the alert rule
|
|
@@ -62,7 +62,7 @@ class ScheduledQueryRuleArgs:
|
|
|
62
62
|
:param pulumi.Input[builtins.str] location: The geo-location where the resource lives
|
|
63
63
|
:param pulumi.Input[builtins.str] mute_actions_duration: Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert.
|
|
64
64
|
:param pulumi.Input[builtins.str] override_query_time_range: If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
|
|
65
|
-
:param pulumi.Input['RuleResolveConfigurationArgs'] resolve_configuration: Defines the configuration for resolving fired alerts. Relevant only for rules of
|
|
65
|
+
:param pulumi.Input['RuleResolveConfigurationArgs'] resolve_configuration: Defines the configuration for resolving fired alerts. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
66
66
|
:param pulumi.Input[builtins.str] rule_name: The name of the rule.
|
|
67
67
|
:param pulumi.Input[builtins.float] severity: Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.
|
|
68
68
|
:param pulumi.Input[builtins.bool] skip_query_validation: The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert.
|
|
@@ -175,7 +175,7 @@ class ScheduledQueryRuleArgs:
|
|
|
175
175
|
@pulumi.getter(name="autoMitigate")
|
|
176
176
|
def auto_mitigate(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
177
177
|
"""
|
|
178
|
-
The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of
|
|
178
|
+
The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
179
179
|
"""
|
|
180
180
|
return pulumi.get(self, "auto_mitigate")
|
|
181
181
|
|
|
@@ -295,7 +295,7 @@ class ScheduledQueryRuleArgs:
|
|
|
295
295
|
@pulumi.getter(name="resolveConfiguration")
|
|
296
296
|
def resolve_configuration(self) -> Optional[pulumi.Input['RuleResolveConfigurationArgs']]:
|
|
297
297
|
"""
|
|
298
|
-
Defines the configuration for resolving fired alerts. Relevant only for rules of
|
|
298
|
+
Defines the configuration for resolving fired alerts. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
299
299
|
"""
|
|
300
300
|
return pulumi.get(self, "resolve_configuration")
|
|
301
301
|
|
|
@@ -408,14 +408,14 @@ class ScheduledQueryRule(pulumi.CustomResource):
|
|
|
408
408
|
"""
|
|
409
409
|
The scheduled query rule resource.
|
|
410
410
|
|
|
411
|
-
Uses Azure REST API version
|
|
411
|
+
Uses Azure REST API version 2025-01-01-preview.
|
|
412
412
|
|
|
413
|
-
Other available API versions: 2023-12-01,
|
|
413
|
+
Other available API versions: 2023-12-01, 2024-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
414
414
|
|
|
415
415
|
:param str resource_name: The name of the resource.
|
|
416
416
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
417
417
|
:param pulumi.Input[Union['ActionsArgs', 'ActionsArgsDict']] actions: Actions to invoke when the alert fires.
|
|
418
|
-
:param pulumi.Input[builtins.bool] auto_mitigate: The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of
|
|
418
|
+
:param pulumi.Input[builtins.bool] auto_mitigate: The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
419
419
|
:param pulumi.Input[builtins.bool] check_workspace_alerts_storage_configured: The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
|
|
420
420
|
:param pulumi.Input[Union['ScheduledQueryRuleCriteriaArgs', 'ScheduledQueryRuleCriteriaArgsDict']] criteria: The rule criteria that defines the conditions of the scheduled query rule.
|
|
421
421
|
:param pulumi.Input[builtins.str] description: The description of the scheduled query rule.
|
|
@@ -427,7 +427,7 @@ class ScheduledQueryRule(pulumi.CustomResource):
|
|
|
427
427
|
:param pulumi.Input[builtins.str] location: The geo-location where the resource lives
|
|
428
428
|
:param pulumi.Input[builtins.str] mute_actions_duration: Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert.
|
|
429
429
|
:param pulumi.Input[builtins.str] override_query_time_range: If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
|
|
430
|
-
:param pulumi.Input[Union['RuleResolveConfigurationArgs', 'RuleResolveConfigurationArgsDict']] resolve_configuration: Defines the configuration for resolving fired alerts. Relevant only for rules of
|
|
430
|
+
:param pulumi.Input[Union['RuleResolveConfigurationArgs', 'RuleResolveConfigurationArgsDict']] resolve_configuration: Defines the configuration for resolving fired alerts. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
431
431
|
:param pulumi.Input[builtins.str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
432
432
|
:param pulumi.Input[builtins.str] rule_name: The name of the rule.
|
|
433
433
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] scopes: The list of resource id's that this scheduled query rule is scoped to.
|
|
@@ -446,9 +446,9 @@ class ScheduledQueryRule(pulumi.CustomResource):
|
|
|
446
446
|
"""
|
|
447
447
|
The scheduled query rule resource.
|
|
448
448
|
|
|
449
|
-
Uses Azure REST API version
|
|
449
|
+
Uses Azure REST API version 2025-01-01-preview.
|
|
450
450
|
|
|
451
|
-
Other available API versions: 2023-12-01,
|
|
451
|
+
Other available API versions: 2023-12-01, 2024-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
452
452
|
|
|
453
453
|
:param str resource_name: The name of the resource.
|
|
454
454
|
:param ScheduledQueryRuleArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -600,7 +600,7 @@ class ScheduledQueryRule(pulumi.CustomResource):
|
|
|
600
600
|
@pulumi.getter(name="autoMitigate")
|
|
601
601
|
def auto_mitigate(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
602
602
|
"""
|
|
603
|
-
The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of
|
|
603
|
+
The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
604
604
|
"""
|
|
605
605
|
return pulumi.get(self, "auto_mitigate")
|
|
606
606
|
|
|
@@ -744,7 +744,7 @@ class ScheduledQueryRule(pulumi.CustomResource):
|
|
|
744
744
|
@pulumi.getter(name="resolveConfiguration")
|
|
745
745
|
def resolve_configuration(self) -> pulumi.Output[Optional['outputs.RuleResolveConfigurationResponse']]:
|
|
746
746
|
"""
|
|
747
|
-
Defines the configuration for resolving fired alerts. Relevant only for rules of
|
|
747
|
+
Defines the configuration for resolving fired alerts. Relevant only for rules of kinds LogAlert and SimpleLogAlert.
|
|
748
748
|
"""
|
|
749
749
|
return pulumi.get(self, "resolve_configuration")
|
|
750
750
|
|
pulumi_azure_native/provider.py
CHANGED
|
@@ -25,6 +25,7 @@ class ProviderArgs:
|
|
|
25
25
|
client_certificate_path: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
26
|
client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
27
27
|
client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
disable_instance_discovery: Optional[pulumi.Input[builtins.bool]] = None,
|
|
28
29
|
disable_pulumi_partner_id: Optional[pulumi.Input[builtins.bool]] = None,
|
|
29
30
|
environment: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
31
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -36,6 +37,7 @@ class ProviderArgs:
|
|
|
36
37
|
partner_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
38
|
subscription_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
39
|
tenant_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
40
|
+
use_default_azure_credential: Optional[pulumi.Input[builtins.bool]] = None,
|
|
39
41
|
use_msi: Optional[pulumi.Input[builtins.bool]] = None,
|
|
40
42
|
use_oidc: Optional[pulumi.Input[builtins.bool]] = None):
|
|
41
43
|
"""
|
|
@@ -45,8 +47,9 @@ class ProviderArgs:
|
|
|
45
47
|
:param pulumi.Input[builtins.str] client_certificate_path: The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
|
|
46
48
|
:param pulumi.Input[builtins.str] client_id: The Client ID which should be used.
|
|
47
49
|
:param pulumi.Input[builtins.str] client_secret: The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
|
|
50
|
+
:param pulumi.Input[builtins.bool] disable_instance_discovery: Determines whether or not instance discovery is performed when attempting to authenticate. Setting this to true will completely disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack.
|
|
48
51
|
:param pulumi.Input[builtins.bool] disable_pulumi_partner_id: This will disable the Pulumi Partner ID which is used if a custom `partnerId` isn't specified.
|
|
49
|
-
:param pulumi.Input[builtins.str] environment: The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
|
|
52
|
+
:param pulumi.Input[builtins.str] environment: The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. Not used when metadataHost is specified or when ARM_METADATA_HOSTNAME is set.
|
|
50
53
|
:param pulumi.Input[builtins.str] location: The location to use. ResourceGroups will consult this property for a default location, if one was not supplied explicitly when defining the resource.
|
|
51
54
|
:param pulumi.Input[builtins.str] metadata_host: The Hostname of the Azure Metadata Service.
|
|
52
55
|
:param pulumi.Input[builtins.str] msi_endpoint: The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
|
|
@@ -56,6 +59,7 @@ class ProviderArgs:
|
|
|
56
59
|
:param pulumi.Input[builtins.str] partner_id: A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
|
|
57
60
|
:param pulumi.Input[builtins.str] subscription_id: The Subscription ID which should be used.
|
|
58
61
|
:param pulumi.Input[builtins.str] tenant_id: The Tenant ID which should be used.
|
|
62
|
+
:param pulumi.Input[builtins.bool] use_default_azure_credential: Use the default credential chain of the Azure SDK (see https://learn.microsoft.com/en-us/azure/developer/go/sdk/authentication/credential-chains#defaultazurecredential-overview).
|
|
59
63
|
:param pulumi.Input[builtins.bool] use_msi: Allow Managed Service Identity to be used for Authentication.
|
|
60
64
|
:param pulumi.Input[builtins.bool] use_oidc: Allow OpenID Connect (OIDC) to be used for Authentication.
|
|
61
65
|
"""
|
|
@@ -69,6 +73,8 @@ class ProviderArgs:
|
|
|
69
73
|
pulumi.set(__self__, "client_id", client_id)
|
|
70
74
|
if client_secret is not None:
|
|
71
75
|
pulumi.set(__self__, "client_secret", client_secret)
|
|
76
|
+
if disable_instance_discovery is not None:
|
|
77
|
+
pulumi.set(__self__, "disable_instance_discovery", disable_instance_discovery)
|
|
72
78
|
if disable_pulumi_partner_id is not None:
|
|
73
79
|
pulumi.set(__self__, "disable_pulumi_partner_id", disable_pulumi_partner_id)
|
|
74
80
|
if environment is None:
|
|
@@ -93,6 +99,8 @@ class ProviderArgs:
|
|
|
93
99
|
pulumi.set(__self__, "subscription_id", subscription_id)
|
|
94
100
|
if tenant_id is not None:
|
|
95
101
|
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
102
|
+
if use_default_azure_credential is not None:
|
|
103
|
+
pulumi.set(__self__, "use_default_azure_credential", use_default_azure_credential)
|
|
96
104
|
if use_msi is not None:
|
|
97
105
|
pulumi.set(__self__, "use_msi", use_msi)
|
|
98
106
|
if use_oidc is not None:
|
|
@@ -158,6 +166,18 @@ class ProviderArgs:
|
|
|
158
166
|
def client_secret(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
159
167
|
pulumi.set(self, "client_secret", value)
|
|
160
168
|
|
|
169
|
+
@property
|
|
170
|
+
@pulumi.getter(name="disableInstanceDiscovery")
|
|
171
|
+
def disable_instance_discovery(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
172
|
+
"""
|
|
173
|
+
Determines whether or not instance discovery is performed when attempting to authenticate. Setting this to true will completely disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack.
|
|
174
|
+
"""
|
|
175
|
+
return pulumi.get(self, "disable_instance_discovery")
|
|
176
|
+
|
|
177
|
+
@disable_instance_discovery.setter
|
|
178
|
+
def disable_instance_discovery(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
179
|
+
pulumi.set(self, "disable_instance_discovery", value)
|
|
180
|
+
|
|
161
181
|
@property
|
|
162
182
|
@pulumi.getter(name="disablePulumiPartnerId")
|
|
163
183
|
def disable_pulumi_partner_id(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -174,7 +194,7 @@ class ProviderArgs:
|
|
|
174
194
|
@pulumi.getter
|
|
175
195
|
def environment(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
176
196
|
"""
|
|
177
|
-
The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
|
|
197
|
+
The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. Not used when metadataHost is specified or when ARM_METADATA_HOSTNAME is set.
|
|
178
198
|
"""
|
|
179
199
|
return pulumi.get(self, "environment")
|
|
180
200
|
|
|
@@ -290,6 +310,18 @@ class ProviderArgs:
|
|
|
290
310
|
def tenant_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
291
311
|
pulumi.set(self, "tenant_id", value)
|
|
292
312
|
|
|
313
|
+
@property
|
|
314
|
+
@pulumi.getter(name="useDefaultAzureCredential")
|
|
315
|
+
def use_default_azure_credential(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
316
|
+
"""
|
|
317
|
+
Use the default credential chain of the Azure SDK (see https://learn.microsoft.com/en-us/azure/developer/go/sdk/authentication/credential-chains#defaultazurecredential-overview).
|
|
318
|
+
"""
|
|
319
|
+
return pulumi.get(self, "use_default_azure_credential")
|
|
320
|
+
|
|
321
|
+
@use_default_azure_credential.setter
|
|
322
|
+
def use_default_azure_credential(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
323
|
+
pulumi.set(self, "use_default_azure_credential", value)
|
|
324
|
+
|
|
293
325
|
@property
|
|
294
326
|
@pulumi.getter(name="useMsi")
|
|
295
327
|
def use_msi(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -326,6 +358,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
326
358
|
client_certificate_path: Optional[pulumi.Input[builtins.str]] = None,
|
|
327
359
|
client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
328
360
|
client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
361
|
+
disable_instance_discovery: Optional[pulumi.Input[builtins.bool]] = None,
|
|
329
362
|
disable_pulumi_partner_id: Optional[pulumi.Input[builtins.bool]] = None,
|
|
330
363
|
environment: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
364
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -337,6 +370,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
337
370
|
partner_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
338
371
|
subscription_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
339
372
|
tenant_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
373
|
+
use_default_azure_credential: Optional[pulumi.Input[builtins.bool]] = None,
|
|
340
374
|
use_msi: Optional[pulumi.Input[builtins.bool]] = None,
|
|
341
375
|
use_oidc: Optional[pulumi.Input[builtins.bool]] = None,
|
|
342
376
|
__props__=None):
|
|
@@ -350,8 +384,9 @@ class Provider(pulumi.ProviderResource):
|
|
|
350
384
|
:param pulumi.Input[builtins.str] client_certificate_path: The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
|
|
351
385
|
:param pulumi.Input[builtins.str] client_id: The Client ID which should be used.
|
|
352
386
|
:param pulumi.Input[builtins.str] client_secret: The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
|
|
387
|
+
:param pulumi.Input[builtins.bool] disable_instance_discovery: Determines whether or not instance discovery is performed when attempting to authenticate. Setting this to true will completely disable both instance discovery and authority validation. This functionality is intended for use in scenarios where the metadata endpoint cannot be reached, such as in private clouds or Azure Stack.
|
|
353
388
|
:param pulumi.Input[builtins.bool] disable_pulumi_partner_id: This will disable the Pulumi Partner ID which is used if a custom `partnerId` isn't specified.
|
|
354
|
-
:param pulumi.Input[builtins.str] environment: The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
|
|
389
|
+
:param pulumi.Input[builtins.str] environment: The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public. Not used when metadataHost is specified or when ARM_METADATA_HOSTNAME is set.
|
|
355
390
|
:param pulumi.Input[builtins.str] location: The location to use. ResourceGroups will consult this property for a default location, if one was not supplied explicitly when defining the resource.
|
|
356
391
|
:param pulumi.Input[builtins.str] metadata_host: The Hostname of the Azure Metadata Service.
|
|
357
392
|
:param pulumi.Input[builtins.str] msi_endpoint: The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
|
|
@@ -361,6 +396,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
361
396
|
:param pulumi.Input[builtins.str] partner_id: A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
|
|
362
397
|
:param pulumi.Input[builtins.str] subscription_id: The Subscription ID which should be used.
|
|
363
398
|
:param pulumi.Input[builtins.str] tenant_id: The Tenant ID which should be used.
|
|
399
|
+
:param pulumi.Input[builtins.bool] use_default_azure_credential: Use the default credential chain of the Azure SDK (see https://learn.microsoft.com/en-us/azure/developer/go/sdk/authentication/credential-chains#defaultazurecredential-overview).
|
|
364
400
|
:param pulumi.Input[builtins.bool] use_msi: Allow Managed Service Identity to be used for Authentication.
|
|
365
401
|
:param pulumi.Input[builtins.bool] use_oidc: Allow OpenID Connect (OIDC) to be used for Authentication.
|
|
366
402
|
"""
|
|
@@ -393,6 +429,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
393
429
|
client_certificate_path: Optional[pulumi.Input[builtins.str]] = None,
|
|
394
430
|
client_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
395
431
|
client_secret: Optional[pulumi.Input[builtins.str]] = None,
|
|
432
|
+
disable_instance_discovery: Optional[pulumi.Input[builtins.bool]] = None,
|
|
396
433
|
disable_pulumi_partner_id: Optional[pulumi.Input[builtins.bool]] = None,
|
|
397
434
|
environment: Optional[pulumi.Input[builtins.str]] = None,
|
|
398
435
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -404,6 +441,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
404
441
|
partner_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
405
442
|
subscription_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
406
443
|
tenant_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
444
|
+
use_default_azure_credential: Optional[pulumi.Input[builtins.bool]] = None,
|
|
407
445
|
use_msi: Optional[pulumi.Input[builtins.bool]] = None,
|
|
408
446
|
use_oidc: Optional[pulumi.Input[builtins.bool]] = None,
|
|
409
447
|
__props__=None):
|
|
@@ -420,6 +458,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
420
458
|
__props__.__dict__["client_certificate_path"] = client_certificate_path
|
|
421
459
|
__props__.__dict__["client_id"] = None if client_id is None else pulumi.Output.secret(client_id)
|
|
422
460
|
__props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret)
|
|
461
|
+
__props__.__dict__["disable_instance_discovery"] = pulumi.Output.from_input(disable_instance_discovery).apply(pulumi.runtime.to_json) if disable_instance_discovery is not None else None
|
|
423
462
|
__props__.__dict__["disable_pulumi_partner_id"] = pulumi.Output.from_input(disable_pulumi_partner_id).apply(pulumi.runtime.to_json) if disable_pulumi_partner_id is not None else None
|
|
424
463
|
if environment is None:
|
|
425
464
|
environment = 'public'
|
|
@@ -433,6 +472,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
433
472
|
__props__.__dict__["partner_id"] = partner_id
|
|
434
473
|
__props__.__dict__["subscription_id"] = subscription_id
|
|
435
474
|
__props__.__dict__["tenant_id"] = tenant_id
|
|
475
|
+
__props__.__dict__["use_default_azure_credential"] = pulumi.Output.from_input(use_default_azure_credential).apply(pulumi.runtime.to_json) if use_default_azure_credential is not None else None
|
|
436
476
|
__props__.__dict__["use_msi"] = pulumi.Output.from_input(use_msi).apply(pulumi.runtime.to_json) if use_msi is not None else None
|
|
437
477
|
__props__.__dict__["use_oidc"] = pulumi.Output.from_input(use_oidc).apply(pulumi.runtime.to_json) if use_oidc is not None else None
|
|
438
478
|
super(Provider, __self__).__init__(
|