Skip to content

Commit

Permalink
[DeploymentScripts] Inclusion of ContainerGroupName (#8771)
Browse files Browse the repository at this point in the history
* Added python deployment scripts package reference

* update python sdk references

* enabled containerGroupName property

* added comments based on feedback

* removed arm template reference

* fixed typo

* fixed prettier error
  • Loading branch information
jorgecotillo authored Mar 25, 2020
1 parent 3151125 commit 306a264
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,11 @@
"x-ms-external": true,
"description": "Common properties for the deployment script.",
"properties": {
"containerSettings": {
"type": "object",
"description": "Container settings.",
"$ref": "#/definitions/ContainerConfiguration"
},
"cleanupPreference": {
"type": "string",
"description": "The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.",
Expand Down Expand Up @@ -651,6 +656,18 @@
}
}
},
"ContainerConfiguration": {
"type": "object",
"description": "Settings to customize ACI container instance.",
"properties": {
"containerGroupName": {
"type": "string",
"description": "Container group name, if not specified then the name will get auto-generated. Not specifying a 'containerGroupName' indicates the system to generate a unique name which might end up flagging an Azure Policy as non-compliant. Use 'containerGroupName' when you have an Azure Policy that expects a specific naming convention or when you want to fully control the name. 'containerGroupName' property must be between 1 and 63 characters long, must contain only lowercase letters, numbers, and dashes and it cannot start or end with a dash and consecutive dashes are not allowed. To specify a 'containerGroupName', add the following object to properties: { \"containerSettings\": { \"containerGroupName\": \"contoso-container\" } }. If you do not want to specify a 'containerGroupName' then do not add 'containerSettings' property.",
"minLength": 1,
"maxLength": 63
}
}
},
"ScriptStatus": {
"type": "object",
"description": "Generic object modeling results of script execution.",
Expand Down

0 comments on commit 306a264

Please sign in to comment.