Skip to content

Commit

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

* Copy files from preview/2024-07-01-preview

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

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

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

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

* Fix for Prettier gate failures on Oct24 Preview (Azure#30373)

* [AML]re-order mfe.json in 2024-10-01-preview (Azure#30540)

* re-order mfe.json

* update order for properties

* fix description

* Add InferencePools resource to 2024-10-01-preview  (Azure#30531)

* Add InferencePool APIs to 2024-10-01-preview

* Run Prettier to fix gates

* [AML]re-order mfe.json in 2024-10-01-preview (Azure#30540)

* re-order mfe.json

* update order for properties

* fix description

* rebase main

* Run prettier to fix gates

* Add delta model API - accidentally excluded before

* Add deltamodel examples

* Move delta model examples

* Fix examples

* Update examples to remove outdated properties

* Remove schema

* KeyValuePair

* Update examples with array of KVP

* Update examples with array of KVP

* Update examples with array of KVP

* Run prettier on examples

---------

Co-authored-by: Paula Ledgerwood <paledger@microsoft.com>
Co-authored-by: ZhidaLiu <zhili@microsoft.com>

* [AML] 2024-10-01-preview change for workspace RP (Azure#30651)

* update workspace RP

fix proxy API version parameter

fix format

* Fix JS automation

* update properties

* update with fix

* address feedback

* resolve lintdiff

* Update format

* remove one property

* Updated "WorkspaceRP.json" to add the property `ProvisionNetworkNow`. (Azure#30754)

- To provision the managed VNet with the default Options when creating a Workspace with the managed VNet enabled, or
  else it does nothing

Co-authored-by: Jing Li <jingli8@microsoft.com>

* [MFE][InferencePools] Add operation IDs (Azure#30776)

Co-authored-by: Paula Ledgerwood <paledger@microsoft.com>

* 2024-10-01-preview - Update finetuning job related contracts in oct preview api. (Azure#30798)

* Update finetuning contracts.

* Prettify

* update examples.

* make it prettier.

* Fix gates.

* fix bad json.

* prettify

* Fix the model validation gates.

* Fix model validation gates.

* Fix.

---------

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

* [AML] Add capabilityHosts support in MFE (Azure#30666)

* temp save

* Add capabilityHost support to MFE

* Update location header in example

* Fix errors

* Change readonly location to enum

* Add suppression

* [AML]Update capabilityHost schema (Azure#30957)

* Update capabilityHost

* Update CapabilityHost schema

* Fix typo

* Fix bug in swagger (Azure#31070)

* [AML] Fix LintDiff in staging branch (Azure#31135)

* Add some suppression

* Fixing MFE LintDiff

* Update RP suppression

* Add missing parameter pattern (Azure#31197)

add missing pattern for parameter

Add missing pattern for the parameter

---------

Co-authored-by: ZhidaLiu <zhili@microsoft.com>
Co-authored-by: Paula Ledgerwood <pledgerw@calpoly.edu>
Co-authored-by: Paula Ledgerwood <paledger@microsoft.com>
Co-authored-by: Jing Li <u9009@outlook.com>
Co-authored-by: Jing Li <jingli8@microsoft.com>
Co-authored-by: sagarsumant <sagar.sumant@gmail.com>
Co-authored-by: Sagar Sumant <sasum@microsoft.com>
  • Loading branch information
8 people authored Oct 28, 2024
1 parent 697d0fc commit 98f21ae
Show file tree
Hide file tree
Showing 318 changed files with 59,749 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"name": "capabilityHostName",
"api-version": "2024-10-01-preview",
"body": {
"properties": {
"customerSubnet": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/my-aml-workspace/capabilityHosts/capabilityHostName",
"name": "capabilityHostName",
"type": "Microsoft.MachineLearningServices/workspaces/capabilityHosts",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"customerSubnet": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999+00:22",
"createdBy": "string",
"createdByType": "ManagedIdentity",
"lastModifiedAt": "2020-01-01T12:34:56.999+00:22",
"lastModifiedBy": "string",
"lastModifiedByType": "ManagedIdentity"
}
}
},
"201": {
"headers": {
"Location": "example_location"
},
"body": {
"id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/my-aml-workspace/capabilityHosts/capabilityHostName",
"name": "capabilityHostName",
"type": "Microsoft.MachineLearningServices/workspaces/capabilityHosts",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"customerSubnet": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999+00:22",
"createdBy": "string",
"createdByType": "ManagedIdentity",
"lastModifiedAt": "2020-01-01T12:34:56.999+00:22",
"lastModifiedBy": "string",
"lastModifiedByType": "ManagedIdentity"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"name": "capabilityHostName",
"api-version": "2024-10-01-preview"
},
"responses": {
"202": {
"headers": {
"Location": "location_header_to_poll"
}
},
"204": {}
}
}
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": "my-aml-workspace",
"name": "capabilityHostName",
"api-version": "2024-10-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/my-aml-workspace/capabilityHosts/capabilityHostName",
"name": "capabilityHostName",
"type": "Microsoft.MachineLearningServices/workspaces/capabilityHosts",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"customerSubnet": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999+00:22",
"createdBy": "string",
"createdByType": "ManagedIdentity",
"lastModifiedAt": "2020-01-01T12:34:56.999+00:22",
"lastModifiedBy": "string",
"lastModifiedByType": "ManagedIdentity"
}
}
}
}
}
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-10-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-10-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-10-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-10-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..."
}
}
}
}
Loading

0 comments on commit 98f21ae

Please sign in to comment.