Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed old gallery application version properties #12438

Merged
merged 1 commit into from
Jan 21, 2021
Merged
Show file tree
Hide file tree
Changes from all 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 @@ -11,9 +11,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"targetRegions": [
{
"name": "West US",
Expand All @@ -38,9 +41,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down Expand Up @@ -68,9 +74,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down Expand Up @@ -98,9 +107,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1440,9 +1440,8 @@
"source": {
"$ref": "#/definitions/UserArtifactSource"
},
"contentType": {
"type": "string",
"description": "Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc."
"manageActions": {
"$ref": "#/definitions/UserArtifactManage"
},
"enableHealthCheck": {
"type": "boolean",
Expand All @@ -1457,25 +1456,44 @@
"required": [
"source"
],
"description": "The publishing profile of a gallery Image Version."
"description": "The publishing profile of a gallery image version."
},
"UserArtifactSource": {
"properties": {
"fileName": {
"mediaLink": {
"type": "string",
"description": "Required. The fileName of the artifact."
"description": "Required. The mediaLink of the artifact, must be a readable storage page blob."
},
"mediaLink": {
"defaultConfigurationLink": {
"type": "string",
"description": "Required. The mediaLink of the artifact, must be a readable storage blob."
"description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob."
}
},
"required": [
"fileName",
"mediaLink"
],
"description": "The source image from which the Image Version is going to be created."
},
"UserArtifactManage": {
"properties": {
"install": {
"type": "string",
"description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters."
},
"remove": {
"type": "string",
"description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters."
},
"update": {
"type": "string",
"description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters."
}
},
"required": [
"install",
"remove"
]
},
"GalleryImage": {
"properties": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"targetRegions": [
{
"name": "West US",
Expand All @@ -38,9 +41,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down Expand Up @@ -68,9 +74,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down Expand Up @@ -98,9 +107,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"targetRegions": [
{
"name": "West US",
Expand All @@ -37,9 +40,12 @@
"properties": {
"publishingProfile": {
"source": {
"fileName": "package.zip",
"mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
},
"manageActions": {
"install": "powershell -command \"Expand-Archive -Path package.zip -DestinationPath C:\\package\"",
"remove": "del C:\\package "
},
"enableHealthCheck": false,
"targetRegions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1800,9 +1800,8 @@
"source": {
"$ref": "#/definitions/UserArtifactSource"
},
"contentType": {
"type": "string",
"description": "Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc."
"manageActions": {
"$ref": "#/definitions/UserArtifactManage"
},
"enableHealthCheck": {
"type": "boolean",
Expand All @@ -1817,25 +1816,44 @@
"required": [
"source"
],
"description": "The publishing profile of a gallery Image Version."
"description": "The publishing profile of a gallery image version."
},
"UserArtifactSource": {
"properties": {
"fileName": {
"mediaLink": {
"type": "string",
"description": "Required. The fileName of the artifact."
"description": "Required. The mediaLink of the artifact, must be a readable storage page blob."
},
"mediaLink": {
"defaultConfigurationLink": {
"type": "string",
"description": "Required. The mediaLink of the artifact, must be a readable storage blob."
"description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob."
}
},
"required": [
"fileName",
"mediaLink"
],
"description": "The source image from which the Image Version is going to be created."
},
"UserArtifactManage": {
"properties": {
"install": {
"type": "string",
"description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters."
},
"remove": {
"type": "string",
"description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters."
},
"update": {
"type": "string",
"description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters."
}
},
"required": [
"install",
"remove"
]
},
"GalleryImage": {
"properties": {
"properties": {
Expand Down
Loading