pulumi-azure 6.27.0a1758868424__py3-none-any.whl → 6.27.0a1759511969__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.
- pulumi_azure/__init__.py +32 -0
- pulumi_azure/apimanagement/backend.py +2 -2
- pulumi_azure/appservice/_inputs.py +78 -6
- pulumi_azure/appservice/app_flex_consumption.py +61 -0
- pulumi_azure/appservice/outputs.py +52 -4
- pulumi_azure/appservice/service_plan.py +14 -14
- pulumi_azure/billing/account_cost_management_export.py +2 -2
- pulumi_azure/cdn/_inputs.py +57 -95
- pulumi_azure/cdn/frontdoor_firewall_policy.py +34 -107
- pulumi_azure/cdn/frontdoor_profile.py +87 -2
- pulumi_azure/cdn/frontdoor_security_policy.py +7 -7
- pulumi_azure/cdn/get_frontdoor_firewall_policy.py +15 -1
- pulumi_azure/cdn/get_frontdoor_profile.py +25 -11
- pulumi_azure/cdn/outputs.py +79 -21
- pulumi_azure/cognitive/account.py +7 -7
- pulumi_azure/compute/__init__.py +1 -0
- pulumi_azure/compute/_inputs.py +79 -47
- pulumi_azure/compute/get_managed_disks.py +140 -0
- pulumi_azure/compute/linux_virtual_machine.py +97 -23
- pulumi_azure/compute/outputs.py +362 -34
- pulumi_azure/compute/windows_virtual_machine.py +172 -42
- pulumi_azure/containerservice/_inputs.py +209 -17
- pulumi_azure/containerservice/cluster_trusted_access_role_binding.py +2 -2
- pulumi_azure/containerservice/get_cluster_node_pool.py +14 -3
- pulumi_azure/containerservice/get_kubernetes_cluster.py +2 -2
- pulumi_azure/containerservice/get_kubernetes_node_pool_snapshot.py +2 -2
- pulumi_azure/containerservice/kubernetes_cluster.py +49 -2
- pulumi_azure/containerservice/kubernetes_cluster_node_pool.py +49 -2
- pulumi_azure/containerservice/outputs.py +173 -11
- pulumi_azure/core/_inputs.py +0 -54
- pulumi_azure/core/outputs.py +0 -36
- pulumi_azure/core/resource_group_cost_management_export.py +2 -2
- pulumi_azure/core/resource_group_policy_assignment.py +7 -7
- pulumi_azure/core/resource_policy_assignment.py +7 -7
- pulumi_azure/core/subscription_cost_management_export.py +2 -2
- pulumi_azure/core/subscription_policy_assignment.py +7 -7
- pulumi_azure/datafactory/__init__.py +1 -0
- pulumi_azure/datafactory/customer_managed_key.py +439 -0
- pulumi_azure/datafactory/factory.py +2 -2
- pulumi_azure/dataprotection/_inputs.py +36 -6
- pulumi_azure/dataprotection/backup_policy_blob_storage.py +76 -2
- pulumi_azure/dataprotection/outputs.py +24 -4
- pulumi_azure/devcenter/get_project_pool.py +15 -1
- pulumi_azure/devcenter/project_pool.py +47 -0
- pulumi_azure/eventgrid/domain.py +2 -2
- pulumi_azure/eventgrid/domain_topic.py +2 -2
- pulumi_azure/eventgrid/event_subscription.py +2 -2
- pulumi_azure/eventgrid/get_domain.py +2 -2
- pulumi_azure/eventgrid/get_domain_topic.py +2 -2
- pulumi_azure/eventgrid/get_partner_namespace.py +2 -2
- pulumi_azure/eventgrid/get_partner_registration.py +2 -2
- pulumi_azure/eventgrid/get_system_topic.py +28 -6
- pulumi_azure/eventgrid/get_topic.py +2 -2
- pulumi_azure/eventgrid/partner_configuration.py +2 -2
- pulumi_azure/eventgrid/partner_namespace.py +2 -2
- pulumi_azure/eventgrid/partner_registration.py +2 -2
- pulumi_azure/eventgrid/system_topic.py +97 -35
- pulumi_azure/eventgrid/system_topic_event_subscription.py +4 -4
- pulumi_azure/eventgrid/topic.py +2 -2
- pulumi_azure/eventhub/domain.py +2 -2
- pulumi_azure/eventhub/event_grid_topic.py +2 -2
- pulumi_azure/eventhub/event_subscription.py +2 -2
- pulumi_azure/hpc/cache_blob_target.py +2 -2
- pulumi_azure/iot/_inputs.py +27 -1
- pulumi_azure/iot/endpoint_cosmosdb_account.py +64 -3
- pulumi_azure/iot/endpoint_eventhub.py +64 -3
- pulumi_azure/iot/endpoint_servicebus_queue.py +64 -3
- pulumi_azure/iot/endpoint_servicebus_topic.py +64 -3
- pulumi_azure/iot/endpoint_storage_container.py +64 -3
- pulumi_azure/iot/outputs.py +19 -1
- pulumi_azure/keyvault/_inputs.py +3 -17
- pulumi_azure/keyvault/get_key_vault.py +13 -1
- pulumi_azure/keyvault/key_vault.py +78 -35
- pulumi_azure/keyvault/outputs.py +2 -10
- pulumi_azure/kusto/_inputs.py +16 -6
- pulumi_azure/kusto/cluster.py +95 -66
- pulumi_azure/kusto/outputs.py +10 -4
- pulumi_azure/lb/get_lb_outbound_rule.py +12 -1
- pulumi_azure/lb/get_lb_rule.py +28 -4
- pulumi_azure/lb/load_balancer.py +94 -0
- pulumi_azure/lb/nat_rule.py +115 -29
- pulumi_azure/lb/outbound_rule.py +60 -17
- pulumi_azure/lb/rule.py +116 -30
- pulumi_azure/loadtest/_inputs.py +6 -3
- pulumi_azure/loadtest/load_test.py +0 -4
- pulumi_azure/loadtest/outputs.py +4 -2
- pulumi_azure/logicapps/_inputs.py +46 -987
- pulumi_azure/logicapps/get_standard.py +0 -7
- pulumi_azure/logicapps/outputs.py +117 -101
- pulumi_azure/logicapps/standard.py +7 -7
- pulumi_azure/machinelearning/_inputs.py +24 -4
- pulumi_azure/machinelearning/compute_instance.py +35 -7
- pulumi_azure/machinelearning/datastore_blobstorage.py +2 -2
- pulumi_azure/machinelearning/datastore_datalake_gen2.py +2 -2
- pulumi_azure/machinelearning/inference_cluster.py +2 -2
- pulumi_azure/machinelearning/outputs.py +17 -3
- pulumi_azure/machinelearning/workspace.py +61 -0
- pulumi_azure/management/_inputs.py +0 -18
- pulumi_azure/management/group_policy_assignment.py +7 -7
- pulumi_azure/management/outputs.py +0 -12
- pulumi_azure/management/private_link_association.py +0 -70
- pulumi_azure/mobile/_inputs.py +14 -6
- pulumi_azure/mobile/network_sim.py +2 -6
- pulumi_azure/mobile/network_sim_policy.py +2 -6
- pulumi_azure/mobile/network_slice.py +116 -31
- pulumi_azure/mobile/outputs.py +6 -4
- pulumi_azure/monitoring/_inputs.py +15 -9
- pulumi_azure/monitoring/activity_log_alert.py +7 -7
- pulumi_azure/monitoring/outputs.py +10 -6
- pulumi_azure/mssql/job_step.py +11 -11
- pulumi_azure/mysql/_inputs.py +20 -0
- pulumi_azure/mysql/outputs.py +14 -0
- pulumi_azure/netapp/_inputs.py +18 -6
- pulumi_azure/netapp/account.py +2 -2
- pulumi_azure/netapp/account_encryption.py +132 -4
- pulumi_azure/netapp/backup_policy.py +2 -2
- pulumi_azure/netapp/backup_vault.py +2 -2
- pulumi_azure/netapp/get_account.py +2 -2
- pulumi_azure/netapp/get_account_encryption.py +25 -3
- pulumi_azure/netapp/get_backup_policy.py +2 -2
- pulumi_azure/netapp/get_backup_vault.py +2 -2
- pulumi_azure/netapp/get_pool.py +17 -3
- pulumi_azure/netapp/get_snapshot.py +2 -2
- pulumi_azure/netapp/get_snapshot_policy.py +2 -2
- pulumi_azure/netapp/get_volume.py +17 -3
- pulumi_azure/netapp/get_volume_group_oracle.py +2 -2
- pulumi_azure/netapp/get_volume_group_sap_hana.py +2 -2
- pulumi_azure/netapp/get_volume_quota_rule.py +2 -2
- pulumi_azure/netapp/outputs.py +12 -4
- pulumi_azure/netapp/pool.py +104 -9
- pulumi_azure/netapp/snapshot.py +2 -2
- pulumi_azure/netapp/snapshot_policy.py +2 -2
- pulumi_azure/netapp/volume.py +82 -7
- pulumi_azure/netapp/volume_group_oracle.py +2 -2
- pulumi_azure/netapp/volume_group_sap_hana.py +2 -2
- pulumi_azure/netapp/volume_quota_rule.py +2 -2
- pulumi_azure/network/__init__.py +2 -0
- pulumi_azure/network/network_manager_ipam_pool_static_cidr.py +415 -0
- pulumi_azure/network/network_manager_routing_configuration.py +7 -7
- pulumi_azure/network/network_manager_routing_rule_collection.py +429 -0
- pulumi_azure/network/subnet.py +76 -1
- pulumi_azure/oracle/__init__.py +3 -0
- pulumi_azure/oracle/autonomous_database_backup.py +310 -0
- pulumi_azure/oracle/get_autonomous_database_backup.py +347 -0
- pulumi_azure/oracle/get_autonomous_database_backups.py +138 -0
- pulumi_azure/oracle/outputs.py +191 -0
- pulumi_azure/paloalto/next_generation_firewall_virtual_hub_local_rulestack.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_hub_panorama.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_network_local_rulestack.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_network_panorama.py +2 -2
- pulumi_azure/policy/_inputs.py +6 -0
- pulumi_azure/policy/outputs.py +4 -0
- pulumi_azure/postgresql/flexible_server.py +7 -7
- pulumi_azure/postgresql/flexible_server_firewall_rule.py +14 -14
- pulumi_azure/pulumi-plugin.json +1 -1
- pulumi_azure/search/service.py +7 -7
- pulumi_azure/sentinel/_inputs.py +144 -0
- pulumi_azure/sentinel/authomation_rule.py +47 -0
- pulumi_azure/sentinel/automation_rule.py +47 -0
- pulumi_azure/sentinel/outputs.py +84 -0
- pulumi_azure/storage/_inputs.py +3 -3
- pulumi_azure/storage/container_immutability_policy.py +2 -2
- pulumi_azure/storage/get_queue.py +59 -8
- pulumi_azure/storage/outputs.py +2 -2
- pulumi_azure/storage/queue.py +159 -27
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/METADATA +1 -1
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/RECORD +169 -162
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/WHEEL +0 -0
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/top_level.txt +0 -0
pulumi_azure/search/service.py
CHANGED
|
@@ -59,7 +59,7 @@ class ServiceArgs:
|
|
|
59
59
|
:param pulumi.Input[_builtins.bool] local_authentication_enabled: Specifies whether the Search Service allows authenticating using API Keys? Defaults to `true`.
|
|
60
60
|
:param pulumi.Input[_builtins.str] location: The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created.
|
|
61
61
|
:param pulumi.Input[_builtins.str] name: The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.
|
|
62
|
-
:param pulumi.Input[_builtins.str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted
|
|
62
|
+
:param pulumi.Input[_builtins.str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted Search Service? Possible values are `None` and `AzureServices`. Defaults to `None`.
|
|
63
63
|
:param pulumi.Input[_builtins.int] partition_count: Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`.
|
|
64
64
|
|
|
65
65
|
> **Note:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`.
|
|
@@ -235,7 +235,7 @@ class ServiceArgs:
|
|
|
235
235
|
@pulumi.getter(name="networkRuleBypassOption")
|
|
236
236
|
def network_rule_bypass_option(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
237
237
|
"""
|
|
238
|
-
Whether to allow trusted Azure services to access a network restricted
|
|
238
|
+
Whether to allow trusted Azure services to access a network restricted Search Service? Possible values are `None` and `AzureServices`. Defaults to `None`.
|
|
239
239
|
"""
|
|
240
240
|
return pulumi.get(self, "network_rule_bypass_option")
|
|
241
241
|
|
|
@@ -348,7 +348,7 @@ class _ServiceState:
|
|
|
348
348
|
:param pulumi.Input[_builtins.bool] local_authentication_enabled: Specifies whether the Search Service allows authenticating using API Keys? Defaults to `true`.
|
|
349
349
|
:param pulumi.Input[_builtins.str] location: The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created.
|
|
350
350
|
:param pulumi.Input[_builtins.str] name: The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.
|
|
351
|
-
:param pulumi.Input[_builtins.str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted
|
|
351
|
+
:param pulumi.Input[_builtins.str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted Search Service? Possible values are `None` and `AzureServices`. Defaults to `None`.
|
|
352
352
|
:param pulumi.Input[_builtins.int] partition_count: Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`.
|
|
353
353
|
|
|
354
354
|
> **Note:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`.
|
|
@@ -527,7 +527,7 @@ class _ServiceState:
|
|
|
527
527
|
@pulumi.getter(name="networkRuleBypassOption")
|
|
528
528
|
def network_rule_bypass_option(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
529
529
|
"""
|
|
530
|
-
Whether to allow trusted Azure services to access a network restricted
|
|
530
|
+
Whether to allow trusted Azure services to access a network restricted Search Service? Possible values are `None` and `AzureServices`. Defaults to `None`.
|
|
531
531
|
"""
|
|
532
532
|
return pulumi.get(self, "network_rule_bypass_option")
|
|
533
533
|
|
|
@@ -774,7 +774,7 @@ class Service(pulumi.CustomResource):
|
|
|
774
774
|
:param pulumi.Input[_builtins.bool] local_authentication_enabled: Specifies whether the Search Service allows authenticating using API Keys? Defaults to `true`.
|
|
775
775
|
:param pulumi.Input[_builtins.str] location: The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created.
|
|
776
776
|
:param pulumi.Input[_builtins.str] name: The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.
|
|
777
|
-
:param pulumi.Input[_builtins.str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted
|
|
777
|
+
:param pulumi.Input[_builtins.str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted Search Service? Possible values are `None` and `AzureServices`. Defaults to `None`.
|
|
778
778
|
:param pulumi.Input[_builtins.int] partition_count: Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`.
|
|
779
779
|
|
|
780
780
|
> **Note:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`.
|
|
@@ -986,7 +986,7 @@ class Service(pulumi.CustomResource):
|
|
|
986
986
|
:param pulumi.Input[_builtins.bool] local_authentication_enabled: Specifies whether the Search Service allows authenticating using API Keys? Defaults to `true`.
|
|
987
987
|
:param pulumi.Input[_builtins.str] location: The Azure Region where the Search Service should exist. Changing this forces a new Search Service to be created.
|
|
988
988
|
:param pulumi.Input[_builtins.str] name: The Name which should be used for this Search Service. Changing this forces a new Search Service to be created.
|
|
989
|
-
:param pulumi.Input[_builtins.str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted
|
|
989
|
+
:param pulumi.Input[_builtins.str] network_rule_bypass_option: Whether to allow trusted Azure services to access a network restricted Search Service? Possible values are `None` and `AzureServices`. Defaults to `None`.
|
|
990
990
|
:param pulumi.Input[_builtins.int] partition_count: Specifies the number of partitions which should be created. This field cannot be set when using a `free` sku ([see the Microsoft documentation](https://learn.microsoft.com/azure/search/search-sku-tier)). Possible values include `1`, `2`, `3`, `4`, `6`, or `12`. Defaults to `1`.
|
|
991
991
|
|
|
992
992
|
> **Note:** when `hosting_mode` is set to `highDensity` the maximum number of partitions allowed is `3`.
|
|
@@ -1114,7 +1114,7 @@ class Service(pulumi.CustomResource):
|
|
|
1114
1114
|
@pulumi.getter(name="networkRuleBypassOption")
|
|
1115
1115
|
def network_rule_bypass_option(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1116
1116
|
"""
|
|
1117
|
-
Whether to allow trusted Azure services to access a network restricted
|
|
1117
|
+
Whether to allow trusted Azure services to access a network restricted Search Service? Possible values are `None` and `AzureServices`. Defaults to `None`.
|
|
1118
1118
|
"""
|
|
1119
1119
|
return pulumi.get(self, "network_rule_bypass_option")
|
|
1120
1120
|
|
pulumi_azure/sentinel/_inputs.py
CHANGED
|
@@ -73,10 +73,14 @@ __all__ = [
|
|
|
73
73
|
'AlertRuleScheduledSentinelEntityMappingArgsDict',
|
|
74
74
|
'AuthomationRuleActionIncidentArgs',
|
|
75
75
|
'AuthomationRuleActionIncidentArgsDict',
|
|
76
|
+
'AuthomationRuleActionIncidentTaskArgs',
|
|
77
|
+
'AuthomationRuleActionIncidentTaskArgsDict',
|
|
76
78
|
'AuthomationRuleActionPlaybookArgs',
|
|
77
79
|
'AuthomationRuleActionPlaybookArgsDict',
|
|
78
80
|
'AutomationRuleActionIncidentArgs',
|
|
79
81
|
'AutomationRuleActionIncidentArgsDict',
|
|
82
|
+
'AutomationRuleActionIncidentTaskArgs',
|
|
83
|
+
'AutomationRuleActionIncidentTaskArgsDict',
|
|
80
84
|
'AutomationRuleActionPlaybookArgs',
|
|
81
85
|
'AutomationRuleActionPlaybookArgsDict',
|
|
82
86
|
'MetadataAuthorArgs',
|
|
@@ -2336,6 +2340,76 @@ class AuthomationRuleActionIncidentArgs:
|
|
|
2336
2340
|
pulumi.set(self, "status", value)
|
|
2337
2341
|
|
|
2338
2342
|
|
|
2343
|
+
if not MYPY:
|
|
2344
|
+
class AuthomationRuleActionIncidentTaskArgsDict(TypedDict):
|
|
2345
|
+
order: pulumi.Input[_builtins.int]
|
|
2346
|
+
"""
|
|
2347
|
+
The execution order of this action.
|
|
2348
|
+
"""
|
|
2349
|
+
title: pulumi.Input[_builtins.str]
|
|
2350
|
+
"""
|
|
2351
|
+
The title of the incident task.
|
|
2352
|
+
"""
|
|
2353
|
+
description: NotRequired[pulumi.Input[_builtins.str]]
|
|
2354
|
+
"""
|
|
2355
|
+
The description of the incident task.
|
|
2356
|
+
"""
|
|
2357
|
+
elif False:
|
|
2358
|
+
AuthomationRuleActionIncidentTaskArgsDict: TypeAlias = Mapping[str, Any]
|
|
2359
|
+
|
|
2360
|
+
@pulumi.input_type
|
|
2361
|
+
class AuthomationRuleActionIncidentTaskArgs:
|
|
2362
|
+
def __init__(__self__, *,
|
|
2363
|
+
order: pulumi.Input[_builtins.int],
|
|
2364
|
+
title: pulumi.Input[_builtins.str],
|
|
2365
|
+
description: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2366
|
+
"""
|
|
2367
|
+
:param pulumi.Input[_builtins.int] order: The execution order of this action.
|
|
2368
|
+
:param pulumi.Input[_builtins.str] title: The title of the incident task.
|
|
2369
|
+
:param pulumi.Input[_builtins.str] description: The description of the incident task.
|
|
2370
|
+
"""
|
|
2371
|
+
pulumi.set(__self__, "order", order)
|
|
2372
|
+
pulumi.set(__self__, "title", title)
|
|
2373
|
+
if description is not None:
|
|
2374
|
+
pulumi.set(__self__, "description", description)
|
|
2375
|
+
|
|
2376
|
+
@_builtins.property
|
|
2377
|
+
@pulumi.getter
|
|
2378
|
+
def order(self) -> pulumi.Input[_builtins.int]:
|
|
2379
|
+
"""
|
|
2380
|
+
The execution order of this action.
|
|
2381
|
+
"""
|
|
2382
|
+
return pulumi.get(self, "order")
|
|
2383
|
+
|
|
2384
|
+
@order.setter
|
|
2385
|
+
def order(self, value: pulumi.Input[_builtins.int]):
|
|
2386
|
+
pulumi.set(self, "order", value)
|
|
2387
|
+
|
|
2388
|
+
@_builtins.property
|
|
2389
|
+
@pulumi.getter
|
|
2390
|
+
def title(self) -> pulumi.Input[_builtins.str]:
|
|
2391
|
+
"""
|
|
2392
|
+
The title of the incident task.
|
|
2393
|
+
"""
|
|
2394
|
+
return pulumi.get(self, "title")
|
|
2395
|
+
|
|
2396
|
+
@title.setter
|
|
2397
|
+
def title(self, value: pulumi.Input[_builtins.str]):
|
|
2398
|
+
pulumi.set(self, "title", value)
|
|
2399
|
+
|
|
2400
|
+
@_builtins.property
|
|
2401
|
+
@pulumi.getter
|
|
2402
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2403
|
+
"""
|
|
2404
|
+
The description of the incident task.
|
|
2405
|
+
"""
|
|
2406
|
+
return pulumi.get(self, "description")
|
|
2407
|
+
|
|
2408
|
+
@description.setter
|
|
2409
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2410
|
+
pulumi.set(self, "description", value)
|
|
2411
|
+
|
|
2412
|
+
|
|
2339
2413
|
if not MYPY:
|
|
2340
2414
|
class AuthomationRuleActionPlaybookArgsDict(TypedDict):
|
|
2341
2415
|
logic_app_id: pulumi.Input[_builtins.str]
|
|
@@ -2575,6 +2649,76 @@ class AutomationRuleActionIncidentArgs:
|
|
|
2575
2649
|
pulumi.set(self, "status", value)
|
|
2576
2650
|
|
|
2577
2651
|
|
|
2652
|
+
if not MYPY:
|
|
2653
|
+
class AutomationRuleActionIncidentTaskArgsDict(TypedDict):
|
|
2654
|
+
order: pulumi.Input[_builtins.int]
|
|
2655
|
+
"""
|
|
2656
|
+
The execution order of this action.
|
|
2657
|
+
"""
|
|
2658
|
+
title: pulumi.Input[_builtins.str]
|
|
2659
|
+
"""
|
|
2660
|
+
The title of the incident task.
|
|
2661
|
+
"""
|
|
2662
|
+
description: NotRequired[pulumi.Input[_builtins.str]]
|
|
2663
|
+
"""
|
|
2664
|
+
The description of the incident task.
|
|
2665
|
+
"""
|
|
2666
|
+
elif False:
|
|
2667
|
+
AutomationRuleActionIncidentTaskArgsDict: TypeAlias = Mapping[str, Any]
|
|
2668
|
+
|
|
2669
|
+
@pulumi.input_type
|
|
2670
|
+
class AutomationRuleActionIncidentTaskArgs:
|
|
2671
|
+
def __init__(__self__, *,
|
|
2672
|
+
order: pulumi.Input[_builtins.int],
|
|
2673
|
+
title: pulumi.Input[_builtins.str],
|
|
2674
|
+
description: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2675
|
+
"""
|
|
2676
|
+
:param pulumi.Input[_builtins.int] order: The execution order of this action.
|
|
2677
|
+
:param pulumi.Input[_builtins.str] title: The title of the incident task.
|
|
2678
|
+
:param pulumi.Input[_builtins.str] description: The description of the incident task.
|
|
2679
|
+
"""
|
|
2680
|
+
pulumi.set(__self__, "order", order)
|
|
2681
|
+
pulumi.set(__self__, "title", title)
|
|
2682
|
+
if description is not None:
|
|
2683
|
+
pulumi.set(__self__, "description", description)
|
|
2684
|
+
|
|
2685
|
+
@_builtins.property
|
|
2686
|
+
@pulumi.getter
|
|
2687
|
+
def order(self) -> pulumi.Input[_builtins.int]:
|
|
2688
|
+
"""
|
|
2689
|
+
The execution order of this action.
|
|
2690
|
+
"""
|
|
2691
|
+
return pulumi.get(self, "order")
|
|
2692
|
+
|
|
2693
|
+
@order.setter
|
|
2694
|
+
def order(self, value: pulumi.Input[_builtins.int]):
|
|
2695
|
+
pulumi.set(self, "order", value)
|
|
2696
|
+
|
|
2697
|
+
@_builtins.property
|
|
2698
|
+
@pulumi.getter
|
|
2699
|
+
def title(self) -> pulumi.Input[_builtins.str]:
|
|
2700
|
+
"""
|
|
2701
|
+
The title of the incident task.
|
|
2702
|
+
"""
|
|
2703
|
+
return pulumi.get(self, "title")
|
|
2704
|
+
|
|
2705
|
+
@title.setter
|
|
2706
|
+
def title(self, value: pulumi.Input[_builtins.str]):
|
|
2707
|
+
pulumi.set(self, "title", value)
|
|
2708
|
+
|
|
2709
|
+
@_builtins.property
|
|
2710
|
+
@pulumi.getter
|
|
2711
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2712
|
+
"""
|
|
2713
|
+
The description of the incident task.
|
|
2714
|
+
"""
|
|
2715
|
+
return pulumi.get(self, "description")
|
|
2716
|
+
|
|
2717
|
+
@description.setter
|
|
2718
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2719
|
+
pulumi.set(self, "description", value)
|
|
2720
|
+
|
|
2721
|
+
|
|
2578
2722
|
if not MYPY:
|
|
2579
2723
|
class AutomationRuleActionPlaybookArgsDict(TypedDict):
|
|
2580
2724
|
logic_app_id: pulumi.Input[_builtins.str]
|
|
@@ -24,6 +24,7 @@ class AuthomationRuleArgs:
|
|
|
24
24
|
display_name: pulumi.Input[_builtins.str],
|
|
25
25
|
log_analytics_workspace_id: pulumi.Input[_builtins.str],
|
|
26
26
|
order: pulumi.Input[_builtins.int],
|
|
27
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentTaskArgs']]]] = None,
|
|
27
28
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentArgs']]]] = None,
|
|
28
29
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionPlaybookArgs']]]] = None,
|
|
29
30
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -37,6 +38,7 @@ class AuthomationRuleArgs:
|
|
|
37
38
|
:param pulumi.Input[_builtins.str] display_name: The display name which should be used for this Sentinel Automation Rule.
|
|
38
39
|
:param pulumi.Input[_builtins.str] log_analytics_workspace_id: The ID of the Log Analytics Workspace where this Sentinel applies to. Changing this forces a new Sentinel Automation Rule to be created.
|
|
39
40
|
:param pulumi.Input[_builtins.int] order: The order of this Sentinel Automation Rule. Possible values varies between `1` and `1000`.
|
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentTaskArgs']]] action_incident_tasks: One or more `action_incident_task` blocks as defined below.
|
|
40
42
|
:param pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentArgs']]] action_incidents: One or more `action_incident` blocks as defined below.
|
|
41
43
|
:param pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionPlaybookArgs']]] action_playbooks: One or more `action_playbook` blocks as defined below.
|
|
42
44
|
|
|
@@ -51,6 +53,8 @@ class AuthomationRuleArgs:
|
|
|
51
53
|
pulumi.set(__self__, "display_name", display_name)
|
|
52
54
|
pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id)
|
|
53
55
|
pulumi.set(__self__, "order", order)
|
|
56
|
+
if action_incident_tasks is not None:
|
|
57
|
+
pulumi.set(__self__, "action_incident_tasks", action_incident_tasks)
|
|
54
58
|
if action_incidents is not None:
|
|
55
59
|
pulumi.set(__self__, "action_incidents", action_incidents)
|
|
56
60
|
if action_playbooks is not None:
|
|
@@ -104,6 +108,18 @@ class AuthomationRuleArgs:
|
|
|
104
108
|
def order(self, value: pulumi.Input[_builtins.int]):
|
|
105
109
|
pulumi.set(self, "order", value)
|
|
106
110
|
|
|
111
|
+
@_builtins.property
|
|
112
|
+
@pulumi.getter(name="actionIncidentTasks")
|
|
113
|
+
def action_incident_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentTaskArgs']]]]:
|
|
114
|
+
"""
|
|
115
|
+
One or more `action_incident_task` blocks as defined below.
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "action_incident_tasks")
|
|
118
|
+
|
|
119
|
+
@action_incident_tasks.setter
|
|
120
|
+
def action_incident_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentTaskArgs']]]]):
|
|
121
|
+
pulumi.set(self, "action_incident_tasks", value)
|
|
122
|
+
|
|
107
123
|
@_builtins.property
|
|
108
124
|
@pulumi.getter(name="actionIncidents")
|
|
109
125
|
def action_incidents(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentArgs']]]]:
|
|
@@ -206,6 +222,7 @@ class AuthomationRuleArgs:
|
|
|
206
222
|
@pulumi.input_type
|
|
207
223
|
class _AuthomationRuleState:
|
|
208
224
|
def __init__(__self__, *,
|
|
225
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentTaskArgs']]]] = None,
|
|
209
226
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentArgs']]]] = None,
|
|
210
227
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionPlaybookArgs']]]] = None,
|
|
211
228
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -219,6 +236,7 @@ class _AuthomationRuleState:
|
|
|
219
236
|
triggers_when: Optional[pulumi.Input[_builtins.str]] = None):
|
|
220
237
|
"""
|
|
221
238
|
Input properties used for looking up and filtering AuthomationRule resources.
|
|
239
|
+
:param pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentTaskArgs']]] action_incident_tasks: One or more `action_incident_task` blocks as defined below.
|
|
222
240
|
:param pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentArgs']]] action_incidents: One or more `action_incident` blocks as defined below.
|
|
223
241
|
:param pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionPlaybookArgs']]] action_playbooks: One or more `action_playbook` blocks as defined below.
|
|
224
242
|
|
|
@@ -233,6 +251,8 @@ class _AuthomationRuleState:
|
|
|
233
251
|
:param pulumi.Input[_builtins.str] triggers_on: Specifies what triggers this automation rule. Possible values are `Alerts` and `Incidents`. Defaults to `Incidents`.
|
|
234
252
|
:param pulumi.Input[_builtins.str] triggers_when: Specifies when will this automation rule be triggered. Possible values are `Created` and `Updated`. Defaults to `Created`.
|
|
235
253
|
"""
|
|
254
|
+
if action_incident_tasks is not None:
|
|
255
|
+
pulumi.set(__self__, "action_incident_tasks", action_incident_tasks)
|
|
236
256
|
if action_incidents is not None:
|
|
237
257
|
pulumi.set(__self__, "action_incidents", action_incidents)
|
|
238
258
|
if action_playbooks is not None:
|
|
@@ -256,6 +276,18 @@ class _AuthomationRuleState:
|
|
|
256
276
|
if triggers_when is not None:
|
|
257
277
|
pulumi.set(__self__, "triggers_when", triggers_when)
|
|
258
278
|
|
|
279
|
+
@_builtins.property
|
|
280
|
+
@pulumi.getter(name="actionIncidentTasks")
|
|
281
|
+
def action_incident_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentTaskArgs']]]]:
|
|
282
|
+
"""
|
|
283
|
+
One or more `action_incident_task` blocks as defined below.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "action_incident_tasks")
|
|
286
|
+
|
|
287
|
+
@action_incident_tasks.setter
|
|
288
|
+
def action_incident_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentTaskArgs']]]]):
|
|
289
|
+
pulumi.set(self, "action_incident_tasks", value)
|
|
290
|
+
|
|
259
291
|
@_builtins.property
|
|
260
292
|
@pulumi.getter(name="actionIncidents")
|
|
261
293
|
def action_incidents(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuthomationRuleActionIncidentArgs']]]]:
|
|
@@ -402,6 +434,7 @@ class AuthomationRule(pulumi.CustomResource):
|
|
|
402
434
|
def __init__(__self__,
|
|
403
435
|
resource_name: str,
|
|
404
436
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
437
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentTaskArgs', 'AuthomationRuleActionIncidentTaskArgsDict']]]]] = None,
|
|
405
438
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentArgs', 'AuthomationRuleActionIncidentArgsDict']]]]] = None,
|
|
406
439
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionPlaybookArgs', 'AuthomationRuleActionPlaybookArgsDict']]]]] = None,
|
|
407
440
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -460,6 +493,7 @@ class AuthomationRule(pulumi.CustomResource):
|
|
|
460
493
|
|
|
461
494
|
:param str resource_name: The name of the resource.
|
|
462
495
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
496
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentTaskArgs', 'AuthomationRuleActionIncidentTaskArgsDict']]]] action_incident_tasks: One or more `action_incident_task` blocks as defined below.
|
|
463
497
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentArgs', 'AuthomationRuleActionIncidentArgsDict']]]] action_incidents: One or more `action_incident` blocks as defined below.
|
|
464
498
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionPlaybookArgs', 'AuthomationRuleActionPlaybookArgsDict']]]] action_playbooks: One or more `action_playbook` blocks as defined below.
|
|
465
499
|
|
|
@@ -539,6 +573,7 @@ class AuthomationRule(pulumi.CustomResource):
|
|
|
539
573
|
def _internal_init(__self__,
|
|
540
574
|
resource_name: str,
|
|
541
575
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
576
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentTaskArgs', 'AuthomationRuleActionIncidentTaskArgsDict']]]]] = None,
|
|
542
577
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentArgs', 'AuthomationRuleActionIncidentArgsDict']]]]] = None,
|
|
543
578
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionPlaybookArgs', 'AuthomationRuleActionPlaybookArgsDict']]]]] = None,
|
|
544
579
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -560,6 +595,7 @@ class AuthomationRule(pulumi.CustomResource):
|
|
|
560
595
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
561
596
|
__props__ = AuthomationRuleArgs.__new__(AuthomationRuleArgs)
|
|
562
597
|
|
|
598
|
+
__props__.__dict__["action_incident_tasks"] = action_incident_tasks
|
|
563
599
|
__props__.__dict__["action_incidents"] = action_incidents
|
|
564
600
|
__props__.__dict__["action_playbooks"] = action_playbooks
|
|
565
601
|
__props__.__dict__["condition_json"] = condition_json
|
|
@@ -587,6 +623,7 @@ class AuthomationRule(pulumi.CustomResource):
|
|
|
587
623
|
def get(resource_name: str,
|
|
588
624
|
id: pulumi.Input[str],
|
|
589
625
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
626
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentTaskArgs', 'AuthomationRuleActionIncidentTaskArgsDict']]]]] = None,
|
|
590
627
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentArgs', 'AuthomationRuleActionIncidentArgsDict']]]]] = None,
|
|
591
628
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionPlaybookArgs', 'AuthomationRuleActionPlaybookArgsDict']]]]] = None,
|
|
592
629
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -605,6 +642,7 @@ class AuthomationRule(pulumi.CustomResource):
|
|
|
605
642
|
:param str resource_name: The unique name of the resulting resource.
|
|
606
643
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
607
644
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
645
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentTaskArgs', 'AuthomationRuleActionIncidentTaskArgsDict']]]] action_incident_tasks: One or more `action_incident_task` blocks as defined below.
|
|
608
646
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionIncidentArgs', 'AuthomationRuleActionIncidentArgsDict']]]] action_incidents: One or more `action_incident` blocks as defined below.
|
|
609
647
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AuthomationRuleActionPlaybookArgs', 'AuthomationRuleActionPlaybookArgsDict']]]] action_playbooks: One or more `action_playbook` blocks as defined below.
|
|
610
648
|
|
|
@@ -623,6 +661,7 @@ class AuthomationRule(pulumi.CustomResource):
|
|
|
623
661
|
|
|
624
662
|
__props__ = _AuthomationRuleState.__new__(_AuthomationRuleState)
|
|
625
663
|
|
|
664
|
+
__props__.__dict__["action_incident_tasks"] = action_incident_tasks
|
|
626
665
|
__props__.__dict__["action_incidents"] = action_incidents
|
|
627
666
|
__props__.__dict__["action_playbooks"] = action_playbooks
|
|
628
667
|
__props__.__dict__["condition_json"] = condition_json
|
|
@@ -636,6 +675,14 @@ class AuthomationRule(pulumi.CustomResource):
|
|
|
636
675
|
__props__.__dict__["triggers_when"] = triggers_when
|
|
637
676
|
return AuthomationRule(resource_name, opts=opts, __props__=__props__)
|
|
638
677
|
|
|
678
|
+
@_builtins.property
|
|
679
|
+
@pulumi.getter(name="actionIncidentTasks")
|
|
680
|
+
def action_incident_tasks(self) -> pulumi.Output[Optional[Sequence['outputs.AuthomationRuleActionIncidentTask']]]:
|
|
681
|
+
"""
|
|
682
|
+
One or more `action_incident_task` blocks as defined below.
|
|
683
|
+
"""
|
|
684
|
+
return pulumi.get(self, "action_incident_tasks")
|
|
685
|
+
|
|
639
686
|
@_builtins.property
|
|
640
687
|
@pulumi.getter(name="actionIncidents")
|
|
641
688
|
def action_incidents(self) -> pulumi.Output[Optional[Sequence['outputs.AuthomationRuleActionIncident']]]:
|
|
@@ -24,6 +24,7 @@ class AutomationRuleArgs:
|
|
|
24
24
|
display_name: pulumi.Input[_builtins.str],
|
|
25
25
|
log_analytics_workspace_id: pulumi.Input[_builtins.str],
|
|
26
26
|
order: pulumi.Input[_builtins.int],
|
|
27
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentTaskArgs']]]] = None,
|
|
27
28
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentArgs']]]] = None,
|
|
28
29
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionPlaybookArgs']]]] = None,
|
|
29
30
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -37,6 +38,7 @@ class AutomationRuleArgs:
|
|
|
37
38
|
:param pulumi.Input[_builtins.str] display_name: The display name which should be used for this Sentinel Automation Rule.
|
|
38
39
|
:param pulumi.Input[_builtins.str] log_analytics_workspace_id: The ID of the Log Analytics Workspace where this Sentinel applies to. Changing this forces a new Sentinel Automation Rule to be created.
|
|
39
40
|
:param pulumi.Input[_builtins.int] order: The order of this Sentinel Automation Rule. Possible values varies between `1` and `1000`.
|
|
41
|
+
:param pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentTaskArgs']]] action_incident_tasks: One or more `action_incident_task` blocks as defined below.
|
|
40
42
|
:param pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentArgs']]] action_incidents: One or more `action_incident` blocks as defined below.
|
|
41
43
|
:param pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionPlaybookArgs']]] action_playbooks: One or more `action_playbook` blocks as defined below.
|
|
42
44
|
|
|
@@ -51,6 +53,8 @@ class AutomationRuleArgs:
|
|
|
51
53
|
pulumi.set(__self__, "display_name", display_name)
|
|
52
54
|
pulumi.set(__self__, "log_analytics_workspace_id", log_analytics_workspace_id)
|
|
53
55
|
pulumi.set(__self__, "order", order)
|
|
56
|
+
if action_incident_tasks is not None:
|
|
57
|
+
pulumi.set(__self__, "action_incident_tasks", action_incident_tasks)
|
|
54
58
|
if action_incidents is not None:
|
|
55
59
|
pulumi.set(__self__, "action_incidents", action_incidents)
|
|
56
60
|
if action_playbooks is not None:
|
|
@@ -104,6 +108,18 @@ class AutomationRuleArgs:
|
|
|
104
108
|
def order(self, value: pulumi.Input[_builtins.int]):
|
|
105
109
|
pulumi.set(self, "order", value)
|
|
106
110
|
|
|
111
|
+
@_builtins.property
|
|
112
|
+
@pulumi.getter(name="actionIncidentTasks")
|
|
113
|
+
def action_incident_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentTaskArgs']]]]:
|
|
114
|
+
"""
|
|
115
|
+
One or more `action_incident_task` blocks as defined below.
|
|
116
|
+
"""
|
|
117
|
+
return pulumi.get(self, "action_incident_tasks")
|
|
118
|
+
|
|
119
|
+
@action_incident_tasks.setter
|
|
120
|
+
def action_incident_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentTaskArgs']]]]):
|
|
121
|
+
pulumi.set(self, "action_incident_tasks", value)
|
|
122
|
+
|
|
107
123
|
@_builtins.property
|
|
108
124
|
@pulumi.getter(name="actionIncidents")
|
|
109
125
|
def action_incidents(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentArgs']]]]:
|
|
@@ -206,6 +222,7 @@ class AutomationRuleArgs:
|
|
|
206
222
|
@pulumi.input_type
|
|
207
223
|
class _AutomationRuleState:
|
|
208
224
|
def __init__(__self__, *,
|
|
225
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentTaskArgs']]]] = None,
|
|
209
226
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentArgs']]]] = None,
|
|
210
227
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionPlaybookArgs']]]] = None,
|
|
211
228
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -219,6 +236,7 @@ class _AutomationRuleState:
|
|
|
219
236
|
triggers_when: Optional[pulumi.Input[_builtins.str]] = None):
|
|
220
237
|
"""
|
|
221
238
|
Input properties used for looking up and filtering AutomationRule resources.
|
|
239
|
+
:param pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentTaskArgs']]] action_incident_tasks: One or more `action_incident_task` blocks as defined below.
|
|
222
240
|
:param pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentArgs']]] action_incidents: One or more `action_incident` blocks as defined below.
|
|
223
241
|
:param pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionPlaybookArgs']]] action_playbooks: One or more `action_playbook` blocks as defined below.
|
|
224
242
|
|
|
@@ -233,6 +251,8 @@ class _AutomationRuleState:
|
|
|
233
251
|
:param pulumi.Input[_builtins.str] triggers_on: Specifies what triggers this automation rule. Possible values are `Alerts` and `Incidents`. Defaults to `Incidents`.
|
|
234
252
|
:param pulumi.Input[_builtins.str] triggers_when: Specifies when will this automation rule be triggered. Possible values are `Created` and `Updated`. Defaults to `Created`.
|
|
235
253
|
"""
|
|
254
|
+
if action_incident_tasks is not None:
|
|
255
|
+
pulumi.set(__self__, "action_incident_tasks", action_incident_tasks)
|
|
236
256
|
if action_incidents is not None:
|
|
237
257
|
pulumi.set(__self__, "action_incidents", action_incidents)
|
|
238
258
|
if action_playbooks is not None:
|
|
@@ -256,6 +276,18 @@ class _AutomationRuleState:
|
|
|
256
276
|
if triggers_when is not None:
|
|
257
277
|
pulumi.set(__self__, "triggers_when", triggers_when)
|
|
258
278
|
|
|
279
|
+
@_builtins.property
|
|
280
|
+
@pulumi.getter(name="actionIncidentTasks")
|
|
281
|
+
def action_incident_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentTaskArgs']]]]:
|
|
282
|
+
"""
|
|
283
|
+
One or more `action_incident_task` blocks as defined below.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "action_incident_tasks")
|
|
286
|
+
|
|
287
|
+
@action_incident_tasks.setter
|
|
288
|
+
def action_incident_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentTaskArgs']]]]):
|
|
289
|
+
pulumi.set(self, "action_incident_tasks", value)
|
|
290
|
+
|
|
259
291
|
@_builtins.property
|
|
260
292
|
@pulumi.getter(name="actionIncidents")
|
|
261
293
|
def action_incidents(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleActionIncidentArgs']]]]:
|
|
@@ -397,6 +429,7 @@ class AutomationRule(pulumi.CustomResource):
|
|
|
397
429
|
def __init__(__self__,
|
|
398
430
|
resource_name: str,
|
|
399
431
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
432
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentTaskArgs', 'AutomationRuleActionIncidentTaskArgsDict']]]]] = None,
|
|
400
433
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentArgs', 'AutomationRuleActionIncidentArgsDict']]]]] = None,
|
|
401
434
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionPlaybookArgs', 'AutomationRuleActionPlaybookArgsDict']]]]] = None,
|
|
402
435
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -455,6 +488,7 @@ class AutomationRule(pulumi.CustomResource):
|
|
|
455
488
|
|
|
456
489
|
:param str resource_name: The name of the resource.
|
|
457
490
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
491
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentTaskArgs', 'AutomationRuleActionIncidentTaskArgsDict']]]] action_incident_tasks: One or more `action_incident_task` blocks as defined below.
|
|
458
492
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentArgs', 'AutomationRuleActionIncidentArgsDict']]]] action_incidents: One or more `action_incident` blocks as defined below.
|
|
459
493
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionPlaybookArgs', 'AutomationRuleActionPlaybookArgsDict']]]] action_playbooks: One or more `action_playbook` blocks as defined below.
|
|
460
494
|
|
|
@@ -534,6 +568,7 @@ class AutomationRule(pulumi.CustomResource):
|
|
|
534
568
|
def _internal_init(__self__,
|
|
535
569
|
resource_name: str,
|
|
536
570
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
571
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentTaskArgs', 'AutomationRuleActionIncidentTaskArgsDict']]]]] = None,
|
|
537
572
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentArgs', 'AutomationRuleActionIncidentArgsDict']]]]] = None,
|
|
538
573
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionPlaybookArgs', 'AutomationRuleActionPlaybookArgsDict']]]]] = None,
|
|
539
574
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -554,6 +589,7 @@ class AutomationRule(pulumi.CustomResource):
|
|
|
554
589
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
555
590
|
__props__ = AutomationRuleArgs.__new__(AutomationRuleArgs)
|
|
556
591
|
|
|
592
|
+
__props__.__dict__["action_incident_tasks"] = action_incident_tasks
|
|
557
593
|
__props__.__dict__["action_incidents"] = action_incidents
|
|
558
594
|
__props__.__dict__["action_playbooks"] = action_playbooks
|
|
559
595
|
__props__.__dict__["condition_json"] = condition_json
|
|
@@ -583,6 +619,7 @@ class AutomationRule(pulumi.CustomResource):
|
|
|
583
619
|
def get(resource_name: str,
|
|
584
620
|
id: pulumi.Input[str],
|
|
585
621
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
622
|
+
action_incident_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentTaskArgs', 'AutomationRuleActionIncidentTaskArgsDict']]]]] = None,
|
|
586
623
|
action_incidents: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentArgs', 'AutomationRuleActionIncidentArgsDict']]]]] = None,
|
|
587
624
|
action_playbooks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionPlaybookArgs', 'AutomationRuleActionPlaybookArgsDict']]]]] = None,
|
|
588
625
|
condition_json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -601,6 +638,7 @@ class AutomationRule(pulumi.CustomResource):
|
|
|
601
638
|
:param str resource_name: The unique name of the resulting resource.
|
|
602
639
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
603
640
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
641
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentTaskArgs', 'AutomationRuleActionIncidentTaskArgsDict']]]] action_incident_tasks: One or more `action_incident_task` blocks as defined below.
|
|
604
642
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionIncidentArgs', 'AutomationRuleActionIncidentArgsDict']]]] action_incidents: One or more `action_incident` blocks as defined below.
|
|
605
643
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AutomationRuleActionPlaybookArgs', 'AutomationRuleActionPlaybookArgsDict']]]] action_playbooks: One or more `action_playbook` blocks as defined below.
|
|
606
644
|
|
|
@@ -619,6 +657,7 @@ class AutomationRule(pulumi.CustomResource):
|
|
|
619
657
|
|
|
620
658
|
__props__ = _AutomationRuleState.__new__(_AutomationRuleState)
|
|
621
659
|
|
|
660
|
+
__props__.__dict__["action_incident_tasks"] = action_incident_tasks
|
|
622
661
|
__props__.__dict__["action_incidents"] = action_incidents
|
|
623
662
|
__props__.__dict__["action_playbooks"] = action_playbooks
|
|
624
663
|
__props__.__dict__["condition_json"] = condition_json
|
|
@@ -632,6 +671,14 @@ class AutomationRule(pulumi.CustomResource):
|
|
|
632
671
|
__props__.__dict__["triggers_when"] = triggers_when
|
|
633
672
|
return AutomationRule(resource_name, opts=opts, __props__=__props__)
|
|
634
673
|
|
|
674
|
+
@_builtins.property
|
|
675
|
+
@pulumi.getter(name="actionIncidentTasks")
|
|
676
|
+
def action_incident_tasks(self) -> pulumi.Output[Optional[Sequence['outputs.AutomationRuleActionIncidentTask']]]:
|
|
677
|
+
"""
|
|
678
|
+
One or more `action_incident_task` blocks as defined below.
|
|
679
|
+
"""
|
|
680
|
+
return pulumi.get(self, "action_incident_tasks")
|
|
681
|
+
|
|
635
682
|
@_builtins.property
|
|
636
683
|
@pulumi.getter(name="actionIncidents")
|
|
637
684
|
def action_incidents(self) -> pulumi.Output[Optional[Sequence['outputs.AutomationRuleActionIncident']]]:
|
pulumi_azure/sentinel/outputs.py
CHANGED
|
@@ -45,8 +45,10 @@ __all__ = [
|
|
|
45
45
|
'AlertRuleScheduledIncidentGrouping',
|
|
46
46
|
'AlertRuleScheduledSentinelEntityMapping',
|
|
47
47
|
'AuthomationRuleActionIncident',
|
|
48
|
+
'AuthomationRuleActionIncidentTask',
|
|
48
49
|
'AuthomationRuleActionPlaybook',
|
|
49
50
|
'AutomationRuleActionIncident',
|
|
51
|
+
'AutomationRuleActionIncidentTask',
|
|
50
52
|
'AutomationRuleActionPlaybook',
|
|
51
53
|
'MetadataAuthor',
|
|
52
54
|
'MetadataCategory',
|
|
@@ -1828,6 +1830,47 @@ class AuthomationRuleActionIncident(dict):
|
|
|
1828
1830
|
return pulumi.get(self, "status")
|
|
1829
1831
|
|
|
1830
1832
|
|
|
1833
|
+
@pulumi.output_type
|
|
1834
|
+
class AuthomationRuleActionIncidentTask(dict):
|
|
1835
|
+
def __init__(__self__, *,
|
|
1836
|
+
order: _builtins.int,
|
|
1837
|
+
title: _builtins.str,
|
|
1838
|
+
description: Optional[_builtins.str] = None):
|
|
1839
|
+
"""
|
|
1840
|
+
:param _builtins.int order: The execution order of this action.
|
|
1841
|
+
:param _builtins.str title: The title of the incident task.
|
|
1842
|
+
:param _builtins.str description: The description of the incident task.
|
|
1843
|
+
"""
|
|
1844
|
+
pulumi.set(__self__, "order", order)
|
|
1845
|
+
pulumi.set(__self__, "title", title)
|
|
1846
|
+
if description is not None:
|
|
1847
|
+
pulumi.set(__self__, "description", description)
|
|
1848
|
+
|
|
1849
|
+
@_builtins.property
|
|
1850
|
+
@pulumi.getter
|
|
1851
|
+
def order(self) -> _builtins.int:
|
|
1852
|
+
"""
|
|
1853
|
+
The execution order of this action.
|
|
1854
|
+
"""
|
|
1855
|
+
return pulumi.get(self, "order")
|
|
1856
|
+
|
|
1857
|
+
@_builtins.property
|
|
1858
|
+
@pulumi.getter
|
|
1859
|
+
def title(self) -> _builtins.str:
|
|
1860
|
+
"""
|
|
1861
|
+
The title of the incident task.
|
|
1862
|
+
"""
|
|
1863
|
+
return pulumi.get(self, "title")
|
|
1864
|
+
|
|
1865
|
+
@_builtins.property
|
|
1866
|
+
@pulumi.getter
|
|
1867
|
+
def description(self) -> Optional[_builtins.str]:
|
|
1868
|
+
"""
|
|
1869
|
+
The description of the incident task.
|
|
1870
|
+
"""
|
|
1871
|
+
return pulumi.get(self, "description")
|
|
1872
|
+
|
|
1873
|
+
|
|
1831
1874
|
@pulumi.output_type
|
|
1832
1875
|
class AuthomationRuleActionPlaybook(dict):
|
|
1833
1876
|
@staticmethod
|
|
@@ -2009,6 +2052,47 @@ class AutomationRuleActionIncident(dict):
|
|
|
2009
2052
|
return pulumi.get(self, "status")
|
|
2010
2053
|
|
|
2011
2054
|
|
|
2055
|
+
@pulumi.output_type
|
|
2056
|
+
class AutomationRuleActionIncidentTask(dict):
|
|
2057
|
+
def __init__(__self__, *,
|
|
2058
|
+
order: _builtins.int,
|
|
2059
|
+
title: _builtins.str,
|
|
2060
|
+
description: Optional[_builtins.str] = None):
|
|
2061
|
+
"""
|
|
2062
|
+
:param _builtins.int order: The execution order of this action.
|
|
2063
|
+
:param _builtins.str title: The title of the incident task.
|
|
2064
|
+
:param _builtins.str description: The description of the incident task.
|
|
2065
|
+
"""
|
|
2066
|
+
pulumi.set(__self__, "order", order)
|
|
2067
|
+
pulumi.set(__self__, "title", title)
|
|
2068
|
+
if description is not None:
|
|
2069
|
+
pulumi.set(__self__, "description", description)
|
|
2070
|
+
|
|
2071
|
+
@_builtins.property
|
|
2072
|
+
@pulumi.getter
|
|
2073
|
+
def order(self) -> _builtins.int:
|
|
2074
|
+
"""
|
|
2075
|
+
The execution order of this action.
|
|
2076
|
+
"""
|
|
2077
|
+
return pulumi.get(self, "order")
|
|
2078
|
+
|
|
2079
|
+
@_builtins.property
|
|
2080
|
+
@pulumi.getter
|
|
2081
|
+
def title(self) -> _builtins.str:
|
|
2082
|
+
"""
|
|
2083
|
+
The title of the incident task.
|
|
2084
|
+
"""
|
|
2085
|
+
return pulumi.get(self, "title")
|
|
2086
|
+
|
|
2087
|
+
@_builtins.property
|
|
2088
|
+
@pulumi.getter
|
|
2089
|
+
def description(self) -> Optional[_builtins.str]:
|
|
2090
|
+
"""
|
|
2091
|
+
The description of the incident task.
|
|
2092
|
+
"""
|
|
2093
|
+
return pulumi.get(self, "description")
|
|
2094
|
+
|
|
2095
|
+
|
|
2012
2096
|
@pulumi.output_type
|
|
2013
2097
|
class AutomationRuleActionPlaybook(dict):
|
|
2014
2098
|
@staticmethod
|