Skip to content

Commit

Permalink
Eventhub: Added Namespace properties for BYOK (#7149)
Browse files Browse the repository at this point in the history
* Added Namespace properties for BYOK

* semantic fixed

* fixed spellcheck
  • Loading branch information
Ajit Navasare authored and Zim Kalinowski committed Oct 11, 2019
1 parent 751e03f commit 8892fce
Showing 1 changed file with 73 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1543,6 +1543,10 @@
"type": "string",
"description": "Endpoint you can use to perform Service Bus operations."
},
"clusterArmId": {
"type": "string",
"description": "Cluster ARM ID of the Namespace."
},
"metricId": {
"readOnly": true,
"type": "string",
Expand All @@ -1566,6 +1570,14 @@
"zoneRedundant": {
"type": "boolean",
"description": "Enabling this property creates a Standard Event Hubs 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"
}
},
"description": "Namespace properties supplied for create namespace operation."
Expand Down Expand Up @@ -1791,6 +1803,67 @@
}
],
"description": "Description of topic resource."
},
"Identity": {
"x-ms-client-flatten": true,
"properties": {
"principalId": {
"type": "string",
"description": "ObjectId from the KeyVault"
},
"tenantId": {
"type": "string",
"description": "TenantId from the KeyVault"
},
"type": {
"type": "string",
"description": "Enumerates the possible value Identity type, which currently supports only 'SystemAssigned'",
"default": "SystemAssigned",
"enum": [
"SystemAssigned"
],
"x-ms-enum": {
"name": "IdentityType",
"modelAsString": false
}
}
},
"description": "Properties to configure Identity for Bring your Own Keys"
},
"Encryption": {
"x-ms-client-flatten": true,
"properties": {
"keyVaultProperties": {
"$ref": "#/definitions/KeyVaultProperties",
"description": "Properties of KeyVault"
},
"keySource": {
"type": "string",
"description": "Enumerates the possible value of keySource for Encryption",
"default": "Microsoft.KeyVault",
"enum": [
"Microsoft.KeyVault"
],
"x-ms-enum": {
"name": "keySource",
"modelAsString": false
}
}
},
"description": "Properties to configure Encryption"
},
"KeyVaultProperties": {
"properties": {
"keyName": {
"type": "string",
"description": "Name of the Key from KeyVault"
},
"keyVaultUri": {
"type": "string",
"description": "Uri of KeyVault"
}
},
"description": "Properties to configure keyVault Properties"
}
},
"parameters": {
Expand Down

0 comments on commit 8892fce

Please sign in to comment.