Skip to content

Commit

Permalink
Fix identity in servicebus swagger (Azure#10380)
Browse files Browse the repository at this point in the history
* Fix identity in servicebus

* Principal ID and tenant ID should be readonly
  • Loading branch information
ArcturusZhang authored and innosam committed Aug 17, 2020
1 parent 362b4c8 commit 13654a3
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,10 @@
"x-ms-client-flatten": true,
"$ref": "#/definitions/SBNamespaceProperties",
"description": "Properties of the namespace."
},
"identity": {
"$ref": "#/definitions/Identity",
"description": "Properties of BYOK Identity description"
}
},
"allOf": [
Expand Down Expand Up @@ -998,10 +1002,6 @@
"type": "boolean",
"description": "Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones."
},
"identity": {
"$ref": "#/definitions/Identity",
"description": "Properties of BYOK Identity description"
},
"encryption": {
"$ref": "#/definitions/Encryption",
"description": "Properties of BYOK Encryption description"
Expand Down Expand Up @@ -1291,10 +1291,12 @@
"properties": {
"principalId": {
"type": "string",
"readOnly": true,
"description": "ObjectId from the KeyVault"
},
"tenantId": {
"type": "string",
"readOnly": true,
"description": "TenantId from the KeyVault"
},
"type": {
Expand Down

0 comments on commit 13654a3

Please sign in to comment.