Skip to content

Commit

Permalink
Updated managed instance swagger and examples (#5138)
Browse files Browse the repository at this point in the history
* Update managedInstances.json

Adding two new ManagedInstance properties

* Swagger change for Managed Instance

*Update of ProxyOverride property for Managed Instance
*Update of examples

* Update managedInstances.json

Fixed indentation.

* Update ManagedInstanceListByResourceGroup.json

Added proxyOverride in response for testcl2 managedInstance.

* Updated bool values

* Update ManagedInstanceCreateMax.json

* Update ManagedInstanceGet.json

* Update ManagedInstanceList.json

* Update ManagedInstanceListByResourceGroup.json

* Update ManagedInstanceUpdateMax.json

* Update managedInstances.json

Fixed indentation

* Update managedInstances.json

* Update managedInstances.json

* Update managedInstances.json

* Update ManagedInstanceCreateMax.json

* Update managedInstances.json
  • Loading branch information
stefanb995 authored and anuchandy committed Feb 8, 2019
1 parent be85078 commit be751b2
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"storageSizeInGB": 1024,
"licenseType": "Full",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"dnsZonePartner": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance"
"dnsZonePartner": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance",
"publicDataEndpointEnabled" : false,
"proxyOverride" : "Redirect"
}
}
},
Expand All @@ -48,7 +50,9 @@
"subnetId" : "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
"state": "Ready",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"dnsZone": "1b4e2caff2530"
"dnsZone": "1b4e2caff2530",
"publicDataEndpointEnabled" : false,
"proxyOverride" : "Redirect"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
"storageSizeInGB": 1024,
"licenseType": "Full",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"dnsZone": "1b4e2caff2530"

"dnsZone": "1b4e2caff2530",
"publicDataEndpointEnabled" : false,
"proxyOverride" : "Default"
},
"location" : "onebox",
"id" : "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl",
Expand All @@ -32,4 +33,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"storageSizeInGB": 1024,
"licenseType": "Full",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"dnsZone": "1b4e2caff2530"
"dnsZone": "1b4e2caff2530",
"publicDataEndpointEnabled" : false,
"proxyOverride" : "Proxy"
}
}, {
"location" : "onebox",
Expand All @@ -44,11 +46,13 @@
"storageSizeInGB": 1024,
"licenseType": "Full",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"dnsZone": "1b4e2caff2530"
"dnsZone": "1b4e2caff2530",
"publicDataEndpointEnabled" : false,
"proxyOverride" : ""
}
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"storageSizeInGB": 1024,
"licenseType": "Full",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"dnsZone": "1b4e2caff2530"
"dnsZone": "1b4e2caff2530",
"publicDataEndpointEnabled" : false,
"proxyOverride" : "Redirect"
}
}, {
"location" : "onebox",
Expand All @@ -47,11 +49,13 @@
"storageSizeInGB": 1024,
"licenseType": "Full",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"dnsZone": "1b4e2caff2530"
"dnsZone": "1b4e2caff2530",
"publicDataEndpointEnabled" : false,
"proxyOverride" : ""
}
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"fullyQualifiedDomainName" : "testinstance.1b4e2caff2530.database.windows.net",
"administratorLogin" : "dummylogin",
"administratorLoginPassword" : "Un53cuRE!",
"subnetId" : "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
"subnetId" : "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
"proxyOverride": "Redirect",
"publicDataEndpointEnabled": false
}
}
},
Expand All @@ -42,7 +44,9 @@
"subnetId" : "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
"state": "Ready",
"collation": "SQL_Latin1_General_CP1_CI_AS",
"dnsZone": "1b4e2caff2530"
"dnsZone": "1b4e2caff2530",
"proxyOverride": "Redirect",
"publicDataEndpointEnabled": false
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,12 @@
"type": "boolean"
},
"proxyOverride": {
"description": "Proxy override of the managed instance.",
"description": "Connection type used for connecting to the instance.",
"enum": ["Proxy", "Redirect", "Default"],
"x-ms-enum":{
"name": "ManagedInstanceProxyOverride",
"modelAsString": true
},
"type": "string"
}
}
Expand Down Expand Up @@ -532,4 +537,4 @@
}
}
}
}
}

0 comments on commit be751b2

Please sign in to comment.