Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.gkehub/v1.getRbacrolebinding
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns the details of a Scope RBACRoleBinding.
Using getRbacrolebinding
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRbacrolebinding(args: GetRbacrolebindingArgs, opts?: InvokeOptions): Promise<GetRbacrolebindingResult>
function getRbacrolebindingOutput(args: GetRbacrolebindingOutputArgs, opts?: InvokeOptions): Output<GetRbacrolebindingResult>def get_rbacrolebinding(location: Optional[str] = None,
                        project: Optional[str] = None,
                        rbacrolebinding_id: Optional[str] = None,
                        scope_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetRbacrolebindingResult
def get_rbacrolebinding_output(location: Optional[pulumi.Input[str]] = None,
                        project: Optional[pulumi.Input[str]] = None,
                        rbacrolebinding_id: Optional[pulumi.Input[str]] = None,
                        scope_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetRbacrolebindingResult]func LookupRbacrolebinding(ctx *Context, args *LookupRbacrolebindingArgs, opts ...InvokeOption) (*LookupRbacrolebindingResult, error)
func LookupRbacrolebindingOutput(ctx *Context, args *LookupRbacrolebindingOutputArgs, opts ...InvokeOption) LookupRbacrolebindingResultOutput> Note: This function is named LookupRbacrolebinding in the Go SDK.
public static class GetRbacrolebinding 
{
    public static Task<GetRbacrolebindingResult> InvokeAsync(GetRbacrolebindingArgs args, InvokeOptions? opts = null)
    public static Output<GetRbacrolebindingResult> Invoke(GetRbacrolebindingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRbacrolebindingResult> getRbacrolebinding(GetRbacrolebindingArgs args, InvokeOptions options)
public static Output<GetRbacrolebindingResult> getRbacrolebinding(GetRbacrolebindingArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:gkehub/v1:getRbacrolebinding
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Location string
- RbacrolebindingId string
- ScopeId string
- Project string
- Location string
- RbacrolebindingId string
- ScopeId string
- Project string
- location String
- rbacrolebindingId String
- scopeId String
- project String
- location string
- rbacrolebindingId string
- scopeId string
- project string
- location str
- rbacrolebinding_id str
- scope_id str
- project str
- location String
- rbacrolebindingId String
- scopeId String
- project String
getRbacrolebinding Result
The following output properties are available:
- CreateTime string
- When the rbacrolebinding was created.
- DeleteTime string
- When the rbacrolebinding was deleted.
- Group string
- group is the group, as seen by the kubernetes cluster.
- Labels Dictionary<string, string>
- Optional. Labels for this RBACRolebinding.
- Name string
- The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- Role
Pulumi.Google Native. GKEHub. V1. Outputs. Role Response 
- Role to bind to the principal
- State
Pulumi.Google Native. GKEHub. V1. Outputs. RBACRole Binding Lifecycle State Response 
- 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.
- User string
- user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
- CreateTime string
- When the rbacrolebinding was created.
- DeleteTime string
- When the rbacrolebinding was deleted.
- Group string
- group is the group, as seen by the kubernetes cluster.
- Labels map[string]string
- Optional. Labels for this RBACRolebinding.
- Name string
- The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- Role
RoleResponse 
- Role to bind to the principal
- State
RBACRoleBinding Lifecycle State Response 
- 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.
- User string
- user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
- createTime String
- When the rbacrolebinding was created.
- deleteTime String
- When the rbacrolebinding was deleted.
- group String
- group is the group, as seen by the kubernetes cluster.
- labels Map<String,String>
- Optional. Labels for this RBACRolebinding.
- name String
- The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- role
RoleResponse 
- Role to bind to the principal
- state
RBACRoleBinding Lifecycle State Response 
- 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.
- user String
- user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
- createTime string
- When the rbacrolebinding was created.
- deleteTime string
- When the rbacrolebinding was deleted.
- group string
- group is the group, as seen by the kubernetes cluster.
- labels {[key: string]: string}
- Optional. Labels for this RBACRolebinding.
- name string
- The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- role
RoleResponse 
- Role to bind to the principal
- state
RBACRoleBinding Lifecycle State Response 
- 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.
- user string
- user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
- create_time str
- When the rbacrolebinding was created.
- delete_time str
- When the rbacrolebinding was deleted.
- group str
- group is the group, as seen by the kubernetes cluster.
- labels Mapping[str, str]
- Optional. Labels for this RBACRolebinding.
- name str
- The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- role
RoleResponse 
- Role to bind to the principal
- state
RBACRoleBinding Lifecycle State Response 
- 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.
- user str
- user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
- createTime String
- When the rbacrolebinding was created.
- deleteTime String
- When the rbacrolebinding was deleted.
- group String
- group is the group, as seen by the kubernetes cluster.
- labels Map<String>
- Optional. Labels for this RBACRolebinding.
- name String
- The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- role Property Map
- Role to bind to the principal
- 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.
- user String
- user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
Supporting Types
RBACRoleBindingLifecycleStateResponse    
- 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.
RoleResponse 
- 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 Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi