1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkehub
  5. gkehub/v1alpha
  6. getMembershipRbacRoleBinding

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.getMembershipRbacRoleBinding

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 Membership RBACRoleBinding.

Using getMembershipRbacRoleBinding

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 getMembershipRbacRoleBinding(args: GetMembershipRbacRoleBindingArgs, opts?: InvokeOptions): Promise<GetMembershipRbacRoleBindingResult>
function getMembershipRbacRoleBindingOutput(args: GetMembershipRbacRoleBindingOutputArgs, opts?: InvokeOptions): Output<GetMembershipRbacRoleBindingResult>
Copy
def get_membership_rbac_role_binding(location: Optional[str] = None,
                                     membership_id: Optional[str] = None,
                                     project: Optional[str] = None,
                                     rbacrolebinding_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetMembershipRbacRoleBindingResult
def get_membership_rbac_role_binding_output(location: Optional[pulumi.Input[str]] = None,
                                     membership_id: Optional[pulumi.Input[str]] = None,
                                     project: Optional[pulumi.Input[str]] = None,
                                     rbacrolebinding_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetMembershipRbacRoleBindingResult]
Copy
func LookupMembershipRbacRoleBinding(ctx *Context, args *LookupMembershipRbacRoleBindingArgs, opts ...InvokeOption) (*LookupMembershipRbacRoleBindingResult, error)
func LookupMembershipRbacRoleBindingOutput(ctx *Context, args *LookupMembershipRbacRoleBindingOutputArgs, opts ...InvokeOption) LookupMembershipRbacRoleBindingResultOutput
Copy

> Note: This function is named LookupMembershipRbacRoleBinding in the Go SDK.

public static class GetMembershipRbacRoleBinding 
{
    public static Task<GetMembershipRbacRoleBindingResult> InvokeAsync(GetMembershipRbacRoleBindingArgs args, InvokeOptions? opts = null)
    public static Output<GetMembershipRbacRoleBindingResult> Invoke(GetMembershipRbacRoleBindingInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMembershipRbacRoleBindingResult> getMembershipRbacRoleBinding(GetMembershipRbacRoleBindingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Copy
fn::invoke:
  function: google-native:gkehub/v1alpha:getMembershipRbacRoleBinding
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
MembershipId This property is required. string
RbacrolebindingId This property is required. string
Project string
Location This property is required. string
MembershipId This property is required. string
RbacrolebindingId This property is required. string
Project string
location This property is required. String
membershipId This property is required. String
rbacrolebindingId This property is required. String
project String
location This property is required. string
membershipId This property is required. string
rbacrolebindingId This property is required. string
project string
location This property is required. str
membership_id This property is required. str
rbacrolebinding_id This property is required. str
project str
location This property is required. String
membershipId This property is required. String
rbacrolebindingId This property is required. String
project String

getMembershipRbacRoleBinding 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} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
Role Pulumi.GoogleNative.GKEHub.V1Alpha.Outputs.RoleResponse
Role to bind to the principal
State Pulumi.GoogleNative.GKEHub.V1Alpha.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.
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} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
Role RoleResponse
Role to bind to the principal
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.
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} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
role RoleResponse
Role to bind to the principal
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.
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} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
role RoleResponse
Role to bind to the principal
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.
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} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
role RoleResponse
Role to bind to the principal
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.
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} or projects/{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 This property is required. string
The current state of the rbacrolebinding resource.
Code This property is required. string
The current state of the rbacrolebinding resource.
code This property is required. String
The current state of the rbacrolebinding resource.
code This property is required. string
The current state of the rbacrolebinding resource.
code This property is required. str
The current state of the rbacrolebinding resource.
code This property is required. String
The current state of the rbacrolebinding resource.

RoleResponse

PredefinedRole This property is required. string
predefined_role is the Kubernetes default role to use
PredefinedRole This property is required. string
predefined_role is the Kubernetes default role to use
predefinedRole This property is required. String
predefined_role is the Kubernetes default role to use
predefinedRole This property is required. string
predefined_role is the Kubernetes default role to use
predefined_role This property is required. str
predefined_role is the Kubernetes default role to use
predefinedRole This property is required. 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