Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"namespaceName": "sdk-Namespace-41",
"resourceGroupName": "ResourceGroup",
"api-version": "2017-04-01",
"subscriptionId": "SubscriptionId",
"parameters": {
"targetNamespaceType": "EventHub"
}
},
"responses": {
"200": { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,52 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrate": {
"post": {
"tags": [
"Namespaces"
],
"operationId": "Namespaces_Migrate",
"x-ms-examples": {
"NameSpaceUpdate": { "$ref": "./examples/NameSpaces/SBNamespaceMigrate.json" }
},
"description": "This operation Migrate the given namespace to provided name type",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/NamespaceNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/SBNamespaceMigrate"
},
"description": "Parameters supplied to migrate namespace type."
}
],
"responses": {
"200": {
"description": "Migrate Namepsace type is successful."
},
"default": {
"description": "ServiceBus error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/disasterRecoveryConfigs/CheckNameAvailability": {
"post": {
"tags": [
Expand Down Expand Up @@ -2948,7 +2994,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/ipfilterrules": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/ipfilterrules": {
"get": {
"tags": [
"Namespaces"
Expand Down Expand Up @@ -3521,6 +3567,30 @@
],
"description": "SKU of the namespace."
},
"SBNamespaceMigrate": {
"type": "object",
"properties": {
"targetNamespaceType": {
"type": "string",
"description": "Type of namespaces",
"enum": [
"Messaging",
"NotificationHub",
"Mixed",
"EventHub",
"Relay"
],
"x-ms-enum": {
"name": "NameSpaceType",
"modelAsString": false
}
}
},
"required": [
"targetNamespaceType"
],
"description": "Namespace Migrate Object"
},
"SBAuthorizationRuleListResult": {
"properties": {
"value": {
Expand Down Expand Up @@ -4709,7 +4779,7 @@
},
"description": "The result of the List migrationConfigurations operation."
},
"IpFilterRule": {
"IpFilterRule": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
Expand Down Expand Up @@ -4936,7 +5006,7 @@
"maximum": 1000,
"x-ms-parameter-location": "method"
},
"IPFilterRuleNameParameter": {
"IPFilterRuleNameParameter": {
"name": "ipFilterRuleName",
"in": "path",
"required": true,
Expand All @@ -4955,4 +5025,4 @@
"description": "The Virtual Network Rule name."
}
}
}
}