1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataplex
  5. Zone
Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi

gcp.dataplex.Zone

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi

    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: {},
    });
    
    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=gcp.dataplex.ZoneDiscoverySpecArgs(
            enabled=False,
        ),
        lake=basic.name,
        location="us-west1",
        name="zone",
        resource_spec=gcp.dataplex.ZoneResourceSpecArgs(
            location_type="MULTI_REGION",
        ),
        type="RAW",
        description="Zone for DCL",
        display_name="Zone for DCL",
        project="my-project-name",
        labels={})
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/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:      nil,
    		})
    		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 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,
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 string
    The unique name of the resource.
    args ZoneArgs
    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 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 string
    The unique name of the resource.
    args ZoneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZoneArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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",
    });
    
    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"),
    })
    
    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());
    
    zone_resource = gcp.dataplex.Zone("zoneResource",
        discovery_spec=gcp.dataplex.ZoneDiscoverySpecArgs(
            enabled=False,
            csv_options=gcp.dataplex.ZoneDiscoverySpecCsvOptionsArgs(
                delimiter="string",
                disable_type_inference=False,
                encoding="string",
                header_rows=0,
            ),
            exclude_patterns=["string"],
            include_patterns=["string"],
            json_options=gcp.dataplex.ZoneDiscoverySpecJsonOptionsArgs(
                disable_type_inference=False,
                encoding="string",
            ),
            schedule="string",
        ),
        lake="string",
        location="string",
        resource_spec=gcp.dataplex.ZoneResourceSpecArgs(
            location_type="string",
        ),
        type="string",
        description="string",
        display_name="string",
        labels={
            "string": "string",
        },
        name="string",
        project="string")
    
    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",
    });
    
    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
    

    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

    The Zone resource accepts the following input properties:

    DiscoverySpec ZoneDiscoverySpec
    Required. Specification of the discovery feature applied to data in this zone.
    Lake string
    The lake for the resource
    Location string
    The location for the resource
    ResourceSpec ZoneResourceSpec
    Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
    Type 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 string
    The project for the resource
    DiscoverySpec ZoneDiscoverySpecArgs
    Required. Specification of the discovery feature applied to data in this zone.
    Lake string
    The lake for the resource
    Location string
    The location for the resource
    ResourceSpec ZoneResourceSpecArgs
    Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
    Type 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 string
    The project for the resource
    discoverySpec ZoneDiscoverySpec
    Required. Specification of the discovery feature applied to data in this zone.
    lake String
    The lake for the resource
    location String
    The location for the resource
    resourceSpec ZoneResourceSpec
    Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
    type 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 String
    The project for the resource
    discoverySpec ZoneDiscoverySpec
    Required. Specification of the discovery feature applied to data in this zone.
    lake string
    The lake for the resource
    location string
    The location for the resource
    resourceSpec ZoneResourceSpec
    Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
    type 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 string
    The project for the resource
    discovery_spec ZoneDiscoverySpecArgs
    Required. Specification of the discovery feature applied to data in this zone.
    lake str
    The lake for the resource
    location str
    The location for the resource
    resource_spec ZoneResourceSpecArgs
    Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
    type 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 str
    The project for the resource
    discoverySpec Property Map
    Required. Specification of the discovery feature applied to data in this zone.
    lake String
    The lake for the resource
    location String
    The location for the resource
    resourceSpec Property Map
    Required. Immutable. Specification of the resources that are referenced by the assets within this zone.
    type 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 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, object>
    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, object>
    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]interface{}
    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]interface{}
    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,Object>
    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,Object>
    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]: any}
    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]: any}
    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, Any]
    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, Any]
    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<Any>
    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<Any>
    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, Any]] = 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, Any]] = 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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    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, object>
    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 string
    The lake for the resource
    Location string
    The location for the resource
    Name string
    The name of the zone.
    Project string
    The project for the resource
    PulumiLabels Dictionary<string, object>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ResourceSpec 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 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]interface{}
    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 string
    The lake for the resource
    Location string
    The location for the resource
    Name string
    The name of the zone.
    Project string
    The project for the resource
    PulumiLabels map[string]interface{}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ResourceSpec 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 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,Object>
    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 String
    The lake for the resource
    location String
    The location for the resource
    name String
    The name of the zone.
    project String
    The project for the resource
    pulumiLabels Map<String,Object>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    resourceSpec 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 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]: any}
    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 string
    The lake for the resource
    location string
    The location for the resource
    name string
    The name of the zone.
    project string
    The project for the resource
    pulumiLabels {[key: string]: any}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    resourceSpec 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 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, Any]
    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 str
    The lake for the resource
    location str
    The location for the resource
    name str
    The name of the zone.
    project str
    The project for the resource
    pulumi_labels Mapping[str, Any]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    resource_spec 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 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<Any>
    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 String
    The lake for the resource
    location String
    The location for the resource
    name String
    The name of the zone.
    project String
    The project for the resource
    pulumiLabels Map<Any>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    resourceSpec 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 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 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 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 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 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 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 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 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 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 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 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 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 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}}
    
    $ pulumi import gcp:dataplex/zone:Zone default {{project}}/{{location}}/{{lake}}/{{name}}
    
    $ pulumi import gcp:dataplex/zone:Zone default {{location}}/{{lake}}/{{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.
    gcp logo
    Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi