From 57f7c9697be9ed067b4445a9e688f95cd2a97c83 Mon Sep 17 00:00:00 2001 From: aparna Date: Mon, 1 Mar 2021 16:01:17 -0800 Subject: [PATCH 1/5] Add 2018 files as base commit --- .../AuthorizationRules.json | 886 +++++++++++ .../2021-01-01-preview/consumergroups.json | 292 ++++ .../disasterRecoveryConfigs.json | 482 ++++++ .../preview/2021-01-01-preview/eventhubs.json | 389 +++++ .../ConsumerGroup/EHConsumerGroupCreate.json | 28 + .../ConsumerGroup/EHConsumerGroupDelete.json | 14 + .../ConsumerGroup/EHConsumerGroupGet.json | 23 + .../EHConsumerGroupListByEventHub.json | 35 + .../examples/EHOperations_List.json | 213 +++ .../EHEventHubAuthorizationRuleCreate.json | 33 + .../EHEventHubAuthorizationRuleDelete.json | 14 + .../EHEventHubAuthorizationRuleGet.json | 25 + .../EHEventHubAuthorizationRuleListAll.json | 28 + .../EHEventHubAuthorizationRuleListKey.json | 21 + ...ventHubAuthorizationRuleRegenerateKey.json | 24 + .../examples/EventHubs/EHEventHubCreate.json | 66 + .../examples/EventHubs/EHEventHubDelete.json | 13 + .../examples/EventHubs/EHEventHubGet.json | 45 + .../EventHubs/EHEventHubListByNameSpace.json | 49 + .../EHNameSpaceAuthorizationRuleCreate.json | 32 + .../EHNameSpaceAuthorizationRuleDelete.json | 13 + .../EHNameSpaceAuthorizationRuleGet.json | 24 + .../EHNameSpaceAuthorizationRuleListAll.json | 39 + .../EHNameSpaceAuthorizationRuleListKey.json | 20 + ...meSpaceAuthorizationRuleRegenerateKey.json | 23 + .../NameSpaces/EHNameSpaceCreate.json | 74 + .../NameSpaces/EHNameSpaceDelete.json | 13 + .../examples/NameSpaces/EHNameSpaceGet.json | 62 + .../examples/NameSpaces/EHNameSpaceList.json | 1361 +++++++++++++++++ .../EHNameSpaceListByResourceGroup.json | 312 ++++ .../NameSpaces/EHNameSpaceUpdate.json | 70 + .../PrivateEndPointConnectionCreate.json | 57 + .../PrivateEndPointConnectionDelete.json | 14 + .../PrivateEndPointConnectionGet.json | 28 + .../PrivateEndPointConnectionList.json | 31 + .../NameSpaces/PrivateLinkResourcesGet.json | 30 + .../EHNetworkRuleSetCreate.json | 109 ++ .../EHNetworkRuleSetGet.json | 62 + .../EHAliasAuthorizationRuleGet.json | 25 + .../EHAliasAuthorizationRuleListAll.json | 62 + .../EHAliasAuthorizationRuleListKey.json | 21 + .../EHAliasBreakPairing.json | 12 + .../EHAliasCheckNameAvailability.json | 20 + .../EHAliasCreate.json | 29 + .../EHAliasDelete.json | 12 + .../EHAliasFailOver.json | 12 + .../disasterRecoveryConfigs/EHAliasGet.json | 24 + .../disasterRecoveryConfigs/EHAliasList.json | 27 + .../namespaces-preview.json | 945 ++++++++++++ .../networkrulessets-preview.json | 222 +++ .../2021-01-01-preview/operations.json | 126 ++ 51 files changed, 6591 insertions(+) create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupCreate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupDelete.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EHOperations_List.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubCreate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubDelete.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubListByNameSpace.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceList.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCreate.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasDelete.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasFailOver.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasGet.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasList.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/operations.json diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json new file mode 100644 index 000000000000..0b842030db1a --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json @@ -0,0 +1,886 @@ +{ + "swagger": "2.0", + "info": { + "title": "EventHubManagementClient", + "description": "Azure Event Hubs client", + "version": "2018-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules": { + "get": { + "tags": [ + "AuthorizationRules Namespaces" + ], + "operationId": "Namespaces_ListAuthorizationRules", + "x-ms-examples": { + "ListAuthorizationRules": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json" + } + }, + "description": "Gets a list of authorization rules for a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace AuthorizationRule successfully returned.", + "schema": { + "$ref": "#/definitions/AuthorizationRuleListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}": { + "put": { + "tags": [ + "AuthorizationRules Namespaces" + ], + "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", + "x-ms-examples": { + "NameSpaceAuthorizationRuleCreate": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json" + } + }, + "description": "Creates or updates an AuthorizationRule for a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AuthorizationRule" + }, + "description": "The shared access AuthorizationRule." + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace AuthorizationRule created", + "schema": { + "$ref": "#/definitions/AuthorizationRule" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "AuthorizationRules Namespaces" + ], + "operationId": "Namespaces_DeleteAuthorizationRule", + "x-ms-examples": { + "NameSpaceAuthorizationRuleDelete": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json" + } + }, + "description": "Deletes an AuthorizationRule for a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace AuthorizationRule successfully deleted." + }, + "204": { + "description": "No content." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "AuthorizationRules Namespaces" + ], + "operationId": "Namespaces_GetAuthorizationRule", + "x-ms-examples": { + "NameSpaceAuthorizationRuleGet": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json" + } + }, + "description": "Gets an AuthorizationRule for a Namespace by rule name.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace AuthorizationRule returned successfully.", + "schema": { + "$ref": "#/definitions/AuthorizationRule" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys": { + "post": { + "tags": [ + "AuthorizationRules Namespaces" + ], + "operationId": "Namespaces_ListKeys", + "x-ms-examples": { + "NameSpaceAuthorizationRuleListKey": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json" + } + }, + "description": "Gets the primary and secondary connection strings for the Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Connection strings returned successfully.", + "schema": { + "$ref": "#/definitions/AccessKeys" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys": { + "post": { + "tags": [ + "AuthorizationRules Namespaces" + ], + "operationId": "Namespaces_RegenerateKeys", + "x-ms-examples": { + "NameSpaceAuthorizationRuleRegenerateKey": { + "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json" + } + }, + "description": "Regenerates the primary or secondary connection strings for the specified Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateAccessKeyParameters" + }, + "description": "Parameters required to regenerate the connection string." + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Connection strings regenerated successfully.", + "schema": { + "$ref": "#/definitions/AccessKeys" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules": { + "get": { + "tags": [ + "AuthorizationRules DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_ListAuthorizationRules", + "x-ms-examples": { + "ListAuthorizationRules": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json" + } + }, + "description": "Gets a list of authorization rules for a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AliasNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace AuthorizationRule successfully returned.", + "schema": { + "$ref": "#/definitions/AuthorizationRuleListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}": { + "get": { + "tags": [ + "AuthorizationRules DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_GetAuthorizationRule", + "x-ms-examples": { + "NameSpaceAuthorizationRuleGet": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json" + } + }, + "description": "Gets an AuthorizationRule for a Namespace by rule name.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AliasNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Alias Namespace AuthorizationRule returned successfully.", + "schema": { + "$ref": "#/definitions/AuthorizationRule" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/authorizationRules/{authorizationRuleName}/listKeys": { + "post": { + "tags": [ + "AuthorizationRules DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_ListKeys", + "x-ms-examples": { + "NameSpaceAuthorizationRuleListKey": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json" + } + }, + "description": "Gets the primary and secondary connection strings for the Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AliasNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Connection strings returned successfully.", + "schema": { + "$ref": "#/definitions/AccessKeys" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules": { + "get": { + "tags": [ + "AuthorizationRules EventHubs" + ], + "operationId": "EventHubs_ListAuthorizationRules", + "x-ms-examples": { + "EventHubAuthorizationRuleListAll": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListAll.json" + } + }, + "description": "Gets the authorization rules for an Event Hub.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Event Hub AuthorizationRule returned successfully.", + "schema": { + "$ref": "#/definitions/AuthorizationRuleListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}": { + "put": { + "tags": [ + "AuthorizationRules EventHubs" + ], + "operationId": "EventHubs_CreateOrUpdateAuthorizationRule", + "x-ms-examples": { + "EventHubAuthorizationRuleCreate": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleCreate.json" + } + }, + "description": "Creates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AuthorizationRule" + }, + "description": "The shared access AuthorizationRule." + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Event Hub AuthorizationRule successfully created.", + "schema": { + "$ref": "#/definitions/AuthorizationRule" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "EventHubs" + ], + "operationId": "EventHubs_GetAuthorizationRule", + "x-ms-examples": { + "EventHubAuthorizationRuleGet": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleGet.json" + } + }, + "description": "Gets an AuthorizationRule for an Event Hub by rule name.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Event Hub AuthorizationRule successfully returned.", + "schema": { + "$ref": "#/definitions/AuthorizationRule" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "EventHubs" + ], + "operationId": "EventHubs_DeleteAuthorizationRule", + "x-ms-examples": { + "EventHubAuthorizationRuleDelete": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleDelete.json" + } + }, + "description": "Deletes an Event Hub AuthorizationRule.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Event Hub AuthorizationRule successfully deleted." + }, + "204": { + "description": "No content." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}/listKeys": { + "post": { + "tags": [ + "AuthorizationRules EventHubs" + ], + "operationId": "EventHubs_ListKeys", + "x-ms-examples": { + "EventHubAuthorizationRuleListKey": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListKey.json" + } + }, + "description": "Gets the ACS and SAS connection strings for the Event Hub.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Connection strings successfully returned.", + "schema": { + "$ref": "#/definitions/AccessKeys" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys": { + "post": { + "tags": [ + "AuthorizationRules EventHubs" + ], + "operationId": "EventHubs_RegenerateKeys", + "x-ms-examples": { + "EventHubAuthorizationRuleRegenerateKey": { + "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json" + } + }, + "description": "Regenerates the ACS and SAS connection strings for the Event Hub.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AuthorizationRuleNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateAccessKeyParameters" + }, + "description": "Parameters supplied to regenerate the AuthorizationRule Keys (PrimaryKey/SecondaryKey)." + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Connection strings successfully regenerated.", + "schema": { + "$ref": "#/definitions/AccessKeys" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "AuthorizationRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AuthorizationRule" + }, + "description": "Result of the List Authorization Rules operation." + }, + "nextLink": { + "type": "string", + "description": "Link to the next set of results. Not empty if Value contains an incomplete list of Authorization Rules" + } + }, + "description": "The response from the List namespace operation." + }, + "AuthorizationRule": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "properties": { + "rights": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Manage", + "Send", + "Listen" + ], + "x-ms-enum": { + "name": "AccessRights", + "modelAsString": true + } + }, + "description": "The rights associated with the rule." + } + }, + "required": [ + "rights" + ], + "description": "Properties supplied to create or update AuthorizationRule" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/definitions.json#/definitions/Resource" + } + ], + "description": "Single item in a List or Get AuthorizationRule operation" + }, + "AccessKeys": { + "properties": { + "primaryConnectionString": { + "readOnly": true, + "type": "string", + "description": "Primary connection string of the created namespace AuthorizationRule." + }, + "secondaryConnectionString": { + "readOnly": true, + "type": "string", + "description": "Secondary connection string of the created namespace AuthorizationRule." + }, + "aliasPrimaryConnectionString": { + "readOnly": true, + "type": "string", + "description": "Primary connection string of the alias if GEO DR is enabled" + }, + "aliasSecondaryConnectionString": { + "readOnly": true, + "type": "string", + "description": "Secondary connection string of the alias if GEO DR is enabled" + }, + "primaryKey": { + "readOnly": true, + "type": "string", + "description": "A base64-encoded 256-bit primary key for signing and validating the SAS token." + }, + "secondaryKey": { + "readOnly": true, + "type": "string", + "description": "A base64-encoded 256-bit primary key for signing and validating the SAS token." + }, + "keyName": { + "readOnly": true, + "type": "string", + "description": "A string that describes the AuthorizationRule." + } + }, + "description": "Namespace/EventHub Connection String" + }, + "RegenerateAccessKeyParameters": { + "properties": { + "keyType": { + "type": "string", + "description": "The access key to regenerate.", + "enum": [ + "PrimaryKey", + "SecondaryKey" + ], + "x-ms-enum": { + "name": "KeyType", + "modelAsString": false + } + }, + "key": { + "type": "string", + "description": "Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType" + } + }, + "required": [ + "keyType" + ], + "description": "Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset." + } + }, + "parameters": {} +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json new file mode 100644 index 000000000000..1ce36f761c74 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json @@ -0,0 +1,292 @@ +{ + "swagger": "2.0", + "info": { + "title": "EventHubManagementClient", + "description": "Azure Event Hubs client", + "version": "2018-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}": { + "put": { + "tags": [ + "ConsumerGroups" + ], + "operationId": "ConsumerGroups_CreateOrUpdate", + "x-ms-examples": { + "ConsumerGroupCreate": { + "$ref": "./examples/ConsumerGroup/EHConsumerGroupCreate.json" + } + }, + "description": "Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ConsumerGroupNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConsumerGroup" + }, + "description": "Parameters supplied to create or update a consumer group resource." + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Consumer group successfully created.", + "schema": { + "$ref": "#/definitions/ConsumerGroup" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "ConsumerGroups" + ], + "operationId": "ConsumerGroups_Delete", + "x-ms-examples": { + "ConsumerGroupDelete": { + "$ref": "./examples/ConsumerGroup/EHConsumerGroupDelete.json" + } + }, + "description": "Deletes a consumer group from the specified Event Hub and resource group.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ConsumerGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Consumer group deleted." + }, + "204": { + "description": "No content." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "ConsumerGroups" + ], + "operationId": "ConsumerGroups_Get", + "x-ms-examples": { + "ConsumerGroupGet": { + "$ref": "./examples/ConsumerGroup/EHConsumerGroupGet.json" + } + }, + "description": "Gets a description for the specified consumer group.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ConsumerGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the consumer group description.", + "schema": { + "$ref": "#/definitions/ConsumerGroup" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups": { + "get": { + "tags": [ + "ConsumerGroups" + ], + "operationId": "ConsumerGroups_ListByEventHub", + "x-ms-examples": { + "ConsumerGroupsListAll": { + "$ref": "./examples/ConsumerGroup/EHConsumerGroupListByEventHub.json" + } + }, + "description": "Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SkipParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of consumer groups.", + "schema": { + "$ref": "#/definitions/ConsumerGroupListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "ConsumerGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "properties": { + "createdAt": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "Exact time the message was created." + }, + "updatedAt": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The exact time the message was updated." + }, + "userMetadata": { + "type": "string", + "description": "User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored." + } + }, + "description": "Single item in List or Get Consumer group operation" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/definitions.json#/definitions/Resource" + } + ], + "description": "Single item in List or Get Consumer group operation" + }, + "ConsumerGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ConsumerGroup" + }, + "description": "Result of the List Consumer Group operation." + }, + "nextLink": { + "type": "string", + "description": "Link to the next set of results. Not empty if Value contains incomplete list of Consumer Group" + } + }, + "description": "The result to the List Consumer Group operation." + } + }, + "parameters": {} +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json new file mode 100644 index 000000000000..c21f73f10c9b --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json @@ -0,0 +1,482 @@ +{ + "swagger": "2.0", + "info": { + "title": "EventHubManagementClient", + "description": "Azure Event Hubs client", + "version": "2018-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_CheckNameAvailability", + "x-ms-examples": { + "NamespacesCheckNameAvailability": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json" + } + }, + "description": "Check the give Namespace name availability.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameter" + }, + "description": "Parameters to check availability of the given Alias name" + } + ], + "responses": { + "200": { + "description": "check availability returned successfully.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs": { + "get": { + "tags": [ + "DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_List", + "x-ms-examples": { + "EHAliasList": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasList.json" + } + }, + "description": "Gets all Alias(Disaster Recovery configurations)", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of Alias(Disaster Recovery configurations) for eventhub namespace", + "schema": { + "$ref": "#/definitions/ArmDisasterRecoveryListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}": { + "put": { + "tags": [ + "DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_CreateOrUpdate", + "x-ms-examples": { + "EHAliasCreate": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasCreate.json" + } + }, + "description": "Creates or updates a new Alias(Disaster Recovery configuration)", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AliasNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ArmDisasterRecovery" + }, + "description": "Parameters required to create an Alias(Disaster Recovery configuration)" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Alias(Disaster Recovery configuration) successfully created", + "schema": { + "$ref": "#/definitions/ArmDisasterRecovery" + } + }, + "201": { + "description": "Alias(Disaster Recovery configuration) creation request received" + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_Delete", + "x-ms-examples": { + "EHAliasDelete": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasDelete.json" + } + }, + "description": "Deletes an Alias(Disaster Recovery configuration)", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AliasNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete Alias(Disaster Recovery configuration) request accepted" + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_Get", + "x-ms-examples": { + "EHAliasGet": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasGet.json" + } + }, + "description": "Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AliasNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the Alias(Disaster Recovery configurations)", + "schema": { + "$ref": "#/definitions/ArmDisasterRecovery" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/breakPairing": { + "post": { + "tags": [ + "DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_BreakPairing", + "x-ms-examples": { + "EHAliasBreakPairing": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasBreakPairing.json" + } + }, + "description": "This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AliasNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Break-Pairing operation is successful." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/disasterRecoveryConfigs/{alias}/failover": { + "post": { + "tags": [ + "DisasterRecoveryConfigs" + ], + "operationId": "DisasterRecoveryConfigs_FailOver", + "x-ms-examples": { + "EHAliasFailOver": { + "$ref": "./examples/disasterRecoveryConfigs/EHAliasFailOver.json" + } + }, + "description": "Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/AliasNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Failover operation is successful." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "UnavailableReason": { + "type": "string", + "enum": [ + "None", + "InvalidName", + "SubscriptionIsDisabled", + "NameInUse", + "NameInLockdown", + "TooManyNamespaceInCurrentSubscription" + ], + "x-ms-enum": { + "name": "UnavailableReason", + "modelAsString": false + }, + "description": "Specifies the reason for the unavailability of the service." + }, + "CheckNameAvailabilityParameter": { + "properties": { + "name": { + "type": "string", + "description": "Name to check the namespace name availability" + } + }, + "required": [ + "name" + ], + "description": "Parameter supplied to check Namespace name availability operation " + }, + "CheckNameAvailabilityResult": { + "properties": { + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed info regarding the reason associated with the Namespace." + }, + "nameAvailable": { + "type": "boolean", + "description": "Value indicating Namespace is availability, true if the Namespace is available; otherwise, false." + }, + "reason": { + "$ref": "#/definitions/UnavailableReason", + "description": "The reason for unavailability of a Namespace." + } + }, + "description": "The Result of the CheckNameAvailability operation" + }, + "ArmDisasterRecovery": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'", + "enum": [ + "Accepted", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "ProvisioningStateDR", + "modelAsString": false + } + }, + "partnerNamespace": { + "type": "string", + "description": "ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing" + }, + "alternateName": { + "type": "string", + "description": "Alternate name specified when alias and namespace names are same." + }, + "role": { + "readOnly": true, + "type": "string", + "description": "role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'", + "enum": [ + "Primary", + "PrimaryNotReplicating", + "Secondary" + ], + "x-ms-enum": { + "name": "RoleDisasterRecovery", + "modelAsString": false + } + }, + "pendingReplicationOperationsCount": { + "readOnly": true, + "format": "int64", + "type": "integer", + "description": "Number of entities pending to be replicated." + } + }, + "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)" + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/definitions.json#/definitions/Resource" + } + ], + "description": "Single item in List or Get Alias(Disaster Recovery configuration) operation" + }, + "ArmDisasterRecoveryListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ArmDisasterRecovery" + }, + "description": "List of Alias(Disaster Recovery configurations)" + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "Link to the next set of results. Not empty if Value contains incomplete list of Alias(Disaster Recovery configuration)" + } + }, + "description": "The result of the List Alias(Disaster Recovery configuration) operation." + } + }, + "parameters": {} +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json new file mode 100644 index 000000000000..eca9e091638d --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json @@ -0,0 +1,389 @@ +{ + "swagger": "2.0", + "info": { + "title": "EventHubManagementClient", + "description": "Azure Event Hubs client", + "version": "2018-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs": { + "get": { + "tags": [ + "EventHubs" + ], + "operationId": "EventHubs_ListByNamespace", + "x-ms-examples": { + "EventHubsListAll": { + "$ref": "./examples/EventHubs/EHEventHubListByNameSpace.json" + } + }, + "description": "Gets all the Event Hubs in a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SkipParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the list of Event Hubs.", + "schema": { + "$ref": "#/definitions/EventHubListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}": { + "put": { + "tags": [ + "EventHubs" + ], + "operationId": "EventHubs_CreateOrUpdate", + "x-ms-examples": { + "EventHubCreate": { + "$ref": "./examples/EventHubs/EHEventHubCreate.json" + } + }, + "description": "Creates or updates a new Event Hub as a nested resource within a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Eventhub" + }, + "description": "Parameters supplied to create an Event Hub resource." + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Event Hub successfully created.", + "schema": { + "$ref": "#/definitions/Eventhub" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "EventHubs" + ], + "operationId": "EventHubs_Delete", + "x-ms-examples": { + "EventHubDelete": { + "$ref": "./examples/EventHubs/EHEventHubDelete.json" + } + }, + "description": "Deletes an Event Hub from the specified Namespace and resource group.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Event Hub successfully deleted." + }, + "204": { + "description": "No content." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "EventHubs" + ], + "operationId": "EventHubs_Get", + "x-ms-examples": { + "EventHubGet": { + "$ref": "./examples/EventHubs/EHEventHubGet.json" + } + }, + "description": "Gets an Event Hubs description for the specified Event Hub.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/EventHubNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the Event Hub description.", + "schema": { + "$ref": "#/definitions/Eventhub" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "CaptureDescription": { + "properties": { + "enabled": { + "type": "boolean", + "description": "A value that indicates whether capture description is enabled. " + }, + "encoding": { + "type": "string", + "description": "Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version", + "enum": [ + "Avro", + "AvroDeflate" + ], + "x-ms-enum": { + "name": "EncodingCaptureDescription", + "modelAsString": false + } + }, + "intervalInSeconds": { + "format": "int32", + "type": "integer", + "maximum": 900, + "minimum": 60, + "description": "The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds" + }, + "sizeLimitInBytes": { + "format": "int32", + "type": "integer", + "maximum": 524288000, + "minimum": 10485760, + "description": "The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes" + }, + "destination": { + "$ref": "#/definitions/Destination", + "description": "Properties of Destination where capture will be stored. (Storage Account, Blob Names)" + }, + "skipEmptyArchives": { + "type": "boolean", + "description": "A value that indicates whether to Skip Empty Archives" + } + }, + "description": "Properties to configure capture description for eventhub" + }, + "Eventhub": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "properties": { + "partitionIds": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "Current number of shards on the Event Hub." + }, + "createdAt": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "Exact time the Event Hub was created." + }, + "updatedAt": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The exact time the message was updated." + }, + "messageRetentionInDays": { + "format": "int64", + "type": "integer", + "minimum": 1, + "description": "Number of days to retain the events for this Event Hub, value should be 1 to 7 days" + }, + "partitionCount": { + "format": "int64", + "type": "integer", + "minimum": 1, + "description": "Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions." + }, + "status": { + "type": "string", + "description": "Enumerates the possible values for the status of the Event Hub.", + "enum": [ + "Active", + "Disabled", + "Restoring", + "SendDisabled", + "ReceiveDisabled", + "Creating", + "Deleting", + "Renaming", + "Unknown" + ], + "x-ms-enum": { + "name": "EntityStatus", + "modelAsString": false + } + }, + "captureDescription": { + "$ref": "#/definitions/CaptureDescription", + "description": "Properties of capture description" + } + }, + "description": "Properties supplied to the Create Or Update Event Hub operation." + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/definitions.json#/definitions/Resource" + } + ], + "description": "Single item in List or Get Event Hub operation" + }, + "EventHubListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Eventhub" + }, + "description": "Result of the List EventHubs operation." + }, + "nextLink": { + "type": "string", + "description": "Link to the next set of results. Not empty if Value contains incomplete list of EventHubs." + } + }, + "description": "The result of the List EventHubs operation." + }, + "Destination": { + "properties": { + "name": { + "type": "string", + "description": "Name for capture destination" + }, + "properties": { + "x-ms-client-flatten": true, + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Resource id of the storage account to be used to create the blobs" + }, + "blobContainer": { + "type": "string", + "description": "Blob container Name" + }, + "archiveNameFormat": { + "type": "string", + "description": "Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order" + } + }, + "description": "Properties describing the storage account, blob container and archive name format for capture destination" + } + }, + "description": "Capture storage details for capture description" + } + }, + "parameters": {} +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupCreate.json new file mode 100644 index 000000000000..e1cada31ac4b --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupCreate.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-Namespace-2661", + "eventHubName": "sdk-EventHub-6681", + "consumerGroupName": "sdk-ConsumerGroup-5563", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "properties": { + "userMetadata": "New consumergroup" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563", + "name": "sdk-ConsumerGroup-5563", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-25T03:43:09.4536234Z", + "updatedAt": "2017-05-25T03:43:09.4536234Z" + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupDelete.json new file mode 100644 index 000000000000..eeb75b5d1b2c --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-Namespace-2661", + "eventHubName": "sdk-EventHub-6681", + "consumerGroupName": "sdk-ConsumerGroup-5563", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupGet.json new file mode 100644 index 000000000000..0de78ed0a63a --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-Namespace-2661", + "eventHubName": "sdk-EventHub-6681", + "consumerGroupName": "sdk-ConsumerGroup-5563", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563", + "name": "sdk-ConsumerGroup-5563", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-25T03:43:08.7152556Z", + "updatedAt": "2017-05-25T03:43:08.7152556Z" + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json new file mode 100644 index 000000000000..2d6ecbdf72a0 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-Namespace-2661", + "eventHubName": "sdk-EventHub-6681", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/$Default", + "name": "$Default", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-25T03:42:52.287Z", + "updatedAt": "2017-05-25T03:42:52.287Z" + } + }, + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-consumergroup-5563", + "name": "sdk-consumergroup-5563", + "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups", + "properties": { + "createdAt": "2017-05-25T03:43:09.314Z", + "updatedAt": "2017-05-25T03:43:09.314Z" + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EHOperations_List.json new file mode 100644 index 000000000000..2722fb1257b6 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EHOperations_List.json @@ -0,0 +1,213 @@ +{ + "parameters": { + "api-version": "2016-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.EventHub/checkNameAvailability/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Non Resource Operation", + "operation": "Get namespace availability." + } + }, + { + "name": "Microsoft.EventHub/register/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub Resource Provider", + "operation": "Registers the EventHub Resource Provider" + } + }, + { + "name": "Microsoft.EventHub/namespaces/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace", + "operation": "Create Or Update Namespace " + } + }, + { + "name": "Microsoft.EventHub/namespaces/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace", + "operation": "Get Namespace Resource" + } + }, + { + "name": "Microsoft.EventHub/namespaces/Delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace", + "operation": "Delete Namespace" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Get Namespace Authorization Rules" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Create or Update Namespace Authorization Rules" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Delete Namespace Authorization Rule" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/listkeys/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Get Namespace Listkeys" + } + }, + { + "name": "Microsoft.EventHub/namespaces/authorizationRules/regenerateKeys/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "AuthorizationRules", + "operation": "Resource Regeneratekeys" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub", + "operation": "Create or Update EventHub" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub", + "operation": "Get EventHub" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/Delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub", + "operation": "Delete EventHub" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": " Get EventHub Authorization Rules" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": "Create or Update EventHub Authorization Rule" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": "Delete EventHub Authorization Rules" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/listkeys/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": "List EventHub keys" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/regenerateKeys/action", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "EventHub AuthorizationRules", + "operation": "Resource Regeneratekeys" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "ConsumerGroup", + "operation": "Create or Update ConsumerGroup" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "ConsumerGroup", + "operation": "Get ConsumerGroup" + } + }, + { + "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/Delete", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "ConsumerGroup", + "operation": "Delete ConsumerGroup" + } + }, + { + "name": "Microsoft.EventHub/namespaces/metricDefinitions/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace metrics", + "operation": "Get Namespace metrics" + } + }, + { + "name": "Microsoft.EventHub/namespaces/diagnosticSettings/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace diagnostic settings", + "operation": "Get Namespace diagnostic settings" + } + }, + { + "name": "Microsoft.EventHub/namespaces/diagnosticSettings/write", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace diagnostic settings", + "operation": "Create or Update Namespace diagnostic settings" + } + }, + { + "name": "Microsoft.EventHub/namespaces/logDefinitions/read", + "display": { + "provider": "Microsoft Azure EventHub", + "resource": "Namespace logs", + "operation": "Get Namespace logs" + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json new file mode 100644 index 000000000000..d12e0d4f4d65 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-Namespace-960", + "eventHubName": "sdk-EventHub-532", + "authorizationRuleName": "sdk-Authrules-2513", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", + "name": "sdk-Authrules-2513", + "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json new file mode 100644 index 000000000000..c699644a6347 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-Namespace-960", + "eventHubName": "sdk-EventHub-532", + "authorizationRuleName": "sdk-Authrules-2513", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleGet.json new file mode 100644 index 000000000000..b5d10ce32c65 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-Namespace-960", + "eventHubName": "sdk-EventHub-532", + "authorizationRuleName": "sdk-Authrules-2513", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", + "name": "sdk-Authrules-2513", + "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json new file mode 100644 index 000000000000..d4fde87a8dc0 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-Namespace-960", + "eventHubName": "sdk-EventHub-532", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513", + "name": "sdk-Authrules-2513", + "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json new file mode 100644 index 000000000000..3580578efbcc --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-namespace-960", + "eventHubName": "sdk-EventHub-532", + "authorizationRuleName": "sdk-Authrules-2513", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "primaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532", + "secondaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532", + "primaryKey": "############################################", + "secondaryKey": "############################################", + "keyName": "sdk-Authrules-2513" + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json new file mode 100644 index 000000000000..caa9318ebeb6 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "resourceGroupName": "ArunMonocle", + "namespaceName": "sdk-namespace-960", + "eventHubName": "sdk-EventHub-532", + "authorizationRuleName": "sdk-Authrules-1534", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "keyType": "PrimaryKey" + } + }, + "responses": { + "200": { + "body": { + "primaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647", + "secondaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647", + "primaryKey": "#############################################", + "secondaryKey": "#############################################", + "keyName": "sdk-Authrules-1534" + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubCreate.json new file mode 100644 index 000000000000..5e2b6f0310c1 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubCreate.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5357", + "resourceGroupName": "Default-NotificationHubs-AustraliaEast", + "eventHubName": "sdk-EventHub-6547", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "properties": { + "messageRetentionInDays": 4, + "partitionCount": 4, + "status": "Active", + "captureDescription": { + "enabled": true, + "encoding": "Avro", + "intervalInSeconds": 120, + "sizeLimitInBytes": 10485763, + "destination": { + "name": "EventHubArchive.AzureBlockBlob", + "properties": { + "storageAccountResourceId": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/arjunteststorage", + "blobContainer": "container", + "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.EventHub/namespaces/sdk-Namespace-716/eventhubs/sdk-EventHub-10", + "name": "sdk-EventHub-10", + "type": "Microsoft.EventHub/Namespaces/EventHubs", + "properties": { + "messageRetentionInDays": 4, + "partitionCount": 4, + "status": "Active", + "createdAt": "2017-06-28T02:45:55.877Z", + "updatedAt": "2017-06-28T02:46:05.877Z", + "partitionIds": [ + "0", + "1", + "2", + "3" + ], + "captureDescription": { + "enabled": true, + "encoding": "Avro", + "destination": { + "name": "EventHubArchive.AzureBlockBlob", + "properties": { + "storageAccountResourceId": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/arjunteststorage", + "blobContainer": "container", + "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}" + } + }, + "intervalInSeconds": 120, + "sizeLimitInBytes": 10485763 + } + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubDelete.json new file mode 100644 index 000000000000..fd213d75d44e --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5357", + "resourceGroupName": "ArunMonocle", + "eventHubName": "sdk-EventHub-6547", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubGet.json new file mode 100644 index 000000000000..7e4bf39e2361 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-716", + "resourceGroupName": "Default-NotificationHubs-AustraliaEast", + "eventHubName": "sdk-EventHub-10", + "api-version": "2018-01-01-preview", + "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.EventHub/namespaces/sdk-Namespace-716/eventhubs/sdk-EventHub-10", + "name": "sdk-EventHub-10", + "type": "Microsoft.EventHub/Namespaces/EventHubs", + "properties": { + "messageRetentionInDays": 4, + "partitionCount": 4, + "status": "Active", + "createdAt": "2017-06-28T02:45:55.877Z", + "updatedAt": "2017-06-28T02:46:05.877Z", + "partitionIds": [ + "0", + "1", + "2", + "3" + ], + "captureDescription": { + "enabled": true, + "encoding": "Avro", + "destination": { + "name": "EventHubArchive.AzureBlockBlob", + "properties": { + "storageAccountResourceId": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/arjunteststorage", + "blobContainer": "container", + "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}" + } + }, + "intervalInSeconds": 120, + "sizeLimitInBytes": 10485763 + } + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubListByNameSpace.json new file mode 100644 index 000000000000..be467f00318c --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubListByNameSpace.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5357", + "resourceGroupName": "Default-NotificationHubs-AustraliaEast", + "api-version": "2018-01-01-preview", + "eventHubName": "sdk-eventhub-10", + "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.EventHub/namespaces/sdk-Namespace-716/eventhubs/sdk-eventhub-10", + "name": "sdk-eventhub-10", + "type": "Microsoft.EventHub/Namespaces/EventHubs", + "properties": { + "messageRetentionInDays": 4, + "partitionCount": 4, + "status": "Active", + "createdAt": "2017-06-28T02:45:55.877Z", + "updatedAt": "2017-06-28T02:46:05.877Z", + "partitionIds": [ + "0", + "1", + "2", + "3" + ], + "captureDescription": { + "enabled": true, + "encoding": "Avro", + "destination": { + "name": "EventHubArchive.AzureBlockBlob", + "properties": { + "storageAccountResourceId": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-Storage-SouthCentralUS/providers/Microsoft.ClassicStorage/storageAccounts/arjunteststorage", + "blobContainer": "container", + "archiveNameFormat": "{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}" + } + }, + "intervalInSeconds": 120, + "sizeLimitInBytes": 10485763 + } + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json new file mode 100644 index 000000000000..16a26aa26132 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-2702", + "authorizationRuleName": "sdk-Authrules-1746", + "resourceGroupName": "ArunMonocle", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules/sdk-Authrules-1746", + "name": "sdk-Authrules-1746", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json new file mode 100644 index 000000000000..84e3ba216e06 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-8980", + "authorizationRuleName": "sdk-Authrules-8929", + "resourceGroupName": "ArunMonocle", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json new file mode 100644 index 000000000000..0f47a06132b1 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-2702", + "authorizationRuleName": "sdk-Authrules-1746", + "resourceGroupName": "ArunMonocle", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules/sdk-Authrules-1746", + "name": "sdk-Authrules-1746", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json new file mode 100644 index 000000000000..da31066909a3 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-2702", + "resourceGroupName": "ArunMonocle", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules?api-version=2017-04-01/RootManageSharedAccessKey", + "name": "RootManageSharedAccessKey", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } + }, + { + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules?api-version=2017-04-01/sdk-Authrules-1746", + "name": "sdk-Authrules-1746", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json new file mode 100644 index 000000000000..b8175bee73db --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-2702", + "authorizationRuleName": "sdk-Authrules-1746", + "resourceGroupName": "ArunMonocle", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "primaryConnectionString": "Endpoint=sb://sdk-namespace-2702.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1746;SharedAccessKey=############################################", + "secondaryConnectionString": "Endpoint=sb://sdk-namespace-2702.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1746;SharedAccessKey=############################################", + "primaryKey": "############################################", + "secondaryKey": "############################################", + "keyName": "sdk-Authrules-1746" + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json new file mode 100644 index 000000000000..a58011927e48 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-8980", + "authorizationRuleName": "sdk-Authrules-8929", + "resourceGroupName": "ArunMonocle", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "keyType": "PrimaryKey" + } + }, + "responses": { + "200": { + "body": { + "primaryConnectionString": "Endpoint=sb://sdk-namespace-8980.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-8929;SharedAccessKey=############################################", + "secondaryConnectionString": "Endpoint=sb://sdk-namespace-8980.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-8929;SharedAccessKey=############################################", + "primaryKey": "############################################", + "secondaryKey": "############################################", + "keyName": "sdk-Authrules-8929" + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json new file mode 100644 index 000000000000..9b5d1193e4b5 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5849", + "resourceGroupName": "ArunMonocle", + "api-version": "2017-04-01", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "sku": { + "name": "Standard", + "tier": "Standard" + }, + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + } + }, + "201": { + "body": { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + } + }, + "202": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json new file mode 100644 index 000000000000..b697874b2418 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5849", + "resourceGroupName": "SouthCentralUS", + "api-version": "2017-04-01", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json new file mode 100644 index 000000000000..7a662298808e --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5849", + "resourceGroupName": "ArunMonocle", + "api-version": "2017-04-01", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + } + }, + "201": { + "body": { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Created", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:27.877Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceList.json new file mode 100644 index 000000000000..6d370dd73983 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceList.json @@ -0,0 +1,1361 @@ +{ + "parameters": { + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/sadfsadfsadf/providers/Microsoft.EventHub/namespaces/eh-ns1", + "name": "eh-ns1", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:eh-ns1", + "createdAt": "2016-08-23T04:15:35.263Z", + "updatedAt": "2017-02-03T20:13:04.007Z", + "serviceBusEndpoint": "https://eh-ns1.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 9 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace1", + "name": "ehnamespace1", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 20, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace1", + "createdAt": "2016-08-05T16:56:48.657Z", + "updatedAt": "2017-05-03T23:49:12.69Z", + "serviceBusEndpoint": "https://ehnamespace1.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95", + "name": "NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95", + "createdAt": "2016-09-16T01:10:00.96Z", + "updatedAt": "2017-02-11T11:15:32.313Z", + "serviceBusEndpoint": "https://NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-027302b7-df82-43a1-abf7-b6a2e2429115", + "name": "NS-027302b7-df82-43a1-abf7-b6a2e2429115", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-027302b7-df82-43a1-abf7-b6a2e2429115", + "createdAt": "2016-08-05T04:13:34.727Z", + "updatedAt": "2017-02-11T10:35:30.053Z", + "serviceBusEndpoint": "https://NS-027302b7-df82-43a1-abf7-b6a2e2429115.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 7 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/abc-7-14", + "name": "abc-7-14", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 14, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc-7-14", + "createdAt": "2017-05-05T17:58:58.433Z", + "updatedAt": "2017-05-05T17:59:20Z", + "serviceBusEndpoint": "https://abc-7-14.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3054", + "name": "sdk-Namespace-3054", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3054", + "createdAt": "2017-05-24T18:43:53.58Z", + "updatedAt": "2017-05-24T18:44:16.657Z", + "serviceBusEndpoint": "https://sdk-Namespace-3054.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/namespace1asdfsa", + "name": "namespace1asdfsa", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:namespace1asdfsa", + "createdAt": "2016-09-12T18:23:15.833Z", + "updatedAt": "2017-02-04T01:58:49.523Z", + "serviceBusEndpoint": "https://namespace1asdfsa.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 3 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/hello1-3-8", + "name": "hello1-3-8", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 8, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:hello1-3-8", + "createdAt": "2017-05-05T19:23:18.96Z", + "updatedAt": "2017-05-05T19:23:42.497Z", + "serviceBusEndpoint": "https://hello1-3-8.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBPerplexed", + "name": "SBPerplexed", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbperplexed", + "createdAt": "2016-10-10T19:18:57.773Z", + "updatedAt": "2017-02-03T23:46:15.22Z", + "serviceBusEndpoint": "https://SBPerplexed.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace123", + "name": "ehnamespace123", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace123", + "createdAt": "2016-08-05T16:57:09Z", + "updatedAt": "2017-02-11T08:25:30.093Z", + "serviceBusEndpoint": "https://ehnamespace123.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/oaisdjfoiasdjfoiajsdfoijasd", + "name": "oaisdjfoiasdjfoiajsdfoijasd", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:oaisdjfoiasdjfoiajsdfoijasd", + "createdAt": "2017-05-03T22:05:29.61Z", + "updatedAt": "2017-05-03T22:05:51.593Z", + "serviceBusEndpoint": "https://oaisdjfoiasdjfoiajsdfoijasd.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ns3", + "name": "rrama-ns3", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ns3", + "createdAt": "2016-08-23T04:22:40.633Z", + "updatedAt": "2017-02-11T12:52:58.277Z", + "serviceBusEndpoint": "https://rrama-ns3.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/abc123", + "name": "abc123", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc123", + "createdAt": "2017-05-04T19:06:00.813Z", + "updatedAt": "2017-05-04T19:06:23.71Z", + "serviceBusEndpoint": "https://abc123.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace21", + "name": "ehnamespace21", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace21", + "createdAt": "2016-08-05T16:57:00.377Z", + "updatedAt": "2017-02-11T09:50:32.86Z", + "serviceBusEndpoint": "https://ehnamespace21.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBFlerbederp", + "name": "SBFlerbederp", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbflerbederp", + "createdAt": "2016-10-10T19:32:17.56Z", + "updatedAt": "2017-02-03T20:46:59.227Z", + "serviceBusEndpoint": "https://SBFlerbederp.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 9 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/aaa-001-9-11", + "name": "aaa-001-9-11", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 11, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:aaa-001-9-11", + "createdAt": "2017-05-05T17:32:22.37Z", + "updatedAt": "2017-05-05T17:32:44.76Z", + "serviceBusEndpoint": "https://aaa-001-9-11.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-47a32389-7331-47c8-9228-4c145b2650d7", + "name": "NS-47a32389-7331-47c8-9228-4c145b2650d7", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-47a32389-7331-47c8-9228-4c145b2650d7", + "createdAt": "2016-09-16T01:41:51.857Z", + "updatedAt": "2017-02-11T08:28:03.157Z", + "serviceBusEndpoint": "https://NS-47a32389-7331-47c8-9228-4c145b2650d7.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7", + "name": "NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7", + "createdAt": "2016-08-05T03:39:52.323Z", + "updatedAt": "2017-02-11T04:40:32.24Z", + "serviceBusEndpoint": "https://NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBFeasible", + "name": "SBFeasible", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbfeasible", + "createdAt": "2016-10-10T19:05:24.76Z", + "updatedAt": "2017-02-03T19:51:55.893Z", + "serviceBusEndpoint": "https://SBFeasible.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-3b72258b-a8a1-4250-8952-e89a15af71fc", + "name": "NS-3b72258b-a8a1-4250-8952-e89a15af71fc", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-3b72258b-a8a1-4250-8952-e89a15af71fc", + "createdAt": "2016-09-16T17:59:27.227Z", + "updatedAt": "2017-02-27T19:34:26.633Z", + "serviceBusEndpoint": "https://NS-3b72258b-a8a1-4250-8952-e89a15af71fc.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:50.467Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/testDC/providers/Microsoft.EventHub/namespaces/TestNamespace1", + "name": "TestNamespace1", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 10, + "provisioningState": "Updating", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:testnamespace1", + "createdAt": "2017-04-25T00:28:00.243Z", + "updatedAt": "2017-04-26T20:54:41.18Z", + "serviceBusEndpoint": "https://TestNamespace1.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns", + "name": "rrama-ehns", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ehns", + "createdAt": "2016-08-23T04:22:49.74Z", + "updatedAt": "2017-02-11T07:03:51.793Z", + "serviceBusEndpoint": "https://rrama-ehns.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/testDC/providers/Microsoft.EventHub/namespaces/TestNamespace3", + "name": "TestNamespace3", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:testnamespace3", + "createdAt": "2017-05-03T22:33:17.84Z", + "updatedAt": "2017-05-03T22:33:40.087Z", + "serviceBusEndpoint": "https://TestNamespace3.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4984", + "name": "sdk-Namespace-4984", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4984", + "createdAt": "2017-05-24T21:31:03.587Z", + "updatedAt": "2017-05-24T21:31:24.967Z", + "serviceBusEndpoint": "https://sdk-Namespace-4984.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-19df9616-54d6-47c9-8779-a4651835a95c", + "name": "NS-19df9616-54d6-47c9-8779-a4651835a95c", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-19df9616-54d6-47c9-8779-a4651835a95c", + "createdAt": "2016-08-23T02:38:33.8Z", + "updatedAt": "2017-02-11T04:28:01.093Z", + "serviceBusEndpoint": "https://NS-19df9616-54d6-47c9-8779-a4651835a95c.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-463af3de-8c87-4347-a614-a4c24f748109", + "name": "NS-463af3de-8c87-4347-a614-a4c24f748109", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-463af3de-8c87-4347-a614-a4c24f748109", + "createdAt": "2016-08-05T00:55:04.807Z", + "updatedAt": "2017-02-11T06:13:53.343Z", + "serviceBusEndpoint": "https://NS-463af3de-8c87-4347-a614-a4c24f748109.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5606", + "name": "sdk-Namespace-5606", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5606", + "createdAt": "2017-05-24T18:56:05.093Z", + "updatedAt": "2017-05-24T18:56:27.32Z", + "serviceBusEndpoint": "https://sdk-Namespace-5606.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3", + "name": "NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3", + "createdAt": "2016-08-05T04:18:53.27Z", + "updatedAt": "2017-02-11T06:49:39.877Z", + "serviceBusEndpoint": "https://NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-7703", + "name": "sdk-Namespace-7703", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-7703", + "createdAt": "2017-05-24T19:05:23.817Z", + "updatedAt": "2017-05-24T19:05:44.717Z", + "serviceBusEndpoint": "https://sdk-Namespace-7703.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 3 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/zzzzzzzzzzzzzzzzzzzzzz-00001", + "name": "zzzzzzzzzzzzzzzzzzzzzz-00001", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 11, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:zzzzzzzzzzzzzzzzzzzzzz-00001", + "createdAt": "2017-05-04T21:35:49.383Z", + "updatedAt": "2017-05-05T17:01:20.733Z", + "serviceBusEndpoint": "https://zzzzzzzzzzzzzzzzzzzzzz-00001.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBQuestionable", + "name": "SBQuestionable", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbquestionable", + "createdAt": "2016-10-10T18:56:24.723Z", + "updatedAt": "2017-02-03T19:51:46.983Z", + "serviceBusEndpoint": "https://SBQuestionable.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace1234", + "name": "ehnamespace1234", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace1234", + "createdAt": "2016-08-05T16:57:17.863Z", + "updatedAt": "2017-02-11T10:35:33.817Z", + "serviceBusEndpoint": "https://ehnamespace1234.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3919", + "name": "sdk-Namespace-3919", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3919", + "createdAt": "2017-05-24T02:08:20.15Z", + "updatedAt": "2017-05-24T02:08:41.313Z", + "serviceBusEndpoint": "https://sdk-Namespace-3919.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/arunarchivetest", + "name": "arunarchivetest", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:arunarchivetest", + "createdAt": "2017-03-08T19:25:49.897Z", + "updatedAt": "2017-03-08T19:26:17.49Z", + "serviceBusEndpoint": "https://arunarchivetest.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/aiosdjfaoidjasdoijasdfoijasdfofijsdf", + "name": "aiosdjfaoidjasdoijasdfoijasdfofijsdf", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:aiosdjfaoidjasdoijasdfoijasdfofijsdf", + "createdAt": "2017-05-04T21:23:23.9Z", + "updatedAt": "2017-05-04T21:23:46.78Z", + "serviceBusEndpoint": "https://aiosdjfaoidjasdoijasdfoijasdfofijsdf.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3413", + "name": "sdk-Namespace-3413", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3413", + "createdAt": "2017-05-24T19:02:15.45Z", + "updatedAt": "2017-05-24T19:02:38.047Z", + "serviceBusEndpoint": "https://sdk-Namespace-3413.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBConfuzzled", + "name": "SBConfuzzled", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbconfuzzled", + "createdAt": "2016-10-10T19:30:45.71Z", + "updatedAt": "2017-02-03T22:49:17.82Z", + "serviceBusEndpoint": "https://SBConfuzzled.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8695", + "name": "sdk-Namespace-8695", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-8695", + "createdAt": "2017-05-24T20:03:43.81Z", + "updatedAt": "2017-05-24T20:04:05.88Z", + "serviceBusEndpoint": "https://sdk-Namespace-8695.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 11 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/aaa-11-17", + "name": "aaa-11-17", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 17, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:aaa-11-17", + "createdAt": "2017-05-08T18:47:07.64Z", + "updatedAt": "2017-05-08T18:47:29.587Z", + "serviceBusEndpoint": "https://aaa-11-17.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 4 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/hello1-4-14", + "name": "hello1-4-14", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 14, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:hello1-4-14", + "createdAt": "2017-05-05T18:54:20.563Z", + "updatedAt": "2017-05-05T18:54:42.507Z", + "serviceBusEndpoint": "https://hello1-4-14.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4801", + "name": "sdk-Namespace-4801", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4801", + "createdAt": "2017-05-24T18:39:39.213Z", + "updatedAt": "2017-05-24T18:40:00.087Z", + "serviceBusEndpoint": "https://sdk-Namespace-4801.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 8 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/RichardsEventHub1", + "name": "RichardsEventHub1", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 15, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:richardseventhub1", + "createdAt": "2017-04-27T19:15:13.05Z", + "updatedAt": "2017-05-09T19:34:41.127Z", + "serviceBusEndpoint": "https://RichardsEventHub1.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 7 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-test", + "name": "rrama-autoinflate-test", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 10, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-test", + "createdAt": "2017-05-01T16:58:11.34Z", + "updatedAt": "2017-05-08T21:52:42.663Z", + "serviceBusEndpoint": "https://rrama-autoinflate-test.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/foofoofoofoof", + "name": "foofoofoofoof", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:foofoofoofoof", + "createdAt": "2017-04-29T02:47:53.523Z", + "updatedAt": "2017-04-29T02:48:17.95Z", + "serviceBusEndpoint": "https://foofoofoofoof.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/asdf1234asdf", + "name": "asdf1234asdf", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:asdf1234asdf", + "createdAt": "2016-09-13T01:45:40.58Z", + "updatedAt": "2017-02-11T06:54:38.623Z", + "serviceBusEndpoint": "https://asdf1234asdf.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2812", + "name": "sdk-Namespace-2812", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2812", + "createdAt": "2017-05-24T18:55:44.687Z", + "updatedAt": "2017-05-24T18:56:05.587Z", + "serviceBusEndpoint": "https://sdk-Namespace-2812.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c", + "name": "NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-4aadc830-1029-49b8-8fbd-dd0130e7a84c", + "createdAt": "2016-08-05T04:02:53.43Z", + "updatedAt": "2017-02-11T05:13:02.697Z", + "serviceBusEndpoint": "https://NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-5e79a429-aa52-42b9-8120-2fe72fc00727", + "name": "NS-5e79a429-aa52-42b9-8120-2fe72fc00727", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-5e79a429-aa52-42b9-8120-2fe72fc00727", + "createdAt": "2016-08-05T01:13:41.527Z", + "updatedAt": "2017-02-11T04:24:44.797Z", + "serviceBusEndpoint": "https://NS-5e79a429-aa52-42b9-8120-2fe72fc00727.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-df-ns1", + "name": "rrama-df-ns1", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-df-ns1", + "createdAt": "2016-10-27T23:35:05.453Z", + "updatedAt": "2017-02-03T20:23:49.533Z", + "serviceBusEndpoint": "https://rrama-df-ns1.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 9 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/bbbb-9-12", + "name": "bbbb-9-12", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 12, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:bbbb-9-12", + "createdAt": "2017-05-05T17:47:35.123Z", + "updatedAt": "2017-05-05T17:47:56.1Z", + "serviceBusEndpoint": "https://bbbb-9-12.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/eh-autoInflate/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-template1", + "name": "rrama-autoinflate-template1", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 10, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-template1", + "createdAt": "2017-05-03T17:46:36.71Z", + "updatedAt": "2017-05-03T17:47:00.163Z", + "serviceBusEndpoint": "https://rrama-autoinflate-template1.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/RandomPlotTwists", + "name": "RandomPlotTwists", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:randomplottwists", + "createdAt": "2017-05-18T00:37:26.13Z", + "updatedAt": "2017-05-18T00:37:49.533Z", + "serviceBusEndpoint": "https://RandomPlotTwists.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-1862d295-09cc-4e54-b23d-a2bc3bab2392", + "name": "NS-1862d295-09cc-4e54-b23d-a2bc3bab2392", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-1862d295-09cc-4e54-b23d-a2bc3bab2392", + "createdAt": "2016-08-05T04:08:14.253Z", + "updatedAt": "2017-02-11T04:33:53.34Z", + "serviceBusEndpoint": "https://NS-1862d295-09cc-4e54-b23d-a2bc3bab2392.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-MigrateThis", + "name": "NS-MigrateThis", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-migratethis", + "createdAt": "2016-08-06T00:23:12.3Z", + "updatedAt": "2017-02-04T00:25:08.043Z", + "serviceBusEndpoint": "https://NS-MigrateThis.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-5e01d977-125c-4fd2-8a78-cc50be544d1f", + "name": "NS-5e01d977-125c-4fd2-8a78-cc50be544d1f", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-5e01d977-125c-4fd2-8a78-cc50be544d1f", + "createdAt": "2016-08-05T04:34:33.617Z", + "updatedAt": "2017-02-11T05:54:42.25Z", + "serviceBusEndpoint": "https://NS-5e01d977-125c-4fd2-8a78-cc50be544d1f.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 10 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-2b17fb74-2719-4c68-9ba3-13a018485b1f", + "name": "NS-2b17fb74-2719-4c68-9ba3-13a018485b1f", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 10, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-2b17fb74-2719-4c68-9ba3-13a018485b1f", + "createdAt": "2016-08-05T04:29:17.147Z", + "updatedAt": "2017-05-02T19:52:53.243Z", + "serviceBusEndpoint": "https://NS-2b17fb74-2719-4c68-9ba3-13a018485b1f.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ehns123", + "name": "rrama-int7-ehns123", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ehns123", + "createdAt": "2016-09-13T23:35:15.473Z", + "updatedAt": "2016-09-13T23:35:38.63Z", + "serviceBusEndpoint": "https://rrama-int7-ehns123.servicebus.int7.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-test", + "name": "rrama-autoinflate-test", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 10, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-test", + "createdAt": "2017-05-01T17:48:04.55Z", + "updatedAt": "2017-05-04T21:15:36.013Z", + "serviceBusEndpoint": "https://rrama-autoinflate-test.servicebus.int7.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate2", + "name": "rrama-autoinflate2", + "type": "Microsoft.EventHub/Namespaces", + "location": "North Europe", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 10, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate2", + "createdAt": "2017-05-01T20:50:00.22Z", + "updatedAt": "2017-05-01T20:50:24.687Z", + "serviceBusEndpoint": "https://rrama-autoinflate2.servicebus.int7.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/db3-rrama-foo1", + "name": "db3-rrama-foo1", + "type": "Microsoft.EventHub/Namespaces", + "location": "North Europe", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:db3-rrama-foo1", + "createdAt": "2017-04-28T23:47:36.503Z", + "updatedAt": "2017-05-01T21:14:37.133Z", + "serviceBusEndpoint": "https://db3-rrama-foo1.servicebus.int7.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ehns1", + "name": "rrama-int7-ehns1", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ehns1", + "createdAt": "2016-09-13T23:20:44.853Z", + "updatedAt": "2016-09-13T23:20:47.35Z", + "serviceBusEndpoint": "https://rrama-int7-ehns1.servicebus.int7.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ns1", + "name": "rrama-int7-ns1", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ns1", + "createdAt": "2016-09-13T23:17:25.24Z", + "updatedAt": "2016-09-13T23:17:28.223Z", + "serviceBusEndpoint": "https://rrama-int7-ns1.servicebus.int7.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns2-int7", + "name": "rrama-ehns2-int7", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ehns2-int7", + "createdAt": "2016-09-13T23:26:21.64Z", + "updatedAt": "2016-09-13T23:26:37.95Z", + "serviceBusEndpoint": "https://rrama-ehns2-int7.servicebus.int7.windows-int.net:443/" + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json new file mode 100644 index 000000000000..d35b85a52ecc --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json @@ -0,0 +1,312 @@ +{ + "parameters": { + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "resourceGroupName": "ArunMonocle" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3054", + "name": "sdk-Namespace-3054", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3054", + "createdAt": "2017-05-24T18:43:53.58Z", + "updatedAt": "2017-05-24T18:44:16.657Z", + "serviceBusEndpoint": "https://sdk-Namespace-3054.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/oaisdjfoiasdjfoiajsdfoijasd", + "name": "oaisdjfoiasdjfoiajsdfoijasd", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:oaisdjfoiasdjfoiajsdfoijasd", + "createdAt": "2017-05-03T22:05:29.61Z", + "updatedAt": "2017-05-03T22:05:51.593Z", + "serviceBusEndpoint": "https://oaisdjfoiasdjfoiajsdfoijasd.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/abc123", + "name": "abc123", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc123", + "createdAt": "2017-05-04T19:06:00.813Z", + "updatedAt": "2017-05-04T19:06:23.71Z", + "serviceBusEndpoint": "https://abc123.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", + "name": "sdk-Namespace-5849", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", + "createdAt": "2017-05-24T23:23:27.877Z", + "updatedAt": "2017-05-24T23:23:50.467Z", + "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4984", + "name": "sdk-Namespace-4984", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4984", + "createdAt": "2017-05-24T21:31:03.587Z", + "updatedAt": "2017-05-24T21:31:24.967Z", + "serviceBusEndpoint": "https://sdk-Namespace-4984.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5606", + "name": "sdk-Namespace-5606", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5606", + "createdAt": "2017-05-24T18:56:05.093Z", + "updatedAt": "2017-05-24T18:56:27.32Z", + "serviceBusEndpoint": "https://sdk-Namespace-5606.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-7703", + "name": "sdk-Namespace-7703", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-7703", + "createdAt": "2017-05-24T19:05:23.817Z", + "updatedAt": "2017-05-24T19:05:44.717Z", + "serviceBusEndpoint": "https://sdk-Namespace-7703.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 3 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/zzzzzzzzzzzzzzzzzzzzzz-00001", + "name": "zzzzzzzzzzzzzzzzzzzzzz-00001", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": true, + "maximumThroughputUnits": 11, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:zzzzzzzzzzzzzzzzzzzzzz-00001", + "createdAt": "2017-05-04T21:35:49.383Z", + "updatedAt": "2017-05-05T17:01:20.733Z", + "serviceBusEndpoint": "https://zzzzzzzzzzzzzzzzzzzzzz-00001.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3919", + "name": "sdk-Namespace-3919", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3919", + "createdAt": "2017-05-24T02:08:20.15Z", + "updatedAt": "2017-05-24T02:08:41.313Z", + "serviceBusEndpoint": "https://sdk-Namespace-3919.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 0 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/aiosdjfaoidjasdoijasdfoijasdfofijsdf", + "name": "aiosdjfaoidjasdoijasdfoijasdfofijsdf", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:aiosdjfaoidjasdoijasdfoijasdfofijsdf", + "createdAt": "2017-05-04T21:23:23.9Z", + "updatedAt": "2017-05-04T21:23:46.78Z", + "serviceBusEndpoint": "https://aiosdjfaoidjasdoijasdfoijasdfofijsdf.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3413", + "name": "sdk-Namespace-3413", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3413", + "createdAt": "2017-05-24T19:02:15.45Z", + "updatedAt": "2017-05-24T19:02:38.047Z", + "serviceBusEndpoint": "https://sdk-Namespace-3413.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8695", + "name": "sdk-Namespace-8695", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-8695", + "createdAt": "2017-05-24T20:03:43.81Z", + "updatedAt": "2017-05-24T20:04:05.88Z", + "serviceBusEndpoint": "https://sdk-Namespace-8695.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4801", + "name": "sdk-Namespace-4801", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4801", + "createdAt": "2017-05-24T18:39:39.213Z", + "updatedAt": "2017-05-24T18:40:00.087Z", + "serviceBusEndpoint": "https://sdk-Namespace-4801.servicebus.windows-int.net:443/" + } + }, + { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2812", + "name": "sdk-Namespace-2812", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": {}, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Succeeded", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2812", + "createdAt": "2017-05-24T18:55:44.687Z", + "updatedAt": "2017-05-24T18:56:05.587Z", + "serviceBusEndpoint": "https://sdk-Namespace-2812.servicebus.windows-int.net:443/" + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json new file mode 100644 index 000000000000..29a9c6f32529 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-3668", + "resourceGroupName": "ArunMonocle", + "api-version": "2017-04-01", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", + "name": "sdk-Namespace-3668", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Updating", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", + "createdAt": "2017-06-01T21:37:04.46Z", + "updatedAt": "2017-06-01T21:37:53.413Z", + "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" + } + } + }, + "201": { + "body": { + "sku": { + "name": "Standard", + "tier": "Standard", + "capacity": 1 + }, + "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", + "name": "sdk-Namespace-3668", + "type": "Microsoft.EventHub/Namespaces", + "location": "South Central US", + "tags": { + "tag3": "value3", + "tag4": "value4" + }, + "properties": { + "isAutoInflateEnabled": false, + "maximumThroughputUnits": 0, + "provisioningState": "Updating", + "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", + "createdAt": "2017-06-01T21:37:04.46Z", + "updatedAt": "2017-06-01T21:37:53.413Z", + "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" + } + } + }, + "202": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json new file mode 100644 index 000000000000..c485ea28d9f8 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-2924", + "resourceGroupName": "ArunMonocle", + "api-version": "2018-01-01-preview", + "subscriptionId": "subID", + "privateEndpointConnectionName": "privateEndpointConnectionName", + "parameters": { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-8396/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-2847" + }, + "privateLinkServiceConnectionState": { + "status": "Rejected", + "description": "testing" + }, + "provisioningState": "Succeeded" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-4794/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5828/privateEndpointConnections/928c44d5-b7c6-423b-b6fa-811e0c27b3e0", + "name": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0", + "type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-4794/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5828" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-4794/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5828/privateEndpointConnections/928c44d5-b7c6-423b-b6fa-811e0c27b3e0", + "name": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0", + "type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-4794/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5828" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json new file mode 100644 index 000000000000..68fd4f7ca8ae --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-3285", + "resourceGroupName": "ArunMonocle", + "privateEndpointConnectionName": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0", + "api-version": "2018-01-01-preview", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json new file mode 100644 index 000000000000..801342ade57b --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5828", + "resourceGroupName": "SDK-EventHub-4794", + "privateEndpointConnectionName": "privateEndpointConnectionName", + "api-version": "2018-01-01-preview", + "subscriptionId": "subID" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-4794/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5828/privateEndpointConnections/privateEndpointConnectionName", + "name": "privateEndpointConnectionName", + "type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-4794/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5828" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json new file mode 100644 index 000000000000..4095c639f900 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5828", + "resourceGroupName": "SDK-EventHub-4794", + "api-version": "2018-01-01-preview", + "subscriptionId": "subID" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-7182/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5705-new/privateEndpointConnections/5dc668b3-70e4-437f-b61c-a3c1e594be7a", + "name": "5dc668b3-70e4-437f-b61c-a3c1e594be7a", + "type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-7182/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5705-new" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json new file mode 100644 index 000000000000..c71adb869dde --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-2924", + "resourceGroupName": "ArunMonocle", + "api-version": "2018-01-01-preview", + "subscriptionId": "subID" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/subID/resourceGroups/SDK-EventHub-4794/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5828/privateLinkResources/namespace", + "name": "namespace", + "type": "Microsoft.EventHub/namespaces/privateLinkResources", + "properties": { + "groupId": "namespace", + "requiredMembers": [ + "namespace" + ], + "requiredZoneNames": [ + "privatelink.EventHub.windows.net" + ] + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json new file mode 100644 index 000000000000..e7969c387337 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-6019", + "resourceGroupName": "ResourceGroup", + "api-version": "2018-01-01-preview", + "subscriptionId": "Subscription", + "parameters": { + "properties": { + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, + "ignoreMissingVnetServiceEndpoint": true + }, + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, + "ignoreMissingVnetServiceEndpoint": false + }, + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, + "ignoreMissingVnetServiceEndpoint": false + } + ], + "ipRules": [ + { + "ipMask": "1.1.1.1", + "action": "Allow" + }, + { + "ipMask": "1.1.1.2", + "action": "Allow" + }, + { + "ipMask": "1.1.1.3", + "action": "Allow" + }, + { + "ipMask": "1.1.1.4", + "action": "Allow" + }, + { + "ipMask": "1.1.1.5", + "action": "Allow" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/resourcegroupid/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9659/networkruleset/default", + "name": "default", + "type": "Microsoft.EventHub/Namespaces/NetworkRuleSet", + "properties": { + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, + "ignoreMissingVnetServiceEndpoint": true + }, + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, + "ignoreMissingVnetServiceEndpoint": false + }, + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, + "ignoreMissingVnetServiceEndpoint": false + } + ], + "ipRules": [ + { + "ipMask": "1.1.1.1", + "action": "Allow" + }, + { + "ipMask": "1.1.1.2", + "action": "Allow" + }, + { + "ipMask": "1.1.1.3", + "action": "Allow" + }, + { + "ipMask": "1.1.1.4", + "action": "Allow" + }, + { + "ipMask": "1.1.1.5", + "action": "Allow" + } + ] + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json new file mode 100644 index 000000000000..d63c8fbad4bd --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-6019", + "resourceGroupName": "ResourceGroup", + "api-version": "2018-01-01-preview", + "subscriptionId": "Subscription" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subscriptionid/resourceGroups/resourcegroupid/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9659/networkruleset/default", + "name": "default", + "type": "Microsoft.EventHub/Namespaces/NetworkRuleSet", + "properties": { + "defaultAction": "Deny", + "virtualNetworkRules": [ + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" + }, + "ignoreMissingVnetServiceEndpoint": true + }, + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" + }, + "ignoreMissingVnetServiceEndpoint": false + }, + { + "subnet": { + "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" + }, + "ignoreMissingVnetServiceEndpoint": false + } + ], + "ipRules": [ + { + "ipMask": "1.1.1.1", + "action": "Allow" + }, + { + "ipMask": "1.1.1.2", + "action": "Allow" + }, + { + "ipMask": "1.1.1.3", + "action": "Allow" + }, + { + "ipMask": "1.1.1.4", + "action": "Allow" + }, + { + "ipMask": "1.1.1.5", + "action": "Allow" + } + ] + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json new file mode 100644 index 000000000000..8b45b710330c --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-9080", + "authorizationRuleName": "sdk-Authrules-4879", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-4879", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", + "name": "sdk-Authrules-4879", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json new file mode 100644 index 000000000000..5916f0bec2a2 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-9080", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-4047", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey", + "name": "RootManageSharedAccessKey", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Manage", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067", + "name": "sdk-Authrules-1067", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684", + "name": "sdk-Authrules-1684", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + }, + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879", + "name": "sdk-Authrules-4879", + "type": "Microsoft.EventHub/Namespaces/AuthorizationRules", + "properties": { + "rights": [ + "Listen", + "Send" + ] + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json new file mode 100644 index 000000000000..c12b0814203c --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-2702", + "authorizationRuleName": "sdk-Authrules-1746", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-4047", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId" + }, + "responses": { + "200": { + "body": { + "aliasPrimaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", + "aliasSecondaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################", + "primaryKey": "############################################", + "secondaryKey": "############################################", + "keyName": "sdk-Authrules-1746" + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json new file mode 100644 index 000000000000..df4aa5f98d4a --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-8859", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-3814", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId" + }, + "responses": { + "200": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json new file mode 100644 index 000000000000..f6bd905b38c4 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId", + "namespaceName": "sdk-Namespace-9080", + "resourceGroupName": "exampleResourceGroup", + "parameters": { + "name": "sdk-DisasterRecovery-9474" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "reason": "None", + "message": "" + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCreate.json new file mode 100644 index 000000000000..dd715b54a57d --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCreate.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-8859", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-3814", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId", + "parameters": { + "properties": { + "partnerNamespace": "sdk-Namespace-37" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/exampleResourceGroup/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8859/disasterRecoveryConfig/sdk-DisasterRecovery-3814", + "name": "sdk-DisasterRecovery-3814", + "type": "Microsoft.EventHub/Namespaces/DisasterRecoveryConfig", + "properties": { + "provisioningState": "Accepted", + "partnerNamespace": "sdk-Namespace-37", + "role": "Primary" + } + } + }, + "201": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasDelete.json new file mode 100644 index 000000000000..557bae1823d1 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-5849", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-3814", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId" + }, + "responses": { + "200": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasFailOver.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasFailOver.json new file mode 100644 index 000000000000..df4aa5f98d4a --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasFailOver.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-8859", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-3814", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId" + }, + "responses": { + "200": {} + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasGet.json new file mode 100644 index 000000000000..0d0e5e378f3c --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-8859", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-3814", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-37/disasterRecoveryConfig/sdk-DisasterRecovery-3814", + "name": "sdk-DisasterRecovery-3814", + "type": "Microsoft.EventHub/Namespaces/DisasterRecoveryConfig", + "properties": { + "provisioningState": "Accepted", + "partnerNamespace": "sdk-Namespace-8859", + "role": "Secondary", + "pendingReplicationOperationsCount": 0 + } + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasList.json new file mode 100644 index 000000000000..2e4b6af3ae8a --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasList.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "namespaceName": "sdk-Namespace-8859", + "resourceGroupName": "exampleResourceGroup", + "alias": "sdk-DisasterRecovery-3814", + "api-version": "2018-01-01-preview", + "subscriptionId": "exampleSubscriptionId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8859/disasterRecoveryConfig/sdk-DisasterRecovery-3814", + "name": "sdk-DisasterRecovery-3814", + "type": "Microsoft.EventHub/Namespaces/DisasterRecoveryConfig", + "properties": { + "provisioningState": "Accepted", + "partnerNamespace": "sdk-Namespace-37", + "role": "Primary" + } + } + ] + } + } + } +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json new file mode 100644 index 000000000000..02608d7b5225 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json @@ -0,0 +1,945 @@ +{ + "swagger": "2.0", + "info": { + "title": "EventHubManagementClient", + "description": "Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and VirtualNetworkRules resources.", + "version": "2018-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/namespaces": { + "get": { + "tags": [ + "Namespaces" + ], + "operationId": "Namespaces_List", + "x-ms-examples": { + "NamespacesListBySubscription": { + "$ref": "./examples/NameSpaces/EHNameSpaceList.json" + } + }, + "description": "Lists all the available Namespaces within a subscription, irrespective of the resource groups.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespaces returned successfully.", + "schema": { + "$ref": "#/definitions/EHNamespaceListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces": { + "get": { + "tags": [ + "Namespaces" + ], + "operationId": "Namespaces_ListByResourceGroup", + "x-ms-examples": { + "NamespaceListByResourceGroup": { + "$ref": "./examples/NameSpaces/EHNameSpaceListByResourceGroup.json" + } + }, + "description": "Lists the available Namespaces within a resource group.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespaces returned successfully.", + "schema": { + "$ref": "#/definitions/EHNamespaceListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}": { + "put": { + "tags": [ + "Namespaces" + ], + "operationId": "Namespaces_CreateOrUpdate", + "x-ms-examples": { + "NamespaceCreate": { + "$ref": "./examples/NameSpaces/EHNameSpaceCreate.json" + } + }, + "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EHNamespace", + "required": [ + "location" + ] + }, + "description": "Parameters for creating a namespace resource." + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace successfully created.", + "schema": { + "$ref": "#/definitions/EHNamespace" + } + }, + "201": { + "description": "Namespace create request accepted.", + "schema": { + "$ref": "#/definitions/EHNamespace" + } + }, + "202": { + "description": "Namespace create or update request accepted." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Namespaces" + ], + "operationId": "Namespaces_Delete", + "x-ms-examples": { + "NameSpaceDelete": { + "$ref": "./examples/NameSpaces/EHNameSpaceDelete.json" + } + }, + "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace successfully deleted." + }, + "202": { + "description": "Namespace delete request accepted." + }, + "204": { + "description": "No content." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Namespaces" + ], + "operationId": "Namespaces_Get", + "x-ms-examples": { + "NameSpaceGet": { + "$ref": "./examples/NameSpaces/EHNameSpaceGet.json" + } + }, + "description": "Gets the description of the specified namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace returned successfully.", + "schema": { + "$ref": "#/definitions/EHNamespace" + } + }, + "201": { + "description": "Namespace update request accepted.", + "schema": { + "$ref": "#/definitions/EHNamespace" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Namespaces" + ], + "operationId": "Namespaces_Update", + "x-ms-examples": { + "NamespacesUpdate": { + "$ref": "./examples/NameSpaces/EHNameSpaceUpdate.json" + } + }, + "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EHNamespace" + }, + "description": "Parameters for updating a namespace resource." + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace successfully updated.", + "schema": { + "$ref": "#/definitions/EHNamespace" + } + }, + "201": { + "description": "Namespace update request accepted.", + "schema": { + "$ref": "#/definitions/EHNamespace" + } + }, + "202": { + "description": "Namespace create or update request accepted." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections": { + "get": { + "tags": [ + "Namespaces PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_List", + "x-ms-examples": { + "NameSpaceCreate": { + "$ref": "./examples/NameSpaces/PrivateEndPointConnectionList.json" + } + }, + "description": "Gets the available PrivateEndpointConnections within a namespace.", + "externalDocs": { + "url": "https://msdn.microsoft.com/en-us/library/azure/mt639412.aspx" + }, + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "PrivateEndpointConnections successfully returned.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "EventHubEventHub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "put": { + "tags": [ + "Namespaces PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "x-ms-examples": { + "NameSpacePrivateEndPointConnectionCreate": { + "$ref": "./examples/NameSpaces/PrivateEndPointConnectionCreate.json" + } + }, + "description": "Creates or updates PrivateEndpointConnections of service namespace.", + "externalDocs": { + "url": "https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx" + }, + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "Parameters supplied to update Status of PrivateEndPoint Connection to namespace resource." + } + ], + "responses": { + "200": { + "description": "Status of PrivateEndPoint Connection Created successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "Request to update Status of PrivateEndPoint Connection accepted.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Namespaces PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Delete", + "x-ms-examples": { + "NameSpacePrivateEndPointConnectionDelete": { + "$ref": "./examples/NameSpaces/PrivateEndPointConnectionDelete.json" + } + }, + "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", + "externalDocs": { + "url": "https://msdn.microsoft.com/en-us/library/azure/mt639389.aspx" + }, + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "200": { + "description": "Private Endpoint Connection successfully deleted." + }, + "202": { + "description": "Private Endpoint Connection delete request accepted." + }, + "204": { + "description": "No content." + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Namespaces PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "x-ms-examples": { + "NameSpacePrivateEndPointConnectionGet": { + "$ref": "./examples/NameSpaces/PrivateEndPointConnectionGet.json" + } + }, + "description": "Gets a description for the specified Private Endpoint Connection name.", + "externalDocs": { + "url": "https://msdn.microsoft.com/en-us/library/azure/mt639379.aspx" + }, + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Private Endpoint Connection successfully returned.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateLinkResources": { + "get": { + "tags": [ + "Namespaces PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_Get", + "x-ms-examples": { + "NameSpacePrivateLinkResourcesGet": { + "$ref": "./examples/NameSpaces/PrivateLinkResourcesGet.json" + } + }, + "description": "Gets lists of resources that supports Privatelinks.", + "externalDocs": { + "url": "https://msdn.microsoft.com/en-us/library/azure/mt639379.aspx" + }, + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Private Link resource List", + "schema": { + "$ref": "#/definitions/PrivateLinkResourcesListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "EHNamespaceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EHNamespace" + }, + "description": "Result of the List Namespace operation" + }, + "nextLink": { + "type": "string", + "description": "Link to the next set of results. Not empty if Value contains incomplete list of namespaces." + } + }, + "description": "The response of the List Namespace operation" + }, + "EHNamespace": { + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Properties of sku resource" + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "Properties of BYOK Identity description" + }, + "properties": { + "x-ms-client-flatten": true, + "properties": { + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "Provisioning state of the Namespace." + }, + "createdAt": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The time the Namespace was created." + }, + "updatedAt": { + "readOnly": true, + "format": "date-time", + "type": "string", + "description": "The time the Namespace was updated." + }, + "serviceBusEndpoint": { + "readOnly": true, + "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", + "description": "Identifier for Azure Insights metrics." + }, + "isAutoInflateEnabled": { + "type": "boolean", + "description": "Value that indicates whether AutoInflate is enabled for eventhub namespace." + }, + "maximumThroughputUnits": { + "format": "int32", + "type": "integer", + "maximum": 20, + "minimum": 0, + "description": "Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)" + }, + "kafkaEnabled": { + "type": "boolean", + "description": "Value that indicates whether Kafka is enabled for eventhub namespace." + }, + "zoneRedundant": { + "type": "boolean", + "description": "Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones." + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Properties of BYOK Encryption description" + } + }, + "description": "Namespace properties supplied for create namespace operation." + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/definitions.json#/definitions/TrackedResource" + } + ], + "description": "Single Namespace item in List or Get Operation" + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of this SKU.", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true + } + }, + "tier": { + "type": "string", + "description": "The billing tier of this particular SKU.", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + } + }, + "capacity": { + "format": "int32", + "maximum": 20, + "minimum": 0, + "type": "integer", + "description": "The Event Hubs throughput units, value should be 0 to 20 throughput units." + } + }, + "required": [ + "name" + ], + "description": "SKU parameters supplied to the create namespace operation" + }, + "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": { + "type": "array", + "items": { + "$ref": "#/definitions/KeyVaultProperties" + }, + "x-ms-client-name": "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", + "x-ms-client-name": "KeyName" + }, + "keyVaultUri": { + "type": "string", + "description": "Uri of KeyVault", + "x-ms-client-name": "KeyVaultUri" + }, + "keyVersion": { + "type": "string", + "description": "Key Version", + "x-ms-client-name": "KeyVersion" + } + }, + "description": "Properties to configure keyVault Properties" + }, + "PrivateEndpointConnection": { + "description": "Properties of the PrivateEndpointConnection.", + "allOf": [ + { + "$ref": "../../../common/v1/definitions.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Properties of the PrivateEndpointConnection.", + "x-ms-client-flatten": true + } + } + }, + "PrivateEndpointConnectionProperties": { + "description": "Properties of the private endpoint connection resource.", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The Private Endpoint resource for this Connection." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/ConnectionState", + "description": "Details about the state of the connection." + }, + "provisioningState": { + "description": "Provisioning state of the Private Endpoint Connection.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "EndPointProvisioningState", + "modelAsString": true + } + } + } + }, + "PrivateEndpoint": { + "description": "PrivateEndpoint information.", + "properties": { + "id": { + "description": "The ARM identifier for Private Endpoint.", + "type": "string" + } + } + }, + "ConnectionState": { + "description": "ConnectionState information.", + "properties": { + "status": { + "description": "Status of the connection.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ], + "type": "string", + "x-ms-enum": { + "name": "PrivateLinkConnectionStatus", + "modelAsString": true + } + }, + "description": { + "description": "Description of the connection state.", + "type": "string" + } + } + }, + "PrivateEndpointConnectionListResult": { + "description": "Result of the list of all private endpoint connections operation.", + "properties": { + "value": { + "description": "A collection of private endpoint connection resources.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "description": "A link for the next page of private endpoint connection resources.", + "type": "string" + } + } + }, + "PrivateLinkResource": { + "description": "Information of the private link resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Properties of the private link resource.", + "x-ms-client-flatten": true + }, + "id": { + "description": "Fully qualified identifier of the resource.", + "type": "string" + }, + "name": { + "description": "Name of the resource", + "type": "string" + }, + "type": { + "description": "Type of the resource", + "type": "string" + } + } + }, + "PrivateLinkResourceProperties": { + "description": "Properties of PrivateLinkResource", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string" + }, + "requiredMembers": { + "type": "array", + "description": "The private link resource required member names.", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "type": "array", + "description": "The private link resource Private link DNS zone name.", + "items": { + "type": "string" + } + } + } + }, + "PrivateLinkResourcesListResult": { + "description": "Result of the List private link resources operation.", + "properties": { + "value": { + "description": "A collection of private link resources", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "description": "A link for the next page of private link resources.", + "type": "string" + } + } + } + }, + "parameters": {} +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json new file mode 100644 index 000000000000..8d3a1c5da7b5 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json @@ -0,0 +1,222 @@ +{ + "swagger": "2.0", + "info": { + "title": "EventHubManagementClient", + "description": "Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and VirtualNetworkRules resources.", + "version": "2018-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default": { + "put": { + "tags": [ + "NetworkRuleSets" + ], + "x-ms-examples": { + "NameSpaceNetworkRuleSetCreate": { + "$ref": "./examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json" + } + }, + "operationId": "Namespaces_CreateOrUpdateNetworkRuleSet", + "description": "Create or update NetworkRuleSet for a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkRuleSet" + }, + "description": "The Namespace IpFilterRule." + } + ], + "responses": { + "200": { + "description": "Namespace NetworkRuleSet successfully returned.", + "schema": { + "$ref": "#/definitions/NetworkRuleSet" + } + }, + "default": { + "description": "ServiceBus error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "NetworkRuleSets" + ], + "x-ms-examples": { + "NameSpaceNetworkRuleSetGet": { + "$ref": "./examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json" + } + }, + "operationId": "Namespaces_GetNetworkRuleSet", + "description": "Gets NetworkRuleSet for a Namespace.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Namespace NetworkRuleSet successfully returned.", + "schema": { + "$ref": "#/definitions/NetworkRuleSet" + } + }, + "default": { + "description": "ServiceBus error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "Subnet": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID of Virtual Network Subnet" + } + }, + "description": "Properties supplied for Subnet" + }, + "NWRuleSetIpRules": { + "x-ms-client-flatten": true, + "properties": { + "ipMask": { + "type": "string", + "description": "IP Mask" + }, + "action": { + "type": "string", + "description": "The IP Filter Action", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "NetworkRuleIPAction", + "modelAsString": true + } + } + }, + "description": "The response from the List namespace operation." + }, + "NWRuleSetVirtualNetworkRules": { + "x-ms-client-flatten": true, + "properties": { + "subnet": { + "$ref": "#/definitions/Subnet", + "description": "Subnet properties" + }, + "ignoreMissingVnetServiceEndpoint": { + "type": "boolean", + "description": "Value that indicates whether to ignore missing Vnet Service Endpoint" + } + }, + "description": "The response from the List namespace operation." + }, + "NetworkRuleSet": { + "properties": { + "properties": { + "description": "NetworkRuleSet properties", + "x-ms-client-flatten": true, + "properties": { + "trustedServiceAccessEnabled": { + "type": "boolean", + "description": "Value that indicates whether Trusted Service Access is Enabled or not." + }, + "defaultAction": { + "type": "string", + "description": "Default Action for Network Rule Set", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true + } + }, + "virtualNetworkRules": { + "type": "array", + "items": { + "$ref": "#/definitions/NWRuleSetVirtualNetworkRules" + }, + "description": "List VirtualNetwork Rules" + }, + "ipRules": { + "type": "array", + "items": { + "$ref": "#/definitions/NWRuleSetIpRules" + }, + "description": "List of IpRules" + } + } + } + }, + "allOf": [ + { + "$ref": "../../../common/v1/definitions.json#/definitions/Resource" + } + ], + "description": "Description of topic resource." + } + }, + "parameters": {} +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/operations.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/operations.json new file mode 100644 index 000000000000..fbc8ca8fb42e --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/operations.json @@ -0,0 +1,126 @@ +{ + "swagger": "2.0", + "info": { + "title": "EventHubManagementClient", + "description": "Azure Event Hubs client", + "version": "2018-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.EventHub/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "EHOperations_List": { + "$ref": "./examples/EHOperations_List.json" + } + }, + "description": "Lists all of the available Event Hub REST API operations.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "OperationListResult": { + "description": "Result of the request to list Event Hub operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "description": "List of Event Hub operations supported by the Microsoft.EventHub resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "Operation": { + "description": "A Event Hub REST API operation", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "readOnly": true, + "type": "string", + "description": "Service provider: Microsoft.EventHub" + }, + "resource": { + "readOnly": true, + "type": "string", + "description": "Resource on which the operation is performed: Invoice, etc." + }, + "operation": { + "readOnly": true, + "type": "string", + "description": "Operation type: Read, write, delete, etc." + } + } + } + } + } + }, + "parameters": {} +} From f7e57a52bf39f966d16a418746b8d4f162cb87f5 Mon Sep 17 00:00:00 2001 From: aparna Date: Mon, 1 Mar 2021 16:43:25 -0800 Subject: [PATCH 2/5] Change files for 2021 in base files --- .../AuthorizationRules.json | 7 +- .../2021-01-01-preview/consumergroups.json | 7 +- .../disasterRecoveryConfigs.json | 7 +- .../preview/2021-01-01-preview/eventhubs.json | 7 +- .../ConsumerGroup/EHConsumerGroupCreate.json | 2 +- .../ConsumerGroup/EHConsumerGroupDelete.json | 2 +- .../ConsumerGroup/EHConsumerGroupGet.json | 2 +- .../EHConsumerGroupListByEventHub.json | 2 +- .../examples/EHOperations_List.json | 2 +- .../EHEventHubAuthorizationRuleCreate.json | 2 +- .../EHEventHubAuthorizationRuleDelete.json | 2 +- .../EHEventHubAuthorizationRuleGet.json | 2 +- .../EHEventHubAuthorizationRuleListAll.json | 2 +- .../EHEventHubAuthorizationRuleListKey.json | 2 +- ...ventHubAuthorizationRuleRegenerateKey.json | 2 +- .../examples/EventHubs/EHEventHubCreate.json | 2 +- .../examples/EventHubs/EHEventHubDelete.json | 2 +- .../examples/EventHubs/EHEventHubGet.json | 2 +- .../EventHubs/EHEventHubListByNameSpace.json | 2 +- .../EHNameSpaceAuthorizationRuleCreate.json | 2 +- .../EHNameSpaceAuthorizationRuleDelete.json | 2 +- .../EHNameSpaceAuthorizationRuleGet.json | 2 +- .../EHNameSpaceAuthorizationRuleListAll.json | 2 +- .../EHNameSpaceAuthorizationRuleListKey.json | 2 +- ...meSpaceAuthorizationRuleRegenerateKey.json | 2 +- .../NameSpaces/EHNameSpaceCreate.json | 138 +- .../NameSpaces/EHNameSpaceDelete.json | 8 +- .../examples/NameSpaces/EHNameSpaceGet.json | 84 +- .../examples/NameSpaces/EHNameSpaceList.json | 1373 +---------------- .../EHNameSpaceListByResourceGroup.json | 325 +--- .../NameSpaces/EHNameSpaceUpdate.json | 108 +- .../PrivateEndPointConnectionCreate.json | 2 +- .../PrivateEndPointConnectionDelete.json | 2 +- .../PrivateEndPointConnectionGet.json | 2 +- .../PrivateEndPointConnectionList.json | 2 +- .../NameSpaces/PrivateLinkResourcesGet.json | 2 +- .../EHNetworkRuleSetCreate.json | 2 +- .../EHNetworkRuleSetGet.json | 2 +- .../EHAliasAuthorizationRuleGet.json | 2 +- .../EHAliasAuthorizationRuleListAll.json | 2 +- .../EHAliasAuthorizationRuleListKey.json | 2 +- .../EHAliasBreakPairing.json | 2 +- .../EHAliasCheckNameAvailability.json | 2 +- .../EHAliasCreate.json | 2 +- .../EHAliasDelete.json | 2 +- .../EHAliasFailOver.json | 2 +- .../disasterRecoveryConfigs/EHAliasGet.json | 2 +- .../disasterRecoveryConfigs/EHAliasList.json | 2 +- .../namespaces-preview.json | 73 +- .../networkrulessets-preview.json | 7 +- .../2021-01-01-preview/operations.json | 2 +- .../common/v1/definitions.json | 53 + .../eventhub/resource-manager/readme.md | 15 + .../resource-manager/readme.python.md | 15 + 54 files changed, 520 insertions(+), 1785 deletions(-) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json index 0b842030db1a..f30fc3e0046d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json @@ -3,7 +3,7 @@ "info": { "title": "EventHubManagementClient", "description": "Azure Event Hubs client", - "version": "2018-01-01-preview" + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -808,6 +808,11 @@ "rights" ], "description": "Properties supplied to create or update AuthorizationRule" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../common/v1/definitions.json#/definitions/systemData" } }, "allOf": [ diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json index 1ce36f761c74..de3749534cba 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json @@ -3,7 +3,7 @@ "info": { "title": "EventHubManagementClient", "description": "Azure Event Hubs client", - "version": "2018-01-01-preview" + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -262,6 +262,11 @@ } }, "description": "Single item in List or Get Consumer group operation" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../common/v1/definitions.json#/definitions/systemData" } }, "allOf": [ diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json index c21f73f10c9b..b8c972daf90e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json @@ -3,7 +3,7 @@ "info": { "title": "EventHubManagementClient", "description": "Azure Event Hubs client", - "version": "2018-01-01-preview" + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -451,6 +451,11 @@ } }, "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../common/v1/definitions.json#/definitions/systemData" } }, "allOf": [ diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json index eca9e091638d..80a3f97322c5 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json @@ -3,7 +3,7 @@ "info": { "title": "EventHubManagementClient", "description": "Azure Event Hubs client", - "version": "2018-01-01-preview" + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -332,6 +332,11 @@ } }, "description": "Properties supplied to the Create Or Update Event Hub operation." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../common/v1/definitions.json#/definitions/systemData" } }, "allOf": [ diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupCreate.json index e1cada31ac4b..328a3f7c4479 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupCreate.json @@ -4,7 +4,7 @@ "namespaceName": "sdk-Namespace-2661", "eventHubName": "sdk-EventHub-6681", "consumerGroupName": "sdk-ConsumerGroup-5563", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { "properties": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupDelete.json index eeb75b5d1b2c..5285db5db2c5 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupDelete.json @@ -4,7 +4,7 @@ "namespaceName": "sdk-Namespace-2661", "eventHubName": "sdk-EventHub-6681", "consumerGroupName": "sdk-ConsumerGroup-5563", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupGet.json index 0de78ed0a63a..0cc278384859 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupGet.json @@ -4,7 +4,7 @@ "namespaceName": "sdk-Namespace-2661", "eventHubName": "sdk-EventHub-6681", "consumerGroupName": "sdk-ConsumerGroup-5563", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json index 2d6ecbdf72a0..21b7c17a3e2f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json @@ -3,7 +3,7 @@ "resourceGroupName": "ArunMonocle", "namespaceName": "sdk-Namespace-2661", "eventHubName": "sdk-EventHub-6681", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EHOperations_List.json index 2722fb1257b6..e3e13f081ac0 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EHOperations_List.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EHOperations_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2016-07-01" + "api-version": "2021-01-01-preview" }, "responses": { "200": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json index d12e0d4f4d65..78c8295a9613 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json @@ -4,7 +4,7 @@ "namespaceName": "sdk-Namespace-960", "eventHubName": "sdk-EventHub-532", "authorizationRuleName": "sdk-Authrules-2513", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { "properties": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json index c699644a6347..edf630849199 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json @@ -4,7 +4,7 @@ "namespaceName": "sdk-Namespace-960", "eventHubName": "sdk-EventHub-532", "authorizationRuleName": "sdk-Authrules-2513", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleGet.json index b5d10ce32c65..8d5923aae561 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleGet.json @@ -4,7 +4,7 @@ "namespaceName": "sdk-Namespace-960", "eventHubName": "sdk-EventHub-532", "authorizationRuleName": "sdk-Authrules-2513", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json index d4fde87a8dc0..8d3e63d92f15 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json @@ -3,7 +3,7 @@ "resourceGroupName": "ArunMonocle", "namespaceName": "sdk-Namespace-960", "eventHubName": "sdk-EventHub-532", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json index 3580578efbcc..551c592bb38f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json @@ -4,7 +4,7 @@ "namespaceName": "sdk-namespace-960", "eventHubName": "sdk-EventHub-532", "authorizationRuleName": "sdk-Authrules-2513", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json index caa9318ebeb6..7eaa5e24fadb 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json @@ -4,7 +4,7 @@ "namespaceName": "sdk-namespace-960", "eventHubName": "sdk-EventHub-532", "authorizationRuleName": "sdk-Authrules-1534", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { "keyType": "PrimaryKey" diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubCreate.json index 5e2b6f0310c1..2d1f5f49c12e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubCreate.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-5357", "resourceGroupName": "Default-NotificationHubs-AustraliaEast", "eventHubName": "sdk-EventHub-6547", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { "properties": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubDelete.json index fd213d75d44e..0f6534424338 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubDelete.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-5357", "resourceGroupName": "ArunMonocle", "eventHubName": "sdk-EventHub-6547", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubGet.json index 7e4bf39e2361..723e334e90a6 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubGet.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-716", "resourceGroupName": "Default-NotificationHubs-AustraliaEast", "eventHubName": "sdk-EventHub-10", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubListByNameSpace.json index be467f00318c..e91ed72b3508 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubListByNameSpace.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/EventHubs/EHEventHubListByNameSpace.json @@ -2,7 +2,7 @@ "parameters": { "namespaceName": "sdk-Namespace-5357", "resourceGroupName": "Default-NotificationHubs-AustraliaEast", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "eventHubName": "sdk-eventhub-10", "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093" }, diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json index 16a26aa26132..23742081d77f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-2702", "authorizationRuleName": "sdk-Authrules-1746", "resourceGroupName": "ArunMonocle", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { "properties": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json index 84e3ba216e06..f9f5edbbaccc 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-8980", "authorizationRuleName": "sdk-Authrules-8929", "resourceGroupName": "ArunMonocle", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json index 0f47a06132b1..87102497ab43 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-2702", "authorizationRuleName": "sdk-Authrules-1746", "resourceGroupName": "ArunMonocle", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json index da31066909a3..837f7836da46 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json @@ -2,7 +2,7 @@ "parameters": { "namespaceName": "sdk-Namespace-2702", "resourceGroupName": "ArunMonocle", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json index b8175bee73db..6dd9841e7155 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-2702", "authorizationRuleName": "sdk-Authrules-1746", "resourceGroupName": "ArunMonocle", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json index a58011927e48..3f5f72705376 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-8980", "authorizationRuleName": "sdk-Authrules-8929", "resourceGroupName": "ArunMonocle", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { "keyType": "PrimaryKey" diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json index 9b5d1193e4b5..75920982c493 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json @@ -1,18 +1,32 @@ { "parameters": { - "namespaceName": "sdk-Namespace-5849", - "resourceGroupName": "ArunMonocle", - "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "namespaceName": "NamespaceSample", + "resourceGroupName": "ResurceGroupSample", + "api-version": "2021-01-01-preview", + "subscriptionId": "SampleSubscription", "parameters": { - "sku": { - "name": "Standard", - "tier": "Standard" + "location": "East US", + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": {}, + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud2": {} + } }, - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" + "properties": { + "encryption": { + "keyVaultProperties": [ + { + "keyName": "Samplekey", + "keyVaultUri": "https://aprao-keyvault-user.vault-int.azure-int.net/", + "identity": { + "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1" + } + } + ], + "keySource": "Microsoft.KeyVault" + }, + "clusterArmId": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/clusters/enc-test" } } }, @@ -24,22 +38,51 @@ "tier": "Standard", "capacity": 1 }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample", + "name": "NamespaceSample", "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" + "location": "East US", + "tags": {}, + "identity": { + "principalId": "PrincipalIdGUID", + "tenantId": "TenantIdGUID", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": { + "clientId": "ClientIdGUID", + "principalId": "PrincipalIdGUID" + }, + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud2": { + "clientId": "6a35400f-6ccb-4817-8f1a-ce19ea4523bc", + "principalId": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + } + } }, "properties": { + "zoneRedundant": false, "isAutoInflateEnabled": false, "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + "encryption": { + "keySource": "Microsoft.KeyVault", + "keyVaultProperties": [ + { + "keyName": "Samplekey", + "keyVaultUri": "https://sample-keyvault-user.vault-int.azure-int.net", + "keyVersion": "", + "identity": { + "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1" + } + } + ], + "requireInfrastructureEncryption": false + }, + "clusterArmId": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/clusters/enc-test", + "kafkaEnabled": false, + "provisioningState": "Succeeded", + "metricId": "MetricGUID:NamespaceSample", + "createdAt": "2021-02-16T22:36:06.107Z", + "updatedAt": "2021-02-16T22:37:42.29Z", + "serviceBusEndpoint": "https://NamespaceSample.servicebus.windows-int.net:443/" } } }, @@ -50,22 +93,51 @@ "tier": "Standard", "capacity": 1 }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample", + "name": "NamespaceSample", "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" + "location": "East US", + "tags": {}, + "identity": { + "principalId": "PrincipalIdGUID", + "tenantId": "TenantIdGUID", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": { + "clientId": "ClientIdGUID", + "principalId": "PrincipalIdGUID" + }, + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud2": { + "clientId": "6a35400f-6ccb-4817-8f1a-ce19ea4523bc", + "principalId": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + } + } }, "properties": { + "zoneRedundant": false, "isAutoInflateEnabled": false, "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + "encryption": { + "keySource": "Microsoft.KeyVault", + "keyVaultProperties": [ + { + "keyName": "Samplekey", + "keyVaultUri": "https://sample-keyvault-user.vault-int.azure-int.net", + "keyVersion": "", + "identity": { + "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1" + } + } + ], + "requireInfrastructureEncryption": false + }, + "clusterArmId": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/clusters/enc-test", + "kafkaEnabled": false, + "provisioningState": "Succeeded", + "metricId": "MetricGUID:NamespaceSample", + "createdAt": "2021-02-16T22:36:06.107Z", + "updatedAt": "2021-02-16T22:37:42.29Z", + "serviceBusEndpoint": "https://NamespaceSample.servicebus.windows-int.net:443/" } } }, diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json index b697874b2418..6a474b95a13e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json @@ -1,9 +1,9 @@ { "parameters": { - "namespaceName": "sdk-Namespace-5849", - "resourceGroupName": "SouthCentralUS", - "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + "namespaceName": "NamespaceSample", + "resourceGroupName": "ResurceGroupSample", + "api-version": "2021-01-01-preview", + "subscriptionId": "SampleSubscription" }, "responses": { "200": {}, diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json index 7a662298808e..d992249b7890 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json @@ -1,9 +1,9 @@ { "parameters": { - "namespaceName": "sdk-Namespace-5849", - "resourceGroupName": "ArunMonocle", - "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + "namespaceName": "NamespaceSample", + "resourceGroupName": "ResurceGroupSample", + "api-version": "2021-01-01-preview", + "subscriptionId": "SampleSubscription" }, "responses": { "200": { @@ -13,48 +13,50 @@ "tier": "Standard", "capacity": 1 }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample", + "name": "NamespaceSample", "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" + "location": "East US", + "tags": {}, + "identity": { + "principalId": "PrincipalIdGUID", + "tenantId": "TenantIdGUID", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": { + "clientId": "ClientIdGUID", + "principalId": "PrincipalIdGUID" + }, + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud2": { + "clientId": "6a35400f-6ccb-4817-8f1a-ce19ea4523bc", + "principalId": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + } + } }, "properties": { "isAutoInflateEnabled": false, "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } - } - }, - "201": { - "body": { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Created", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:27.877Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" + "zoneRedundant": false, + "encryption": { + "keySource": "Microsoft.KeyVault", + "keyVaultProperties": [ + { + "keyName": "Samplekey", + "keyVaultUri": "https://sample-keyvault-user.vault-int.azure-int.net", + "keyVersion": "", + "identity": { + "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1" + } + } + ], + "requireInfrastructureEncryption": false + }, + "provisioningState": "Succeeded", + "clusterArmId": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/clusters/enc-test", + "metricId": "MetricGUID:NamespaceSample", + "createdAt": "2021-01-30T00:28:38.963Z", + "updatedAt": "2021-01-30T00:30:55.143Z", + "serviceBusEndpoint": "https://NamespaceSample.servicebus.windows-int.net:443" } } } diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceList.json index 6d370dd73983..10662a334b14 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceList.json @@ -1,7 +1,7 @@ { "parameters": { - "api-version": "2018-01-01-preview", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" + "api-version": "2021-01-01-preview", + "subscriptionId": "SampleSubscription" }, "responses": { "200": { @@ -13,1345 +13,50 @@ "tier": "Standard", "capacity": 0 }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/sadfsadfsadf/providers/Microsoft.EventHub/namespaces/eh-ns1", - "name": "eh-ns1", + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample", + "name": "NamespaceSample", "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", + "location": "East US", "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:eh-ns1", - "createdAt": "2016-08-23T04:15:35.263Z", - "updatedAt": "2017-02-03T20:13:04.007Z", - "serviceBusEndpoint": "https://eh-ns1.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 9 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace1", - "name": "ehnamespace1", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 20, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace1", - "createdAt": "2016-08-05T16:56:48.657Z", - "updatedAt": "2017-05-03T23:49:12.69Z", - "serviceBusEndpoint": "https://ehnamespace1.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95", - "name": "NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95", - "createdAt": "2016-09-16T01:10:00.96Z", - "updatedAt": "2017-02-11T11:15:32.313Z", - "serviceBusEndpoint": "https://NS-08dc2b6d-82f6-43e8-bdcd-56bbb31a1a95.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-027302b7-df82-43a1-abf7-b6a2e2429115", - "name": "NS-027302b7-df82-43a1-abf7-b6a2e2429115", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-027302b7-df82-43a1-abf7-b6a2e2429115", - "createdAt": "2016-08-05T04:13:34.727Z", - "updatedAt": "2017-02-11T10:35:30.053Z", - "serviceBusEndpoint": "https://NS-027302b7-df82-43a1-abf7-b6a2e2429115.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 7 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/abc-7-14", - "name": "abc-7-14", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 14, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc-7-14", - "createdAt": "2017-05-05T17:58:58.433Z", - "updatedAt": "2017-05-05T17:59:20Z", - "serviceBusEndpoint": "https://abc-7-14.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3054", - "name": "sdk-Namespace-3054", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3054", - "createdAt": "2017-05-24T18:43:53.58Z", - "updatedAt": "2017-05-24T18:44:16.657Z", - "serviceBusEndpoint": "https://sdk-Namespace-3054.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/namespace1asdfsa", - "name": "namespace1asdfsa", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:namespace1asdfsa", - "createdAt": "2016-09-12T18:23:15.833Z", - "updatedAt": "2017-02-04T01:58:49.523Z", - "serviceBusEndpoint": "https://namespace1asdfsa.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 3 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/hello1-3-8", - "name": "hello1-3-8", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 8, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:hello1-3-8", - "createdAt": "2017-05-05T19:23:18.96Z", - "updatedAt": "2017-05-05T19:23:42.497Z", - "serviceBusEndpoint": "https://hello1-3-8.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBPerplexed", - "name": "SBPerplexed", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbperplexed", - "createdAt": "2016-10-10T19:18:57.773Z", - "updatedAt": "2017-02-03T23:46:15.22Z", - "serviceBusEndpoint": "https://SBPerplexed.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace123", - "name": "ehnamespace123", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace123", - "createdAt": "2016-08-05T16:57:09Z", - "updatedAt": "2017-02-11T08:25:30.093Z", - "serviceBusEndpoint": "https://ehnamespace123.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/oaisdjfoiasdjfoiajsdfoijasd", - "name": "oaisdjfoiasdjfoiajsdfoijasd", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:oaisdjfoiasdjfoiajsdfoijasd", - "createdAt": "2017-05-03T22:05:29.61Z", - "updatedAt": "2017-05-03T22:05:51.593Z", - "serviceBusEndpoint": "https://oaisdjfoiasdjfoiajsdfoijasd.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ns3", - "name": "rrama-ns3", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ns3", - "createdAt": "2016-08-23T04:22:40.633Z", - "updatedAt": "2017-02-11T12:52:58.277Z", - "serviceBusEndpoint": "https://rrama-ns3.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/abc123", - "name": "abc123", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc123", - "createdAt": "2017-05-04T19:06:00.813Z", - "updatedAt": "2017-05-04T19:06:23.71Z", - "serviceBusEndpoint": "https://abc123.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace21", - "name": "ehnamespace21", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace21", - "createdAt": "2016-08-05T16:57:00.377Z", - "updatedAt": "2017-02-11T09:50:32.86Z", - "serviceBusEndpoint": "https://ehnamespace21.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBFlerbederp", - "name": "SBFlerbederp", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbflerbederp", - "createdAt": "2016-10-10T19:32:17.56Z", - "updatedAt": "2017-02-03T20:46:59.227Z", - "serviceBusEndpoint": "https://SBFlerbederp.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 9 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/aaa-001-9-11", - "name": "aaa-001-9-11", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 11, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:aaa-001-9-11", - "createdAt": "2017-05-05T17:32:22.37Z", - "updatedAt": "2017-05-05T17:32:44.76Z", - "serviceBusEndpoint": "https://aaa-001-9-11.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-47a32389-7331-47c8-9228-4c145b2650d7", - "name": "NS-47a32389-7331-47c8-9228-4c145b2650d7", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-47a32389-7331-47c8-9228-4c145b2650d7", - "createdAt": "2016-09-16T01:41:51.857Z", - "updatedAt": "2017-02-11T08:28:03.157Z", - "serviceBusEndpoint": "https://NS-47a32389-7331-47c8-9228-4c145b2650d7.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7", - "name": "NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7", - "createdAt": "2016-08-05T03:39:52.323Z", - "updatedAt": "2017-02-11T04:40:32.24Z", - "serviceBusEndpoint": "https://NS-54cbc924-fb3c-4b09-bd7a-4fe6d2b785a7.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBFeasible", - "name": "SBFeasible", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbfeasible", - "createdAt": "2016-10-10T19:05:24.76Z", - "updatedAt": "2017-02-03T19:51:55.893Z", - "serviceBusEndpoint": "https://SBFeasible.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-3b72258b-a8a1-4250-8952-e89a15af71fc", - "name": "NS-3b72258b-a8a1-4250-8952-e89a15af71fc", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-3b72258b-a8a1-4250-8952-e89a15af71fc", - "createdAt": "2016-09-16T17:59:27.227Z", - "updatedAt": "2017-02-27T19:34:26.633Z", - "serviceBusEndpoint": "https://NS-3b72258b-a8a1-4250-8952-e89a15af71fc.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:50.467Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/testDC/providers/Microsoft.EventHub/namespaces/TestNamespace1", - "name": "TestNamespace1", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 10, - "provisioningState": "Updating", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:testnamespace1", - "createdAt": "2017-04-25T00:28:00.243Z", - "updatedAt": "2017-04-26T20:54:41.18Z", - "serviceBusEndpoint": "https://TestNamespace1.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns", - "name": "rrama-ehns", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ehns", - "createdAt": "2016-08-23T04:22:49.74Z", - "updatedAt": "2017-02-11T07:03:51.793Z", - "serviceBusEndpoint": "https://rrama-ehns.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/testDC/providers/Microsoft.EventHub/namespaces/TestNamespace3", - "name": "TestNamespace3", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:testnamespace3", - "createdAt": "2017-05-03T22:33:17.84Z", - "updatedAt": "2017-05-03T22:33:40.087Z", - "serviceBusEndpoint": "https://TestNamespace3.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4984", - "name": "sdk-Namespace-4984", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4984", - "createdAt": "2017-05-24T21:31:03.587Z", - "updatedAt": "2017-05-24T21:31:24.967Z", - "serviceBusEndpoint": "https://sdk-Namespace-4984.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-19df9616-54d6-47c9-8779-a4651835a95c", - "name": "NS-19df9616-54d6-47c9-8779-a4651835a95c", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-19df9616-54d6-47c9-8779-a4651835a95c", - "createdAt": "2016-08-23T02:38:33.8Z", - "updatedAt": "2017-02-11T04:28:01.093Z", - "serviceBusEndpoint": "https://NS-19df9616-54d6-47c9-8779-a4651835a95c.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-463af3de-8c87-4347-a614-a4c24f748109", - "name": "NS-463af3de-8c87-4347-a614-a4c24f748109", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-463af3de-8c87-4347-a614-a4c24f748109", - "createdAt": "2016-08-05T00:55:04.807Z", - "updatedAt": "2017-02-11T06:13:53.343Z", - "serviceBusEndpoint": "https://NS-463af3de-8c87-4347-a614-a4c24f748109.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5606", - "name": "sdk-Namespace-5606", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5606", - "createdAt": "2017-05-24T18:56:05.093Z", - "updatedAt": "2017-05-24T18:56:27.32Z", - "serviceBusEndpoint": "https://sdk-Namespace-5606.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3", - "name": "NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3", - "createdAt": "2016-08-05T04:18:53.27Z", - "updatedAt": "2017-02-11T06:49:39.877Z", - "serviceBusEndpoint": "https://NS-2d5d93d1-1d01-4141-9f4d-7d619b9c88c3.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-7703", - "name": "sdk-Namespace-7703", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-7703", - "createdAt": "2017-05-24T19:05:23.817Z", - "updatedAt": "2017-05-24T19:05:44.717Z", - "serviceBusEndpoint": "https://sdk-Namespace-7703.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 3 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/zzzzzzzzzzzzzzzzzzzzzz-00001", - "name": "zzzzzzzzzzzzzzzzzzzzzz-00001", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 11, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:zzzzzzzzzzzzzzzzzzzzzz-00001", - "createdAt": "2017-05-04T21:35:49.383Z", - "updatedAt": "2017-05-05T17:01:20.733Z", - "serviceBusEndpoint": "https://zzzzzzzzzzzzzzzzzzzzzz-00001.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBQuestionable", - "name": "SBQuestionable", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbquestionable", - "createdAt": "2016-10-10T18:56:24.723Z", - "updatedAt": "2017-02-03T19:51:46.983Z", - "serviceBusEndpoint": "https://SBQuestionable.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/ehnamespace1234", - "name": "ehnamespace1234", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ehnamespace1234", - "createdAt": "2016-08-05T16:57:17.863Z", - "updatedAt": "2017-02-11T10:35:33.817Z", - "serviceBusEndpoint": "https://ehnamespace1234.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3919", - "name": "sdk-Namespace-3919", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3919", - "createdAt": "2017-05-24T02:08:20.15Z", - "updatedAt": "2017-05-24T02:08:41.313Z", - "serviceBusEndpoint": "https://sdk-Namespace-3919.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/arunarchivetest", - "name": "arunarchivetest", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:arunarchivetest", - "createdAt": "2017-03-08T19:25:49.897Z", - "updatedAt": "2017-03-08T19:26:17.49Z", - "serviceBusEndpoint": "https://arunarchivetest.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/aiosdjfaoidjasdoijasdfoijasdfofijsdf", - "name": "aiosdjfaoidjasdoijasdfoijasdfofijsdf", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:aiosdjfaoidjasdoijasdfoijasdfofijsdf", - "createdAt": "2017-05-04T21:23:23.9Z", - "updatedAt": "2017-05-04T21:23:46.78Z", - "serviceBusEndpoint": "https://aiosdjfaoidjasdoijasdfoijasdfofijsdf.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3413", - "name": "sdk-Namespace-3413", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3413", - "createdAt": "2017-05-24T19:02:15.45Z", - "updatedAt": "2017-05-24T19:02:38.047Z", - "serviceBusEndpoint": "https://sdk-Namespace-3413.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/SBConfuzzled", - "name": "SBConfuzzled", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sbconfuzzled", - "createdAt": "2016-10-10T19:30:45.71Z", - "updatedAt": "2017-02-03T22:49:17.82Z", - "serviceBusEndpoint": "https://SBConfuzzled.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8695", - "name": "sdk-Namespace-8695", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-8695", - "createdAt": "2017-05-24T20:03:43.81Z", - "updatedAt": "2017-05-24T20:04:05.88Z", - "serviceBusEndpoint": "https://sdk-Namespace-8695.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 11 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/aaa-11-17", - "name": "aaa-11-17", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 17, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:aaa-11-17", - "createdAt": "2017-05-08T18:47:07.64Z", - "updatedAt": "2017-05-08T18:47:29.587Z", - "serviceBusEndpoint": "https://aaa-11-17.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 4 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/hello1-4-14", - "name": "hello1-4-14", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 14, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:hello1-4-14", - "createdAt": "2017-05-05T18:54:20.563Z", - "updatedAt": "2017-05-05T18:54:42.507Z", - "serviceBusEndpoint": "https://hello1-4-14.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4801", - "name": "sdk-Namespace-4801", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4801", - "createdAt": "2017-05-24T18:39:39.213Z", - "updatedAt": "2017-05-24T18:40:00.087Z", - "serviceBusEndpoint": "https://sdk-Namespace-4801.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 8 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/RichardsEventHub1", - "name": "RichardsEventHub1", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 15, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:richardseventhub1", - "createdAt": "2017-04-27T19:15:13.05Z", - "updatedAt": "2017-05-09T19:34:41.127Z", - "serviceBusEndpoint": "https://RichardsEventHub1.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 7 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-test", - "name": "rrama-autoinflate-test", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 10, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-test", - "createdAt": "2017-05-01T16:58:11.34Z", - "updatedAt": "2017-05-08T21:52:42.663Z", - "serviceBusEndpoint": "https://rrama-autoinflate-test.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/foofoofoofoof", - "name": "foofoofoofoof", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:foofoofoofoof", - "createdAt": "2017-04-29T02:47:53.523Z", - "updatedAt": "2017-04-29T02:48:17.95Z", - "serviceBusEndpoint": "https://foofoofoofoof.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/asdf1234asdf", - "name": "asdf1234asdf", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:asdf1234asdf", - "createdAt": "2016-09-13T01:45:40.58Z", - "updatedAt": "2017-02-11T06:54:38.623Z", - "serviceBusEndpoint": "https://asdf1234asdf.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2812", - "name": "sdk-Namespace-2812", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2812", - "createdAt": "2017-05-24T18:55:44.687Z", - "updatedAt": "2017-05-24T18:56:05.587Z", - "serviceBusEndpoint": "https://sdk-Namespace-2812.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c", - "name": "NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-4aadc830-1029-49b8-8fbd-dd0130e7a84c", - "createdAt": "2016-08-05T04:02:53.43Z", - "updatedAt": "2017-02-11T05:13:02.697Z", - "serviceBusEndpoint": "https://NS-4aadc830-1029-49b8-8fbd-dd0130e7a84c.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-5e79a429-aa52-42b9-8120-2fe72fc00727", - "name": "NS-5e79a429-aa52-42b9-8120-2fe72fc00727", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-5e79a429-aa52-42b9-8120-2fe72fc00727", - "createdAt": "2016-08-05T01:13:41.527Z", - "updatedAt": "2017-02-11T04:24:44.797Z", - "serviceBusEndpoint": "https://NS-5e79a429-aa52-42b9-8120-2fe72fc00727.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-df-ns1", - "name": "rrama-df-ns1", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-df-ns1", - "createdAt": "2016-10-27T23:35:05.453Z", - "updatedAt": "2017-02-03T20:23:49.533Z", - "serviceBusEndpoint": "https://rrama-df-ns1.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 9 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RichardsResources/providers/Microsoft.EventHub/namespaces/bbbb-9-12", - "name": "bbbb-9-12", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 12, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:bbbb-9-12", - "createdAt": "2017-05-05T17:47:35.123Z", - "updatedAt": "2017-05-05T17:47:56.1Z", - "serviceBusEndpoint": "https://bbbb-9-12.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/eh-autoInflate/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-template1", - "name": "rrama-autoinflate-template1", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 10, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-template1", - "createdAt": "2017-05-03T17:46:36.71Z", - "updatedAt": "2017-05-03T17:47:00.163Z", - "serviceBusEndpoint": "https://rrama-autoinflate-template1.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/RapscallionResources/providers/Microsoft.EventHub/namespaces/RandomPlotTwists", - "name": "RandomPlotTwists", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:randomplottwists", - "createdAt": "2017-05-18T00:37:26.13Z", - "updatedAt": "2017-05-18T00:37:49.533Z", - "serviceBusEndpoint": "https://RandomPlotTwists.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-1862d295-09cc-4e54-b23d-a2bc3bab2392", - "name": "NS-1862d295-09cc-4e54-b23d-a2bc3bab2392", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-1862d295-09cc-4e54-b23d-a2bc3bab2392", - "createdAt": "2016-08-05T04:08:14.253Z", - "updatedAt": "2017-02-11T04:33:53.34Z", - "serviceBusEndpoint": "https://NS-1862d295-09cc-4e54-b23d-a2bc3bab2392.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-MigrateThis", - "name": "NS-MigrateThis", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-migratethis", - "createdAt": "2016-08-06T00:23:12.3Z", - "updatedAt": "2017-02-04T00:25:08.043Z", - "serviceBusEndpoint": "https://NS-MigrateThis.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-5e01d977-125c-4fd2-8a78-cc50be544d1f", - "name": "NS-5e01d977-125c-4fd2-8a78-cc50be544d1f", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-5e01d977-125c-4fd2-8a78-cc50be544d1f", - "createdAt": "2016-08-05T04:34:33.617Z", - "updatedAt": "2017-02-11T05:54:42.25Z", - "serviceBusEndpoint": "https://NS-5e01d977-125c-4fd2-8a78-cc50be544d1f.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 10 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/NS-2b17fb74-2719-4c68-9ba3-13a018485b1f", - "name": "NS-2b17fb74-2719-4c68-9ba3-13a018485b1f", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 10, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:ns-2b17fb74-2719-4c68-9ba3-13a018485b1f", - "createdAt": "2016-08-05T04:29:17.147Z", - "updatedAt": "2017-05-02T19:52:53.243Z", - "serviceBusEndpoint": "https://NS-2b17fb74-2719-4c68-9ba3-13a018485b1f.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ehns123", - "name": "rrama-int7-ehns123", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ehns123", - "createdAt": "2016-09-13T23:35:15.473Z", - "updatedAt": "2016-09-13T23:35:38.63Z", - "serviceBusEndpoint": "https://rrama-int7-ehns123.servicebus.int7.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate-test", - "name": "rrama-autoinflate-test", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 10, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate-test", - "createdAt": "2017-05-01T17:48:04.55Z", - "updatedAt": "2017-05-04T21:15:36.013Z", - "serviceBusEndpoint": "https://rrama-autoinflate-test.servicebus.int7.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-autoinflate2", - "name": "rrama-autoinflate2", - "type": "Microsoft.EventHub/Namespaces", - "location": "North Europe", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 10, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-autoinflate2", - "createdAt": "2017-05-01T20:50:00.22Z", - "updatedAt": "2017-05-01T20:50:24.687Z", - "serviceBusEndpoint": "https://rrama-autoinflate2.servicebus.int7.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/db3-rrama-foo1", - "name": "db3-rrama-foo1", - "type": "Microsoft.EventHub/Namespaces", - "location": "North Europe", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:db3-rrama-foo1", - "createdAt": "2017-04-28T23:47:36.503Z", - "updatedAt": "2017-05-01T21:14:37.133Z", - "serviceBusEndpoint": "https://db3-rrama-foo1.servicebus.int7.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ehns1", - "name": "rrama-int7-ehns1", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ehns1", - "createdAt": "2016-09-13T23:20:44.853Z", - "updatedAt": "2016-09-13T23:20:47.35Z", - "serviceBusEndpoint": "https://rrama-int7-ehns1.servicebus.int7.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ns1", - "name": "rrama-int7-ns1", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-int7-ns1", - "createdAt": "2016-09-13T23:17:25.24Z", - "updatedAt": "2016-09-13T23:17:28.223Z", - "serviceBusEndpoint": "https://rrama-int7-ns1.servicebus.int7.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 + "identity": { + "principalId": "PrincipalIdGUID", + "tenantId": "TenantIdGUID", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": { + "clientId": "ClientIdGUID", + "principalId": "PrincipalIdGUID" + }, + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud2": { + "clientId": "6a35400f-6ccb-4817-8f1a-ce19ea4523bc", + "principalId": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + } + } }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns2-int7", - "name": "rrama-ehns2-int7", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, "properties": { "isAutoInflateEnabled": false, "maximumThroughputUnits": 0, + "zoneRedundant": false, + "encryption": { + "keySource": "Microsoft.KeyVault", + "keyVaultProperties": [ + { + "keyName": "Samplekey", + "keyVaultUri": "https://sample-keyvault-user.vault-int.azure-int.net", + "keyVersion": "", + "identity": { + "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1" + } + } + ], + "requireInfrastructureEncryption": false + }, + "clusterArmId": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/clusters/enc-test", "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:rrama-ehns2-int7", - "createdAt": "2016-09-13T23:26:21.64Z", - "updatedAt": "2016-09-13T23:26:37.95Z", - "serviceBusEndpoint": "https://rrama-ehns2-int7.servicebus.int7.windows-int.net:443/" + "metricId": "MetricGUID:NamespaceSample", + "createdAt": "2021-01-30T00:28:38.963Z", + "updatedAt": "2021-01-30T00:30:55.143Z", + "serviceBusEndpoint": "https://NamespaceSample.servicebus.windows-int.net:443/" } } ] diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json index d35b85a52ecc..36299094bcfb 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json @@ -1,8 +1,8 @@ { "parameters": { - "api-version": "2018-01-01-preview", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", - "resourceGroupName": "ArunMonocle" + "api-version": "2021-01-01-preview", + "subscriptionId": "SampleSubscription", + "resourceGroupName": "ResurceGroupSample" }, "responses": { "200": { @@ -14,295 +14,50 @@ "tier": "Standard", "capacity": 1 }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3054", - "name": "sdk-Namespace-3054", + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample", + "name": "NamespaceSample", "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", + "location": "East US", "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3054", - "createdAt": "2017-05-24T18:43:53.58Z", - "updatedAt": "2017-05-24T18:44:16.657Z", - "serviceBusEndpoint": "https://sdk-Namespace-3054.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/oaisdjfoiasdjfoiajsdfoijasd", - "name": "oaisdjfoiasdjfoiajsdfoijasd", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:oaisdjfoiasdjfoiajsdfoijasd", - "createdAt": "2017-05-03T22:05:29.61Z", - "updatedAt": "2017-05-03T22:05:51.593Z", - "serviceBusEndpoint": "https://oaisdjfoiasdjfoiajsdfoijasd.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/abc123", - "name": "abc123", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:abc123", - "createdAt": "2017-05-04T19:06:00.813Z", - "updatedAt": "2017-05-04T19:06:23.71Z", - "serviceBusEndpoint": "https://abc123.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849", - "name": "sdk-Namespace-5849", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849", - "createdAt": "2017-05-24T23:23:27.877Z", - "updatedAt": "2017-05-24T23:23:50.467Z", - "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4984", - "name": "sdk-Namespace-4984", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4984", - "createdAt": "2017-05-24T21:31:03.587Z", - "updatedAt": "2017-05-24T21:31:24.967Z", - "serviceBusEndpoint": "https://sdk-Namespace-4984.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5606", - "name": "sdk-Namespace-5606", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5606", - "createdAt": "2017-05-24T18:56:05.093Z", - "updatedAt": "2017-05-24T18:56:27.32Z", - "serviceBusEndpoint": "https://sdk-Namespace-5606.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-7703", - "name": "sdk-Namespace-7703", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-7703", - "createdAt": "2017-05-24T19:05:23.817Z", - "updatedAt": "2017-05-24T19:05:44.717Z", - "serviceBusEndpoint": "https://sdk-Namespace-7703.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 3 + "identity": { + "principalId": "PrincipalIdGUID", + "tenantId": "TenantIdGUID", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": { + "clientId": "ClientIdGUID", + "principalId": "PrincipalIdGUID" + }, + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud2": { + "clientId": "6a35400f-6ccb-4817-8f1a-ce19ea4523bc", + "principalId": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + } + } }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/zzzzzzzzzzzzzzzzzzzzzz-00001", - "name": "zzzzzzzzzzzzzzzzzzzzzz-00001", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": true, - "maximumThroughputUnits": 11, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:zzzzzzzzzzzzzzzzzzzzzz-00001", - "createdAt": "2017-05-04T21:35:49.383Z", - "updatedAt": "2017-05-05T17:01:20.733Z", - "serviceBusEndpoint": "https://zzzzzzzzzzzzzzzzzzzzzz-00001.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3919", - "name": "sdk-Namespace-3919", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3919", - "createdAt": "2017-05-24T02:08:20.15Z", - "updatedAt": "2017-05-24T02:08:41.313Z", - "serviceBusEndpoint": "https://sdk-Namespace-3919.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 0 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/aiosdjfaoidjasdoijasdfoijasdfofijsdf", - "name": "aiosdjfaoidjasdoijasdfoijasdfofijsdf", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:aiosdjfaoidjasdoijasdfoijasdfofijsdf", - "createdAt": "2017-05-04T21:23:23.9Z", - "updatedAt": "2017-05-04T21:23:46.78Z", - "serviceBusEndpoint": "https://aiosdjfaoidjasdoijasdfoijasdfofijsdf.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3413", - "name": "sdk-Namespace-3413", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3413", - "createdAt": "2017-05-24T19:02:15.45Z", - "updatedAt": "2017-05-24T19:02:38.047Z", - "serviceBusEndpoint": "https://sdk-Namespace-3413.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-8695", - "name": "sdk-Namespace-8695", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-8695", - "createdAt": "2017-05-24T20:03:43.81Z", - "updatedAt": "2017-05-24T20:04:05.88Z", - "serviceBusEndpoint": "https://sdk-Namespace-8695.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-4801", - "name": "sdk-Namespace-4801", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, - "properties": { - "isAutoInflateEnabled": false, - "maximumThroughputUnits": 0, - "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-4801", - "createdAt": "2017-05-24T18:39:39.213Z", - "updatedAt": "2017-05-24T18:40:00.087Z", - "serviceBusEndpoint": "https://sdk-Namespace-4801.servicebus.windows-int.net:443/" - } - }, - { - "sku": { - "name": "Standard", - "tier": "Standard", - "capacity": 1 - }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2812", - "name": "sdk-Namespace-2812", - "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": {}, "properties": { "isAutoInflateEnabled": false, "maximumThroughputUnits": 0, + "zoneRedundant": false, + "encryption": { + "keySource": "Microsoft.KeyVault", + "keyVaultProperties": [ + { + "keyName": "Samplekey", + "keyVaultUri": "https://sample-keyvault-user.vault-int.azure-int.net", + "keyVersion": "", + "identity": { + "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1" + } + } + ], + "requireInfrastructureEncryption": false + }, + "clusterArmId": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/clusters/enc-test", "provisioningState": "Succeeded", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-2812", - "createdAt": "2017-05-24T18:55:44.687Z", - "updatedAt": "2017-05-24T18:56:05.587Z", - "serviceBusEndpoint": "https://sdk-Namespace-2812.servicebus.windows-int.net:443/" + "metricId": "MetricGUID:NamespaceSample", + "createdAt": "2021-01-30T00:28:38.963Z", + "updatedAt": "2021-01-30T00:30:55.143Z", + "serviceBusEndpoint": "https://NamespaceSample.servicebus.windows-int.net:443/" } } ] diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json index 29a9c6f32529..471e4ee285e7 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json @@ -1,14 +1,16 @@ { "parameters": { - "namespaceName": "sdk-Namespace-3668", - "resourceGroupName": "ArunMonocle", - "api-version": "2017-04-01", - "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "namespaceName": "NamespaceSample", + "resourceGroupName": "ResurceGroupSample", + "api-version": "2021-01-01-preview", + "subscriptionId": "SampleSubscription", "parameters": { - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" + "location": "East US", + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud2": null + } } } }, @@ -20,22 +22,45 @@ "tier": "Standard", "capacity": 1 }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", - "name": "sdk-Namespace-3668", + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample", + "name": "NamespaceSample", "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" + "location": "East US", + "tags": {}, + "identity": { + "principalId": "PrincipalIdGUID", + "tenantId": "TenantIdGUID", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": { + "clientId": "ClientIdGUID", + "principalId": "PrincipalIdGUID" + } + } }, "properties": { "isAutoInflateEnabled": false, "maximumThroughputUnits": 0, - "provisioningState": "Updating", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", - "createdAt": "2017-06-01T21:37:04.46Z", - "updatedAt": "2017-06-01T21:37:53.413Z", - "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" + "zoneRedundant": false, + "encryption": { + "keySource": "Microsoft.KeyVault", + "keyVaultProperties": [ + { + "keyName": "Samplekey", + "keyVaultUri": "https://sample-keyvault-user.vault-int.azure-int.net", + "keyVersion": "", + "identity": { + "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1" + } + } + ], + "requireInfrastructureEncryption": false + }, + "provisioningState": "ActivatingIdentity", + "metricId": "MetricGUID:NamespaceSample", + "createdAt": "2021-01-30T00:28:38.963Z", + "updatedAt": "2021-01-30T00:31:13.657Z", + "serviceBusEndpoint": "https://NamespaceSample.servicebus.windows-int.net:443/" } } }, @@ -46,22 +71,45 @@ "tier": "Standard", "capacity": 1 }, - "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668", - "name": "sdk-Namespace-3668", + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample", + "name": "NamespaceSample", "type": "Microsoft.EventHub/Namespaces", - "location": "South Central US", - "tags": { - "tag3": "value3", - "tag4": "value4" + "location": "East US", + "tags": {}, + "identity": { + "principalId": "PrincipalIdGUID", + "tenantId": "TenantIdGUID", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1": { + "clientId": "ClientIdGUID", + "principalId": "PrincipalIdGUID" + } + } }, "properties": { "isAutoInflateEnabled": false, "maximumThroughputUnits": 0, - "provisioningState": "Updating", - "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668", - "createdAt": "2017-06-01T21:37:04.46Z", - "updatedAt": "2017-06-01T21:37:53.413Z", - "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/" + "zoneRedundant": false, + "encryption": { + "keySource": "Microsoft.KeyVault", + "keyVaultProperties": [ + { + "keyName": "Samplekey", + "keyVaultUri": "https://sample-keyvault-user.vault-int.azure-int.net", + "keyVersion": "", + "identity": { + "userAssignedIdentity": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ud1" + } + } + ], + "requireInfrastructureEncryption": false + }, + "provisioningState": "ActivatingIdentity", + "metricId": "MetricGUID:NamespaceSample", + "createdAt": "2021-01-30T00:28:38.963Z", + "updatedAt": "2021-01-30T00:31:13.657Z", + "serviceBusEndpoint": "https://NamespaceSample.servicebus.windows-int.net:443/" } } }, diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json index c485ea28d9f8..6755f3233652 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json @@ -2,7 +2,7 @@ "parameters": { "namespaceName": "sdk-Namespace-2924", "resourceGroupName": "ArunMonocle", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "subID", "privateEndpointConnectionName": "privateEndpointConnectionName", "parameters": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json index 68fd4f7ca8ae..7e61f5f23628 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-3285", "resourceGroupName": "ArunMonocle", "privateEndpointConnectionName": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json index 801342ade57b..d127e1d12999 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-5828", "resourceGroupName": "SDK-EventHub-4794", "privateEndpointConnectionName": "privateEndpointConnectionName", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "subID" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json index 4095c639f900..0d72b3c8a464 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json @@ -2,7 +2,7 @@ "parameters": { "namespaceName": "sdk-Namespace-5828", "resourceGroupName": "SDK-EventHub-4794", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "subID" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json index c71adb869dde..4aa3cb2e4c41 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json @@ -2,7 +2,7 @@ "parameters": { "namespaceName": "sdk-Namespace-2924", "resourceGroupName": "ArunMonocle", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "subID" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json index e7969c387337..4b065ccf042d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json @@ -2,7 +2,7 @@ "parameters": { "namespaceName": "sdk-Namespace-6019", "resourceGroupName": "ResourceGroup", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "Subscription", "parameters": { "properties": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json index d63c8fbad4bd..ad046dcad269 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json @@ -2,7 +2,7 @@ "parameters": { "namespaceName": "sdk-Namespace-6019", "resourceGroupName": "ResourceGroup", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "Subscription" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json index 8b45b710330c..598df6bd1b2d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json @@ -4,7 +4,7 @@ "authorizationRuleName": "sdk-Authrules-4879", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-4879", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json index 5916f0bec2a2..2e8794f01290 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-9080", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-4047", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json index c12b0814203c..78631411504f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json @@ -4,7 +4,7 @@ "authorizationRuleName": "sdk-Authrules-1746", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-4047", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json index df4aa5f98d4a..c9bbbd66a162 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-8859", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-3814", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json index f6bd905b38c4..ccc264e47872 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId", "namespaceName": "sdk-Namespace-9080", "resourceGroupName": "exampleResourceGroup", diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCreate.json index dd715b54a57d..e20efbc4e75d 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCreate.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasCreate.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-8859", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-3814", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId", "parameters": { "properties": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasDelete.json index 557bae1823d1..5e4eeeb6360f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasDelete.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasDelete.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-5849", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-3814", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasFailOver.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasFailOver.json index df4aa5f98d4a..c9bbbd66a162 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasFailOver.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasFailOver.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-8859", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-3814", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasGet.json index 0d0e5e378f3c..9c8bcbc3734f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasGet.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-8859", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-3814", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasList.json index 2e4b6af3ae8a..b4414c928642 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasList.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/disasterRecoveryConfigs/EHAliasList.json @@ -3,7 +3,7 @@ "namespaceName": "sdk-Namespace-8859", "resourceGroupName": "exampleResourceGroup", "alias": "sdk-DisasterRecovery-3814", - "api-version": "2018-01-01-preview", + "api-version": "2021-01-01-preview", "subscriptionId": "exampleSubscriptionId" }, "responses": { diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json index 02608d7b5225..080ef1e0dc11 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json @@ -2,8 +2,8 @@ "swagger": "2.0", "info": { "title": "EventHubManagementClient", - "description": "Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and VirtualNetworkRules resources.", - "version": "2018-01-01-preview" + "description": "Azure Event Hubs client for managing namespaces.", + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -254,12 +254,6 @@ "$ref": "#/definitions/EHNamespace" } }, - "201": { - "description": "Namespace update request accepted.", - "schema": { - "$ref": "#/definitions/EHNamespace" - } - }, "default": { "description": "Eventhub error response describing why the operation failed.", "schema": { @@ -607,6 +601,11 @@ "$ref": "#/definitions/Identity", "description": "Properties of BYOK Identity description" }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../common/v1/definitions.json#/definitions/systemData" + }, "properties": { "x-ms-client-flatten": true, "properties": { @@ -720,23 +719,48 @@ "properties": { "principalId": { "type": "string", - "description": "ObjectId from the KeyVault" + "description": "ObjectId from the KeyVault", + "readOnly": true }, "tenantId": { "type": "string", - "description": "TenantId from the KeyVault" + "description": "TenantId from the KeyVault", + "readOnly": true }, "type": { "type": "string", - "description": "Enumerates the possible value Identity type, which currently supports only 'SystemAssigned'", - "default": "SystemAssigned", + "description": "Type of managed service identity.", "enum": [ - "SystemAssigned" + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" ], "x-ms-enum": { - "name": "IdentityType", + "name": "ManagedServiceIdentityType", "modelAsString": false } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "principalId": { + "description": "Principal Id of user assigned identity", + "type": "string", + "x-ms-client-name": "PrincipalId", + "readOnly": true + }, + "clientId": { + "description": "Client Id of user assigned identity", + "type": "string", + "x-ms-client-name": "ClientId", + "readOnly": true + } + } + }, + "description": "Properties for User Assigned Identities" } }, "description": "Properties to configure Identity for Bring your Own Keys" @@ -763,6 +787,10 @@ "name": "keySource", "modelAsString": false } + }, + "requireInfrastructureEncryption": { + "type": "boolean", + "description": "Enable Infrastructure Encryption (Double Encryption)" } }, "description": "Properties to configure Encryption" @@ -783,6 +811,9 @@ "type": "string", "description": "Key Version", "x-ms-client-name": "KeyVersion" + }, + "identity": { + "$ref": "#/definitions/userAssignedIdentityProperties" } }, "description": "Properties to configure keyVault Properties" @@ -799,6 +830,11 @@ "$ref": "#/definitions/PrivateEndpointConnectionProperties", "description": "Properties of the PrivateEndpointConnection.", "x-ms-client-flatten": true + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../common/v1/definitions.json#/definitions/systemData" } } }, @@ -939,6 +975,15 @@ "type": "string" } } + }, + "userAssignedIdentityProperties": { + "x-ms-client-flatten": true, + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "ARM ID of user Identity selected for encryption" + } + } } }, "parameters": {} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json index 8d3a1c5da7b5..579a9875bcee 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json @@ -3,7 +3,7 @@ "info": { "title": "EventHubManagementClient", "description": "Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and VirtualNetworkRules resources.", - "version": "2018-01-01-preview" + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -208,6 +208,11 @@ "description": "List of IpRules" } } + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../common/v1/definitions.json#/definitions/systemData" } }, "allOf": [ diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/operations.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/operations.json index fbc8ca8fb42e..ce771d8e7ae4 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/operations.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/operations.json @@ -3,7 +3,7 @@ "info": { "title": "EventHubManagementClient", "description": "Azure Event Hubs client", - "version": "2018-01-01-preview" + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/eventhub/resource-manager/common/v1/definitions.json b/specification/eventhub/resource-manager/common/v1/definitions.json index 780fed1348d1..a2e23cdaaa56 100644 --- a/specification/eventhub/resource-manager/common/v1/definitions.json +++ b/specification/eventhub/resource-manager/common/v1/definitions.json @@ -83,6 +83,59 @@ "type": "string" } } + }, + "systemData": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true, + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The type of identity that last modified the resource." + } + } } }, "parameters": { diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index 8bb455f7df52..7e6bf454f26c 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -74,6 +74,21 @@ input-file: - Microsoft.EventHub/stable/2014-09-01/EventHub.json ``` +### Tag: package-2021-01-preview + +These settings apply only when `--tag=package-2021-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2021-01-preview' +input-file: +- Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json +- Microsoft.EventHub/preview/2021-01-01-preview/operations.json +- Microsoft.EventHub/preview/2021-01-01-preview/eventhubs.json +- Microsoft.EventHub/preview/2021-01-01-preview/disasterRecoveryConfigs.json +- Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json +- Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json +- Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json +``` + ### Tag: package-2018-01-preview diff --git a/specification/eventhub/resource-manager/readme.python.md b/specification/eventhub/resource-manager/readme.python.md index 5d8906a8aa4c..4c5566091d69 100644 --- a/specification/eventhub/resource-manager/readme.python.md +++ b/specification/eventhub/resource-manager/readme.python.md @@ -29,6 +29,7 @@ Generate all API versions currently shipped for this package ```yaml $(multiapi) && !$(track2) batch: + - tag: package-2021-01-preview - tag: package-2018-01-preview - tag: package-2017-04 - tag: package-2015-08 @@ -37,6 +38,7 @@ batch: ```yaml $(multiapi) && $(track2) clear-output-folder: true batch: + - tag: package-2021-01-preview - tag: package-2018-01-preview - tag: package-2017-04 - tag: package-2015-08 @@ -49,6 +51,19 @@ clear-output-folder: false perform-load: false ``` +### Tag: package-2021-01-preview and python + +These settings apply only when `--tag=package-2021-01-preview --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2021-01-preview' +namespace: azure.mgmt.eventhub.v2021_01_01_preview +output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_01_01_preview +python: + namespace: azure.mgmt.eventhub.v2021_01_01_preview + output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_01_01_preview +``` + ### Tag: package-2018-01-preview and python These settings apply only when `--tag=package-2018-01-preview --python` is specified on the command line. From c9240d3b50b72ae36c6857da6619e70896aeaaa3 Mon Sep 17 00:00:00 2001 From: aparna Date: Tue, 2 Mar 2021 09:35:44 -0800 Subject: [PATCH 3/5] Add privatendpoint property and refresh the get example response --- .../examples/NameSpaces/EHNameSpaceGet.json | 17 +++++++++++++++++ .../2021-01-01-preview/namespaces-preview.json | 7 +++++++ 2 files changed, 24 insertions(+) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json index d992249b7890..f9b2c66b9f32 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json @@ -51,6 +51,23 @@ ], "requireInfrastructureEncryption": false }, + "privateEndpointConnections": [ + { + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/namespaces/NamespaceSample/privateEndpointConnections/privateEndpointConnectionName", + "name": "privateEndpointConnectionName", + "type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.Network/privateEndpoints/NamespaceSample" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + ], "provisioningState": "Succeeded", "clusterArmId": "/subscriptions/SampleSubscription/resourceGroups/ResurceGroupSample/providers/Microsoft.EventHub/clusters/enc-test", "metricId": "MetricGUID:NamespaceSample", diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json index 080ef1e0dc11..7082a9bffc14 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json @@ -662,6 +662,13 @@ "encryption": { "$ref": "#/definitions/Encryption", "description": "Properties of BYOK Encryption description" + }, + "privateEndpointConnections": { + "description": "List of private endpoint connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } } }, "description": "Namespace properties supplied for create namespace operation." From 36441412c0b8c7535afdf2ab11dd6610a4020217 Mon Sep 17 00:00:00 2001 From: aparna Date: Mon, 8 Mar 2021 08:04:02 -0800 Subject: [PATCH 4/5] Add checknamespaceavailability 2018 base file --- .../CheckNameAvailability.json | 132 ++++++++++++++++++ .../EHNameSpaceCheckNameAvailability.json | 18 +++ 2 files changed, 150 insertions(+) create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json create mode 100644 specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json new file mode 100644 index 000000000000..9fa140de8f2d --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json @@ -0,0 +1,132 @@ +{ + "swagger": "2.0", + "info": { + "title": "EventHubManagementClient", + "description": "Azure Event Hubs client", + "version": "2018-01-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/checkNameAvailability": { + "post": { + "tags": [ + "CheckNameAvailability Namespaces" + ], + "operationId": "Namespaces_CheckNameAvailability", + "x-ms-examples": { + "NamespacesCheckNameAvailability": { + "$ref": "./examples/NameSpaces/EHNameSpaceCheckNameAvailability.json" + } + }, + "description": "Check the give Namespace name availability.", + "parameters": [ + { + "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameter" + }, + "description": "Parameters to check availability of the given Namespace name" + } + ], + "responses": { + "200": { + "description": "check availability returned successfully.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + }, + "default": { + "description": "Eventhub error response describing why the operation failed.", + "schema": { + "$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "UnavailableReason": { + "type": "string", + "enum": [ + "None", + "InvalidName", + "SubscriptionIsDisabled", + "NameInUse", + "NameInLockdown", + "TooManyNamespaceInCurrentSubscription" + ], + "x-ms-enum": { + "name": "UnavailableReason", + "modelAsString": false + }, + "description": "Specifies the reason for the unavailability of the service." + }, + "CheckNameAvailabilityParameter": { + "properties": { + "name": { + "type": "string", + "description": "Name to check the namespace name availability" + } + }, + "required": [ + "name" + ], + "description": "Parameter supplied to check Namespace name availability operation " + }, + "CheckNameAvailabilityResult": { + "properties": { + "message": { + "type": "string", + "readOnly": true, + "description": "The detailed info regarding the reason associated with the Namespace." + }, + "nameAvailable": { + "type": "boolean", + "description": "Value indicating Namespace is availability, true if the Namespace is available; otherwise, false." + }, + "reason": { + "$ref": "#/definitions/UnavailableReason", + "description": "The reason for unavailability of a Namespace." + } + }, + "description": "The Result of the CheckNameAvailability operation" + } + }, + "parameters": {} +} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json new file mode 100644 index 000000000000..b1f2ccf66711 --- /dev/null +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2017-04-01", + "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", + "parameters": { + "name": "sdk-Namespace-8458" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "reason": "None", + "message": "" + } + } + } +} From 47ed0cebba65cb950843a6c2d52f6b537823b34f Mon Sep 17 00:00:00 2001 From: aparna Date: Mon, 8 Mar 2021 08:06:33 -0800 Subject: [PATCH 5/5] change file checknameavailability for 2021-preview --- .../preview/2021-01-01-preview/CheckNameAvailability.json | 2 +- .../examples/NameSpaces/EHNameSpaceCheckNameAvailability.json | 2 +- specification/eventhub/resource-manager/readme.md | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json index 9fa140de8f2d..5b979a9f37d4 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json @@ -3,7 +3,7 @@ "info": { "title": "EventHubManagementClient", "description": "Azure Event Hubs client", - "version": "2018-01-01-preview" + "version": "2021-01-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json index b1f2ccf66711..d6d00ef4bc1f 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-04-01", + "api-version": "2021-01-01-preview", "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4", "parameters": { "name": "sdk-Namespace-8458" diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index 7e6bf454f26c..c8134f356542 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -87,6 +87,7 @@ input-file: - Microsoft.EventHub/preview/2021-01-01-preview/networkrulessets-preview.json - Microsoft.EventHub/preview/2021-01-01-preview/AuthorizationRules.json - Microsoft.EventHub/preview/2021-01-01-preview/consumergroups.json +- Microsoft.EventHub/preview/2021-01-01-preview/CheckNameAvailability.json ```