Container Services - List Orchestrators
Hämtar en lista över orkestrerare som stöds i den angivna prenumerationen. Åtgärden returnerar egenskaperna för varje orchestrator, inklusive version, tillgängliga uppgraderingar och huruvida den versionen eller uppgraderingarna är i förhandsversion.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/orchestrators?api-version=2019-04-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/orchestrators?api-version=2019-04-01&resource-type={resource-type}
URI-parametrar
| Name | I | Obligatorisk | Typ | Description |
|---|---|---|---|---|
|
location
|
path | True |
string |
Namnet på en Azure-region som stöds. |
|
subscription
|
path | True |
string |
Prenumerationsautentiseringsuppgifter som unikt identifierar Microsoft Azure-prenumeration. Prenumerations-ID:t utgör en del av URI:n för varje tjänstanrop. |
|
api-version
|
query | True |
string |
Klient-API-version. |
|
resource-type
|
query |
string |
resurstyp som listan över orkestratorer måste returneras för |
Svar
| Name | Typ | Description |
|---|---|---|
| 200 OK |
OKEJ |
Säkerhet
azure_auth
Azure Active Directory OAuth2-flöde
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Omfattningar
| Name | Description |
|---|---|
| user_impersonation | personifiera ditt användarkonto |
Exempel
List Container Service Orchestrators
Exempelbegäran
GET https://management.azure.com/subscriptions/subid1/providers/Microsoft.ContainerService/locations/location1/orchestrators?api-version=2019-04-01
Exempelsvar
{
"id": "/subscriptions/subid1/providers/Microsoft.ContainerService/locations/location1/orchestrators",
"name": "default",
"type": "Microsoft.ContainerService/locations/orchestrators",
"properties": {
"orchestrators": [
{
"orchestratorType": "DCOS",
"orchestratorVersion": "1.10.0"
},
{
"orchestratorType": "DCOS",
"orchestratorVersion": "1.9.0"
},
{
"orchestratorType": "DCOS",
"orchestratorVersion": "1.8.8"
},
{
"orchestratorType": "Swarm",
"orchestratorVersion": "swarm:1.1.0"
},
{
"orchestratorType": "DockerCE",
"orchestratorVersion": "17.03.*"
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.8.1",
"upgrades": [
{
"orchestratorVersion": "1.8.4"
},
{
"orchestratorVersion": "1.8.2"
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.9.10",
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.9.11",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.10.12",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.10.13",
"isPreview": false
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.9.11",
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.10.12",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.10.13",
"isPreview": false
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.10.12",
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.10.13",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.11.8",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.11.9",
"isPreview": false
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.10.13",
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.11.8",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.11.9",
"isPreview": false
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.11.8",
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.11.9",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.12.6",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.12.7",
"isPreview": false
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.11.9",
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.12.6",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.12.7",
"isPreview": false
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.12.6",
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.12.7",
"isPreview": false
},
{
"orchestratorType": "",
"orchestratorVersion": "1.13.5",
"isPreview": false
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.12.7",
"default": true,
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.13.5",
"isPreview": false
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.13.5",
"upgrades": [
{
"orchestratorType": "",
"orchestratorVersion": "1.14.0",
"isPreview": true
}
]
},
{
"orchestratorType": "Kubernetes",
"orchestratorVersion": "1.14.0",
"isPreview": true
}
]
}
}
Definitioner
| Name | Description |
|---|---|
|
Orchestrator |
Listan över tillgängliga uppgraderingsversioner. |
|
Orchestrator |
Lista över orchestrator-versionsprofiler. |
|
Orchestrator |
Listan över versioner för orkestratorer som stöds. |
OrchestratorProfile
Listan över tillgängliga uppgraderingsversioner.
| Name | Typ | Description |
|---|---|---|
| isPreview |
boolean |
Om Kubernetes-versionen för närvarande är i förhandsversion. |
| orchestratorType |
string |
Orchestrator-typ. |
| orchestratorVersion |
string |
Orchestrator-version (huvudversion, delversion, korrigering). |
OrchestratorVersionProfile
Lista över orchestrator-versionsprofiler.
| Name | Typ | Description |
|---|---|---|
| default |
boolean |
Installeras som standard om versionen inte har angetts. |
| isPreview |
boolean |
Om Kubernetes-versionen för närvarande är i förhandsversion. |
| orchestratorType |
string |
Orchestrator-typ. |
| orchestratorVersion |
string |
Orchestrator-version (huvudversion, delversion, korrigering). |
| upgrades |
Listan över tillgängliga uppgraderingsversioner. |
OrchestratorVersionProfileListResult
Listan över versioner för orkestratorer som stöds.
| Name | Typ | Description |
|---|---|---|
| id |
string |
ID för orchestrator-versionsprofillistans resultat. |
| name |
string |
Namnet på orkestreringsversionsprofillistans resultat. |
| properties.orchestrators |
Lista över orchestrator-versionsprofiler. |
|
| type |
string |
Typ av orkestreringsversionsprofillistans resultat. |