Class ControllerRevision
DEPRECATED - apps/v1beta1/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters.
ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
Inherited Members
Namespace: Pulumi.Kubernetes.Apps.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class ControllerRevision : KubernetesResource
Constructors
View SourceControllerRevision(String, ControllerRevisionArgs, CustomResourceOptions)
Create a ControllerRevision resource with the given unique name, arguments, and options.
Declaration
public ControllerRevision(string name, ControllerRevisionArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ControllerRevisionArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceApiVersion
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
Declaration
public Output<string> ApiVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Data
Data is the serialized representation of the state.
Declaration
public Output<Json.JsonElement> Data { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Text.Json.JsonElement> |
Kind
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
Declaration
public Output<string> Kind { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Metadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Declaration
public Output<ObjectMeta> Metadata { get; }
Property Value
| Type | Description |
|---|---|
| Output<ObjectMeta> |
Revision
Revision indicates the revision of the state represented by Data.
Declaration
public Output<int> Revision { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, CustomResourceOptions)
Get an existing ControllerRevision resource's state with the given name and ID.
Declaration
public static ControllerRevision Get(string name, Input<string> id, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ControllerRevision |