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 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>
Copy
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]
Copy
func LookupPartition(ctx *Context, args *LookupPartitionArgs, opts ...InvokeOption) (*LookupPartitionResult, error)
func LookupPartitionOutput(ctx *Context, args *LookupPartitionOutputArgs, opts ...InvokeOption) LookupPartitionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPartitionResult> getPartition(GetPartitionArgs args, InvokeOptions options)
public static Output<GetPartitionResult> getPartition(GetPartitionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:dataplex/v1:getPartition
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EntityId This property is required. string
LakeId This property is required. string
Location This property is required. string
PartitionId This property is required. string
Zone This property is required. string
Project string
EntityId This property is required. string
LakeId This property is required. string
Location This property is required. string
PartitionId This property is required. string
Zone This property is required. string
Project string
entityId This property is required. String
lakeId This property is required. String
location This property is required. String
partitionId This property is required. String
zone This property is required. String
project String
entityId This property is required. string
lakeId This property is required. string
location This property is required. string
partitionId This property is required. string
zone This property is required. string
project string
entity_id This property is required. str
lake_id This property is required. str
location This property is required. str
partition_id This property is required. str
zone This property is required. str
project str
entityId This property is required. String
lakeId This property is required. String
location This property is required. String
partitionId This property is required. String
zone This property is required. 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 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