-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sql managed instance #9164
Add sql managed instance #9164
Changes from 7 commits
107d645
56c9a48
5e70bc7
84a15d6
ff77e19
d358f84
d89cea6
79a6914
c2bdd4b
f4aaa98
582834e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"dataControllerName": "testdataController", | ||
"api-version": "2017-07-24", | ||
"parameters": { | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", | ||
"name": "testdataController", | ||
"type": "Microsoft.AzureData/dataControllers" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", | ||
"name": "testdataController", | ||
"type": "Microsoft.AzureData/dataControllers" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"sqlManagedInstanceName": "testsqlManagedInstance", | ||
"api-version": "2017-07-24", | ||
"parameters": { | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"properties": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": {}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above no required parameters? Not sure how clients would be able to use this or build any applications based on such definition? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is just a copy of sqlInstances which is being renamed to sqlManagedInstances. We are working on what properties will be there and we'll add those once the work progresses. For now this is just a "shadow" resource that maps to some objects on premise. |
||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", | ||
"name": "testsqlManagedInstance", | ||
"type": "Microsoft.AzureData/sqlManagedInstances" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", | ||
"name": "testsqlManagedInstance", | ||
"type": "Microsoft.AzureData/sqlManagedInstances" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"dataControllerName": "testdataController", | ||
"api-version": "2017-07-24" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"sqlManagedInstanceName": "testsqlManagedInstance", | ||
"api-version": "2017-07-24" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"dataControllerName": "testdataController", | ||
"api-version": "2017-07-24" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": {}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please provide real world examples. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. Will update the examples as the work on the premise side progresses. |
||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController", | ||
"name": "testdataController", | ||
"type": "Microsoft.AzureData/dataControllers" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"sqlManagedInstanceName": "testsqlManagedInstance", | ||
"api-version": "2017-07-24" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", | ||
"name": "testsqlManagedInstance", | ||
"type": "Microsoft.AzureData/sqlManagedInstance" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2017-07-24" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", | ||
"name": "testdataController1", | ||
"type": "Microsoft.AzureData/dataControllers" | ||
}, | ||
{ | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController2", | ||
"name": "testdataController2", | ||
"type": "Microsoft.AzureData/dataControllers" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"api-version": "2017-07-24" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/sqlManagedInstance1", | ||
"name": "sqlManagedInstances1", | ||
"type": "Microsoft.AzureData/sqlManagedInstances" | ||
}, | ||
{ | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/sqlManagedInstance2", | ||
"name": "sqlManagedInstances2", | ||
"type": "Microsoft.AzureData/sqlManagedInstances" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"api-version": "2017-07-24" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
chiragg4u marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", | ||
"name": "testdataController1", | ||
"type": "Microsoft.AzureData/dataControllers" | ||
}, | ||
{ | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController2", | ||
"name": "testdataController2", | ||
"type": "Microsoft.AzureData/dataControllers" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"api-version": "2017-07-24" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlManagedInstances/sqlManagedInstance1", | ||
"name": "sqlManagedInstances1", | ||
"type": "Microsoft.AzureData/sqlManagedInstances" | ||
}, | ||
{ | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlManagedInstances/sqlManagedInstance2", | ||
"name": "sqlManagedInstances2", | ||
"type": "Microsoft.AzureData/sqlManagedInstances" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"dataControllerName": "testdataController1", | ||
"api-version": "2019-07-24", | ||
"parameters": { | ||
"tags": { | ||
"mytag": "myval" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": {}, | ||
"location": "northeurope", | ||
"tags": { | ||
"mytag": "myval" | ||
}, | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/dataControllers/testdataController1", | ||
"name": "testdataController1", | ||
"type": "Microsoft.AzureData/dataControllers" | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "testrg", | ||
"sqlManagedInstanceName": "testsqlManagedInstance", | ||
"api-version": "2017-07-24", | ||
"parameters": { | ||
"tags": { | ||
"mytag": "myval" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": {}, | ||
"location": "northeurope", | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/sqlManagedInstances/testsqlManagedInstance", | ||
"name": "testsqlManagedInstance", | ||
"type": "Microsoft.AzureData/sqlManagedInstances" | ||
} | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to provide example of how this will be used? It's strange that there are no required parameters for this type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For sure, this is for now just a copy of "hybridDataControllers" type which is being renamed to dataControllers. These objects are currently just used by a CLI tool that creates these "shadow" resources that map to onpremise objects.
We plan on updating the examples and properties on these "shadow" resources as they work on premises progresses.