v1¶
-
class
pulumi_kubernetes.admissionregistration.v1.
MutatingWebhookConfiguration
(resource_name, opts=None, metadata=None, webhooks=None, __name__=None, __opts__=None)¶ MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
Create a MutatingWebhookConfiguration resource with the given unique name, arguments, and options.
- Parameters
resource_name (str) – The unique name of the resource.
opts (pulumi.ResourceOptions) – A bag of options that control this resource’s behavior.
metadata (pulumi.Input[dict]) – Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
webhooks (pulumi.Input[list]) – Webhooks is a list of webhooks and the affected resources and operations.
-
apiVersion
= None¶ 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
-
kind
= None¶ 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
-
metadata
= None¶ Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
-
webhooks
= None¶ Webhooks is a list of webhooks and the affected resources and operations.
-
static
get
(resource_name, id, opts=None)¶ Get the state of an existing
MutatingWebhookConfiguration
resource, as identified byid
. The ID is of the form[namespace]/[name]
; if[namespace]
is omitted, then (per Kubernetes convention) the ID becomesdefault/[name]
.Pulumi will keep track of this resource using
resource_name
as the Pulumi ID.- Parameters
resource_name (str) – Unique name used to register this resource with Pulumi.
id (pulumi.Input[str]) – An ID for the Kubernetes resource to retrieve. Takes the form
[namespace]/[name]
or[name]
.opts (Optional[pulumi.ResourceOptions]) – A bag of options that control this resource’s behavior.
-
translate_output_property
(prop: str) → str¶ Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
-
translate_input_property
(prop: str) → str¶ Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
-
class
pulumi_kubernetes.admissionregistration.v1.
MutatingWebhookConfigurationList
(resource_name, opts=None, items=None, metadata=None, __name__=None, __opts__=None)¶ MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.
Create a MutatingWebhookConfigurationList resource with the given unique name, arguments, and options.
- Parameters
resource_name (str) – The unique name of the resource.
opts (pulumi.ResourceOptions) – A bag of options that control this resource’s behavior.
items (pulumi.Input[list]) – List of MutatingWebhookConfiguration.
metadata (pulumi.Input[dict]) – Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
apiVersion
= None¶ 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
-
kind
= None¶ 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
-
items
= None¶ List of MutatingWebhookConfiguration.
-
metadata
= None¶ Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
static
get
(resource_name, id, opts=None)¶ Get the state of an existing
MutatingWebhookConfigurationList
resource, as identified byid
. The ID is of the form[namespace]/[name]
; if[namespace]
is omitted, then (per Kubernetes convention) the ID becomesdefault/[name]
.Pulumi will keep track of this resource using
resource_name
as the Pulumi ID.- Parameters
resource_name (str) – Unique name used to register this resource with Pulumi.
id (pulumi.Input[str]) – An ID for the Kubernetes resource to retrieve. Takes the form
[namespace]/[name]
or[name]
.opts (Optional[pulumi.ResourceOptions]) – A bag of options that control this resource’s behavior.
-
translate_output_property
(prop: str) → str¶ Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
-
translate_input_property
(prop: str) → str¶ Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
-
class
pulumi_kubernetes.admissionregistration.v1.
ValidatingWebhookConfiguration
(resource_name, opts=None, metadata=None, webhooks=None, __name__=None, __opts__=None)¶ ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
Create a ValidatingWebhookConfiguration resource with the given unique name, arguments, and options.
- Parameters
resource_name (str) – The unique name of the resource.
opts (pulumi.ResourceOptions) – A bag of options that control this resource’s behavior.
metadata (pulumi.Input[dict]) – Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
webhooks (pulumi.Input[list]) – Webhooks is a list of webhooks and the affected resources and operations.
-
apiVersion
= None¶ 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
-
kind
= None¶ 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
-
metadata
= None¶ Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
-
webhooks
= None¶ Webhooks is a list of webhooks and the affected resources and operations.
-
static
get
(resource_name, id, opts=None)¶ Get the state of an existing
ValidatingWebhookConfiguration
resource, as identified byid
. The ID is of the form[namespace]/[name]
; if[namespace]
is omitted, then (per Kubernetes convention) the ID becomesdefault/[name]
.Pulumi will keep track of this resource using
resource_name
as the Pulumi ID.- Parameters
resource_name (str) – Unique name used to register this resource with Pulumi.
id (pulumi.Input[str]) – An ID for the Kubernetes resource to retrieve. Takes the form
[namespace]/[name]
or[name]
.opts (Optional[pulumi.ResourceOptions]) – A bag of options that control this resource’s behavior.
-
translate_output_property
(prop: str) → str¶ Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
-
translate_input_property
(prop: str) → str¶ Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
-
class
pulumi_kubernetes.admissionregistration.v1.
ValidatingWebhookConfigurationList
(resource_name, opts=None, items=None, metadata=None, __name__=None, __opts__=None)¶ ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.
Create a ValidatingWebhookConfigurationList resource with the given unique name, arguments, and options.
- Parameters
resource_name (str) – The unique name of the resource.
opts (pulumi.ResourceOptions) – A bag of options that control this resource’s behavior.
items (pulumi.Input[list]) – List of ValidatingWebhookConfiguration.
metadata (pulumi.Input[dict]) – Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
apiVersion
= None¶ 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
-
kind
= None¶ 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
-
items
= None¶ List of ValidatingWebhookConfiguration.
-
metadata
= None¶ Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
static
get
(resource_name, id, opts=None)¶ Get the state of an existing
ValidatingWebhookConfigurationList
resource, as identified byid
. The ID is of the form[namespace]/[name]
; if[namespace]
is omitted, then (per Kubernetes convention) the ID becomesdefault/[name]
.Pulumi will keep track of this resource using
resource_name
as the Pulumi ID.- Parameters
resource_name (str) – Unique name used to register this resource with Pulumi.
id (pulumi.Input[str]) – An ID for the Kubernetes resource to retrieve. Takes the form
[namespace]/[name]
or[name]
.opts (Optional[pulumi.ResourceOptions]) – A bag of options that control this resource’s behavior.
-
translate_output_property
(prop: str) → str¶ Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
-
translate_input_property
(prop: str) → str¶ Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str