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

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

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

    Create a metadata partition. Auto-naming is currently not supported for this resource.

    Create Partition Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Partition(name: string, args: PartitionArgs, opts?: CustomResourceOptions);
    @overload
    def Partition(resource_name: str,
                  args: PartitionArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Partition(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  entity_id: Optional[str] = None,
                  lake_id: Optional[str] = None,
                  values: Optional[Sequence[str]] = None,
                  etag: Optional[str] = None,
                  location: Optional[str] = None,
                  project: Optional[str] = None,
                  zone: Optional[str] = None)
    func NewPartition(ctx *Context, name string, args PartitionArgs, opts ...ResourceOption) (*Partition, error)
    public Partition(string name, PartitionArgs args, CustomResourceOptions? opts = null)
    public Partition(String name, PartitionArgs args)
    public Partition(String name, PartitionArgs args, CustomResourceOptions options)
    
    type: google-native:dataplex/v1:Partition
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PartitionArgs
    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 PartitionArgs
    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 PartitionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PartitionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PartitionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var partitionResource = new GoogleNative.Dataplex.V1.Partition("partitionResource", new()
    {
        EntityId = "string",
        LakeId = "string",
        Values = new[]
        {
            "string",
        },
        Etag = "string",
        Location = "string",
        Project = "string",
        Zone = "string",
    });
    
    example, err := dataplex.NewPartition(ctx, "partitionResource", &dataplex.PartitionArgs{
    EntityId: pulumi.String("string"),
    LakeId: pulumi.String("string"),
    Values: pulumi.StringArray{
    pulumi.String("string"),
    },
    Etag: pulumi.String("string"),
    Location: pulumi.String("string"),
    Project: pulumi.String("string"),
    Zone: pulumi.String("string"),
    })
    
    var partitionResource = new Partition("partitionResource", PartitionArgs.builder()
        .entityId("string")
        .lakeId("string")
        .values("string")
        .etag("string")
        .location("string")
        .project("string")
        .zone("string")
        .build());
    
    partition_resource = google_native.dataplex.v1.Partition("partitionResource",
        entity_id="string",
        lake_id="string",
        values=["string"],
        etag="string",
        location="string",
        project="string",
        zone="string")
    
    const partitionResource = new google_native.dataplex.v1.Partition("partitionResource", {
        entityId: "string",
        lakeId: "string",
        values: ["string"],
        etag: "string",
        location: "string",
        project: "string",
        zone: "string",
    });
    
    type: google-native:dataplex/v1:Partition
    properties:
        entityId: string
        etag: string
        lakeId: string
        location: string
        project: string
        values:
            - string
        zone: string
    

    Partition 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 Partition resource accepts the following input properties:

    EntityId string
    LakeId string
    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/
    Project string
    Zone string
    EntityId string
    LakeId string
    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/
    Project string
    Zone string
    entityId String
    lakeId String
    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/
    project String
    zone String
    entityId string
    lakeId string
    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/
    project string
    zone string
    entity_id str
    lake_id str
    values Sequence[str]
    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/
    project str
    zone str
    entityId String
    lakeId String
    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/
    project String
    zone String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Partition resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.

    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