Skip to content

Commit

Permalink
EventHub: Revert the NetworkRuleSet (#5363)
Browse files Browse the repository at this point in the history
* Revert "EventHub : corrected typo  (#5360)"

This reverts commit 1495122.

* Revert "Added VNet API (#5351)"

This reverts commit f2ab4a8.
  • Loading branch information
Ajit Navasare authored and dsgouda committed Mar 11, 2019
1 parent 3130cdd commit de3d4a1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 337 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1856,97 +1856,6 @@
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSet/default": {
"put": {
"tags": [
"Namespaces"
],
"x-ms-examples": {
"NameSpaceNetworkRuleSetCreate": {
"$ref": "./examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json"
}
},
"operationId": "Namespaces_CreateOrUpdateNetworkRuleSet",
"description": "Create or update NetworkRuleSet for a Namespace.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/NamespaceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/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": "#/definitions/ErrorResponse"
}
}
}
},
"get": {
"tags": [
"Namespaces"
],
"x-ms-examples": {
"NameSpaceNetworkRuleSetGet": {
"$ref": "./examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json"
}
},
"operationId": "Namespaces_GetNetworkRuleSet",
"description": "Gets NetworkRuleSet for a Namespace.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/NamespaceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/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": "#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -2703,92 +2612,6 @@
}
],
"description": "Messaging Plan for the namespace"
},
"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": {
"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": "#/definitions/Resource"
}
],
"description": "Description of topic resource."
}
},
"parameters": {
Expand Down Expand Up @@ -2893,6 +2716,6 @@
"minimum": 1,
"maximum": 1000,
"x-ms-parameter-location": "method"
}
}
}
}

This file was deleted.

This file was deleted.

0 comments on commit de3d4a1

Please sign in to comment.