Managed Network Provisions - Provision Managed Network
Provisions the managed network of a machine learning workspace.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/provisionManagedNetwork?api-version=2023-10-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
workspace
|
path | True |
string |
Name of Azure Machine Learning workspace. Regex pattern: |
api-version
|
query | True |
string |
The API version to use for this operation. |
Request Body
Name | Type | Description |
---|---|---|
includeSpark |
boolean |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request was successful; the request was well-formed and received properly. |
|
202 Accepted |
Accepted Headers
|
|
Other Status Codes |
Error |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Provision ManagedNetwork
Sample request
POST https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/provisionManagedNetwork?api-version=2023-10-01
{
"includeSpark": false
}
Sample response
Location: location_url_to_poll_for_status
{
"status": "Active",
"sparkReady": true
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Managed |
Managed Network Provisioning options for managed network of a machine learning workspace. |
Managed |
Status of the Provisioning for the managed network of a machine learning workspace. |
Managed |
Status for the managed network of a machine learning workspace. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
ManagedNetworkProvisionOptions
Managed Network Provisioning options for managed network of a machine learning workspace.
Name | Type | Description |
---|---|---|
includeSpark |
boolean |
ManagedNetworkProvisionStatus
Status of the Provisioning for the managed network of a machine learning workspace.
Name | Type | Description |
---|---|---|
sparkReady |
boolean |
|
status |
Status for the managed network of a machine learning workspace. |
ManagedNetworkStatus
Status for the managed network of a machine learning workspace.
Name | Type | Description |
---|---|---|
Active |
string |
|
Inactive |
string |