Skip to content

Commit 69ed20c

Browse files
authored
Merge pull request #688 from cxznmhdcxz/sig-gallery-app-version-migrate
{Compute} `az sig gallery-application verion`: Migrate to AAZ
2 parents 1a77faf + 8c22311 commit 69ed20c

File tree

10 files changed

+333
-336
lines changed

10 files changed

+333
-336
lines changed

Commands/sig/gallery-application/version/_create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Command] _sig gallery-application version create_
22

3-
Create a gallery Application Version.
3+
Create a gallery application version.
44

55
## Versions
66

Commands/sig/gallery-application/version/_delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Command] _sig gallery-application version delete_
22

3-
Delete a gallery Application Version.
3+
Delete a gallery application version.
44

55
## Versions
66

Commands/sig/gallery-application/version/_show.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Command] _sig gallery-application version show_
22

3-
Get information about a gallery Application Version.
3+
Get information about a gallery application version.
44

55
## Versions
66

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
# [Command] _sig gallery-application version update_
22

3-
Update a gallery Application Version.
3+
Update a gallery application version.
44

55
## Versions
66

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

99
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/applications/{}/versions/{} 2022-01-03 -->
10+
11+
#### examples
12+
13+
- Update a simple gallery Application Version.
14+
```bash
15+
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"
16+
```

Commands/sig/gallery-application/version/readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ Manage gallery application version.
55
## Commands
66

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

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

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

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

1919
- [update](/Commands/sig/gallery-application/version/_update.md)
20-
: Update a gallery Application Version.
20+
: Update a gallery application version.

Commands/tree.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217798,7 +217798,7 @@
217798217798
"commands": {
217799217799
"create": {
217800217800
"help": {
217801-
"short": "Create a gallery Application Version."
217801+
"short": "Create a gallery application version."
217802217802
},
217803217803
"names": [
217804217804
"sig",
@@ -217829,7 +217829,7 @@
217829217829
},
217830217830
"delete": {
217831217831
"help": {
217832-
"short": "Delete a gallery Application Version."
217832+
"short": "Delete a gallery application version."
217833217833
},
217834217834
"names": [
217835217835
"sig",
@@ -217875,7 +217875,7 @@
217875217875
},
217876217876
"show": {
217877217877
"help": {
217878-
"short": "Get information about a gallery Application Version."
217878+
"short": "Get information about a gallery application version."
217879217879
},
217880217880
"names": [
217881217881
"sig",
@@ -217898,7 +217898,7 @@
217898217898
},
217899217899
"update": {
217900217900
"help": {
217901-
"short": "Update a gallery Application Version."
217901+
"short": "Update a gallery application version."
217902217902
},
217903217903
"names": [
217904217904
"sig",
@@ -217908,6 +217908,14 @@
217908217908
],
217909217909
"versions": [
217910217910
{
217911+
"examples": [
217912+
{
217913+
"commands": [
217914+
"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\""
217915+
],
217916+
"name": "Update a simple gallery Application Version."
217917+
}
217918+
],
217911217919
"name": "2022-01-03",
217912217920
"resources": [
217913217921
{
Original file line numberDiff line numberDiff line change
@@ -1 +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": ""}]}]}
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": "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": ""}]}]}

0 commit comments

Comments
 (0)