1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataplex
  5. Zone
Google Cloud v8.14.0 published on Wednesday, Jan 15, 2025 by Pulumi

gcp.dataplex.Zone

Explore with Pulumi AI

The Dataplex Zone resource

Example Usage

Basic_zone

A basic example of a dataplex zone

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

const basic = new gcp.dataplex.Lake("basic", {
    location: "us-west1",
    name: "lake",
    description: "Lake for DCL",
    displayName: "Lake for DCL",
    project: "my-project-name",
    labels: {
        "my-lake": "exists",
    },
});
const primary = new gcp.dataplex.Zone("primary", {
    discoverySpec: {
        enabled: false,
    },
    lake: basic.name,
    location: "us-west1",
    name: "zone",
    resourceSpec: {
        locationType: "MULTI_REGION",
    },
    type: "RAW",
    description: "Zone for DCL",
    displayName: "Zone for DCL",
    project: "my-project-name",
    labels: {},
});
Copy
import pulumi
import pulumi_gcp as gcp

basic = gcp.dataplex.Lake("basic",
    location="us-west1",
    name="lake",
    description="Lake for DCL",
    display_name="Lake for DCL",
    project="my-project-name",
    labels={
        "my-lake": "exists",
    })
primary = gcp.dataplex.Zone("primary",
    discovery_spec={
        "enabled": False,
    },
    lake=basic.name,
    location="us-west1",
    name="zone",
    resource_spec={
        "location_type": "MULTI_REGION",
    },
    type="RAW",
    description="Zone for DCL",
    display_name="Zone for DCL",
    project="my-project-name",
    labels={})
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basic, err := dataplex.NewLake(ctx, "basic", &dataplex.LakeArgs{
			Location:    pulumi.String("us-west1"),
			Name:        pulumi.String("lake"),
			Description: pulumi.String("Lake for DCL"),
			DisplayName: pulumi.String("Lake for DCL"),
			Project:     pulumi.String("my-project-name"),
			Labels: pulumi.StringMap{
				"my-lake": pulumi.String("exists"),
			},
		})
		if err != nil {
			return err
		}
		_, err = dataplex.NewZone(ctx, "primary", &dataplex.ZoneArgs{
			DiscoverySpec: &dataplex.ZoneDiscoverySpecArgs{
				Enabled: pulumi.Bool(false),
			},
			Lake:     basic.Name,
			Location: pulumi.String("us-west1"),
			Name:     pulumi.String("zone"),
			ResourceSpec: &dataplex.ZoneResourceSpecArgs{
				LocationType: pulumi.String("MULTI_REGION"),
			},
			Type:        pulumi.String("RAW"),
			Description: pulumi.String("Zone for DCL"),
			DisplayName: pulumi.String("Zone for DCL"),
			Project:     pulumi.String("my-project-name"),
			Labels:      pulumi.StringMap{},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var basic = new Gcp.DataPlex.Lake("basic", new()
    {
        Location = "us-west1",
        Name = "lake",
        Description = "Lake for DCL",
        DisplayName = "Lake for DCL",
        Project = "my-project-name",
        Labels = 
        {
            { "my-lake", "exists" },
        },
    });

    var primary = new Gcp.DataPlex.Zone("primary", new()
    {
        DiscoverySpec = new Gcp.DataPlex.Inputs.ZoneDiscoverySpecArgs
        {
            Enabled = false,
        },
        Lake = basic.Name,
        Location = "us-west1",
        Name = "zone",
        ResourceSpec = new Gcp.DataPlex.Inputs.ZoneResourceSpecArgs
        {
            LocationType = "MULTI_REGION",
        },
        Type = "RAW",
        Description = "Zone for DCL",
        DisplayName = "Zone for DCL",
        Project = "my-project-name",
        Labels = null,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataplex.Lake;
import com.pulumi.gcp.dataplex.LakeArgs;
import com.pulumi.gcp.dataplex.Zone;
import com.pulumi.gcp.dataplex.ZoneArgs;
import com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecArgs;
import com.pulumi.gcp.dataplex.inputs.ZoneResourceSpecArgs;
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 basic = new Lake("basic", LakeArgs.builder()
            .location("us-west1")
            .name("lake")
            .description("Lake for DCL")
            .displayName("Lake for DCL")
            .project("my-project-name")
            .labels(Map.of("my-lake", "exists"))
            .build());

        var primary = new Zone("primary", ZoneArgs.builder()
            .discoverySpec(ZoneDiscoverySpecArgs.builder()
                .enabled(false)
                .build())
            .lake(basic.name())
            .location("us-west1")
            .name("zone")
            .resourceSpec(ZoneResourceSpecArgs.builder()
                .locationType("MULTI_REGION")
                .build())
            .type("RAW")
            .description("Zone for DCL")
            .displayName("Zone for DCL")
            .project("my-project-name")
            .labels()
            .build());

    }
}
Copy
resources:
  primary:
    type: gcp:dataplex:Zone
    properties:
      discoverySpec:
        enabled: false
      lake: ${basic.name}
      location: us-west1
      name: zone
      resourceSpec:
        locationType: MULTI_REGION
      type: RAW
      description: Zone for DCL
      displayName: Zone for DCL
      project: my-project-name
      labels: {}
  basic:
    type: gcp:dataplex:Lake
    properties:
      location: us-west1
      name: lake
      description: Lake for DCL
      displayName: Lake for DCL
      project: my-project-name
      labels:
        my-lake: exists
Copy

Create Zone Resource

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

Constructor syntax

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

@overload
def Zone(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         discovery_spec: Optional[ZoneDiscoverySpecArgs] = None,
         lake: Optional[str] = None,
         location: Optional[str] = None,
         resource_spec: Optional[ZoneResourceSpecArgs] = None,
         type: Optional[str] = None,
         description: Optional[str] = None,
         display_name: Optional[str] = None,
         labels: Optional[Mapping[str, str]] = None,
         name: Optional[str] = None,
         project: Optional[str] = None)
func NewZone(ctx *Context, name string, args ZoneArgs, opts ...ResourceOption) (*Zone, error)
public Zone(string name, ZoneArgs args, CustomResourceOptions? opts = null)
public Zone(String name, ZoneArgs args)
public Zone(String name, ZoneArgs args, CustomResourceOptions options)
type: gcp:dataplex:Zone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ZoneArgs
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 zoneResource = new Gcp.DataPlex.Zone("zoneResource", new()
{
    DiscoverySpec = new Gcp.DataPlex.Inputs.ZoneDiscoverySpecArgs
    {
        Enabled = false,
        CsvOptions = new Gcp.DataPlex.Inputs.ZoneDiscoverySpecCsvOptionsArgs
        {
            Delimiter = "string",
            DisableTypeInference = false,
            Encoding = "string",
            HeaderRows = 0,
        },
        ExcludePatterns = new[]
        {
            "string",
        },
        IncludePatterns = new[]
        {
            "string",
        },
        JsonOptions = new Gcp.DataPlex.Inputs.ZoneDiscoverySpecJsonOptionsArgs
        {
            DisableTypeInference = false,
            Encoding = "string",
        },
        Schedule = "string",
    },
    Lake = "string",
    Location = "string",
    ResourceSpec = new Gcp.DataPlex.Inputs.ZoneResourceSpecArgs
    {
        LocationType = "string",
    },
    Type = "string",
    Description = "string",
    DisplayName = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Name = "string",
    Project = "string",
});
Copy
example, err := dataplex.NewZone(ctx, "zoneResource", &dataplex.ZoneArgs{
	DiscoverySpec: &dataplex.ZoneDiscoverySpecArgs{
		Enabled: pulumi.Bool(false),
		CsvOptions: &dataplex.ZoneDiscoverySpecCsvOptionsArgs{
			Delimiter:            pulumi.String("string"),
			DisableTypeInference: pulumi.Bool(false),
			Encoding:             pulumi.String("string"),
			HeaderRows:           pulumi.Int(0),
		},
		ExcludePatterns: pulumi.StringArray{
			pulumi.String("string"),
		},
		IncludePatterns: pulumi.StringArray{
			pulumi.String("string"),
		},
		JsonOptions: &dataplex.ZoneDiscoverySpecJsonOptionsArgs{
			DisableTypeInference: pulumi.Bool(false),
			Encoding:             pulumi.String("string"),
		},
		Schedule: pulumi.String("string"),
	},
	Lake:     pulumi.String("string"),
	Location: pulumi.String("string"),
	ResourceSpec: &dataplex.ZoneResourceSpecArgs{
		LocationType: pulumi.String("string"),
	},
	Type:        pulumi.String("string"),
	Description: pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name:    pulumi.String("string"),
	Project: pulumi.String("string"),
})
Copy
var zoneResource = new Zone("zoneResource", ZoneArgs.builder()
    .discoverySpec(ZoneDiscoverySpecArgs.builder()
        .enabled(false)
        .csvOptions(ZoneDiscoverySpecCsvOptionsArgs.builder()
            .delimiter("string")
            .disableTypeInference(false)
            .encoding("string")
            .headerRows(0)
            .build())
        .excludePatterns("string")
        .includePatterns("string")
        .jsonOptions(ZoneDiscoverySpecJsonOptionsArgs.builder()
            .disableTypeInference(false)
            .encoding("string")
            .build())
        .schedule("string")
        .build())
    .lake("string")
    .location("string")
    .resourceSpec(ZoneResourceSpecArgs.builder()
        .locationType("string")
        .build())
    .type("string")
    .description("string")
    .displayName("string")
    .labels(Map.of("string", "string"))
    .name("string")
    .project("string")
    .build());
Copy
zone_resource = gcp.dataplex.Zone("zoneResource",
    discovery_spec={
        "enabled": False,
        "csv_options": {
            "delimiter": "string",
            "disable_type_inference": False,
            "encoding": "string",
            "header_rows": 0,
        },
        "exclude_patterns": ["string"],
        "include_patterns": ["string"],
        "json_options": {
            "disable_type_inference": False,
            "encoding": "string",
        },
        "schedule": "string",
    },
    lake="string",
    location="string",
    resource_spec={
        "location_type": "string",
    },
    type="string",
    description="string",
    display_name="string",
    labels={
        "string": "string",
    },
    name="string",
    project="string")
Copy
const zoneResource = new gcp.dataplex.Zone("zoneResource", {
    discoverySpec: {
        enabled: false,
        csvOptions: {
            delimiter: "string",
            disableTypeInference: false,
            encoding: "string",
            headerRows: 0,
        },
        excludePatterns: ["string"],
        includePatterns: ["string"],
        jsonOptions: {
            disableTypeInference: false,
            encoding: "string",
        },
        schedule: "string",
    },
    lake: "string",
    location: "string",
    resourceSpec: {
        locationType: "string",
    },
    type: "string",
    description: "string",
    displayName: "string",
    labels: {
        string: "string",
    },
    name: "string",
    project: "string",
});
Copy
type: gcp:dataplex:Zone
properties:
    description: string
    discoverySpec:
        csvOptions:
            delimiter: string
            disableTypeInference: false
            encoding: string
            headerRows: 0
        enabled: false
        excludePatterns:
            - string
        includePatterns:
            - string
        jsonOptions:
            disableTypeInference: false
            encoding: string
        schedule: string
    displayName: string
    labels:
        string: string
    lake: string
    location: string
    name: string
    project: string
    resourceSpec:
        locationType: string
    type: string
Copy

Zone Resource Properties

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

Inputs

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

The Zone resource accepts the following input properties:

DiscoverySpec This property is required. ZoneDiscoverySpec
Required. Specification of the discovery feature applied to data in this zone.
Lake
This property is required.
Changes to this property will trigger replacement.
string
The lake for the resource
Location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
ResourceSpec
This property is required.
Changes to this property will trigger replacement.
ZoneResourceSpec
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
Type
This property is required.
Changes to this property will trigger replacement.
string
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
Description string
Optional. Description of the zone.
DisplayName string
Optional. User friendly display name.
Labels Dictionary<string, string>
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Name string
The name of the zone.
Project Changes to this property will trigger replacement. string
The project for the resource
DiscoverySpec This property is required. ZoneDiscoverySpecArgs
Required. Specification of the discovery feature applied to data in this zone.
Lake
This property is required.
Changes to this property will trigger replacement.
string
The lake for the resource
Location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
ResourceSpec
This property is required.
Changes to this property will trigger replacement.
ZoneResourceSpecArgs
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
Type
This property is required.
Changes to this property will trigger replacement.
string
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
Description string
Optional. Description of the zone.
DisplayName string
Optional. User friendly display name.
Labels map[string]string
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Name string
The name of the zone.
Project Changes to this property will trigger replacement. string
The project for the resource
discoverySpec This property is required. ZoneDiscoverySpec
Required. Specification of the discovery feature applied to data in this zone.
lake
This property is required.
Changes to this property will trigger replacement.
String
The lake for the resource
location
This property is required.
Changes to this property will trigger replacement.
String
The location for the resource
resourceSpec
This property is required.
Changes to this property will trigger replacement.
ZoneResourceSpec
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
type
This property is required.
Changes to this property will trigger replacement.
String
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
description String
Optional. Description of the zone.
displayName String
Optional. User friendly display name.
labels Map<String,String>
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
name String
The name of the zone.
project Changes to this property will trigger replacement. String
The project for the resource
discoverySpec This property is required. ZoneDiscoverySpec
Required. Specification of the discovery feature applied to data in this zone.
lake
This property is required.
Changes to this property will trigger replacement.
string
The lake for the resource
location
This property is required.
Changes to this property will trigger replacement.
string
The location for the resource
resourceSpec
This property is required.
Changes to this property will trigger replacement.
ZoneResourceSpec
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
type
This property is required.
Changes to this property will trigger replacement.
string
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
description string
Optional. Description of the zone.
displayName string
Optional. User friendly display name.
labels {[key: string]: string}
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
name string
The name of the zone.
project Changes to this property will trigger replacement. string
The project for the resource
discovery_spec This property is required. ZoneDiscoverySpecArgs
Required. Specification of the discovery feature applied to data in this zone.
lake
This property is required.
Changes to this property will trigger replacement.
str
The lake for the resource
location
This property is required.
Changes to this property will trigger replacement.
str
The location for the resource
resource_spec
This property is required.
Changes to this property will trigger replacement.
ZoneResourceSpecArgs
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
type
This property is required.
Changes to this property will trigger replacement.
str
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
description str
Optional. Description of the zone.
display_name str
Optional. User friendly display name.
labels Mapping[str, str]
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
name str
The name of the zone.
project Changes to this property will trigger replacement. str
The project for the resource
discoverySpec This property is required. Property Map
Required. Specification of the discovery feature applied to data in this zone.
lake
This property is required.
Changes to this property will trigger replacement.
String
The lake for the resource
location
This property is required.
Changes to this property will trigger replacement.
String
The location for the resource
resourceSpec
This property is required.
Changes to this property will trigger replacement.
Property Map
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
type
This property is required.
Changes to this property will trigger replacement.
String
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
description String
Optional. Description of the zone.
displayName String
Optional. User friendly display name.
labels Map<String>
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
name String
The name of the zone.
project Changes to this property will trigger replacement. String
The project for the resource

Outputs

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

AssetStatuses List<ZoneAssetStatus>
Output only. Aggregated status of the underlying assets of the zone.
CreateTime string
Output only. The time when the zone was created.
EffectiveLabels Dictionary<string, string>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
Id string
The provider-assigned unique ID for this managed resource.
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
State string
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
Uid string
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
UpdateTime string
Output only. The time when the zone was last updated.
AssetStatuses []ZoneAssetStatus
Output only. Aggregated status of the underlying assets of the zone.
CreateTime string
Output only. The time when the zone was created.
EffectiveLabels map[string]string
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
Id string
The provider-assigned unique ID for this managed resource.
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
State string
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
Uid string
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
UpdateTime string
Output only. The time when the zone was last updated.
assetStatuses List<ZoneAssetStatus>
Output only. Aggregated status of the underlying assets of the zone.
createTime String
Output only. The time when the zone was created.
effectiveLabels Map<String,String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
id String
The provider-assigned unique ID for this managed resource.
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
state String
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
uid String
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
updateTime String
Output only. The time when the zone was last updated.
assetStatuses ZoneAssetStatus[]
Output only. Aggregated status of the underlying assets of the zone.
createTime string
Output only. The time when the zone was created.
effectiveLabels {[key: string]: string}
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
id string
The provider-assigned unique ID for this managed resource.
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
state string
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
uid string
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
updateTime string
Output only. The time when the zone was last updated.
asset_statuses Sequence[ZoneAssetStatus]
Output only. Aggregated status of the underlying assets of the zone.
create_time str
Output only. The time when the zone was created.
effective_labels Mapping[str, str]
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
id str
The provider-assigned unique ID for this managed resource.
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
state str
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
uid str
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
update_time str
Output only. The time when the zone was last updated.
assetStatuses List<Property Map>
Output only. Aggregated status of the underlying assets of the zone.
createTime String
Output only. The time when the zone was created.
effectiveLabels Map<String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
id String
The provider-assigned unique ID for this managed resource.
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
state String
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
uid String
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
updateTime String
Output only. The time when the zone was last updated.

Look up Existing Zone Resource

Get an existing Zone 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?: ZoneState, opts?: CustomResourceOptions): Zone
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        asset_statuses: Optional[Sequence[ZoneAssetStatusArgs]] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        discovery_spec: Optional[ZoneDiscoverySpecArgs] = None,
        display_name: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        labels: Optional[Mapping[str, str]] = None,
        lake: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        resource_spec: Optional[ZoneResourceSpecArgs] = None,
        state: Optional[str] = None,
        type: Optional[str] = None,
        uid: Optional[str] = None,
        update_time: Optional[str] = None) -> Zone
func GetZone(ctx *Context, name string, id IDInput, state *ZoneState, opts ...ResourceOption) (*Zone, error)
public static Zone Get(string name, Input<string> id, ZoneState? state, CustomResourceOptions? opts = null)
public static Zone get(String name, Output<String> id, ZoneState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AssetStatuses List<ZoneAssetStatus>
Output only. Aggregated status of the underlying assets of the zone.
CreateTime string
Output only. The time when the zone was created.
Description string
Optional. Description of the zone.
DiscoverySpec ZoneDiscoverySpec
Required. Specification of the discovery feature applied to data in this zone.
DisplayName string
Optional. User friendly display name.
EffectiveLabels Dictionary<string, string>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
Labels Dictionary<string, string>
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Lake Changes to this property will trigger replacement. string
The lake for the resource
Location Changes to this property will trigger replacement. string
The location for the resource
Name string
The name of the zone.
Project Changes to this property will trigger replacement. string
The project for the resource
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
ResourceSpec Changes to this property will trigger replacement. ZoneResourceSpec
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
State string
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
Type Changes to this property will trigger replacement. string
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
Uid string
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
UpdateTime string
Output only. The time when the zone was last updated.
AssetStatuses []ZoneAssetStatusArgs
Output only. Aggregated status of the underlying assets of the zone.
CreateTime string
Output only. The time when the zone was created.
Description string
Optional. Description of the zone.
DiscoverySpec ZoneDiscoverySpecArgs
Required. Specification of the discovery feature applied to data in this zone.
DisplayName string
Optional. User friendly display name.
EffectiveLabels map[string]string
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
Labels map[string]string
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Lake Changes to this property will trigger replacement. string
The lake for the resource
Location Changes to this property will trigger replacement. string
The location for the resource
Name string
The name of the zone.
Project Changes to this property will trigger replacement. string
The project for the resource
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
ResourceSpec Changes to this property will trigger replacement. ZoneResourceSpecArgs
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
State string
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
Type Changes to this property will trigger replacement. string
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
Uid string
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
UpdateTime string
Output only. The time when the zone was last updated.
assetStatuses List<ZoneAssetStatus>
Output only. Aggregated status of the underlying assets of the zone.
createTime String
Output only. The time when the zone was created.
description String
Optional. Description of the zone.
discoverySpec ZoneDiscoverySpec
Required. Specification of the discovery feature applied to data in this zone.
displayName String
Optional. User friendly display name.
effectiveLabels Map<String,String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
labels Map<String,String>
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
lake Changes to this property will trigger replacement. String
The lake for the resource
location Changes to this property will trigger replacement. String
The location for the resource
name String
The name of the zone.
project Changes to this property will trigger replacement. String
The project for the resource
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
resourceSpec Changes to this property will trigger replacement. ZoneResourceSpec
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
state String
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
type Changes to this property will trigger replacement. String
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
uid String
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
updateTime String
Output only. The time when the zone was last updated.
assetStatuses ZoneAssetStatus[]
Output only. Aggregated status of the underlying assets of the zone.
createTime string
Output only. The time when the zone was created.
description string
Optional. Description of the zone.
discoverySpec ZoneDiscoverySpec
Required. Specification of the discovery feature applied to data in this zone.
displayName string
Optional. User friendly display name.
effectiveLabels {[key: string]: string}
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
labels {[key: string]: string}
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
lake Changes to this property will trigger replacement. string
The lake for the resource
location Changes to this property will trigger replacement. string
The location for the resource
name string
The name of the zone.
project Changes to this property will trigger replacement. string
The project for the resource
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
resourceSpec Changes to this property will trigger replacement. ZoneResourceSpec
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
state string
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
type Changes to this property will trigger replacement. string
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
uid string
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
updateTime string
Output only. The time when the zone was last updated.
asset_statuses Sequence[ZoneAssetStatusArgs]
Output only. Aggregated status of the underlying assets of the zone.
create_time str
Output only. The time when the zone was created.
description str
Optional. Description of the zone.
discovery_spec ZoneDiscoverySpecArgs
Required. Specification of the discovery feature applied to data in this zone.
display_name str
Optional. User friendly display name.
effective_labels Mapping[str, str]
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
labels Mapping[str, str]
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
lake Changes to this property will trigger replacement. str
The lake for the resource
location Changes to this property will trigger replacement. str
The location for the resource
name str
The name of the zone.
project Changes to this property will trigger replacement. str
The project for the resource
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
resource_spec Changes to this property will trigger replacement. ZoneResourceSpecArgs
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
state str
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
type Changes to this property will trigger replacement. str
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
uid str
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
update_time str
Output only. The time when the zone was last updated.
assetStatuses List<Property Map>
Output only. Aggregated status of the underlying assets of the zone.
createTime String
Output only. The time when the zone was created.
description String
Optional. Description of the zone.
discoverySpec Property Map
Required. Specification of the discovery feature applied to data in this zone.
displayName String
Optional. User friendly display name.
effectiveLabels Map<String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
labels Map<String>
Optional. User defined labels for the zone. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
lake Changes to this property will trigger replacement. String
The lake for the resource
location Changes to this property will trigger replacement. String
The location for the resource
name String
The name of the zone.
project Changes to this property will trigger replacement. String
The project for the resource
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
resourceSpec Changes to this property will trigger replacement. Property Map
Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
state String
Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
type Changes to this property will trigger replacement. String
Required. Immutable. The type of the zone. Possible values: TYPE_UNSPECIFIED, RAW, CURATED
uid String
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
updateTime String
Output only. The time when the zone was last updated.

Supporting Types

ZoneAssetStatus
, ZoneAssetStatusArgs

ActiveAssets int
Number of active assets.
SecurityPolicyApplyingAssets int
Number of assets that are in process of updating the security policy on attached resources.
UpdateTime string
Output only. The time when the zone was last updated.
ActiveAssets int
Number of active assets.
SecurityPolicyApplyingAssets int
Number of assets that are in process of updating the security policy on attached resources.
UpdateTime string
Output only. The time when the zone was last updated.
activeAssets Integer
Number of active assets.
securityPolicyApplyingAssets Integer
Number of assets that are in process of updating the security policy on attached resources.
updateTime String
Output only. The time when the zone was last updated.
activeAssets number
Number of active assets.
securityPolicyApplyingAssets number
Number of assets that are in process of updating the security policy on attached resources.
updateTime string
Output only. The time when the zone was last updated.
active_assets int
Number of active assets.
security_policy_applying_assets int
Number of assets that are in process of updating the security policy on attached resources.
update_time str
Output only. The time when the zone was last updated.
activeAssets Number
Number of active assets.
securityPolicyApplyingAssets Number
Number of assets that are in process of updating the security policy on attached resources.
updateTime String
Output only. The time when the zone was last updated.

ZoneDiscoverySpec
, ZoneDiscoverySpecArgs

Enabled This property is required. bool
Required. Whether discovery is enabled.
CsvOptions ZoneDiscoverySpecCsvOptions
Optional. Configuration for CSV data.
ExcludePatterns List<string>
Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
IncludePatterns List<string>
Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
JsonOptions ZoneDiscoverySpecJsonOptions
Optional. Configuration for Json data.
Schedule string
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
Enabled This property is required. bool
Required. Whether discovery is enabled.
CsvOptions ZoneDiscoverySpecCsvOptions
Optional. Configuration for CSV data.
ExcludePatterns []string
Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
IncludePatterns []string
Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
JsonOptions ZoneDiscoverySpecJsonOptions
Optional. Configuration for Json data.
Schedule string
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
enabled This property is required. Boolean
Required. Whether discovery is enabled.
csvOptions ZoneDiscoverySpecCsvOptions
Optional. Configuration for CSV data.
excludePatterns List<String>
Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
includePatterns List<String>
Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
jsonOptions ZoneDiscoverySpecJsonOptions
Optional. Configuration for Json data.
schedule String
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
enabled This property is required. boolean
Required. Whether discovery is enabled.
csvOptions ZoneDiscoverySpecCsvOptions
Optional. Configuration for CSV data.
excludePatterns string[]
Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
includePatterns string[]
Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
jsonOptions ZoneDiscoverySpecJsonOptions
Optional. Configuration for Json data.
schedule string
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
enabled This property is required. bool
Required. Whether discovery is enabled.
csv_options ZoneDiscoverySpecCsvOptions
Optional. Configuration for CSV data.
exclude_patterns Sequence[str]
Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
include_patterns Sequence[str]
Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
json_options ZoneDiscoverySpecJsonOptions
Optional. Configuration for Json data.
schedule str
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
enabled This property is required. Boolean
Required. Whether discovery is enabled.
csvOptions Property Map
Optional. Configuration for CSV data.
excludePatterns List<String>
Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
includePatterns List<String>
Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
jsonOptions Property Map
Optional. Configuration for Json data.
schedule String
Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".

ZoneDiscoverySpecCsvOptions
, ZoneDiscoverySpecCsvOptionsArgs

Delimiter string
Optional. The delimiter being used to separate values. This defaults to ','.
DisableTypeInference bool
Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
Encoding string
Optional. The character encoding of the data. The default is UTF-8.
HeaderRows int
Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
Delimiter string
Optional. The delimiter being used to separate values. This defaults to ','.
DisableTypeInference bool
Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
Encoding string
Optional. The character encoding of the data. The default is UTF-8.
HeaderRows int
Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
delimiter String
Optional. The delimiter being used to separate values. This defaults to ','.
disableTypeInference Boolean
Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
encoding String
Optional. The character encoding of the data. The default is UTF-8.
headerRows Integer
Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
delimiter string
Optional. The delimiter being used to separate values. This defaults to ','.
disableTypeInference boolean
Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
encoding string
Optional. The character encoding of the data. The default is UTF-8.
headerRows number
Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
delimiter str
Optional. The delimiter being used to separate values. This defaults to ','.
disable_type_inference bool
Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
encoding str
Optional. The character encoding of the data. The default is UTF-8.
header_rows int
Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
delimiter String
Optional. The delimiter being used to separate values. This defaults to ','.
disableTypeInference Boolean
Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
encoding String
Optional. The character encoding of the data. The default is UTF-8.
headerRows Number
Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.

ZoneDiscoverySpecJsonOptions
, ZoneDiscoverySpecJsonOptionsArgs

DisableTypeInference bool
Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
Encoding string
Optional. The character encoding of the data. The default is UTF-8.
DisableTypeInference bool
Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
Encoding string
Optional. The character encoding of the data. The default is UTF-8.
disableTypeInference Boolean
Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
encoding String
Optional. The character encoding of the data. The default is UTF-8.
disableTypeInference boolean
Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
encoding string
Optional. The character encoding of the data. The default is UTF-8.
disable_type_inference bool
Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
encoding str
Optional. The character encoding of the data. The default is UTF-8.
disableTypeInference Boolean
Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
encoding String
Optional. The character encoding of the data. The default is UTF-8.

ZoneResourceSpec
, ZoneResourceSpecArgs

LocationType
This property is required.
Changes to this property will trigger replacement.
string
Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION


LocationType
This property is required.
Changes to this property will trigger replacement.
string
Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION


locationType
This property is required.
Changes to this property will trigger replacement.
String
Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION


locationType
This property is required.
Changes to this property will trigger replacement.
string
Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION


location_type
This property is required.
Changes to this property will trigger replacement.
str
Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION


locationType
This property is required.
Changes to this property will trigger replacement.
String
Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION


Import

Zone can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}

  • {{project}}/{{location}}/{{lake}}/{{name}}

  • {{location}}/{{lake}}/{{name}}

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

$ pulumi import gcp:dataplex/zone:Zone default projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}
Copy
$ pulumi import gcp:dataplex/zone:Zone default {{project}}/{{location}}/{{lake}}/{{name}}
Copy
$ pulumi import gcp:dataplex/zone:Zone default {{location}}/{{lake}}/{{name}}
Copy

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

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.