Skip to content
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

Adding JobAgents API with SKU support to version 2023-05-01-preview #24995

Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
da65ff8
Adds base for updating Microsoft.Sql from version preview/2022-11-01-…
jeremyfrosti May 20, 2023
925c088
Updates readme
jeremyfrosti May 20, 2023
cae3704
Updates API version in new specs and examples
jeremyfrosti May 20, 2023
45b66dd
add mi refresh API (#24093)
guptanitish-ms May 26, 2023
145a559
Adding changes from main to release branch. PRs 24175 and 24185 (#24221)
jeremyfrosti Jun 6, 2023
aa87b5f
Enable multiple partner servers and failover of read-only endpoint fo…
lobashh Jun 6, 2023
04d4d83
Changes to Location Capabilities (#24209)
Aleksand4rZivanovic Jun 7, 2023
dbc1e3a
DAG API 2023-02-01 (#24108)
a-lazarlazic Jun 8, 2023
c2b5c55
Add FreeLimitExhaustion Capability in 2023-02-01-preview API (#24224)
mykolian Jun 8, 2023
8ee2f18
generate swagger for LocationCapabilites (#24290)
srnanikolicmdcs Jun 9, 2023
91e9137
inital commit for LTR Policy Immutability (#24347)
rebeccaxu-ms Jun 13, 2023
aeb2171
inital commit for immutable ltr backups (#24349)
rebeccaxu-ms Jun 13, 2023
10bdc6e
Update Servers swagger files with adding property "IsIPv6Enabled" (#2…
LeiWang3 Jun 13, 2023
dc4129c
Add auto rotation param to databases api (#24339)
viparek Jun 13, 2023
d895aa8
Adding IsFreemium and CreateTime to Get MI API (#24239)
nmirkovic-microsoft Jun 15, 2023
c280779
Updated the examples for LTR Policies and LTR Backups (#24821)
rebeccaxu-ms Jul 20, 2023
e0345c1
swagger changes
alejandro182 Jul 26, 2023
7bd1634
api version changed
alejandro182 Jul 26, 2023
e642db5
adding identity files to the version on review
alejandro182 Jul 26, 2023
dc56a23
change of getjobagent
alejandro182 Jul 26, 2023
5c9210e
change test
alejandro182 Jul 26, 2023
2458efc
nit fix
alejandro182 Jul 27, 2023
04d9d92
Changes to use SKU name to specify SLO
alejandro182 Aug 4, 2023
70d3399
Merge branch 'release-sql-Microsoft.Sql-2023-05-01-preview' of https:…
alejandro182 Sep 8, 2023
16ba39e
Changes for job agent update SLO with 2023-05-01 version
alejandro182 Sep 8, 2023
931fcb1
removing files of 2023-02-01
alejandro182 Sep 8, 2023
8e4be9e
fix
alejandro182 Sep 8, 2023
f793b05
removing changes on JobAgents 2023-02-01
alejandro182 Sep 11, 2023
ff3d064
merge changes
alejandro182 Sep 27, 2023
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"sku": {
"name": "Agent",
"name": "JA100",
"capacity": 100
},
"properties": {
Expand All @@ -35,7 +35,7 @@
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"sku": {
"name": "Agent",
"name": "JA100",
"capacity": 100
},
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "group1",
"serverName": "server1",
"jobAgentName": "agent1",
"api-version": "2023-05-01-preview",
"parameters": {
"location": "southeastasia",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-umi": {}
}
},
"properties": {
"databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1",
"name": "agent1",
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-umi": {
"clientId": "0c29d9b7-0ae2-4014-96ea-faf8e0cf2bc7",
"principalId": "0c29d9b7-0ae2-4014-96ea-faf8e0cf2bc7"
}
}
},
"properties": {
"databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1",
"name": "agent1",
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-umi": {
"clientId": "0c29d9b7-0ae2-4014-96ea-faf8e0cf2bc7",
"principalId": "0c29d9b7-0ae2-4014-96ea-faf8e0cf2bc7"
}
}
},
"properties": {
"databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "group1",
"serverName": "server1",
"jobAgentName": "agent1",
"api-version": "2023-05-01-preview",
"parameters": {
"location": "southeastasia",
"sku": {
"name": "JA400"
},
"properties": {
"databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1",
"name": "agent1",
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"sku": {
"name": "JA400",
"capacity": 400
},
"properties": {
"databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1",
"name": "agent1",
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"sku": {
"name": "JA400",
"capacity": 400
},
"properties": {
"databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"sku": {
"name": "Agent",
"name": "JA400",
"capacity": 400
},
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"sku": {
"name": "Agent",
"name": "JA200",
"capacity": 200
},
"properties": {
Expand All @@ -28,7 +28,7 @@
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"sku": {
"name": "Agent",
"name": "JA400",
"capacity": 400
},
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "group1",
"serverName": "server1",
"jobAgentName": "agent1",
"api-version": "2023-05-01-preview",
"parameters": {
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-umi": {}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1",
"name": "agent1",
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"properties": {
"databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-umi": {
"clientId": "e09c8507-0000-0000-97e2-18c5beec59dc",
"principalId": "0c29d9b7-0ae2-4014-96ea-faf8e0cf2bc7"
}
}
}
}
},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/southeastasia/jobAgentOperationResults/00000000-1111-2222-3333-444444444444?api-version=2017-03-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "group1",
"serverName": "server1",
"jobAgentName": "agent1",
"api-version": "2023-05-01-preview",
"parameters": {
"sku": {
"name": "JA200"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/jobAgents/agent1",
"name": "agent1",
"type": "Microsoft.Sql/servers/jobAgents",
"location": "southeastasia",
"properties": {
"databaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/servers/server1/databases/db1"
},
"sku": {
"name": "JA200",
"capacity": 200
}
}
},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/southeastasia/jobAgentOperationResults/00000000-1111-2222-3333-444444444444?api-version=2017-03-01-preview"
}
}
}
}