Create azure_models.py
Browse files
infrastructure/azure/azure_models.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Azure-specific models (minimal for simulation).
|
| 3 |
+
"""
|
| 4 |
+
from pydantic import BaseModel
|
| 5 |
+
from typing import Optional, Dict, Any
|
| 6 |
+
|
| 7 |
+
class AzureResource(BaseModel):
|
| 8 |
+
resource_id: str
|
| 9 |
+
resource_type: str
|
| 10 |
+
location: str
|
| 11 |
+
tags: Dict[str, str] = {}
|
| 12 |
+
|
| 13 |
+
class AzureDeployment(BaseModel):
|
| 14 |
+
deployment_id: str
|
| 15 |
+
template: Dict[str, Any]
|
| 16 |
+
parameters: Dict[str, Any]
|
| 17 |
+
resource_group: str
|