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/v1alpha.getScopeRbacRoleBinding
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 getScopeRbacRoleBinding
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 getScopeRbacRoleBinding(args: GetScopeRbacRoleBindingArgs, opts?: InvokeOptions): Promise<GetScopeRbacRoleBindingResult>
function getScopeRbacRoleBindingOutput(args: GetScopeRbacRoleBindingOutputArgs, opts?: InvokeOptions): Output<GetScopeRbacRoleBindingResult>
def get_scope_rbac_role_binding(location: Optional[str] = None,
project: Optional[str] = None,
rbacrolebinding_id: Optional[str] = None,
scope_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScopeRbacRoleBindingResult
def get_scope_rbac_role_binding_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[GetScopeRbacRoleBindingResult]
func LookupScopeRbacRoleBinding(ctx *Context, args *LookupScopeRbacRoleBindingArgs, opts ...InvokeOption) (*LookupScopeRbacRoleBindingResult, error)
func LookupScopeRbacRoleBindingOutput(ctx *Context, args *LookupScopeRbacRoleBindingOutputArgs, opts ...InvokeOption) LookupScopeRbacRoleBindingResultOutput
> Note: This function is named LookupScopeRbacRoleBinding
in the Go SDK.
public static class GetScopeRbacRoleBinding
{
public static Task<GetScopeRbacRoleBindingResult> InvokeAsync(GetScopeRbacRoleBindingArgs args, InvokeOptions? opts = null)
public static Output<GetScopeRbacRoleBindingResult> Invoke(GetScopeRbacRoleBindingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScopeRbacRoleBindingResult> getScopeRbacRoleBinding(GetScopeRbacRoleBindingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:gkehub/v1alpha:getScopeRbacRoleBinding
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Rbacrolebinding
Id string - Scope
Id string - Project string
- Location string
- Rbacrolebinding
Id string - Scope
Id string - Project string
- location String
- rbacrolebinding
Id String - scope
Id String - project String
- location string
- rbacrolebinding
Id string - scope
Id string - project string
- location str
- rbacrolebinding_
id str - scope_
id str - project str
- location String
- rbacrolebinding
Id String - scope
Id String - project String
getScopeRbacRoleBinding 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.
- 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. V1Alpha. Outputs. Role Response - Role to bind to the principal
- State
Pulumi.
Google Native. GKEHub. V1Alpha. 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.
- 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
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.
- 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
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.
- 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
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.
- 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
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.
- 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.
- 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi