gcp.looker.Instance
Explore with Pulumi AI
A Google Cloud Looker instance.
To get more information about Instance, see:
- API documentation
- How-to Guides
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",
},
});
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=gcp.looker.InstanceOauthConfigArgs(
client_id="my-client-id",
client_secret="my-client-secret",
))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/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"),
},
})
if err != nil {
return err
}
return nil
})
}
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",
},
});
});
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())
.build());
}
}
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
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",
},
});
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=gcp.looker.InstanceAdminSettingsArgs(
allowed_email_domains=["google.com"],
),
maintenance_window=gcp.looker.InstanceMaintenanceWindowArgs(
day_of_week="THURSDAY",
start_time=gcp.looker.InstanceMaintenanceWindowStartTimeArgs(
hours=22,
minutes=0,
seconds=0,
nanos=0,
),
),
deny_maintenance_period=gcp.looker.InstanceDenyMaintenancePeriodArgs(
start_date=gcp.looker.InstanceDenyMaintenancePeriodStartDateArgs(
year=2050,
month=1,
day=1,
),
end_date=gcp.looker.InstanceDenyMaintenancePeriodEndDateArgs(
year=2050,
month=2,
day=1,
),
time=gcp.looker.InstanceDenyMaintenancePeriodTimeArgs(
hours=10,
minutes=0,
seconds=0,
nanos=0,
),
),
oauth_config=gcp.looker.InstanceOauthConfigArgs(
client_id="my-client-id",
client_secret="my-client-secret",
))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/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
})
}
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",
},
});
});
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());
}
}
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
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`),
});
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=gcp.looker.InstanceAdminSettingsArgs(
allowed_email_domains=["google.com"],
),
encryption_config=gcp.looker.InstanceEncryptionConfigArgs(
kms_key_name="looker-kms-key",
),
maintenance_window=gcp.looker.InstanceMaintenanceWindowArgs(
day_of_week="THURSDAY",
start_time=gcp.looker.InstanceMaintenanceWindowStartTimeArgs(
hours=22,
minutes=0,
seconds=0,
nanos=0,
),
),
deny_maintenance_period=gcp.looker.InstanceDenyMaintenancePeriodArgs(
start_date=gcp.looker.InstanceDenyMaintenancePeriodStartDateArgs(
year=2050,
month=1,
day=1,
),
end_date=gcp.looker.InstanceDenyMaintenancePeriodEndDateArgs(
year=2050,
month=2,
day=1,
),
time=gcp.looker.InstanceDenyMaintenancePeriodTimeArgs(
hours=10,
minutes=0,
seconds=0,
nanos=0,
),
),
oauth_config=gcp.looker.InstanceOauthConfigArgs(
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")
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/kms"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/looker"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/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, nil, 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.String(fmt.Sprintf("serviceAccount:service-%v@gcp-sa-looker.iam.gserviceaccount.com", project.Number)),
})
if err != nil {
return err
}
return nil
})
}
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",
});
});
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();
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.applyValue(getProjectResult -> getProjectResult.number())))
.build());
}
}
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: {}
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",
},
});
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=gcp.looker.InstanceOauthConfigArgs(
client_id="my-client-id",
client_secret="my-client-secret",
),
custom_domain=gcp.looker.InstanceCustomDomainArgs(
domain="my-custom-domain.com",
))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/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
})
}
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",
},
});
});
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());
}
}
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
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: Optional[InstanceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin_settings: Optional[InstanceAdminSettingsArgs] = None,
consumer_network: Optional[str] = None,
custom_domain: Optional[InstanceCustomDomainArgs] = None,
deny_maintenance_period: Optional[InstanceDenyMaintenancePeriodArgs] = None,
encryption_config: Optional[InstanceEncryptionConfigArgs] = 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,
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 = null, 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 string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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()
{
AdminSettings = new Gcp.Looker.Inputs.InstanceAdminSettingsArgs
{
AllowedEmailDomains = new[]
{
"string",
},
},
ConsumerNetwork = "string",
CustomDomain = new Gcp.Looker.Inputs.InstanceCustomDomainArgs
{
Domain = "string",
State = "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",
},
MaintenanceWindow = new Gcp.Looker.Inputs.InstanceMaintenanceWindowArgs
{
DayOfWeek = "string",
StartTime = new Gcp.Looker.Inputs.InstanceMaintenanceWindowStartTimeArgs
{
Hours = 0,
Minutes = 0,
Nanos = 0,
Seconds = 0,
},
},
Name = "string",
OauthConfig = new Gcp.Looker.Inputs.InstanceOauthConfigArgs
{
ClientId = "string",
ClientSecret = "string",
},
PlatformEdition = "string",
PrivateIpEnabled = false,
Project = "string",
PublicIpEnabled = false,
Region = "string",
ReservedRange = "string",
UserMetadata = new Gcp.Looker.Inputs.InstanceUserMetadataArgs
{
AdditionalDeveloperUserCount = 0,
AdditionalStandardUserCount = 0,
AdditionalViewerUserCount = 0,
},
});
example, err := looker.NewInstance(ctx, "exampleinstanceResourceResourceFromLookerinstance", &looker.InstanceArgs{
AdminSettings: &looker.InstanceAdminSettingsArgs{
AllowedEmailDomains: pulumi.StringArray{
pulumi.String("string"),
},
},
ConsumerNetwork: pulumi.String("string"),
CustomDomain: &looker.InstanceCustomDomainArgs{
Domain: pulumi.String("string"),
State: 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"),
},
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),
},
},
Name: pulumi.String("string"),
OauthConfig: &looker.InstanceOauthConfigArgs{
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
},
PlatformEdition: pulumi.String("string"),
PrivateIpEnabled: pulumi.Bool(false),
Project: pulumi.String("string"),
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),
},
})
var exampleinstanceResourceResourceFromLookerinstance = new Instance("exampleinstanceResourceResourceFromLookerinstance", InstanceArgs.builder()
.adminSettings(InstanceAdminSettingsArgs.builder()
.allowedEmailDomains("string")
.build())
.consumerNetwork("string")
.customDomain(InstanceCustomDomainArgs.builder()
.domain("string")
.state("string")
.build())
.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())
.maintenanceWindow(InstanceMaintenanceWindowArgs.builder()
.dayOfWeek("string")
.startTime(InstanceMaintenanceWindowStartTimeArgs.builder()
.hours(0)
.minutes(0)
.nanos(0)
.seconds(0)
.build())
.build())
.name("string")
.oauthConfig(InstanceOauthConfigArgs.builder()
.clientId("string")
.clientSecret("string")
.build())
.platformEdition("string")
.privateIpEnabled(false)
.project("string")
.publicIpEnabled(false)
.region("string")
.reservedRange("string")
.userMetadata(InstanceUserMetadataArgs.builder()
.additionalDeveloperUserCount(0)
.additionalStandardUserCount(0)
.additionalViewerUserCount(0)
.build())
.build());
exampleinstance_resource_resource_from_lookerinstance = gcp.looker.Instance("exampleinstanceResourceResourceFromLookerinstance",
admin_settings=gcp.looker.InstanceAdminSettingsArgs(
allowed_email_domains=["string"],
),
consumer_network="string",
custom_domain=gcp.looker.InstanceCustomDomainArgs(
domain="string",
state="string",
),
deny_maintenance_period=gcp.looker.InstanceDenyMaintenancePeriodArgs(
end_date=gcp.looker.InstanceDenyMaintenancePeriodEndDateArgs(
day=0,
month=0,
year=0,
),
start_date=gcp.looker.InstanceDenyMaintenancePeriodStartDateArgs(
day=0,
month=0,
year=0,
),
time=gcp.looker.InstanceDenyMaintenancePeriodTimeArgs(
hours=0,
minutes=0,
nanos=0,
seconds=0,
),
),
encryption_config=gcp.looker.InstanceEncryptionConfigArgs(
kms_key_name="string",
kms_key_name_version="string",
kms_key_state="string",
),
maintenance_window=gcp.looker.InstanceMaintenanceWindowArgs(
day_of_week="string",
start_time=gcp.looker.InstanceMaintenanceWindowStartTimeArgs(
hours=0,
minutes=0,
nanos=0,
seconds=0,
),
),
name="string",
oauth_config=gcp.looker.InstanceOauthConfigArgs(
client_id="string",
client_secret="string",
),
platform_edition="string",
private_ip_enabled=False,
project="string",
public_ip_enabled=False,
region="string",
reserved_range="string",
user_metadata=gcp.looker.InstanceUserMetadataArgs(
additional_developer_user_count=0,
additional_standard_user_count=0,
additional_viewer_user_count=0,
))
const exampleinstanceResourceResourceFromLookerinstance = new gcp.looker.Instance("exampleinstanceResourceResourceFromLookerinstance", {
adminSettings: {
allowedEmailDomains: ["string"],
},
consumerNetwork: "string",
customDomain: {
domain: "string",
state: "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",
},
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",
publicIpEnabled: false,
region: "string",
reservedRange: "string",
userMetadata: {
additionalDeveloperUserCount: 0,
additionalStandardUserCount: 0,
additionalViewerUserCount: 0,
},
});
type: gcp:looker:Instance
properties:
adminSettings:
allowedEmailDomains:
- string
consumerNetwork: string
customDomain:
domain: string
state: 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
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
publicIpEnabled: false
region: string
reservedRange: string
userMetadata:
additionalDeveloperUserCount: 0
additionalStandardUserCount: 0
additionalViewerUserCount: 0
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
The Instance resource accepts the following input properties:
- Admin
Settings InstanceAdmin Settings - Looker instance Admin settings. Structure is documented below.
- Consumer
Network 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.
- Custom
Domain InstanceCustom Domain - Custom domain settings for a Looker instance. Structure is documented below.
- Deny
Maintenance InstancePeriod Deny Maintenance Period - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- Encryption
Config InstanceEncryption Config - Looker instance encryption settings. Structure is documented below.
- Maintenance
Window InstanceMaintenance Window - 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. Structure is documented below.
- Name string
- The ID of the instance or a fully qualified identifier for the instance.
- Oauth
Config InstanceOauth Config - Looker Instance OAuth login settings. Structure is documented below.
- Platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- Private
Ip boolEnabled - Whether private IP is enabled on the Looker instance.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Public
Ip boolEnabled - Whether public IP is enabled on the Looker instance.
- Region string
- The name of the Looker region of the instance.
- Reserved
Range 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.
- User
Metadata InstanceUser Metadata - 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. Structure is documented below.
- Admin
Settings InstanceAdmin Settings Args - Looker instance Admin settings. Structure is documented below.
- Consumer
Network 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.
- Custom
Domain InstanceCustom Domain Args - Custom domain settings for a Looker instance. Structure is documented below.
- Deny
Maintenance InstancePeriod Deny Maintenance Period Args - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- Encryption
Config InstanceEncryption Config Args - Looker instance encryption settings. Structure is documented below.
- Maintenance
Window InstanceMaintenance Window Args - 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. Structure is documented below.
- Name string
- The ID of the instance or a fully qualified identifier for the instance.
- Oauth
Config InstanceOauth Config Args - Looker Instance OAuth login settings. Structure is documented below.
- Platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- Private
Ip boolEnabled - Whether private IP is enabled on the Looker instance.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Public
Ip boolEnabled - Whether public IP is enabled on the Looker instance.
- Region string
- The name of the Looker region of the instance.
- Reserved
Range 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.
- User
Metadata InstanceUser Metadata Args - 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. Structure is documented below.
- admin
Settings InstanceAdmin Settings - Looker instance Admin settings. Structure is documented below.
- consumer
Network 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.
- custom
Domain InstanceCustom Domain - Custom domain settings for a Looker instance. Structure is documented below.
- deny
Maintenance InstancePeriod Deny Maintenance Period - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- encryption
Config InstanceEncryption Config - Looker instance encryption settings. Structure is documented below.
- maintenance
Window InstanceMaintenance Window - 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. Structure is documented below.
- name String
- The ID of the instance or a fully qualified identifier for the instance.
- oauth
Config InstanceOauth Config - Looker Instance OAuth login settings. Structure is documented below.
- platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- private
Ip BooleanEnabled - Whether private IP is enabled on the Looker instance.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- public
Ip BooleanEnabled - Whether public IP is enabled on the Looker instance.
- region String
- The name of the Looker region of the instance.
- reserved
Range 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.
- user
Metadata InstanceUser Metadata - 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. Structure is documented below.
- admin
Settings InstanceAdmin Settings - Looker instance Admin settings. Structure is documented below.
- consumer
Network 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.
- custom
Domain InstanceCustom Domain - Custom domain settings for a Looker instance. Structure is documented below.
- deny
Maintenance InstancePeriod Deny Maintenance Period - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- encryption
Config InstanceEncryption Config - Looker instance encryption settings. Structure is documented below.
- maintenance
Window InstanceMaintenance Window - 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. Structure is documented below.
- name string
- The ID of the instance or a fully qualified identifier for the instance.
- oauth
Config InstanceOauth Config - Looker Instance OAuth login settings. Structure is documented below.
- platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- private
Ip booleanEnabled - Whether private IP is enabled on the Looker instance.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- public
Ip booleanEnabled - Whether public IP is enabled on the Looker instance.
- region string
- The name of the Looker region of the instance.
- reserved
Range 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.
- user
Metadata InstanceUser Metadata - 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. Structure is documented below.
- admin_
settings InstanceAdmin Settings Args - Looker instance Admin settings. Structure is documented below.
- 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 InstanceCustom Domain Args - Custom domain settings for a Looker instance. Structure is documented below.
- deny_
maintenance_ Instanceperiod Deny Maintenance Period Args - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- encryption_
config InstanceEncryption Config Args - Looker instance encryption settings. Structure is documented below.
- maintenance_
window InstanceMaintenance Window Args - 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. Structure is documented below.
- name str
- The ID of the instance or a fully qualified identifier for the instance.
- oauth_
config InstanceOauth Config Args - Looker Instance OAuth login settings. Structure is documented below.
- platform_
edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- private_
ip_ boolenabled - Whether private IP is enabled on the Looker instance.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- public_
ip_ boolenabled - Whether public IP is enabled on the Looker instance.
- region 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 InstanceUser Metadata Args - 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. Structure is documented below.
- admin
Settings Property Map - Looker instance Admin settings. Structure is documented below.
- consumer
Network 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.
- custom
Domain Property Map - Custom domain settings for a Looker instance. Structure is documented below.
- deny
Maintenance Property MapPeriod - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- encryption
Config Property Map - Looker instance encryption settings. Structure is documented below.
- maintenance
Window 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. Structure is documented below.
- name String
- The ID of the instance or a fully qualified identifier for the instance.
- oauth
Config Property Map - Looker Instance OAuth login settings. Structure is documented below.
- platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- private
Ip BooleanEnabled - Whether private IP is enabled on the Looker instance.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- public
Ip BooleanEnabled - Whether public IP is enabled on the Looker instance.
- region String
- The name of the Looker region of the instance.
- reserved
Range 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.
- user
Metadata 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. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Create
Time string - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- Egress
Public stringIp - Public Egress IP (IPv4).
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress
Private stringIp - Private Ingress IP (IPv4).
- Ingress
Public stringIp - Public Ingress IP (IPv4).
- Looker
Uri string - Looker instance URI which can be used to access the Looker Instance UI.
- Looker
Version string - The Looker version that the instance is using.
- Update
Time string - The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- Create
Time string - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- Egress
Public stringIp - Public Egress IP (IPv4).
- Id string
- The provider-assigned unique ID for this managed resource.
- Ingress
Private stringIp - Private Ingress IP (IPv4).
- Ingress
Public stringIp - Public Ingress IP (IPv4).
- Looker
Uri string - Looker instance URI which can be used to access the Looker Instance UI.
- Looker
Version string - The Looker version that the instance is using.
- Update
Time string - The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- create
Time String - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- egress
Public StringIp - Public Egress IP (IPv4).
- id String
- The provider-assigned unique ID for this managed resource.
- ingress
Private StringIp - Private Ingress IP (IPv4).
- ingress
Public StringIp - Public Ingress IP (IPv4).
- looker
Uri String - Looker instance URI which can be used to access the Looker Instance UI.
- looker
Version String - The Looker version that the instance is using.
- update
Time String - The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- create
Time string - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- egress
Public stringIp - Public Egress IP (IPv4).
- id string
- The provider-assigned unique ID for this managed resource.
- ingress
Private stringIp - Private Ingress IP (IPv4).
- ingress
Public stringIp - Public Ingress IP (IPv4).
- looker
Uri string - Looker instance URI which can be used to access the Looker Instance UI.
- looker
Version string - The Looker version that the instance is using.
- update
Time 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_ strip - Public Egress IP (IPv4).
- id str
- The provider-assigned unique ID for this managed resource.
- ingress_
private_ strip - Private Ingress IP (IPv4).
- ingress_
public_ strip - 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.
- create
Time String - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- egress
Public StringIp - Public Egress IP (IPv4).
- id String
- The provider-assigned unique ID for this managed resource.
- ingress
Private StringIp - Private Ingress IP (IPv4).
- ingress
Public StringIp - Public Ingress IP (IPv4).
- looker
Uri String - Looker instance URI which can be used to access the Looker Instance UI.
- looker
Version String - The Looker version that the instance is using.
- update
Time 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,
deny_maintenance_period: Optional[InstanceDenyMaintenancePeriodArgs] = None,
egress_public_ip: Optional[str] = None,
encryption_config: Optional[InstanceEncryptionConfigArgs] = 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,
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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Admin
Settings InstanceAdmin Settings - Looker instance Admin settings. Structure is documented below.
- Consumer
Network 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.
- Create
Time string - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- Custom
Domain InstanceCustom Domain - Custom domain settings for a Looker instance. Structure is documented below.
- Deny
Maintenance InstancePeriod Deny Maintenance Period - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- Egress
Public stringIp - Public Egress IP (IPv4).
- Encryption
Config InstanceEncryption Config - Looker instance encryption settings. Structure is documented below.
- Ingress
Private stringIp - Private Ingress IP (IPv4).
- Ingress
Public stringIp - Public Ingress IP (IPv4).
- Looker
Uri string - Looker instance URI which can be used to access the Looker Instance UI.
- Looker
Version string - The Looker version that the instance is using.
- Maintenance
Window InstanceMaintenance Window - 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. Structure is documented below.
- Name string
- The ID of the instance or a fully qualified identifier for the instance.
- Oauth
Config InstanceOauth Config - Looker Instance OAuth login settings. Structure is documented below.
- Platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- Private
Ip boolEnabled - Whether private IP is enabled on the Looker instance.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Public
Ip boolEnabled - Whether public IP is enabled on the Looker instance.
- Region string
- The name of the Looker region of the instance.
- Reserved
Range 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.
- Update
Time string - The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- User
Metadata InstanceUser Metadata - 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. Structure is documented below.
- Admin
Settings InstanceAdmin Settings Args - Looker instance Admin settings. Structure is documented below.
- Consumer
Network 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.
- Create
Time string - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- Custom
Domain InstanceCustom Domain Args - Custom domain settings for a Looker instance. Structure is documented below.
- Deny
Maintenance InstancePeriod Deny Maintenance Period Args - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- Egress
Public stringIp - Public Egress IP (IPv4).
- Encryption
Config InstanceEncryption Config Args - Looker instance encryption settings. Structure is documented below.
- Ingress
Private stringIp - Private Ingress IP (IPv4).
- Ingress
Public stringIp - Public Ingress IP (IPv4).
- Looker
Uri string - Looker instance URI which can be used to access the Looker Instance UI.
- Looker
Version string - The Looker version that the instance is using.
- Maintenance
Window InstanceMaintenance Window Args - 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. Structure is documented below.
- Name string
- The ID of the instance or a fully qualified identifier for the instance.
- Oauth
Config InstanceOauth Config Args - Looker Instance OAuth login settings. Structure is documented below.
- Platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- Private
Ip boolEnabled - Whether private IP is enabled on the Looker instance.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Public
Ip boolEnabled - Whether public IP is enabled on the Looker instance.
- Region string
- The name of the Looker region of the instance.
- Reserved
Range 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.
- Update
Time string - The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- User
Metadata InstanceUser Metadata Args - 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. Structure is documented below.
- admin
Settings InstanceAdmin Settings - Looker instance Admin settings. Structure is documented below.
- consumer
Network 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.
- create
Time String - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- custom
Domain InstanceCustom Domain - Custom domain settings for a Looker instance. Structure is documented below.
- deny
Maintenance InstancePeriod Deny Maintenance Period - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- egress
Public StringIp - Public Egress IP (IPv4).
- encryption
Config InstanceEncryption Config - Looker instance encryption settings. Structure is documented below.
- ingress
Private StringIp - Private Ingress IP (IPv4).
- ingress
Public StringIp - Public Ingress IP (IPv4).
- looker
Uri String - Looker instance URI which can be used to access the Looker Instance UI.
- looker
Version String - The Looker version that the instance is using.
- maintenance
Window InstanceMaintenance Window - 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. Structure is documented below.
- name String
- The ID of the instance or a fully qualified identifier for the instance.
- oauth
Config InstanceOauth Config - Looker Instance OAuth login settings. Structure is documented below.
- platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- private
Ip BooleanEnabled - Whether private IP is enabled on the Looker instance.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- public
Ip BooleanEnabled - Whether public IP is enabled on the Looker instance.
- region String
- The name of the Looker region of the instance.
- reserved
Range 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.
- update
Time String - The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- user
Metadata InstanceUser Metadata - 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. Structure is documented below.
- admin
Settings InstanceAdmin Settings - Looker instance Admin settings. Structure is documented below.
- consumer
Network 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.
- create
Time string - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- custom
Domain InstanceCustom Domain - Custom domain settings for a Looker instance. Structure is documented below.
- deny
Maintenance InstancePeriod Deny Maintenance Period - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- egress
Public stringIp - Public Egress IP (IPv4).
- encryption
Config InstanceEncryption Config - Looker instance encryption settings. Structure is documented below.
- ingress
Private stringIp - Private Ingress IP (IPv4).
- ingress
Public stringIp - Public Ingress IP (IPv4).
- looker
Uri string - Looker instance URI which can be used to access the Looker Instance UI.
- looker
Version string - The Looker version that the instance is using.
- maintenance
Window InstanceMaintenance Window - 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. Structure is documented below.
- name string
- The ID of the instance or a fully qualified identifier for the instance.
- oauth
Config InstanceOauth Config - Looker Instance OAuth login settings. Structure is documented below.
- platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- private
Ip booleanEnabled - Whether private IP is enabled on the Looker instance.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- public
Ip booleanEnabled - Whether public IP is enabled on the Looker instance.
- region string
- The name of the Looker region of the instance.
- reserved
Range 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.
- update
Time string - The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- user
Metadata InstanceUser Metadata - 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. Structure is documented below.
- admin_
settings InstanceAdmin Settings Args - Looker instance Admin settings. Structure is documented below.
- 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 InstanceCustom Domain Args - Custom domain settings for a Looker instance. Structure is documented below.
- deny_
maintenance_ Instanceperiod Deny Maintenance Period Args - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- egress_
public_ strip - Public Egress IP (IPv4).
- encryption_
config InstanceEncryption Config Args - Looker instance encryption settings. Structure is documented below.
- ingress_
private_ strip - Private Ingress IP (IPv4).
- ingress_
public_ strip - 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 InstanceMaintenance Window Args - 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. Structure is documented below.
- name str
- The ID of the instance or a fully qualified identifier for the instance.
- oauth_
config InstanceOauth Config Args - Looker Instance OAuth login settings. Structure is documented below.
- platform_
edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- private_
ip_ boolenabled - Whether private IP is enabled on the Looker instance.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- public_
ip_ boolenabled - Whether public IP is enabled on the Looker instance.
- region 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 InstanceUser Metadata Args - 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. Structure is documented below.
- admin
Settings Property Map - Looker instance Admin settings. Structure is documented below.
- consumer
Network 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.
- create
Time String - The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- custom
Domain Property Map - Custom domain settings for a Looker instance. Structure is documented below.
- deny
Maintenance Property MapPeriod - Maintenance denial period for this instance. You must allow at least 14 days of maintenance availability between any two deny maintenance periods. Structure is documented below.
- egress
Public StringIp - Public Egress IP (IPv4).
- encryption
Config Property Map - Looker instance encryption settings. Structure is documented below.
- ingress
Private StringIp - Private Ingress IP (IPv4).
- ingress
Public StringIp - Public Ingress IP (IPv4).
- looker
Uri String - Looker instance URI which can be used to access the Looker Instance UI.
- looker
Version String - The Looker version that the instance is using.
- maintenance
Window 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. Structure is documented below.
- name String
- The ID of the instance or a fully qualified identifier for the instance.
- oauth
Config Property Map - Looker Instance OAuth login settings. Structure is documented below.
- platform
Edition 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
Default value is
LOOKER_CORE_TRIAL
. Possible values are:LOOKER_CORE_TRIAL
,LOOKER_CORE_STANDARD
,LOOKER_CORE_STANDARD_ANNUAL
,LOOKER_CORE_ENTERPRISE_ANNUAL
,LOOKER_CORE_EMBED_ANNUAL
.
- private
Ip BooleanEnabled - Whether private IP is enabled on the Looker instance.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- public
Ip BooleanEnabled - Whether public IP is enabled on the Looker instance.
- region String
- The name of the Looker region of the instance.
- reserved
Range 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.
- update
Time String - The time the instance was updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
- user
Metadata 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. Structure is documented below.
Supporting Types
InstanceAdminSettings, InstanceAdminSettingsArgs
- Allowed
Email List<string>Domains
- Allowed
Email []stringDomains
- allowed
Email List<String>Domains
- allowed
Email string[]Domains
- allowed_
email_ Sequence[str]domains
- allowed
Email List<String>Domains
InstanceCustomDomain, InstanceCustomDomainArgs
InstanceDenyMaintenancePeriod, InstanceDenyMaintenancePeriodArgs
- End
Date InstanceDeny Maintenance Period End Date - Required. Start date of the deny maintenance period Structure is documented below.
- Start
Date InstanceDeny Maintenance Period Start Date - Required. Start date of the deny maintenance period Structure is documented below.
- Time
Instance
Deny Maintenance Period Time - Required. Start time of the window in UTC time. Structure is documented below.
- End
Date InstanceDeny Maintenance Period End Date - Required. Start date of the deny maintenance period Structure is documented below.
- Start
Date InstanceDeny Maintenance Period Start Date - Required. Start date of the deny maintenance period Structure is documented below.
- Time
Instance
Deny Maintenance Period Time - Required. Start time of the window in UTC time. Structure is documented below.
- end
Date InstanceDeny Maintenance Period End Date - Required. Start date of the deny maintenance period Structure is documented below.
- start
Date InstanceDeny Maintenance Period Start Date - Required. Start date of the deny maintenance period Structure is documented below.
- time
Instance
Deny Maintenance Period Time - Required. Start time of the window in UTC time. Structure is documented below.
- end
Date InstanceDeny Maintenance Period End Date - Required. Start date of the deny maintenance period Structure is documented below.
- start
Date InstanceDeny Maintenance Period Start Date - Required. Start date of the deny maintenance period Structure is documented below.
- time
Instance
Deny Maintenance Period Time - Required. Start time of the window in UTC time. Structure is documented below.
- end_
date InstanceDeny Maintenance Period End Date - Required. Start date of the deny maintenance period Structure is documented below.
- start_
date InstanceDeny Maintenance Period Start Date - Required. Start date of the deny maintenance period Structure is documented below.
- time
Instance
Deny Maintenance Period Time - Required. Start time of the window in UTC time. Structure is documented below.
- end
Date Property Map - Required. Start date of the deny maintenance period Structure is documented below.
- start
Date Property Map - Required. Start date of the deny maintenance period Structure is documented below.
- time 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
InstanceEncryptionConfig, InstanceEncryptionConfigArgs
- Kms
Key stringName - Name of the customer managed encryption key (CMEK) in KMS.
- Kms
Key stringName Version - (Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
- Kms
Key stringState - (Output) Status of the customer managed encryption key (CMEK) in KMS.
- Kms
Key stringName - Name of the customer managed encryption key (CMEK) in KMS.
- Kms
Key stringName Version - (Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
- Kms
Key stringState - (Output) Status of the customer managed encryption key (CMEK) in KMS.
- kms
Key StringName - Name of the customer managed encryption key (CMEK) in KMS.
- kms
Key StringName Version - (Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
- kms
Key StringState - (Output) Status of the customer managed encryption key (CMEK) in KMS.
- kms
Key stringName - Name of the customer managed encryption key (CMEK) in KMS.
- kms
Key stringName Version - (Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
- kms
Key stringState - (Output) Status of the customer managed encryption key (CMEK) in KMS.
- kms_
key_ strname - Name of the customer managed encryption key (CMEK) in KMS.
- kms_
key_ strname_ version - (Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
- kms_
key_ strstate - (Output) Status of the customer managed encryption key (CMEK) in KMS.
- kms
Key StringName - Name of the customer managed encryption key (CMEK) in KMS.
- kms
Key StringName Version - (Output) Full name and version of the CMEK key currently in use to encrypt Looker data.
- kms
Key StringState - (Output) Status of the customer managed encryption key (CMEK) in KMS.
InstanceMaintenanceWindow, InstanceMaintenanceWindowArgs
- Day
Of stringWeek - 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 InstanceMaintenance Window Start Time - Required. Start time of the window in UTC time. Structure is documented below.
- Day
Of stringWeek - 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 InstanceMaintenance Window Start Time - Required. Start time of the window in UTC time. Structure is documented below.
- day
Of StringWeek - 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 InstanceMaintenance Window Start Time - Required. Start time of the window in UTC time. Structure is documented below.
- day
Of stringWeek - 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 InstanceMaintenance Window Start Time - Required. Start time of the window in UTC time. Structure is documented below.
- day_
of_ strweek - 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 InstanceMaintenance Window Start Time - Required. Start time of the window in UTC time. Structure is documented below.
- day
Of StringWeek - 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 Property Map - Required. Start time of the window in UTC time. Structure is documented below.
InstanceMaintenanceWindowStartTime, InstanceMaintenanceWindowStartTimeArgs
InstanceOauthConfig, InstanceOauthConfigArgs
- Client
Id string - The client ID for the Oauth config.
- Client
Secret string - The client secret for the Oauth config.
- Client
Id string - The client ID for the Oauth config.
- Client
Secret string - The client secret for the Oauth config.
- client
Id String - The client ID for the Oauth config.
- client
Secret String - The client secret for the Oauth config.
- client
Id string - The client ID for the Oauth config.
- client
Secret string - The client secret for the Oauth config.
- client_
id str - The client ID for the Oauth config.
- client_
secret str - The client secret for the Oauth config.
- client
Id String - The client ID for the Oauth config.
- client
Secret String - The client secret for the Oauth config.
InstanceUserMetadata, InstanceUserMetadataArgs
- Additional
Developer intUser Count - Number of additional Developer Users to allocate to the Looker Instance.
- Additional
Standard intUser Count - Number of additional Standard Users to allocate to the Looker Instance.
- Additional
Viewer intUser Count - Number of additional Viewer Users to allocate to the Looker Instance.
- Additional
Developer intUser Count - Number of additional Developer Users to allocate to the Looker Instance.
- Additional
Standard intUser Count - Number of additional Standard Users to allocate to the Looker Instance.
- Additional
Viewer intUser Count - Number of additional Viewer Users to allocate to the Looker Instance.
- additional
Developer IntegerUser Count - Number of additional Developer Users to allocate to the Looker Instance.
- additional
Standard IntegerUser Count - Number of additional Standard Users to allocate to the Looker Instance.
- additional
Viewer IntegerUser Count - Number of additional Viewer Users to allocate to the Looker Instance.
- additional
Developer numberUser Count - Number of additional Developer Users to allocate to the Looker Instance.
- additional
Standard numberUser Count - Number of additional Standard Users to allocate to the Looker Instance.
- additional
Viewer numberUser Count - Number of additional Viewer Users to allocate to the Looker Instance.
- additional_
developer_ intuser_ count - Number of additional Developer Users to allocate to the Looker Instance.
- additional_
standard_ intuser_ count - Number of additional Standard Users to allocate to the Looker Instance.
- additional_
viewer_ intuser_ count - Number of additional Viewer Users to allocate to the Looker Instance.
- additional
Developer NumberUser Count - Number of additional Developer Users to allocate to the Looker Instance.
- additional
Standard NumberUser Count - Number of additional Standard Users to allocate to the Looker Instance.
- additional
Viewer NumberUser Count - 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}}
$ pulumi import gcp:looker/instance:Instance default {{project}}/{{region}}/{{name}}
$ pulumi import gcp:looker/instance:Instance default {{region}}/{{name}}
$ pulumi import gcp:looker/instance:Instance default {{name}}
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.