ComputesClient Interface
public interface ComputesClient
An instance of this class provides access to all the operations defined in ComputesClient.
Method Summary
Method Details
beginCreateOrUpdate
public abstract SyncPoller<PollResult<ComputeResourceInner>,ComputeResourceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String computeName, ComputeResourceInner parameters)
Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller<PollResult<ComputeResourceInner>,ComputeResourceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String computeName, ComputeResourceInner parameters, Context context)
Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String computeName, UnderlyingResourceAction underlyingResourceAction)
Deletes specified Machine Learning compute.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String computeName, UnderlyingResourceAction underlyingResourceAction, Context context)
Deletes specified Machine Learning compute.
Parameters:
Returns:
beginRestart
public abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String workspaceName, String computeName)
Posts a restart action to a compute instance.
Parameters:
Returns:
beginRestart
public abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String workspaceName, String computeName, Context context)
Posts a restart action to a compute instance.
Parameters:
Returns:
beginStart
public abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String workspaceName, String computeName)
Posts a start action to a compute instance.
Parameters:
Returns:
beginStart
public abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String workspaceName, String computeName, Context context)
Posts a start action to a compute instance.
Parameters:
Returns:
beginStop
public abstract SyncPoller<PollResult<Void>,Void> beginStop(String resourceGroupName, String workspaceName, String computeName)
Posts a stop action to a compute instance.
Parameters:
Returns:
beginStop
public abstract SyncPoller<PollResult<Void>,Void> beginStop(String resourceGroupName, String workspaceName, String computeName, Context context)
Posts a stop action to a compute instance.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<ComputeResourceInner>,ComputeResourceInner> beginUpdate(String resourceGroupName, String workspaceName, String computeName, ClusterUpdateParameters parameters)
Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<ComputeResourceInner>,ComputeResourceInner> beginUpdate(String resourceGroupName, String workspaceName, String computeName, ClusterUpdateParameters parameters, Context context)
Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
Parameters:
Returns:
createOrUpdate
public abstract ComputeResourceInner createOrUpdate(String resourceGroupName, String workspaceName, String computeName, ComputeResourceInner parameters)
Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
Parameters:
Returns:
createOrUpdate
public abstract ComputeResourceInner createOrUpdate(String resourceGroupName, String workspaceName, String computeName, ComputeResourceInner parameters, Context context)
Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String workspaceName, String computeName, UnderlyingResourceAction underlyingResourceAction)
Deletes specified Machine Learning compute.
Parameters:
delete
public abstract void delete(String resourceGroupName, String workspaceName, String computeName, UnderlyingResourceAction underlyingResourceAction, Context context)
Deletes specified Machine Learning compute.
Parameters:
get
public abstract ComputeResourceInner get(String resourceGroupName, String workspaceName, String computeName)
Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.
Parameters:
Returns:
getWithResponse
public abstract Response<ComputeResourceInner> getWithResponse(String resourceGroupName, String workspaceName, String computeName, Context context)
Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.
Parameters:
Returns:
list
public abstract PagedIterable<ComputeResourceInner> list(String resourceGroupName, String workspaceName)
Gets computes in specified workspace.
Parameters:
Returns:
list
public abstract PagedIterable<ComputeResourceInner> list(String resourceGroupName, String workspaceName, String skip, Context context)
Gets computes in specified workspace.
Parameters:
Returns:
listKeys
public abstract ComputeSecretsInner listKeys(String resourceGroupName, String workspaceName, String computeName)
Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
Parameters:
Returns:
listKeysWithResponse
public abstract Response<ComputeSecretsInner> listKeysWithResponse(String resourceGroupName, String workspaceName, String computeName, Context context)
Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).
Parameters:
Returns:
listNodes
public abstract PagedIterable<AmlComputeNodeInformation> listNodes(String resourceGroupName, String workspaceName, String computeName)
Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
Parameters:
Returns:
listNodes
public abstract PagedIterable<AmlComputeNodeInformation> listNodes(String resourceGroupName, String workspaceName, String computeName, Context context)
Get the details (e.g IP address, port etc) of all the compute nodes in the compute.
Parameters:
Returns:
restart
public abstract void restart(String resourceGroupName, String workspaceName, String computeName)
Posts a restart action to a compute instance.
Parameters:
restart
public abstract void restart(String resourceGroupName, String workspaceName, String computeName, Context context)
Posts a restart action to a compute instance.
Parameters:
start
public abstract void start(String resourceGroupName, String workspaceName, String computeName)
Posts a start action to a compute instance.
Parameters:
start
public abstract void start(String resourceGroupName, String workspaceName, String computeName, Context context)
Posts a start action to a compute instance.
Parameters:
stop
public abstract void stop(String resourceGroupName, String workspaceName, String computeName)
Posts a stop action to a compute instance.
Parameters:
stop
public abstract void stop(String resourceGroupName, String workspaceName, String computeName, Context context)
Posts a stop action to a compute instance.
Parameters:
update
public abstract ComputeResourceInner update(String resourceGroupName, String workspaceName, String computeName, ClusterUpdateParameters parameters)
Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
Parameters:
Returns:
update
public abstract ComputeResourceInner update(String resourceGroupName, String workspaceName, String computeName, ClusterUpdateParameters parameters, Context context)
Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.
Parameters:
Returns: