microsoft-cdktfconstructs 1.3.0__tar.gz → 1.3.1__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-1.3.0/src/microsoft_cdktfconstructs.egg-info → microsoft_cdktfconstructs-1.3.1}/PKG-INFO +1 -1
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/setup.py +2 -2
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/__init__.py +93 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/_jsii/__init__.py +2 -2
- microsoft_cdktfconstructs-1.3.1/src/microsoft_cdktfconstructs/_jsii/terraform-cdk-constructs@1.3.1.jsii.tgz +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_policyassignment/__init__.py +10 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_policydefinition/__init__.py +38 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/core_azure/__init__.py +45 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1/src/microsoft_cdktfconstructs.egg-info}/PKG-INFO +1 -1
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs.egg-info/SOURCES.txt +1 -1
- microsoft_cdktfconstructs-1.3.0/src/microsoft_cdktfconstructs/_jsii/terraform-cdk-constructs@1.3.0.jsii.tgz +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/LICENSE +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/MANIFEST.in +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/README.md +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/pyproject.toml +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/setup.cfg +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_actiongroup/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_activitylogalert/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_aks/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_diagnosticsettings/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_dnsforwardingruleset/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_dnsresolver/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_dnszone/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_metricalert/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_networkinterface/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_networksecuritygroup/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_privatednszone/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_publicipaddress/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_resourcegroup/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_roleassignment/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_roledefinition/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_storageaccount/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_subnet/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_virtualmachine/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_virtualnetwork/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_virtualnetworkmanager/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/azure_vmss/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/py.typed +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs/testing/__init__.py +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs.egg-info/dependency_links.txt +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/src/microsoft_cdktfconstructs.egg-info/requires.txt +0 -0
- {microsoft_cdktfconstructs-1.3.0 → microsoft_cdktfconstructs-1.3.1}/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: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
4
4
|
Summary: Azure CDK constructs using AZAPI provider for direct Azure REST API access. Version 1.0.0 - Major breaking change migration from AzureRM to AZAPI.
|
|
5
5
|
Home-page: https://github.com/azure/terraform-cdk-constructs.git
|
|
6
6
|
Author: Microsoft
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "microsoft-cdktfconstructs",
|
|
8
|
-
"version": "1.3.
|
|
8
|
+
"version": "1.3.1",
|
|
9
9
|
"description": "Azure CDK constructs using AZAPI provider for direct Azure REST API access. Version 1.0.0 - Major breaking change migration from AzureRM to AZAPI.",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"url": "https://github.com/azure/terraform-cdk-constructs.git",
|
|
@@ -51,7 +51,7 @@ kwargs = json.loads(
|
|
|
51
51
|
],
|
|
52
52
|
"package_data": {
|
|
53
53
|
"microsoft_cdktfconstructs._jsii": [
|
|
54
|
-
"terraform-cdk-constructs@1.3.
|
|
54
|
+
"terraform-cdk-constructs@1.3.1.jsii.tgz"
|
|
55
55
|
],
|
|
56
56
|
"microsoft_cdktfconstructs": [
|
|
57
57
|
"py.typed"
|
|
@@ -10939,6 +10939,8 @@ class AzapiResource(
|
|
|
10939
10939
|
|
|
10940
10940
|
:param key: - The tag key.
|
|
10941
10941
|
:param value: - The tag value.
|
|
10942
|
+
|
|
10943
|
+
:throws: Error if the resource type does not support tags
|
|
10942
10944
|
'''
|
|
10943
10945
|
if __debug__:
|
|
10944
10946
|
type_hints = typing.get_type_hints(_typecheckingstub__c68a84cebf10cce28dc776128d9fe29d809c2c82d60fe425d0c70628635e8eb9)
|
|
@@ -11088,6 +11090,35 @@ class AzapiResource(
|
|
|
11088
11090
|
'''
|
|
11089
11091
|
...
|
|
11090
11092
|
|
|
11093
|
+
@jsii.member(jsii_name="customizeResourceConfig")
|
|
11094
|
+
def _customize_resource_config(self, config: typing.Any) -> typing.Any:
|
|
11095
|
+
'''Allows child classes to customize the ResourceConfig before resource creation.
|
|
11096
|
+
|
|
11097
|
+
Override this method to add resource-specific configuration like:
|
|
11098
|
+
|
|
11099
|
+
- schemaValidationEnabled: false (for resources with complex nested structures)
|
|
11100
|
+
- ignoreMissingProperty: true (for resources with dynamic/unknown properties)
|
|
11101
|
+
- ignoreNullProperty: true (for resources that should skip null values)
|
|
11102
|
+
|
|
11103
|
+
:param config: - The base ResourceConfig that will be used to create the resource.
|
|
11104
|
+
|
|
11105
|
+
:return: The potentially modified ResourceConfig
|
|
11106
|
+
|
|
11107
|
+
Example::
|
|
11108
|
+
|
|
11109
|
+
protected customizeResourceConfig(config: ResourceConfig): ResourceConfig {
|
|
11110
|
+
return {
|
|
11111
|
+
...config,
|
|
11112
|
+
schemaValidationEnabled: false,
|
|
11113
|
+
ignoreMissingProperty: true,
|
|
11114
|
+
};
|
|
11115
|
+
}
|
|
11116
|
+
'''
|
|
11117
|
+
if __debug__:
|
|
11118
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cc42b99cf502face5ee1f35101499a4f83e9c4977fc6a3e5290ec43eead5a095)
|
|
11119
|
+
check_type(argname="argument config", value=config, expected_type=type_hints["config"])
|
|
11120
|
+
return typing.cast(typing.Any, jsii.invoke(self, "customizeResourceConfig", [config]))
|
|
11121
|
+
|
|
11091
11122
|
@jsii.member(jsii_name="defaultLocation")
|
|
11092
11123
|
def _default_location(self) -> typing.Optional[builtins.str]:
|
|
11093
11124
|
'''Override in child classes to provide default location.
|
|
@@ -11373,6 +11404,14 @@ class AzapiResource(
|
|
|
11373
11404
|
'''
|
|
11374
11405
|
return typing.cast(typing.List[builtins.str], jsii.invoke(self, "supportedVersions", []))
|
|
11375
11406
|
|
|
11407
|
+
@jsii.member(jsii_name="supportsTags")
|
|
11408
|
+
def _supports_tags(self) -> builtins.bool:
|
|
11409
|
+
'''Override in child classes to indicate if the resource type supports tags Some Azure resources (e.g., Policy Definitions, Policy Assignments) do not support tags.
|
|
11410
|
+
|
|
11411
|
+
:return: true if the resource supports tags (default), false otherwise
|
|
11412
|
+
'''
|
|
11413
|
+
return typing.cast(builtins.bool, jsii.invoke(self, "supportsTags", []))
|
|
11414
|
+
|
|
11376
11415
|
@jsii.member(jsii_name="updateAzapiResource")
|
|
11377
11416
|
def _update_azapi_resource(
|
|
11378
11417
|
self,
|
|
@@ -26267,6 +26306,16 @@ class PolicyAssignment(
|
|
|
26267
26306
|
'''Gets the Azure resource type for Policy Assignments.'''
|
|
26268
26307
|
return typing.cast(builtins.str, jsii.invoke(self, "resourceType", []))
|
|
26269
26308
|
|
|
26309
|
+
@jsii.member(jsii_name="supportsTags")
|
|
26310
|
+
def _supports_tags(self) -> builtins.bool:
|
|
26311
|
+
'''Policy Assignments do not support tags at the resource level Tags are not a valid property for Microsoft.Authorization/policyAssignments.
|
|
26312
|
+
|
|
26313
|
+
:return: false - Policy Assignments cannot have tags
|
|
26314
|
+
|
|
26315
|
+
:override: true
|
|
26316
|
+
'''
|
|
26317
|
+
return typing.cast(builtins.bool, jsii.invoke(self, "supportsTags", []))
|
|
26318
|
+
|
|
26270
26319
|
@builtins.property
|
|
26271
26320
|
@jsii.member(jsii_name="assignmentScope")
|
|
26272
26321
|
def assignment_scope(self) -> builtins.str:
|
|
@@ -27298,6 +27347,28 @@ class PolicyDefinition(
|
|
|
27298
27347
|
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
27299
27348
|
return typing.cast(typing.Any, jsii.invoke(self, "createResourceBody", [props]))
|
|
27300
27349
|
|
|
27350
|
+
@jsii.member(jsii_name="customizeResourceConfig")
|
|
27351
|
+
def _customize_resource_config(self, config: typing.Any) -> typing.Any:
|
|
27352
|
+
'''Customizes the AZAPI ResourceConfig for policy-specific requirements.
|
|
27353
|
+
|
|
27354
|
+
Policy definitions require special handling because:
|
|
27355
|
+
|
|
27356
|
+
1. They contain complex nested objects (ARM templates in DeployIfNotExists policies)
|
|
27357
|
+
2. They use Azure Policy expressions like [field()], [parameters()], [variables()]
|
|
27358
|
+
which are NOT Terraform interpolations but Azure-native expressions
|
|
27359
|
+
3. Schema validation may strip unknown properties from deeply nested structures
|
|
27360
|
+
|
|
27361
|
+
:param config: - The base ResourceConfig.
|
|
27362
|
+
|
|
27363
|
+
:return: Modified ResourceConfig with policy-specific settings
|
|
27364
|
+
|
|
27365
|
+
:override: true
|
|
27366
|
+
'''
|
|
27367
|
+
if __debug__:
|
|
27368
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a36d716d00273ea6a6af571a1c37fbb7d796ec85b026ce6ee72b0cd90e97bca0)
|
|
27369
|
+
check_type(argname="argument config", value=config, expected_type=type_hints["config"])
|
|
27370
|
+
return typing.cast(typing.Any, jsii.invoke(self, "customizeResourceConfig", [config]))
|
|
27371
|
+
|
|
27301
27372
|
@jsii.member(jsii_name="defaultVersion")
|
|
27302
27373
|
def _default_version(self) -> builtins.str:
|
|
27303
27374
|
'''Gets the default API version to use when no explicit version is specified Returns the most recent stable version as the default.'''
|
|
@@ -27308,6 +27379,16 @@ class PolicyDefinition(
|
|
|
27308
27379
|
'''Gets the Azure resource type for Policy Definitions.'''
|
|
27309
27380
|
return typing.cast(builtins.str, jsii.invoke(self, "resourceType", []))
|
|
27310
27381
|
|
|
27382
|
+
@jsii.member(jsii_name="supportsTags")
|
|
27383
|
+
def _supports_tags(self) -> builtins.bool:
|
|
27384
|
+
'''Policy Definitions do not support tags at the resource level Tags are not a valid property for Microsoft.Authorization/policyDefinitions.
|
|
27385
|
+
|
|
27386
|
+
:return: false - Policy Definitions cannot have tags
|
|
27387
|
+
|
|
27388
|
+
:override: true
|
|
27389
|
+
'''
|
|
27390
|
+
return typing.cast(builtins.bool, jsii.invoke(self, "supportsTags", []))
|
|
27391
|
+
|
|
27311
27392
|
@builtins.property
|
|
27312
27393
|
@jsii.member(jsii_name="idOutput")
|
|
27313
27394
|
def id_output(self) -> _cdktf_9a9027ec.TerraformOutput:
|
|
@@ -54547,6 +54628,12 @@ def _typecheckingstub__a404c6dee43160589c1a592d4c91470f8bc17a406da1d37b670f3f4d7
|
|
|
54547
54628
|
"""Type checking stubs"""
|
|
54548
54629
|
pass
|
|
54549
54630
|
|
|
54631
|
+
def _typecheckingstub__cc42b99cf502face5ee1f35101499a4f83e9c4977fc6a3e5290ec43eead5a095(
|
|
54632
|
+
config: typing.Any,
|
|
54633
|
+
) -> None:
|
|
54634
|
+
"""Type checking stubs"""
|
|
54635
|
+
pass
|
|
54636
|
+
|
|
54550
54637
|
def _typecheckingstub__0f4da57c858d29cc3485cd8769a7c9c26ad5686c46b8919d7b5cde5a17ff2d4b(
|
|
54551
54638
|
props: typing.Any,
|
|
54552
54639
|
) -> None:
|
|
@@ -56638,6 +56725,12 @@ def _typecheckingstub__28fc303be9b2468d75f6bc0aca70dddeab372c0b98ce951df82d5c8a1
|
|
|
56638
56725
|
"""Type checking stubs"""
|
|
56639
56726
|
pass
|
|
56640
56727
|
|
|
56728
|
+
def _typecheckingstub__a36d716d00273ea6a6af571a1c37fbb7d796ec85b026ce6ee72b0cd90e97bca0(
|
|
56729
|
+
config: typing.Any,
|
|
56730
|
+
) -> None:
|
|
56731
|
+
"""Type checking stubs"""
|
|
56732
|
+
pass
|
|
56733
|
+
|
|
56641
56734
|
def _typecheckingstub__cb92598a4c3a4da2786ee5794feea197a9e519cd7b198cd953c0dbef404e1fe1(
|
|
56642
56735
|
*,
|
|
56643
56736
|
properties: typing.Union[_PolicyDefinitionProperties_ff703616, typing.Dict[builtins.str, typing.Any]],
|
|
@@ -33,9 +33,9 @@ import constructs._jsii
|
|
|
33
33
|
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
35
|
"@microsoft/terraform-cdk-constructs",
|
|
36
|
-
"1.3.
|
|
36
|
+
"1.3.1",
|
|
37
37
|
__name__[0:-6],
|
|
38
|
-
"terraform-cdk-constructs@1.3.
|
|
38
|
+
"terraform-cdk-constructs@1.3.1.jsii.tgz",
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
|
Binary file
|
|
@@ -782,6 +782,16 @@ class PolicyAssignment(
|
|
|
782
782
|
'''Gets the Azure resource type for Policy Assignments.'''
|
|
783
783
|
return typing.cast(builtins.str, jsii.invoke(self, "resourceType", []))
|
|
784
784
|
|
|
785
|
+
@jsii.member(jsii_name="supportsTags")
|
|
786
|
+
def _supports_tags(self) -> builtins.bool:
|
|
787
|
+
'''Policy Assignments do not support tags at the resource level Tags are not a valid property for Microsoft.Authorization/policyAssignments.
|
|
788
|
+
|
|
789
|
+
:return: false - Policy Assignments cannot have tags
|
|
790
|
+
|
|
791
|
+
:override: true
|
|
792
|
+
'''
|
|
793
|
+
return typing.cast(builtins.bool, jsii.invoke(self, "supportsTags", []))
|
|
794
|
+
|
|
785
795
|
@builtins.property
|
|
786
796
|
@jsii.member(jsii_name="assignmentScope")
|
|
787
797
|
def assignment_scope(self) -> builtins.str:
|
|
@@ -638,6 +638,28 @@ class PolicyDefinition(
|
|
|
638
638
|
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
639
639
|
return typing.cast(typing.Any, jsii.invoke(self, "createResourceBody", [props]))
|
|
640
640
|
|
|
641
|
+
@jsii.member(jsii_name="customizeResourceConfig")
|
|
642
|
+
def _customize_resource_config(self, config: typing.Any) -> typing.Any:
|
|
643
|
+
'''Customizes the AZAPI ResourceConfig for policy-specific requirements.
|
|
644
|
+
|
|
645
|
+
Policy definitions require special handling because:
|
|
646
|
+
|
|
647
|
+
1. They contain complex nested objects (ARM templates in DeployIfNotExists policies)
|
|
648
|
+
2. They use Azure Policy expressions like [field()], [parameters()], [variables()]
|
|
649
|
+
which are NOT Terraform interpolations but Azure-native expressions
|
|
650
|
+
3. Schema validation may strip unknown properties from deeply nested structures
|
|
651
|
+
|
|
652
|
+
:param config: - The base ResourceConfig.
|
|
653
|
+
|
|
654
|
+
:return: Modified ResourceConfig with policy-specific settings
|
|
655
|
+
|
|
656
|
+
:override: true
|
|
657
|
+
'''
|
|
658
|
+
if __debug__:
|
|
659
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d51b9a44e8620493aa3fd63ad76bd0951072b15d9e32625134dbeec45cec1581)
|
|
660
|
+
check_type(argname="argument config", value=config, expected_type=type_hints["config"])
|
|
661
|
+
return typing.cast(typing.Any, jsii.invoke(self, "customizeResourceConfig", [config]))
|
|
662
|
+
|
|
641
663
|
@jsii.member(jsii_name="defaultVersion")
|
|
642
664
|
def _default_version(self) -> builtins.str:
|
|
643
665
|
'''Gets the default API version to use when no explicit version is specified Returns the most recent stable version as the default.'''
|
|
@@ -648,6 +670,16 @@ class PolicyDefinition(
|
|
|
648
670
|
'''Gets the Azure resource type for Policy Definitions.'''
|
|
649
671
|
return typing.cast(builtins.str, jsii.invoke(self, "resourceType", []))
|
|
650
672
|
|
|
673
|
+
@jsii.member(jsii_name="supportsTags")
|
|
674
|
+
def _supports_tags(self) -> builtins.bool:
|
|
675
|
+
'''Policy Definitions do not support tags at the resource level Tags are not a valid property for Microsoft.Authorization/policyDefinitions.
|
|
676
|
+
|
|
677
|
+
:return: false - Policy Definitions cannot have tags
|
|
678
|
+
|
|
679
|
+
:override: true
|
|
680
|
+
'''
|
|
681
|
+
return typing.cast(builtins.bool, jsii.invoke(self, "supportsTags", []))
|
|
682
|
+
|
|
651
683
|
@builtins.property
|
|
652
684
|
@jsii.member(jsii_name="idOutput")
|
|
653
685
|
def id_output(self) -> _cdktf_9a9027ec.TerraformOutput:
|
|
@@ -1354,6 +1386,12 @@ def _typecheckingstub__cc9e10dbd4e5283400118fc3a590380383ba2659249c97ae1faf47ef9
|
|
|
1354
1386
|
"""Type checking stubs"""
|
|
1355
1387
|
pass
|
|
1356
1388
|
|
|
1389
|
+
def _typecheckingstub__d51b9a44e8620493aa3fd63ad76bd0951072b15d9e32625134dbeec45cec1581(
|
|
1390
|
+
config: typing.Any,
|
|
1391
|
+
) -> None:
|
|
1392
|
+
"""Type checking stubs"""
|
|
1393
|
+
pass
|
|
1394
|
+
|
|
1357
1395
|
def _typecheckingstub__0657ed07126b893992a523233fa3e437c3251a22d3ed4c9a0e0df9d02677dc69(
|
|
1358
1396
|
*,
|
|
1359
1397
|
properties: typing.Union[PolicyDefinitionProperties, typing.Dict[builtins.str, typing.Any]],
|
|
@@ -2380,6 +2380,8 @@ class AzapiResource(
|
|
|
2380
2380
|
|
|
2381
2381
|
:param key: - The tag key.
|
|
2382
2382
|
:param value: - The tag value.
|
|
2383
|
+
|
|
2384
|
+
:throws: Error if the resource type does not support tags
|
|
2383
2385
|
'''
|
|
2384
2386
|
if __debug__:
|
|
2385
2387
|
type_hints = typing.get_type_hints(_typecheckingstub__d90d32b2c297a1cdd94e973a7a8ed52e0f58c521022cf8be08b469c16c969fa6)
|
|
@@ -2526,6 +2528,35 @@ class AzapiResource(
|
|
|
2526
2528
|
'''
|
|
2527
2529
|
...
|
|
2528
2530
|
|
|
2531
|
+
@jsii.member(jsii_name="customizeResourceConfig")
|
|
2532
|
+
def _customize_resource_config(self, config: typing.Any) -> typing.Any:
|
|
2533
|
+
'''Allows child classes to customize the ResourceConfig before resource creation.
|
|
2534
|
+
|
|
2535
|
+
Override this method to add resource-specific configuration like:
|
|
2536
|
+
|
|
2537
|
+
- schemaValidationEnabled: false (for resources with complex nested structures)
|
|
2538
|
+
- ignoreMissingProperty: true (for resources with dynamic/unknown properties)
|
|
2539
|
+
- ignoreNullProperty: true (for resources that should skip null values)
|
|
2540
|
+
|
|
2541
|
+
:param config: - The base ResourceConfig that will be used to create the resource.
|
|
2542
|
+
|
|
2543
|
+
:return: The potentially modified ResourceConfig
|
|
2544
|
+
|
|
2545
|
+
Example::
|
|
2546
|
+
|
|
2547
|
+
protected customizeResourceConfig(config: ResourceConfig): ResourceConfig {
|
|
2548
|
+
return {
|
|
2549
|
+
...config,
|
|
2550
|
+
schemaValidationEnabled: false,
|
|
2551
|
+
ignoreMissingProperty: true,
|
|
2552
|
+
};
|
|
2553
|
+
}
|
|
2554
|
+
'''
|
|
2555
|
+
if __debug__:
|
|
2556
|
+
type_hints = typing.get_type_hints(_typecheckingstub__10ba7daf985da96e3075a4105cbfd96117ade31d5e1545ad6953babac62af9f4)
|
|
2557
|
+
check_type(argname="argument config", value=config, expected_type=type_hints["config"])
|
|
2558
|
+
return typing.cast(typing.Any, jsii.invoke(self, "customizeResourceConfig", [config]))
|
|
2559
|
+
|
|
2529
2560
|
@jsii.member(jsii_name="defaultLocation")
|
|
2530
2561
|
def _default_location(self) -> typing.Optional[builtins.str]:
|
|
2531
2562
|
'''Override in child classes to provide default location.
|
|
@@ -2811,6 +2842,14 @@ class AzapiResource(
|
|
|
2811
2842
|
'''
|
|
2812
2843
|
return typing.cast(typing.List[builtins.str], jsii.invoke(self, "supportedVersions", []))
|
|
2813
2844
|
|
|
2845
|
+
@jsii.member(jsii_name="supportsTags")
|
|
2846
|
+
def _supports_tags(self) -> builtins.bool:
|
|
2847
|
+
'''Override in child classes to indicate if the resource type supports tags Some Azure resources (e.g., Policy Definitions, Policy Assignments) do not support tags.
|
|
2848
|
+
|
|
2849
|
+
:return: true if the resource supports tags (default), false otherwise
|
|
2850
|
+
'''
|
|
2851
|
+
return typing.cast(builtins.bool, jsii.invoke(self, "supportsTags", []))
|
|
2852
|
+
|
|
2814
2853
|
@jsii.member(jsii_name="updateAzapiResource")
|
|
2815
2854
|
def _update_azapi_resource(
|
|
2816
2855
|
self,
|
|
@@ -12688,6 +12727,12 @@ def _typecheckingstub__3db285232c50fdf23460379819cb2891917267d1cb22577f50f8db0de
|
|
|
12688
12727
|
"""Type checking stubs"""
|
|
12689
12728
|
pass
|
|
12690
12729
|
|
|
12730
|
+
def _typecheckingstub__10ba7daf985da96e3075a4105cbfd96117ade31d5e1545ad6953babac62af9f4(
|
|
12731
|
+
config: typing.Any,
|
|
12732
|
+
) -> None:
|
|
12733
|
+
"""Type checking stubs"""
|
|
12734
|
+
pass
|
|
12735
|
+
|
|
12691
12736
|
def _typecheckingstub__8fd7d7af1b1f70a2a68d9355dfe71212e4290f9cd199ab17f1f353c9de0856f4(
|
|
12692
12737
|
props: typing.Any,
|
|
12693
12738
|
) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: microsoft-cdktfconstructs
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
4
4
|
Summary: Azure CDK constructs using AZAPI provider for direct Azure REST API access. Version 1.0.0 - Major breaking change migration from AzureRM to AZAPI.
|
|
5
5
|
Home-page: https://github.com/azure/terraform-cdk-constructs.git
|
|
6
6
|
Author: Microsoft
|
|
@@ -11,7 +11,7 @@ src/microsoft_cdktfconstructs.egg-info/dependency_links.txt
|
|
|
11
11
|
src/microsoft_cdktfconstructs.egg-info/requires.txt
|
|
12
12
|
src/microsoft_cdktfconstructs.egg-info/top_level.txt
|
|
13
13
|
src/microsoft_cdktfconstructs/_jsii/__init__.py
|
|
14
|
-
src/microsoft_cdktfconstructs/_jsii/terraform-cdk-constructs@1.3.
|
|
14
|
+
src/microsoft_cdktfconstructs/_jsii/terraform-cdk-constructs@1.3.1.jsii.tgz
|
|
15
15
|
src/microsoft_cdktfconstructs/azure_actiongroup/__init__.py
|
|
16
16
|
src/microsoft_cdktfconstructs/azure_activitylogalert/__init__.py
|
|
17
17
|
src/microsoft_cdktfconstructs/azure_aks/__init__.py
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|