Skip to content

Commit 61fa39c

Browse files
authored
Fix swagger KPI issue on additional property "tenantId" in deployment script with api-version 2020-10-01 (#13120)
* Update deploymentScripts.json Mark environment variable secureValue as secret * Update deploymentScripts.json Fix a bug in Microsoft.Resources/deploymentScripts where tenantId property is missed from ManagedServiceIdentity. * Fix swagger KPI issue on additional property "tenantId" in deployment script with api-version 2020-10-01 * Update deploymentScripts.json * update retentionInterval description.
1 parent b8052be commit 61fa39c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@
601601
"retentionInterval": {
602602
"type": "string",
603603
"format": "duration",
604-
"description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P7D means one week)."
604+
"description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day)."
605605
},
606606
"timeout": {
607607
"type": "string",
@@ -755,6 +755,7 @@
755755
}
756756
},
757757
"tenantId": {
758+
"readOnly": true,
758759
"type": "string",
759760
"description": "ID of the Azure Active Directory."
760761
},

specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/deploymentScripts.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@
603603
"retentionInterval": {
604604
"type": "string",
605605
"format": "duration",
606-
"description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P7D means one week)."
606+
"description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day)."
607607
},
608608
"timeout": {
609609
"type": "string",
@@ -756,6 +756,11 @@
756756
"modelAsString": true
757757
}
758758
},
759+
"tenantId": {
760+
"readOnly": true,
761+
"type": "string",
762+
"description": "ID of the Azure Active Directory."
763+
},
759764
"userAssignedIdentities": {
760765
"type": "object",
761766
"description": "The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.",

0 commit comments

Comments
 (0)