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

{Compute} az sig gallery-application verion: Migrate to AAZ #688

Merged
merged 3 commits into from
Feb 12, 2025
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
2 changes: 1 addition & 1 deletion Commands/sig/gallery-application/version/_create.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sig gallery-application version create_

Create a gallery Application Version.
Create a gallery application version.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sig/gallery-application/version/_delete.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sig gallery-application version delete_

Delete a gallery Application Version.
Delete a gallery application version.

## Versions

Expand Down
2 changes: 1 addition & 1 deletion Commands/sig/gallery-application/version/_show.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _sig gallery-application version show_

Get information about a gallery Application Version.
Get information about a gallery application version.

## Versions

Expand Down
9 changes: 8 additions & 1 deletion Commands/sig/gallery-application/version/_update.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# [Command] _sig gallery-application version update_

Update a gallery Application Version.
Update a gallery application version.

## Versions

### [2022-01-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9hcHBsaWNhdGlvbnMve30vdmVyc2lvbnMve30=/2022-01-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions/{} 2022-01-03 -->

#### examples

- Update a simple gallery Application Version.
```bash
sig gallery-application version update --gallery-name myGalleryName --application-name myGalleryApplicationName -n 1.0.0 -g myResourceGroup --package-file-link https://{myStorageAccount}.blob.core.windows.net/{myStorageContainer}/{myStorageBlob} --end-of-life-date "2050-07-01T07:00:00Z"
```
8 changes: 4 additions & 4 deletions Commands/sig/gallery-application/version/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ Manage gallery application version.
## Commands

- [create](/Commands/sig/gallery-application/version/_create.md)
: Create a gallery Application Version.
: Create a gallery application version.

- [delete](/Commands/sig/gallery-application/version/_delete.md)
: Delete a gallery Application Version.
: Delete a gallery application version.

- [list](/Commands/sig/gallery-application/version/_list.md)
: List gallery application versions.

- [show](/Commands/sig/gallery-application/version/_show.md)
: Get information about a gallery Application Version.
: Get information about a gallery application version.

- [update](/Commands/sig/gallery-application/version/_update.md)
: Update a gallery Application Version.
: Update a gallery application version.
16 changes: 12 additions & 4 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -217798,7 +217798,7 @@
"commands": {
"create": {
"help": {
"short": "Create a gallery Application Version."
"short": "Create a gallery application version."
},
"names": [
"sig",
Expand Down Expand Up @@ -217829,7 +217829,7 @@
},
"delete": {
"help": {
"short": "Delete a gallery Application Version."
"short": "Delete a gallery application version."
},
"names": [
"sig",
Expand Down Expand Up @@ -217875,7 +217875,7 @@
},
"show": {
"help": {
"short": "Get information about a gallery Application Version."
"short": "Get information about a gallery application version."
},
"names": [
"sig",
Expand All @@ -217898,7 +217898,7 @@
},
"update": {
"help": {
"short": "Update a gallery Application Version."
"short": "Update a gallery application version."
},
"names": [
"sig",
Expand All @@ -217908,6 +217908,14 @@
],
"versions": [
{
"examples": [
{
"commands": [
"sig gallery-application version update --gallery-name myGalleryName --application-name myGalleryApplicationName -n 1.0.0 -g myResourceGroup --package-file-link https://{myStorageAccount}.blob.core.windows.net/{myStorageContainer}/{myStorageBlob} --end-of-life-date \"2050-07-01T07:00:00Z\""
],
"name": "Update a simple gallery Application Version."
}
],
"name": "2022-01-03",
"resources": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions", "version": "2022-01-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9L3ZlcnNpb25z/V/MjAyMi0wMS0wMw=="}], "commandGroups": [{"name": "sig gallery-application version", "commands": [{"name": "list", "version": "2022-01-03", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions", "version": "2022-01-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9L3ZlcnNpb25z/V/MjAyMi0wMS0wMw=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryApplicationName", "options": ["application-name", "gallery-application-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery Application."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Gallery name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "GalleryApplicationVersions_ListByGalleryApplication", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryApplicationName", "arg": "$Path.galleryApplicationName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-03"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/applications/{}/versions/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "publishingProfile", "required": true, "props": [{"type": "object", "name": "advancedSettings", "additionalProps": {"item": {"type": "string"}}}, {"type": "boolean", "name": "enableHealthCheck"}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "boolean", "name": "excludeFromLatest"}, {"type": "object", "name": "manageActions", "props": [{"type": "string", "name": "install", "required": true}, {"type": "string", "name": "remove", "required": true}, {"type": "string", "name": "update"}]}, {"readOnly": true, "type": "dateTime", "name": "publishedDate"}, {"type": "integer32", "name": "replicaCount"}, {"type": "string", "name": "replicationMode", "enum": {"items": [{"value": "Full"}, {"value": "Shallow"}]}}, {"type": "object", "name": "settings", "props": [{"type": "string", "name": "configFileName"}, {"type": "string", "name": "packageFileName"}]}, {"type": "object", "name": "source", "required": true, "props": [{"type": "string", "name": "defaultConfigurationLink"}, {"type": "string", "name": "mediaLink", "required": true}]}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Standard_LRS"}, {"value": "Standard_ZRS"}]}}, {"type": "array<object>", "name": "targetExtendedLocations", "item": {"type": "object", "props": [{"type": "@EncryptionImages_read", "name": "encryption"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}, {"value": "Unknown"}]}}]}, {"type": "integer32", "name": "extendedLocationReplicaCount"}, {"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Standard_LRS"}, {"value": "Standard_ZRS"}]}}]}, "identifiers": ["name"]}, {"type": "array<object>", "name": "targetRegions", "item": {"type": "object", "props": [{"type": "object", "name": "encryption", "props": [{"type": "array<object>", "name": "dataDiskImages", "item": {"type": "object", "props": [{"type": "string", "name": "diskEncryptionSetId"}, {"type": "integer32", "name": "lun", "required": true}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDiskImage", "props": [{"type": "string", "name": "diskEncryptionSetId"}, {"type": "object", "name": "securityProfile", "props": [{"type": "string", "name": "confidentialVMEncryptionType", "enum": {"items": [{"value": "EncryptedVMGuestStateOnlyWithPmk"}, {"value": "EncryptedWithCmk"}, {"value": "EncryptedWithPmk"}]}}, {"type": "string", "name": "secureVMDiskEncryptionSetId"}]}]}], "cls": "EncryptionImages_read"}, {"type": "string", "name": "name", "required": true}, {"type": "integer32", "name": "regionalReplicaCount"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Standard_LRS"}, {"value": "Standard_ZRS"}]}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "replicationStatus", "props": [{"readOnly": true, "type": "string", "name": "aggregatedState", "enum": {"items": [{"value": "Completed"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "array<object>", "name": "summary", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "details"}, {"readOnly": true, "type": "integer32", "name": "progress"}, {"readOnly": true, "type": "string", "name": "region"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Completed"}, {"value": "Failed"}, {"value": "Replicating"}, {"value": "Unknown"}]}}]}, "identifiers": ["region"]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions", "version": "2022-01-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9L3ZlcnNpb25z/V/MjAyMi0wMS0wMw=="}], "commandGroups": [{"name": "sig gallery-application version", "commands": [{"name": "list", "version": "2022-01-03", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions", "version": "2022-01-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9hcHBsaWNhdGlvbnMve2dhbGxlcnlBcHBsaWNhdGlvbk5hbWV9L3ZlcnNpb25z/V/MjAyMi0wMS0wMw=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryApplicationName", "options": ["application-name", "gallery-application-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery application."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Gallery name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "GalleryApplicationVersions_ListByGalleryApplication", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryApplicationName", "arg": "$Path.galleryApplicationName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-03"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/applications/{}/versions/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "publishingProfile", "required": true, "props": [{"type": "object", "name": "advancedSettings", "additionalProps": {"item": {"type": "string"}}}, {"type": "boolean", "name": "enableHealthCheck"}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "boolean", "name": "excludeFromLatest"}, {"type": "object", "name": "manageActions", "props": [{"type": "string", "name": "install", "required": true}, {"type": "string", "name": "remove", "required": true}, {"type": "string", "name": "update"}]}, {"readOnly": true, "type": "dateTime", "name": "publishedDate"}, {"type": "integer32", "name": "replicaCount"}, {"type": "string", "name": "replicationMode", "enum": {"items": [{"value": "Full"}, {"value": "Shallow"}]}}, {"type": "object", "name": "settings", "props": [{"type": "string", "name": "configFileName"}, {"type": "string", "name": "packageFileName"}]}, {"type": "object", "name": "source", "required": true, "props": [{"type": "string", "name": "defaultConfigurationLink"}, {"type": "string", "name": "mediaLink", "required": true}]}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Standard_LRS"}, {"value": "Standard_ZRS"}]}}, {"type": "array<object>", "name": "targetExtendedLocations", "item": {"type": "object", "props": [{"type": "@EncryptionImages_read", "name": "encryption"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}, {"value": "Unknown"}]}}]}, {"type": "integer32", "name": "extendedLocationReplicaCount"}, {"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "StandardSSD_LRS"}, {"value": "Standard_LRS"}, {"value": "Standard_ZRS"}]}}]}, "identifiers": ["name"]}, {"type": "array<object>", "name": "targetRegions", "item": {"type": "object", "props": [{"type": "object", "name": "encryption", "props": [{"type": "array<object>", "name": "dataDiskImages", "item": {"type": "object", "props": [{"type": "string", "name": "diskEncryptionSetId"}, {"type": "integer32", "name": "lun", "required": true}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDiskImage", "props": [{"type": "string", "name": "diskEncryptionSetId"}, {"type": "object", "name": "securityProfile", "props": [{"type": "string", "name": "confidentialVMEncryptionType", "enum": {"items": [{"value": "EncryptedVMGuestStateOnlyWithPmk"}, {"value": "EncryptedWithCmk"}, {"value": "EncryptedWithPmk"}]}}, {"type": "string", "name": "secureVMDiskEncryptionSetId"}]}]}], "cls": "EncryptionImages_read"}, {"type": "string", "name": "name", "required": true}, {"type": "integer32", "name": "regionalReplicaCount"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "Premium_LRS"}, {"value": "Standard_LRS"}, {"value": "Standard_ZRS"}]}}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "object", "name": "replicationStatus", "props": [{"readOnly": true, "type": "string", "name": "aggregatedState", "enum": {"items": [{"value": "Completed"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "array<object>", "name": "summary", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "details"}, {"readOnly": true, "type": "integer32", "name": "progress"}, {"readOnly": true, "type": "string", "name": "region"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Completed"}, {"value": "Failed"}, {"value": "Replicating"}, {"value": "Unknown"}]}}]}, "identifiers": ["region"]}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
Loading