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
resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

The ID of the target subscription.

workspaceName
path True

string

Name of Azure Machine Learning workspace.

Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$

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

ManagedNetworkProvisionStatus

The request was successful; the request was well-formed and received properly.

202 Accepted

Accepted

Headers

  • Location: string
  • Retry-After: integer
Other Status Codes

ErrorResponse

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
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

ManagedNetworkProvisionOptions

Managed Network Provisioning options for managed network of a machine learning workspace.

ManagedNetworkProvisionStatus

Status of the Provisioning for the managed network of a machine learning workspace.

ManagedNetworkStatus

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

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

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

ManagedNetworkStatus

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