@pulumi/kubernetes
Version:
[](https://github.com/pulumi/pulumi-kubernetes/actions) [](https://slack.pulumi.com) [: ClusterRole;
/**
* Returns true if the given object is an instance of ClusterRole. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ClusterRole;
/**
* 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.
*/
readonly aggregationRule: pulumi.Output<outputs.rbac.v1beta1.AggregationRule>;
/**
* 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
*/
readonly apiVersion: pulumi.Output<"rbac.authorization.k8s.io/v1beta1">;
/**
* 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
*/
readonly kind: pulumi.Output<"ClusterRole">;
/**
* Standard object's metadata.
*/
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
/**
* Rules holds all the PolicyRules for this ClusterRole
*/
readonly rules: pulumi.Output<outputs.rbac.v1beta1.PolicyRule[]>;
/**
* Create a ClusterRole resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ClusterRoleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ClusterRole resource.
*/
export interface ClusterRoleArgs {
/**
* 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.
*/
aggregationRule?: pulumi.Input<inputs.rbac.v1beta1.AggregationRule | undefined>;
/**
* 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
*/
apiVersion?: pulumi.Input<"rbac.authorization.k8s.io/v1beta1" | undefined>;
/**
* 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
*/
kind?: pulumi.Input<"ClusterRole" | undefined>;
/**
* Standard object's metadata.
*/
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
/**
* Rules holds all the PolicyRules for this ClusterRole
*/
rules?: pulumi.Input<pulumi.Input<inputs.rbac.v1beta1.PolicyRule>[] | undefined>;
}
//# sourceMappingURL=clusterRole.d.ts.map