pulumi-azure-native 3.8.0a1755616596__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/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.0a1755616596.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/METADATA +1 -1
- {pulumi_azure_native-3.8.0a1755616596.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/RECORD +31 -31
- {pulumi_azure_native-3.8.0a1755616596.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-3.8.0a1755616596.dist-info → pulumi_azure_native-3.8.0a1756942349.dist-info}/top_level.txt +0 -0
|
@@ -25,44 +25,58 @@ class ServiceArgs:
|
|
|
25
25
|
def __init__(__self__, *,
|
|
26
26
|
resource_group_name: pulumi.Input[builtins.str],
|
|
27
27
|
auth_options: Optional[pulumi.Input['DataPlaneAuthOptionsArgs']] = None,
|
|
28
|
+
compute_type: Optional[pulumi.Input[Union[builtins.str, 'ComputeType']]] = None,
|
|
29
|
+
data_exfiltration_protections: Optional[pulumi.Input[Sequence[pulumi.Input[Union[builtins.str, 'SearchDataExfiltrationProtection']]]]] = None,
|
|
28
30
|
disable_local_auth: Optional[pulumi.Input[builtins.bool]] = None,
|
|
29
31
|
encryption_with_cmk: Optional[pulumi.Input['EncryptionWithCmkArgs']] = None,
|
|
32
|
+
endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
33
|
hosting_mode: Optional[pulumi.Input['HostingMode']] = None,
|
|
31
34
|
identity: Optional[pulumi.Input['IdentityArgs']] = None,
|
|
32
35
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
36
|
network_rule_set: Optional[pulumi.Input['NetworkRuleSetArgs']] = None,
|
|
34
37
|
partition_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
35
|
-
public_network_access: Optional[pulumi.Input['PublicNetworkAccess']] = None,
|
|
38
|
+
public_network_access: Optional[pulumi.Input[Union[builtins.str, 'PublicNetworkAccess']]] = None,
|
|
36
39
|
replica_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
37
40
|
search_service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
41
|
semantic_search: Optional[pulumi.Input[Union[builtins.str, 'SearchSemanticSearch']]] = None,
|
|
39
42
|
sku: Optional[pulumi.Input['SkuArgs']] = None,
|
|
40
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None
|
|
43
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
44
|
+
upgrade_available: Optional[pulumi.Input[Union[builtins.str, 'UpgradeAvailable']]] = None):
|
|
41
45
|
"""
|
|
42
46
|
The set of arguments for constructing a Service resource.
|
|
43
47
|
:param pulumi.Input[builtins.str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
|
|
44
48
|
:param pulumi.Input['DataPlaneAuthOptionsArgs'] auth_options: Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true.
|
|
49
|
+
:param pulumi.Input[Union[builtins.str, 'ComputeType']] compute_type: Configure this property to support the search service using either the Default Compute or Azure Confidential Compute.
|
|
50
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union[builtins.str, 'SearchDataExfiltrationProtection']]]] data_exfiltration_protections: A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future.
|
|
45
51
|
:param pulumi.Input[builtins.bool] disable_local_auth: When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined.
|
|
46
52
|
:param pulumi.Input['EncryptionWithCmkArgs'] encryption_with_cmk: Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service.
|
|
53
|
+
:param pulumi.Input[builtins.str] endpoint: The endpoint of the Azure AI Search service.
|
|
47
54
|
:param pulumi.Input['HostingMode'] hosting_mode: Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'.
|
|
48
55
|
:param pulumi.Input['IdentityArgs'] identity: The identity of the resource.
|
|
49
56
|
:param pulumi.Input[builtins.str] location: The geo-location where the resource lives
|
|
50
|
-
:param pulumi.Input['NetworkRuleSetArgs'] network_rule_set: Network
|
|
57
|
+
:param pulumi.Input['NetworkRuleSetArgs'] network_rule_set: Network specific rules that determine how the Azure AI Search service may be reached.
|
|
51
58
|
:param pulumi.Input[builtins.int] partition_count: The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3.
|
|
52
|
-
:param pulumi.Input['PublicNetworkAccess'] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
|
|
59
|
+
:param pulumi.Input[Union[builtins.str, 'PublicNetworkAccess']] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
|
|
53
60
|
:param pulumi.Input[builtins.int] replica_count: The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU.
|
|
54
|
-
:param pulumi.Input[builtins.str] search_service_name: The name of the
|
|
55
|
-
:param pulumi.Input[Union[builtins.str, 'SearchSemanticSearch']] semantic_search: Sets options that control the availability of semantic search. This configuration is only possible for certain
|
|
56
|
-
:param pulumi.Input['SkuArgs'] sku: The SKU of the search service, which determines
|
|
61
|
+
:param pulumi.Input[builtins.str] search_service_name: The name of the Azure AI Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
|
|
62
|
+
:param pulumi.Input[Union[builtins.str, 'SearchSemanticSearch']] semantic_search: Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations.
|
|
63
|
+
:param pulumi.Input['SkuArgs'] sku: The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service.
|
|
57
64
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Resource tags.
|
|
65
|
+
:param pulumi.Input[Union[builtins.str, 'UpgradeAvailable']] upgrade_available: Indicates if the search service has an upgrade available.
|
|
58
66
|
"""
|
|
59
67
|
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
60
68
|
if auth_options is not None:
|
|
61
69
|
pulumi.set(__self__, "auth_options", auth_options)
|
|
70
|
+
if compute_type is not None:
|
|
71
|
+
pulumi.set(__self__, "compute_type", compute_type)
|
|
72
|
+
if data_exfiltration_protections is not None:
|
|
73
|
+
pulumi.set(__self__, "data_exfiltration_protections", data_exfiltration_protections)
|
|
62
74
|
if disable_local_auth is not None:
|
|
63
75
|
pulumi.set(__self__, "disable_local_auth", disable_local_auth)
|
|
64
76
|
if encryption_with_cmk is not None:
|
|
65
77
|
pulumi.set(__self__, "encryption_with_cmk", encryption_with_cmk)
|
|
78
|
+
if endpoint is not None:
|
|
79
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
|
66
80
|
if hosting_mode is None:
|
|
67
81
|
hosting_mode = 'default'
|
|
68
82
|
if hosting_mode is not None:
|
|
@@ -93,6 +107,8 @@ class ServiceArgs:
|
|
|
93
107
|
pulumi.set(__self__, "sku", sku)
|
|
94
108
|
if tags is not None:
|
|
95
109
|
pulumi.set(__self__, "tags", tags)
|
|
110
|
+
if upgrade_available is not None:
|
|
111
|
+
pulumi.set(__self__, "upgrade_available", upgrade_available)
|
|
96
112
|
|
|
97
113
|
@property
|
|
98
114
|
@pulumi.getter(name="resourceGroupName")
|
|
@@ -118,6 +134,30 @@ class ServiceArgs:
|
|
|
118
134
|
def auth_options(self, value: Optional[pulumi.Input['DataPlaneAuthOptionsArgs']]):
|
|
119
135
|
pulumi.set(self, "auth_options", value)
|
|
120
136
|
|
|
137
|
+
@property
|
|
138
|
+
@pulumi.getter(name="computeType")
|
|
139
|
+
def compute_type(self) -> Optional[pulumi.Input[Union[builtins.str, 'ComputeType']]]:
|
|
140
|
+
"""
|
|
141
|
+
Configure this property to support the search service using either the Default Compute or Azure Confidential Compute.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "compute_type")
|
|
144
|
+
|
|
145
|
+
@compute_type.setter
|
|
146
|
+
def compute_type(self, value: Optional[pulumi.Input[Union[builtins.str, 'ComputeType']]]):
|
|
147
|
+
pulumi.set(self, "compute_type", value)
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter(name="dataExfiltrationProtections")
|
|
151
|
+
def data_exfiltration_protections(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[builtins.str, 'SearchDataExfiltrationProtection']]]]]:
|
|
152
|
+
"""
|
|
153
|
+
A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future.
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "data_exfiltration_protections")
|
|
156
|
+
|
|
157
|
+
@data_exfiltration_protections.setter
|
|
158
|
+
def data_exfiltration_protections(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[builtins.str, 'SearchDataExfiltrationProtection']]]]]):
|
|
159
|
+
pulumi.set(self, "data_exfiltration_protections", value)
|
|
160
|
+
|
|
121
161
|
@property
|
|
122
162
|
@pulumi.getter(name="disableLocalAuth")
|
|
123
163
|
def disable_local_auth(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -142,6 +182,18 @@ class ServiceArgs:
|
|
|
142
182
|
def encryption_with_cmk(self, value: Optional[pulumi.Input['EncryptionWithCmkArgs']]):
|
|
143
183
|
pulumi.set(self, "encryption_with_cmk", value)
|
|
144
184
|
|
|
185
|
+
@property
|
|
186
|
+
@pulumi.getter
|
|
187
|
+
def endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
188
|
+
"""
|
|
189
|
+
The endpoint of the Azure AI Search service.
|
|
190
|
+
"""
|
|
191
|
+
return pulumi.get(self, "endpoint")
|
|
192
|
+
|
|
193
|
+
@endpoint.setter
|
|
194
|
+
def endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
195
|
+
pulumi.set(self, "endpoint", value)
|
|
196
|
+
|
|
145
197
|
@property
|
|
146
198
|
@pulumi.getter(name="hostingMode")
|
|
147
199
|
def hosting_mode(self) -> Optional[pulumi.Input['HostingMode']]:
|
|
@@ -182,7 +234,7 @@ class ServiceArgs:
|
|
|
182
234
|
@pulumi.getter(name="networkRuleSet")
|
|
183
235
|
def network_rule_set(self) -> Optional[pulumi.Input['NetworkRuleSetArgs']]:
|
|
184
236
|
"""
|
|
185
|
-
Network
|
|
237
|
+
Network specific rules that determine how the Azure AI Search service may be reached.
|
|
186
238
|
"""
|
|
187
239
|
return pulumi.get(self, "network_rule_set")
|
|
188
240
|
|
|
@@ -204,14 +256,14 @@ class ServiceArgs:
|
|
|
204
256
|
|
|
205
257
|
@property
|
|
206
258
|
@pulumi.getter(name="publicNetworkAccess")
|
|
207
|
-
def public_network_access(self) -> Optional[pulumi.Input['PublicNetworkAccess']]:
|
|
259
|
+
def public_network_access(self) -> Optional[pulumi.Input[Union[builtins.str, 'PublicNetworkAccess']]]:
|
|
208
260
|
"""
|
|
209
261
|
This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
|
|
210
262
|
"""
|
|
211
263
|
return pulumi.get(self, "public_network_access")
|
|
212
264
|
|
|
213
265
|
@public_network_access.setter
|
|
214
|
-
def public_network_access(self, value: Optional[pulumi.Input['PublicNetworkAccess']]):
|
|
266
|
+
def public_network_access(self, value: Optional[pulumi.Input[Union[builtins.str, 'PublicNetworkAccess']]]):
|
|
215
267
|
pulumi.set(self, "public_network_access", value)
|
|
216
268
|
|
|
217
269
|
@property
|
|
@@ -230,7 +282,7 @@ class ServiceArgs:
|
|
|
230
282
|
@pulumi.getter(name="searchServiceName")
|
|
231
283
|
def search_service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
232
284
|
"""
|
|
233
|
-
The name of the
|
|
285
|
+
The name of the Azure AI Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
|
|
234
286
|
"""
|
|
235
287
|
return pulumi.get(self, "search_service_name")
|
|
236
288
|
|
|
@@ -242,7 +294,7 @@ class ServiceArgs:
|
|
|
242
294
|
@pulumi.getter(name="semanticSearch")
|
|
243
295
|
def semantic_search(self) -> Optional[pulumi.Input[Union[builtins.str, 'SearchSemanticSearch']]]:
|
|
244
296
|
"""
|
|
245
|
-
Sets options that control the availability of semantic search. This configuration is only possible for certain
|
|
297
|
+
Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations.
|
|
246
298
|
"""
|
|
247
299
|
return pulumi.get(self, "semantic_search")
|
|
248
300
|
|
|
@@ -254,7 +306,7 @@ class ServiceArgs:
|
|
|
254
306
|
@pulumi.getter
|
|
255
307
|
def sku(self) -> Optional[pulumi.Input['SkuArgs']]:
|
|
256
308
|
"""
|
|
257
|
-
The SKU of the search service, which determines
|
|
309
|
+
The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service.
|
|
258
310
|
"""
|
|
259
311
|
return pulumi.get(self, "sku")
|
|
260
312
|
|
|
@@ -274,6 +326,18 @@ class ServiceArgs:
|
|
|
274
326
|
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
275
327
|
pulumi.set(self, "tags", value)
|
|
276
328
|
|
|
329
|
+
@property
|
|
330
|
+
@pulumi.getter(name="upgradeAvailable")
|
|
331
|
+
def upgrade_available(self) -> Optional[pulumi.Input[Union[builtins.str, 'UpgradeAvailable']]]:
|
|
332
|
+
"""
|
|
333
|
+
Indicates if the search service has an upgrade available.
|
|
334
|
+
"""
|
|
335
|
+
return pulumi.get(self, "upgrade_available")
|
|
336
|
+
|
|
337
|
+
@upgrade_available.setter
|
|
338
|
+
def upgrade_available(self, value: Optional[pulumi.Input[Union[builtins.str, 'UpgradeAvailable']]]):
|
|
339
|
+
pulumi.set(self, "upgrade_available", value)
|
|
340
|
+
|
|
277
341
|
|
|
278
342
|
@pulumi.type_token("azure-native:search:Service")
|
|
279
343
|
class Service(pulumi.CustomResource):
|
|
@@ -282,45 +346,53 @@ class Service(pulumi.CustomResource):
|
|
|
282
346
|
resource_name: str,
|
|
283
347
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
284
348
|
auth_options: Optional[pulumi.Input[Union['DataPlaneAuthOptionsArgs', 'DataPlaneAuthOptionsArgsDict']]] = None,
|
|
349
|
+
compute_type: Optional[pulumi.Input[Union[builtins.str, 'ComputeType']]] = None,
|
|
350
|
+
data_exfiltration_protections: Optional[pulumi.Input[Sequence[pulumi.Input[Union[builtins.str, 'SearchDataExfiltrationProtection']]]]] = None,
|
|
285
351
|
disable_local_auth: Optional[pulumi.Input[builtins.bool]] = None,
|
|
286
352
|
encryption_with_cmk: Optional[pulumi.Input[Union['EncryptionWithCmkArgs', 'EncryptionWithCmkArgsDict']]] = None,
|
|
353
|
+
endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
287
354
|
hosting_mode: Optional[pulumi.Input['HostingMode']] = None,
|
|
288
355
|
identity: Optional[pulumi.Input[Union['IdentityArgs', 'IdentityArgsDict']]] = None,
|
|
289
356
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
|
290
357
|
network_rule_set: Optional[pulumi.Input[Union['NetworkRuleSetArgs', 'NetworkRuleSetArgsDict']]] = None,
|
|
291
358
|
partition_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
292
|
-
public_network_access: Optional[pulumi.Input['PublicNetworkAccess']] = None,
|
|
359
|
+
public_network_access: Optional[pulumi.Input[Union[builtins.str, 'PublicNetworkAccess']]] = None,
|
|
293
360
|
replica_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
294
361
|
resource_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
295
362
|
search_service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
296
363
|
semantic_search: Optional[pulumi.Input[Union[builtins.str, 'SearchSemanticSearch']]] = None,
|
|
297
364
|
sku: Optional[pulumi.Input[Union['SkuArgs', 'SkuArgsDict']]] = None,
|
|
298
365
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
366
|
+
upgrade_available: Optional[pulumi.Input[Union[builtins.str, 'UpgradeAvailable']]] = None,
|
|
299
367
|
__props__=None):
|
|
300
368
|
"""
|
|
301
|
-
Describes
|
|
369
|
+
Describes an Azure AI Search service and its current state.
|
|
302
370
|
|
|
303
|
-
Uses Azure REST API version
|
|
371
|
+
Uses Azure REST API version 2025-05-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01.
|
|
304
372
|
|
|
305
|
-
Other available API versions: 2022-09-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview
|
|
373
|
+
Other available API versions: 2022-09-01, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native search [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
306
374
|
|
|
307
375
|
:param str resource_name: The name of the resource.
|
|
308
376
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
309
377
|
:param pulumi.Input[Union['DataPlaneAuthOptionsArgs', 'DataPlaneAuthOptionsArgsDict']] auth_options: Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true.
|
|
378
|
+
:param pulumi.Input[Union[builtins.str, 'ComputeType']] compute_type: Configure this property to support the search service using either the Default Compute or Azure Confidential Compute.
|
|
379
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union[builtins.str, 'SearchDataExfiltrationProtection']]]] data_exfiltration_protections: A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future.
|
|
310
380
|
:param pulumi.Input[builtins.bool] disable_local_auth: When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined.
|
|
311
381
|
:param pulumi.Input[Union['EncryptionWithCmkArgs', 'EncryptionWithCmkArgsDict']] encryption_with_cmk: Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service.
|
|
382
|
+
:param pulumi.Input[builtins.str] endpoint: The endpoint of the Azure AI Search service.
|
|
312
383
|
:param pulumi.Input['HostingMode'] hosting_mode: Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'.
|
|
313
384
|
:param pulumi.Input[Union['IdentityArgs', 'IdentityArgsDict']] identity: The identity of the resource.
|
|
314
385
|
:param pulumi.Input[builtins.str] location: The geo-location where the resource lives
|
|
315
|
-
:param pulumi.Input[Union['NetworkRuleSetArgs', 'NetworkRuleSetArgsDict']] network_rule_set: Network
|
|
386
|
+
:param pulumi.Input[Union['NetworkRuleSetArgs', 'NetworkRuleSetArgsDict']] network_rule_set: Network specific rules that determine how the Azure AI Search service may be reached.
|
|
316
387
|
:param pulumi.Input[builtins.int] partition_count: The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3.
|
|
317
|
-
:param pulumi.Input['PublicNetworkAccess'] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
|
|
388
|
+
:param pulumi.Input[Union[builtins.str, 'PublicNetworkAccess']] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.
|
|
318
389
|
:param pulumi.Input[builtins.int] replica_count: The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU.
|
|
319
390
|
:param pulumi.Input[builtins.str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
|
|
320
|
-
:param pulumi.Input[builtins.str] search_service_name: The name of the
|
|
321
|
-
:param pulumi.Input[Union[builtins.str, 'SearchSemanticSearch']] semantic_search: Sets options that control the availability of semantic search. This configuration is only possible for certain
|
|
322
|
-
:param pulumi.Input[Union['SkuArgs', 'SkuArgsDict']] sku: The SKU of the search service, which determines
|
|
391
|
+
:param pulumi.Input[builtins.str] search_service_name: The name of the Azure AI Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created.
|
|
392
|
+
:param pulumi.Input[Union[builtins.str, 'SearchSemanticSearch']] semantic_search: Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations.
|
|
393
|
+
:param pulumi.Input[Union['SkuArgs', 'SkuArgsDict']] sku: The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service.
|
|
323
394
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Resource tags.
|
|
395
|
+
:param pulumi.Input[Union[builtins.str, 'UpgradeAvailable']] upgrade_available: Indicates if the search service has an upgrade available.
|
|
324
396
|
"""
|
|
325
397
|
...
|
|
326
398
|
@overload
|
|
@@ -329,11 +401,11 @@ class Service(pulumi.CustomResource):
|
|
|
329
401
|
args: ServiceArgs,
|
|
330
402
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
331
403
|
"""
|
|
332
|
-
Describes
|
|
404
|
+
Describes an Azure AI Search service and its current state.
|
|
333
405
|
|
|
334
|
-
Uses Azure REST API version
|
|
406
|
+
Uses Azure REST API version 2025-05-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01.
|
|
335
407
|
|
|
336
|
-
Other available API versions: 2022-09-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview
|
|
408
|
+
Other available API versions: 2022-09-01, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native search [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
|
|
337
409
|
|
|
338
410
|
:param str resource_name: The name of the resource.
|
|
339
411
|
:param ServiceArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -351,20 +423,24 @@ class Service(pulumi.CustomResource):
|
|
|
351
423
|
resource_name: str,
|
|
352
424
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
353
425
|
auth_options: Optional[pulumi.Input[Union['DataPlaneAuthOptionsArgs', 'DataPlaneAuthOptionsArgsDict']]] = None,
|
|
426
|
+
compute_type: Optional[pulumi.Input[Union[builtins.str, 'ComputeType']]] = None,
|
|
427
|
+
data_exfiltration_protections: Optional[pulumi.Input[Sequence[pulumi.Input[Union[builtins.str, 'SearchDataExfiltrationProtection']]]]] = None,
|
|
354
428
|
disable_local_auth: Optional[pulumi.Input[builtins.bool]] = None,
|
|
355
429
|
encryption_with_cmk: Optional[pulumi.Input[Union['EncryptionWithCmkArgs', 'EncryptionWithCmkArgsDict']]] = None,
|
|
430
|
+
endpoint: Optional[pulumi.Input[builtins.str]] = None,
|
|
356
431
|
hosting_mode: Optional[pulumi.Input['HostingMode']] = None,
|
|
357
432
|
identity: Optional[pulumi.Input[Union['IdentityArgs', 'IdentityArgsDict']]] = None,
|
|
358
433
|
location: Optional[pulumi.Input[builtins.str]] = None,
|
|
359
434
|
network_rule_set: Optional[pulumi.Input[Union['NetworkRuleSetArgs', 'NetworkRuleSetArgsDict']]] = None,
|
|
360
435
|
partition_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
361
|
-
public_network_access: Optional[pulumi.Input['PublicNetworkAccess']] = None,
|
|
436
|
+
public_network_access: Optional[pulumi.Input[Union[builtins.str, 'PublicNetworkAccess']]] = None,
|
|
362
437
|
replica_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
363
438
|
resource_group_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
364
439
|
search_service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
365
440
|
semantic_search: Optional[pulumi.Input[Union[builtins.str, 'SearchSemanticSearch']]] = None,
|
|
366
441
|
sku: Optional[pulumi.Input[Union['SkuArgs', 'SkuArgsDict']]] = None,
|
|
367
442
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
443
|
+
upgrade_available: Optional[pulumi.Input[Union[builtins.str, 'UpgradeAvailable']]] = None,
|
|
368
444
|
__props__=None):
|
|
369
445
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
370
446
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -375,8 +451,11 @@ class Service(pulumi.CustomResource):
|
|
|
375
451
|
__props__ = ServiceArgs.__new__(ServiceArgs)
|
|
376
452
|
|
|
377
453
|
__props__.__dict__["auth_options"] = auth_options
|
|
454
|
+
__props__.__dict__["compute_type"] = compute_type
|
|
455
|
+
__props__.__dict__["data_exfiltration_protections"] = data_exfiltration_protections
|
|
378
456
|
__props__.__dict__["disable_local_auth"] = disable_local_auth
|
|
379
457
|
__props__.__dict__["encryption_with_cmk"] = encryption_with_cmk
|
|
458
|
+
__props__.__dict__["endpoint"] = endpoint
|
|
380
459
|
if hosting_mode is None:
|
|
381
460
|
hosting_mode = 'default'
|
|
382
461
|
__props__.__dict__["hosting_mode"] = hosting_mode
|
|
@@ -399,13 +478,17 @@ class Service(pulumi.CustomResource):
|
|
|
399
478
|
__props__.__dict__["semantic_search"] = semantic_search
|
|
400
479
|
__props__.__dict__["sku"] = sku
|
|
401
480
|
__props__.__dict__["tags"] = tags
|
|
481
|
+
__props__.__dict__["upgrade_available"] = upgrade_available
|
|
402
482
|
__props__.__dict__["azure_api_version"] = None
|
|
483
|
+
__props__.__dict__["e_tag"] = None
|
|
403
484
|
__props__.__dict__["name"] = None
|
|
404
485
|
__props__.__dict__["private_endpoint_connections"] = None
|
|
405
486
|
__props__.__dict__["provisioning_state"] = None
|
|
487
|
+
__props__.__dict__["service_upgraded_at"] = None
|
|
406
488
|
__props__.__dict__["shared_private_link_resources"] = None
|
|
407
489
|
__props__.__dict__["status"] = None
|
|
408
490
|
__props__.__dict__["status_details"] = None
|
|
491
|
+
__props__.__dict__["system_data"] = None
|
|
409
492
|
__props__.__dict__["type"] = None
|
|
410
493
|
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service"), pulumi.Alias(type_="azure-native:search/v20250201preview:Service"), pulumi.Alias(type_="azure-native:search/v20250501:Service")])
|
|
411
494
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
@@ -433,8 +516,12 @@ class Service(pulumi.CustomResource):
|
|
|
433
516
|
|
|
434
517
|
__props__.__dict__["auth_options"] = None
|
|
435
518
|
__props__.__dict__["azure_api_version"] = None
|
|
519
|
+
__props__.__dict__["compute_type"] = None
|
|
520
|
+
__props__.__dict__["data_exfiltration_protections"] = None
|
|
436
521
|
__props__.__dict__["disable_local_auth"] = None
|
|
522
|
+
__props__.__dict__["e_tag"] = None
|
|
437
523
|
__props__.__dict__["encryption_with_cmk"] = None
|
|
524
|
+
__props__.__dict__["endpoint"] = None
|
|
438
525
|
__props__.__dict__["hosting_mode"] = None
|
|
439
526
|
__props__.__dict__["identity"] = None
|
|
440
527
|
__props__.__dict__["location"] = None
|
|
@@ -446,12 +533,15 @@ class Service(pulumi.CustomResource):
|
|
|
446
533
|
__props__.__dict__["public_network_access"] = None
|
|
447
534
|
__props__.__dict__["replica_count"] = None
|
|
448
535
|
__props__.__dict__["semantic_search"] = None
|
|
536
|
+
__props__.__dict__["service_upgraded_at"] = None
|
|
449
537
|
__props__.__dict__["shared_private_link_resources"] = None
|
|
450
538
|
__props__.__dict__["sku"] = None
|
|
451
539
|
__props__.__dict__["status"] = None
|
|
452
540
|
__props__.__dict__["status_details"] = None
|
|
541
|
+
__props__.__dict__["system_data"] = None
|
|
453
542
|
__props__.__dict__["tags"] = None
|
|
454
543
|
__props__.__dict__["type"] = None
|
|
544
|
+
__props__.__dict__["upgrade_available"] = None
|
|
455
545
|
return Service(resource_name, opts=opts, __props__=__props__)
|
|
456
546
|
|
|
457
547
|
@property
|
|
@@ -470,6 +560,22 @@ class Service(pulumi.CustomResource):
|
|
|
470
560
|
"""
|
|
471
561
|
return pulumi.get(self, "azure_api_version")
|
|
472
562
|
|
|
563
|
+
@property
|
|
564
|
+
@pulumi.getter(name="computeType")
|
|
565
|
+
def compute_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
566
|
+
"""
|
|
567
|
+
Configure this property to support the search service using either the Default Compute or Azure Confidential Compute.
|
|
568
|
+
"""
|
|
569
|
+
return pulumi.get(self, "compute_type")
|
|
570
|
+
|
|
571
|
+
@property
|
|
572
|
+
@pulumi.getter(name="dataExfiltrationProtections")
|
|
573
|
+
def data_exfiltration_protections(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
574
|
+
"""
|
|
575
|
+
A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future.
|
|
576
|
+
"""
|
|
577
|
+
return pulumi.get(self, "data_exfiltration_protections")
|
|
578
|
+
|
|
473
579
|
@property
|
|
474
580
|
@pulumi.getter(name="disableLocalAuth")
|
|
475
581
|
def disable_local_auth(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
@@ -478,6 +584,14 @@ class Service(pulumi.CustomResource):
|
|
|
478
584
|
"""
|
|
479
585
|
return pulumi.get(self, "disable_local_auth")
|
|
480
586
|
|
|
587
|
+
@property
|
|
588
|
+
@pulumi.getter(name="eTag")
|
|
589
|
+
def e_tag(self) -> pulumi.Output[builtins.str]:
|
|
590
|
+
"""
|
|
591
|
+
A system generated property representing the service's etag that can be for optimistic concurrency control during updates.
|
|
592
|
+
"""
|
|
593
|
+
return pulumi.get(self, "e_tag")
|
|
594
|
+
|
|
481
595
|
@property
|
|
482
596
|
@pulumi.getter(name="encryptionWithCmk")
|
|
483
597
|
def encryption_with_cmk(self) -> pulumi.Output[Optional['outputs.EncryptionWithCmkResponse']]:
|
|
@@ -486,6 +600,14 @@ class Service(pulumi.CustomResource):
|
|
|
486
600
|
"""
|
|
487
601
|
return pulumi.get(self, "encryption_with_cmk")
|
|
488
602
|
|
|
603
|
+
@property
|
|
604
|
+
@pulumi.getter
|
|
605
|
+
def endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
606
|
+
"""
|
|
607
|
+
The endpoint of the Azure AI Search service.
|
|
608
|
+
"""
|
|
609
|
+
return pulumi.get(self, "endpoint")
|
|
610
|
+
|
|
489
611
|
@property
|
|
490
612
|
@pulumi.getter(name="hostingMode")
|
|
491
613
|
def hosting_mode(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
@@ -522,7 +644,7 @@ class Service(pulumi.CustomResource):
|
|
|
522
644
|
@pulumi.getter(name="networkRuleSet")
|
|
523
645
|
def network_rule_set(self) -> pulumi.Output[Optional['outputs.NetworkRuleSetResponse']]:
|
|
524
646
|
"""
|
|
525
|
-
Network
|
|
647
|
+
Network specific rules that determine how the Azure AI Search service may be reached.
|
|
526
648
|
"""
|
|
527
649
|
return pulumi.get(self, "network_rule_set")
|
|
528
650
|
|
|
@@ -538,7 +660,7 @@ class Service(pulumi.CustomResource):
|
|
|
538
660
|
@pulumi.getter(name="privateEndpointConnections")
|
|
539
661
|
def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]:
|
|
540
662
|
"""
|
|
541
|
-
The list of private endpoint connections to the
|
|
663
|
+
The list of private endpoint connections to the Azure AI Search service.
|
|
542
664
|
"""
|
|
543
665
|
return pulumi.get(self, "private_endpoint_connections")
|
|
544
666
|
|
|
@@ -546,7 +668,7 @@ class Service(pulumi.CustomResource):
|
|
|
546
668
|
@pulumi.getter(name="provisioningState")
|
|
547
669
|
def provisioning_state(self) -> pulumi.Output[builtins.str]:
|
|
548
670
|
"""
|
|
549
|
-
The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either '
|
|
671
|
+
The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up.
|
|
550
672
|
"""
|
|
551
673
|
return pulumi.get(self, "provisioning_state")
|
|
552
674
|
|
|
@@ -570,15 +692,23 @@ class Service(pulumi.CustomResource):
|
|
|
570
692
|
@pulumi.getter(name="semanticSearch")
|
|
571
693
|
def semantic_search(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
572
694
|
"""
|
|
573
|
-
Sets options that control the availability of semantic search. This configuration is only possible for certain
|
|
695
|
+
Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations.
|
|
574
696
|
"""
|
|
575
697
|
return pulumi.get(self, "semantic_search")
|
|
576
698
|
|
|
699
|
+
@property
|
|
700
|
+
@pulumi.getter(name="serviceUpgradedAt")
|
|
701
|
+
def service_upgraded_at(self) -> pulumi.Output[builtins.str]:
|
|
702
|
+
"""
|
|
703
|
+
The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time.
|
|
704
|
+
"""
|
|
705
|
+
return pulumi.get(self, "service_upgraded_at")
|
|
706
|
+
|
|
577
707
|
@property
|
|
578
708
|
@pulumi.getter(name="sharedPrivateLinkResources")
|
|
579
709
|
def shared_private_link_resources(self) -> pulumi.Output[Sequence['outputs.SharedPrivateLinkResourceResponse']]:
|
|
580
710
|
"""
|
|
581
|
-
The list of shared private link resources managed by the
|
|
711
|
+
The list of shared private link resources managed by the Azure AI Search service.
|
|
582
712
|
"""
|
|
583
713
|
return pulumi.get(self, "shared_private_link_resources")
|
|
584
714
|
|
|
@@ -586,7 +716,7 @@ class Service(pulumi.CustomResource):
|
|
|
586
716
|
@pulumi.getter
|
|
587
717
|
def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]:
|
|
588
718
|
"""
|
|
589
|
-
The SKU of the search service, which determines
|
|
719
|
+
The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service.
|
|
590
720
|
"""
|
|
591
721
|
return pulumi.get(self, "sku")
|
|
592
722
|
|
|
@@ -594,7 +724,7 @@ class Service(pulumi.CustomResource):
|
|
|
594
724
|
@pulumi.getter
|
|
595
725
|
def status(self) -> pulumi.Output[builtins.str]:
|
|
596
726
|
"""
|
|
597
|
-
The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. If your service is in the degraded, disabled, or error states,
|
|
727
|
+
The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned.
|
|
598
728
|
"""
|
|
599
729
|
return pulumi.get(self, "status")
|
|
600
730
|
|
|
@@ -606,6 +736,14 @@ class Service(pulumi.CustomResource):
|
|
|
606
736
|
"""
|
|
607
737
|
return pulumi.get(self, "status_details")
|
|
608
738
|
|
|
739
|
+
@property
|
|
740
|
+
@pulumi.getter(name="systemData")
|
|
741
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
742
|
+
"""
|
|
743
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
744
|
+
"""
|
|
745
|
+
return pulumi.get(self, "system_data")
|
|
746
|
+
|
|
609
747
|
@property
|
|
610
748
|
@pulumi.getter
|
|
611
749
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
@@ -622,3 +760,11 @@ class Service(pulumi.CustomResource):
|
|
|
622
760
|
"""
|
|
623
761
|
return pulumi.get(self, "type")
|
|
624
762
|
|
|
763
|
+
@property
|
|
764
|
+
@pulumi.getter(name="upgradeAvailable")
|
|
765
|
+
def upgrade_available(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
766
|
+
"""
|
|
767
|
+
Indicates if the search service has an upgrade available.
|
|
768
|
+
"""
|
|
769
|
+
return pulumi.get(self, "upgrade_available")
|
|
770
|
+
|