pulumi-azure 6.28.0__py3-none-any.whl → 6.28.0a1759516578__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 might be problematic. Click here for more details.

@@ -39,14 +39,16 @@ class AccountArgs:
39
39
  metrics_advisor_website_name: Optional[pulumi.Input[_builtins.str]] = None,
40
40
  name: Optional[pulumi.Input[_builtins.str]] = None,
41
41
  network_acls: Optional[pulumi.Input['AccountNetworkAclsArgs']] = None,
42
+ network_injection: Optional[pulumi.Input['AccountNetworkInjectionArgs']] = None,
42
43
  outbound_network_access_restricted: Optional[pulumi.Input[_builtins.bool]] = None,
44
+ project_management_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
43
45
  public_network_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
44
46
  qna_runtime_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
45
47
  storages: Optional[pulumi.Input[Sequence[pulumi.Input['AccountStorageArgs']]]] = None,
46
48
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
47
49
  """
48
50
  The set of arguments for constructing a Account resource.
49
- :param pulumi.Input[_builtins.str] kind: Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
51
+ :param pulumi.Input[_builtins.str] kind: Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AIServices`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
50
52
 
51
53
  > **Note:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
52
54
 
@@ -59,9 +61,11 @@ class AccountArgs:
59
61
  :param pulumi.Input[_builtins.str] custom_question_answering_search_service_key: If `kind` is `TextAnalytics` this specifies the key of the Search service.
60
62
 
61
63
  > **Note:** `custom_question_answering_search_service_id` and `custom_question_answering_search_service_key` are used for [Custom Question Answering, the renamed version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/custom-question-answering), while `qna_runtime_endpoint` is used for [the old version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/overview)
62
- :param pulumi.Input[_builtins.str] custom_subdomain_name: The subdomain name used for token-based authentication. This property is required when `network_acls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. Changing this forces a new resource to be created.
64
+ :param pulumi.Input[_builtins.str] custom_subdomain_name: The subdomain name used for Entra ID token-based authentication. This attribute is required when `network_acls` is specified. This attribute is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. This can be specified during creation or added later, but once set changing this forces a new resource to be created.
65
+
66
+ > **Note:** If you do not specify a `custom_subdomain_name` then you will not be able to attach a Private Endpoint to the resource. Moreover, functionality that requires Entra ID authentication, including Agent service, will not be accessible.
63
67
  :param pulumi.Input['AccountCustomerManagedKeyArgs'] customer_managed_key: A `customer_managed_key` block as documented below.
64
- :param pulumi.Input[_builtins.bool] dynamic_throttling_enabled: Whether to enable the dynamic throttling for this Cognitive Service Account.
68
+ :param pulumi.Input[_builtins.bool] dynamic_throttling_enabled: Whether to enable the dynamic throttling for this Cognitive Service Account. This attribute cannot be set when the `kind` is `OpenAI` or `AIServices`.
65
69
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] fqdns: List of FQDNs allowed for the Cognitive Account.
66
70
  :param pulumi.Input['AccountIdentityArgs'] identity: An `identity` block as defined below.
67
71
  :param pulumi.Input[_builtins.bool] local_auth_enabled: Whether local authentication methods is enabled for the Cognitive Account. Defaults to `true`.
@@ -74,7 +78,9 @@ class AccountArgs:
74
78
  > **Note:** This URL is mandatory if the `kind` is set to `QnAMaker`.
75
79
  :param pulumi.Input[_builtins.str] name: Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
76
80
  :param pulumi.Input['AccountNetworkAclsArgs'] network_acls: A `network_acls` block as defined below. When this property is specified, `custom_subdomain_name` is also required to be set.
81
+ :param pulumi.Input['AccountNetworkInjectionArgs'] network_injection: A `network_injection` block as defined below. Only applicable if the `kind` is set to `AIServices`.
77
82
  :param pulumi.Input[_builtins.bool] outbound_network_access_restricted: Whether outbound network access is restricted for the Cognitive Account. Defaults to `false`.
83
+ :param pulumi.Input[_builtins.bool] project_management_enabled: Whether project management is enabled when the `kind` is set to `AIServices`. Once enabled, `project_management_enabled` cannot be disabled. Changing this forces a new resource to be created. Defaults to `false`.
78
84
  :param pulumi.Input[_builtins.bool] public_network_access_enabled: Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
79
85
  :param pulumi.Input[_builtins.str] qna_runtime_endpoint: A URL to link a QnAMaker cognitive account to a QnA runtime.
80
86
  :param pulumi.Input[Sequence[pulumi.Input['AccountStorageArgs']]] storages: A `storage` block as defined below.
@@ -113,8 +119,12 @@ class AccountArgs:
113
119
  pulumi.set(__self__, "name", name)
114
120
  if network_acls is not None:
115
121
  pulumi.set(__self__, "network_acls", network_acls)
122
+ if network_injection is not None:
123
+ pulumi.set(__self__, "network_injection", network_injection)
116
124
  if outbound_network_access_restricted is not None:
117
125
  pulumi.set(__self__, "outbound_network_access_restricted", outbound_network_access_restricted)
126
+ if project_management_enabled is not None:
127
+ pulumi.set(__self__, "project_management_enabled", project_management_enabled)
118
128
  if public_network_access_enabled is not None:
119
129
  pulumi.set(__self__, "public_network_access_enabled", public_network_access_enabled)
120
130
  if qna_runtime_endpoint is not None:
@@ -128,7 +138,7 @@ class AccountArgs:
128
138
  @pulumi.getter
129
139
  def kind(self) -> pulumi.Input[_builtins.str]:
130
140
  """
131
- Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
141
+ Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AIServices`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
132
142
 
133
143
  > **Note:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
134
144
 
@@ -196,7 +206,9 @@ class AccountArgs:
196
206
  @pulumi.getter(name="customSubdomainName")
197
207
  def custom_subdomain_name(self) -> Optional[pulumi.Input[_builtins.str]]:
198
208
  """
199
- The subdomain name used for token-based authentication. This property is required when `network_acls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. Changing this forces a new resource to be created.
209
+ The subdomain name used for Entra ID token-based authentication. This attribute is required when `network_acls` is specified. This attribute is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. This can be specified during creation or added later, but once set changing this forces a new resource to be created.
210
+
211
+ > **Note:** If you do not specify a `custom_subdomain_name` then you will not be able to attach a Private Endpoint to the resource. Moreover, functionality that requires Entra ID authentication, including Agent service, will not be accessible.
200
212
  """
201
213
  return pulumi.get(self, "custom_subdomain_name")
202
214
 
@@ -220,7 +232,7 @@ class AccountArgs:
220
232
  @pulumi.getter(name="dynamicThrottlingEnabled")
221
233
  def dynamic_throttling_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
222
234
  """
223
- Whether to enable the dynamic throttling for this Cognitive Service Account.
235
+ Whether to enable the dynamic throttling for this Cognitive Service Account. This attribute cannot be set when the `kind` is `OpenAI` or `AIServices`.
224
236
  """
225
237
  return pulumi.get(self, "dynamic_throttling_enabled")
226
238
 
@@ -350,6 +362,18 @@ class AccountArgs:
350
362
  def network_acls(self, value: Optional[pulumi.Input['AccountNetworkAclsArgs']]):
351
363
  pulumi.set(self, "network_acls", value)
352
364
 
365
+ @_builtins.property
366
+ @pulumi.getter(name="networkInjection")
367
+ def network_injection(self) -> Optional[pulumi.Input['AccountNetworkInjectionArgs']]:
368
+ """
369
+ A `network_injection` block as defined below. Only applicable if the `kind` is set to `AIServices`.
370
+ """
371
+ return pulumi.get(self, "network_injection")
372
+
373
+ @network_injection.setter
374
+ def network_injection(self, value: Optional[pulumi.Input['AccountNetworkInjectionArgs']]):
375
+ pulumi.set(self, "network_injection", value)
376
+
353
377
  @_builtins.property
354
378
  @pulumi.getter(name="outboundNetworkAccessRestricted")
355
379
  def outbound_network_access_restricted(self) -> Optional[pulumi.Input[_builtins.bool]]:
@@ -362,6 +386,18 @@ class AccountArgs:
362
386
  def outbound_network_access_restricted(self, value: Optional[pulumi.Input[_builtins.bool]]):
363
387
  pulumi.set(self, "outbound_network_access_restricted", value)
364
388
 
389
+ @_builtins.property
390
+ @pulumi.getter(name="projectManagementEnabled")
391
+ def project_management_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
392
+ """
393
+ Whether project management is enabled when the `kind` is set to `AIServices`. Once enabled, `project_management_enabled` cannot be disabled. Changing this forces a new resource to be created. Defaults to `false`.
394
+ """
395
+ return pulumi.get(self, "project_management_enabled")
396
+
397
+ @project_management_enabled.setter
398
+ def project_management_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
399
+ pulumi.set(self, "project_management_enabled", value)
400
+
365
401
  @_builtins.property
366
402
  @pulumi.getter(name="publicNetworkAccessEnabled")
367
403
  def public_network_access_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
@@ -431,8 +467,10 @@ class _AccountState:
431
467
  metrics_advisor_website_name: Optional[pulumi.Input[_builtins.str]] = None,
432
468
  name: Optional[pulumi.Input[_builtins.str]] = None,
433
469
  network_acls: Optional[pulumi.Input['AccountNetworkAclsArgs']] = None,
470
+ network_injection: Optional[pulumi.Input['AccountNetworkInjectionArgs']] = None,
434
471
  outbound_network_access_restricted: Optional[pulumi.Input[_builtins.bool]] = None,
435
472
  primary_access_key: Optional[pulumi.Input[_builtins.str]] = None,
473
+ project_management_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
436
474
  public_network_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
437
475
  qna_runtime_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
438
476
  resource_group_name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -446,13 +484,15 @@ class _AccountState:
446
484
  :param pulumi.Input[_builtins.str] custom_question_answering_search_service_key: If `kind` is `TextAnalytics` this specifies the key of the Search service.
447
485
 
448
486
  > **Note:** `custom_question_answering_search_service_id` and `custom_question_answering_search_service_key` are used for [Custom Question Answering, the renamed version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/custom-question-answering), while `qna_runtime_endpoint` is used for [the old version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/overview)
449
- :param pulumi.Input[_builtins.str] custom_subdomain_name: The subdomain name used for token-based authentication. This property is required when `network_acls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. Changing this forces a new resource to be created.
487
+ :param pulumi.Input[_builtins.str] custom_subdomain_name: The subdomain name used for Entra ID token-based authentication. This attribute is required when `network_acls` is specified. This attribute is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. This can be specified during creation or added later, but once set changing this forces a new resource to be created.
488
+
489
+ > **Note:** If you do not specify a `custom_subdomain_name` then you will not be able to attach a Private Endpoint to the resource. Moreover, functionality that requires Entra ID authentication, including Agent service, will not be accessible.
450
490
  :param pulumi.Input['AccountCustomerManagedKeyArgs'] customer_managed_key: A `customer_managed_key` block as documented below.
451
- :param pulumi.Input[_builtins.bool] dynamic_throttling_enabled: Whether to enable the dynamic throttling for this Cognitive Service Account.
491
+ :param pulumi.Input[_builtins.bool] dynamic_throttling_enabled: Whether to enable the dynamic throttling for this Cognitive Service Account. This attribute cannot be set when the `kind` is `OpenAI` or `AIServices`.
452
492
  :param pulumi.Input[_builtins.str] endpoint: The endpoint used to connect to the Cognitive Service Account.
453
493
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] fqdns: List of FQDNs allowed for the Cognitive Account.
454
494
  :param pulumi.Input['AccountIdentityArgs'] identity: An `identity` block as defined below.
455
- :param pulumi.Input[_builtins.str] kind: Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
495
+ :param pulumi.Input[_builtins.str] kind: Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AIServices`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
456
496
 
457
497
  > **Note:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
458
498
 
@@ -467,8 +507,10 @@ class _AccountState:
467
507
  > **Note:** This URL is mandatory if the `kind` is set to `QnAMaker`.
468
508
  :param pulumi.Input[_builtins.str] name: Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
469
509
  :param pulumi.Input['AccountNetworkAclsArgs'] network_acls: A `network_acls` block as defined below. When this property is specified, `custom_subdomain_name` is also required to be set.
510
+ :param pulumi.Input['AccountNetworkInjectionArgs'] network_injection: A `network_injection` block as defined below. Only applicable if the `kind` is set to `AIServices`.
470
511
  :param pulumi.Input[_builtins.bool] outbound_network_access_restricted: Whether outbound network access is restricted for the Cognitive Account. Defaults to `false`.
471
512
  :param pulumi.Input[_builtins.str] primary_access_key: A primary access key which can be used to connect to the Cognitive Service Account.
513
+ :param pulumi.Input[_builtins.bool] project_management_enabled: Whether project management is enabled when the `kind` is set to `AIServices`. Once enabled, `project_management_enabled` cannot be disabled. Changing this forces a new resource to be created. Defaults to `false`.
472
514
  :param pulumi.Input[_builtins.bool] public_network_access_enabled: Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
473
515
  :param pulumi.Input[_builtins.str] qna_runtime_endpoint: A URL to link a QnAMaker cognitive account to a QnA runtime.
474
516
  :param pulumi.Input[_builtins.str] resource_group_name: The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
@@ -513,10 +555,14 @@ class _AccountState:
513
555
  pulumi.set(__self__, "name", name)
514
556
  if network_acls is not None:
515
557
  pulumi.set(__self__, "network_acls", network_acls)
558
+ if network_injection is not None:
559
+ pulumi.set(__self__, "network_injection", network_injection)
516
560
  if outbound_network_access_restricted is not None:
517
561
  pulumi.set(__self__, "outbound_network_access_restricted", outbound_network_access_restricted)
518
562
  if primary_access_key is not None:
519
563
  pulumi.set(__self__, "primary_access_key", primary_access_key)
564
+ if project_management_enabled is not None:
565
+ pulumi.set(__self__, "project_management_enabled", project_management_enabled)
520
566
  if public_network_access_enabled is not None:
521
567
  pulumi.set(__self__, "public_network_access_enabled", public_network_access_enabled)
522
568
  if qna_runtime_endpoint is not None:
@@ -562,7 +608,9 @@ class _AccountState:
562
608
  @pulumi.getter(name="customSubdomainName")
563
609
  def custom_subdomain_name(self) -> Optional[pulumi.Input[_builtins.str]]:
564
610
  """
565
- The subdomain name used for token-based authentication. This property is required when `network_acls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. Changing this forces a new resource to be created.
611
+ The subdomain name used for Entra ID token-based authentication. This attribute is required when `network_acls` is specified. This attribute is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. This can be specified during creation or added later, but once set changing this forces a new resource to be created.
612
+
613
+ > **Note:** If you do not specify a `custom_subdomain_name` then you will not be able to attach a Private Endpoint to the resource. Moreover, functionality that requires Entra ID authentication, including Agent service, will not be accessible.
566
614
  """
567
615
  return pulumi.get(self, "custom_subdomain_name")
568
616
 
@@ -586,7 +634,7 @@ class _AccountState:
586
634
  @pulumi.getter(name="dynamicThrottlingEnabled")
587
635
  def dynamic_throttling_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
588
636
  """
589
- Whether to enable the dynamic throttling for this Cognitive Service Account.
637
+ Whether to enable the dynamic throttling for this Cognitive Service Account. This attribute cannot be set when the `kind` is `OpenAI` or `AIServices`.
590
638
  """
591
639
  return pulumi.get(self, "dynamic_throttling_enabled")
592
640
 
@@ -634,7 +682,7 @@ class _AccountState:
634
682
  @pulumi.getter
635
683
  def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
636
684
  """
637
- Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
685
+ Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AIServices`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
638
686
 
639
687
  > **Note:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
640
688
 
@@ -744,6 +792,18 @@ class _AccountState:
744
792
  def network_acls(self, value: Optional[pulumi.Input['AccountNetworkAclsArgs']]):
745
793
  pulumi.set(self, "network_acls", value)
746
794
 
795
+ @_builtins.property
796
+ @pulumi.getter(name="networkInjection")
797
+ def network_injection(self) -> Optional[pulumi.Input['AccountNetworkInjectionArgs']]:
798
+ """
799
+ A `network_injection` block as defined below. Only applicable if the `kind` is set to `AIServices`.
800
+ """
801
+ return pulumi.get(self, "network_injection")
802
+
803
+ @network_injection.setter
804
+ def network_injection(self, value: Optional[pulumi.Input['AccountNetworkInjectionArgs']]):
805
+ pulumi.set(self, "network_injection", value)
806
+
747
807
  @_builtins.property
748
808
  @pulumi.getter(name="outboundNetworkAccessRestricted")
749
809
  def outbound_network_access_restricted(self) -> Optional[pulumi.Input[_builtins.bool]]:
@@ -768,6 +828,18 @@ class _AccountState:
768
828
  def primary_access_key(self, value: Optional[pulumi.Input[_builtins.str]]):
769
829
  pulumi.set(self, "primary_access_key", value)
770
830
 
831
+ @_builtins.property
832
+ @pulumi.getter(name="projectManagementEnabled")
833
+ def project_management_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
834
+ """
835
+ Whether project management is enabled when the `kind` is set to `AIServices`. Once enabled, `project_management_enabled` cannot be disabled. Changing this forces a new resource to be created. Defaults to `false`.
836
+ """
837
+ return pulumi.get(self, "project_management_enabled")
838
+
839
+ @project_management_enabled.setter
840
+ def project_management_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
841
+ pulumi.set(self, "project_management_enabled", value)
842
+
771
843
  @_builtins.property
772
844
  @pulumi.getter(name="publicNetworkAccessEnabled")
773
845
  def public_network_access_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
@@ -877,7 +949,9 @@ class Account(pulumi.CustomResource):
877
949
  metrics_advisor_website_name: Optional[pulumi.Input[_builtins.str]] = None,
878
950
  name: Optional[pulumi.Input[_builtins.str]] = None,
879
951
  network_acls: Optional[pulumi.Input[Union['AccountNetworkAclsArgs', 'AccountNetworkAclsArgsDict']]] = None,
952
+ network_injection: Optional[pulumi.Input[Union['AccountNetworkInjectionArgs', 'AccountNetworkInjectionArgsDict']]] = None,
880
953
  outbound_network_access_restricted: Optional[pulumi.Input[_builtins.bool]] = None,
954
+ project_management_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
881
955
  public_network_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
882
956
  qna_runtime_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
883
957
  resource_group_name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -888,7 +962,9 @@ class Account(pulumi.CustomResource):
888
962
  """
889
963
  Manages a Cognitive Services Account.
890
964
 
891
- > **Note:** Version v2.65.0 of the Azure Provider and later will attempt to Purge the Cognitive Account during deletion. This feature can be disabled using the `features` block within the `provider` block, see the provider documentation on the features block for more information.
965
+ > **Note:** The Cognitive Services Account manages the resource type for various Azure AI resource implementations, including Azure AI Foundry, Azure OpenAI, Azure Speech, Azure Vision and others. Each service shares the same control plane but exposes a different subset of developer APIs. Azure AI Foundry (kind = `AIServices`) provides the superset of capabilities. For more information, please see [Azure AI Foundry architecture](https://learn.microsoft.com/en-us/azure/ai-foundry/concepts/architecture).
966
+
967
+ > **Note:** The Azure Provider will attempt to Purge the Cognitive Services Account during deletion. This feature can be disabled using the `features` block within the `provider` block, see the provider documentation on the features block for more information.
892
968
 
893
969
  ## Example Usage
894
970
 
@@ -917,6 +993,8 @@ class Account(pulumi.CustomResource):
917
993
 
918
994
  * `Microsoft.CognitiveServices` - 2025-06-01
919
995
 
996
+ * `Microsoft.Network` - 2024-05-01
997
+
920
998
  ## Import
921
999
 
922
1000
  Cognitive Service Accounts can be imported using the `resource id`, e.g.
@@ -931,12 +1009,14 @@ class Account(pulumi.CustomResource):
931
1009
  :param pulumi.Input[_builtins.str] custom_question_answering_search_service_key: If `kind` is `TextAnalytics` this specifies the key of the Search service.
932
1010
 
933
1011
  > **Note:** `custom_question_answering_search_service_id` and `custom_question_answering_search_service_key` are used for [Custom Question Answering, the renamed version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/custom-question-answering), while `qna_runtime_endpoint` is used for [the old version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/overview)
934
- :param pulumi.Input[_builtins.str] custom_subdomain_name: The subdomain name used for token-based authentication. This property is required when `network_acls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. Changing this forces a new resource to be created.
1012
+ :param pulumi.Input[_builtins.str] custom_subdomain_name: The subdomain name used for Entra ID token-based authentication. This attribute is required when `network_acls` is specified. This attribute is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. This can be specified during creation or added later, but once set changing this forces a new resource to be created.
1013
+
1014
+ > **Note:** If you do not specify a `custom_subdomain_name` then you will not be able to attach a Private Endpoint to the resource. Moreover, functionality that requires Entra ID authentication, including Agent service, will not be accessible.
935
1015
  :param pulumi.Input[Union['AccountCustomerManagedKeyArgs', 'AccountCustomerManagedKeyArgsDict']] customer_managed_key: A `customer_managed_key` block as documented below.
936
- :param pulumi.Input[_builtins.bool] dynamic_throttling_enabled: Whether to enable the dynamic throttling for this Cognitive Service Account.
1016
+ :param pulumi.Input[_builtins.bool] dynamic_throttling_enabled: Whether to enable the dynamic throttling for this Cognitive Service Account. This attribute cannot be set when the `kind` is `OpenAI` or `AIServices`.
937
1017
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] fqdns: List of FQDNs allowed for the Cognitive Account.
938
1018
  :param pulumi.Input[Union['AccountIdentityArgs', 'AccountIdentityArgsDict']] identity: An `identity` block as defined below.
939
- :param pulumi.Input[_builtins.str] kind: Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
1019
+ :param pulumi.Input[_builtins.str] kind: Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AIServices`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
940
1020
 
941
1021
  > **Note:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
942
1022
 
@@ -951,7 +1031,9 @@ class Account(pulumi.CustomResource):
951
1031
  > **Note:** This URL is mandatory if the `kind` is set to `QnAMaker`.
952
1032
  :param pulumi.Input[_builtins.str] name: Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
953
1033
  :param pulumi.Input[Union['AccountNetworkAclsArgs', 'AccountNetworkAclsArgsDict']] network_acls: A `network_acls` block as defined below. When this property is specified, `custom_subdomain_name` is also required to be set.
1034
+ :param pulumi.Input[Union['AccountNetworkInjectionArgs', 'AccountNetworkInjectionArgsDict']] network_injection: A `network_injection` block as defined below. Only applicable if the `kind` is set to `AIServices`.
954
1035
  :param pulumi.Input[_builtins.bool] outbound_network_access_restricted: Whether outbound network access is restricted for the Cognitive Account. Defaults to `false`.
1036
+ :param pulumi.Input[_builtins.bool] project_management_enabled: Whether project management is enabled when the `kind` is set to `AIServices`. Once enabled, `project_management_enabled` cannot be disabled. Changing this forces a new resource to be created. Defaults to `false`.
955
1037
  :param pulumi.Input[_builtins.bool] public_network_access_enabled: Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
956
1038
  :param pulumi.Input[_builtins.str] qna_runtime_endpoint: A URL to link a QnAMaker cognitive account to a QnA runtime.
957
1039
  :param pulumi.Input[_builtins.str] resource_group_name: The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
@@ -970,7 +1052,9 @@ class Account(pulumi.CustomResource):
970
1052
  """
971
1053
  Manages a Cognitive Services Account.
972
1054
 
973
- > **Note:** Version v2.65.0 of the Azure Provider and later will attempt to Purge the Cognitive Account during deletion. This feature can be disabled using the `features` block within the `provider` block, see the provider documentation on the features block for more information.
1055
+ > **Note:** The Cognitive Services Account manages the resource type for various Azure AI resource implementations, including Azure AI Foundry, Azure OpenAI, Azure Speech, Azure Vision and others. Each service shares the same control plane but exposes a different subset of developer APIs. Azure AI Foundry (kind = `AIServices`) provides the superset of capabilities. For more information, please see [Azure AI Foundry architecture](https://learn.microsoft.com/en-us/azure/ai-foundry/concepts/architecture).
1056
+
1057
+ > **Note:** The Azure Provider will attempt to Purge the Cognitive Services Account during deletion. This feature can be disabled using the `features` block within the `provider` block, see the provider documentation on the features block for more information.
974
1058
 
975
1059
  ## Example Usage
976
1060
 
@@ -999,6 +1083,8 @@ class Account(pulumi.CustomResource):
999
1083
 
1000
1084
  * `Microsoft.CognitiveServices` - 2025-06-01
1001
1085
 
1086
+ * `Microsoft.Network` - 2024-05-01
1087
+
1002
1088
  ## Import
1003
1089
 
1004
1090
  Cognitive Service Accounts can be imported using the `resource id`, e.g.
@@ -1038,7 +1124,9 @@ class Account(pulumi.CustomResource):
1038
1124
  metrics_advisor_website_name: Optional[pulumi.Input[_builtins.str]] = None,
1039
1125
  name: Optional[pulumi.Input[_builtins.str]] = None,
1040
1126
  network_acls: Optional[pulumi.Input[Union['AccountNetworkAclsArgs', 'AccountNetworkAclsArgsDict']]] = None,
1127
+ network_injection: Optional[pulumi.Input[Union['AccountNetworkInjectionArgs', 'AccountNetworkInjectionArgsDict']]] = None,
1041
1128
  outbound_network_access_restricted: Optional[pulumi.Input[_builtins.bool]] = None,
1129
+ project_management_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1042
1130
  public_network_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1043
1131
  qna_runtime_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
1044
1132
  resource_group_name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1072,7 +1160,9 @@ class Account(pulumi.CustomResource):
1072
1160
  __props__.__dict__["metrics_advisor_website_name"] = metrics_advisor_website_name
1073
1161
  __props__.__dict__["name"] = name
1074
1162
  __props__.__dict__["network_acls"] = network_acls
1163
+ __props__.__dict__["network_injection"] = network_injection
1075
1164
  __props__.__dict__["outbound_network_access_restricted"] = outbound_network_access_restricted
1165
+ __props__.__dict__["project_management_enabled"] = project_management_enabled
1076
1166
  __props__.__dict__["public_network_access_enabled"] = public_network_access_enabled
1077
1167
  __props__.__dict__["qna_runtime_endpoint"] = qna_runtime_endpoint
1078
1168
  if resource_group_name is None and not opts.urn:
@@ -1115,8 +1205,10 @@ class Account(pulumi.CustomResource):
1115
1205
  metrics_advisor_website_name: Optional[pulumi.Input[_builtins.str]] = None,
1116
1206
  name: Optional[pulumi.Input[_builtins.str]] = None,
1117
1207
  network_acls: Optional[pulumi.Input[Union['AccountNetworkAclsArgs', 'AccountNetworkAclsArgsDict']]] = None,
1208
+ network_injection: Optional[pulumi.Input[Union['AccountNetworkInjectionArgs', 'AccountNetworkInjectionArgsDict']]] = None,
1118
1209
  outbound_network_access_restricted: Optional[pulumi.Input[_builtins.bool]] = None,
1119
1210
  primary_access_key: Optional[pulumi.Input[_builtins.str]] = None,
1211
+ project_management_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1120
1212
  public_network_access_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1121
1213
  qna_runtime_endpoint: Optional[pulumi.Input[_builtins.str]] = None,
1122
1214
  resource_group_name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1135,13 +1227,15 @@ class Account(pulumi.CustomResource):
1135
1227
  :param pulumi.Input[_builtins.str] custom_question_answering_search_service_key: If `kind` is `TextAnalytics` this specifies the key of the Search service.
1136
1228
 
1137
1229
  > **Note:** `custom_question_answering_search_service_id` and `custom_question_answering_search_service_key` are used for [Custom Question Answering, the renamed version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/custom-question-answering), while `qna_runtime_endpoint` is used for [the old version of QnA Maker](https://docs.microsoft.com/azure/cognitive-services/qnamaker/overview/overview)
1138
- :param pulumi.Input[_builtins.str] custom_subdomain_name: The subdomain name used for token-based authentication. This property is required when `network_acls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. Changing this forces a new resource to be created.
1230
+ :param pulumi.Input[_builtins.str] custom_subdomain_name: The subdomain name used for Entra ID token-based authentication. This attribute is required when `network_acls` is specified. This attribute is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. This can be specified during creation or added later, but once set changing this forces a new resource to be created.
1231
+
1232
+ > **Note:** If you do not specify a `custom_subdomain_name` then you will not be able to attach a Private Endpoint to the resource. Moreover, functionality that requires Entra ID authentication, including Agent service, will not be accessible.
1139
1233
  :param pulumi.Input[Union['AccountCustomerManagedKeyArgs', 'AccountCustomerManagedKeyArgsDict']] customer_managed_key: A `customer_managed_key` block as documented below.
1140
- :param pulumi.Input[_builtins.bool] dynamic_throttling_enabled: Whether to enable the dynamic throttling for this Cognitive Service Account.
1234
+ :param pulumi.Input[_builtins.bool] dynamic_throttling_enabled: Whether to enable the dynamic throttling for this Cognitive Service Account. This attribute cannot be set when the `kind` is `OpenAI` or `AIServices`.
1141
1235
  :param pulumi.Input[_builtins.str] endpoint: The endpoint used to connect to the Cognitive Service Account.
1142
1236
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] fqdns: List of FQDNs allowed for the Cognitive Account.
1143
1237
  :param pulumi.Input[Union['AccountIdentityArgs', 'AccountIdentityArgsDict']] identity: An `identity` block as defined below.
1144
- :param pulumi.Input[_builtins.str] kind: Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
1238
+ :param pulumi.Input[_builtins.str] kind: Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AIServices`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
1145
1239
 
1146
1240
  > **Note:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
1147
1241
 
@@ -1156,8 +1250,10 @@ class Account(pulumi.CustomResource):
1156
1250
  > **Note:** This URL is mandatory if the `kind` is set to `QnAMaker`.
1157
1251
  :param pulumi.Input[_builtins.str] name: Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
1158
1252
  :param pulumi.Input[Union['AccountNetworkAclsArgs', 'AccountNetworkAclsArgsDict']] network_acls: A `network_acls` block as defined below. When this property is specified, `custom_subdomain_name` is also required to be set.
1253
+ :param pulumi.Input[Union['AccountNetworkInjectionArgs', 'AccountNetworkInjectionArgsDict']] network_injection: A `network_injection` block as defined below. Only applicable if the `kind` is set to `AIServices`.
1159
1254
  :param pulumi.Input[_builtins.bool] outbound_network_access_restricted: Whether outbound network access is restricted for the Cognitive Account. Defaults to `false`.
1160
1255
  :param pulumi.Input[_builtins.str] primary_access_key: A primary access key which can be used to connect to the Cognitive Service Account.
1256
+ :param pulumi.Input[_builtins.bool] project_management_enabled: Whether project management is enabled when the `kind` is set to `AIServices`. Once enabled, `project_management_enabled` cannot be disabled. Changing this forces a new resource to be created. Defaults to `false`.
1161
1257
  :param pulumi.Input[_builtins.bool] public_network_access_enabled: Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
1162
1258
  :param pulumi.Input[_builtins.str] qna_runtime_endpoint: A URL to link a QnAMaker cognitive account to a QnA runtime.
1163
1259
  :param pulumi.Input[_builtins.str] resource_group_name: The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
@@ -1189,8 +1285,10 @@ class Account(pulumi.CustomResource):
1189
1285
  __props__.__dict__["metrics_advisor_website_name"] = metrics_advisor_website_name
1190
1286
  __props__.__dict__["name"] = name
1191
1287
  __props__.__dict__["network_acls"] = network_acls
1288
+ __props__.__dict__["network_injection"] = network_injection
1192
1289
  __props__.__dict__["outbound_network_access_restricted"] = outbound_network_access_restricted
1193
1290
  __props__.__dict__["primary_access_key"] = primary_access_key
1291
+ __props__.__dict__["project_management_enabled"] = project_management_enabled
1194
1292
  __props__.__dict__["public_network_access_enabled"] = public_network_access_enabled
1195
1293
  __props__.__dict__["qna_runtime_endpoint"] = qna_runtime_endpoint
1196
1294
  __props__.__dict__["resource_group_name"] = resource_group_name
@@ -1222,7 +1320,9 @@ class Account(pulumi.CustomResource):
1222
1320
  @pulumi.getter(name="customSubdomainName")
1223
1321
  def custom_subdomain_name(self) -> pulumi.Output[Optional[_builtins.str]]:
1224
1322
  """
1225
- The subdomain name used for token-based authentication. This property is required when `network_acls` is specified. This property is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. Changing this forces a new resource to be created.
1323
+ The subdomain name used for Entra ID token-based authentication. This attribute is required when `network_acls` is specified. This attribute is also required when using the OpenAI service with libraries which assume the Azure OpenAI endpoint is a subdomain on `https://openai.azure.com/`, eg. `https://<custom_subdomain_name>.openai.azure.com/`. This can be specified during creation or added later, but once set changing this forces a new resource to be created.
1324
+
1325
+ > **Note:** If you do not specify a `custom_subdomain_name` then you will not be able to attach a Private Endpoint to the resource. Moreover, functionality that requires Entra ID authentication, including Agent service, will not be accessible.
1226
1326
  """
1227
1327
  return pulumi.get(self, "custom_subdomain_name")
1228
1328
 
@@ -1238,7 +1338,7 @@ class Account(pulumi.CustomResource):
1238
1338
  @pulumi.getter(name="dynamicThrottlingEnabled")
1239
1339
  def dynamic_throttling_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
1240
1340
  """
1241
- Whether to enable the dynamic throttling for this Cognitive Service Account.
1341
+ Whether to enable the dynamic throttling for this Cognitive Service Account. This attribute cannot be set when the `kind` is `OpenAI` or `AIServices`.
1242
1342
  """
1243
1343
  return pulumi.get(self, "dynamic_throttling_enabled")
1244
1344
 
@@ -1270,7 +1370,7 @@ class Account(pulumi.CustomResource):
1270
1370
  @pulumi.getter
1271
1371
  def kind(self) -> pulumi.Output[_builtins.str]:
1272
1372
  """
1273
- Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
1373
+ Specifies the type of Cognitive Service Account that should be created. Possible values are `Academic`, `AIServices`, `AnomalyDetector`, `Bing.Autosuggest`, `Bing.Autosuggest.v7`, `Bing.CustomSearch`, `Bing.Search`, `Bing.Search.v7`, `Bing.Speech`, `Bing.SpellCheck`, `Bing.SpellCheck.v7`, `CognitiveServices`, `ComputerVision`, `ContentModerator`, `ContentSafety`, `CustomSpeech`, `CustomVision.Prediction`, `CustomVision.Training`, `Emotion`, `Face`, `FormRecognizer`, `ImmersiveReader`, `LUIS`, `LUIS.Authoring`, `MetricsAdvisor`, `OpenAI`, `Personalizer`, `QnAMaker`, `Recommendations`, `SpeakerRecognition`, `Speech`, `SpeechServices`, `SpeechTranslation`, `TextAnalytics`, `TextTranslation` and `WebLM`. Changing this forces a new resource to be created.
1274
1374
 
1275
1375
  > **Note:** New Bing Search resources cannot be created as their APIs are moving from Cognitive Services Platform to new surface area under Microsoft.com. Starting from October 30, 2020, existing instances of Bing Search APIs provisioned via Cognitive Services will be continuously supported for next 3 years or till the end of respective Enterprise Agreement, whichever happens first.
1276
1376
 
@@ -1344,6 +1444,14 @@ class Account(pulumi.CustomResource):
1344
1444
  """
1345
1445
  return pulumi.get(self, "network_acls")
1346
1446
 
1447
+ @_builtins.property
1448
+ @pulumi.getter(name="networkInjection")
1449
+ def network_injection(self) -> pulumi.Output[Optional['outputs.AccountNetworkInjection']]:
1450
+ """
1451
+ A `network_injection` block as defined below. Only applicable if the `kind` is set to `AIServices`.
1452
+ """
1453
+ return pulumi.get(self, "network_injection")
1454
+
1347
1455
  @_builtins.property
1348
1456
  @pulumi.getter(name="outboundNetworkAccessRestricted")
1349
1457
  def outbound_network_access_restricted(self) -> pulumi.Output[Optional[_builtins.bool]]:
@@ -1360,6 +1468,14 @@ class Account(pulumi.CustomResource):
1360
1468
  """
1361
1469
  return pulumi.get(self, "primary_access_key")
1362
1470
 
1471
+ @_builtins.property
1472
+ @pulumi.getter(name="projectManagementEnabled")
1473
+ def project_management_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
1474
+ """
1475
+ Whether project management is enabled when the `kind` is set to `AIServices`. Once enabled, `project_management_enabled` cannot be disabled. Changing this forces a new resource to be created. Defaults to `false`.
1476
+ """
1477
+ return pulumi.get(self, "project_management_enabled")
1478
+
1363
1479
  @_builtins.property
1364
1480
  @pulumi.getter(name="publicNetworkAccessEnabled")
1365
1481
  def public_network_access_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
@@ -25,6 +25,7 @@ __all__ = [
25
25
  'AccountIdentity',
26
26
  'AccountNetworkAcls',
27
27
  'AccountNetworkAclsVirtualNetworkRule',
28
+ 'AccountNetworkInjection',
28
29
  'AccountRaiPolicyContentFilter',
29
30
  'AccountStorage',
30
31
  'DeploymentModel',
@@ -377,6 +378,8 @@ class AccountCustomerManagedKey(dict):
377
378
  """
378
379
  :param _builtins.str key_vault_key_id: The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.
379
380
  :param _builtins.str identity_client_id: The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.
381
+
382
+ > **Note:** When `project_management_enabled` is set to `true`, removing this block forces a new resource to be created.
380
383
  """
381
384
  pulumi.set(__self__, "key_vault_key_id", key_vault_key_id)
382
385
  if identity_client_id is not None:
@@ -395,6 +398,8 @@ class AccountCustomerManagedKey(dict):
395
398
  def identity_client_id(self) -> Optional[_builtins.str]:
396
399
  """
397
400
  The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.
401
+
402
+ > **Note:** When `project_management_enabled` is set to `true`, removing this block forces a new resource to be created.
398
403
  """
399
404
  return pulumi.get(self, "identity_client_id")
400
405
 
@@ -510,7 +515,7 @@ class AccountNetworkAcls(dict):
510
515
  :param _builtins.str default_action: The Default Action to use when no rules match from `ip_rules` / `virtual_network_rules`. Possible values are `Allow` and `Deny`.
511
516
  :param _builtins.str bypass: Whether to allow trusted Azure Services to access the service. Possible values are `None` and `AzureServices`.
512
517
 
513
- > **Note:** `bypass` can only be set when `kind` is set to `OpenAI`
518
+ > **Note:** `bypass` can only be set when `kind` is set to `OpenAI` or `AIServices`.
514
519
  :param Sequence[_builtins.str] ip_rules: One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
515
520
  :param Sequence['AccountNetworkAclsVirtualNetworkRuleArgs'] virtual_network_rules: A `virtual_network_rules` block as defined below.
516
521
  """
@@ -536,7 +541,7 @@ class AccountNetworkAcls(dict):
536
541
  """
537
542
  Whether to allow trusted Azure Services to access the service. Possible values are `None` and `AzureServices`.
538
543
 
539
- > **Note:** `bypass` can only be set when `kind` is set to `OpenAI`
544
+ > **Note:** `bypass` can only be set when `kind` is set to `OpenAI` or `AIServices`.
540
545
  """
541
546
  return pulumi.get(self, "bypass")
542
547
 
@@ -583,7 +588,7 @@ class AccountNetworkAclsVirtualNetworkRule(dict):
583
588
  ignore_missing_vnet_service_endpoint: Optional[_builtins.bool] = None):
584
589
  """
585
590
  :param _builtins.str subnet_id: The ID of the subnet which should be able to access this Cognitive Account.
586
- :param _builtins.bool ignore_missing_vnet_service_endpoint: Whether ignore missing vnet service endpoint or not. Default to `false`.
591
+ :param _builtins.bool ignore_missing_vnet_service_endpoint: Whether ignore missing vnet service endpoint or not. Defaults to `false`.
587
592
  """
588
593
  pulumi.set(__self__, "subnet_id", subnet_id)
589
594
  if ignore_missing_vnet_service_endpoint is not None:
@@ -601,11 +606,61 @@ class AccountNetworkAclsVirtualNetworkRule(dict):
601
606
  @pulumi.getter(name="ignoreMissingVnetServiceEndpoint")
602
607
  def ignore_missing_vnet_service_endpoint(self) -> Optional[_builtins.bool]:
603
608
  """
604
- Whether ignore missing vnet service endpoint or not. Default to `false`.
609
+ Whether ignore missing vnet service endpoint or not. Defaults to `false`.
605
610
  """
606
611
  return pulumi.get(self, "ignore_missing_vnet_service_endpoint")
607
612
 
608
613
 
614
+ @pulumi.output_type
615
+ class AccountNetworkInjection(dict):
616
+ @staticmethod
617
+ def __key_warning(key: str):
618
+ suggest = None
619
+ if key == "subnetId":
620
+ suggest = "subnet_id"
621
+
622
+ if suggest:
623
+ pulumi.log.warn(f"Key '{key}' not found in AccountNetworkInjection. Access the value via the '{suggest}' property getter instead.")
624
+
625
+ def __getitem__(self, key: str) -> Any:
626
+ AccountNetworkInjection.__key_warning(key)
627
+ return super().__getitem__(key)
628
+
629
+ def get(self, key: str, default = None) -> Any:
630
+ AccountNetworkInjection.__key_warning(key)
631
+ return super().get(key, default)
632
+
633
+ def __init__(__self__, *,
634
+ scenario: _builtins.str,
635
+ subnet_id: _builtins.str):
636
+ """
637
+ :param _builtins.str scenario: Specifies what features network injection applies to. The only possible value is `agent`.
638
+ :param _builtins.str subnet_id: The ID of the subnet which the Agent Client is injected into.
639
+
640
+ > **Note:** The agent subnet must use an address space in the 172.* or 192.* ranges.
641
+ """
642
+ pulumi.set(__self__, "scenario", scenario)
643
+ pulumi.set(__self__, "subnet_id", subnet_id)
644
+
645
+ @_builtins.property
646
+ @pulumi.getter
647
+ def scenario(self) -> _builtins.str:
648
+ """
649
+ Specifies what features network injection applies to. The only possible value is `agent`.
650
+ """
651
+ return pulumi.get(self, "scenario")
652
+
653
+ @_builtins.property
654
+ @pulumi.getter(name="subnetId")
655
+ def subnet_id(self) -> _builtins.str:
656
+ """
657
+ The ID of the subnet which the Agent Client is injected into.
658
+
659
+ > **Note:** The agent subnet must use an address space in the 172.* or 192.* ranges.
660
+ """
661
+ return pulumi.get(self, "subnet_id")
662
+
663
+
609
664
  @pulumi.output_type
610
665
  class AccountRaiPolicyContentFilter(dict):
611
666
  @staticmethod