Skip to content

Commit

Permalink
Release machinelearningservices microsoft.machine learning services 2…
Browse files Browse the repository at this point in the history
…024 07 01 preview (#29503)

* Copy files from stable/2024-04-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2024-07-01-preview

Updated the API version from stable/2024-04-01 to preview/2024-07-01-preview.

* Added tag for 2024-07-01-preview in readme file

* Changing MFE ARM Spec to add support for expirable secrets to the listsecrets API (#29519)

* add expirable secrets

* examples + spelling

* prettier + spell check

---------

Co-authored-by: Kayla Ames <kaseager@microsoft.com>

* Fix Prettier errors (#29523)

* Fix Prettier errors

* Add pre-approved supressions

* fix formatting

* Add finetuning job with maap contracts. (#29638)

* Add finetuning job with maap contracts.

* prettier

* adding exceptions.

* add reference to examples.

* prettier

* Fix gate.

* Fixed the comment, added "FineTuning" in JobType.

* Fixed comment.

---------

Co-authored-by: Sagar Sumant <sasum@microsoft.com>

* WRP 2024-07-01-preview swagger change (#29729)

* sync with previous preview

* Update exmaples

* Update more example and readme

* Update suppression from previous preview

* Adding ManagedResourceGroupSettings to RegistryRP in 2024-07-01-Preview (#29657)

* tc: adding managedResrouceGroupSettings to 2024-07-01-preview

* tc: adding missing definitions

* tc: adding more definitions

* tc: applying changes based on comments

* tc: adding SDK suppression for UUID formatting

* tc: removing the suppression - because I don't think this is right

* tc: adding guid suppression - not sure if it's the correct format

* tc: adding suppressions.yaml

* tc: put suppression in readme file

---------

Co-authored-by: Theodore Chen <theodorechen@microsoft.com>

* [WRP] 2024-07-01-preview change (#29861)

* Add changes for 07-01-preview

* add missing properties

* rename example

* rename example

* Update Schema

* Update type dicriminator

* Fix errors

* Error fix

* Update example and readme

* run prettier

* Rename to fix some schema name conflict

* Update suppressions

* Update comment feedbacks

* run prettier

---------

Co-authored-by: Kayla Seager <1675997+kseager@users.noreply.github.com>
Co-authored-by: Kayla Ames <kaseager@microsoft.com>
Co-authored-by: sagarsumant <sagar.sumant@gmail.com>
Co-authored-by: Sagar Sumant <sasum@microsoft.com>
Co-authored-by: ZhidaLiu <zhili@microsoft.com>
Co-authored-by: Theodore Chen <theodoreschen@gmail.com>
Co-authored-by: Theodore Chen <theodorechen@microsoft.com>
  • Loading branch information
8 people authored and hmmorales committed Jul 31, 2024
1 parent 8fcc01c commit bb27415
Show file tree
Hide file tree
Showing 296 changed files with 55,437 additions and 14 deletions.
7 changes: 6 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,12 @@
"Groundedness",
"AOAI",
"testconnection",
"aoai"
"aoai",
"SecretExpiry",
"expirableSecret",
"expireAfterHours",
"expire",
"expirable"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"computeName": "compute123",
"api-version": "2024-07-01-preview",
"parameters": {
"location": "eastus",
"properties": {
"description": "some compute",
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
"computeType": "AKS",
"properties": {
"agentCount": 4
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus",
"properties": {
"description": "some compute",
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
"computeType": "AKS",
"provisioningState": "Succeeded",
"properties": {
"agentCount": 4
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus",
"properties": {
"description": "some compute",
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
"computeType": "AKS",
"provisioningState": "Updating"
}
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"computeName": "compute123",
"api-version": "2024-07-01-preview",
"parameters": {
"location": "eastus",
"properties": {
"computeType": "AmlCompute",
"description": "some compute",
"properties": {
"scaleSettings": {
"maxNodeCount": 4,
"minNodeCount": 4,
"nodeIdleTimeBeforeScaleDown": "PT5M"
}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus2",
"properties": {
"description": "some compute",
"createdOn": "2021-04-01T22:00:00.0000000+00:00",
"modifiedOn": "2021-04-01T22:00:00.0000000+00:00",
"computeType": "AmlCompute",
"provisioningState": "Succeeded",
"properties": {
"vmSize": "STANDARD_NC6",
"vmPriority": "Dedicated",
"osType": "Windows",
"virtualMachineImage": null,
"isolatedNetwork": false,
"subnet": {
"id": "test-subnet-resource-id"
},
"scaleSettings": {
"maxNodeCount": 1,
"minNodeCount": 0,
"nodeIdleTimeBeforeScaleDown": "PT5M"
},
"remoteLoginPortPublicAccess": "Enabled",
"allocationState": "Resizing",
"allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
"errors": null,
"currentNodeCount": 0,
"targetNodeCount": 1,
"nodeStateCounts": {
"preparingNodeCount": 0,
"runningNodeCount": 0,
"idleNodeCount": 0,
"unusableNodeCount": 0,
"leavingNodeCount": 0,
"preemptedNodeCount": 0
},
"enableNodePublicIp": true
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus2",
"properties": {
"description": "some compute",
"computeType": "AmlCompute",
"provisioningState": "Updating"
}
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"computeName": "compute123",
"api-version": "2024-07-01-preview",
"parameters": {
"location": "eastus",
"properties": {
"computeType": "AKS"
}
}
},
"responses": {
"200": {
"body": {
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus",
"properties": {
"computeType": "AKS",
"provisioningState": "Creating"
}
}
},
"201": {
"body": {
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus",
"properties": {
"computeType": "AKS",
"provisioningState": "Creating"
}
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"computeName": "compute123",
"api-version": "2024-07-01-preview",
"parameters": {
"location": "eastus",
"properties": {
"computeType": "AmlCompute",
"properties": {
"vmSize": "STANDARD_NC6",
"vmPriority": "Dedicated",
"osType": "Windows",
"virtualMachineImage": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myImageGallery/images/myImageDefinition/versions/0.0.1"
},
"isolatedNetwork": false,
"scaleSettings": {
"maxNodeCount": 1,
"minNodeCount": 0,
"nodeIdleTimeBeforeScaleDown": "PT5M"
},
"remoteLoginPortPublicAccess": "NotSpecified",
"enableNodePublicIp": true
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus",
"properties": {
"computeType": "AmlCompute",
"provisioningState": "Creating"
}
}
},
"201": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus",
"properties": {
"computeType": "AmlCompute",
"provisioningState": "Creating"
}
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"computeName": "compute123",
"api-version": "2024-07-01-preview",
"parameters": {
"location": "eastus",
"properties": {
"computeType": "DataFactory"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus",
"properties": {
"computeType": "DataFactory",
"provisioningState": "Creating"
}
}
},
"201": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"name": "compute123",
"location": "eastus",
"properties": {
"computeType": "DataFactory",
"provisioningState": "Creating"
}
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
Loading

0 comments on commit bb27415

Please sign in to comment.