Show / Hide Table of Contents

Class ControllerRevision

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.

Inheritance
System.Object
Resource
CustomResource
KubernetesResource
ControllerRevision
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Apps.V1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class ControllerRevision : KubernetesResource

Constructors

View Source

ControllerRevision(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 Source

ApiVersion

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.