Create infrastructure/__init__.py
Browse files- infrastructure/__init__.py +24 -0
infrastructure/__init__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Makes the infrastructure folder a Python package
|
| 2 |
+
from .intents import (
|
| 3 |
+
ResourceType, PermissionLevel, Environment, ChangeScope,
|
| 4 |
+
ProvisionResourceIntent, DeployConfigurationIntent, GrantAccessIntent,
|
| 5 |
+
InfrastructureIntent
|
| 6 |
+
)
|
| 7 |
+
from .policies import (
|
| 8 |
+
Policy, RegionAllowedPolicy, ResourceTypeRestrictedPolicy,
|
| 9 |
+
MaxPermissionLevelPolicy, CostThresholdPolicy, PolicyEvaluator,
|
| 10 |
+
allow_all, deny_all
|
| 11 |
+
)
|
| 12 |
+
from .cost_estimator import CostEstimator
|
| 13 |
+
from .risk_engine import RiskEngine
|
| 14 |
+
from .healing_intent import HealingIntent, RecommendedAction, IntentSource
|
| 15 |
+
from .azure.azure_simulator import AzureInfrastructureSimulator
|
| 16 |
+
|
| 17 |
+
__all__ = [
|
| 18 |
+
"ResourceType", "PermissionLevel", "Environment", "ChangeScope",
|
| 19 |
+
"ProvisionResourceIntent", "DeployConfigurationIntent", "GrantAccessIntent",
|
| 20 |
+
"InfrastructureIntent", "Policy", "RegionAllowedPolicy",
|
| 21 |
+
"ResourceTypeRestrictedPolicy", "MaxPermissionLevelPolicy", "CostThresholdPolicy",
|
| 22 |
+
"PolicyEvaluator", "allow_all", "deny_all", "CostEstimator", "RiskEngine",
|
| 23 |
+
"HealingIntent", "RecommendedAction", "IntentSource", "AzureInfrastructureSimulator"
|
| 24 |
+
]
|