Skip to content

Commit 63697fd

Browse files
another import
1 parent 2b5f86e commit 63697fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/job_handler_plugins/omnia_classic_azure_container_instances

src/job_handler_plugins/omnia_classic_azure_container_instances/ARM_deployer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from azure.mgmt.resource import ResourceManagementClient
2-
from azure.mgmt.resource.resources.v2021_04_01.models import Deployment, DeploymentMode
2+
from azure.mgmt.resource.resources.models import Deployment
33

44

55
class Deployer:
@@ -12,7 +12,7 @@ def __init__(self, subscription_id, resource_group, credentials):
1212

1313
def deploy(self, template: dict, deployment_name: str, parameters: dict):
1414
deployment_properties = {
15-
"mode": DeploymentMode.incremental,
15+
"mode": "Incremental",
1616
"template": template,
1717
"parameters": {k: {"value": v} for k, v in parameters.items()} if parameters else {},
1818
}

0 commit comments

Comments
 (0)