gcp.dataplex.Zone
Explore with Pulumi AI
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)
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:
- Discovery
Spec ZoneDiscovery Spec 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
- Resource
Spec ZoneResource Spec 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.
- Display
Name 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
- Discovery
Spec ZoneDiscovery Spec Args 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
- Resource
Spec ZoneResource Spec Args 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.
- Display
Name 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
- discovery
Spec ZoneDiscovery Spec 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
- resource
Spec ZoneResource Spec 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.
- display
Name 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
- discovery
Spec ZoneDiscovery Spec 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
- resource
Spec ZoneResource Spec 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.
- display
Name 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 ZoneDiscovery Spec Args 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 ZoneResource Spec Args 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
- discovery
Spec 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
- resource
Spec 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.
- display
Name 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:
- Asset
Statuses List<ZoneAsset Status> Output only. Aggregated status of the underlying assets of the zone.
- Create
Time 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.
- Update
Time string Output only. The time when the zone was last updated.
- Asset
Statuses []ZoneAsset Status Output only. Aggregated status of the underlying assets of the zone.
- Create
Time 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.
- Update
Time string Output only. The time when the zone was last updated.
- asset
Statuses List<ZoneAsset Status> Output only. Aggregated status of the underlying assets of the zone.
- create
Time 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.
- update
Time String Output only. The time when the zone was last updated.
- asset
Statuses ZoneAsset Status[] Output only. Aggregated status of the underlying assets of the zone.
- create
Time 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.
- update
Time string Output only. The time when the zone was last updated.
- asset_
statuses Sequence[ZoneAsset Status] 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.
- asset
Statuses List<Property Map> Output only. Aggregated status of the underlying assets of the zone.
- create
Time 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.
- update
Time 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.
- Asset
Statuses List<ZoneAsset Status> Output only. Aggregated status of the underlying assets of the zone.
- Create
Time string Output only. The time when the zone was created.
- Description string
Optional. Description of the zone.
- Discovery
Spec ZoneDiscovery Spec Required. Specification of the discovery feature applied to data in this zone.
- Display
Name 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
- Resource
Spec ZoneResource Spec 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.
- Update
Time string Output only. The time when the zone was last updated.
- Asset
Statuses []ZoneAsset Status Args Output only. Aggregated status of the underlying assets of the zone.
- Create
Time string Output only. The time when the zone was created.
- Description string
Optional. Description of the zone.
- Discovery
Spec ZoneDiscovery Spec Args Required. Specification of the discovery feature applied to data in this zone.
- Display
Name 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
- Resource
Spec ZoneResource Spec Args 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.
- Update
Time string Output only. The time when the zone was last updated.
- asset
Statuses List<ZoneAsset Status> Output only. Aggregated status of the underlying assets of the zone.
- create
Time String Output only. The time when the zone was created.
- description String
Optional. Description of the zone.
- discovery
Spec ZoneDiscovery Spec Required. Specification of the discovery feature applied to data in this zone.
- display
Name 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
- resource
Spec ZoneResource Spec 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.
- update
Time String Output only. The time when the zone was last updated.
- asset
Statuses ZoneAsset Status[] Output only. Aggregated status of the underlying assets of the zone.
- create
Time string Output only. The time when the zone was created.
- description string
Optional. Description of the zone.
- discovery
Spec ZoneDiscovery Spec Required. Specification of the discovery feature applied to data in this zone.
- display
Name 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
- resource
Spec ZoneResource Spec 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.
- update
Time string Output only. The time when the zone was last updated.
- asset_
statuses Sequence[ZoneAsset Status Args] 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 ZoneDiscovery Spec Args 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 ZoneResource Spec Args 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.
- asset
Statuses List<Property Map> Output only. Aggregated status of the underlying assets of the zone.
- create
Time String Output only. The time when the zone was created.
- description String
Optional. Description of the zone.
- discovery
Spec Property Map Required. Specification of the discovery feature applied to data in this zone.
- display
Name 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
- resource
Spec 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.
- update
Time String Output only. The time when the zone was last updated.
Supporting Types
ZoneAssetStatus, ZoneAssetStatusArgs
- Active
Assets int - Security
Policy intApplying Assets - Update
Time string Output only. The time when the zone was last updated.
- Active
Assets int - Security
Policy intApplying Assets - Update
Time string Output only. The time when the zone was last updated.
- active
Assets Integer - security
Policy IntegerApplying Assets - update
Time String Output only. The time when the zone was last updated.
- active
Assets number - security
Policy numberApplying Assets - update
Time string Output only. The time when the zone was last updated.
- active_
assets int - security_
policy_ intapplying_ assets - update_
time str Output only. The time when the zone was last updated.
- active
Assets Number - security
Policy NumberApplying Assets - update
Time String Output only. The time when the zone was last updated.
ZoneDiscoverySpec, ZoneDiscoverySpecArgs
- Enabled bool
Required. Whether discovery is enabled.
- Csv
Options ZoneDiscovery Spec Csv Options Optional. Configuration for CSV data.
- Exclude
Patterns 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.
- Include
Patterns 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.
- Json
Options ZoneDiscovery Spec Json Options 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 ZoneDiscovery Spec Csv Options Optional. Configuration for CSV data.
- Exclude
Patterns []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.
- Include
Patterns []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.
- Json
Options ZoneDiscovery Spec Json Options 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.
- csv
Options ZoneDiscovery Spec Csv Options Optional. Configuration for CSV data.
- exclude
Patterns 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.
- include
Patterns 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.
- json
Options ZoneDiscovery Spec Json Options 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.
- csv
Options ZoneDiscovery Spec Csv Options Optional. Configuration for CSV data.
- exclude
Patterns 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.
- include
Patterns 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.
- json
Options ZoneDiscovery Spec Json Options 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 ZoneDiscovery Spec Csv Options 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 ZoneDiscovery Spec Json Options 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.
- csv
Options Property Map Optional. Configuration for CSV data.
- exclude
Patterns 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.
- include
Patterns 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.
- json
Options 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 ','.
- Disable
Type boolInference 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.
- 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 ','.
- Disable
Type boolInference 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.
- 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 ','.
- disable
Type BooleanInference 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.
- header
Rows 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 ','.
- disable
Type booleanInference 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.
- header
Rows 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_ boolinference 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 ','.
- disable
Type BooleanInference 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.
- header
Rows Number Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
ZoneDiscoverySpecJsonOptions, ZoneDiscoverySpecJsonOptionsArgs
- Disable
Type boolInference 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 boolInference 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 BooleanInference 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 booleanInference 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_ boolinference 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.
- disable
Type BooleanInference 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
- Location
Type 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 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 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 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
- location
Type 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.