Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"settings": {
"packageFileName": "package.zip",
"configFileName": "configuration.cfg"
},
"advancedSettings": {
"timoeut": "300",
"user": "root"
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down Expand Up @@ -80,6 +88,14 @@
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"settings": {
"packageFileName": "package.zip",
"configFileName": "configuration.cfg"
},
"advancedSettings": {
"timoeut": "300",
"user": "root"
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down Expand Up @@ -113,6 +129,14 @@
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"settings": {
"packageFileName": "package.zip",
"configFileName": "configuration.cfg"
},
"advancedSettings": {
"timoeut": "300",
"user": "root"
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"settings": {
"packageFileName": "package.zip",
"configFileName": "configuration.cfg"
},
"advancedSettings": {
"timoeut": "300",
"user": "root"
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2098,6 +2098,16 @@
"manageActions": {
"$ref": "#/definitions/UserArtifactManage"
},
"settings": {
"$ref": "#/definitions/UserArtifactSettings"
},
"advancedSettings": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Optional. Additional settings to pass to the VMApp extension. For advanced used only."
},
"enableHealthCheck": {
"type": "boolean",
"description": "Optional. Whether or not this application reports health."
Expand Down Expand Up @@ -2149,6 +2159,19 @@
"remove"
]
},
"UserArtifactSettings": {
"type": "object",
"properties": {
"packageFileName": {
"type": "string",
"description": "Optional. The name to assign the downloaded package file on the VM. If not specified, downloaded file will be named the same as the gallery application name. This is limited to 4096 characters."
},
"configFileName": {
"type": "string",
"description": "Optional. The name to assign the downloaded config file on the VM. If not specified, the configuration file will be named `<gallery application name>_config`. This is limited to 4096 characters."
}
}
},
"GalleryImage": {
"properties": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,14 @@
"configurationReference": {
"type": "string",
"description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided"
},
"treatFailureAsDeploymentFailure": {
"type": "boolean",
"description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment"
},
"enableAutomaticUpgrade": {
"type": "boolean",
"description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"tags": "myTag1",
"order": 1,
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config"
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config",
"treatFailureAsDeploymentFailure": false,
"enableAutomaticUpgrade": false
},
{
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"tags": "myTag1",
"order": 1,
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config"
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config",
"treatFailureAsDeploymentFailure": true,
"enableAutomaticUpgrade": false
},
{
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1"
Expand Down