Skip to content

Commit

Permalink
Add "storageAccountResource" in azure.yaml.json (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
rujche authored Nov 22, 2024
1 parent d8f8499 commit 7d5bdd6
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion schemas/alpha/azure.yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
{ "if": { "properties": { "type": { "const": "messaging.servicebus" }}}, "then": { "$ref": "#/definitions/serviceBusResource"} },
{ "if": { "properties": { "type": { "const": "messaging.eventhubs" }}}, "then": { "$ref": "#/definitions/eventHubsResource"} },
{ "if": { "properties": { "type": { "const": "messaging.kafka" }}}, "then": { "$ref": "#/definitions/kafkaResource"} },
{ "if": { "properties": { "type": { "const": "storage" }}}, "then": { "$ref": "#/definitions/resource"} }
{ "if": { "properties": { "type": { "const": "storage" }}}, "then": { "$ref": "#/definitions/storageAccountResource"} }
]
}
},
Expand Down Expand Up @@ -1373,6 +1373,34 @@
}
}
},
"storageAccountResource": {
"type": "object",
"description": "A deployed, ready-to-use Azure Storage Account.",
"additionalProperties": false,
"properties": {
"type": true,
"uses": true,
"authType": {
"type": "string",
"title": "Authentication Type",
"description": "The type of authentication used for Azure Storage Account.",
"enum": [
"USER_ASSIGNED_MANAGED_IDENTITY",
"CONNECTION_STRING"
]
},
"containers": {
"type": "array",
"title": "Azure Storage Account container names.",
"description": "The container names of Azure Storage Account.",
"items": {
"type": "string",
"title": "Azure Storage Account container name",
"description": "The container name of Azure Storage Account."
}
}
}
},
"cosmosDbResource": {
"type": "object",
"description": "A deployed, ready-to-use Azure Cosmos DB for NoSQL.",
Expand Down

0 comments on commit 7d5bdd6

Please sign in to comment.