KubernetesRole Klasa

Rola Kubernetes.

Zmienne są wypełniane tylko przez serwer i będą ignorowane podczas wysyłania żądania.

Aby wysyłać na platformę Azure wszystkie wymagane parametry, należy wypełnić wszystkie wymagane parametry.

Dziedziczenie
azure.mgmt.databoxedge.v2020_09_01_preview.models._models_py3.Role
KubernetesRole

Konstruktor

KubernetesRole(*, host_platform: str | PlatformType | None = None, kubernetes_cluster_info: KubernetesClusterInfo | None = None, kubernetes_role_resources: KubernetesRoleResources | None = None, role_status: str | RoleStatus | None = None, **kwargs)

Parametry

Nazwa Opis
kind
Wymagane

Wymagane. Typ roli. Stała wypełniona przez serwer. Możliwe wartości to: "IOT", "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes".

host_platform
Wymagane

Hostowanie systemu operacyjnego obsługiwanego przez rolę Kubernetes. Możliwe wartości to: "Windows", "Linux".

kubernetes_cluster_info
Wymagane

Konfiguracja klastra Kubernetes.

kubernetes_role_resources
Wymagane

Zasoby roli platformy Kubernetes.

role_status
Wymagane

Stan roli. Możliwe wartości to: "Włączone", "Wyłączone".

Parametry Tylko słowo kluczowe

Nazwa Opis
host_platform
Wymagane
kubernetes_cluster_info
Wymagane
kubernetes_role_resources
Wymagane
role_status
Wymagane

Zmienne

Nazwa Opis
id
str

Identyfikator ścieżki, który jednoznacznie identyfikuje obiekt.

name
str

Nazwa obiektu.

type
str

Hierarchiczny typ obiektu.

system_data

Rola skonfigurowana w zasobie środowiska ASE.

provisioning_state

Stan wdrożenia platformy Kubernetes. Możliwe wartości to: "Invalid", "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting".

host_platform_type

Platforma, na której jest hostowane środowisko uruchomieniowe. Możliwe wartości to: "KubernetesCluster", "LinuxVM".