Delen via


Kube Environments - Get

Beschrijving voor het ophalen van de eigenschappen van een Kubernetes-omgeving.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}?api-version=2024-04-01

URI-parameters

Name In Vereist Type Description
name
path True

string

Naam van de Kubernetes-omgeving.

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+[^\.]$

Naam van de resourcegroep waartoe de resource behoort.

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000000).

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

KubeEnvironment

OK

Other Status Codes

DefaultErrorResponse

Foutreactie van App Service.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

Get kube environments by name

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1?api-version=2024-04-01

Voorbeeldrespons

{
  "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.Web/kubeEnvironments/jlaw-demo1",
  "name": "jlaw-demo1",
  "type": "Microsoft.Web/kubeEnvironments",
  "location": "North Central US",
  "extendedLocation": {
    "name": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation",
    "type": "customLocation"
  },
  "tags": {},
  "properties": {
    "provisioningState": "Succeeded",
    "deploymentErrors": null,
    "internalLoadBalancerEnabled": false,
    "defaultDomain": "jlaw-demo1.k4apps.io",
    "staticIp": "20.42.33.145",
    "arcConfiguration": null,
    "appLogsConfiguration": null,
    "aksResourceID": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ContainerService/managedClusters/jlaw-demo1"
  }
}

Definities

Name Description
AppLogsConfiguration
ArcConfiguration
ContainerAppsConfiguration
DefaultErrorResponse

Foutreactie van App Service.

Details
Error

Foutmodel.

ExtendedLocation

Uitgebreide locatie.

FrontEndConfiguration
FrontEndServiceType
KubeEnvironment

Een Kubernetes-cluster dat is gespecialiseerd voor webworkloads door Azure App Service

KubeEnvironmentProvisioningState

Inrichtingsstatus van de Kubernetes-omgeving.

LogAnalyticsConfiguration
StorageType

AppLogsConfiguration

Name Type Description
destination

string

logAnalyticsConfiguration

LogAnalyticsConfiguration

ArcConfiguration

Name Type Description
artifactStorageAccessMode

string

artifactStorageClassName

string

artifactStorageMountPath

string

artifactStorageNodeName

string

artifactsStorageType

StorageType

frontEndServiceConfiguration

FrontEndConfiguration

kubeConfig

string

ContainerAppsConfiguration

Name Type Description
appSubnetResourceId

string

Resource-id van een subnet voor onderdelen van de besturingsvlakinfrastructuur. Dit subnet moet zich in hetzelfde VNET bevinden als het subnet dat is gedefinieerd in appSubnetResourceId. Mag niet overlappen met het IP-bereik dat is gedefinieerd in platformReservedCidr, indien gedefinieerd.

controlPlaneSubnetResourceId

string

Resource-id van een subnet voor onderdelen van de besturingsvlakinfrastructuur. Dit subnet moet zich in hetzelfde VNET bevinden als het subnet dat is gedefinieerd in appSubnetResourceId. Mag niet overlappen met het IP-bereik dat is gedefinieerd in platformReservedCidr, indien gedefinieerd.

daprAIInstrumentationKey

string

Azure Monitor-instrumentatiesleutel die door Dapr wordt gebruikt voor het exporteren van telemetrie van service-naar-service-communicatie

dockerBridgeCidr

string

CIDR-notatie-IP-bereik dat is toegewezen aan het Docker-brugnetwerk. Het mag niet overlappen met subnet-IP-bereiken of het IP-bereik dat is gedefinieerd in platformReservedCidr, indien gedefinieerd.

platformReservedCidr

string

IP-bereik in CIDR-notatie die kan worden gereserveerd voor IP-adressen van de omgevingsinfrastructuur. Deze mag niet overlappen met andere IP-adresbereiken van het subnet.

platformReservedDnsIP

string

Een IP-adres uit het IP-bereik dat is gedefinieerd door platformReservedCidr die wordt gereserveerd voor de interne DNS-server

DefaultErrorResponse

Foutreactie van App Service.

Name Type Description
error

Error

Foutmodel.

Details

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsgegevens.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsgegevens.

Error

Foutmodel.

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

details

Details[]

Gedetailleerde fouten.

innererror

string

Meer informatie over foutopsporing.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsgegevens.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsgegevens.

ExtendedLocation

Uitgebreide locatie.

Name Type Description
name

string

Naam van uitgebreide locatie.

type

string

Type uitgebreide locatie.

FrontEndConfiguration

Name Type Description
kind

FrontEndServiceType

FrontEndServiceType

Waarde Description
LoadBalancer
NodePort

KubeEnvironment

Een Kubernetes-cluster dat is gespecialiseerd voor webworkloads door Azure App Service

Name Type Description
extendedLocation

ExtendedLocation

Uitgebreide locatie.

id

string

Resource-id.

kind

string

Soort resource. Als de resource een app is, kunt u verwijzen naar https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference voor meer informatie over ondersteunde waarden voor soort.

location

string

Resourcelocatie.

name

string

Resourcenaam.

properties.aksResourceID

string

properties.appLogsConfiguration

AppLogsConfiguration

Clusterconfiguratie waarmee de logboekdemon app-logboeken naar een bestemming kan exporteren. Momenteel wordt alleen 'log-analytics' ondersteund

properties.arcConfiguration

ArcConfiguration

Clusterconfiguratie waarmee de typen ARC-clusteronderdelen worden bepaald. Bijvoorbeeld: Kiezen tussen BuildService-soort, FrontEnd Service ArtifactsStorageType, enzovoort.

properties.containerAppsConfiguration

ContainerAppsConfiguration

Clusterconfiguratie voor Container Apps-omgevingen voor het configureren van de Dapr Instrumentation-sleutel en VNET-configuratie

properties.defaultDomain

string

Standaarddomeinnaam voor het cluster

properties.deploymentErrors

string

Eventuele fouten die zijn opgetreden tijdens de implementatie of implementatievalidatie

properties.environmentType

string

Type Kubernetes-omgeving. Alleen ondersteund voor container-app-omgevingen met waarde als beheerd

properties.internalLoadBalancerEnabled

boolean

Alleen zichtbaar in Vnet/Subnet

properties.provisioningState

KubeEnvironmentProvisioningState

Inrichtingsstatus van de Kubernetes-omgeving.

properties.staticIp

string

Statisch IP-adres van kubeEnvironment

tags

object

Resourcetags.

type

string

Resourcetype.

KubeEnvironmentProvisioningState

Inrichtingsstatus van de Kubernetes-omgeving.

Waarde Description
Canceled
Failed
InfrastructureSetupComplete
InfrastructureSetupInProgress
InitializationInProgress
ScheduledForDelete
Succeeded
UpgradeFailed
UpgradeRequested
Waiting

LogAnalyticsConfiguration

Name Type Description
customerId

string

sharedKey

string

StorageType

Waarde Description
LocalNode
NetworkFileSystem