MachineLearningWorkspaceResource.GetMachineLearningCompute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a compute resource.
public virtual Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningComputeResource> GetMachineLearningCompute(string computeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningCompute : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningComputeResource>
override this.GetMachineLearningCompute : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningComputeResource>
Public Overridable Function GetMachineLearningCompute (computeName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MachineLearningComputeResource)
Parameters
- computeName
- String
Name of the Azure Machine Learning compute.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
computeName is null.
computeName is an empty string, and was expected to be non-empty.