1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataplex
  5. Zone
Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi

gcp.dataplex.Zone

Explore with Pulumi AI

gcp logo
Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi

    The Dataplex Zone resource

    Example Usage

    Basic_zone

    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",
            Description = "Lake for DCL",
            DisplayName = "Lake for DCL",
            Labels = 
            {
                { "my-lake", "exists" },
            },
            Project = "my-project-name",
        });
    
        var primary = new Gcp.DataPlex.Zone("primary", new()
        {
            DiscoverySpec = new Gcp.DataPlex.Inputs.ZoneDiscoverySpecArgs
            {
                Enabled = false,
            },
            Lake = basic.Name,
            Location = "us-west1",
            ResourceSpec = new Gcp.DataPlex.Inputs.ZoneResourceSpecArgs
            {
                LocationType = "MULTI_REGION",
            },
            Type = "RAW",
            Description = "Zone for DCL",
            DisplayName = "Zone for DCL",
            Labels = null,
            Project = "my-project-name",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/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"),
    			Description: pulumi.String("Lake for DCL"),
    			DisplayName: pulumi.String("Lake for DCL"),
    			Labels: pulumi.StringMap{
    				"my-lake": pulumi.String("exists"),
    			},
    			Project: pulumi.String("my-project-name"),
    		})
    		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"),
    			ResourceSpec: &dataplex.ZoneResourceSpecArgs{
    				LocationType: pulumi.String("MULTI_REGION"),
    			},
    			Type:        pulumi.String("RAW"),
    			Description: pulumi.String("Zone for DCL"),
    			DisplayName: pulumi.String("Zone for DCL"),
    			Labels:      nil,
    			Project:     pulumi.String("my-project-name"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.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")
                .description("Lake for DCL")
                .displayName("Lake for DCL")
                .labels(Map.of("my-lake", "exists"))
                .project("my-project-name")
                .build());
    
            var primary = new Zone("primary", ZoneArgs.builder()        
                .discoverySpec(ZoneDiscoverySpecArgs.builder()
                    .enabled(false)
                    .build())
                .lake(basic.name())
                .location("us-west1")
                .resourceSpec(ZoneResourceSpecArgs.builder()
                    .locationType("MULTI_REGION")
                    .build())
                .type("RAW")
                .description("Zone for DCL")
                .displayName("Zone for DCL")
                .labels()
                .project("my-project-name")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    basic = gcp.dataplex.Lake("basic",
        location="us-west1",
        description="Lake for DCL",
        display_name="Lake for DCL",
        labels={
            "my-lake": "exists",
        },
        project="my-project-name")
    primary = gcp.dataplex.Zone("primary",
        discovery_spec=gcp.dataplex.ZoneDiscoverySpecArgs(
            enabled=False,
        ),
        lake=basic.name,
        location="us-west1",
        resource_spec=gcp.dataplex.ZoneResourceSpecArgs(
            location_type="MULTI_REGION",
        ),
        type="RAW",
        description="Zone for DCL",
        display_name="Zone for DCL",
        labels={},
        project="my-project-name")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const basic = new gcp.dataplex.Lake("basic", {
        location: "us-west1",
        description: "Lake for DCL",
        displayName: "Lake for DCL",
        labels: {
            "my-lake": "exists",
        },
        project: "my-project-name",
    });
    const primary = new gcp.dataplex.Zone("primary", {
        discoverySpec: {
            enabled: false,
        },
        lake: basic.name,
        location: "us-west1",
        resourceSpec: {
            locationType: "MULTI_REGION",
        },
        type: "RAW",
        description: "Zone for DCL",
        displayName: "Zone for DCL",
        labels: {},
        project: "my-project-name",
    });
    
    resources:
      primary:
        type: gcp:dataplex:Zone
        properties:
          discoverySpec:
            enabled: false
          lake: ${basic.name}
          location: us-west1
          resourceSpec:
            locationType: MULTI_REGION
          type: RAW
          description: Zone for DCL
          displayName: Zone for DCL
          labels: {}
          project: my-project-name
      basic:
        type: gcp:dataplex:Lake
        properties:
          location: us-west1
          description: Lake for DCL
          displayName: Lake for DCL
          labels:
            my-lake: exists
          project: my-project-name
    

    Create Zone Resource

    new Zone(name: string, args: ZoneArgs, opts?: CustomResourceOptions);
    @overload
    def Zone(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             description: Optional[str] = None,
             discovery_spec: Optional[ZoneDiscoverySpecArgs] = None,
             display_name: Optional[str] = None,
             labels: Optional[Mapping[str, str]] = None,
             lake: Optional[str] = None,
             location: Optional[str] = None,
             name: Optional[str] = None,
             project: Optional[str] = None,
             resource_spec: Optional[ZoneResourceSpecArgs] = None,
             type: Optional[str] = None)
    @overload
    def Zone(resource_name: str,
             args: ZoneArgs,
             opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    Id string

    The provider-assigned unique ID for this managed resource.

    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.

    Id string

    The provider-assigned unique ID for this managed resource.

    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.

    id String

    The provider-assigned unique ID for this managed resource.

    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.

    id string

    The provider-assigned unique ID for this managed resource.

    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.

    id str

    The provider-assigned unique ID for this managed resource.

    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.

    id String

    The provider-assigned unique ID for this managed resource.

    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,
            labels: Optional[Mapping[str, str]] = None,
            lake: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[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
    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.

    Labels Dictionary<string, string>

    Optional. User defined labels for the zone.

    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

    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.

    Labels map[string]string

    Optional. User defined labels for the zone.

    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

    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.

    labels Map<String,String>

    Optional. User defined labels for the zone.

    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

    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.

    labels {[key: string]: string}

    Optional. User defined labels for the zone.

    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

    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.

    labels Mapping[str, str]

    Optional. User defined labels for the zone.

    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

    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.

    labels Map<String>

    Optional. User defined labels for the zone.

    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

    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
    SecurityPolicyApplyingAssets int
    UpdateTime string

    Output only. The time when the zone was last updated.

    ActiveAssets int
    SecurityPolicyApplyingAssets int
    UpdateTime string

    Output only. The time when the zone was last updated.

    activeAssets Integer
    securityPolicyApplyingAssets Integer
    updateTime String

    Output only. The time when the zone was last updated.

    activeAssets number
    securityPolicyApplyingAssets number
    updateTime string

    Output only. The time when the zone was last updated.

    active_assets int
    security_policy_applying_assets int
    update_time str

    Output only. The time when the zone was last updated.

    activeAssets Number
    securityPolicyApplyingAssets Number
    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

     $ 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}}
    

    Package Details

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

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

    gcp logo
    Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi