1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dataplex
  5. dataplex/v1
  6. getPartition

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.getPartition

Explore with Pulumi AI

google-native logo

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

    Get a metadata partition of an entity.

    Using getPartition

    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 getPartition(args: GetPartitionArgs, opts?: InvokeOptions): Promise<GetPartitionResult>
    function getPartitionOutput(args: GetPartitionOutputArgs, opts?: InvokeOptions): Output<GetPartitionResult>
    def get_partition(entity_id: Optional[str] = None,
                      lake_id: Optional[str] = None,
                      location: Optional[str] = None,
                      partition_id: Optional[str] = None,
                      project: Optional[str] = None,
                      zone: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetPartitionResult
    def get_partition_output(entity_id: Optional[pulumi.Input[str]] = None,
                      lake_id: Optional[pulumi.Input[str]] = None,
                      location: Optional[pulumi.Input[str]] = None,
                      partition_id: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      zone: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetPartitionResult]
    func LookupPartition(ctx *Context, args *LookupPartitionArgs, opts ...InvokeOption) (*LookupPartitionResult, error)
    func LookupPartitionOutput(ctx *Context, args *LookupPartitionOutputArgs, opts ...InvokeOption) LookupPartitionResultOutput

    > Note: This function is named LookupPartition in the Go SDK.

    public static class GetPartition 
    {
        public static Task<GetPartitionResult> InvokeAsync(GetPartitionArgs args, InvokeOptions? opts = null)
        public static Output<GetPartitionResult> Invoke(GetPartitionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPartitionResult> getPartition(GetPartitionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:dataplex/v1:getPartition
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EntityId string
    LakeId string
    Location string
    PartitionId string
    Zone string
    Project string
    EntityId string
    LakeId string
    Location string
    PartitionId string
    Zone string
    Project string
    entityId String
    lakeId String
    location String
    partitionId String
    zone String
    project String
    entityId string
    lakeId string
    location string
    partitionId string
    zone string
    project string
    entityId String
    lakeId String
    location String
    partitionId String
    zone String
    project String

    getPartition Result

    The following output properties are available:

    Etag string
    Optional. The etag for this partition.
    Location string
    Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects//datasets//tables/
    Name string
    Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.
    Values List<string>
    Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
    Etag string
    Optional. The etag for this partition.
    Location string
    Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects//datasets//tables/
    Name string
    Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.
    Values []string
    Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
    etag String
    Optional. The etag for this partition.
    location String
    Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects//datasets//tables/
    name String
    Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.
    values List<String>
    Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
    etag string
    Optional. The etag for this partition.
    location string
    Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects//datasets//tables/
    name string
    Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.
    values string[]
    Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
    etag str
    Optional. The etag for this partition.
    location str
    Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects//datasets//tables/
    name str
    Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.
    values Sequence[str]
    Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
    etag String
    Optional. The etag for this partition.
    location String
    Immutable. The location of the entity data within the partition, for example, gs://bucket/path/to/entity/key1=value1/key2=value2. Or projects//datasets//tables/
    name String
    Partition values used in the HTTP URL must be double encoded. For example, url_encode(url_encode(value)) can be used to encode "US:CA/CA#Sunnyvale so that the request URL ends with "/partitions/US%253ACA/CA%2523Sunnyvale". The name field in the response retains the encoded format.
    values List<String>
    Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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