1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. gkehub
  5. Feature
Google Cloud Classic v6.66.0 published on Monday, Sep 18, 2023 by Pulumi

gcp.gkehub.Feature

Explore with Pulumi AI

gcp logo
Google Cloud Classic v6.66.0 published on Monday, Sep 18, 2023 by Pulumi

    Feature represents the settings and status of any Hub Feature.

    To get more information about Feature, see:

    Example Usage

    Gkehub Feature Multi Cluster Ingress

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new Gcp.Container.Cluster("cluster", new()
        {
            Location = "us-central1-a",
            InitialNodeCount = 1,
        });
    
        var membership = new Gcp.GkeHub.Membership("membership", new()
        {
            MembershipId = "my-membership",
            Endpoint = new Gcp.GkeHub.Inputs.MembershipEndpointArgs
            {
                GkeCluster = new Gcp.GkeHub.Inputs.MembershipEndpointGkeClusterArgs
                {
                    ResourceLink = cluster.Id.Apply(id => $"//container.googleapis.com/{id}"),
                },
            },
            Description = "Membership",
        });
    
        var feature = new Gcp.GkeHub.Feature("feature", new()
        {
            Location = "global",
            Spec = new Gcp.GkeHub.Inputs.FeatureSpecArgs
            {
                Multiclusteringress = new Gcp.GkeHub.Inputs.FeatureSpecMulticlusteringressArgs
                {
                    ConfigMembership = membership.Id,
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/container"
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/gkehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cluster, err := container.NewCluster(ctx, "cluster", &container.ClusterArgs{
    			Location:         pulumi.String("us-central1-a"),
    			InitialNodeCount: pulumi.Int(1),
    		})
    		if err != nil {
    			return err
    		}
    		membership, err := gkehub.NewMembership(ctx, "membership", &gkehub.MembershipArgs{
    			MembershipId: pulumi.String("my-membership"),
    			Endpoint: &gkehub.MembershipEndpointArgs{
    				GkeCluster: &gkehub.MembershipEndpointGkeClusterArgs{
    					ResourceLink: cluster.ID().ApplyT(func(id string) (string, error) {
    						return fmt.Sprintf("//container.googleapis.com/%v", id), nil
    					}).(pulumi.StringOutput),
    				},
    			},
    			Description: pulumi.String("Membership"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = gkehub.NewFeature(ctx, "feature", &gkehub.FeatureArgs{
    			Location: pulumi.String("global"),
    			Spec: &gkehub.FeatureSpecArgs{
    				Multiclusteringress: &gkehub.FeatureSpecMulticlusteringressArgs{
    					ConfigMembership: membership.ID(),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.gkehub.Feature;
    import com.pulumi.gcp.gkehub.FeatureArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecMulticlusteringressArgs;
    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 cluster = new Cluster("cluster", ClusterArgs.builder()        
                .location("us-central1-a")
                .initialNodeCount(1)
                .build());
    
            var membership = new Membership("membership", MembershipArgs.builder()        
                .membershipId("my-membership")
                .endpoint(MembershipEndpointArgs.builder()
                    .gkeCluster(MembershipEndpointGkeClusterArgs.builder()
                        .resourceLink(cluster.id().applyValue(id -> String.format("//container.googleapis.com/%s", id)))
                        .build())
                    .build())
                .description("Membership")
                .build());
    
            var feature = new Feature("feature", FeatureArgs.builder()        
                .location("global")
                .spec(FeatureSpecArgs.builder()
                    .multiclusteringress(FeatureSpecMulticlusteringressArgs.builder()
                        .configMembership(membership.id())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    cluster = gcp.container.Cluster("cluster",
        location="us-central1-a",
        initial_node_count=1)
    membership = gcp.gkehub.Membership("membership",
        membership_id="my-membership",
        endpoint=gcp.gkehub.MembershipEndpointArgs(
            gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
                resource_link=cluster.id.apply(lambda id: f"//container.googleapis.com/{id}"),
            ),
        ),
        description="Membership")
    feature = gcp.gkehub.Feature("feature",
        location="global",
        spec=gcp.gkehub.FeatureSpecArgs(
            multiclusteringress=gcp.gkehub.FeatureSpecMulticlusteringressArgs(
                config_membership=membership.id,
            ),
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const cluster = new gcp.container.Cluster("cluster", {
        location: "us-central1-a",
        initialNodeCount: 1,
    });
    const membership = new gcp.gkehub.Membership("membership", {
        membershipId: "my-membership",
        endpoint: {
            gkeCluster: {
                resourceLink: pulumi.interpolate`//container.googleapis.com/${cluster.id}`,
            },
        },
        description: "Membership",
    });
    const feature = new gcp.gkehub.Feature("feature", {
        location: "global",
        spec: {
            multiclusteringress: {
                configMembership: membership.id,
            },
        },
    });
    
    resources:
      cluster:
        type: gcp:container:Cluster
        properties:
          location: us-central1-a
          initialNodeCount: 1
      membership:
        type: gcp:gkehub:Membership
        properties:
          membershipId: my-membership
          endpoint:
            gkeCluster:
              resourceLink: //container.googleapis.com/${cluster.id}
          description: Membership
      feature:
        type: gcp:gkehub:Feature
        properties:
          location: global
          spec:
            multiclusteringress:
              configMembership: ${membership.id}
    

    Gkehub Feature Multi Cluster Service Discovery

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var feature = new Gcp.GkeHub.Feature("feature", new()
        {
            Labels = 
            {
                { "foo", "bar" },
            },
            Location = "global",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/gkehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gkehub.NewFeature(ctx, "feature", &gkehub.FeatureArgs{
    			Labels: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    			Location: pulumi.String("global"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.gkehub.Feature;
    import com.pulumi.gcp.gkehub.FeatureArgs;
    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 feature = new Feature("feature", FeatureArgs.builder()        
                .labels(Map.of("foo", "bar"))
                .location("global")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    feature = gcp.gkehub.Feature("feature",
        labels={
            "foo": "bar",
        },
        location="global")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const feature = new gcp.gkehub.Feature("feature", {
        labels: {
            foo: "bar",
        },
        location: "global",
    });
    
    resources:
      feature:
        type: gcp:gkehub:Feature
        properties:
          labels:
            foo: bar
          location: global
    

    Gkehub Feature Anthos Service Mesh

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var feature = new Gcp.GkeHub.Feature("feature", new()
        {
            Location = "global",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/gkehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gkehub.NewFeature(ctx, "feature", &gkehub.FeatureArgs{
    			Location: pulumi.String("global"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.gkehub.Feature;
    import com.pulumi.gcp.gkehub.FeatureArgs;
    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 feature = new Feature("feature", FeatureArgs.builder()        
                .location("global")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    feature = gcp.gkehub.Feature("feature", location="global")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const feature = new gcp.gkehub.Feature("feature", {location: "global"});
    
    resources:
      feature:
        type: gcp:gkehub:Feature
        properties:
          location: global
    

    Enable Fleet Observability For Default Logs With Copy

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var feature = new Gcp.GkeHub.Feature("feature", new()
        {
            Location = "global",
            Spec = new Gcp.GkeHub.Inputs.FeatureSpecArgs
            {
                Fleetobservability = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityArgs
                {
                    LoggingConfig = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityLoggingConfigArgs
                    {
                        DefaultConfig = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs
                        {
                            Mode = "COPY",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/gkehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gkehub.NewFeature(ctx, "feature", &gkehub.FeatureArgs{
    			Location: pulumi.String("global"),
    			Spec: &gkehub.FeatureSpecArgs{
    				Fleetobservability: &gkehub.FeatureSpecFleetobservabilityArgs{
    					LoggingConfig: &gkehub.FeatureSpecFleetobservabilityLoggingConfigArgs{
    						DefaultConfig: &gkehub.FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs{
    							Mode: pulumi.String("COPY"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.gkehub.Feature;
    import com.pulumi.gcp.gkehub.FeatureArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityLoggingConfigArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs;
    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 feature = new Feature("feature", FeatureArgs.builder()        
                .location("global")
                .spec(FeatureSpecArgs.builder()
                    .fleetobservability(FeatureSpecFleetobservabilityArgs.builder()
                        .loggingConfig(FeatureSpecFleetobservabilityLoggingConfigArgs.builder()
                            .defaultConfig(FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs.builder()
                                .mode("COPY")
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    feature = gcp.gkehub.Feature("feature",
        location="global",
        spec=gcp.gkehub.FeatureSpecArgs(
            fleetobservability=gcp.gkehub.FeatureSpecFleetobservabilityArgs(
                logging_config=gcp.gkehub.FeatureSpecFleetobservabilityLoggingConfigArgs(
                    default_config=gcp.gkehub.FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs(
                        mode="COPY",
                    ),
                ),
            ),
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const feature = new gcp.gkehub.Feature("feature", {
        location: "global",
        spec: {
            fleetobservability: {
                loggingConfig: {
                    defaultConfig: {
                        mode: "COPY",
                    },
                },
            },
        },
    });
    
    resources:
      feature:
        type: gcp:gkehub:Feature
        properties:
          location: global
          spec:
            fleetobservability:
              loggingConfig:
                defaultConfig:
                  mode: COPY
    

    Enable Fleet Observability For Scope Logs With Move

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var feature = new Gcp.GkeHub.Feature("feature", new()
        {
            Location = "global",
            Spec = new Gcp.GkeHub.Inputs.FeatureSpecArgs
            {
                Fleetobservability = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityArgs
                {
                    LoggingConfig = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityLoggingConfigArgs
                    {
                        FleetScopeLogsConfig = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs
                        {
                            Mode = "MOVE",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/gkehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gkehub.NewFeature(ctx, "feature", &gkehub.FeatureArgs{
    			Location: pulumi.String("global"),
    			Spec: &gkehub.FeatureSpecArgs{
    				Fleetobservability: &gkehub.FeatureSpecFleetobservabilityArgs{
    					LoggingConfig: &gkehub.FeatureSpecFleetobservabilityLoggingConfigArgs{
    						FleetScopeLogsConfig: &gkehub.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs{
    							Mode: pulumi.String("MOVE"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.gkehub.Feature;
    import com.pulumi.gcp.gkehub.FeatureArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityLoggingConfigArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs;
    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 feature = new Feature("feature", FeatureArgs.builder()        
                .location("global")
                .spec(FeatureSpecArgs.builder()
                    .fleetobservability(FeatureSpecFleetobservabilityArgs.builder()
                        .loggingConfig(FeatureSpecFleetobservabilityLoggingConfigArgs.builder()
                            .fleetScopeLogsConfig(FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs.builder()
                                .mode("MOVE")
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    feature = gcp.gkehub.Feature("feature",
        location="global",
        spec=gcp.gkehub.FeatureSpecArgs(
            fleetobservability=gcp.gkehub.FeatureSpecFleetobservabilityArgs(
                logging_config=gcp.gkehub.FeatureSpecFleetobservabilityLoggingConfigArgs(
                    fleet_scope_logs_config=gcp.gkehub.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs(
                        mode="MOVE",
                    ),
                ),
            ),
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const feature = new gcp.gkehub.Feature("feature", {
        location: "global",
        spec: {
            fleetobservability: {
                loggingConfig: {
                    fleetScopeLogsConfig: {
                        mode: "MOVE",
                    },
                },
            },
        },
    });
    
    resources:
      feature:
        type: gcp:gkehub:Feature
        properties:
          location: global
          spec:
            fleetobservability:
              loggingConfig:
                fleetScopeLogsConfig:
                  mode: MOVE
    

    Enable Fleet Observability For Both Default And Scope Logs

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var feature = new Gcp.GkeHub.Feature("feature", new()
        {
            Location = "global",
            Spec = new Gcp.GkeHub.Inputs.FeatureSpecArgs
            {
                Fleetobservability = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityArgs
                {
                    LoggingConfig = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityLoggingConfigArgs
                    {
                        DefaultConfig = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs
                        {
                            Mode = "COPY",
                        },
                        FleetScopeLogsConfig = new Gcp.GkeHub.Inputs.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs
                        {
                            Mode = "MOVE",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/gkehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gkehub.NewFeature(ctx, "feature", &gkehub.FeatureArgs{
    			Location: pulumi.String("global"),
    			Spec: &gkehub.FeatureSpecArgs{
    				Fleetobservability: &gkehub.FeatureSpecFleetobservabilityArgs{
    					LoggingConfig: &gkehub.FeatureSpecFleetobservabilityLoggingConfigArgs{
    						DefaultConfig: &gkehub.FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs{
    							Mode: pulumi.String("COPY"),
    						},
    						FleetScopeLogsConfig: &gkehub.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs{
    							Mode: pulumi.String("MOVE"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.gkehub.Feature;
    import com.pulumi.gcp.gkehub.FeatureArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityLoggingConfigArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs;
    import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs;
    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 feature = new Feature("feature", FeatureArgs.builder()        
                .location("global")
                .spec(FeatureSpecArgs.builder()
                    .fleetobservability(FeatureSpecFleetobservabilityArgs.builder()
                        .loggingConfig(FeatureSpecFleetobservabilityLoggingConfigArgs.builder()
                            .defaultConfig(FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs.builder()
                                .mode("COPY")
                                .build())
                            .fleetScopeLogsConfig(FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs.builder()
                                .mode("MOVE")
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    feature = gcp.gkehub.Feature("feature",
        location="global",
        spec=gcp.gkehub.FeatureSpecArgs(
            fleetobservability=gcp.gkehub.FeatureSpecFleetobservabilityArgs(
                logging_config=gcp.gkehub.FeatureSpecFleetobservabilityLoggingConfigArgs(
                    default_config=gcp.gkehub.FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs(
                        mode="COPY",
                    ),
                    fleet_scope_logs_config=gcp.gkehub.FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs(
                        mode="MOVE",
                    ),
                ),
            ),
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const feature = new gcp.gkehub.Feature("feature", {
        location: "global",
        spec: {
            fleetobservability: {
                loggingConfig: {
                    defaultConfig: {
                        mode: "COPY",
                    },
                    fleetScopeLogsConfig: {
                        mode: "MOVE",
                    },
                },
            },
        },
    });
    
    resources:
      feature:
        type: gcp:gkehub:Feature
        properties:
          location: global
          spec:
            fleetobservability:
              loggingConfig:
                defaultConfig:
                  mode: COPY
                fleetScopeLogsConfig:
                  mode: MOVE
    

    Create Feature Resource

    new Feature(name: string, args: FeatureArgs, opts?: CustomResourceOptions);
    @overload
    def Feature(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                labels: Optional[Mapping[str, str]] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                spec: Optional[FeatureSpecArgs] = None)
    @overload
    def Feature(resource_name: str,
                args: FeatureArgs,
                opts: Optional[ResourceOptions] = None)
    func NewFeature(ctx *Context, name string, args FeatureArgs, opts ...ResourceOption) (*Feature, error)
    public Feature(string name, FeatureArgs args, CustomResourceOptions? opts = null)
    public Feature(String name, FeatureArgs args)
    public Feature(String name, FeatureArgs args, CustomResourceOptions options)
    
    type: gcp:gkehub:Feature
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FeatureArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Feature Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Feature resource accepts the following input properties:

    Location string

    The location for the resource


    Labels Dictionary<string, string>

    GCP labels for this Feature.

    Name string

    The full, unique name of this Feature resource

    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Spec FeatureSpec

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    Location string

    The location for the resource


    Labels map[string]string

    GCP labels for this Feature.

    Name string

    The full, unique name of this Feature resource

    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Spec FeatureSpecArgs

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    location String

    The location for the resource


    labels Map<String,String>

    GCP labels for this Feature.

    name String

    The full, unique name of this Feature resource

    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    spec FeatureSpec

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    location string

    The location for the resource


    labels {[key: string]: string}

    GCP labels for this Feature.

    name string

    The full, unique name of this Feature resource

    project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    spec FeatureSpec

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    location str

    The location for the resource


    labels Mapping[str, str]

    GCP labels for this Feature.

    name str

    The full, unique name of this Feature resource

    project str

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    spec FeatureSpecArgs

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    location String

    The location for the resource


    labels Map<String>

    GCP labels for this Feature.

    name String

    The full, unique name of this Feature resource

    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    spec Property Map

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Feature resource produces the following output properties:

    CreateTime string

    Output only. When the Feature resource was created.

    DeleteTime string

    Output only. When the Feature resource was deleted.

    Id string

    The provider-assigned unique ID for this managed resource.

    ResourceStates List<FeatureResourceState>

    State of the Feature resource itself. Structure is documented below.

    States List<FeatureState>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    UpdateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    CreateTime string

    Output only. When the Feature resource was created.

    DeleteTime string

    Output only. When the Feature resource was deleted.

    Id string

    The provider-assigned unique ID for this managed resource.

    ResourceStates []FeatureResourceState

    State of the Feature resource itself. Structure is documented below.

    States []FeatureStateType

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    UpdateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    createTime String

    Output only. When the Feature resource was created.

    deleteTime String

    Output only. When the Feature resource was deleted.

    id String

    The provider-assigned unique ID for this managed resource.

    resourceStates List<FeatureResourceState>

    State of the Feature resource itself. Structure is documented below.

    states List<FeatureState>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    updateTime String

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    createTime string

    Output only. When the Feature resource was created.

    deleteTime string

    Output only. When the Feature resource was deleted.

    id string

    The provider-assigned unique ID for this managed resource.

    resourceStates FeatureResourceState[]

    State of the Feature resource itself. Structure is documented below.

    states FeatureState[]

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    updateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    create_time str

    Output only. When the Feature resource was created.

    delete_time str

    Output only. When the Feature resource was deleted.

    id str

    The provider-assigned unique ID for this managed resource.

    resource_states Sequence[FeatureResourceState]

    State of the Feature resource itself. Structure is documented below.

    states Sequence[FeatureState]

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    update_time str

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    createTime String

    Output only. When the Feature resource was created.

    deleteTime String

    Output only. When the Feature resource was deleted.

    id String

    The provider-assigned unique ID for this managed resource.

    resourceStates List<Property Map>

    State of the Feature resource itself. Structure is documented below.

    states List<Property Map>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    updateTime String

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    Look up Existing Feature Resource

    Get an existing Feature resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FeatureState, opts?: CustomResourceOptions): Feature
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            delete_time: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            resource_states: Optional[Sequence[FeatureResourceStateArgs]] = None,
            spec: Optional[FeatureSpecArgs] = None,
            states: Optional[Sequence[FeatureStateArgs]] = None,
            update_time: Optional[str] = None) -> Feature
    func GetFeature(ctx *Context, name string, id IDInput, state *FeatureState, opts ...ResourceOption) (*Feature, error)
    public static Feature Get(string name, Input<string> id, FeatureState? state, CustomResourceOptions? opts = null)
    public static Feature get(String name, Output<String> id, FeatureState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string

    Output only. When the Feature resource was created.

    DeleteTime string

    Output only. When the Feature resource was deleted.

    Labels Dictionary<string, string>

    GCP labels for this Feature.

    Location string

    The location for the resource


    Name string

    The full, unique name of this Feature resource

    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    ResourceStates List<FeatureResourceState>

    State of the Feature resource itself. Structure is documented below.

    Spec FeatureSpec

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    States List<FeatureState>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    UpdateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    CreateTime string

    Output only. When the Feature resource was created.

    DeleteTime string

    Output only. When the Feature resource was deleted.

    Labels map[string]string

    GCP labels for this Feature.

    Location string

    The location for the resource


    Name string

    The full, unique name of this Feature resource

    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    ResourceStates []FeatureResourceStateArgs

    State of the Feature resource itself. Structure is documented below.

    Spec FeatureSpecArgs

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    States []FeatureStateTypeArgs

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    UpdateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    createTime String

    Output only. When the Feature resource was created.

    deleteTime String

    Output only. When the Feature resource was deleted.

    labels Map<String,String>

    GCP labels for this Feature.

    location String

    The location for the resource


    name String

    The full, unique name of this Feature resource

    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    resourceStates List<FeatureResourceState>

    State of the Feature resource itself. Structure is documented below.

    spec FeatureSpec

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    states List<FeatureState>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    updateTime String

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    createTime string

    Output only. When the Feature resource was created.

    deleteTime string

    Output only. When the Feature resource was deleted.

    labels {[key: string]: string}

    GCP labels for this Feature.

    location string

    The location for the resource


    name string

    The full, unique name of this Feature resource

    project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    resourceStates FeatureResourceState[]

    State of the Feature resource itself. Structure is documented below.

    spec FeatureSpec

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    states FeatureState[]

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    updateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    create_time str

    Output only. When the Feature resource was created.

    delete_time str

    Output only. When the Feature resource was deleted.

    labels Mapping[str, str]

    GCP labels for this Feature.

    location str

    The location for the resource


    name str

    The full, unique name of this Feature resource

    project str

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    resource_states Sequence[FeatureResourceStateArgs]

    State of the Feature resource itself. Structure is documented below.

    spec FeatureSpecArgs

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    states Sequence[FeatureStateArgs]

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    update_time str

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    createTime String

    Output only. When the Feature resource was created.

    deleteTime String

    Output only. When the Feature resource was deleted.

    labels Map<String>

    GCP labels for this Feature.

    location String

    The location for the resource


    name String

    The full, unique name of this Feature resource

    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    resourceStates List<Property Map>

    State of the Feature resource itself. Structure is documented below.

    spec Property Map

    Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused. Structure is documented below.

    states List<Property Map>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    updateTime String

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    Supporting Types

    FeatureResourceState, FeatureResourceStateArgs

    HasResources bool

    (Output) Whether this Feature has outstanding resources that need to be cleaned up before it can be disabled.

    State string

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    HasResources bool

    (Output) Whether this Feature has outstanding resources that need to be cleaned up before it can be disabled.

    State string

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    hasResources Boolean

    (Output) Whether this Feature has outstanding resources that need to be cleaned up before it can be disabled.

    state String

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    hasResources boolean

    (Output) Whether this Feature has outstanding resources that need to be cleaned up before it can be disabled.

    state string

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    has_resources bool

    (Output) Whether this Feature has outstanding resources that need to be cleaned up before it can be disabled.

    state str

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    hasResources Boolean

    (Output) Whether this Feature has outstanding resources that need to be cleaned up before it can be disabled.

    state String

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    FeatureSpec, FeatureSpecArgs

    Fleetobservability FeatureSpecFleetobservability

    Fleet Observability feature spec. Structure is documented below.

    Multiclusteringress FeatureSpecMulticlusteringress

    Multicluster Ingress-specific spec. Structure is documented below.

    Fleetobservability FeatureSpecFleetobservability

    Fleet Observability feature spec. Structure is documented below.

    Multiclusteringress FeatureSpecMulticlusteringress

    Multicluster Ingress-specific spec. Structure is documented below.

    fleetobservability FeatureSpecFleetobservability

    Fleet Observability feature spec. Structure is documented below.

    multiclusteringress FeatureSpecMulticlusteringress

    Multicluster Ingress-specific spec. Structure is documented below.

    fleetobservability FeatureSpecFleetobservability

    Fleet Observability feature spec. Structure is documented below.

    multiclusteringress FeatureSpecMulticlusteringress

    Multicluster Ingress-specific spec. Structure is documented below.

    fleetobservability FeatureSpecFleetobservability

    Fleet Observability feature spec. Structure is documented below.

    multiclusteringress FeatureSpecMulticlusteringress

    Multicluster Ingress-specific spec. Structure is documented below.

    fleetobservability Property Map

    Fleet Observability feature spec. Structure is documented below.

    multiclusteringress Property Map

    Multicluster Ingress-specific spec. Structure is documented below.

    FeatureSpecFleetobservability, FeatureSpecFleetobservabilityArgs

    LoggingConfig FeatureSpecFleetobservabilityLoggingConfig

    Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. Structure is documented below.

    LoggingConfig FeatureSpecFleetobservabilityLoggingConfig

    Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. Structure is documented below.

    loggingConfig FeatureSpecFleetobservabilityLoggingConfig

    Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. Structure is documented below.

    loggingConfig FeatureSpecFleetobservabilityLoggingConfig

    Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. Structure is documented below.

    logging_config FeatureSpecFleetobservabilityLoggingConfig

    Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. Structure is documented below.

    loggingConfig Property Map

    Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. Structure is documented below.

    FeatureSpecFleetobservabilityLoggingConfig, FeatureSpecFleetobservabilityLoggingConfigArgs

    DefaultConfig FeatureSpecFleetobservabilityLoggingConfigDefaultConfig

    Specified if applying the default routing config to logs not specified in other configs. Structure is documented below.

    FleetScopeLogsConfig FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig

    Specified if applying the routing config to all logs for all fleet scopes. Structure is documented below.

    DefaultConfig FeatureSpecFleetobservabilityLoggingConfigDefaultConfig

    Specified if applying the default routing config to logs not specified in other configs. Structure is documented below.

    FleetScopeLogsConfig FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig

    Specified if applying the routing config to all logs for all fleet scopes. Structure is documented below.

    defaultConfig FeatureSpecFleetobservabilityLoggingConfigDefaultConfig

    Specified if applying the default routing config to logs not specified in other configs. Structure is documented below.

    fleetScopeLogsConfig FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig

    Specified if applying the routing config to all logs for all fleet scopes. Structure is documented below.

    defaultConfig FeatureSpecFleetobservabilityLoggingConfigDefaultConfig

    Specified if applying the default routing config to logs not specified in other configs. Structure is documented below.

    fleetScopeLogsConfig FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig

    Specified if applying the routing config to all logs for all fleet scopes. Structure is documented below.

    default_config FeatureSpecFleetobservabilityLoggingConfigDefaultConfig

    Specified if applying the default routing config to logs not specified in other configs. Structure is documented below.

    fleet_scope_logs_config FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig

    Specified if applying the routing config to all logs for all fleet scopes. Structure is documented below.

    defaultConfig Property Map

    Specified if applying the default routing config to logs not specified in other configs. Structure is documented below.

    fleetScopeLogsConfig Property Map

    Specified if applying the routing config to all logs for all fleet scopes. Structure is documented below.

    FeatureSpecFleetobservabilityLoggingConfigDefaultConfig, FeatureSpecFleetobservabilityLoggingConfigDefaultConfigArgs

    Mode string

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    Mode string

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    mode String

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    mode string

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    mode str

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    mode String

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfig, FeatureSpecFleetobservabilityLoggingConfigFleetScopeLogsConfigArgs

    Mode string

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    Mode string

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    mode String

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    mode string

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    mode str

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    mode String

    Specified if fleet logging feature is enabled. Possible values are: MODE_UNSPECIFIED, COPY, MOVE.

    FeatureSpecMulticlusteringress, FeatureSpecMulticlusteringressArgs

    ConfigMembership string

    Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

    ConfigMembership string

    Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

    configMembership String

    Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

    configMembership string

    Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

    config_membership str

    Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

    configMembership String

    Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: projects/foo-proj/locations/global/memberships/bar

    FeatureState, FeatureStateArgs

    States List<FeatureStateState>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    States []FeatureStateState

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    states List<FeatureStateState>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    states FeatureStateState[]

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    states Sequence[FeatureStateState]

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    states List<Property Map>

    (Output) Output only. The "running state" of the Feature in this Hub. Structure is documented below.

    FeatureStateState, FeatureStateStateArgs

    Code string

    (Output) The high-level, machine-readable status of this Feature.

    Description string

    (Output) A human-readable description of the current status.

    UpdateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    Code string

    (Output) The high-level, machine-readable status of this Feature.

    Description string

    (Output) A human-readable description of the current status.

    UpdateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    code String

    (Output) The high-level, machine-readable status of this Feature.

    description String

    (Output) A human-readable description of the current status.

    updateTime String

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    code string

    (Output) The high-level, machine-readable status of this Feature.

    description string

    (Output) A human-readable description of the current status.

    updateTime string

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    code str

    (Output) The high-level, machine-readable status of this Feature.

    description str

    (Output) A human-readable description of the current status.

    update_time str

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    code String

    (Output) The high-level, machine-readable status of this Feature.

    description String

    (Output) A human-readable description of the current status.

    updateTime String

    (Output) The time this status and any related Feature-specific details were updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    Import

    Feature can be imported using any of these accepted formats

     $ pulumi import gcp:gkehub/feature:Feature default projects/{{project}}/locations/{{location}}/features/{{name}}
    
     $ pulumi import gcp:gkehub/feature:Feature default {{project}}/{{location}}/{{name}}
    
     $ pulumi import gcp:gkehub/feature:Feature default {{location}}/{{name}}
    

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the google-beta Terraform Provider.

    gcp logo
    Google Cloud Classic v6.66.0 published on Monday, Sep 18, 2023 by Pulumi