import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a Scope RBACRoleBinding. * Auto-naming is currently not supported for this resource. */ export declare class ScopeRbacRoleBinding extends pulumi.CustomResource { /** * Get an existing ScopeRbacRoleBinding resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ScopeRbacRoleBinding; /** * Returns true if the given object is an instance of ScopeRbacRoleBinding. 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 ScopeRbacRoleBinding; /** * When the rbacrolebinding was created. */ readonly createTime: pulumi.Output; /** * When the rbacrolebinding was deleted. */ readonly deleteTime: pulumi.Output; /** * group is the group, as seen by the kubernetes cluster. */ readonly group: pulumi.Output; /** * Optional. Labels for this RBACRolebinding. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. */ readonly rbacrolebindingId: pulumi.Output; /** * Role to bind to the principal */ readonly role: pulumi.Output; readonly scopeId: pulumi.Output; /** * State of the rbacrolebinding resource. */ readonly state: pulumi.Output; /** * Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid. */ readonly uid: pulumi.Output; /** * When the rbacrolebinding was last updated. */ readonly updateTime: pulumi.Output; /** * user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld" */ readonly user: pulumi.Output; /** * Create a ScopeRbacRoleBinding 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: ScopeRbacRoleBindingArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ScopeRbacRoleBinding resource. */ export interface ScopeRbacRoleBindingArgs { /** * group is the group, as seen by the kubernetes cluster. */ group?: pulumi.Input; /** * Optional. Labels for this RBACRolebinding. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` */ name?: pulumi.Input; project?: pulumi.Input; /** * Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. */ rbacrolebindingId: pulumi.Input; /** * Role to bind to the principal */ role: pulumi.Input; scopeId: pulumi.Input; /** * user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld" */ user?: pulumi.Input; }