Lingua

MachineLearningWorkspaceResource.GetCapabilityHostAsync Method

Definition

Get capabilityHost.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.CapabilityHostResource>> GetCapabilityHostAsync(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCapabilityHostAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.CapabilityHostResource>>
override this.GetCapabilityHostAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.CapabilityHostResource>>
Public Overridable Function GetCapabilityHostAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CapabilityHostResource))

Parameters

name
String

CapabilityHost name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Applies to