-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AML] Add capabilityHosts support in MFE (#30666)
* temp save * Add capabilityHost support to MFE * Update location header in example * Fix errors * Change readonly location to enum * Add suppression
- Loading branch information
Showing
5 changed files
with
416 additions
and
0 deletions.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
...neLearningServices/preview/2024-10-01-preview/examples/CapabilityHost/createOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ft.MachineLearningServices/preview/2024-10-01-preview/examples/CapabilityHost/delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...osoft.MachineLearningServices/preview/2024-10-01-preview/examples/CapabilityHost/get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.