Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dataplex/v1.getZone
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Retrieves a zone resource.
Using getZone
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getZone(args: GetZoneArgs, opts?: InvokeOptions): Promise<GetZoneResult>
function getZoneOutput(args: GetZoneOutputArgs, opts?: InvokeOptions): Output<GetZoneResult>
def get_zone(lake_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZoneResult
def get_zone_output(lake_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZoneResult]
func LookupZone(ctx *Context, args *LookupZoneArgs, opts ...InvokeOption) (*LookupZoneResult, error)
func LookupZoneOutput(ctx *Context, args *LookupZoneOutputArgs, opts ...InvokeOption) LookupZoneResultOutput
> Note: This function is named LookupZone
in the Go SDK.
public static class GetZone
{
public static Task<GetZoneResult> InvokeAsync(GetZoneArgs args, InvokeOptions? opts = null)
public static Output<GetZoneResult> Invoke(GetZoneInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:dataplex/v1:getZone
arguments:
# arguments dictionary
The following arguments are supported:
getZone Result
The following output properties are available:
- Asset
Status Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the zone.
- Create
Time string - The time when the zone was created.
- Description string
- Optional. Description of the zone.
- Discovery
Spec Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Zone Discovery Spec Response - Optional. 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.
- Name string
- The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
- Resource
Spec Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Zone Resource Spec Response - Specification of the resources that are referenced by the assets within this zone.
- State string
- Current state of the zone.
- Type string
- Immutable. The type of the zone.
- Uid string
- 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 - The time when the zone was last updated.
- Asset
Status GoogleCloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the zone.
- Create
Time string - The time when the zone was created.
- Description string
- Optional. Description of the zone.
- Discovery
Spec GoogleCloud Dataplex V1Zone Discovery Spec Response - Optional. 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.
- Name string
- The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
- Resource
Spec GoogleCloud Dataplex V1Zone Resource Spec Response - Specification of the resources that are referenced by the assets within this zone.
- State string
- Current state of the zone.
- Type string
- Immutable. The type of the zone.
- Uid string
- 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 - The time when the zone was last updated.
- asset
Status GoogleCloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the zone.
- create
Time String - The time when the zone was created.
- description String
- Optional. Description of the zone.
- discovery
Spec GoogleCloud Dataplex V1Zone Discovery Spec Response - Optional. 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.
- name String
- The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
- resource
Spec GoogleCloud Dataplex V1Zone Resource Spec Response - Specification of the resources that are referenced by the assets within this zone.
- state String
- Current state of the zone.
- type String
- Immutable. The type of the zone.
- uid String
- 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 - The time when the zone was last updated.
- asset
Status GoogleCloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the zone.
- create
Time string - The time when the zone was created.
- description string
- Optional. Description of the zone.
- discovery
Spec GoogleCloud Dataplex V1Zone Discovery Spec Response - Optional. 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.
- name string
- The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
- resource
Spec GoogleCloud Dataplex V1Zone Resource Spec Response - Specification of the resources that are referenced by the assets within this zone.
- state string
- Current state of the zone.
- type string
- Immutable. The type of the zone.
- uid string
- 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 - The time when the zone was last updated.
- asset_
status GoogleCloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the zone.
- create_
time str - The time when the zone was created.
- description str
- Optional. Description of the zone.
- discovery_
spec GoogleCloud Dataplex V1Zone Discovery Spec Response - Optional. 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.
- name str
- The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
- resource_
spec GoogleCloud Dataplex V1Zone Resource Spec Response - Specification of the resources that are referenced by the assets within this zone.
- state str
- Current state of the zone.
- type str
- Immutable. The type of the zone.
- uid str
- 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 - The time when the zone was last updated.
- asset
Status Property Map - Aggregated status of the underlying assets of the zone.
- create
Time String - The time when the zone was created.
- description String
- Optional. Description of the zone.
- discovery
Spec Property Map - Optional. 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.
- name String
- The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.
- resource
Spec Property Map - Specification of the resources that are referenced by the assets within this zone.
- state String
- Current state of the zone.
- type String
- Immutable. The type of the zone.
- uid String
- 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 - The time when the zone was last updated.
Supporting Types
GoogleCloudDataplexV1AssetStatusResponse
- Active
Assets int - Number of active assets.
- Security
Policy intApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- Update
Time string - Last update time of the status.
- Active
Assets int - Number of active assets.
- Security
Policy intApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- Update
Time string - Last update time of the status.
- active
Assets Integer - Number of active assets.
- security
Policy IntegerApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- update
Time String - Last update time of the status.
- active
Assets number - Number of active assets.
- security
Policy numberApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- update
Time string - Last update time of the status.
- active_
assets int - Number of active assets.
- security_
policy_ intapplying_ assets - Number of assets that are in process of updating the security policy on attached resources.
- update_
time str - Last update time of the status.
- active
Assets Number - Number of active assets.
- security
Policy NumberApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- update
Time String - Last update time of the status.
GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponse
- 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.
GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsResponse
- 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.
GoogleCloudDataplexV1ZoneDiscoverySpecResponse
- Csv
Options Pulumi.Google Native. Dataplex. V1. Inputs. Google Cloud Dataplex V1Zone Discovery Spec Csv Options Response - Optional. Configuration for CSV data.
- Enabled bool
- Whether discovery is enabled.
- 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 Pulumi.Google Native. Dataplex. V1. Inputs. Google Cloud Dataplex V1Zone Discovery Spec Json Options Response - 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 * * * *.
- Csv
Options GoogleCloud Dataplex V1Zone Discovery Spec Csv Options Response - Optional. Configuration for CSV data.
- Enabled bool
- Whether discovery is enabled.
- 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 GoogleCloud Dataplex V1Zone Discovery Spec Json Options Response - 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 * * * *.
- csv
Options GoogleCloud Dataplex V1Zone Discovery Spec Csv Options Response - Optional. Configuration for CSV data.
- enabled Boolean
- Whether discovery is enabled.
- 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 GoogleCloud Dataplex V1Zone Discovery Spec Json Options Response - 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 * * * *.
- csv
Options GoogleCloud Dataplex V1Zone Discovery Spec Csv Options Response - Optional. Configuration for CSV data.
- enabled boolean
- Whether discovery is enabled.
- 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 GoogleCloud Dataplex V1Zone Discovery Spec Json Options Response - 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 * * * *.
- csv_
options GoogleCloud Dataplex V1Zone Discovery Spec Csv Options Response - Optional. Configuration for CSV data.
- enabled bool
- Whether discovery is enabled.
- 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 GoogleCloud Dataplex V1Zone Discovery Spec Json Options Response - 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 * * * *.
- csv
Options Property Map - Optional. Configuration for CSV data.
- enabled Boolean
- Whether discovery is enabled.
- 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 * * * *.
GoogleCloudDataplexV1ZoneResourceSpecResponse
- Location
Type string - Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.
- Location
Type string - Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.
- location
Type String - Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.
- location
Type string - Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.
- location_
type str - Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.
- location
Type String - Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi