diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json index a61419e0a5db..d70c4431e7ce 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json @@ -1856,376 +1856,6 @@ "nextLinkName": "nextLink" } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/ipfilterrules": { - "get": { - "tags": [ - "Namespaces" - ], - "operationId": "Namespaces_ListIPFilterRules", - "x-ms-examples": { - "ListIpFilterRules": { - "$ref": "./examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json" - } - }, - "description": "Gets a list of IP Filter rules for a Namespace.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NamespaceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Namespace IpFilterRule successfully returned.", - "schema": { - "$ref": "#/definitions/IpFilterRuleListResult" - } - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/ipfilterrules/{ipFilterRuleName}": { - "put": { - "tags": [ - "Namespaces" - ], - "operationId": "Namespaces_CreateOrUpdateIpFilterRule", - "x-ms-examples": { - "NameSpaceIpFilterRuleCreate": { - "$ref": "./examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json" - } - }, - "description": "Creates or updates an IpFilterRule for a Namespace.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NamespaceNameParameter" - }, - { - "$ref": "#/parameters/IPFilterRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IpFilterRule" - }, - "description": "The Namespace IpFilterRule." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Namespace IpFilterRule created", - "schema": { - "$ref": "#/definitions/IpFilterRule" - } - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "Namespaces" - ], - "operationId": "Namespaces_DeleteIpFilterRule", - "x-ms-examples": { - "NameSpaceIpFilterRuleDelete": { - "$ref": "./examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json" - } - }, - "description": "Deletes an IpFilterRule for a Namespace.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NamespaceNameParameter" - }, - { - "$ref": "#/parameters/IPFilterRuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "No content." - }, - "200": { - "description": "Namespace IpFilterRule successfully deleted." - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "Namespaces" - ], - "operationId": "Namespaces_GetIpFilterRule", - "x-ms-examples": { - "NameSpaceIpFilterRuleGet": { - "$ref": "./examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json" - } - }, - "description": "Gets an IpFilterRule for a Namespace by rule name.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NamespaceNameParameter" - }, - { - "$ref": "#/parameters/IPFilterRuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Namespace IpFilterRule returned successfully.", - "schema": { - "$ref": "#/definitions/IpFilterRule" - } - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/virtualnetworkrules": { - "get": { - "tags": [ - "Namespaces" - ], - "operationId": "Namespaces_ListVirtualNetworkRules", - "x-ms-examples": { - "ListIpFilterRules": { - "$ref": "./examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json" - } - }, - "description": "Gets a list of VirtualNetwork rules for a Namespace.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NamespaceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Namespace VirtualNetworkRule successfully returned.", - "schema": { - "$ref": "#/definitions/VirtualNetworkRuleListResult" - } - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/virtualnetworkrules/{virtualNetworkRuleName}": { - "put": { - "tags": [ - "Namespaces" - ], - "operationId": "Namespaces_CreateOrUpdateVirtualNetworkRule", - "x-ms-examples": { - "NameSpaceVirtualNetworkRuleCreate": { - "$ref": "./examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleCreateorUpdate.json" - } - }, - "description": "Creates or updates an VirtualNetworkRule for a Namespace.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NamespaceNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkRuleNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualNetworkRule" - }, - "description": "The Namespace VirtualNetworkRule." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Namespace VirtualNetworkRule created", - "schema": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "Namespaces" - ], - "operationId": "Namespaces_DeleteVirtualNetworkRule", - "x-ms-examples": { - "NameSpaceVirtualNetworkRuleDelete": { - "$ref": "./examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json" - } - }, - "description": "Deletes an VirtualNetworkRule for a Namespace.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NamespaceNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkRuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "No content." - }, - "200": { - "description": "Namespace VirtualNetworkRule successfully deleted." - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "Namespaces" - ], - "operationId": "Namespaces_GetVirtualNetworkRule", - "x-ms-examples": { - "NameSpaceVirtualNetworkRuleGet": { - "$ref": "./examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleGet.json" - } - }, - "description": "Gets an VirtualNetworkRule for a Namespace by rule name.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NamespaceNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkRuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Namespace VirtualNetworkRule returned successfully.", - "schema": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } } }, "definitions": { @@ -2978,94 +2608,6 @@ } ], "description": "Messaging Plan for the namespace" - }, - "IpFilterRule": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "properties": { - "ipMask": { - "type": "string", - "description": "IP Mask" - }, - "action": { - "type": "string", - "description": "The IP Filter Action", - "enum": [ - "Accept", - "Reject" - ], - "x-ms-enum": { - "name": "IPAction", - "modelAsString": true - } - }, - "filterName": { - "type": "string", - "description": "IP Filter name" - } - }, - "description": "Properties supplied to create or update IpFilterRules" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Single item in a List or Get IpFilterRules operation" - }, - "IpFilterRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/IpFilterRule" - }, - "description": "Result of the List IpFilter Rules operation." - }, - "nextLink": { - "type": "string", - "description": "Link to the next set of results. Not empty if Value contains an incomplete list of IpFilter Rules" - } - }, - "description": "The response from the List namespace operation." - }, - "VirtualNetworkRule": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "properties": { - "virtualNetworkSubnetId": { - "type": "string", - "description": "ARM ID of Virtual Network Subnet" - } - }, - "description": "Properties supplied to create or update VirtualNetworkRules" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Single item in a List or Get VirtualNetworkRules operation" - }, - "VirtualNetworkRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - }, - "description": "Result of the List VirtualNetwork Rules operation." - }, - "nextLink": { - "type": "string", - "description": "Link to the next set of results. Not empty if Value contains an incomplete list of VirtualNetwork Rules" - } - }, - "description": "The response from the List namespace operation." } }, "parameters": { @@ -3170,24 +2712,6 @@ "minimum": 1, "maximum": 1000, "x-ms-parameter-location": "method" - }, - "IPFilterRuleNameParameter": { - "name": "ipFilterRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 1, - "x-ms-parameter-location": "method", - "description": "The IP Filter Rule name." - }, - "VirtualNetworkRuleNameParameter": { - "name": "virtualNetworkRuleName", - "in": "path", - "required": true, - "type": "string", - "minLength": 1, - "x-ms-parameter-location": "method", - "description": "The Virtual Network Rule name." } } } \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json index 5d4075e41f89..8d29635d7fa7 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json @@ -11,8 +11,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Non Resource Operation", - "operation": "Get namespace availability.", - "description": "Checks availability of namespace under given subscription." + "operation": "Get namespace availability." } }, { @@ -20,8 +19,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub Resource Provider", - "operation": "Registers the EventHub Resource Provider", - "description": "Registers the subscription for the EventHub resource provider and enables the creation of EventHub resources" + "operation": "Registers the EventHub Resource Provider" } }, { @@ -29,8 +27,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace", - "operation": "Create Or Update Namespace ", - "description": "Create a Namespace Resource and Update its properties. Tags and status of the Namespace are the properties which can be updated." + "operation": "Create Or Update Namespace " } }, { @@ -38,8 +35,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace", - "operation": "Get Namespace Resource", - "description": "Get the list of Namespace Resource Description" + "operation": "Get Namespace Resource" } }, { @@ -47,8 +43,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace", - "operation": "Delete Namespace", - "description": "Delete Namespace Resource" + "operation": "Delete Namespace" } }, { @@ -56,8 +51,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Get Namespace Authorization Rules", - "description": "Get the list of Namespaces Authorization Rules description." + "operation": "Get Namespace Authorization Rules" } }, { @@ -65,8 +59,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Create or Update Namespace Authorization Rules", - "description": "Create a Namespace level Authorization Rules and update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update Namespace Authorization Rules" } }, { @@ -74,8 +67,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Delete Namespace Authorization Rule", - "description": "Delete Namespace Authorization Rule. The Default Namespace Authorization Rule cannot be deleted. " + "operation": "Delete Namespace Authorization Rule" } }, { @@ -83,8 +75,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Get Namespace Listkeys", - "description": "Get the Connection String to the Namespace" + "operation": "Get Namespace Listkeys" } }, { @@ -92,8 +83,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -101,8 +91,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub", - "operation": "Create or Update EventHub", - "description": "Create or Update EventHub properties." + "operation": "Create or Update EventHub" } }, { @@ -110,8 +99,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub", - "operation": "Get EventHub", - "description": "Get list of EventHub Resource Descriptions" + "operation": "Get EventHub" } }, { @@ -119,8 +107,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub", - "operation": "Delete EventHub", - "description": "Operation to delete EventHub Resource" + "operation": "Delete EventHub" } }, { @@ -128,8 +115,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": " Get EventHub Authorization Rules", - "description": " Get the list of EventHub Authorization Rules" + "operation": " Get EventHub Authorization Rules" } }, { @@ -137,8 +123,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": "Create or Update EventHub Authorization Rule", - "description": "Create EventHub Authorization Rules and Update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated." + "operation": "Create or Update EventHub Authorization Rule" } }, { @@ -146,8 +131,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": "Delete EventHub Authorization Rules", - "description": "Operation to delete EventHub Authorization Rules" + "operation": "Delete EventHub Authorization Rules" } }, { @@ -155,8 +139,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": "List EventHub keys", - "description": "Get the Connection String to EventHub" + "operation": "List EventHub keys" } }, { @@ -164,8 +147,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "EventHub AuthorizationRules", - "operation": "Resource Regeneratekeys", - "description": "Regenerate the Primary or Secondary key to the Resource" + "operation": "Resource Regeneratekeys" } }, { @@ -173,8 +155,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "ConsumerGroup", - "operation": "Create or Update ConsumerGroup", - "description": "Create or Update ConsumerGroup properties." + "operation": "Create or Update ConsumerGroup" } }, { @@ -182,8 +163,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "ConsumerGroup", - "operation": "Get ConsumerGroup", - "description": "Get list of ConsumerGroup Resource Descriptions" + "operation": "Get ConsumerGroup" } }, { @@ -191,8 +171,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "ConsumerGroup", - "operation": "Delete ConsumerGroup", - "description": "Operation to delete ConsumerGroup Resource" + "operation": "Delete ConsumerGroup" } }, { @@ -200,8 +179,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace metrics", - "operation": "Get Namespace metrics", - "description": "Get list of Namespace metrics Resource Descriptions" + "operation": "Get Namespace metrics" } }, { @@ -209,8 +187,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace diagnostic settings", - "operation": "Get Namespace diagnostic settings", - "description": "Get list of Namespace diagnostic settings Resource Descriptions" + "operation": "Get Namespace diagnostic settings" } }, { @@ -218,8 +195,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace diagnostic settings", - "operation": "Create or Update Namespace diagnostic settings", - "description": "Get list of Namespace diagnostic settings Resource Descriptions" + "operation": "Create or Update Namespace diagnostic settings" } }, { @@ -227,8 +203,7 @@ "display": { "provider": "Microsoft Azure EventHub", "resource": "Namespace logs", - "operation": "Get Namespace logs", - "description": "Get list of Namespace logs Resource Descriptions" + "operation": "Get Namespace logs" } } ] diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json deleted file mode 100644 index 58f7d161de90..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-5232", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337", - "name": "sdk-IPFilterRules-7337", - "type": "Microsoft.EventHub/Namespaces/IpFilterRules", - "properties": { - "ipMask": "13.78.143.246/32", - "action": "Accept", - "filterName": "sdk-IPFilterRules-7337" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json deleted file mode 100644 index 0021793cc4ad..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-5232", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription", - "ipFilterRuleName": "sdk-IPFilterRules-7337", - "parameters": { - "properties": { - "ipMask": "13.78.143.246/32", - "action": "Accept", - "filterName": "sdk-IPFilterRules-7337" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337", - "name": "sdk-IPFilterRules-7337", - "type": "Microsoft.EventHub/Namespaces/IpFilterRules", - "properties": { - "ipMask": "13.78.143.246/32", - "action": "Accept", - "filterName": "sdk-IPFilterRules-7337" - } - } - } - } -} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json deleted file mode 100644 index 4b921fa62918..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-5232", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription", - "ipFilterRuleName": "sdk-IPFilterRules-7337" - }, - "responses": { - "200": { }, - "204": { } - } -} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json deleted file mode 100644 index 30970870562b..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-5232", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription", - "ipFilterRuleName": "sdk-IPFilterRules-7337" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337", - "name": "sdk-IPFilterRules-7337", - "type": "Microsoft.EventHub/Namespaces/IpFilterRules", - "properties": { - "ipMask": "13.78.143.246/32", - "action": "Accept", - "filterName": "sdk-IPFilterRules-7337" - } - } - } - } -} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json deleted file mode 100644 index b7a5a6803a03..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-5849", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription", - "ipFilterRuleName": "sdk-IPFilterRules-7337", - "parameters": { - "properties": { - "ipMask": "13.78.143.246/32", - "action": "Accept", - "filterName": "sdk-IPFilterRules-7337" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-NotificationHubs-AustraliaEast/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337", - "name": "sdk-IPFilterRules-7337", - "type": "Microsoft.EventHub/Namespaces/IpFilterRules", - "properties": { - "ipMask": "13.78.143.246/32", - "action": "Accept", - "filterName": "sdk-IPFilterRules-7337" - } - } - } - } -} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleCreateorUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleCreateorUpdate.json deleted file mode 100644 index 75d21c9265a5..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleCreateorUpdate.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-6019", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription", - "virtualNetworkRuleName": "sdk-VirtualNetworkRules-9191", - "parameters": { - "properties": { - "virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/sbehvnettest/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191", - "name": "sdk-VirtualNetworkRules-9191", - "type": "Microsoft.EventHub/Namespaces/VirtualNetworkRules", - "properties": { - "virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default" - } - } - } - } -} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json deleted file mode 100644 index bd3dd401c8d3..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-6019", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription", - "virtualNetworkRuleName": "sdk-VirtualNetworkRules-9191" - }, - "responses": { - "200": { }, - "204": { } - } -} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleGet.json deleted file mode 100644 index 6c05fa0cf72f..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleGet.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-6019", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription", - "virtualNetworkRuleName": "sdk-VirtualNetworkRules-9191" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191", - "name": "sdk-VirtualNetworkRules-9191", - "type": "Microsoft.EventHub/Namespaces/VirtualNetworkRules", - "properties": { - "virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default" - } - } - } - } -} diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json deleted file mode 100644 index d5ba67e22ce3..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-6019", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191", - "name": "sdk-VirtualNetworkRules-9191", - "type": "Microsoft.EventHub/Namespaces/VirtualNetworkRules", - "properties": { - "virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json deleted file mode 100644 index 2bf72dee2cf0..000000000000 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "namespaceName": "sdk-Namespace-6019", - "resourceGroupName": "ResourceGroup", - "api-version": "2017-04-01", - "subscriptionId": "Subscription", - "virtualNetworkRuleName": "sdk-VirtualNetworkRules-9191", - "parameters": { - "properties": { - "virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/sbehvnettest/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191", - "name": "sdk-VirtualNetworkRules-9191", - "type": "Microsoft.EventHub/Namespaces/VirtualNetworkRules", - "properties": { - "virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default" - } - } - } - } -} \ No newline at end of file