Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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 @@ -294,6 +294,10 @@
"x-ms-identifiers": [
"triggerParameter"
]
},
"identity": {
"description": "The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.",
"type": "string"
}
}
},
Expand Down Expand Up @@ -429,6 +433,10 @@
"x-ms-identifiers": [
"triggerParameter"
]
},
"identity": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blocking your change - Could this be moved to base definition and referenced for all scale rules

"description": "The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.",
"type": "string"
}
}
},
Expand All @@ -452,6 +460,10 @@
"x-ms-identifiers": [
"triggerParameter"
]
},
"identity": {
"description": "The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.",
"type": "string"
}
}
},
Expand All @@ -477,6 +489,10 @@
"x-ms-identifiers": [
"triggerParameter"
]
},
"identity": {
"description": "The resource ID of a user-assigned managed identity that is assigned to the Container App, or 'system' for system-assigned identity.",
"type": "string"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,10 @@
"items": {
"$ref": "./CommonDefinitions.json#/definitions/ScaleRuleAuth"
}
},
"identity": {
"description": "The resource ID of a user-assigned managed identity that is assigned to the job, or 'system' for system-assigned identity.",
"type": "string"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,18 @@
"concurrentRequests": "50"
}
}
},
{
"name": "servicebus",
"custom": {
"type": "azure-servicebus",
"metadata": {
"queueName": "myqueue",
"namespace": "mynamespace",
"messageCount": "5"
},
"identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity"
}
}
]
},
Expand Down Expand Up @@ -343,6 +355,18 @@
"concurrentRequests": "50"
}
}
},
{
"name": "servicebus",
"custom": {
"type": "azure-servicebus",
"metadata": {
"queueName": "myqueue",
"namespace": "mynamespace",
"messageCount": "5"
},
"identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity"
}
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,18 @@
"concurrentRequests": "50"
}
}
},
{
"name": "servicebus",
"custom": {
"type": "azure-servicebus",
"metadata": {
"queueName": "myqueue",
"namespace": "mynamespace",
"messageCount": "5"
},
"identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity"
}
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,23 @@
"while true; do echo hello; sleep 10;done"
]
}
]
],
"scale": {
"minExecutions": 1,
"maxExecutions": 5,
"rules": [
{
"name": "servicebus",
"type": "azure-servicebus",
"metadata": {
"queueName": "myqueue",
"namespace": "mynamespace",
"messageCount": "5"
},
"identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity"
}
]
}
}
}
}
Expand Down Expand Up @@ -151,6 +167,22 @@
]
}
],
"scale": {
"minExecutions": 1,
"maxExecutions": 5,
"rules": [
{
"name": "servicebus",
"type": "azure-servicebus",
"metadata": {
"queueName": "myqueue",
"namespace": "mynamespace",
"messageCount": "5"
},
"identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity"
}
]
},
"volumes": [
{
"name": "azurefile",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,22 @@
}
}
],
"scale": {
"minExecutions": 1,
"maxExecutions": 5,
"rules": [
{
"name": "servicebus",
"type": "azure-servicebus",
"metadata": {
"queueName": "myqueue",
"namespace": "mynamespace",
"messageCount": "5"
},
"identity": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity"
}
]
},
"volumes": [
{
"name": "azurefile",
Expand Down