1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. looker
  5. Instance
Google Cloud v8.27.1 published on Friday, Apr 25, 2025 by Pulumi

gcp.looker.Instance

Explore with Pulumi AI

A Google Cloud Looker instance.

To get more information about Instance, see:

Example Usage

Looker Instance Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const looker_instance = new gcp.looker.Instance("looker-instance", {
    name: "my-instance",
    platformEdition: "LOOKER_CORE_STANDARD_ANNUAL",
    region: "us-central1",
    oauthConfig: {
        clientId: "my-client-id",
        clientSecret: "my-client-secret",
    },
    deletionPolicy: "DEFAULT",
});
Copy
import pulumi
import pulumi_gcp as gcp

looker_instance = gcp.looker.Instance("looker-instance",
    name="my-instance",
    platform_edition="LOOKER_CORE_STANDARD_ANNUAL",
    region="us-central1",
    oauth_config={
        "client_id": "my-client-id",
        "client_secret": "my-client-secret",
    },
    deletion_policy="DEFAULT")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/looker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := looker.NewInstance(ctx, "looker-instance", &looker.InstanceArgs{
			Name:            pulumi.String("my-instance"),
			PlatformEdition: pulumi.String("LOOKER_CORE_STANDARD_ANNUAL"),
			Region:          pulumi.String("us-central1"),
			OauthConfig: &looker.InstanceOauthConfigArgs{
				ClientId:     pulumi.String("my-client-id"),
				ClientSecret: pulumi.String("my-client-secret"),
			},
			DeletionPolicy: pulumi.String("DEFAULT"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var looker_instance = new Gcp.Looker.Instance("looker-instance", new()
    {
        Name = "my-instance",
        PlatformEdition = "LOOKER_CORE_STANDARD_ANNUAL",
        Region = "us-central1",
        OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
        {
            ClientId = "my-client-id",
            ClientSecret = "my-client-secret",
        },
        DeletionPolicy = "DEFAULT",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.looker.Instance;
import com.pulumi.gcp.looker.InstanceArgs;
import com.pulumi.gcp.looker.inputs.InstanceOauthConfigArgs;
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 looker_instance = new Instance("looker-instance", InstanceArgs.builder()
            .name("my-instance")
            .platformEdition("LOOKER_CORE_STANDARD_ANNUAL")
            .region("us-central1")
            .oauthConfig(InstanceOauthConfigArgs.builder()
                .clientId("my-client-id")
                .clientSecret("my-client-secret")
                .build())
            .deletionPolicy("DEFAULT")
            .build());

    }
}
Copy
resources:
  looker-instance:
    type: gcp:looker:Instance
    properties:
      name: my-instance
      platformEdition: LOOKER_CORE_STANDARD_ANNUAL
      region: us-central1
      oauthConfig:
        clientId: my-client-id
        clientSecret: my-client-secret
      deletionPolicy: DEFAULT
Copy

Looker Instance Full

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const looker_instance = new gcp.looker.Instance("looker-instance", {
    name: "my-instance",
    platformEdition: "LOOKER_CORE_STANDARD_ANNUAL",
    region: "us-central1",
    publicIpEnabled: true,
    adminSettings: {
        allowedEmailDomains: ["google.com"],
    },
    maintenanceWindow: {
        dayOfWeek: "THURSDAY",
        startTime: {
            hours: 22,
            minutes: 0,
            seconds: 0,
            nanos: 0,
        },
    },
    denyMaintenancePeriod: {
        startDate: {
            year: 2050,
            month: 1,
            day: 1,
        },
        endDate: {
            year: 2050,
            month: 2,
            day: 1,
        },
        time: {
            hours: 10,
            minutes: 0,
            seconds: 0,
            nanos: 0,
        },
    },
    oauthConfig: {
        clientId: "my-client-id",
        clientSecret: "my-client-secret",
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

looker_instance = gcp.looker.Instance("looker-instance",
    name="my-instance",
    platform_edition="LOOKER_CORE_STANDARD_ANNUAL",
    region="us-central1",
    public_ip_enabled=True,
    admin_settings={
        "allowed_email_domains": ["google.com"],
    },
    maintenance_window={
        "day_of_week": "THURSDAY",
        "start_time": {
            "hours": 22,
            "minutes": 0,
            "seconds": 0,
            "nanos": 0,
        },
    },
    deny_maintenance_period={
        "start_date": {
            "year": 2050,
            "month": 1,
            "day": 1,
        },
        "end_date": {
            "year": 2050,
            "month": 2,
            "day": 1,
        },
        "time": {
            "hours": 10,
            "minutes": 0,
            "seconds": 0,
            "nanos": 0,
        },
    },
    oauth_config={
        "client_id": "my-client-id",
        "client_secret": "my-client-secret",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/looker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := looker.NewInstance(ctx, "looker-instance", &looker.InstanceArgs{
			Name:            pulumi.String("my-instance"),
			PlatformEdition: pulumi.String("LOOKER_CORE_STANDARD_ANNUAL"),
			Region:          pulumi.String("us-central1"),
			PublicIpEnabled: pulumi.Bool(true),
			AdminSettings: &looker.InstanceAdminSettingsArgs{
				AllowedEmailDomains: pulumi.StringArray{
					pulumi.String("google.com"),
				},
			},
			MaintenanceWindow: &looker.InstanceMaintenanceWindowArgs{
				DayOfWeek: pulumi.String("THURSDAY"),
				StartTime: &looker.InstanceMaintenanceWindowStartTimeArgs{
					Hours:   pulumi.Int(22),
					Minutes: pulumi.Int(0),
					Seconds: pulumi.Int(0),
					Nanos:   pulumi.Int(0),
				},
			},
			DenyMaintenancePeriod: &looker.InstanceDenyMaintenancePeriodArgs{
				StartDate: &looker.InstanceDenyMaintenancePeriodStartDateArgs{
					Year:  pulumi.Int(2050),
					Month: pulumi.Int(1),
					Day:   pulumi.Int(1),
				},
				EndDate: &looker.InstanceDenyMaintenancePeriodEndDateArgs{
					Year:  pulumi.Int(2050),
					Month: pulumi.Int(2),
					Day:   pulumi.Int(1),
				},
				Time: &looker.InstanceDenyMaintenancePeriodTimeArgs{
					Hours:   pulumi.Int(10),
					Minutes: pulumi.Int(0),
					Seconds: pulumi.Int(0),
					Nanos:   pulumi.Int(0),
				},
			},
			OauthConfig: &looker.InstanceOauthConfigArgs{
				ClientId:     pulumi.String("my-client-id"),
				ClientSecret: pulumi.String("my-client-secret"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var looker_instance = new Gcp.Looker.Instance("looker-instance", new()
    {
        Name = "my-instance",
        PlatformEdition = "LOOKER_CORE_STANDARD_ANNUAL",
        Region = "us-central1",
        PublicIpEnabled = true,
        AdminSettings = new Gcp.Looker.Inputs.InstanceAdminSettingsArgs
        {
            AllowedEmailDomains = new[]
            {
                "google.com",
            },
        },
        MaintenanceWindow = new Gcp.Looker.Inputs.InstanceMaintenanceWindowArgs
        {
            DayOfWeek = "THURSDAY",
            StartTime = new Gcp.Looker.Inputs.InstanceMaintenanceWindowStartTimeArgs
            {
                Hours = 22,
                Minutes = 0,
                Seconds = 0,
                Nanos = 0,
            },
        },
        DenyMaintenancePeriod = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodArgs
        {
            StartDate = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodStartDateArgs
            {
                Year = 2050,
                Month = 1,
                Day = 1,
            },
            EndDate = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodEndDateArgs
            {
                Year = 2050,
                Month = 2,
                Day = 1,
            },
            Time = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodTimeArgs
            {
                Hours = 10,
                Minutes = 0,
                Seconds = 0,
                Nanos = 0,
            },
        },
        OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
        {
            ClientId = "my-client-id",
            ClientSecret = "my-client-secret",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.looker.Instance;
import com.pulumi.gcp.looker.InstanceArgs;
import com.pulumi.gcp.looker.inputs.InstanceAdminSettingsArgs;
import com.pulumi.gcp.looker.inputs.InstanceMaintenanceWindowArgs;
import com.pulumi.gcp.looker.inputs.InstanceMaintenanceWindowStartTimeArgs;
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodArgs;
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodStartDateArgs;
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodEndDateArgs;
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodTimeArgs;
import com.pulumi.gcp.looker.inputs.InstanceOauthConfigArgs;
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 looker_instance = new Instance("looker-instance", InstanceArgs.builder()
            .name("my-instance")
            .platformEdition("LOOKER_CORE_STANDARD_ANNUAL")
            .region("us-central1")
            .publicIpEnabled(true)
            .adminSettings(InstanceAdminSettingsArgs.builder()
                .allowedEmailDomains("google.com")
                .build())
            .maintenanceWindow(InstanceMaintenanceWindowArgs.builder()
                .dayOfWeek("THURSDAY")
                .startTime(InstanceMaintenanceWindowStartTimeArgs.builder()
                    .hours(22)
                    .minutes(0)
                    .seconds(0)
                    .nanos(0)
                    .build())
                .build())
            .denyMaintenancePeriod(InstanceDenyMaintenancePeriodArgs.builder()
                .startDate(InstanceDenyMaintenancePeriodStartDateArgs.builder()
                    .year(2050)
                    .month(1)
                    .day(1)
                    .build())
                .endDate(InstanceDenyMaintenancePeriodEndDateArgs.builder()
                    .year(2050)
                    .month(2)
                    .day(1)
                    .build())
                .time(InstanceDenyMaintenancePeriodTimeArgs.builder()
                    .hours(10)
                    .minutes(0)
                    .seconds(0)
                    .nanos(0)
                    .build())
                .build())
            .oauthConfig(InstanceOauthConfigArgs.builder()
                .clientId("my-client-id")
                .clientSecret("my-client-secret")
                .build())
            .build());

    }
}
Copy
resources:
  looker-instance:
    type: gcp:looker:Instance
    properties:
      name: my-instance
      platformEdition: LOOKER_CORE_STANDARD_ANNUAL
      region: us-central1
      publicIpEnabled: true
      adminSettings:
        allowedEmailDomains:
          - google.com
      maintenanceWindow:
        dayOfWeek: THURSDAY
        startTime:
          hours: 22
          minutes: 0
          seconds: 0
          nanos: 0
      denyMaintenancePeriod:
        startDate:
          year: 2050
          month: 1
          day: 1
        endDate:
          year: 2050
          month: 2
          day: 1
        time:
          hours: 10
          minutes: 0
          seconds: 0
          nanos: 0
      oauthConfig:
        clientId: my-client-id
        clientSecret: my-client-secret
Copy

Looker Instance Fips

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const looker_instance = new gcp.looker.Instance("looker-instance", {
    name: "my-instance-fips",
    platformEdition: "LOOKER_CORE_ENTERPRISE_ANNUAL",
    region: "us-central1",
    publicIpEnabled: true,
    fipsEnabled: true,
    oauthConfig: {
        clientId: "my-client-id",
        clientSecret: "my-client-secret",
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

looker_instance = gcp.looker.Instance("looker-instance",
    name="my-instance-fips",
    platform_edition="LOOKER_CORE_ENTERPRISE_ANNUAL",
    region="us-central1",
    public_ip_enabled=True,
    fips_enabled=True,
    oauth_config={
        "client_id": "my-client-id",
        "client_secret": "my-client-secret",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/looker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := looker.NewInstance(ctx, "looker-instance", &looker.InstanceArgs{
			Name:            pulumi.String("my-instance-fips"),
			PlatformEdition: pulumi.String("LOOKER_CORE_ENTERPRISE_ANNUAL"),
			Region:          pulumi.String("us-central1"),
			PublicIpEnabled: pulumi.Bool(true),
			FipsEnabled:     pulumi.Bool(true),
			OauthConfig: &looker.InstanceOauthConfigArgs{
				ClientId:     pulumi.String("my-client-id"),
				ClientSecret: pulumi.String("my-client-secret"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var looker_instance = new Gcp.Looker.Instance("looker-instance", new()
    {
        Name = "my-instance-fips",
        PlatformEdition = "LOOKER_CORE_ENTERPRISE_ANNUAL",
        Region = "us-central1",
        PublicIpEnabled = true,
        FipsEnabled = true,
        OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
        {
            ClientId = "my-client-id",
            ClientSecret = "my-client-secret",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.looker.Instance;
import com.pulumi.gcp.looker.InstanceArgs;
import com.pulumi.gcp.looker.inputs.InstanceOauthConfigArgs;
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 looker_instance = new Instance("looker-instance", InstanceArgs.builder()
            .name("my-instance-fips")
            .platformEdition("LOOKER_CORE_ENTERPRISE_ANNUAL")
            .region("us-central1")
            .publicIpEnabled(true)
            .fipsEnabled(true)
            .oauthConfig(InstanceOauthConfigArgs.builder()
                .clientId("my-client-id")
                .clientSecret("my-client-secret")
                .build())
            .build());

    }
}
Copy
resources:
  looker-instance:
    type: gcp:looker:Instance
    properties:
      name: my-instance-fips
      platformEdition: LOOKER_CORE_ENTERPRISE_ANNUAL
      region: us-central1
      publicIpEnabled: true
      fipsEnabled: true
      oauthConfig:
        clientId: my-client-id
        clientSecret: my-client-secret
Copy

Looker Instance Enterprise Full

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const lookerNetwork = new gcp.compute.Network("looker_network", {name: "looker-network"});
const lookerRange = new gcp.compute.GlobalAddress("looker_range", {
    name: "looker-range",
    purpose: "VPC_PEERING",
    addressType: "INTERNAL",
    prefixLength: 20,
    network: lookerNetwork.id,
});
const lookerVpcConnection = new gcp.servicenetworking.Connection("looker_vpc_connection", {
    network: lookerNetwork.id,
    service: "servicenetworking.googleapis.com",
    reservedPeeringRanges: [lookerRange.name],
});
const looker_instance = new gcp.looker.Instance("looker-instance", {
    name: "my-instance",
    platformEdition: "LOOKER_CORE_ENTERPRISE_ANNUAL",
    region: "us-central1",
    privateIpEnabled: true,
    publicIpEnabled: false,
    reservedRange: lookerRange.name,
    consumerNetwork: lookerNetwork.id,
    adminSettings: {
        allowedEmailDomains: ["google.com"],
    },
    encryptionConfig: {
        kmsKeyName: "looker-kms-key",
    },
    maintenanceWindow: {
        dayOfWeek: "THURSDAY",
        startTime: {
            hours: 22,
            minutes: 0,
            seconds: 0,
            nanos: 0,
        },
    },
    denyMaintenancePeriod: {
        startDate: {
            year: 2050,
            month: 1,
            day: 1,
        },
        endDate: {
            year: 2050,
            month: 2,
            day: 1,
        },
        time: {
            hours: 10,
            minutes: 0,
            seconds: 0,
            nanos: 0,
        },
    },
    oauthConfig: {
        clientId: "my-client-id",
        clientSecret: "my-client-secret",
    },
}, {
    dependsOn: [lookerVpcConnection],
});
const project = gcp.organizations.getProject({});
const cryptoKey = new gcp.kms.CryptoKeyIAMMember("crypto_key", {
    cryptoKeyId: "looker-kms-key",
    role: "roles/cloudkms.cryptoKeyEncrypterDecrypter",
    member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-looker.iam.gserviceaccount.com`),
});
Copy
import pulumi
import pulumi_gcp as gcp

looker_network = gcp.compute.Network("looker_network", name="looker-network")
looker_range = gcp.compute.GlobalAddress("looker_range",
    name="looker-range",
    purpose="VPC_PEERING",
    address_type="INTERNAL",
    prefix_length=20,
    network=looker_network.id)
looker_vpc_connection = gcp.servicenetworking.Connection("looker_vpc_connection",
    network=looker_network.id,
    service="servicenetworking.googleapis.com",
    reserved_peering_ranges=[looker_range.name])
looker_instance = gcp.looker.Instance("looker-instance",
    name="my-instance",
    platform_edition="LOOKER_CORE_ENTERPRISE_ANNUAL",
    region="us-central1",
    private_ip_enabled=True,
    public_ip_enabled=False,
    reserved_range=looker_range.name,
    consumer_network=looker_network.id,
    admin_settings={
        "allowed_email_domains": ["google.com"],
    },
    encryption_config={
        "kms_key_name": "looker-kms-key",
    },
    maintenance_window={
        "day_of_week": "THURSDAY",
        "start_time": {
            "hours": 22,
            "minutes": 0,
            "seconds": 0,
            "nanos": 0,
        },
    },
    deny_maintenance_period={
        "start_date": {
            "year": 2050,
            "month": 1,
            "day": 1,
        },
        "end_date": {
            "year": 2050,
            "month": 2,
            "day": 1,
        },
        "time": {
            "hours": 10,
            "minutes": 0,
            "seconds": 0,
            "nanos": 0,
        },
    },
    oauth_config={
        "client_id": "my-client-id",
        "client_secret": "my-client-secret",
    },
    opts = pulumi.ResourceOptions(depends_on=[looker_vpc_connection]))
project = gcp.organizations.get_project()
crypto_key = gcp.kms.CryptoKeyIAMMember("crypto_key",
    crypto_key_id="looker-kms-key",
    role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
    member=f"serviceAccount:service-{project.number}@gcp-sa-looker.iam.gserviceaccount.com")
Copy
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/kms"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/looker"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/servicenetworking"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		lookerNetwork, err := compute.NewNetwork(ctx, "looker_network", &compute.NetworkArgs{
			Name: pulumi.String("looker-network"),
		})
		if err != nil {
			return err
		}
		lookerRange, err := compute.NewGlobalAddress(ctx, "looker_range", &compute.GlobalAddressArgs{
			Name:         pulumi.String("looker-range"),
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(20),
			Network:      lookerNetwork.ID(),
		})
		if err != nil {
			return err
		}
		lookerVpcConnection, err := servicenetworking.NewConnection(ctx, "looker_vpc_connection", &servicenetworking.ConnectionArgs{
			Network: lookerNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				lookerRange.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = looker.NewInstance(ctx, "looker-instance", &looker.InstanceArgs{
			Name:             pulumi.String("my-instance"),
			PlatformEdition:  pulumi.String("LOOKER_CORE_ENTERPRISE_ANNUAL"),
			Region:           pulumi.String("us-central1"),
			PrivateIpEnabled: pulumi.Bool(true),
			PublicIpEnabled:  pulumi.Bool(false),
			ReservedRange:    lookerRange.Name,
			ConsumerNetwork:  lookerNetwork.ID(),
			AdminSettings: &looker.InstanceAdminSettingsArgs{
				AllowedEmailDomains: pulumi.StringArray{
					pulumi.String("google.com"),
				},
			},
			EncryptionConfig: &looker.InstanceEncryptionConfigArgs{
				KmsKeyName: pulumi.String("looker-kms-key"),
			},
			MaintenanceWindow: &looker.InstanceMaintenanceWindowArgs{
				DayOfWeek: pulumi.String("THURSDAY"),
				StartTime: &looker.InstanceMaintenanceWindowStartTimeArgs{
					Hours:   pulumi.Int(22),
					Minutes: pulumi.Int(0),
					Seconds: pulumi.Int(0),
					Nanos:   pulumi.Int(0),
				},
			},
			DenyMaintenancePeriod: &looker.InstanceDenyMaintenancePeriodArgs{
				StartDate: &looker.InstanceDenyMaintenancePeriodStartDateArgs{
					Year:  pulumi.Int(2050),
					Month: pulumi.Int(1),
					Day:   pulumi.Int(1),
				},
				EndDate: &looker.InstanceDenyMaintenancePeriodEndDateArgs{
					Year:  pulumi.Int(2050),
					Month: pulumi.Int(2),
					Day:   pulumi.Int(1),
				},
				Time: &looker.InstanceDenyMaintenancePeriodTimeArgs{
					Hours:   pulumi.Int(10),
					Minutes: pulumi.Int(0),
					Seconds: pulumi.Int(0),
					Nanos:   pulumi.Int(0),
				},
			},
			OauthConfig: &looker.InstanceOauthConfigArgs{
				ClientId:     pulumi.String("my-client-id"),
				ClientSecret: pulumi.String("my-client-secret"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			lookerVpcConnection,
		}))
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
		if err != nil {
			return err
		}
		_, err = kms.NewCryptoKeyIAMMember(ctx, "crypto_key", &kms.CryptoKeyIAMMemberArgs{
			CryptoKeyId: pulumi.String("looker-kms-key"),
			Role:        pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"),
			Member:      pulumi.Sprintf("serviceAccount:service-%v@gcp-sa-looker.iam.gserviceaccount.com", project.Number),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var lookerNetwork = new Gcp.Compute.Network("looker_network", new()
    {
        Name = "looker-network",
    });

    var lookerRange = new Gcp.Compute.GlobalAddress("looker_range", new()
    {
        Name = "looker-range",
        Purpose = "VPC_PEERING",
        AddressType = "INTERNAL",
        PrefixLength = 20,
        Network = lookerNetwork.Id,
    });

    var lookerVpcConnection = new Gcp.ServiceNetworking.Connection("looker_vpc_connection", new()
    {
        Network = lookerNetwork.Id,
        Service = "servicenetworking.googleapis.com",
        ReservedPeeringRanges = new[]
        {
            lookerRange.Name,
        },
    });

    var looker_instance = new Gcp.Looker.Instance("looker-instance", new()
    {
        Name = "my-instance",
        PlatformEdition = "LOOKER_CORE_ENTERPRISE_ANNUAL",
        Region = "us-central1",
        PrivateIpEnabled = true,
        PublicIpEnabled = false,
        ReservedRange = lookerRange.Name,
        ConsumerNetwork = lookerNetwork.Id,
        AdminSettings = new Gcp.Looker.Inputs.InstanceAdminSettingsArgs
        {
            AllowedEmailDomains = new[]
            {
                "google.com",
            },
        },
        EncryptionConfig = new Gcp.Looker.Inputs.InstanceEncryptionConfigArgs
        {
            KmsKeyName = "looker-kms-key",
        },
        MaintenanceWindow = new Gcp.Looker.Inputs.InstanceMaintenanceWindowArgs
        {
            DayOfWeek = "THURSDAY",
            StartTime = new Gcp.Looker.Inputs.InstanceMaintenanceWindowStartTimeArgs
            {
                Hours = 22,
                Minutes = 0,
                Seconds = 0,
                Nanos = 0,
            },
        },
        DenyMaintenancePeriod = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodArgs
        {
            StartDate = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodStartDateArgs
            {
                Year = 2050,
                Month = 1,
                Day = 1,
            },
            EndDate = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodEndDateArgs
            {
                Year = 2050,
                Month = 2,
                Day = 1,
            },
            Time = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodTimeArgs
            {
                Hours = 10,
                Minutes = 0,
                Seconds = 0,
                Nanos = 0,
            },
        },
        OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
        {
            ClientId = "my-client-id",
            ClientSecret = "my-client-secret",
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            lookerVpcConnection,
        },
    });

    var project = Gcp.Organizations.GetProject.Invoke();

    var cryptoKey = new Gcp.Kms.CryptoKeyIAMMember("crypto_key", new()
    {
        CryptoKeyId = "looker-kms-key",
        Role = "roles/cloudkms.cryptoKeyEncrypterDecrypter",
        Member = $"serviceAccount:service-{project.Apply(getProjectResult => getProjectResult.Number)}@gcp-sa-looker.iam.gserviceaccount.com",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.compute.GlobalAddress;
import com.pulumi.gcp.compute.GlobalAddressArgs;
import com.pulumi.gcp.servicenetworking.Connection;
import com.pulumi.gcp.servicenetworking.ConnectionArgs;
import com.pulumi.gcp.looker.Instance;
import com.pulumi.gcp.looker.InstanceArgs;
import com.pulumi.gcp.looker.inputs.InstanceAdminSettingsArgs;
import com.pulumi.gcp.looker.inputs.InstanceEncryptionConfigArgs;
import com.pulumi.gcp.looker.inputs.InstanceMaintenanceWindowArgs;
import com.pulumi.gcp.looker.inputs.InstanceMaintenanceWindowStartTimeArgs;
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodArgs;
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodStartDateArgs;
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodEndDateArgs;
import com.pulumi.gcp.looker.inputs.InstanceDenyMaintenancePeriodTimeArgs;
import com.pulumi.gcp.looker.inputs.InstanceOauthConfigArgs;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
import com.pulumi.gcp.kms.CryptoKeyIAMMember;
import com.pulumi.gcp.kms.CryptoKeyIAMMemberArgs;
import com.pulumi.resources.CustomResourceOptions;
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 lookerNetwork = new Network("lookerNetwork", NetworkArgs.builder()
            .name("looker-network")
            .build());

        var lookerRange = new GlobalAddress("lookerRange", GlobalAddressArgs.builder()
            .name("looker-range")
            .purpose("VPC_PEERING")
            .addressType("INTERNAL")
            .prefixLength(20)
            .network(lookerNetwork.id())
            .build());

        var lookerVpcConnection = new Connection("lookerVpcConnection", ConnectionArgs.builder()
            .network(lookerNetwork.id())
            .service("servicenetworking.googleapis.com")
            .reservedPeeringRanges(lookerRange.name())
            .build());

        var looker_instance = new Instance("looker-instance", InstanceArgs.builder()
            .name("my-instance")
            .platformEdition("LOOKER_CORE_ENTERPRISE_ANNUAL")
            .region("us-central1")
            .privateIpEnabled(true)
            .publicIpEnabled(false)
            .reservedRange(lookerRange.name())
            .consumerNetwork(lookerNetwork.id())
            .adminSettings(InstanceAdminSettingsArgs.builder()
                .allowedEmailDomains("google.com")
                .build())
            .encryptionConfig(InstanceEncryptionConfigArgs.builder()
                .kmsKeyName("looker-kms-key")
                .build())
            .maintenanceWindow(InstanceMaintenanceWindowArgs.builder()
                .dayOfWeek("THURSDAY")
                .startTime(InstanceMaintenanceWindowStartTimeArgs.builder()
                    .hours(22)
                    .minutes(0)
                    .seconds(0)
                    .nanos(0)
                    .build())
                .build())
            .denyMaintenancePeriod(InstanceDenyMaintenancePeriodArgs.builder()
                .startDate(InstanceDenyMaintenancePeriodStartDateArgs.builder()
                    .year(2050)
                    .month(1)
                    .day(1)
                    .build())
                .endDate(InstanceDenyMaintenancePeriodEndDateArgs.builder()
                    .year(2050)
                    .month(2)
                    .day(1)
                    .build())
                .time(InstanceDenyMaintenancePeriodTimeArgs.builder()
                    .hours(10)
                    .minutes(0)
                    .seconds(0)
                    .nanos(0)
                    .build())
                .build())
            .oauthConfig(InstanceOauthConfigArgs.builder()
                .clientId("my-client-id")
                .clientSecret("my-client-secret")
                .build())
            .build(), CustomResourceOptions.builder()
                .dependsOn(lookerVpcConnection)
                .build());

        final var project = OrganizationsFunctions.getProject(GetProjectArgs.builder()
            .build());

        var cryptoKey = new CryptoKeyIAMMember("cryptoKey", CryptoKeyIAMMemberArgs.builder()
            .cryptoKeyId("looker-kms-key")
            .role("roles/cloudkms.cryptoKeyEncrypterDecrypter")
            .member(String.format("serviceAccount:service-%s@gcp-sa-looker.iam.gserviceaccount.com", project.number()))
            .build());

    }
}
Copy
resources:
  looker-instance:
    type: gcp:looker:Instance
    properties:
      name: my-instance
      platformEdition: LOOKER_CORE_ENTERPRISE_ANNUAL
      region: us-central1
      privateIpEnabled: true
      publicIpEnabled: false
      reservedRange: ${lookerRange.name}
      consumerNetwork: ${lookerNetwork.id}
      adminSettings:
        allowedEmailDomains:
          - google.com
      encryptionConfig:
        kmsKeyName: looker-kms-key
      maintenanceWindow:
        dayOfWeek: THURSDAY
        startTime:
          hours: 22
          minutes: 0
          seconds: 0
          nanos: 0
      denyMaintenancePeriod:
        startDate:
          year: 2050
          month: 1
          day: 1
        endDate:
          year: 2050
          month: 2
          day: 1
        time:
          hours: 10
          minutes: 0
          seconds: 0
          nanos: 0
      oauthConfig:
        clientId: my-client-id
        clientSecret: my-client-secret
    options:
      dependsOn:
        - ${lookerVpcConnection}
  lookerVpcConnection:
    type: gcp:servicenetworking:Connection
    name: looker_vpc_connection
    properties:
      network: ${lookerNetwork.id}
      service: servicenetworking.googleapis.com
      reservedPeeringRanges:
        - ${lookerRange.name}
  lookerRange:
    type: gcp:compute:GlobalAddress
    name: looker_range
    properties:
      name: looker-range
      purpose: VPC_PEERING
      addressType: INTERNAL
      prefixLength: 20
      network: ${lookerNetwork.id}
  lookerNetwork:
    type: gcp:compute:Network
    name: looker_network
    properties:
      name: looker-network
  cryptoKey:
    type: gcp:kms:CryptoKeyIAMMember
    name: crypto_key
    properties:
      cryptoKeyId: looker-kms-key
      role: roles/cloudkms.cryptoKeyEncrypterDecrypter
      member: serviceAccount:service-${project.number}@gcp-sa-looker.iam.gserviceaccount.com
variables:
  project:
    fn::invoke:
      function: gcp:organizations:getProject
      arguments: {}
Copy

Looker Instance Custom Domain

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const looker_instance = new gcp.looker.Instance("looker-instance", {
    name: "my-instance",
    platformEdition: "LOOKER_CORE_STANDARD_ANNUAL",
    region: "us-central1",
    oauthConfig: {
        clientId: "my-client-id",
        clientSecret: "my-client-secret",
    },
    customDomain: {
        domain: "my-custom-domain.com",
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

looker_instance = gcp.looker.Instance("looker-instance",
    name="my-instance",
    platform_edition="LOOKER_CORE_STANDARD_ANNUAL",
    region="us-central1",
    oauth_config={
        "client_id": "my-client-id",
        "client_secret": "my-client-secret",
    },
    custom_domain={
        "domain": "my-custom-domain.com",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/looker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := looker.NewInstance(ctx, "looker-instance", &looker.InstanceArgs{
			Name:            pulumi.String("my-instance"),
			PlatformEdition: pulumi.String("LOOKER_CORE_STANDARD_ANNUAL"),
			Region:          pulumi.String("us-central1"),
			OauthConfig: &looker.InstanceOauthConfigArgs{
				ClientId:     pulumi.String("my-client-id"),
				ClientSecret: pulumi.String("my-client-secret"),
			},
			CustomDomain: &looker.InstanceCustomDomainArgs{
				Domain: pulumi.String("my-custom-domain.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var looker_instance = new Gcp.Looker.Instance("looker-instance", new()
    {
        Name = "my-instance",
        PlatformEdition = "LOOKER_CORE_STANDARD_ANNUAL",
        Region = "us-central1",
        OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
        {
            ClientId = "my-client-id",
            ClientSecret = "my-client-secret",
        },
        CustomDomain = new Gcp.Looker.Inputs.InstanceCustomDomainArgs
        {
            Domain = "my-custom-domain.com",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.looker.Instance;
import com.pulumi.gcp.looker.InstanceArgs;
import com.pulumi.gcp.looker.inputs.InstanceOauthConfigArgs;
import com.pulumi.gcp.looker.inputs.InstanceCustomDomainArgs;
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 looker_instance = new Instance("looker-instance", InstanceArgs.builder()
            .name("my-instance")
            .platformEdition("LOOKER_CORE_STANDARD_ANNUAL")
            .region("us-central1")
            .oauthConfig(InstanceOauthConfigArgs.builder()
                .clientId("my-client-id")
                .clientSecret("my-client-secret")
                .build())
            .customDomain(InstanceCustomDomainArgs.builder()
                .domain("my-custom-domain.com")
                .build())
            .build());

    }
}
Copy
resources:
  looker-instance:
    type: gcp:looker:Instance
    properties:
      name: my-instance
      platformEdition: LOOKER_CORE_STANDARD_ANNUAL
      region: us-central1
      oauthConfig:
        clientId: my-client-id
        clientSecret: my-client-secret
      customDomain:
        domain: my-custom-domain.com
Copy

Looker Instance Psc

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const looker_instance = new gcp.looker.Instance("looker-instance", {
    name: "my-instance",
    platformEdition: "LOOKER_CORE_ENTERPRISE_ANNUAL",
    region: "us-central1",
    privateIpEnabled: false,
    publicIpEnabled: false,
    pscEnabled: true,
    oauthConfig: {
        clientId: "my-client-id",
        clientSecret: "my-client-secret",
    },
    pscConfig: {
        allowedVpcs: ["projects/test-project/global/networks/test"],
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

looker_instance = gcp.looker.Instance("looker-instance",
    name="my-instance",
    platform_edition="LOOKER_CORE_ENTERPRISE_ANNUAL",
    region="us-central1",
    private_ip_enabled=False,
    public_ip_enabled=False,
    psc_enabled=True,
    oauth_config={
        "client_id": "my-client-id",
        "client_secret": "my-client-secret",
    },
    psc_config={
        "allowed_vpcs": ["projects/test-project/global/networks/test"],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/looker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := looker.NewInstance(ctx, "looker-instance", &looker.InstanceArgs{
			Name:             pulumi.String("my-instance"),
			PlatformEdition:  pulumi.String("LOOKER_CORE_ENTERPRISE_ANNUAL"),
			Region:           pulumi.String("us-central1"),
			PrivateIpEnabled: pulumi.Bool(false),
			PublicIpEnabled:  pulumi.Bool(false),
			PscEnabled:       pulumi.Bool(true),
			OauthConfig: &looker.InstanceOauthConfigArgs{
				ClientId:     pulumi.String("my-client-id"),
				ClientSecret: pulumi.String("my-client-secret"),
			},
			PscConfig: &looker.InstancePscConfigArgs{
				AllowedVpcs: pulumi.StringArray{
					pulumi.String("projects/test-project/global/networks/test"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var looker_instance = new Gcp.Looker.Instance("looker-instance", new()
    {
        Name = "my-instance",
        PlatformEdition = "LOOKER_CORE_ENTERPRISE_ANNUAL",
        Region = "us-central1",
        PrivateIpEnabled = false,
        PublicIpEnabled = false,
        PscEnabled = true,
        OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
        {
            ClientId = "my-client-id",
            ClientSecret = "my-client-secret",
        },
        PscConfig = new Gcp.Looker.Inputs.InstancePscConfigArgs
        {
            AllowedVpcs = new[]
            {
                "projects/test-project/global/networks/test",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.looker.Instance;
import com.pulumi.gcp.looker.InstanceArgs;
import com.pulumi.gcp.looker.inputs.InstanceOauthConfigArgs;
import com.pulumi.gcp.looker.inputs.InstancePscConfigArgs;
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 looker_instance = new Instance("looker-instance", InstanceArgs.builder()
            .name("my-instance")
            .platformEdition("LOOKER_CORE_ENTERPRISE_ANNUAL")
            .region("us-central1")
            .privateIpEnabled(false)
            .publicIpEnabled(false)
            .pscEnabled(true)
            .oauthConfig(InstanceOauthConfigArgs.builder()
                .clientId("my-client-id")
                .clientSecret("my-client-secret")
                .build())
            .pscConfig(InstancePscConfigArgs.builder()
                .allowedVpcs("projects/test-project/global/networks/test")
                .build())
            .build());

    }
}
Copy
resources:
  looker-instance:
    type: gcp:looker:Instance
    properties:
      name: my-instance
      platformEdition: LOOKER_CORE_ENTERPRISE_ANNUAL
      region: us-central1
      privateIpEnabled: false
      publicIpEnabled: false
      pscEnabled: true
      oauthConfig:
        clientId: my-client-id
        clientSecret: my-client-secret
      pscConfig:
        allowedVpcs:
          - projects/test-project/global/networks/test
Copy

Looker Instance Force Delete

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const looker_instance = new gcp.looker.Instance("looker-instance", {
    name: "my-instance",
    platformEdition: "LOOKER_CORE_STANDARD_ANNUAL",
    region: "us-central1",
    oauthConfig: {
        clientId: "my-client-id",
        clientSecret: "my-client-secret",
    },
    deletionPolicy: "FORCE",
});
Copy
import pulumi
import pulumi_gcp as gcp

looker_instance = gcp.looker.Instance("looker-instance",
    name="my-instance",
    platform_edition="LOOKER_CORE_STANDARD_ANNUAL",
    region="us-central1",
    oauth_config={
        "client_id": "my-client-id",
        "client_secret": "my-client-secret",
    },
    deletion_policy="FORCE")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/looker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := looker.NewInstance(ctx, "looker-instance", &looker.InstanceArgs{
			Name:            pulumi.String("my-instance"),
			PlatformEdition: pulumi.String("LOOKER_CORE_STANDARD_ANNUAL"),
			Region:          pulumi.String("us-central1"),
			OauthConfig: &looker.InstanceOauthConfigArgs{
				ClientId:     pulumi.String("my-client-id"),
				ClientSecret: pulumi.String("my-client-secret"),
			},
			DeletionPolicy: pulumi.String("FORCE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var looker_instance = new Gcp.Looker.Instance("looker-instance", new()
    {
        Name = "my-instance",
        PlatformEdition = "LOOKER_CORE_STANDARD_ANNUAL",
        Region = "us-central1",
        OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
        {
            ClientId = "my-client-id",
            ClientSecret = "my-client-secret",
        },
        DeletionPolicy = "FORCE",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.looker.Instance;
import com.pulumi.gcp.looker.InstanceArgs;
import com.pulumi.gcp.looker.inputs.InstanceOauthConfigArgs;
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 looker_instance = new Instance("looker-instance", InstanceArgs.builder()
            .name("my-instance")
            .platformEdition("LOOKER_CORE_STANDARD_ANNUAL")
            .region("us-central1")
            .oauthConfig(InstanceOauthConfigArgs.builder()
                .clientId("my-client-id")
                .clientSecret("my-client-secret")
                .build())
            .deletionPolicy("FORCE")
            .build());

    }
}
Copy
resources:
  looker-instance:
    type: gcp:looker:Instance
    properties:
      name: my-instance
      platformEdition: LOOKER_CORE_STANDARD_ANNUAL
      region: us-central1
      oauthConfig:
        clientId: my-client-id
        clientSecret: my-client-secret
      deletionPolicy: FORCE
Copy

Create Instance Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
             args: InstanceArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def Instance(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             oauth_config: Optional[InstanceOauthConfigArgs] = None,
             name: Optional[str] = None,
             private_ip_enabled: Optional[bool] = None,
             deletion_policy: Optional[str] = None,
             deny_maintenance_period: Optional[InstanceDenyMaintenancePeriodArgs] = None,
             encryption_config: Optional[InstanceEncryptionConfigArgs] = None,
             fips_enabled: Optional[bool] = None,
             maintenance_window: Optional[InstanceMaintenanceWindowArgs] = None,
             admin_settings: Optional[InstanceAdminSettingsArgs] = None,
             custom_domain: Optional[InstanceCustomDomainArgs] = None,
             consumer_network: Optional[str] = None,
             platform_edition: Optional[str] = None,
             project: Optional[str] = None,
             psc_config: Optional[InstancePscConfigArgs] = None,
             psc_enabled: Optional[bool] = None,
             public_ip_enabled: Optional[bool] = None,
             region: Optional[str] = None,
             reserved_range: Optional[str] = None,
             user_metadata: Optional[InstanceUserMetadataArgs] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: gcp:looker:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var exampleinstanceResourceResourceFromLookerinstance = new Gcp.Looker.Instance("exampleinstanceResourceResourceFromLookerinstance", new()
{
    OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
    {
        ClientId = "string",
        ClientSecret = "string",
    },
    Name = "string",
    PrivateIpEnabled = false,
    DeletionPolicy = "string",
    DenyMaintenancePeriod = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodArgs
    {
        EndDate = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodEndDateArgs
        {
            Day = 0,
            Month = 0,
            Year = 0,
        },
        StartDate = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodStartDateArgs
        {
            Day = 0,
            Month = 0,
            Year = 0,
        },
        Time = new Gcp.Looker.Inputs.InstanceDenyMaintenancePeriodTimeArgs
        {
            Hours = 0,
            Minutes = 0,
            Nanos = 0,
            Seconds = 0,
        },
    },
    EncryptionConfig = new Gcp.Looker.Inputs.InstanceEncryptionConfigArgs
    {
        KmsKeyName = "string",
        KmsKeyNameVersion = "string",
        KmsKeyState = "string",
    },
    FipsEnabled = false,
    MaintenanceWindow = new Gcp.Looker.Inputs.InstanceMaintenanceWindowArgs
    {
        DayOfWeek = "string",
        StartTime = new Gcp.Looker.Inputs.InstanceMaintenanceWindowStartTimeArgs
        {
            Hours = 0,
            Minutes = 0,
            Nanos = 0,
            Seconds = 0,
        },
    },
    AdminSettings = new Gcp.Looker.Inputs.InstanceAdminSettingsArgs
    {
        AllowedEmailDomains = new[]
        {
            "string",
        },
    },
    CustomDomain = new Gcp.Looker.Inputs.InstanceCustomDomainArgs
    {
        Domain = "string",
        State = "string",
    },
    ConsumerNetwork = "string",
    PlatformEdition = "string",
    Project = "string",
    PscConfig = new Gcp.Looker.Inputs.InstancePscConfigArgs
    {
        AllowedVpcs = new[]
        {
            "string",
        },
        LookerServiceAttachmentUri = "string",
        ServiceAttachments = new[]
        {
            new Gcp.Looker.Inputs.InstancePscConfigServiceAttachmentArgs
            {
                ConnectionStatus = "string",
                LocalFqdn = "string",
                TargetServiceAttachmentUri = "string",
            },
        },
    },
    PscEnabled = false,
    PublicIpEnabled = false,
    Region = "string",
    ReservedRange = "string",
    UserMetadata = new Gcp.Looker.Inputs.InstanceUserMetadataArgs
    {
        AdditionalDeveloperUserCount = 0,
        AdditionalStandardUserCount = 0,
        AdditionalViewerUserCount = 0,
    },
});
Copy
example, err := looker.NewInstance(ctx, "exampleinstanceResourceResourceFromLookerinstance", &looker.InstanceArgs{
	OauthConfig: &looker.InstanceOauthConfigArgs{
		ClientId:     pulumi.String("string"),
		ClientSecret: pulumi.String("string"),
	},
	Name:             pulumi.String("string"),
	PrivateIpEnabled: pulumi.Bool(false),
	DeletionPolicy:   pulumi.String("string"),
	DenyMaintenancePeriod: &looker.InstanceDenyMaintenancePeriodArgs{
		EndDate: &looker.InstanceDenyMaintenancePeriodEndDateArgs{
			Day:   pulumi.Int(0),
			Month: pulumi.Int(0),
			Year:  pulumi.Int(0),
		},
		StartDate: &looker.InstanceDenyMaintenancePeriodStartDateArgs{
			Day:   pulumi.Int(0),
			Month: pulumi.Int(0),
			Year:  pulumi.Int(0),
		},
		Time: &looker.InstanceDenyMaintenancePeriodTimeArgs{
			Hours:   pulumi.Int(0),
			Minutes: pulumi.Int(0),
			Nanos:   pulumi.Int(0),
			Seconds: pulumi.Int(0),
		},
	},
	EncryptionConfig: &looker.InstanceEncryptionConfigArgs{
		KmsKeyName:        pulumi.String("string"),
		KmsKeyNameVersion: pulumi.String("string"),
		KmsKeyState:       pulumi.String("string"),
	},
	FipsEnabled: pulumi.Bool(false),
	MaintenanceWindow: &looker.InstanceMaintenanceWindowArgs{
		DayOfWeek: pulumi.String("string"),
		StartTime: &looker.InstanceMaintenanceWindowStartTimeArgs{
			Hours:   pulumi.Int(0),
			Minutes: pulumi.Int(0),
			Nanos:   pulumi.Int(0),
			Seconds: pulumi.Int(0),
		},
	},
	AdminSettings: &looker.InstanceAdminSettingsArgs{
		AllowedEmailDomains: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	CustomDomain: &looker.InstanceCustomDomainArgs{
		Domain: pulumi.String("string"),
		State:  pulumi.String("string"),
	},
	ConsumerNetwork: pulumi.String("string"),
	PlatformEdition: pulumi.String("string"),
	Project:         pulumi.String("string"),
	PscConfig: &looker.InstancePscConfigArgs{
		AllowedVpcs: pulumi.StringArray{
			pulumi.String("string"),
		},
		LookerServiceAttachmentUri: pulumi.String("string"),
		ServiceAttachments: looker.InstancePscConfigServiceAttachmentArray{
			&looker.InstancePscConfigServiceAttachmentArgs{
				ConnectionStatus:           pulumi.String("string"),
				LocalFqdn:                  pulumi.String("string"),
				TargetServiceAttachmentUri: pulumi.String("string"),
			},
		},
	},
	PscEnabled:      pulumi.Bool(false),
	PublicIpEnabled: pulumi.Bool(false),
	Region:          pulumi.String("string"),
	ReservedRange:   pulumi.String("string"),
	UserMetadata: &looker.InstanceUserMetadataArgs{
		AdditionalDeveloperUserCount: pulumi.Int(0),
		AdditionalStandardUserCount:  pulumi.Int(0),
		AdditionalViewerUserCount:    pulumi.Int(0),
	},
})
Copy
var exampleinstanceResourceResourceFromLookerinstance = new com.pulumi.gcp.looker.Instance("exampleinstanceResourceResourceFromLookerinstance", com.pulumi.gcp.looker.InstanceArgs.builder()
    .oauthConfig(InstanceOauthConfigArgs.builder()
        .clientId("string")
        .clientSecret("string")
        .build())
    .name("string")
    .privateIpEnabled(false)
    .deletionPolicy("string")
    .denyMaintenancePeriod(InstanceDenyMaintenancePeriodArgs.builder()
        .endDate(InstanceDenyMaintenancePeriodEndDateArgs.builder()
            .day(0)
            .month(0)
            .year(0)
            .build())
        .startDate(InstanceDenyMaintenancePeriodStartDateArgs.builder()
            .day(0)
            .month(0)
            .year(0)
            .build())
        .time(InstanceDenyMaintenancePeriodTimeArgs.builder()
            .hours(0)
            .minutes(0)
            .nanos(0)
            .seconds(0)
            .build())
        .build())
    .encryptionConfig(InstanceEncryptionConfigArgs.builder()
        .kmsKeyName("string")
        .kmsKeyNameVersion("string")
        .kmsKeyState("string")
        .build())
    .fipsEnabled(false)
    .maintenanceWindow(InstanceMaintenanceWindowArgs.builder()
        .dayOfWeek("string")
        .startTime(InstanceMaintenanceWindowStartTimeArgs.builder()
            .hours(0)
            .minutes(0)
            .nanos(0)
            .seconds(0)
            .build())
        .build())
    .adminSettings(InstanceAdminSettingsArgs.builder()
        .allowedEmailDomains("string")
        .build())
    .customDomain(InstanceCustomDomainArgs.builder()
        .domain("string")
        .state("string")
        .build())
    .consumerNetwork("string")
    .platformEdition("string")
    .project("string")
    .pscConfig(InstancePscConfigArgs.builder()
        .allowedVpcs("string")
        .lookerServiceAttachmentUri("string")
        .serviceAttachments(InstancePscConfigServiceAttachmentArgs.builder()
            .connectionStatus("string")
            .localFqdn("string")
            .targetServiceAttachmentUri("string")
            .build())
        .build())
    .pscEnabled(false)
    .publicIpEnabled(false)
    .region("string")
    .reservedRange("string")
    .userMetadata(InstanceUserMetadataArgs.builder()
        .additionalDeveloperUserCount(0)
        .additionalStandardUserCount(0)
        .additionalViewerUserCount(0)
        .build())
    .build());
Copy
exampleinstance_resource_resource_from_lookerinstance = gcp.looker.Instance("exampleinstanceResourceResourceFromLookerinstance",
    oauth_config={
        "client_id": "string",
        "client_secret": "string",
    },
    name="string",
    private_ip_enabled=False,
    deletion_policy="string",
    deny_maintenance_period={
        "end_date": {
            "day": 0,
            "month": 0,
            "year": 0,
        },
        "start_date": {
            "day": 0,
            "month": 0,
            "year": 0,
        },
        "time": {
            "hours": 0,
            "minutes": 0,
            "nanos": 0,
            "seconds": 0,
        },
    },
    encryption_config={
        "kms_key_name": "string",
        "kms_key_name_version": "string",
        "kms_key_state": "string",
    },
    fips_enabled=False,
    maintenance_window={
        "day_of_week": "string",
        "start_time": {
            "hours": 0,
            "minutes": 0,
            "nanos": 0,
            "seconds": 0,
        },
    },
    admin_settings={
        "allowed_email_domains": ["string"],
    },
    custom_domain={
        "domain": "string",
        "state": "string",
    },
    consumer_network="string",
    platform_edition="string",
    project="string",
    psc_config={
        "allowed_vpcs": ["string"],
        "looker_service_attachment_uri": "string",
        "service_attachments": [{
            "connection_status": "string",
            "local_fqdn": "string",
            "target_service_attachment_uri": "string",
        }],
    },
    psc_enabled=False,
    public_ip_enabled=False,
    region="string",
    reserved_range="string",
    user_metadata={
        "additional_developer_user_count": 0,
        "additional_standard_user_count": 0,
        "additional_viewer_user_count": 0,
    })
Copy
const exampleinstanceResourceResourceFromLookerinstance = new gcp.looker.Instance("exampleinstanceResourceResourceFromLookerinstance", {
    oauthConfig: {
        clientId: "string",
        clientSecret: "string",
    },
    name: "string",
    privateIpEnabled: false,
    deletionPolicy: "string",
    denyMaintenancePeriod: {
        endDate: {
            day: 0,
            month: 0,
            year: 0,
        },
        startDate: {
            day: 0,
            month: 0,
            year: 0,
        },
        time: {
            hours: 0,
            minutes: 0,
            nanos: 0,
            seconds: 0,
        },
    },
    encryptionConfig: {
        kmsKeyName: "string",
        kmsKeyNameVersion: "string",
        kmsKeyState: "string",
    },
    fipsEnabled: false,
    maintenanceWindow: {
        dayOfWeek: "string",
        startTime: {
            hours: 0,
            minutes: 0,
            nanos: 0,
            seconds: 0,
        },
    },
    adminSettings: {
        allowedEmailDomains: ["string"],
    },
    customDomain: {
        domain: "string",
        state: "string",
    },
    consumerNetwork: "string",
    platformEdition: "string",
    project: "string",
    pscConfig: {
        allowedVpcs: ["string"],
        lookerServiceAttachmentUri: "string",
        serviceAttachments: [{
            connectionStatus: "string",
            localFqdn: "string",
            targetServiceAttachmentUri: "string",
        }],
    },
    pscEnabled: false,
    publicIpEnabled: false,
    region: "string",
    reservedRange: "string",
    userMetadata: {
        additionalDeveloperUserCount: 0,
        additionalStandardUserCount: 0,
        additionalViewerUserCount: 0,
    },
});
Copy
type: gcp:looker:Instance
properties:
    adminSettings:
        allowedEmailDomains:
            - string
    consumerNetwork: string
    customDomain:
        domain: string
        state: string
    deletionPolicy: string
    denyMaintenancePeriod:
        endDate:
            day: 0
            month: 0
            year: 0
        startDate:
            day: 0
            month: 0
            year: 0
        time:
            hours: 0
            minutes: 0
            nanos: 0
            seconds: 0
    encryptionConfig:
        kmsKeyName: string
        kmsKeyNameVersion: string
        kmsKeyState: string
    fipsEnabled: false
    maintenanceWindow:
        dayOfWeek: string
        startTime:
            hours: 0
            minutes: 0
            nanos: 0
            seconds: 0
    name: string
    oauthConfig:
        clientId: string
        clientSecret: string
    platformEdition: string
    privateIpEnabled: false
    project: string
    pscConfig:
        allowedVpcs:
            - string
        lookerServiceAttachmentUri: string
        serviceAttachments:
            - connectionStatus: string
              localFqdn: string
              targetServiceAttachmentUri: string
    pscEnabled: false
    publicIpEnabled: false
    region: string
    reservedRange: string
    userMetadata:
        additionalDeveloperUserCount: 0
        additionalStandardUserCount: 0
        additionalViewerUserCount: 0
Copy

Instance Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Instance resource accepts the following input properties:

OauthConfig This property is required. InstanceOauthConfig
Looker Instance OAuth login settings. Structure is documented below.
AdminSettings InstanceAdminSettings
Looker instance Admin settings.
ConsumerNetwork string
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
CustomDomain InstanceCustomDomain
Custom domain settings for a Looker instance.
DeletionPolicy string
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
DenyMaintenancePeriod InstanceDenyMaintenancePeriod
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
EncryptionConfig InstanceEncryptionConfig
Looker instance encryption settings.
FipsEnabled bool
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
MaintenanceWindow InstanceMaintenanceWindow
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
Name Changes to this property will trigger replacement. string
The ID of the instance or a fully qualified identifier for the instance.
PlatformEdition Changes to this property will trigger replacement. string
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
PrivateIpEnabled bool
Whether private IP is enabled on the Looker instance.
Project Changes to this property will trigger replacement. string
PscConfig InstancePscConfig
Information for Private Service Connect (PSC) setup for a Looker instance.
PscEnabled bool
Whether Public Service Connect (PSC) is enabled on the Looker instance
PublicIpEnabled bool
Whether public IP is enabled on the Looker instance.
Region Changes to this property will trigger replacement. string
The name of the Looker region of the instance.
ReservedRange string
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
UserMetadata InstanceUserMetadata
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
OauthConfig This property is required. InstanceOauthConfigArgs
Looker Instance OAuth login settings. Structure is documented below.
AdminSettings InstanceAdminSettingsArgs
Looker instance Admin settings.
ConsumerNetwork string
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
CustomDomain InstanceCustomDomainArgs
Custom domain settings for a Looker instance.
DeletionPolicy string
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
DenyMaintenancePeriod InstanceDenyMaintenancePeriodArgs
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
EncryptionConfig InstanceEncryptionConfigArgs
Looker instance encryption settings.
FipsEnabled bool
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
MaintenanceWindow InstanceMaintenanceWindowArgs
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
Name Changes to this property will trigger replacement. string
The ID of the instance or a fully qualified identifier for the instance.
PlatformEdition Changes to this property will trigger replacement. string
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
PrivateIpEnabled bool
Whether private IP is enabled on the Looker instance.
Project Changes to this property will trigger replacement. string
PscConfig InstancePscConfigArgs
Information for Private Service Connect (PSC) setup for a Looker instance.
PscEnabled bool
Whether Public Service Connect (PSC) is enabled on the Looker instance
PublicIpEnabled bool
Whether public IP is enabled on the Looker instance.
Region Changes to this property will trigger replacement. string
The name of the Looker region of the instance.
ReservedRange string
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
UserMetadata InstanceUserMetadataArgs
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
oauthConfig This property is required. InstanceOauthConfig
Looker Instance OAuth login settings. Structure is documented below.
adminSettings InstanceAdminSettings
Looker instance Admin settings.
consumerNetwork String
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
customDomain InstanceCustomDomain
Custom domain settings for a Looker instance.
deletionPolicy String
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
denyMaintenancePeriod InstanceDenyMaintenancePeriod
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
encryptionConfig InstanceEncryptionConfig
Looker instance encryption settings.
fipsEnabled Boolean
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
maintenanceWindow InstanceMaintenanceWindow
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
name Changes to this property will trigger replacement. String
The ID of the instance or a fully qualified identifier for the instance.
platformEdition Changes to this property will trigger replacement. String
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
privateIpEnabled Boolean
Whether private IP is enabled on the Looker instance.
project Changes to this property will trigger replacement. String
pscConfig InstancePscConfig
Information for Private Service Connect (PSC) setup for a Looker instance.
pscEnabled Boolean
Whether Public Service Connect (PSC) is enabled on the Looker instance
publicIpEnabled Boolean
Whether public IP is enabled on the Looker instance.
region Changes to this property will trigger replacement. String
The name of the Looker region of the instance.
reservedRange String
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
userMetadata InstanceUserMetadata
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
oauthConfig This property is required. InstanceOauthConfig
Looker Instance OAuth login settings. Structure is documented below.
adminSettings InstanceAdminSettings
Looker instance Admin settings.
consumerNetwork string
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
customDomain InstanceCustomDomain
Custom domain settings for a Looker instance.
deletionPolicy string
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
denyMaintenancePeriod InstanceDenyMaintenancePeriod
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
encryptionConfig InstanceEncryptionConfig
Looker instance encryption settings.
fipsEnabled boolean
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
maintenanceWindow InstanceMaintenanceWindow
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
name Changes to this property will trigger replacement. string
The ID of the instance or a fully qualified identifier for the instance.
platformEdition Changes to this property will trigger replacement. string
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
privateIpEnabled boolean
Whether private IP is enabled on the Looker instance.
project Changes to this property will trigger replacement. string
pscConfig InstancePscConfig
Information for Private Service Connect (PSC) setup for a Looker instance.
pscEnabled boolean
Whether Public Service Connect (PSC) is enabled on the Looker instance
publicIpEnabled boolean
Whether public IP is enabled on the Looker instance.
region Changes to this property will trigger replacement. string
The name of the Looker region of the instance.
reservedRange string
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
userMetadata InstanceUserMetadata
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
oauth_config This property is required. InstanceOauthConfigArgs
Looker Instance OAuth login settings. Structure is documented below.
admin_settings InstanceAdminSettingsArgs
Looker instance Admin settings.
consumer_network str
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
custom_domain InstanceCustomDomainArgs
Custom domain settings for a Looker instance.
deletion_policy str
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
deny_maintenance_period InstanceDenyMaintenancePeriodArgs
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
encryption_config InstanceEncryptionConfigArgs
Looker instance encryption settings.
fips_enabled bool
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
maintenance_window InstanceMaintenanceWindowArgs
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
name Changes to this property will trigger replacement. str
The ID of the instance or a fully qualified identifier for the instance.
platform_edition Changes to this property will trigger replacement. str
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
private_ip_enabled bool
Whether private IP is enabled on the Looker instance.
project Changes to this property will trigger replacement. str
psc_config InstancePscConfigArgs
Information for Private Service Connect (PSC) setup for a Looker instance.
psc_enabled bool
Whether Public Service Connect (PSC) is enabled on the Looker instance
public_ip_enabled bool
Whether public IP is enabled on the Looker instance.
region Changes to this property will trigger replacement. str
The name of the Looker region of the instance.
reserved_range str
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
user_metadata InstanceUserMetadataArgs
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
oauthConfig This property is required. Property Map
Looker Instance OAuth login settings. Structure is documented below.
adminSettings Property Map
Looker instance Admin settings.
consumerNetwork String
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
customDomain Property Map
Custom domain settings for a Looker instance.
deletionPolicy String
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
denyMaintenancePeriod Property Map
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
encryptionConfig Property Map
Looker instance encryption settings.
fipsEnabled Boolean
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
maintenanceWindow Property Map
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
name Changes to this property will trigger replacement. String
The ID of the instance or a fully qualified identifier for the instance.
platformEdition Changes to this property will trigger replacement. String
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
privateIpEnabled Boolean
Whether private IP is enabled on the Looker instance.
project Changes to this property will trigger replacement. String
pscConfig Property Map
Information for Private Service Connect (PSC) setup for a Looker instance.
pscEnabled Boolean
Whether Public Service Connect (PSC) is enabled on the Looker instance
publicIpEnabled Boolean
Whether public IP is enabled on the Looker instance.
region Changes to this property will trigger replacement. String
The name of the Looker region of the instance.
reservedRange String
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
userMetadata Property Map
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.

Outputs

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

CreateTime string
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
EgressPublicIp string
Public Egress IP (IPv4).
Id string
The provider-assigned unique ID for this managed resource.
IngressPrivateIp string
Private Ingress IP (IPv4).
IngressPublicIp string
Public Ingress IP (IPv4).
LookerUri string
Looker instance URI which can be used to access the Looker Instance UI.
LookerVersion string
The Looker version that the instance is using.
UpdateTime string
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
CreateTime string
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
EgressPublicIp string
Public Egress IP (IPv4).
Id string
The provider-assigned unique ID for this managed resource.
IngressPrivateIp string
Private Ingress IP (IPv4).
IngressPublicIp string
Public Ingress IP (IPv4).
LookerUri string
Looker instance URI which can be used to access the Looker Instance UI.
LookerVersion string
The Looker version that the instance is using.
UpdateTime string
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
createTime String
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
egressPublicIp String
Public Egress IP (IPv4).
id String
The provider-assigned unique ID for this managed resource.
ingressPrivateIp String
Private Ingress IP (IPv4).
ingressPublicIp String
Public Ingress IP (IPv4).
lookerUri String
Looker instance URI which can be used to access the Looker Instance UI.
lookerVersion String
The Looker version that the instance is using.
updateTime String
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
createTime string
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
egressPublicIp string
Public Egress IP (IPv4).
id string
The provider-assigned unique ID for this managed resource.
ingressPrivateIp string
Private Ingress IP (IPv4).
ingressPublicIp string
Public Ingress IP (IPv4).
lookerUri string
Looker instance URI which can be used to access the Looker Instance UI.
lookerVersion string
The Looker version that the instance is using.
updateTime string
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
create_time str
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
egress_public_ip str
Public Egress IP (IPv4).
id str
The provider-assigned unique ID for this managed resource.
ingress_private_ip str
Private Ingress IP (IPv4).
ingress_public_ip str
Public Ingress IP (IPv4).
looker_uri str
Looker instance URI which can be used to access the Looker Instance UI.
looker_version str
The Looker version that the instance is using.
update_time str
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
createTime String
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
egressPublicIp String
Public Egress IP (IPv4).
id String
The provider-assigned unique ID for this managed resource.
ingressPrivateIp String
Private Ingress IP (IPv4).
ingressPublicIp String
Public Ingress IP (IPv4).
lookerUri String
Looker instance URI which can be used to access the Looker Instance UI.
lookerVersion String
The Looker version that the instance is using.
updateTime String
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.

Look up Existing Instance Resource

Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        admin_settings: Optional[InstanceAdminSettingsArgs] = None,
        consumer_network: Optional[str] = None,
        create_time: Optional[str] = None,
        custom_domain: Optional[InstanceCustomDomainArgs] = None,
        deletion_policy: Optional[str] = None,
        deny_maintenance_period: Optional[InstanceDenyMaintenancePeriodArgs] = None,
        egress_public_ip: Optional[str] = None,
        encryption_config: Optional[InstanceEncryptionConfigArgs] = None,
        fips_enabled: Optional[bool] = None,
        ingress_private_ip: Optional[str] = None,
        ingress_public_ip: Optional[str] = None,
        looker_uri: Optional[str] = None,
        looker_version: Optional[str] = None,
        maintenance_window: Optional[InstanceMaintenanceWindowArgs] = None,
        name: Optional[str] = None,
        oauth_config: Optional[InstanceOauthConfigArgs] = None,
        platform_edition: Optional[str] = None,
        private_ip_enabled: Optional[bool] = None,
        project: Optional[str] = None,
        psc_config: Optional[InstancePscConfigArgs] = None,
        psc_enabled: Optional[bool] = None,
        public_ip_enabled: Optional[bool] = None,
        region: Optional[str] = None,
        reserved_range: Optional[str] = None,
        update_time: Optional[str] = None,
        user_metadata: Optional[InstanceUserMetadataArgs] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
resources:  _:    type: gcp:looker:Instance    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AdminSettings InstanceAdminSettings
Looker instance Admin settings.
ConsumerNetwork string
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
CreateTime string
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
CustomDomain InstanceCustomDomain
Custom domain settings for a Looker instance.
DeletionPolicy string
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
DenyMaintenancePeriod InstanceDenyMaintenancePeriod
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
EgressPublicIp string
Public Egress IP (IPv4).
EncryptionConfig InstanceEncryptionConfig
Looker instance encryption settings.
FipsEnabled bool
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
IngressPrivateIp string
Private Ingress IP (IPv4).
IngressPublicIp string
Public Ingress IP (IPv4).
LookerUri string
Looker instance URI which can be used to access the Looker Instance UI.
LookerVersion string
The Looker version that the instance is using.
MaintenanceWindow InstanceMaintenanceWindow
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
Name Changes to this property will trigger replacement. string
The ID of the instance or a fully qualified identifier for the instance.
OauthConfig InstanceOauthConfig
Looker Instance OAuth login settings. Structure is documented below.
PlatformEdition Changes to this property will trigger replacement. string
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
PrivateIpEnabled bool
Whether private IP is enabled on the Looker instance.
Project Changes to this property will trigger replacement. string
PscConfig InstancePscConfig
Information for Private Service Connect (PSC) setup for a Looker instance.
PscEnabled bool
Whether Public Service Connect (PSC) is enabled on the Looker instance
PublicIpEnabled bool
Whether public IP is enabled on the Looker instance.
Region Changes to this property will trigger replacement. string
The name of the Looker region of the instance.
ReservedRange string
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
UpdateTime string
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
UserMetadata InstanceUserMetadata
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
AdminSettings InstanceAdminSettingsArgs
Looker instance Admin settings.
ConsumerNetwork string
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
CreateTime string
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
CustomDomain InstanceCustomDomainArgs
Custom domain settings for a Looker instance.
DeletionPolicy string
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
DenyMaintenancePeriod InstanceDenyMaintenancePeriodArgs
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
EgressPublicIp string
Public Egress IP (IPv4).
EncryptionConfig InstanceEncryptionConfigArgs
Looker instance encryption settings.
FipsEnabled bool
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
IngressPrivateIp string
Private Ingress IP (IPv4).
IngressPublicIp string
Public Ingress IP (IPv4).
LookerUri string
Looker instance URI which can be used to access the Looker Instance UI.
LookerVersion string
The Looker version that the instance is using.
MaintenanceWindow InstanceMaintenanceWindowArgs
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
Name Changes to this property will trigger replacement. string
The ID of the instance or a fully qualified identifier for the instance.
OauthConfig InstanceOauthConfigArgs
Looker Instance OAuth login settings. Structure is documented below.
PlatformEdition Changes to this property will trigger replacement. string
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
PrivateIpEnabled bool
Whether private IP is enabled on the Looker instance.
Project Changes to this property will trigger replacement. string
PscConfig InstancePscConfigArgs
Information for Private Service Connect (PSC) setup for a Looker instance.
PscEnabled bool
Whether Public Service Connect (PSC) is enabled on the Looker instance
PublicIpEnabled bool
Whether public IP is enabled on the Looker instance.
Region Changes to this property will trigger replacement. string
The name of the Looker region of the instance.
ReservedRange string
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
UpdateTime string
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
UserMetadata InstanceUserMetadataArgs
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
adminSettings InstanceAdminSettings
Looker instance Admin settings.
consumerNetwork String
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
createTime String
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
customDomain InstanceCustomDomain
Custom domain settings for a Looker instance.
deletionPolicy String
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
denyMaintenancePeriod InstanceDenyMaintenancePeriod
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
egressPublicIp String
Public Egress IP (IPv4).
encryptionConfig InstanceEncryptionConfig
Looker instance encryption settings.
fipsEnabled Boolean
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
ingressPrivateIp String
Private Ingress IP (IPv4).
ingressPublicIp String
Public Ingress IP (IPv4).
lookerUri String
Looker instance URI which can be used to access the Looker Instance UI.
lookerVersion String
The Looker version that the instance is using.
maintenanceWindow InstanceMaintenanceWindow
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
name Changes to this property will trigger replacement. String
The ID of the instance or a fully qualified identifier for the instance.
oauthConfig InstanceOauthConfig
Looker Instance OAuth login settings. Structure is documented below.
platformEdition Changes to this property will trigger replacement. String
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
privateIpEnabled Boolean
Whether private IP is enabled on the Looker instance.
project Changes to this property will trigger replacement. String
pscConfig InstancePscConfig
Information for Private Service Connect (PSC) setup for a Looker instance.
pscEnabled Boolean
Whether Public Service Connect (PSC) is enabled on the Looker instance
publicIpEnabled Boolean
Whether public IP is enabled on the Looker instance.
region Changes to this property will trigger replacement. String
The name of the Looker region of the instance.
reservedRange String
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
updateTime String
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
userMetadata InstanceUserMetadata
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
adminSettings InstanceAdminSettings
Looker instance Admin settings.
consumerNetwork string
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
createTime string
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
customDomain InstanceCustomDomain
Custom domain settings for a Looker instance.
deletionPolicy string
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
denyMaintenancePeriod InstanceDenyMaintenancePeriod
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
egressPublicIp string
Public Egress IP (IPv4).
encryptionConfig InstanceEncryptionConfig
Looker instance encryption settings.
fipsEnabled boolean
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
ingressPrivateIp string
Private Ingress IP (IPv4).
ingressPublicIp string
Public Ingress IP (IPv4).
lookerUri string
Looker instance URI which can be used to access the Looker Instance UI.
lookerVersion string
The Looker version that the instance is using.
maintenanceWindow InstanceMaintenanceWindow
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
name Changes to this property will trigger replacement. string
The ID of the instance or a fully qualified identifier for the instance.
oauthConfig InstanceOauthConfig
Looker Instance OAuth login settings. Structure is documented below.
platformEdition Changes to this property will trigger replacement. string
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
privateIpEnabled boolean
Whether private IP is enabled on the Looker instance.
project Changes to this property will trigger replacement. string
pscConfig InstancePscConfig
Information for Private Service Connect (PSC) setup for a Looker instance.
pscEnabled boolean
Whether Public Service Connect (PSC) is enabled on the Looker instance
publicIpEnabled boolean
Whether public IP is enabled on the Looker instance.
region Changes to this property will trigger replacement. string
The name of the Looker region of the instance.
reservedRange string
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
updateTime string
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
userMetadata InstanceUserMetadata
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
admin_settings InstanceAdminSettingsArgs
Looker instance Admin settings.
consumer_network str
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
create_time str
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
custom_domain InstanceCustomDomainArgs
Custom domain settings for a Looker instance.
deletion_policy str
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
deny_maintenance_period InstanceDenyMaintenancePeriodArgs
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
egress_public_ip str
Public Egress IP (IPv4).
encryption_config InstanceEncryptionConfigArgs
Looker instance encryption settings.
fips_enabled bool
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
ingress_private_ip str
Private Ingress IP (IPv4).
ingress_public_ip str
Public Ingress IP (IPv4).
looker_uri str
Looker instance URI which can be used to access the Looker Instance UI.
looker_version str
The Looker version that the instance is using.
maintenance_window InstanceMaintenanceWindowArgs
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
name Changes to this property will trigger replacement. str
The ID of the instance or a fully qualified identifier for the instance.
oauth_config InstanceOauthConfigArgs
Looker Instance OAuth login settings. Structure is documented below.
platform_edition Changes to this property will trigger replacement. str
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
private_ip_enabled bool
Whether private IP is enabled on the Looker instance.
project Changes to this property will trigger replacement. str
psc_config InstancePscConfigArgs
Information for Private Service Connect (PSC) setup for a Looker instance.
psc_enabled bool
Whether Public Service Connect (PSC) is enabled on the Looker instance
public_ip_enabled bool
Whether public IP is enabled on the Looker instance.
region Changes to this property will trigger replacement. str
The name of the Looker region of the instance.
reserved_range str
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
update_time str
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
user_metadata InstanceUserMetadataArgs
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.
adminSettings Property Map
Looker instance Admin settings.
consumerNetwork String
Network name in the consumer project in the format of: projects/{project}/global/networks/{network} Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.
createTime String
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
customDomain Property Map
Custom domain settings for a Looker instance.
deletionPolicy String
Policy to determine if the cluster should be deleted forcefully. If setting deletion_policy = "FORCE", the Looker instance will be deleted regardless of its nested resources. If set to "DEFAULT", Looker instances that still have nested resources will return an error. Possible values: DEFAULT, FORCE
denyMaintenancePeriod Property Map
Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods.
egressPublicIp String
Public Egress IP (IPv4).
encryptionConfig Property Map
Looker instance encryption settings.
fipsEnabled Boolean
FIPS 140-2 Encryption enablement for Looker (Google Cloud Core).
ingressPrivateIp String
Private Ingress IP (IPv4).
ingressPublicIp String
Public Ingress IP (IPv4).
lookerUri String
Looker instance URI which can be used to access the Looker Instance UI.
lookerVersion String
The Looker version that the instance is using.
maintenanceWindow Property Map
Maintenance window for an instance. Maintenance of your instance takes place once a month, and will require your instance to be restarted during updates, which will temporarily disrupt service.
name Changes to this property will trigger replacement. String
The ID of the instance or a fully qualified identifier for the instance.
oauthConfig Property Map
Looker Instance OAuth login settings. Structure is documented below.
platformEdition Changes to this property will trigger replacement. String
Platform editions for a Looker instance. Each edition maps to a set of instance features, like its size. Must be one of these values: - LOOKER_CORE_TRIAL: trial instance (Currently Unavailable) - LOOKER_CORE_STANDARD: pay as you go standard instance (Currently Unavailable) - LOOKER_CORE_STANDARD_ANNUAL: subscription standard instance - LOOKER_CORE_ENTERPRISE_ANNUAL: subscription enterprise instance - LOOKER_CORE_EMBED_ANNUAL: subscription embed instance

  • LOOKER_CORE_NONPROD_STANDARD_ANNUAL: nonprod subscription standard instance - LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL: nonprod subscription enterprise instance - LOOKER_CORE_NONPROD_EMBED_ANNUAL: nonprod subscription embed instance Default value: "LOOKER_CORE_TRIAL" Possible values: ["LOOKER_CORE_TRIAL", "LOOKER_CORE_STANDARD", "LOOKER_CORE_STANDARD_ANNUAL", "LOOKER_CORE_ENTERPRISE_ANNUAL", "LOOKER_CORE_EMBED_ANNUAL", "LOOKER_CORE_NONPROD_STANDARD_ANNUAL", "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", "LOOKER_CORE_NONPROD_EMBED_ANNUAL"]
privateIpEnabled Boolean
Whether private IP is enabled on the Looker instance.
project Changes to this property will trigger replacement. String
pscConfig Property Map
Information for Private Service Connect (PSC) setup for a Looker instance.
pscEnabled Boolean
Whether Public Service Connect (PSC) is enabled on the Looker instance
publicIpEnabled Boolean
Whether public IP is enabled on the Looker instance.
region Changes to this property will trigger replacement. String
The name of the Looker region of the instance.
reservedRange String
Name of a reserved IP address range within the consumer network, to be used for private service access connection. User may or may not specify this in a request.
updateTime String
The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
userMetadata Property Map
Metadata about users for a Looker instance. These settings are only available when platform edition LOOKER_CORE_STANDARD is set. There are ten Standard and two Developer users included in the cost of the product. You can allocate additional Standard, Viewer, and Developer users for this instance. It is an optional step and can be modified later. With the Standard edition of Looker (Google Cloud core), you can provision up to 50 total users, distributed across Viewer, Standard, and Developer.

Supporting Types

InstanceAdminSettings
, InstanceAdminSettingsArgs

AllowedEmailDomains List<string>
allowedEmailDomains List<String>
allowed_email_domains Sequence[str]
allowedEmailDomains List<String>

InstanceCustomDomain
, InstanceCustomDomainArgs

Domain string
Domain name
State string
(Output) Status of the custom domain.
Domain string
Domain name
State string
(Output) Status of the custom domain.
domain String
Domain name
state String
(Output) Status of the custom domain.
domain string
Domain name
state string
(Output) Status of the custom domain.
domain str
Domain name
state str
(Output) Status of the custom domain.
domain String
Domain name
state String
(Output) Status of the custom domain.

InstanceDenyMaintenancePeriod
, InstanceDenyMaintenancePeriodArgs

EndDate This property is required. InstanceDenyMaintenancePeriodEndDate
Required. Start date of the deny maintenance period Structure is documented below.
StartDate This property is required. InstanceDenyMaintenancePeriodStartDate
Required. Start date of the deny maintenance period Structure is documented below.
Time This property is required. InstanceDenyMaintenancePeriodTime
Required. Start time of the window in UTC time. Structure is documented below.
EndDate This property is required. InstanceDenyMaintenancePeriodEndDate
Required. Start date of the deny maintenance period Structure is documented below.
StartDate This property is required. InstanceDenyMaintenancePeriodStartDate
Required. Start date of the deny maintenance period Structure is documented below.
Time This property is required. InstanceDenyMaintenancePeriodTime
Required. Start time of the window in UTC time. Structure is documented below.
endDate This property is required. InstanceDenyMaintenancePeriodEndDate
Required. Start date of the deny maintenance period Structure is documented below.
startDate This property is required. InstanceDenyMaintenancePeriodStartDate
Required. Start date of the deny maintenance period Structure is documented below.
time This property is required. InstanceDenyMaintenancePeriodTime
Required. Start time of the window in UTC time. Structure is documented below.
endDate This property is required. InstanceDenyMaintenancePeriodEndDate
Required. Start date of the deny maintenance period Structure is documented below.
startDate This property is required. InstanceDenyMaintenancePeriodStartDate
Required. Start date of the deny maintenance period Structure is documented below.
time This property is required. InstanceDenyMaintenancePeriodTime
Required. Start time of the window in UTC time. Structure is documented below.
end_date This property is required. InstanceDenyMaintenancePeriodEndDate
Required. Start date of the deny maintenance period Structure is documented below.
start_date This property is required. InstanceDenyMaintenancePeriodStartDate
Required. Start date of the deny maintenance period Structure is documented below.
time This property is required. InstanceDenyMaintenancePeriodTime
Required. Start time of the window in UTC time. Structure is documented below.
endDate This property is required. Property Map
Required. Start date of the deny maintenance period Structure is documented below.
startDate This property is required. Property Map
Required. Start date of the deny maintenance period Structure is documented below.
time This property is required. Property Map
Required. Start time of the window in UTC time. Structure is documented below.

InstanceDenyMaintenancePeriodEndDate
, InstanceDenyMaintenancePeriodEndDateArgs

Day int
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Month int
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Year int
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Day int
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Month int
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Year int
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
day Integer
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
month Integer
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
year Integer
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
day number
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
month number
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
year number
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
day int
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
month int
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
year int
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
day Number
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
month Number
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
year Number
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

InstanceDenyMaintenancePeriodStartDate
, InstanceDenyMaintenancePeriodStartDateArgs

Day int
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Month int
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Year int
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Day int
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Month int
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Year int
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
day Integer
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
month Integer
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
year Integer
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
day number
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
month number
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
year number
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
day int
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
month int
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
year int
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
day Number
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
month Number
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
year Number
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

InstanceDenyMaintenancePeriodTime
, InstanceDenyMaintenancePeriodTimeArgs

Hours int
Hours of day in 24 hour format. Should be from 0 to 23.
Minutes int
Minutes of hour of day. Must be from 0 to 59.
Nanos int
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Seconds int
Seconds of minutes of the time. Must normally be from 0 to 59.
Hours int
Hours of day in 24 hour format. Should be from 0 to 23.
Minutes int
Minutes of hour of day. Must be from 0 to 59.
Nanos int
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Seconds int
Seconds of minutes of the time. Must normally be from 0 to 59.
hours Integer
Hours of day in 24 hour format. Should be from 0 to 23.
minutes Integer
Minutes of hour of day. Must be from 0 to 59.
nanos Integer
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds Integer
Seconds of minutes of the time. Must normally be from 0 to 59.
hours number
Hours of day in 24 hour format. Should be from 0 to 23.
minutes number
Minutes of hour of day. Must be from 0 to 59.
nanos number
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds number
Seconds of minutes of the time. Must normally be from 0 to 59.
hours int
Hours of day in 24 hour format. Should be from 0 to 23.
minutes int
Minutes of hour of day. Must be from 0 to 59.
nanos int
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds int
Seconds of minutes of the time. Must normally be from 0 to 59.
hours Number
Hours of day in 24 hour format. Should be from 0 to 23.
minutes Number
Minutes of hour of day. Must be from 0 to 59.
nanos Number
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds Number
Seconds of minutes of the time. Must normally be from 0 to 59.

InstanceEncryptionConfig
, InstanceEncryptionConfigArgs

KmsKeyName string
Name of the customer managed encryption key (CMEK) in KMS.
KmsKeyNameVersion string
(Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
KmsKeyState string
(Output) Status of the customer managed encryption key (CMEK) in KMS.
KmsKeyName string
Name of the customer managed encryption key (CMEK) in KMS.
KmsKeyNameVersion string
(Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
KmsKeyState string
(Output) Status of the customer managed encryption key (CMEK) in KMS.
kmsKeyName String
Name of the customer managed encryption key (CMEK) in KMS.
kmsKeyNameVersion String
(Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
kmsKeyState String
(Output) Status of the customer managed encryption key (CMEK) in KMS.
kmsKeyName string
Name of the customer managed encryption key (CMEK) in KMS.
kmsKeyNameVersion string
(Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
kmsKeyState string
(Output) Status of the customer managed encryption key (CMEK) in KMS.
kms_key_name str
Name of the customer managed encryption key (CMEK) in KMS.
kms_key_name_version str
(Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
kms_key_state str
(Output) Status of the customer managed encryption key (CMEK) in KMS.
kmsKeyName String
Name of the customer managed encryption key (CMEK) in KMS.
kmsKeyNameVersion String
(Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
kmsKeyState String
(Output) Status of the customer managed encryption key (CMEK) in KMS.

InstanceMaintenanceWindow
, InstanceMaintenanceWindowArgs

DayOfWeek This property is required. string
Required. Day of the week for this MaintenanceWindow (in UTC).

  • MONDAY: Monday
  • TUESDAY: Tuesday
  • WEDNESDAY: Wednesday
  • THURSDAY: Thursday
  • FRIDAY: Friday
  • SATURDAY: Saturday
  • SUNDAY: Sunday Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
StartTime This property is required. InstanceMaintenanceWindowStartTime
Required. Start time of the window in UTC time. Structure is documented below.
DayOfWeek This property is required. string
Required. Day of the week for this MaintenanceWindow (in UTC).

  • MONDAY: Monday
  • TUESDAY: Tuesday
  • WEDNESDAY: Wednesday
  • THURSDAY: Thursday
  • FRIDAY: Friday
  • SATURDAY: Saturday
  • SUNDAY: Sunday Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
StartTime This property is required. InstanceMaintenanceWindowStartTime
Required. Start time of the window in UTC time. Structure is documented below.
dayOfWeek This property is required. String
Required. Day of the week for this MaintenanceWindow (in UTC).

  • MONDAY: Monday
  • TUESDAY: Tuesday
  • WEDNESDAY: Wednesday
  • THURSDAY: Thursday
  • FRIDAY: Friday
  • SATURDAY: Saturday
  • SUNDAY: Sunday Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
startTime This property is required. InstanceMaintenanceWindowStartTime
Required. Start time of the window in UTC time. Structure is documented below.
dayOfWeek This property is required. string
Required. Day of the week for this MaintenanceWindow (in UTC).

  • MONDAY: Monday
  • TUESDAY: Tuesday
  • WEDNESDAY: Wednesday
  • THURSDAY: Thursday
  • FRIDAY: Friday
  • SATURDAY: Saturday
  • SUNDAY: Sunday Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
startTime This property is required. InstanceMaintenanceWindowStartTime
Required. Start time of the window in UTC time. Structure is documented below.
day_of_week This property is required. str
Required. Day of the week for this MaintenanceWindow (in UTC).

  • MONDAY: Monday
  • TUESDAY: Tuesday
  • WEDNESDAY: Wednesday
  • THURSDAY: Thursday
  • FRIDAY: Friday
  • SATURDAY: Saturday
  • SUNDAY: Sunday Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
start_time This property is required. InstanceMaintenanceWindowStartTime
Required. Start time of the window in UTC time. Structure is documented below.
dayOfWeek This property is required. String
Required. Day of the week for this MaintenanceWindow (in UTC).

  • MONDAY: Monday
  • TUESDAY: Tuesday
  • WEDNESDAY: Wednesday
  • THURSDAY: Thursday
  • FRIDAY: Friday
  • SATURDAY: Saturday
  • SUNDAY: Sunday Possible values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
startTime This property is required. Property Map
Required. Start time of the window in UTC time. Structure is documented below.

InstanceMaintenanceWindowStartTime
, InstanceMaintenanceWindowStartTimeArgs

Hours int
Hours of day in 24 hour format. Should be from 0 to 23.
Minutes int
Minutes of hour of day. Must be from 0 to 59.
Nanos int
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Seconds int
Seconds of minutes of the time. Must normally be from 0 to 59.
Hours int
Hours of day in 24 hour format. Should be from 0 to 23.
Minutes int
Minutes of hour of day. Must be from 0 to 59.
Nanos int
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Seconds int
Seconds of minutes of the time. Must normally be from 0 to 59.
hours Integer
Hours of day in 24 hour format. Should be from 0 to 23.
minutes Integer
Minutes of hour of day. Must be from 0 to 59.
nanos Integer
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds Integer
Seconds of minutes of the time. Must normally be from 0 to 59.
hours number
Hours of day in 24 hour format. Should be from 0 to 23.
minutes number
Minutes of hour of day. Must be from 0 to 59.
nanos number
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds number
Seconds of minutes of the time. Must normally be from 0 to 59.
hours int
Hours of day in 24 hour format. Should be from 0 to 23.
minutes int
Minutes of hour of day. Must be from 0 to 59.
nanos int
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds int
Seconds of minutes of the time. Must normally be from 0 to 59.
hours Number
Hours of day in 24 hour format. Should be from 0 to 23.
minutes Number
Minutes of hour of day. Must be from 0 to 59.
nanos Number
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
seconds Number
Seconds of minutes of the time. Must normally be from 0 to 59.

InstanceOauthConfig
, InstanceOauthConfigArgs

ClientId This property is required. string
The client ID for the Oauth config.
ClientSecret This property is required. string
The client secret for the Oauth config.


ClientId This property is required. string
The client ID for the Oauth config.
ClientSecret This property is required. string
The client secret for the Oauth config.


clientId This property is required. String
The client ID for the Oauth config.
clientSecret This property is required. String
The client secret for the Oauth config.


clientId This property is required. string
The client ID for the Oauth config.
clientSecret This property is required. string
The client secret for the Oauth config.


client_id This property is required. str
The client ID for the Oauth config.
client_secret This property is required. str
The client secret for the Oauth config.


clientId This property is required. String
The client ID for the Oauth config.
clientSecret This property is required. String
The client secret for the Oauth config.


InstancePscConfig
, InstancePscConfigArgs

AllowedVpcs List<string>
List of VPCs that are allowed ingress into the Looker instance.
LookerServiceAttachmentUri string
(Output) URI of the Looker service attachment.
ServiceAttachments List<InstancePscConfigServiceAttachment>
List of egress service attachment configurations. Structure is documented below.
AllowedVpcs []string
List of VPCs that are allowed ingress into the Looker instance.
LookerServiceAttachmentUri string
(Output) URI of the Looker service attachment.
ServiceAttachments []InstancePscConfigServiceAttachment
List of egress service attachment configurations. Structure is documented below.
allowedVpcs List<String>
List of VPCs that are allowed ingress into the Looker instance.
lookerServiceAttachmentUri String
(Output) URI of the Looker service attachment.
serviceAttachments List<InstancePscConfigServiceAttachment>
List of egress service attachment configurations. Structure is documented below.
allowedVpcs string[]
List of VPCs that are allowed ingress into the Looker instance.
lookerServiceAttachmentUri string
(Output) URI of the Looker service attachment.
serviceAttachments InstancePscConfigServiceAttachment[]
List of egress service attachment configurations. Structure is documented below.
allowed_vpcs Sequence[str]
List of VPCs that are allowed ingress into the Looker instance.
looker_service_attachment_uri str
(Output) URI of the Looker service attachment.
service_attachments Sequence[InstancePscConfigServiceAttachment]
List of egress service attachment configurations. Structure is documented below.
allowedVpcs List<String>
List of VPCs that are allowed ingress into the Looker instance.
lookerServiceAttachmentUri String
(Output) URI of the Looker service attachment.
serviceAttachments List<Property Map>
List of egress service attachment configurations. Structure is documented below.

InstancePscConfigServiceAttachment
, InstancePscConfigServiceAttachmentArgs

ConnectionStatus string
(Output) Status of the service attachment connection.
LocalFqdn string
Fully qualified domain name that will be used in the private DNS record created for the service attachment.
TargetServiceAttachmentUri string
URI of the service attachment to connect to.
ConnectionStatus string
(Output) Status of the service attachment connection.
LocalFqdn string
Fully qualified domain name that will be used in the private DNS record created for the service attachment.
TargetServiceAttachmentUri string
URI of the service attachment to connect to.
connectionStatus String
(Output) Status of the service attachment connection.
localFqdn String
Fully qualified domain name that will be used in the private DNS record created for the service attachment.
targetServiceAttachmentUri String
URI of the service attachment to connect to.
connectionStatus string
(Output) Status of the service attachment connection.
localFqdn string
Fully qualified domain name that will be used in the private DNS record created for the service attachment.
targetServiceAttachmentUri string
URI of the service attachment to connect to.
connection_status str
(Output) Status of the service attachment connection.
local_fqdn str
Fully qualified domain name that will be used in the private DNS record created for the service attachment.
target_service_attachment_uri str
URI of the service attachment to connect to.
connectionStatus String
(Output) Status of the service attachment connection.
localFqdn String
Fully qualified domain name that will be used in the private DNS record created for the service attachment.
targetServiceAttachmentUri String
URI of the service attachment to connect to.

InstanceUserMetadata
, InstanceUserMetadataArgs

AdditionalDeveloperUserCount int
Number of additional Developer Users to allocate to the Looker Instance.
AdditionalStandardUserCount int
Number of additional Standard Users to allocate to the Looker Instance.
AdditionalViewerUserCount int
Number of additional Viewer Users to allocate to the Looker Instance.
AdditionalDeveloperUserCount int
Number of additional Developer Users to allocate to the Looker Instance.
AdditionalStandardUserCount int
Number of additional Standard Users to allocate to the Looker Instance.
AdditionalViewerUserCount int
Number of additional Viewer Users to allocate to the Looker Instance.
additionalDeveloperUserCount Integer
Number of additional Developer Users to allocate to the Looker Instance.
additionalStandardUserCount Integer
Number of additional Standard Users to allocate to the Looker Instance.
additionalViewerUserCount Integer
Number of additional Viewer Users to allocate to the Looker Instance.
additionalDeveloperUserCount number
Number of additional Developer Users to allocate to the Looker Instance.
additionalStandardUserCount number
Number of additional Standard Users to allocate to the Looker Instance.
additionalViewerUserCount number
Number of additional Viewer Users to allocate to the Looker Instance.
additional_developer_user_count int
Number of additional Developer Users to allocate to the Looker Instance.
additional_standard_user_count int
Number of additional Standard Users to allocate to the Looker Instance.
additional_viewer_user_count int
Number of additional Viewer Users to allocate to the Looker Instance.
additionalDeveloperUserCount Number
Number of additional Developer Users to allocate to the Looker Instance.
additionalStandardUserCount Number
Number of additional Standard Users to allocate to the Looker Instance.
additionalViewerUserCount Number
Number of additional Viewer Users to allocate to the Looker Instance.

Import

Instance can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{region}}/instances/{{name}}

  • {{project}}/{{region}}/{{name}}

  • {{region}}/{{name}}

  • {{name}}

When using the pulumi import command, Instance can be imported using one of the formats above. For example:

$ pulumi import gcp:looker/instance:Instance default projects/{{project}}/locations/{{region}}/instances/{{name}}
Copy
$ pulumi import gcp:looker/instance:Instance default {{project}}/{{region}}/{{name}}
Copy
$ pulumi import gcp:looker/instance:Instance default {{region}}/{{name}}
Copy
$ pulumi import gcp:looker/instance:Instance default {{name}}
Copy

To learn more about importing existing cloud resources, see Importing resources.

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.