Condividi tramite


Aks.ContainerServicesListOrchestratorsViaIdentity 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 ContainerServicesListOrchestratorsViaIdentity (string viaIdentity, 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.ContainerServicesListOrchestratorsViaIdentity : 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 ContainerServicesListOrchestratorsViaIdentity (viaIdentity As String, resourceType As String, onOk As Func(Of HttpResponseMessage, Task(Of IOrchestratorVersionProfileListResult), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

viaIdentity
String
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