@pulumi/kubernetes
Version:
[](https://github.com/pulumi/pulumi-kubernetes/actions) [](https://slack.pulumi.com) [: StatefulSet;
/**
* Returns true if the given object is an instance of StatefulSet. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is StatefulSet;
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
readonly apiVersion: pulumi.Output<"apps/v1beta2">;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
readonly kind: pulumi.Output<"StatefulSet">;
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
/**
* Spec defines the desired identities of pods in this set.
*/
readonly spec: pulumi.Output<outputs.apps.v1beta2.StatefulSetSpec>;
/**
* Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
*/
readonly status: pulumi.Output<outputs.apps.v1beta2.StatefulSetStatus>;
/**
* Create a StatefulSet resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
/** @deprecated apps/v1beta2/StatefulSet is deprecated by apps/v1/StatefulSet and not supported by Kubernetes v1.16+ clusters. */
constructor(name: string, args?: StatefulSetArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a StatefulSet resource.
*/
export interface StatefulSetArgs {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
*/
apiVersion?: pulumi.Input<"apps/v1beta2" | undefined>;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
*/
kind?: pulumi.Input<"StatefulSet" | undefined>;
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
/**
* Spec defines the desired identities of pods in this set.
*/
spec?: pulumi.Input<inputs.apps.v1beta2.StatefulSetSpec | undefined>;
}
//# sourceMappingURL=statefulSet.d.ts.map