Skip to content

Commit

Permalink
Service Bus: moved VNet and IpFilter rules from 2018-preview to 2017 …
Browse files Browse the repository at this point in the history
…API version (#4245)

* moved VNet and IpFilter rules from 2018-preview to 2017 API version

* added the readonly enum for type of replication of Alias(Geo DR)

* Revert "added the readonly enum for type of replication of Alias(Geo DR)"

This reverts commit cf81380.

* Removed the type property of DisasterRecoveryConfig

* updated Operations example
  • Loading branch information
Ajit Navasare authored and lmazuel committed Oct 17, 2018
1 parent 8e7c7fe commit 41ebc86
Show file tree
Hide file tree
Showing 15 changed files with 933 additions and 264 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"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.ServiceBus/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337",
"name": "sdk-IPFilterRules-7337",
"type": "Microsoft.ServiceBus/Namespaces/IpFilterRules",
"properties": {
"ipMask": "13.78.143.246/32",
"action": "Accept",
"filterName": "sdk-IPFilterRules-7337"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"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.ServiceBus/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337",
"name": "sdk-IPFilterRules-7337",
"type": "Microsoft.ServiceBus/Namespaces/IpFilterRules",
"properties": {
"ipMask": "13.78.143.246/32",
"action": "Accept",
"filterName": "sdk-IPFilterRules-7337"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"namespaceName": "sdk-Namespace-5232",
"resourceGroupName": "ResourceGroup",
"api-version": "2017-04-01",
"subscriptionId": "Subscription",
"ipFilterRuleName": "sdk-IPFilterRules-7337"
},
"responses": {
"200": { },
"204": { }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"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.ServiceBus/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337",
"name": "sdk-IPFilterRules-7337",
"type": "Microsoft.ServiceBus/Namespaces/IpFilterRules",
"properties": {
"ipMask": "13.78.143.246/32",
"action": "Accept",
"filterName": "sdk-IPFilterRules-7337"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"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.ServiceBus/namespaces/sdk-Namespace-5232/ipfilterrules/sdk-IPFilterRules-7337",
"name": "sdk-IPFilterRules-7337",
"type": "Microsoft.ServiceBus/Namespaces/IpFilterRules",
"properties": {
"ipMask": "13.78.143.246/32",
"action": "Accept",
"filterName": "sdk-IPFilterRules-7337"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"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.ServiceBus/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191",
"name": "sdk-VirtualNetworkRules-9191",
"type": "Microsoft.ServiceBus/Namespaces/VirtualNetworkRules",
"properties": {
"virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"namespaceName": "sdk-Namespace-6019",
"resourceGroupName": "ResourceGroup",
"api-version": "2017-04-01",
"subscriptionId": "Subscription",
"virtualNetworkRuleName": "sdk-VirtualNetworkRules-9191"
},
"responses": {
"200": { },
"204": { }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"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.ServiceBus/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191",
"name": "sdk-VirtualNetworkRules-9191",
"type": "Microsoft.ServiceBus/Namespaces/VirtualNetworkRules",
"properties": {
"virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"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.ServiceBus/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191",
"name": "sdk-VirtualNetworkRules-9191",
"type": "Microsoft.ServiceBus/Namespaces/VirtualNetworkRules",
"properties": {
"virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"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.ServiceBus/namespaces/sdk-Namespace-6019/virtualnetworkrules/sdk-VirtualNetworkRules-9191",
"name": "sdk-VirtualNetworkRules-9191",
"type": "Microsoft.ServiceBus/Namespaces/VirtualNetworkRules",
"properties": {
"virtualNetworkSubnetId": "/subscriptions/Subscription/resourceGroups/ResourceGroup/providers/Microsoft.Network/virtualNetworks/sbehvnettest/subnets/default"
}
}
}
}
}
Loading

0 comments on commit 41ebc86

Please sign in to comment.