Share via


KubernetesComputeStatus Class

Represents detailed status information about an KubernetesCompute target.

Use the get_status method of the KubernetesCompute class to return status information.

Initialize a KubernetesComputeStatus object.

Constructor

KubernetesComputeStatus(creation_time, modified_time, provisioning_state)

Parameters

Name Description
creation_time
Required

The cluster creation time.

modified_time
Required

The cluster modification time.

provisioning_state
Required
str

The current provisioning state of the cluster.

creation_time
Required

The cluster creation time.

modified_time
Required

The cluster modification time.

provisioning_state
Required
str

The current provisioning state of the cluster.

Methods

deserialize

Convert a JSON object into an KubernetesComputeStatus object.

serialize

Convert this KubernetesComputeStatus object into a JSON serialized dictionary.

deserialize

Convert a JSON object into an KubernetesComputeStatus object.

static deserialize(object_dict)

Parameters

Name Description
object_dict
Required

A JSON object to convert to an KubernetesComputeStatus object.

Returns

Type Description
<xref:azureml.core.compute.KubernetesCompute.KubernetesComputeStatus>

The KubernetesComputeStatus representation of the provided JSON object.

Exceptions

Type Description

serialize

Convert this KubernetesComputeStatus object into a JSON serialized dictionary.

serialize()

Returns

Type Description

The JSON representation of this KubernetesComputeStatus object.