Partilhar via


ArmKubernetesConfigurationModelFactory.KubernetesObjectStatus Method

Definition

Initializes a new instance of KubernetesObjectStatus.

public static Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectStatus KubernetesObjectStatus (string name = default, string namespace = default, string kind = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesFluxComplianceState? complianceState = default, Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectReference appliedBy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectStatusCondition> statusConditions = default, Azure.ResourceManager.KubernetesConfiguration.Models.HelmReleaseProperties helmReleaseProperties = default);
static member KubernetesObjectStatus : string * string * string * Nullable<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesFluxComplianceState> * Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectReference * seq<Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectStatusCondition> * Azure.ResourceManager.KubernetesConfiguration.Models.HelmReleaseProperties -> Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectStatus
Public Shared Function KubernetesObjectStatus (Optional name As String = Nothing, Optional namespace As String = Nothing, Optional kind As String = Nothing, Optional complianceState As Nullable(Of KubernetesFluxComplianceState) = Nothing, Optional appliedBy As KubernetesObjectReference = Nothing, Optional statusConditions As IEnumerable(Of KubernetesObjectStatusCondition) = Nothing, Optional helmReleaseProperties As HelmReleaseProperties = Nothing) As KubernetesObjectStatus

Parameters

name
String

Name of the applied object.

namespace
String

Namespace of the applied object.

kind
String

Kind of the applied object.

complianceState
Nullable<KubernetesFluxComplianceState>

Compliance state of the applied object showing whether the applied object has come into a ready state on the cluster.

appliedBy
KubernetesObjectReference

Object reference to the Kustomization that applied this object.

statusConditions
IEnumerable<KubernetesObjectStatusCondition>

List of Kubernetes object status conditions present on the cluster.

helmReleaseProperties
HelmReleaseProperties

Additional properties that are provided from objects of the HelmRelease kind.

Returns

A new KubernetesObjectStatus instance for mocking.

Applies to