Module policy/v1beta1

This page documents the language specification for the kubernetes package. If you're looking for help working with the inputs, outputs, or functions of kubernetes resources in a Pulumi program, please see the resource documentation for examples and API reference.

Resources

Others

Resources

Resource PodDisruptionBudget

class PodDisruptionBudget extends CustomResource

PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods

constructor

new PodDisruptionBudget(name: string, args?: PodDisruptionBudgetArgs, opts?: pulumi.CustomResourceOptions)

Create a PodDisruptionBudget resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PodDisruptionBudget

Get an existing PodDisruptionBudget resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is PodDisruptionBudget

Returns true if the given object is an instance of PodDisruptionBudget. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiVersion

public apiVersion: pulumi.Output<"policy/v1beta1">;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property kind

public kind: pulumi.Output<"PodDisruptionBudget">;

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

property metadata

public metadata: pulumi.Output<ObjectMeta>;

property spec

public spec: pulumi.Output<PodDisruptionBudgetSpec>;

Specification of the desired behavior of the PodDisruptionBudget.

property status

public status: pulumi.Output<PodDisruptionBudgetStatus>;

Most recently observed status of the PodDisruptionBudget.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource PodDisruptionBudgetList

class PodDisruptionBudgetList extends CustomResource

PodDisruptionBudgetList is a collection of PodDisruptionBudgets.

constructor

new PodDisruptionBudgetList(name: string, args?: PodDisruptionBudgetListArgs, opts?: pulumi.CustomResourceOptions)

Create a PodDisruptionBudgetList resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PodDisruptionBudgetList

Get an existing PodDisruptionBudgetList resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is PodDisruptionBudgetList

Returns true if the given object is an instance of PodDisruptionBudgetList. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiVersion

public apiVersion: pulumi.Output<"policy/v1beta1">;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property items

public items: pulumi.Output<PodDisruptionBudget[]>;

property kind

public kind: pulumi.Output<"PodDisruptionBudgetList">;

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

property metadata

public metadata: pulumi.Output<ListMeta>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource PodSecurityPolicy

class PodSecurityPolicy extends CustomResource

PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.

constructor

new PodSecurityPolicy(name: string, args?: PodSecurityPolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a PodSecurityPolicy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PodSecurityPolicy

Get an existing PodSecurityPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is PodSecurityPolicy

Returns true if the given object is an instance of PodSecurityPolicy. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiVersion

public apiVersion: pulumi.Output<"policy/v1beta1">;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property kind

public kind: pulumi.Output<"PodSecurityPolicy">;

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

property metadata

public metadata: pulumi.Output<ObjectMeta>;

Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

property spec

public spec: pulumi.Output<PodSecurityPolicySpec>;

spec defines the policy enforced.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource PodSecurityPolicyList

class PodSecurityPolicyList extends CustomResource

PodSecurityPolicyList is a list of PodSecurityPolicy objects.

constructor

new PodSecurityPolicyList(name: string, args?: PodSecurityPolicyListArgs, opts?: pulumi.CustomResourceOptions)

Create a PodSecurityPolicyList resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PodSecurityPolicyList

Get an existing PodSecurityPolicyList resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is PodSecurityPolicyList

Returns true if the given object is an instance of PodSecurityPolicyList. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiVersion

public apiVersion: pulumi.Output<"policy/v1beta1">;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property items

public items: pulumi.Output<PodSecurityPolicy[]>;

items is a list of schema objects.

property kind

public kind: pulumi.Output<"PodSecurityPolicyList">;

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

property metadata

public metadata: pulumi.Output<ListMeta>;

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Others

interface PodDisruptionBudgetArgs

interface PodDisruptionBudgetArgs

The set of arguments for constructing a PodDisruptionBudget resource.

property apiVersion

apiVersion?: pulumi.Input<"policy/v1beta1">;

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

property kind

kind?: pulumi.Input<"PodDisruptionBudget">;

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

property metadata

metadata?: pulumi.Input<ObjectMeta>;

property spec

spec?: pulumi.Input<PodDisruptionBudgetSpec>;

Specification of the desired behavior of the PodDisruptionBudget.

interface PodDisruptionBudgetListArgs

interface PodDisruptionBudgetListArgs

The set of arguments for constructing a PodDisruptionBudgetList resource.

property apiVersion

apiVersion?: pulumi.Input<"policy/v1beta1">;

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

property items

items: pulumi.Input<pulumi.Input<PodDisruptionBudget>[]>;

property kind

kind?: pulumi.Input<"PodDisruptionBudgetList">;

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

property metadata

metadata?: pulumi.Input<ListMeta>;

interface PodSecurityPolicyArgs

interface PodSecurityPolicyArgs

The set of arguments for constructing a PodSecurityPolicy resource.

property apiVersion

apiVersion?: pulumi.Input<"policy/v1beta1">;

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

property kind

kind?: pulumi.Input<"PodSecurityPolicy">;

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

property metadata

metadata?: pulumi.Input<ObjectMeta>;

Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

property spec

spec?: pulumi.Input<PodSecurityPolicySpec>;

spec defines the policy enforced.

interface PodSecurityPolicyListArgs

interface PodSecurityPolicyListArgs

The set of arguments for constructing a PodSecurityPolicyList resource.

property apiVersion

apiVersion?: pulumi.Input<"policy/v1beta1">;

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

property items

items: pulumi.Input<pulumi.Input<PodSecurityPolicy>[]>;

items is a list of schema objects.

property kind

kind?: pulumi.Input<"PodSecurityPolicyList">;

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

property metadata

metadata?: pulumi.Input<ListMeta>;

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata