KubernetesRole Class

Kubernetes role.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.databoxedge.v2021_02_01_preview.models._models_py3.Role
KubernetesRole

Constructor

KubernetesRole(*, host_platform: Optional[Union[str, azure.mgmt.databoxedge.v2021_02_01_preview.models._data_box_edge_management_client_enums.PlatformType]] = None, kubernetes_cluster_info: Optional[azure.mgmt.databoxedge.v2021_02_01_preview.models._models_py3.KubernetesClusterInfo] = None, kubernetes_role_resources: Optional[azure.mgmt.databoxedge.v2021_02_01_preview.models._models_py3.KubernetesRoleResources] = None, role_status: Optional[Union[str, azure.mgmt.databoxedge.v2021_02_01_preview.models._data_box_edge_management_client_enums.RoleStatus]] = None, **kwargs)

Parameters

kind
str or RoleTypes
Required

Required. Role type.Constant filled by server. Possible values include: "IOT", "ASA", "Functions", "Cognitive", "MEC", "CloudEdgeManagement", "Kubernetes".

host_platform
str or PlatformType
Required

Host OS supported by the Kubernetes role. Possible values include: "Windows", "Linux".

kubernetes_cluster_info
KubernetesClusterInfo
Required

Kubernetes cluster configuration.

kubernetes_role_resources
KubernetesRoleResources
Required

Kubernetes role resources.

role_status
str or RoleStatus
Required

Role status. Possible values include: "Enabled", "Disabled".

Variables

id
str

The path ID that uniquely identifies the object.

name
str

The object name.

type
str

The hierarchical type of the object.

system_data
SystemData

Role configured on ASE resource.

provisioning_state
str or KubernetesState

State of Kubernetes deployment. Possible values include: "Invalid", "Creating", "Created", "Updating", "Reconfiguring", "Failed", "Deleting".

host_platform_type
str or HostPlatformType

Platform where the runtime is hosted. Possible values include: "KubernetesCluster", "LinuxVM".