Skip to main content

operationalization_clusters

Creates, updates, deletes, gets or lists an operationalization_clusters resource.

Overview

Nameoperationalization_clusters
TypeResource
Idazure.machine_learning_compute.operationalization_clusters

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringSpecifies the resource ID.
namestringSpecifies the name of the resource.
appInsightsobjectAppInsights configuration.
clusterTypestringThe cluster type. Known values are: "ACS" and "Local".
containerRegistryobjectContainer Registry properties.
containerServiceobjectParameters for the Azure Container Service cluster.
createdOnstring (date-time)The date and time when the cluster was created.
descriptionstringThe description of the cluster.
globalServiceConfigurationobjectContains global configuration for the web services in the cluster.
locationstringSpecifies the location of the resource. Required.
modifiedOnstring (date-time)The date and time when the cluster was last modified.
provisioningErrorsarrayList of provisioning errors reported by the resource provider.
provisioningStatestringThe provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Known values are: "Unknown", "Updating", "Creating", "Deleting", "Succeeded", "Failed", and "Canceled".
storageAccountobjectStorage Account properties.
tagsobjectContains resource tags defined as key/value pairs.
typestringSpecifies the type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_name, subscription_idGets the operationalization cluster resource view. Note that the credentials are not returned by this call. Call ListKeys to get them.
list_by_resource_groupselectresource_group_name, subscription_id$skiptokenGets the clusters in the specified resource group.
list_by_subscription_idselectsubscription_id$skiptokenGets the operationalization clusters in the specified subscription.
create_or_updateinsertresource_group_name, cluster_name, subscription_id, locationCreate or update an operationalization cluster.
updateupdateresource_group_name, cluster_name, subscription_idThe PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update other properties.
create_or_updatereplaceresource_group_name, cluster_name, subscription_id, locationCreate or update an operationalization cluster.
deletedeleteresource_group_name, cluster_name, subscription_iddeleteAllDeletes the specified cluster.
list_keysexecresource_group_name, cluster_name, subscription_idGets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a long running operation because it fetches keys from dependencies.
check_system_services_updates_availableexecresource_group_name, cluster_name, subscription_idChecks if updates are available for system services in the cluster.
update_system_servicesexecresource_group_name, cluster_name, subscription_idUpdates system services in a cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cluster_namestringThe name of the cluster. Required.
resource_group_namestringName of the resource group in which the cluster is located. Required.
subscription_idstring
$skiptokenstringContinuation token for pagination. Default value is None.
deleteAllbooleanIf true, deletes all resources associated with this cluster. Default value is None.

SELECT examples

Gets the operationalization cluster resource view. Note that the credentials are not returned by this call. Call ListKeys to get them.

SELECT
id,
name,
appInsights,
clusterType,
containerRegistry,
containerService,
createdOn,
description,
globalServiceConfiguration,
location,
modifiedOn,
provisioningErrors,
provisioningState,
storageAccount,
tags,
type
FROM azure.machine_learning_compute.operationalization_clusters
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update an operationalization cluster.

INSERT INTO azure.machine_learning_compute.operationalization_clusters (
location,
tags,
properties,
resource_group_name,
cluster_name,
subscription_id
)
SELECT
'{{ location }}' /* required */,
'{{ tags }}',
'{{ properties }}',
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
tags,
type
;

UPDATE examples

The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update other properties.

UPDATE azure.machine_learning_compute.operationalization_clusters
SET
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
tags,
type;

REPLACE examples

Create or update an operationalization cluster.

REPLACE azure.machine_learning_compute.operationalization_clusters
SET
location = '{{ location }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
RETURNING
id,
name,
location,
properties,
tags,
type;

DELETE examples

Deletes the specified cluster.

DELETE FROM azure.machine_learning_compute.operationalization_clusters
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND deleteAll = '{{ deleteAll }}'
;

Lifecycle Methods

Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a long running operation because it fetches keys from dependencies.

EXEC azure.machine_learning_compute.operationalization_clusters.list_keys 
@resource_group_name='{{ resource_group_name }}' --required,
@cluster_name='{{ cluster_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;