v1beta1

class pulumi_kubernetes.rbac.v1beta1.ClusterRole(resource_name, opts=None, aggregation_rule=None, metadata=None, rules=None, __name__=None, __opts__=None)

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

Create a ClusterRole 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.

  • aggregation_rule (pulumi.Input[dict]) – AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.

  • metadata (pulumi.Input[dict]) – Standard object’s metadata.

  • rules (pulumi.Input[list]) – Rules holds all the PolicyRules for this ClusterRole

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

aggregation_rule = None

AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.

metadata = None

Standard object’s metadata.

rules = None

Rules holds all the PolicyRules for this ClusterRole

static get(resource_name, id, opts=None)

Get the state of an existing ClusterRole resource, as identified by id. The ID is of the form [namespace]/[name]; if [namespace] is omitted, then (per Kubernetes convention) the ID becomes default/[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.rbac.v1beta1.ClusterRoleBinding(resource_name, opts=None, role_ref=None, metadata=None, subjects=None, __name__=None, __opts__=None)

ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.

Create a ClusterRoleBinding 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.

  • role_ref (pulumi.Input[dict]) – RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.

  • metadata (pulumi.Input[dict]) – Standard object’s metadata.

  • subjects (pulumi.Input[list]) – Subjects holds references to the objects the role applies to.

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’s metadata.

role_ref = None

RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.

subjects = None

Subjects holds references to the objects the role applies to.

static get(resource_name, id, opts=None)

Get the state of an existing ClusterRoleBinding resource, as identified by id. The ID is of the form [namespace]/[name]; if [namespace] is omitted, then (per Kubernetes convention) the ID becomes default/[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.rbac.v1beta1.ClusterRoleBindingList(resource_name, opts=None, items=None, metadata=None, __name__=None, __opts__=None)

ClusterRoleBindingList is a collection of ClusterRoleBindings

Create a ClusterRoleBindingList 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]) – Items is a list of ClusterRoleBindings

  • metadata (pulumi.Input[dict]) – Standard object’s metadata.

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

Items is a list of ClusterRoleBindings

metadata = None

Standard object’s metadata.

static get(resource_name, id, opts=None)

Get the state of an existing ClusterRoleBindingList resource, as identified by id. The ID is of the form [namespace]/[name]; if [namespace] is omitted, then (per Kubernetes convention) the ID becomes default/[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.rbac.v1beta1.ClusterRoleList(resource_name, opts=None, items=None, metadata=None, __name__=None, __opts__=None)

ClusterRoleList is a collection of ClusterRoles

Create a ClusterRoleList 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]) – Items is a list of ClusterRoles

  • metadata (pulumi.Input[dict]) – Standard object’s metadata.

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

Items is a list of ClusterRoles

metadata = None

Standard object’s metadata.

static get(resource_name, id, opts=None)

Get the state of an existing ClusterRoleList resource, as identified by id. The ID is of the form [namespace]/[name]; if [namespace] is omitted, then (per Kubernetes convention) the ID becomes default/[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.rbac.v1beta1.Role(resource_name, opts=None, metadata=None, rules=None, __name__=None, __opts__=None)

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

Create a Role 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’s metadata.

  • rules (pulumi.Input[list]) – Rules holds all the PolicyRules for this Role

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’s metadata.

rules = None

Rules holds all the PolicyRules for this Role

static get(resource_name, id, opts=None)

Get the state of an existing Role resource, as identified by id. The ID is of the form [namespace]/[name]; if [namespace] is omitted, then (per Kubernetes convention) the ID becomes default/[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.rbac.v1beta1.RoleBinding(resource_name, opts=None, role_ref=None, metadata=None, subjects=None, __name__=None, __opts__=None)

RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.

Create a RoleBinding 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.

  • role_ref (pulumi.Input[dict]) – RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.

  • metadata (pulumi.Input[dict]) – Standard object’s metadata.

  • subjects (pulumi.Input[list]) – Subjects holds references to the objects the role applies to.

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’s metadata.

role_ref = None

RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.

subjects = None

Subjects holds references to the objects the role applies to.

static get(resource_name, id, opts=None)

Get the state of an existing RoleBinding resource, as identified by id. The ID is of the form [namespace]/[name]; if [namespace] is omitted, then (per Kubernetes convention) the ID becomes default/[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.rbac.v1beta1.RoleBindingList(resource_name, opts=None, items=None, metadata=None, __name__=None, __opts__=None)

RoleBindingList is a collection of RoleBindings

Create a RoleBindingList 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]) – Items is a list of RoleBindings

  • metadata (pulumi.Input[dict]) – Standard object’s metadata.

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

Items is a list of RoleBindings

metadata = None

Standard object’s metadata.

static get(resource_name, id, opts=None)

Get the state of an existing RoleBindingList resource, as identified by id. The ID is of the form [namespace]/[name]; if [namespace] is omitted, then (per Kubernetes convention) the ID becomes default/[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.rbac.v1beta1.RoleList(resource_name, opts=None, items=None, metadata=None, __name__=None, __opts__=None)

RoleList is a collection of Roles

Create a RoleList 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]) – Items is a list of Roles

  • metadata (pulumi.Input[dict]) – Standard object’s metadata.

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

Items is a list of Roles

metadata = None

Standard object’s metadata.

static get(resource_name, id, opts=None)

Get the state of an existing RoleList resource, as identified by id. The ID is of the form [namespace]/[name]; if [namespace] is omitted, then (per Kubernetes convention) the ID becomes default/[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