Module policy/v1beta1

@pulumi/kubernetes > policy > v1beta1

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?: inputApi.policy.v1beta1.PodDisruptionBudget, opts?: pulumi.CustomResourceOptions)

Create a policy.v1beta1.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 the state of an existing PodDisruptionBudget resource, as identified by id. Typically this ID is of the form /; if is omitted, then (per Kubernetes convention) the ID becomes default/.

Pulumi will keep track of this resource using name as the Pulumi ID.

method getInputs

public getInputs(): inputApi.policy.v1beta1.PodDisruptionBudget

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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/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/api-conventions.md#types-kinds

property metadata

public metadata: pulumi.Output<outputApi.meta.v1.ObjectMeta>;

property spec

public spec: pulumi.Output<outputApi.policy.v1beta1.PodDisruptionBudgetSpec>;

Specification of the desired behavior of the PodDisruptionBudget.

property status

public status: pulumi.Output<outputApi.policy.v1beta1.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.

class PodDisruptionBudgetList

extends CustomResource

PodDisruptionBudgetList is a collection of PodDisruptionBudgets.

constructor

new PodDisruptionBudgetList(name: string, args?: inputApi.policy.v1beta1.PodDisruptionBudgetList, opts?: pulumi.CustomResourceOptions)

Create a policy.v1beta1.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 the state of an existing PodDisruptionBudgetList resource, as identified by id. Typically this ID is of the form /; if is omitted, then (per Kubernetes convention) the ID becomes default/.

Pulumi will keep track of this resource using name as the Pulumi ID.

method getInputs

public getInputs(): inputApi.policy.v1beta1.PodDisruptionBudgetList

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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/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<outputApi.policy.v1beta1.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/api-conventions.md#types-kinds

property metadata

public metadata: pulumi.Output<outputApi.meta.v1.ListMeta>;

property urn

urn: Output<URN>;

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

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?: inputApi.policy.v1beta1.PodSecurityPolicy, opts?: pulumi.CustomResourceOptions)

Create a policy.v1beta1.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 the state of an existing PodSecurityPolicy resource, as identified by id. Typically this ID is of the form /; if is omitted, then (per Kubernetes convention) the ID becomes default/.

Pulumi will keep track of this resource using name as the Pulumi ID.

method getInputs

public getInputs(): inputApi.policy.v1beta1.PodSecurityPolicy

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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/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/api-conventions.md#types-kinds

property metadata

public metadata: pulumi.Output<outputApi.meta.v1.ObjectMeta>;

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

property spec

public spec: pulumi.Output<outputApi.policy.v1beta1.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.

class PodSecurityPolicyList

extends CustomResource

PodSecurityPolicyList is a list of PodSecurityPolicy objects.

constructor

new PodSecurityPolicyList(name: string, args?: inputApi.policy.v1beta1.PodSecurityPolicyList, opts?: pulumi.CustomResourceOptions)

Create a policy.v1beta1.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 the state of an existing PodSecurityPolicyList resource, as identified by id. Typically this ID is of the form /; if is omitted, then (per Kubernetes convention) the ID becomes default/.

Pulumi will keep track of this resource using name as the Pulumi ID.

method getInputs

public getInputs(): inputApi.policy.v1beta1.PodSecurityPolicyList

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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/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<outputApi.policy.v1beta1.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/api-conventions.md#types-kinds

property metadata

public metadata: pulumi.Output<outputApi.meta.v1.ListMeta>;

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/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.