Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkehub/v1beta.getRbacrolebinding
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Returns the details of a 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,
namespace_id: Optional[str] = None,
project: Optional[str] = None,
rbacrolebinding_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRbacrolebindingResult
def get_rbacrolebinding_output(location: Optional[pulumi.Input[str]] = None,
namespace_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
rbacrolebinding_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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:gkehub/v1beta:getRbacrolebinding
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Namespace
Id string - Rbacrolebinding
Id string - Project string
- Location string
- Namespace
Id string - Rbacrolebinding
Id string - Project string
- location String
- namespace
Id String - rbacrolebinding
Id String - project String
- location string
- namespace
Id string - rbacrolebinding
Id string - project string
- location str
- namespace_
id str - rbacrolebinding_
id str - project str
- location String
- namespace
Id String - rbacrolebinding
Id String - project String
getRbacrolebinding Result
The following output properties are available:
- Create
Time string When the rbacrolebinding was created.
- Delete
Time string When the rbacrolebinding was deleted.
- Group string
group is the group, as seen by the kubernetes cluster.
- Name string
The resource name for the rbacrolebinding
projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}
orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- Role
Pulumi.
Google Native. GKEHub. V1Beta. Outputs. Role Response Role to bind to the principal
- State
Pulumi.
Google Native. GKEHub. V1Beta. 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.
- Update
Time 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 string When the rbacrolebinding was created.
- Delete
Time string When the rbacrolebinding was deleted.
- Group string
group is the group, as seen by the kubernetes cluster.
- Name string
The resource name for the rbacrolebinding
projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}
orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- Role
Role
Response Role to bind to the principal
- State
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.
- Update
Time 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 String When the rbacrolebinding was created.
- delete
Time String When the rbacrolebinding was deleted.
- group String
group is the group, as seen by the kubernetes cluster.
- name String
The resource name for the rbacrolebinding
projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}
orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- role
Role
Response Role to bind to the principal
- state
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.
- update
Time 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 string When the rbacrolebinding was created.
- delete
Time string When the rbacrolebinding was deleted.
- group string
group is the group, as seen by the kubernetes cluster.
- name string
The resource name for the rbacrolebinding
projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}
orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- role
Role
Response Role to bind to the principal
- state
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.
- update
Time 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.
- name str
The resource name for the rbacrolebinding
projects/{project}/locations/{location}/namespaces/{namespace}/rbacrolebindings/{rbacrolebinding}
orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
- role
Role
Response Role to bind to the principal
- state
RBACRole
Binding 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"
- create
Time String When the rbacrolebinding was created.
- delete
Time String When the rbacrolebinding was deleted.
- group String
group is the group, as seen by the kubernetes cluster.
- name String
The resource name for the rbacrolebinding
projects/{project}/locations/{location}/namespaces/{namespace}/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.
- update
Time 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
- Predefined
Role string predefined_role is the Kubernetes default role to use
- Predefined
Role string predefined_role is the Kubernetes default role to use
- predefined
Role String predefined_role is the Kubernetes default role to use
- predefined
Role string predefined_role is the Kubernetes default role to use
- predefined_
role str predefined_role is the Kubernetes default role to use
- predefined
Role 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.