你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Aks.ContainerServicesListOrchestrators Method

Definition

Gets a list of supported orchestrators in the specified subscription. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview.

public System.Threading.Tasks.Task ContainerServicesListOrchestrators (string subscriptionId, string location, string resourceType, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult>,System.Threading.Tasks.Task> onOk, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync sender);
member this.ContainerServicesListOrchestrators : string * string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function ContainerServicesListOrchestrators (subscriptionId As String, location As String, resourceType As String, onOk As Func(Of HttpResponseMessage, Task(Of IOrchestratorVersionProfileListResult), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

subscriptionId
String

The ID of the target subscription.

location
String

The name of a supported Azure region.

resourceType
String

resource type for which the list of orchestrators needs to be returned

onOk
Func<HttpResponseMessage,Task<IOrchestratorVersionProfileListResult>,Task>

a delegate that is called when the remote service returns 200 (OK).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to