Feature |
Feature represents the settings and status of any Hub Feature.
|
FeatureArgs |
|
FeatureArgs.Builder |
|
FeatureIamBinding |
Three different resources help you manage your IAM policy for GKEHub Feature.
|
FeatureIamBindingArgs |
|
FeatureIamBindingArgs.Builder |
|
FeatureIamMember |
Three different resources help you manage your IAM policy for GKEHub Feature.
|
FeatureIamMemberArgs |
|
FeatureIamMemberArgs.Builder |
|
FeatureIamPolicy |
Three different resources help you manage your IAM policy for GKEHub Feature.
|
FeatureIamPolicyArgs |
|
FeatureIamPolicyArgs.Builder |
|
FeatureMembership |
Contains information about a GKEHub Feature Memberships.
|
FeatureMembershipArgs |
|
FeatureMembershipArgs.Builder |
|
Fleet |
Fleet contains information about a group of clusters.
|
FleetArgs |
|
FleetArgs.Builder |
|
GkehubFunctions |
|
Membership |
Membership contains information about a member cluster.
|
MembershipArgs |
|
MembershipArgs.Builder |
|
MembershipBinding |
MembershipBinding is a subresource of a Membership, representing what Fleet Scopes (or other, future Fleet resources) a Membership is bound to.
|
MembershipBindingArgs |
|
MembershipBindingArgs.Builder |
|
MembershipIamBinding |
Three different resources help you manage your IAM policy for GKEHub Membership.
|
MembershipIamBindingArgs |
|
MembershipIamBindingArgs.Builder |
|
MembershipIamMember |
Three different resources help you manage your IAM policy for GKEHub Membership.
|
MembershipIamMemberArgs |
|
MembershipIamMemberArgs.Builder |
|
MembershipIamPolicy |
Three different resources help you manage your IAM policy for GKEHub Membership.
|
MembershipIamPolicyArgs |
|
MembershipIamPolicyArgs.Builder |
|
MembershipRbacRoleBinding |
## Example Usage
### Gkehub Membership Rbac Role Binding Basic
<!--Start PulumiCodeChooser -->
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.Cluster;
import com.pulumi.gcp.container.ClusterArgs;
import com.pulumi.gcp.gkehub.Membership;
import com.pulumi.gcp.gkehub.MembershipArgs;
import com.pulumi.gcp.gkehub.inputs.MembershipEndpointArgs;
import com.pulumi.gcp.gkehub.inputs.MembershipEndpointGkeClusterArgs;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
import com.pulumi.gcp.gkehub.MembershipRbacRoleBinding;
import com.pulumi.gcp.gkehub.MembershipRbacRoleBindingArgs;
import com.pulumi.gcp.gkehub.inputs.MembershipRbacRoleBindingRoleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new Cluster("primary", ClusterArgs.builder()
.name("basic-cluster")
.location("us-central1-a")
.initialNodeCount(1)
.deletionProtection("true")
.network("default")
.subnetwork("default")
.build());
var membership = new Membership("membership", MembershipArgs.builder()
.membershipId("tf-test-membership_74391")
.endpoint(MembershipEndpointArgs.builder()
.gkeCluster(MembershipEndpointGkeClusterArgs.builder()
.resourceLink(primary.id().applyValue(id -> String.format("//container.googleapis.com/%s", id)))
.build())
.build())
.build());
final var project = OrganizationsFunctions.getProject();
var membershipRbacRoleBinding = new MembershipRbacRoleBinding("membershipRbacRoleBinding", MembershipRbacRoleBindingArgs.builder()
.membershipRbacRoleBindingId("tf-test-membership-rbac-role-binding_16511")
.membershipId(membership.membershipId())
.user(String.format("service-% [email protected]", project.applyValue(getProjectResult -> getProjectResult.number())))
.role(MembershipRbacRoleBindingRoleArgs.builder()
.predefinedRole("ANTHOS_SUPPORT")
.build())
.location("global")
.build());
}
}
```
<!--End PulumiCodeChooser -->
## Import
MembershipRBACRoleBinding can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/memberships/{{membership_id}}/rbacrolebindings/{{membership_rbac_role_binding_id}}`
* `{{project}}/{{location}}/{{membership_id}}/{{membership_rbac_role_binding_id}}`
* `{{location}}/{{membership_id}}/{{membership_rbac_role_binding_id}}`
When using the `pulumi import` command, MembershipRBACRoleBinding can be imported using one of the formats above.
|
MembershipRbacRoleBindingArgs |
|
MembershipRbacRoleBindingArgs.Builder |
|
Namespace |
Namespace represents a namespace across the Fleet.
|
NamespaceArgs |
|
NamespaceArgs.Builder |
|
Scope |
Scope represents a Scope in a Fleet.
|
ScopeArgs |
|
ScopeArgs.Builder |
|
ScopeIamBinding |
Three different resources help you manage your IAM policy for GKEHub Scope.
|
ScopeIamBindingArgs |
|
ScopeIamBindingArgs.Builder |
|
ScopeIamMember |
Three different resources help you manage your IAM policy for GKEHub Scope.
|
ScopeIamMemberArgs |
|
ScopeIamMemberArgs.Builder |
|
ScopeIamPolicy |
Three different resources help you manage your IAM policy for GKEHub Scope.
|
ScopeIamPolicyArgs |
|
ScopeIamPolicyArgs.Builder |
|
ScopeRbacRoleBinding |
RBACRoleBinding represents a rbacrolebinding across the Fleet.
|
ScopeRbacRoleBindingArgs |
|
ScopeRbacRoleBindingArgs.Builder |
|