microsoft-cdktfconstructs 0.0.3.dev11__tar.gz → 0.0.3.dev12__tar.gz
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.
- {microsoft-cdktfconstructs-0.0.3.dev11/src/microsoft_cdktfconstructs.egg-info → microsoft-cdktfconstructs-0.0.3.dev12}/PKG-INFO +5 -6
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/README.md +4 -5
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/setup.py +2 -2
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/__init__.py +4 -5
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/_jsii/__init__.py +2 -2
- microsoft-cdktfconstructs-0.0.3.dev12/src/microsoft_cdktfconstructs/_jsii/terraform-cdk-constructs@0.0.3-pre.12.jsii.tgz +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_eventhub/__init__.py +5 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_kusto/__init__.py +72 -35
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_loganalytics/__init__.py +24 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_storageaccount/__init__.py +21 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_virtualmachine/__init__.py +54 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_virtualmachinescaleset/__init__.py +54 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/core_azure/__init__.py +75 -66
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12/src/microsoft_cdktfconstructs.egg-info}/PKG-INFO +5 -6
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs.egg-info/SOURCES.txt +1 -1
- microsoft-cdktfconstructs-0.0.3.dev11/src/microsoft_cdktfconstructs/_jsii/terraform-cdk-constructs@0.0.3-pre.11.jsii.tgz +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/LICENSE +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/MANIFEST.in +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/pyproject.toml +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/setup.cfg +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_applicationgateway/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_applicationinsights/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_containerregistry/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_functionapp/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_keyvault/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_kubernetes/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_metricalert/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_networksecuritygroup/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_queryrulealert/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_resourcegroup/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/azure_virtualnetwork/__init__.py +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs/py.typed +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs.egg-info/dependency_links.txt +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs.egg-info/requires.txt +0 -0
- {microsoft-cdktfconstructs-0.0.3.dev11 → microsoft-cdktfconstructs-0.0.3.dev12}/src/microsoft_cdktfconstructs.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: microsoft-cdktfconstructs
|
|
3
|
-
Version: 0.0.3.
|
|
3
|
+
Version: 0.0.3.dev12
|
|
4
4
|
Summary: A collection of CDK modules for provisioning and managing Terraform resources efficiently.
|
|
5
5
|
Home-page: https://github.com/azure/terraform-cdk-constructs.git
|
|
6
6
|
Author: Microsoft
|
|
@@ -32,7 +32,7 @@ With L2 Constructs, you get the following benefits:
|
|
|
32
32
|
* **Abstraction**: Higher-level abstractions over Azure resources make your infrastructure code more declarative and easier to understand.
|
|
33
33
|
* **Reusability**: Encapsulate common patterns and best practices in your infrastructure code, promoting reusability across different projects and teams.
|
|
34
34
|
* **Rapid Development**: Accelerate your cloud development process with pre-built constructs that have been tested for common use cases, allowing you to focus on your unique application logic.
|
|
35
|
-
* **Direct IDE Integration**: Access detailed documentation directly within your Integrated Development Environment (IDE), streamlining your development workflow: , streamlining your development workflow: 
|
|
36
36
|
|
|
37
37
|
## Quick Example
|
|
38
38
|
|
|
@@ -140,11 +140,10 @@ Currently, our CDK L2 constructs are available in the following languages:
|
|
|
140
140
|
|
|
141
141
|
| Language | Status |
|
|
142
142
|
|------------|--------------|
|
|
143
|
-
| TypeScript | Available |
|
|
144
|
-
| Python |
|
|
143
|
+
| TypeScript | [Available](https://www.npmjs.com/package/@microsoft/terraform-cdk-constructs) |
|
|
144
|
+
| Python | [Available](https://pypi.org/project/microsoft-cdktfconstructs/) |
|
|
145
145
|
| Java | Coming soon |
|
|
146
|
-
|
|
|
147
|
-
| C# | Coming soon |
|
|
146
|
+
| C# | [Available](https://www.nuget.org/packages/Microsoft.Cdktf.Azure.TFConstructs) |
|
|
148
147
|
|
|
149
148
|
Stay tuned for updates as we work to expand support to other popular programming languages!
|
|
150
149
|
|
|
@@ -9,7 +9,7 @@ With L2 Constructs, you get the following benefits:
|
|
|
9
9
|
* **Abstraction**: Higher-level abstractions over Azure resources make your infrastructure code more declarative and easier to understand.
|
|
10
10
|
* **Reusability**: Encapsulate common patterns and best practices in your infrastructure code, promoting reusability across different projects and teams.
|
|
11
11
|
* **Rapid Development**: Accelerate your cloud development process with pre-built constructs that have been tested for common use cases, allowing you to focus on your unique application logic.
|
|
12
|
-
* **Direct IDE Integration**: Access detailed documentation directly within your Integrated Development Environment (IDE), streamlining your development workflow: , streamlining your development workflow: 
|
|
13
13
|
|
|
14
14
|
## Quick Example
|
|
15
15
|
|
|
@@ -117,11 +117,10 @@ Currently, our CDK L2 constructs are available in the following languages:
|
|
|
117
117
|
|
|
118
118
|
| Language | Status |
|
|
119
119
|
|------------|--------------|
|
|
120
|
-
| TypeScript | Available |
|
|
121
|
-
| Python |
|
|
120
|
+
| TypeScript | [Available](https://www.npmjs.com/package/@microsoft/terraform-cdk-constructs) |
|
|
121
|
+
| Python | [Available](https://pypi.org/project/microsoft-cdktfconstructs/) |
|
|
122
122
|
| Java | Coming soon |
|
|
123
|
-
|
|
|
124
|
-
| C# | Coming soon |
|
|
123
|
+
| C# | [Available](https://www.nuget.org/packages/Microsoft.Cdktf.Azure.TFConstructs) |
|
|
125
124
|
|
|
126
125
|
Stay tuned for updates as we work to expand support to other popular programming languages!
|
|
127
126
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "microsoft-cdktfconstructs",
|
|
8
|
-
"version": "0.0.3.
|
|
8
|
+
"version": "0.0.3.dev12",
|
|
9
9
|
"description": "A collection of CDK modules for provisioning and managing Terraform resources efficiently.",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"url": "https://github.com/azure/terraform-cdk-constructs.git",
|
|
@@ -44,7 +44,7 @@ kwargs = json.loads(
|
|
|
44
44
|
],
|
|
45
45
|
"package_data": {
|
|
46
46
|
"microsoft_cdktfconstructs._jsii": [
|
|
47
|
-
"terraform-cdk-constructs@0.0.3-pre.
|
|
47
|
+
"terraform-cdk-constructs@0.0.3-pre.12.jsii.tgz"
|
|
48
48
|
],
|
|
49
49
|
"microsoft_cdktfconstructs": [
|
|
50
50
|
"py.typed"
|
|
@@ -10,7 +10,7 @@ With L2 Constructs, you get the following benefits:
|
|
|
10
10
|
* **Abstraction**: Higher-level abstractions over Azure resources make your infrastructure code more declarative and easier to understand.
|
|
11
11
|
* **Reusability**: Encapsulate common patterns and best practices in your infrastructure code, promoting reusability across different projects and teams.
|
|
12
12
|
* **Rapid Development**: Accelerate your cloud development process with pre-built constructs that have been tested for common use cases, allowing you to focus on your unique application logic.
|
|
13
|
-
* **Direct IDE Integration**: Access detailed documentation directly within your Integrated Development Environment (IDE), streamlining your development workflow: , streamlining your development workflow: 
|
|
14
14
|
|
|
15
15
|
## Quick Example
|
|
16
16
|
|
|
@@ -118,11 +118,10 @@ Currently, our CDK L2 constructs are available in the following languages:
|
|
|
118
118
|
|
|
119
119
|
| Language | Status |
|
|
120
120
|
|------------|--------------|
|
|
121
|
-
| TypeScript | Available |
|
|
122
|
-
| Python |
|
|
121
|
+
| TypeScript | [Available](https://www.npmjs.com/package/@microsoft/terraform-cdk-constructs) |
|
|
122
|
+
| Python | [Available](https://pypi.org/project/microsoft-cdktfconstructs/) |
|
|
123
123
|
| Java | Coming soon |
|
|
124
|
-
|
|
|
125
|
-
| C# | Coming soon |
|
|
124
|
+
| C# | [Available](https://www.nuget.org/packages/Microsoft.Cdktf.Azure.TFConstructs) |
|
|
126
125
|
|
|
127
126
|
Stay tuned for updates as we work to expand support to other popular programming languages!
|
|
128
127
|
|
|
@@ -19,9 +19,9 @@ import constructs._jsii
|
|
|
19
19
|
|
|
20
20
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
21
21
|
"@microsoft/terraform-cdk-constructs",
|
|
22
|
-
"0.0.3-pre.
|
|
22
|
+
"0.0.3-pre.12",
|
|
23
23
|
__name__[0:-6],
|
|
24
|
-
"terraform-cdk-constructs@0.0.3-pre.
|
|
24
|
+
"terraform-cdk-constructs@0.0.3-pre.12.jsii.tgz",
|
|
25
25
|
)
|
|
26
26
|
|
|
27
27
|
__all__ = [
|
|
Binary file
|
|
@@ -1140,6 +1140,11 @@ class Instance(
|
|
|
1140
1140
|
def id(self) -> builtins.str:
|
|
1141
1141
|
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
1142
1142
|
|
|
1143
|
+
@builtins.property
|
|
1144
|
+
@jsii.member(jsii_name="name")
|
|
1145
|
+
def name(self) -> builtins.str:
|
|
1146
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1147
|
+
|
|
1143
1148
|
@builtins.property
|
|
1144
1149
|
@jsii.member(jsii_name="partitionIds")
|
|
1145
1150
|
def partition_ids(self) -> typing.List[builtins.str]:
|
|
@@ -141,6 +141,8 @@ from typeguard import check_type
|
|
|
141
141
|
|
|
142
142
|
from .._jsii import *
|
|
143
143
|
|
|
144
|
+
import cdktf_cdktf_provider_azurerm.kusto_cluster as _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf
|
|
145
|
+
import cdktf_cdktf_provider_azurerm.kusto_database as _cdktf_cdktf_provider_azurerm_kusto_database_92bbcedf
|
|
144
146
|
import cdktf_cdktf_provider_azurerm.resource_group as _cdktf_cdktf_provider_azurerm_resource_group_92bbcedf
|
|
145
147
|
import constructs as _constructs_77d1e7e8
|
|
146
148
|
from ..core_azure import AzureResource as _AzureResource_74eec1c4
|
|
@@ -221,7 +223,7 @@ class Cluster(
|
|
|
221
223
|
def add_database(
|
|
222
224
|
self,
|
|
223
225
|
*,
|
|
224
|
-
|
|
226
|
+
kusto_cluster: _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster,
|
|
225
227
|
name: builtins.str,
|
|
226
228
|
hot_cache_period: typing.Optional[builtins.str] = None,
|
|
227
229
|
soft_delete_period: typing.Optional[builtins.str] = None,
|
|
@@ -233,7 +235,7 @@ class Cluster(
|
|
|
233
235
|
data analytics and running queries. The database configuration can include settings like hot cache and soft delete periods,
|
|
234
236
|
which optimize query performance and manage data lifecycle according to specific requirements.
|
|
235
237
|
|
|
236
|
-
:param
|
|
238
|
+
:param kusto_cluster: The Azure Kusto cluster to which this database belongs.
|
|
237
239
|
:param name: The name of the Kusto Database to create.
|
|
238
240
|
:param hot_cache_period: The time the data that should be kept in cache for fast queries as ISO 8601 timespan. Default is unlimited.
|
|
239
241
|
:param soft_delete_period: The time the data should be kept before it stops being accessible to queries as ISO 8601 timespan. Default is unlimited.
|
|
@@ -255,7 +257,7 @@ class Cluster(
|
|
|
255
257
|
for complex data analytics operations across large datasets.
|
|
256
258
|
'''
|
|
257
259
|
database_props = DatabaseProps(
|
|
258
|
-
|
|
260
|
+
kusto_cluster=kusto_cluster,
|
|
259
261
|
name=name,
|
|
260
262
|
hot_cache_period=hot_cache_period,
|
|
261
263
|
soft_delete_period=soft_delete_period,
|
|
@@ -285,6 +287,35 @@ class Cluster(
|
|
|
285
287
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
286
288
|
jsii.set(self, "id", value)
|
|
287
289
|
|
|
290
|
+
@builtins.property
|
|
291
|
+
@jsii.member(jsii_name="kustoCluster")
|
|
292
|
+
def kusto_cluster(
|
|
293
|
+
self,
|
|
294
|
+
) -> _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster:
|
|
295
|
+
return typing.cast(_cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster, jsii.get(self, "kustoCluster"))
|
|
296
|
+
|
|
297
|
+
@kusto_cluster.setter
|
|
298
|
+
def kusto_cluster(
|
|
299
|
+
self,
|
|
300
|
+
value: _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster,
|
|
301
|
+
) -> None:
|
|
302
|
+
if __debug__:
|
|
303
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0157a6315f4124358f06d7da5b69043b2526b9f983006c65b30ef8ffcfa60ef0)
|
|
304
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
305
|
+
jsii.set(self, "kustoCluster", value)
|
|
306
|
+
|
|
307
|
+
@builtins.property
|
|
308
|
+
@jsii.member(jsii_name="name")
|
|
309
|
+
def name(self) -> builtins.str:
|
|
310
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
311
|
+
|
|
312
|
+
@name.setter
|
|
313
|
+
def name(self, value: builtins.str) -> None:
|
|
314
|
+
if __debug__:
|
|
315
|
+
type_hints = typing.get_type_hints(_typecheckingstub__40f1a4c9df6897ccaac94d3764a094e3ba84a4738dbbd4de895c4b50ec12ce34)
|
|
316
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
317
|
+
jsii.set(self, "name", value)
|
|
318
|
+
|
|
288
319
|
@builtins.property
|
|
289
320
|
@jsii.member(jsii_name="resourceGroup")
|
|
290
321
|
def resource_group(
|
|
@@ -1426,7 +1457,7 @@ class Database(
|
|
|
1426
1457
|
scope: _constructs_77d1e7e8.Construct,
|
|
1427
1458
|
id: builtins.str,
|
|
1428
1459
|
*,
|
|
1429
|
-
|
|
1460
|
+
kusto_cluster: _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster,
|
|
1430
1461
|
name: builtins.str,
|
|
1431
1462
|
hot_cache_period: typing.Optional[builtins.str] = None,
|
|
1432
1463
|
soft_delete_period: typing.Optional[builtins.str] = None,
|
|
@@ -1441,7 +1472,7 @@ class Database(
|
|
|
1441
1472
|
|
|
1442
1473
|
:param scope: - The scope in which to define this construct, typically representing the Cloud Development Kit (CDK) stack.
|
|
1443
1474
|
:param id: - The unique identifier for this instance of the Kusto database.
|
|
1444
|
-
:param
|
|
1475
|
+
:param kusto_cluster: The Azure Kusto cluster to which this database belongs.
|
|
1445
1476
|
:param name: The name of the Kusto Database to create.
|
|
1446
1477
|
:param hot_cache_period: The time the data that should be kept in cache for fast queries as ISO 8601 timespan. Default is unlimited.
|
|
1447
1478
|
:param soft_delete_period: The time the data should be kept before it stops being accessible to queries as ISO 8601 timespan. Default is unlimited.
|
|
@@ -1450,14 +1481,14 @@ class Database(
|
|
|
1450
1481
|
type_hints = typing.get_type_hints(_typecheckingstub__5bb7e049648a84a8e486219349a602116b3098bd3ad3df2bebff015ca0877100)
|
|
1451
1482
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1452
1483
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1453
|
-
|
|
1454
|
-
|
|
1484
|
+
props = DatabaseProps(
|
|
1485
|
+
kusto_cluster=kusto_cluster,
|
|
1455
1486
|
name=name,
|
|
1456
1487
|
hot_cache_period=hot_cache_period,
|
|
1457
1488
|
soft_delete_period=soft_delete_period,
|
|
1458
1489
|
)
|
|
1459
1490
|
|
|
1460
|
-
jsii.create(self.__class__, self, [scope, id,
|
|
1491
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1461
1492
|
|
|
1462
1493
|
@jsii.member(jsii_name="addPermission")
|
|
1463
1494
|
def add_permission(
|
|
@@ -1536,24 +1567,16 @@ class Database(
|
|
|
1536
1567
|
return typing.cast(None, jsii.invoke(self, "addTable", [table_name, table_schema]))
|
|
1537
1568
|
|
|
1538
1569
|
@builtins.property
|
|
1539
|
-
@jsii.member(jsii_name="
|
|
1540
|
-
def
|
|
1541
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
1542
|
-
|
|
1543
|
-
@builtins.property
|
|
1544
|
-
@jsii.member(jsii_name="kustoDbProps")
|
|
1545
|
-
def kusto_db_props(self) -> "DatabaseProps":
|
|
1546
|
-
return typing.cast("DatabaseProps", jsii.get(self, "kustoDbProps"))
|
|
1547
|
-
|
|
1548
|
-
@builtins.property
|
|
1549
|
-
@jsii.member(jsii_name="kustoProps")
|
|
1550
|
-
def kusto_props(self) -> ClusterProps:
|
|
1551
|
-
return typing.cast(ClusterProps, jsii.get(self, "kustoProps"))
|
|
1570
|
+
@jsii.member(jsii_name="databaseName")
|
|
1571
|
+
def database_name(self) -> builtins.str:
|
|
1572
|
+
return typing.cast(builtins.str, jsii.get(self, "databaseName"))
|
|
1552
1573
|
|
|
1553
1574
|
@builtins.property
|
|
1554
|
-
@jsii.member(jsii_name="
|
|
1555
|
-
def
|
|
1556
|
-
|
|
1575
|
+
@jsii.member(jsii_name="kustoDatabase")
|
|
1576
|
+
def kusto_database(
|
|
1577
|
+
self,
|
|
1578
|
+
) -> _cdktf_cdktf_provider_azurerm_kusto_database_92bbcedf.KustoDatabase:
|
|
1579
|
+
return typing.cast(_cdktf_cdktf_provider_azurerm_kusto_database_92bbcedf.KustoDatabase, jsii.get(self, "kustoDatabase"))
|
|
1557
1580
|
|
|
1558
1581
|
|
|
1559
1582
|
@jsii.data_type(
|
|
@@ -1656,7 +1679,7 @@ class DatabaseAccessProps:
|
|
|
1656
1679
|
jsii_type="@microsoft/terraform-cdk-constructs.azure_kusto.DatabaseProps",
|
|
1657
1680
|
jsii_struct_bases=[],
|
|
1658
1681
|
name_mapping={
|
|
1659
|
-
"
|
|
1682
|
+
"kusto_cluster": "kustoCluster",
|
|
1660
1683
|
"name": "name",
|
|
1661
1684
|
"hot_cache_period": "hotCachePeriod",
|
|
1662
1685
|
"soft_delete_period": "softDeletePeriod",
|
|
@@ -1666,25 +1689,25 @@ class DatabaseProps:
|
|
|
1666
1689
|
def __init__(
|
|
1667
1690
|
self,
|
|
1668
1691
|
*,
|
|
1669
|
-
|
|
1692
|
+
kusto_cluster: _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster,
|
|
1670
1693
|
name: builtins.str,
|
|
1671
1694
|
hot_cache_period: typing.Optional[builtins.str] = None,
|
|
1672
1695
|
soft_delete_period: typing.Optional[builtins.str] = None,
|
|
1673
1696
|
) -> None:
|
|
1674
1697
|
'''
|
|
1675
|
-
:param
|
|
1698
|
+
:param kusto_cluster: The Azure Kusto cluster to which this database belongs.
|
|
1676
1699
|
:param name: The name of the Kusto Database to create.
|
|
1677
1700
|
:param hot_cache_period: The time the data that should be kept in cache for fast queries as ISO 8601 timespan. Default is unlimited.
|
|
1678
1701
|
:param soft_delete_period: The time the data should be kept before it stops being accessible to queries as ISO 8601 timespan. Default is unlimited.
|
|
1679
1702
|
'''
|
|
1680
1703
|
if __debug__:
|
|
1681
1704
|
type_hints = typing.get_type_hints(_typecheckingstub__0e3ad0dca05483428a48ef2f19255859d30897ae7656132b3c3fb95e3c87dd41)
|
|
1682
|
-
check_type(argname="argument
|
|
1705
|
+
check_type(argname="argument kusto_cluster", value=kusto_cluster, expected_type=type_hints["kusto_cluster"])
|
|
1683
1706
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1684
1707
|
check_type(argname="argument hot_cache_period", value=hot_cache_period, expected_type=type_hints["hot_cache_period"])
|
|
1685
1708
|
check_type(argname="argument soft_delete_period", value=soft_delete_period, expected_type=type_hints["soft_delete_period"])
|
|
1686
1709
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1687
|
-
"
|
|
1710
|
+
"kusto_cluster": kusto_cluster,
|
|
1688
1711
|
"name": name,
|
|
1689
1712
|
}
|
|
1690
1713
|
if hot_cache_period is not None:
|
|
@@ -1693,11 +1716,13 @@ class DatabaseProps:
|
|
|
1693
1716
|
self._values["soft_delete_period"] = soft_delete_period
|
|
1694
1717
|
|
|
1695
1718
|
@builtins.property
|
|
1696
|
-
def
|
|
1719
|
+
def kusto_cluster(
|
|
1720
|
+
self,
|
|
1721
|
+
) -> _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster:
|
|
1697
1722
|
'''The Azure Kusto cluster to which this database belongs.'''
|
|
1698
|
-
result = self._values.get("
|
|
1699
|
-
assert result is not None, "Required property '
|
|
1700
|
-
return typing.cast(
|
|
1723
|
+
result = self._values.get("kusto_cluster")
|
|
1724
|
+
assert result is not None, "Required property 'kusto_cluster' is missing"
|
|
1725
|
+
return typing.cast(_cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster, result)
|
|
1701
1726
|
|
|
1702
1727
|
@builtins.property
|
|
1703
1728
|
def name(self) -> builtins.str:
|
|
@@ -2001,6 +2026,18 @@ def _typecheckingstub__016f667b6e3c9557d441729357d8e19f1db29ec4c5fa78c89b941b80e
|
|
|
2001
2026
|
"""Type checking stubs"""
|
|
2002
2027
|
pass
|
|
2003
2028
|
|
|
2029
|
+
def _typecheckingstub__0157a6315f4124358f06d7da5b69043b2526b9f983006c65b30ef8ffcfa60ef0(
|
|
2030
|
+
value: _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster,
|
|
2031
|
+
) -> None:
|
|
2032
|
+
"""Type checking stubs"""
|
|
2033
|
+
pass
|
|
2034
|
+
|
|
2035
|
+
def _typecheckingstub__40f1a4c9df6897ccaac94d3764a094e3ba84a4738dbbd4de895c4b50ec12ce34(
|
|
2036
|
+
value: builtins.str,
|
|
2037
|
+
) -> None:
|
|
2038
|
+
"""Type checking stubs"""
|
|
2039
|
+
pass
|
|
2040
|
+
|
|
2004
2041
|
def _typecheckingstub__c0eafdbeed8d0f571cae144cb65ce6bc8481d686eaa59bee4308fa65c8e66bac(
|
|
2005
2042
|
value: _cdktf_cdktf_provider_azurerm_resource_group_92bbcedf.ResourceGroup,
|
|
2006
2043
|
) -> None:
|
|
@@ -2385,7 +2422,7 @@ def _typecheckingstub__5bb7e049648a84a8e486219349a602116b3098bd3ad3df2bebff015ca
|
|
|
2385
2422
|
scope: _constructs_77d1e7e8.Construct,
|
|
2386
2423
|
id: builtins.str,
|
|
2387
2424
|
*,
|
|
2388
|
-
|
|
2425
|
+
kusto_cluster: _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster,
|
|
2389
2426
|
name: builtins.str,
|
|
2390
2427
|
hot_cache_period: typing.Optional[builtins.str] = None,
|
|
2391
2428
|
soft_delete_period: typing.Optional[builtins.str] = None,
|
|
@@ -2420,7 +2457,7 @@ def _typecheckingstub__f8fae0aa1717ffd90e4aa97235cbcc92728a68e132f7574a341b1ff00
|
|
|
2420
2457
|
|
|
2421
2458
|
def _typecheckingstub__0e3ad0dca05483428a48ef2f19255859d30897ae7656132b3c3fb95e3c87dd41(
|
|
2422
2459
|
*,
|
|
2423
|
-
|
|
2460
|
+
kusto_cluster: _cdktf_cdktf_provider_azurerm_kusto_cluster_92bbcedf.KustoCluster,
|
|
2424
2461
|
name: builtins.str,
|
|
2425
2462
|
hot_cache_period: typing.Optional[builtins.str] = None,
|
|
2426
2463
|
soft_delete_period: typing.Optional[builtins.str] = None,
|
|
@@ -74,6 +74,7 @@ from typeguard import check_type
|
|
|
74
74
|
|
|
75
75
|
from .._jsii import *
|
|
76
76
|
|
|
77
|
+
import cdktf_cdktf_provider_azurerm.log_analytics_workspace as _cdktf_cdktf_provider_azurerm_log_analytics_workspace_92bbcedf
|
|
77
78
|
import cdktf_cdktf_provider_azurerm.resource_group as _cdktf_cdktf_provider_azurerm_resource_group_92bbcedf
|
|
78
79
|
import constructs as _constructs_77d1e7e8
|
|
79
80
|
from ..core_azure import AzureResourceWithAlert as _AzureResourceWithAlert_c2e3918b
|
|
@@ -402,6 +403,23 @@ class Workspace(
|
|
|
402
403
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
403
404
|
jsii.set(self, "id", value)
|
|
404
405
|
|
|
406
|
+
@builtins.property
|
|
407
|
+
@jsii.member(jsii_name="logAnalyticsWorkspace")
|
|
408
|
+
def log_analytics_workspace(
|
|
409
|
+
self,
|
|
410
|
+
) -> _cdktf_cdktf_provider_azurerm_log_analytics_workspace_92bbcedf.LogAnalyticsWorkspace:
|
|
411
|
+
return typing.cast(_cdktf_cdktf_provider_azurerm_log_analytics_workspace_92bbcedf.LogAnalyticsWorkspace, jsii.get(self, "logAnalyticsWorkspace"))
|
|
412
|
+
|
|
413
|
+
@log_analytics_workspace.setter
|
|
414
|
+
def log_analytics_workspace(
|
|
415
|
+
self,
|
|
416
|
+
value: _cdktf_cdktf_provider_azurerm_log_analytics_workspace_92bbcedf.LogAnalyticsWorkspace,
|
|
417
|
+
) -> None:
|
|
418
|
+
if __debug__:
|
|
419
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c0570eb61e090baa69e246a74a7224f2aca7f8b547b93b2c582f5c9e2373ece7)
|
|
420
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
421
|
+
jsii.set(self, "logAnalyticsWorkspace", value)
|
|
422
|
+
|
|
405
423
|
@builtins.property
|
|
406
424
|
@jsii.member(jsii_name="resourceGroup")
|
|
407
425
|
def resource_group(
|
|
@@ -630,6 +648,12 @@ def _typecheckingstub__fa7b3ef950990b4ad74ea33f5b0224eec4f1bd8fb010b54633df1acd9
|
|
|
630
648
|
"""Type checking stubs"""
|
|
631
649
|
pass
|
|
632
650
|
|
|
651
|
+
def _typecheckingstub__c0570eb61e090baa69e246a74a7224f2aca7f8b547b93b2c582f5c9e2373ece7(
|
|
652
|
+
value: _cdktf_cdktf_provider_azurerm_log_analytics_workspace_92bbcedf.LogAnalyticsWorkspace,
|
|
653
|
+
) -> None:
|
|
654
|
+
"""Type checking stubs"""
|
|
655
|
+
pass
|
|
656
|
+
|
|
633
657
|
def _typecheckingstub__00b55aca11d305b98099eb2df158e8fa57cd3e0c3d030b73e6a5747016e428b1(
|
|
634
658
|
value: _cdktf_cdktf_provider_azurerm_resource_group_92bbcedf.ResourceGroup,
|
|
635
659
|
) -> None:
|
|
@@ -166,6 +166,7 @@ class Account(
|
|
|
166
166
|
min_tls_version: typing.Optional[builtins.str] = None,
|
|
167
167
|
public_network_access_enabled: typing.Optional[builtins.bool] = None,
|
|
168
168
|
resource_group: typing.Optional[_cdktf_cdktf_provider_azurerm_resource_group_92bbcedf.ResourceGroup] = None,
|
|
169
|
+
shared_access_key_enabled: typing.Optional[builtins.bool] = None,
|
|
169
170
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
170
171
|
) -> None:
|
|
171
172
|
'''Represents an Azure Storage Account within a Terraform deployment.
|
|
@@ -189,6 +190,7 @@ class Account(
|
|
|
189
190
|
:param min_tls_version: The minimum TLS version to be used for securing connections to the storage account. Example values: TLS1_0, TLS1_1, TLS1_2.
|
|
190
191
|
:param public_network_access_enabled: A boolean flag indicating whether public network access to the storage account is allowed.
|
|
191
192
|
:param resource_group: The name of the Azure resource group in which to create the storage account.
|
|
193
|
+
:param shared_access_key_enabled: Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). Terraform uses Shared Key Authorisation to provision Storage Containers, Blobs and other items - when Shared Key Access is disabled, you will need to enable the storage_use_azuread flag in the Provider block to use Azure AD for authentication, however not all Azure Storage services support Active Directory authentication.
|
|
192
194
|
:param tags: Tags to apply to the storage account, used for categorization and billing purposes. Format: { [key: string]: string }
|
|
193
195
|
'''
|
|
194
196
|
if __debug__:
|
|
@@ -208,6 +210,7 @@ class Account(
|
|
|
208
210
|
min_tls_version=min_tls_version,
|
|
209
211
|
public_network_access_enabled=public_network_access_enabled,
|
|
210
212
|
resource_group=resource_group,
|
|
213
|
+
shared_access_key_enabled=shared_access_key_enabled,
|
|
211
214
|
tags=tags,
|
|
212
215
|
)
|
|
213
216
|
|
|
@@ -465,6 +468,7 @@ class Account(
|
|
|
465
468
|
"min_tls_version": "minTlsVersion",
|
|
466
469
|
"public_network_access_enabled": "publicNetworkAccessEnabled",
|
|
467
470
|
"resource_group": "resourceGroup",
|
|
471
|
+
"shared_access_key_enabled": "sharedAccessKeyEnabled",
|
|
468
472
|
"tags": "tags",
|
|
469
473
|
},
|
|
470
474
|
)
|
|
@@ -484,6 +488,7 @@ class AccountProps:
|
|
|
484
488
|
min_tls_version: typing.Optional[builtins.str] = None,
|
|
485
489
|
public_network_access_enabled: typing.Optional[builtins.bool] = None,
|
|
486
490
|
resource_group: typing.Optional[_cdktf_cdktf_provider_azurerm_resource_group_92bbcedf.ResourceGroup] = None,
|
|
491
|
+
shared_access_key_enabled: typing.Optional[builtins.bool] = None,
|
|
487
492
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
488
493
|
) -> None:
|
|
489
494
|
'''
|
|
@@ -499,6 +504,7 @@ class AccountProps:
|
|
|
499
504
|
:param min_tls_version: The minimum TLS version to be used for securing connections to the storage account. Example values: TLS1_0, TLS1_1, TLS1_2.
|
|
500
505
|
:param public_network_access_enabled: A boolean flag indicating whether public network access to the storage account is allowed.
|
|
501
506
|
:param resource_group: The name of the Azure resource group in which to create the storage account.
|
|
507
|
+
:param shared_access_key_enabled: Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). Terraform uses Shared Key Authorisation to provision Storage Containers, Blobs and other items - when Shared Key Access is disabled, you will need to enable the storage_use_azuread flag in the Provider block to use Azure AD for authentication, however not all Azure Storage services support Active Directory authentication.
|
|
502
508
|
:param tags: Tags to apply to the storage account, used for categorization and billing purposes. Format: { [key: string]: string }
|
|
503
509
|
'''
|
|
504
510
|
if __debug__:
|
|
@@ -515,6 +521,7 @@ class AccountProps:
|
|
|
515
521
|
check_type(argname="argument min_tls_version", value=min_tls_version, expected_type=type_hints["min_tls_version"])
|
|
516
522
|
check_type(argname="argument public_network_access_enabled", value=public_network_access_enabled, expected_type=type_hints["public_network_access_enabled"])
|
|
517
523
|
check_type(argname="argument resource_group", value=resource_group, expected_type=type_hints["resource_group"])
|
|
524
|
+
check_type(argname="argument shared_access_key_enabled", value=shared_access_key_enabled, expected_type=type_hints["shared_access_key_enabled"])
|
|
518
525
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
519
526
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
520
527
|
"location": location,
|
|
@@ -540,6 +547,8 @@ class AccountProps:
|
|
|
540
547
|
self._values["public_network_access_enabled"] = public_network_access_enabled
|
|
541
548
|
if resource_group is not None:
|
|
542
549
|
self._values["resource_group"] = resource_group
|
|
550
|
+
if shared_access_key_enabled is not None:
|
|
551
|
+
self._values["shared_access_key_enabled"] = shared_access_key_enabled
|
|
543
552
|
if tags is not None:
|
|
544
553
|
self._values["tags"] = tags
|
|
545
554
|
|
|
@@ -639,6 +648,16 @@ class AccountProps:
|
|
|
639
648
|
result = self._values.get("resource_group")
|
|
640
649
|
return typing.cast(typing.Optional[_cdktf_cdktf_provider_azurerm_resource_group_92bbcedf.ResourceGroup], result)
|
|
641
650
|
|
|
651
|
+
@builtins.property
|
|
652
|
+
def shared_access_key_enabled(self) -> typing.Optional[builtins.bool]:
|
|
653
|
+
'''Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key.
|
|
654
|
+
|
|
655
|
+
If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD).
|
|
656
|
+
Terraform uses Shared Key Authorisation to provision Storage Containers, Blobs and other items - when Shared Key Access is disabled, you will need to enable the storage_use_azuread flag in the Provider block to use Azure AD for authentication, however not all Azure Storage services support Active Directory authentication.
|
|
657
|
+
'''
|
|
658
|
+
result = self._values.get("shared_access_key_enabled")
|
|
659
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
660
|
+
|
|
642
661
|
@builtins.property
|
|
643
662
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
644
663
|
'''Tags to apply to the storage account, used for categorization and billing purposes.
|
|
@@ -1618,6 +1637,7 @@ def _typecheckingstub__6cf8d651224015dd5f566f70fa4f6451c4aa70245e080717f03189f59
|
|
|
1618
1637
|
min_tls_version: typing.Optional[builtins.str] = None,
|
|
1619
1638
|
public_network_access_enabled: typing.Optional[builtins.bool] = None,
|
|
1620
1639
|
resource_group: typing.Optional[_cdktf_cdktf_provider_azurerm_resource_group_92bbcedf.ResourceGroup] = None,
|
|
1640
|
+
shared_access_key_enabled: typing.Optional[builtins.bool] = None,
|
|
1621
1641
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1622
1642
|
) -> None:
|
|
1623
1643
|
"""Type checking stubs"""
|
|
@@ -1683,6 +1703,7 @@ def _typecheckingstub__d0072c193a9790f4f261e3f6c7c6cad7d13e9d662dc060adff5d380ad
|
|
|
1683
1703
|
min_tls_version: typing.Optional[builtins.str] = None,
|
|
1684
1704
|
public_network_access_enabled: typing.Optional[builtins.bool] = None,
|
|
1685
1705
|
resource_group: typing.Optional[_cdktf_cdktf_provider_azurerm_resource_group_92bbcedf.ResourceGroup] = None,
|
|
1706
|
+
shared_access_key_enabled: typing.Optional[builtins.bool] = None,
|
|
1686
1707
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1687
1708
|
) -> None:
|
|
1688
1709
|
"""Type checking stubs"""
|