1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkehub
  5. gkehub/v1beta
  6. Rbacrolebinding

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.gkehub/v1beta.Rbacrolebinding

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

    Creates a RBACRoleBinding. Auto-naming is currently not supported for this resource.

    Create Rbacrolebinding Resource

    new Rbacrolebinding(name: string, args: RbacrolebindingArgs, opts?: CustomResourceOptions);
    @overload
    def Rbacrolebinding(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        group: Optional[str] = None,
                        location: Optional[str] = None,
                        name: Optional[str] = None,
                        namespace_id: Optional[str] = None,
                        project: Optional[str] = None,
                        rbacrolebinding_id: Optional[str] = None,
                        role: Optional[RoleArgs] = None,
                        user: Optional[str] = None)
    @overload
    def Rbacrolebinding(resource_name: str,
                        args: RbacrolebindingArgs,
                        opts: Optional[ResourceOptions] = None)
    func NewRbacrolebinding(ctx *Context, name string, args RbacrolebindingArgs, opts ...ResourceOption) (*Rbacrolebinding, error)
    public Rbacrolebinding(string name, RbacrolebindingArgs args, CustomResourceOptions? opts = null)
    public Rbacrolebinding(String name, RbacrolebindingArgs args)
    public Rbacrolebinding(String name, RbacrolebindingArgs args, CustomResourceOptions options)
    
    type: google-native:gkehub/v1beta:Rbacrolebinding
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args RbacrolebindingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RbacrolebindingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RbacrolebindingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RbacrolebindingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RbacrolebindingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Rbacrolebinding Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Rbacrolebinding resource accepts the following input properties:

    NamespaceId string
    RbacrolebindingId string

    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.

    Role Pulumi.GoogleNative.GKEHub.V1Beta.Inputs.Role

    Role to bind to the principal

    Group string

    group is the group, as seen by the kubernetes cluster.

    Location string
    Name string

    The resource name for the rbacrolebinding projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}

    Project string
    User string

    user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"

    NamespaceId string
    RbacrolebindingId string

    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.

    Role RoleArgs

    Role to bind to the principal

    Group string

    group is the group, as seen by the kubernetes cluster.

    Location string
    Name string

    The resource name for the rbacrolebinding projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}

    Project string
    User string

    user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"

    namespaceId String
    rbacrolebindingId String

    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.

    role Role

    Role to bind to the principal

    group String

    group is the group, as seen by the kubernetes cluster.

    location String
    name String

    The resource name for the rbacrolebinding projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}

    project String
    user String

    user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"

    namespaceId string
    rbacrolebindingId string

    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.

    role Role

    Role to bind to the principal

    group string

    group is the group, as seen by the kubernetes cluster.

    location string
    name string

    The resource name for the rbacrolebinding projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}

    project string
    user string

    user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"

    namespace_id str
    rbacrolebinding_id str

    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.

    role RoleArgs

    Role to bind to the principal

    group str

    group is the group, as seen by the kubernetes cluster.

    location str
    name str

    The resource name for the rbacrolebinding projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}

    project str
    user str

    user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"

    namespaceId String
    rbacrolebindingId String

    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.

    role Property Map

    Role to bind to the principal

    group String

    group is the group, as seen by the kubernetes cluster.

    location String
    name String

    The resource name for the rbacrolebinding projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}

    project String
    user String

    user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Rbacrolebinding resource produces the following output properties:

    CreateTime string

    When the rbacrolebinding was created.

    DeleteTime string

    When the rbacrolebinding was deleted.

    Id string

    The provider-assigned unique ID for this managed resource.

    State Pulumi.GoogleNative.GKEHub.V1Beta.Outputs.RBACRoleBindingLifecycleStateResponse

    State of the rbacrolebinding resource.

    Uid string

    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.

    UpdateTime string

    When the rbacrolebinding was last updated.

    CreateTime string

    When the rbacrolebinding was created.

    DeleteTime string

    When the rbacrolebinding was deleted.

    Id string

    The provider-assigned unique ID for this managed resource.

    State RBACRoleBindingLifecycleStateResponse

    State of the rbacrolebinding resource.

    Uid string

    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.

    UpdateTime string

    When the rbacrolebinding was last updated.

    createTime String

    When the rbacrolebinding was created.

    deleteTime String

    When the rbacrolebinding was deleted.

    id String

    The provider-assigned unique ID for this managed resource.

    state RBACRoleBindingLifecycleStateResponse

    State of the rbacrolebinding resource.

    uid String

    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.

    updateTime String

    When the rbacrolebinding was last updated.

    createTime string

    When the rbacrolebinding was created.

    deleteTime string

    When the rbacrolebinding was deleted.

    id string

    The provider-assigned unique ID for this managed resource.

    state RBACRoleBindingLifecycleStateResponse

    State of the rbacrolebinding resource.

    uid string

    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.

    updateTime string

    When the rbacrolebinding was last updated.

    create_time str

    When the rbacrolebinding was created.

    delete_time str

    When the rbacrolebinding was deleted.

    id str

    The provider-assigned unique ID for this managed resource.

    state RBACRoleBindingLifecycleStateResponse

    State of the rbacrolebinding resource.

    uid str

    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.

    update_time str

    When the rbacrolebinding was last updated.

    createTime String

    When the rbacrolebinding was created.

    deleteTime String

    When the rbacrolebinding was deleted.

    id String

    The provider-assigned unique ID for this managed resource.

    state Property Map

    State of the rbacrolebinding resource.

    uid String

    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.

    updateTime String

    When the rbacrolebinding was last updated.

    Supporting Types

    RBACRoleBindingLifecycleStateResponse, RBACRoleBindingLifecycleStateResponseArgs

    Code string

    The current state of the rbacrolebinding resource.

    Code string

    The current state of the rbacrolebinding resource.

    code String

    The current state of the rbacrolebinding resource.

    code string

    The current state of the rbacrolebinding resource.

    code str

    The current state of the rbacrolebinding resource.

    code String

    The current state of the rbacrolebinding resource.

    Role, RoleArgs

    PredefinedRole Pulumi.GoogleNative.GKEHub.V1Beta.RolePredefinedRole

    predefined_role is the Kubernetes default role to use

    PredefinedRole RolePredefinedRole

    predefined_role is the Kubernetes default role to use

    predefinedRole RolePredefinedRole

    predefined_role is the Kubernetes default role to use

    predefinedRole RolePredefinedRole

    predefined_role is the Kubernetes default role to use

    predefined_role RolePredefinedRole

    predefined_role is the Kubernetes default role to use

    predefinedRole "UNKNOWN" | "ADMIN" | "EDIT" | "VIEW"

    predefined_role is the Kubernetes default role to use

    RolePredefinedRole, RolePredefinedRoleArgs

    Unknown
    UNKNOWN

    UNKNOWN

    Admin
    ADMIN

    ADMIN has EDIT and RBAC permissions

    Edit
    EDIT

    EDIT can edit all resources except RBAC

    View
    VIEW

    VIEW can only read resources

    RolePredefinedRoleUnknown
    UNKNOWN

    UNKNOWN

    RolePredefinedRoleAdmin
    ADMIN

    ADMIN has EDIT and RBAC permissions

    RolePredefinedRoleEdit
    EDIT

    EDIT can edit all resources except RBAC

    RolePredefinedRoleView
    VIEW

    VIEW can only read resources

    Unknown
    UNKNOWN

    UNKNOWN

    Admin
    ADMIN

    ADMIN has EDIT and RBAC permissions

    Edit
    EDIT

    EDIT can edit all resources except RBAC

    View
    VIEW

    VIEW can only read resources

    Unknown
    UNKNOWN

    UNKNOWN

    Admin
    ADMIN

    ADMIN has EDIT and RBAC permissions

    Edit
    EDIT

    EDIT can edit all resources except RBAC

    View
    VIEW

    VIEW can only read resources

    UNKNOWN
    UNKNOWN

    UNKNOWN

    ADMIN
    ADMIN

    ADMIN has EDIT and RBAC permissions

    EDIT
    EDIT

    EDIT can edit all resources except RBAC

    VIEW
    VIEW

    VIEW can only read resources

    "UNKNOWN"
    UNKNOWN

    UNKNOWN

    "ADMIN"
    ADMIN

    ADMIN has EDIT and RBAC permissions

    "EDIT"
    EDIT

    EDIT can edit all resources except RBAC

    "VIEW"
    VIEW

    VIEW can only read resources

    RoleResponse, RoleResponseArgs

    PredefinedRole string

    predefined_role is the Kubernetes default role to use

    PredefinedRole string

    predefined_role is the Kubernetes default role to use

    predefinedRole String

    predefined_role is the Kubernetes default role to use

    predefinedRole string

    predefined_role is the Kubernetes default role to use

    predefined_role str

    predefined_role is the Kubernetes default role to use

    predefinedRole String

    predefined_role is the Kubernetes default role to use

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi