-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Service Bus: moved VNet and IpFilter rules from 2018-preview to 2017 …
…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
Showing
15 changed files
with
933 additions
and
264 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...us/stable/2017-04-01/examples/NameSpaces/IPFilterRule/SBNameSpaceIPFilterRuleListAll.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...le/2017-04-01/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleCreateorUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...Bus/stable/2017-04-01/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": { } | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...iceBus/stable/2017-04-01/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...Bus/stable/2017-04-01/examples/NameSpaces/IPFilterRule/SBNameSpaceIpFilterRuleUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...1/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleCreateorUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": { } | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...e/2017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...17-04-01/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleListAll.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...017-04-01/examples/NameSpaces/VirtualNetworkRule/SBNameSpaceVirtualNetworkRuleupdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.