Deployments.GetModelDeploymentAsync 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.
Overloads
GetModelDeploymentAsync(String, RequestContext)
- Source:
- Deployments.cs
public virtual System.Threading.Tasks.Task<Azure.AI.Projects.ModelDeployment> GetModelDeploymentAsync(string name, Azure.RequestContext context);
abstract member GetModelDeploymentAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.AI.Projects.ModelDeployment>
override this.GetModelDeploymentAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.AI.Projects.ModelDeployment>
Public Overridable Function GetModelDeploymentAsync (name As String, context As RequestContext) As Task(Of ModelDeployment)
Parameters
- name
- String
- context
- RequestContext
Returns
Applies to
GetModelDeploymentAsync(String, CancellationToken)
- Source:
- Deployments.cs
public virtual System.Threading.Tasks.Task<Azure.AI.Projects.ModelDeployment> GetModelDeploymentAsync(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetModelDeploymentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.Projects.ModelDeployment>
override this.GetModelDeploymentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.Projects.ModelDeployment>
Public Overridable Function GetModelDeploymentAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ModelDeployment)
Parameters
- name
- String
- cancellationToken
- CancellationToken