Skip to content

Commit

Permalink
[developerhub] Update private preview 2024-05-01-preview (#30333)
Browse files Browse the repository at this point in the history
* change typo

* fix ci issu

* fix model validation error

* add all quick start template type

---------

Co-authored-by: qfai <quke@microsoft.com>
  • Loading branch information
qfai and qfai authored Sep 12, 2024
1 parent 60bf189 commit 14ac81f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,17 @@
"resourceGroupName": "resourceGroup1",
"iacProfileName": "profile1",
"parameters": {
"location": "location1",
"tags": {
"appname": "testApp"
},
"location": "eastus",
"properties": {
"githubProfile": {
"repositoryOwner": "owner",
"repositoryName": "localtest",
"repositoryMainBranch": "main"
"repositoryOwner": "qfai",
"repositoryName": "localtest"
},
"terraformProfile": {
"storageAccountSubscription": "subscription",
"storageAccountResourceGroup": "hybrid-iac",
"storageAccountName": "hybridiac",
"storageContainerName": "hybridiac"
"storageAccountSubscription": "586c20df-c465-4f10-8673-65aa4859e7ca",
"storageAccountResourceGroup": "test",
"storageAccountName": "iacbackend",
"storageContainerName": "tfbackend"
},
"stages": [
{
Expand All @@ -33,33 +29,14 @@
"dev"
],
"gitEnvironment": "Terraform"
},
{
"stageName": "prod",
"dependencies": [
"qa"
],
"gitEnvironment": "Terraform"
}
],
"templates": [
{
"templateName": "base",
"sourceResourceId": "/subscriptions/xxxx/resourceGroups/xxxx",
"instanceStage": "dev",
"instanceName": "contoso",
"templateDetails": [
{
"productName": "HCI",
"count": 1,
"namingConvention": "$sitid-hci"
},
{
"productName": "AKSarc",
"count": 1,
"namingConvention": "$sitid-aks"
}
]
"templateName": "hciaksss",
"quickStartTemplateType": "HCIAKS",
"instanceName": "quickinstance",
"instanceStage": "dev"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
"resourceGroupName": "resourceGroup1",
"iacProfileName": "iacprofile",
"parameters": {
"templateName": "base",
"templateName": "test",
"resourceGroupIds": [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup2"
"/subscriptions/de3c4d5e-af08-451a-a873-438d86ab6f4b/resourceGroups/iac208-rg"
],
"instanceName": "sample",
"instanceName": "iac208",
"instanceStage": "dev"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"resourceGroupName": "resourceGroup1",
"iacProfileName": "iacprofile",
"parameters": {
"templateName": "base",
"scaleRequirement": [
"templateName": "hciaksss",
"scaleProperties": [
{
"stage": "dev",
"region": "useast",
"numberOfStore": 10,
"stage": "dev"
"numberOfStores": 1
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,9 @@
"None",
"HCI",
"HCIAKS",
"HCIARCVM"
"HCIARCVM",
"ALL"
],
"readOnly": true,
"x-ms-enum": {
"name": "QuickStartTemplateType",
"modelAsString": true,
Expand All @@ -655,6 +655,10 @@
{
"value": "HCIARCVM",
"description": "The template use quick start template of HCI and ArcVM"
},
{
"value": "ALL",
"description": "The template use quick start template of All supported products"
}
]
},
Expand Down Expand Up @@ -711,7 +715,7 @@
"title": "The name of the template.",
"description": "Template Name"
},
"scaleRequirement": {
"scaleProperties": {
"type": "array",
"items": {
"$ref": "#/definitions/ScaleProperty"
Expand All @@ -730,7 +734,7 @@
"type": "string",
"description": "The stage of the store"
},
"numberOfStore": {
"numberOfStores": {
"type": "integer",
"format": "int32",
"description": "Number of the store"
Expand Down

0 comments on commit 14ac81f

Please sign in to comment.