azure.mgmt.machinelearningcompute.operations module¶
-
class
azure.mgmt.machinelearningcompute.operations.
OperationalizationClustersOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
OperationalizationClustersOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An objec model deserializer.
- Variables
api_version – The version of the Microsoft.MachineLearningCompute resource provider API to use. Constant value: “2017-08-01-preview”.
-
check_system_services_updates_available
(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Checks if updates are available for system services in the cluster.
- Parameters
resource_group_name (str) – Name of the resource group in which the cluster is located.
cluster_name (str) – The name of the cluster.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
CheckSystemServicesUpdatesAvailableResponse or ClientRawResponse if raw=true
- Return type
CheckSystemServicesUpdatesAvailableResponse or ClientRawResponse
- Raises
CloudError
-
create_or_update
(resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, **operation_config)[source]¶ Create or update an operationalization cluster.
- Parameters
resource_group_name (str) – Name of the resource group in which the cluster is located.
cluster_name (str) – The name of the cluster.
parameters (OperationalizationCluster) – Parameters supplied to create or update an Operationalization cluster.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
- Returns
An instance of AzureOperationPoller that returns OperationalizationCluster or ClientRawResponse if raw=true
- Return type
AzureOperationPoller[OperationalizationCluster] or ClientRawResponse
- Raises
-
delete
(resource_group_name, cluster_name, delete_all=None, custom_headers=None, raw=False, **operation_config)[source]¶ Deletes the specified cluster.
- Parameters
resource_group_name (str) – Name of the resource group in which the cluster is located.
cluster_name (str) – The name of the cluster.
delete_all (bool) – If true, deletes all resources associated with this cluster.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
- Returns
An instance of AzureOperationPoller that returns None or ClientRawResponse if raw=true
- Return type
AzureOperationPoller[None] or ClientRawResponse
- Raises
-
get
(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the operationalization cluster resource view. Note that the credentials are not returned by this call. Call ListKeys to get them.
- Parameters
resource_group_name (str) – Name of the resource group in which the cluster is located.
cluster_name (str) – The name of the cluster.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
OperationalizationCluster or ClientRawResponse if raw=true
- Return type
OperationalizationCluster or ClientRawResponse
- Raises
-
list_by_resource_group
(resource_group_name, skiptoken=None, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the clusters in the specified resource group.
- Parameters
resource_group_name (str) – Name of the resource group in which the cluster is located.
skiptoken (str) – Continuation token for pagination.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of OperationalizationCluster
- Return type
- Raises
CloudError
-
list_by_subscription_id
(skiptoken=None, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the operationalization clusters in the specified subscription.
- Parameters
- Returns
An iterator like instance of OperationalizationCluster
- Return type
- Raises
CloudError
-
list_keys
(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ 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.
- Parameters
resource_group_name (str) – Name of the resource group in which the cluster is located.
cluster_name (str) – The name of the cluster.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
OperationalizationClusterCredentials or ClientRawResponse if raw=true
- Return type
OperationalizationClusterCredentials or ClientRawResponse
- Raises
CloudError
-
update
(resource_group_name, cluster_name, tags=None, custom_headers=None, raw=False, **operation_config)[source]¶ The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update other properties.
- Parameters
resource_group_name (str) – Name of the resource group in which the cluster is located.
cluster_name (str) – The name of the cluster.
tags (dict[str, str]) – Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
OperationalizationCluster or ClientRawResponse if raw=true
- Return type
OperationalizationCluster or ClientRawResponse
- Raises
-
update_system_services
(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Updates system services in a cluster.
- Parameters
- Returns
An instance of AzureOperationPoller that returns UpdateSystemServicesResponse or ClientRawResponse if raw=true
- Return type
AzureOperationPoller[UpdateSystemServicesResponse] or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.machinelearningcompute.models' from '/home/vsts/work/1/s/sdk/machinelearning/azure-mgmt-machinelearningcompute/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/machinelearningcompute/models/__init__.py'>¶
-
class
azure.mgmt.machinelearningcompute.operations.
MachineLearningComputeOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
MachineLearningComputeOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An objec model deserializer.
- Variables
api_version – The version of the Microsoft.MachineLearningCompute resource provider API to use. Constant value: “2017-08-01-preview”.
-
list_available_operations
(custom_headers=None, raw=False, **operation_config)[source]¶ Gets all available operations.
- Parameters
- Returns
AvailableOperations or ClientRawResponse if raw=true
- Return type
AvailableOperations or ClientRawResponse
- Raises
CloudError
-
models
= <module 'azure.mgmt.machinelearningcompute.models' from '/home/vsts/work/1/s/sdk/machinelearning/azure-mgmt-machinelearningcompute/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/machinelearningcompute/models/__init__.py'>¶