Class ScopeRbacRoleBinding


  • public class ScopeRbacRoleBinding
    extends com.pulumi.resources.CustomResource
    RBACRoleBinding represents a rbacrolebinding across the Fleet. To get more information about ScopeRBACRoleBinding, see: * [API documentation](https://cloud.google.com/anthos/fleet-management/docs/reference/rest/v1/projects.locations.scopes.rbacrolebindings) * How-to Guides * [Registering a Cluster](https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster#register_cluster) ## Example Usage ## Import ScopeRBACRoleBinding can be imported using any of these accepted formats ```sh $ pulumi import gcp:gkehub/scopeRbacRoleBinding:ScopeRbacRoleBinding default projects/{{project}}/locations/global/scopes/{{scope_id}}/rbacrolebindings/{{scope_rbac_role_binding_id}} ``` ```sh $ pulumi import gcp:gkehub/scopeRbacRoleBinding:ScopeRbacRoleBinding default {{project}}/{{scope_id}}/{{scope_rbac_role_binding_id}} ``` ```sh $ pulumi import gcp:gkehub/scopeRbacRoleBinding:ScopeRbacRoleBinding default {{scope_id}}/{{scope_rbac_role_binding_id}} ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> createTime()  
      com.pulumi.core.Output<java.lang.String> deleteTime()  
      static ScopeRbacRoleBinding get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ScopeRbacRoleBindingState state, com.pulumi.resources.CustomResourceOptions options)
      Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> group()  
      com.pulumi.core.Output<java.lang.String> name()  
      com.pulumi.core.Output<java.lang.String> project()  
      com.pulumi.core.Output<ScopeRbacRoleBindingRole> role()  
      com.pulumi.core.Output<java.lang.String> scopeId()  
      com.pulumi.core.Output<java.lang.String> scopeRbacRoleBindingId()  
      com.pulumi.core.Output<java.util.List<ScopeRbacRoleBindingState>> states()  
      com.pulumi.core.Output<java.lang.String> uid()  
      com.pulumi.core.Output<java.lang.String> updateTime()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> user()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScopeRbacRoleBinding

        public ScopeRbacRoleBinding​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • ScopeRbacRoleBinding

        public ScopeRbacRoleBinding​(java.lang.String name,
                                    ScopeRbacRoleBindingArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • ScopeRbacRoleBinding

        public ScopeRbacRoleBinding​(java.lang.String name,
                                    ScopeRbacRoleBindingArgs args,
                                    @Nullable
                                    com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • createTime

        public com.pulumi.core.Output<java.lang.String> createTime()
        Returns:
        Time the RBAC Role Binding was created in UTC.
      • deleteTime

        public com.pulumi.core.Output<java.lang.String> deleteTime()
        Returns:
        Time the RBAC Role Binding was deleted in UTC.
      • group

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> group()
        Returns:
        Principal that is be authorized in the cluster (at least of one the oneof is required). Updating one will unset the other automatically. group is the group, as seen by the kubernetes cluster.
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        The resource name for the RBAC Role Binding
      • project

        public com.pulumi.core.Output<java.lang.String> project()
        Returns:
        The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
      • role

        public com.pulumi.core.Output<ScopeRbacRoleBindingRole> role()
        Returns:
        Role to bind to the principal. Structure is documented below.
      • scopeId

        public com.pulumi.core.Output<java.lang.String> scopeId()
        Returns:
        Id of the scope
      • scopeRbacRoleBindingId

        public com.pulumi.core.Output<java.lang.String> scopeRbacRoleBindingId()
        Returns:
        The client-provided identifier of the RBAC Role Binding.
      • states

        public com.pulumi.core.Output<java.util.List<ScopeRbacRoleBindingState>> states()
        Returns:
        State of the RBAC Role Binding resource. Structure is documented below.
      • uid

        public com.pulumi.core.Output<java.lang.String> uid()
        Returns:
        Google-generated UUID for this resource.
      • updateTime

        public com.pulumi.core.Output<java.lang.String> updateTime()
        Returns:
        Time the RBAC Role Binding was updated in UTC.
      • user

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> user()
        Returns:
        Principal that is be authorized in the cluster (at least of one the oneof is required). Updating one will unset the other automatically. user is the name of the user as seen by the kubernetes cluster, example "alice" or "[email protected]"
      • get

        public static ScopeRbacRoleBinding get​(java.lang.String name,
                                               com.pulumi.core.Output<java.lang.String> id,
                                               @Nullable
                                               ScopeRbacRoleBindingState state,
                                               @Nullable
                                               com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.