azure.mgmt.machinelearningcompute.operations module¶
-
class
azure.mgmt.machinelearningcompute.operations.
MachineLearningComputeOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
MachineLearningComputeManagementClient
’smachine_learning_compute
attribute.-
list_available_operations
(**kwargs: Any) → azure.mgmt.machinelearningcompute.models._models_py3.AvailableOperations[source]¶ Gets all available operations.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AvailableOperations or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.machinelearningcompute.models' from '/mnt/vss/_work/1/s/sdk/machinelearning/azure-mgmt-machinelearningcompute/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/machinelearningcompute/models/__init__.py'>¶
-
-
class
azure.mgmt.machinelearningcompute.operations.
OperationalizationClustersOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
MachineLearningComputeManagementClient
’soperationalization_clusters
attribute.-
begin_create_or_update
(resource_group_name: str, cluster_name: str, parameters: _models.OperationalizationCluster, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.OperationalizationCluster][source]¶ -
begin_create_or_update
(resource_group_name: str, cluster_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → LROPoller[_models.OperationalizationCluster] Create or update an operationalization cluster.
- Parameters
resource_group_name (str) – Name of the resource group in which the cluster is located. Required.
cluster_name (str) – The name of the cluster. Required.
parameters (OperationalizationCluster or IO) – Parameters supplied to create or update an Operationalization cluster. Is either a model type or a IO type. Required.
- Keyword Arguments
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either OperationalizationCluster or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, cluster_name: str, delete_all: Optional[bool] = None, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Deletes the specified cluster.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update_system_services
(resource_group_name: str, cluster_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[azure.mgmt.machinelearningcompute.models._models_py3.UpdateSystemServicesResponse][source]¶ Updates system services in a cluster.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either UpdateSystemServicesResponse or the result of cls(response)
- Return type
- Raises
-
check_system_services_updates_available
(resource_group_name: str, cluster_name: str, **kwargs: Any) → azure.mgmt.machinelearningcompute.models._models_py3.CheckSystemServicesUpdatesAvailableResponse[source]¶ Checks if updates are available for system services in the cluster.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
CheckSystemServicesUpdatesAvailableResponse or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, cluster_name: str, **kwargs: Any) → azure.mgmt.machinelearningcompute.models._models_py3.OperationalizationCluster[source]¶ Gets the operationalization cluster resource view. Note that the credentials are not returned by this call. Call ListKeys to get them.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
OperationalizationCluster or the result of cls(response)
- Return type
- Raises
-
list_by_resource_group
(resource_group_name: str, skiptoken: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.machinelearningcompute.models._models_py3.OperationalizationCluster][source]¶ Gets the clusters in the specified resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either OperationalizationCluster or the result of cls(response)
- Return type
- Raises
-
list_by_subscription_id
(skiptoken: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.machinelearningcompute.models._models_py3.OperationalizationCluster][source]¶ Gets the operationalization clusters in the specified subscription.
- Parameters
skiptoken (str) – Continuation token for pagination. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either OperationalizationCluster or the result of cls(response)
- Return type
- Raises
-
list_keys
(resource_group_name: str, cluster_name: str, **kwargs: Any) → azure.mgmt.machinelearningcompute.models._models_py3.OperationalizationClusterCredentials[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
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
OperationalizationClusterCredentials or the result of cls(response)
- Return type
- Raises
-
update
(resource_group_name: str, cluster_name: str, parameters: _models.OperationalizationClusterUpdateParameters, *, content_type: str = "'application/json'", **kwargs: Any) → _models.OperationalizationCluster[source]¶ -
update
(resource_group_name: str, cluster_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.OperationalizationCluster 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. Required.
cluster_name (str) – The name of the cluster. Required.
parameters (OperationalizationClusterUpdateParameters or IO) – The parameters supplied to patch the cluster. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
OperationalizationCluster or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.machinelearningcompute.models' from '/mnt/vss/_work/1/s/sdk/machinelearning/azure-mgmt-machinelearningcompute/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/machinelearningcompute/models/__init__.py'>¶
-