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

Update workspaceRP 2024-01-01-preview swagger #27194

Merged
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
78d5d15
Update swagger
ZhidaLiu Dec 21, 2023
069ab53
Update format
ZhidaLiu Dec 27, 2023
396750d
update version
ZhidaLiu Dec 27, 2023
0f2f641
fix spell check
ZhidaLiu Dec 27, 2023
69addd9
Update format and example
ZhidaLiu Dec 27, 2023
44efb8b
Update example name
ZhidaLiu Dec 27, 2023
5672da1
Update format
ZhidaLiu Dec 27, 2023
080f196
Fix model validation
ZhidaLiu Dec 27, 2023
87810cc
Update example
ZhidaLiu Dec 27, 2023
add6a9d
Update format
ZhidaLiu Dec 28, 2023
5cf7721
fix some lint error
ZhidaLiu Jan 2, 2024
b8485ba
update some response
ZhidaLiu Jan 2, 2024
851f041
Update swagger
ZhidaLiu Jan 2, 2024
115d8d4
Update policy related API
ZhidaLiu Jan 8, 2024
2f983b3
Fix policy api and example
ZhidaLiu Jan 8, 2024
d4d596a
Update parameter
ZhidaLiu Jan 8, 2024
cb184a2
Update
ZhidaLiu Jan 8, 2024
93481ca
Update example
ZhidaLiu Jan 8, 2024
f56821e
Address comments
ZhidaLiu Jan 11, 2024
b91803d
format and update example
ZhidaLiu Jan 11, 2024
4a1bd9b
Add one description
ZhidaLiu Jan 11, 2024
679f246
Fix one fomat
ZhidaLiu Jan 11, 2024
33ba75c
Update example and some missing places
ZhidaLiu Jan 11, 2024
2e252a7
small fix
ZhidaLiu Jan 11, 2024
ed01d03
Address comments
ZhidaLiu Jan 16, 2024
9f1d642
Update example
ZhidaLiu Jan 16, 2024
d5ce99e
Update example
ZhidaLiu Jan 16, 2024
1fe561b
Update example and descriptions
ZhidaLiu Jan 18, 2024
76d82b7
Remove HubPolicy Apis in this version
ZhidaLiu Jan 18, 2024
38b77ad
remove unused definition
ZhidaLiu Jan 19, 2024
93d1b47
Add back ComputeRuntimeDto
ZhidaLiu Jan 19, 2024
cb94dbd
update with feedback
ZhidaLiu Jan 23, 2024
f653327
Update example
ZhidaLiu Jan 23, 2024
e1706df
Update response shema
ZhidaLiu Jan 23, 2024
d3b19ad
downgrade back to v3 common type
ZhidaLiu Jan 26, 2024
242ee72
Update suppression
ZhidaLiu Jan 26, 2024
c2c1b12
try update suppression
ZhidaLiu Jan 26, 2024
970010b
suppress with smaller scope
ZhidaLiu Jan 26, 2024
c80e381
update suppressions location
ZhidaLiu Jan 29, 2024
16793d6
Update suppression and copy cogservice schema
ZhidaLiu Jan 29, 2024
dfe18ec
Update ref
ZhidaLiu Jan 29, 2024
0e760b9
Update suppression path
ZhidaLiu Jan 29, 2024
dda7602
add more larger scope for suppression
ZhidaLiu Jan 30, 2024
5d7c0b0
Update suppression
ZhidaLiu Jan 30, 2024
53783aa
Merge branch 'release-machinelearningservices-Microsoft.MachineLearni…
ZhidaLiu Jan 30, 2024
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,53 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1",
"workspaceName": "testworkspace",
"endpointName": "Azure.OpenAI",
"deploymentName": "text-davinci-003",
"api-version": "2024-01-01-preview",
"body": {
"properties": {
"type": "Azure.OpenAI",
"model": {
"format": "OpenAI",
"name": "text-davinci-003",
"version": "1"
},
"versionUpgradeOption": "OnceNewDefaultVersionAvailable"
}
}
},
"responses": {
"200": {
"body": {
"systemData": {
"createdBy": "00000000-1111-2222-3333-444444444444",
"createdByType": "Application",
"lastModifiedBy": "00000000-1111-2222-3333-444444444444",
"lastModifiedByType": "Application"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/endpoints/Azure.OpenAI/deployments/text-davinci-003",
"name": "text-davinci-003",
"type": "Microsoft.MachineLearningServices/workspaces/endpoints/deployments",
"properties": {
"type": "Azure.OpenAI",
"model": {
"format": "OpenAI",
"name": "text-davinci-003",
"version": "1",
"source": null
},
"versionUpgradeOption": "OnceNewDefaultVersionAvailable",
"raiPolicyName": "Microsoft.Default",
"provisioningState": "Succeeded"
}
}
},
"202": {
"headers": {
"Location": "example_location"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "aml-workspace-name",
"endpointName": "Azure.OpenAI",
"deploymentName": "testDeploymentName",
"api-version": "2024-01-01-preview"
},
"responses": {
"202": {
"headers": {
"Location": "example_location"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1",
"workspaceName": "testworkspace",
"endpointName": "Azure.OpenAI",
"deploymentName": "text-davinci-003",
"api-version": "2024-01-01-preview"
},
"responses": {
"200": {
"body": {
"systemData": {
"createdBy": "00000000-1111-2222-3333-444444444444",
"createdByType": "Application",
"lastModifiedBy": "00000000-1111-2222-3333-444444444444",
"lastModifiedByType": "Application"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/endpoints/Azure.OpenAI/deployments/text-davinci-003",
"name": "text-davinci-003",
"type": "Microsoft.MachineLearningServices/workspaces/endpoints/deployments",
"properties": {
"type": "Azure.OpenAI",
"model": {
"format": "OpenAI",
"name": "text-davinci-003",
"version": "1",
"source": null
},
"versionUpgradeOption": "OnceNewDefaultVersionAvailable",
"raiPolicyName": "Microsoft.Default",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1",
"workspaceName": "testworkspace",
"endpointName": "Azure.OpenAI",
"api-version": "2024-01-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"systemData": {
"createdBy": "00000000-1111-2222-3333-444444444444",
"createdByType": "Application",
"lastModifiedBy": "00000000-1111-2222-3333-444444444444",
"lastModifiedByType": "Application"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/endpoints/Azure.OpenAI/deployments/text-davinci-003",
"name": "text-davinci-003",
"type": "Microsoft.MachineLearningServices/workspaces/endpoints/deployments",
"properties": {
"type": "Azure.OpenAI",
"model": {
"format": "OpenAI",
"name": "text-davinci-003",
"version": "1",
"source": null
},
"versionUpgradeOption": "OnceNewDefaultVersionAvailable",
"raiPolicyName": "Microsoft.Default",
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1",
"workspaceName": "testworkspace",
"api-version": "2024-01-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"systemData": {
"createdBy": "00000000-1111-2222-3333-444444444444",
"createdByType": "Application",
"lastModifiedBy": "00000000-1111-2222-3333-444444444444",
"lastModifiedByType": "Application"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/endpoints/Azure.OpenAI/deployments/text-davinci-003",
"name": "text-davinci-003",
"type": "Microsoft.MachineLearningServices/workspaces/endpoints/deployments",
"properties": {
"type": "Azure.OpenAI",
"model": {
"format": "OpenAI",
"name": "text-davinci-003",
"version": "1",
"source": null
},
"versionUpgradeOption": "OnceNewDefaultVersionAvailable",
"raiPolicyName": "Microsoft.Default",
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "aml-workspace-name",
"endpointName": "Azure.OpenAI",
"api-version": "2024-01-01-preview",
"body": {
"properties": {
"endpointType": "Azure.OpenAI",
"name": "Azure.OpenAI",
"associatedResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveService/account/account-1"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/endpoints/Azure.OpenAI",
"name": "Azure.OpenAI",
"type": "Microsoft.MachineLearningServices/workspaces/endpoints",
"properties": {
"endpointType": "Azure.OpenAI",
"name": "Azure.OpenAI",
"associatedResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveService/account/account-1",
"endpointUri": "https://www.contoso.com/",
"provisioningState": "Succeeded",
"failureReason": "some_string"
},
"systemData": {
"createdAt": "2020-01-01T00:00:00Z",
"createdBy": "some_string",
"createdByType": "ManagedIdentity",
"lastModifiedAt": "2020-01-01T00:00:00Z",
"lastModifiedBy": "some_string",
"lastModifiedByType": "User"
}
}
},
"202": {
"headers": {
"Location": "example_location"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "aml-workspace-name",
"endpointName": "Azure.OpenAI",
"api-version": "2024-01-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/endpoints/Azure.OpenAI",
"name": "Azure.OpenAI",
"type": "Microsoft.MachineLearningServices/workspaces/endpoints",
"properties": {
"endpointType": "Azure.OpenAI",
"name": "Azure.OpenAI",
"associatedResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveService/account/account-1",
"endpointUri": "https://www.contoso.com/",
"provisioningState": "Succeeded",
"failureReason": "some_string"
},
"systemData": {
"createdAt": "2020-01-01T00:00:00Z",
"createdBy": "some_string",
"createdByType": "ManagedIdentity",
"lastModifiedAt": "2020-01-01T00:00:00Z",
"lastModifiedBy": "some_string",
"lastModifiedByType": "User"
}
}
}
}
}
Loading