1. Packages
  2. Scaleway
  3. API Docs
  4. elasticmetal
  5. getEasyPartitioning
Scaleway v1.27.1 published on Wednesday, Apr 30, 2025 by pulumiverse

scaleway.elasticmetal.getEasyPartitioning

Explore with Pulumi AI

scaleway logo
Scaleway v1.27.1 published on Wednesday, Apr 30, 2025 by pulumiverse

    The scaleway_easy_partitioning data source allows you to retrieve a ready-to-use partitioning schema for a BareMetal server. This schema can be used for custom installations with optional swap and extra partitions.

    This data source simplifies the process of generating valid partitioning configurations, especially useful when dealing with OS and offer compatibility requirements.

    Using getEasyPartitioning

    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 getEasyPartitioning(args: GetEasyPartitioningArgs, opts?: InvokeOptions): Promise<GetEasyPartitioningResult>
    function getEasyPartitioningOutput(args: GetEasyPartitioningOutputArgs, opts?: InvokeOptions): Output<GetEasyPartitioningResult>
    def get_easy_partitioning(ext4_mountpoint: Optional[str] = None,
                              extra_partition: Optional[bool] = None,
                              offer_id: Optional[str] = None,
                              os_id: Optional[str] = None,
                              swap: Optional[bool] = None,
                              opts: Optional[InvokeOptions] = None) -> GetEasyPartitioningResult
    def get_easy_partitioning_output(ext4_mountpoint: Optional[pulumi.Input[str]] = None,
                              extra_partition: Optional[pulumi.Input[bool]] = None,
                              offer_id: Optional[pulumi.Input[str]] = None,
                              os_id: Optional[pulumi.Input[str]] = None,
                              swap: Optional[pulumi.Input[bool]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetEasyPartitioningResult]
    func GetEasyPartitioning(ctx *Context, args *GetEasyPartitioningArgs, opts ...InvokeOption) (*GetEasyPartitioningResult, error)
    func GetEasyPartitioningOutput(ctx *Context, args *GetEasyPartitioningOutputArgs, opts ...InvokeOption) GetEasyPartitioningResultOutput

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

    public static class GetEasyPartitioning 
    {
        public static Task<GetEasyPartitioningResult> InvokeAsync(GetEasyPartitioningArgs args, InvokeOptions? opts = null)
        public static Output<GetEasyPartitioningResult> Invoke(GetEasyPartitioningInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEasyPartitioningResult> getEasyPartitioning(GetEasyPartitioningArgs args, InvokeOptions options)
    public static Output<GetEasyPartitioningResult> getEasyPartitioning(GetEasyPartitioningArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scaleway:elasticmetal/getEasyPartitioning:getEasyPartitioning
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OfferId string
    The UUID of the BareMetal offer.
    OsId string
    The UUID of the OS image.
    Ext4Mountpoint string
    The mount point for the extra partition. Must be an absolute path using alphanumeric characters and underscores.
    ExtraPartition bool
    Whether to add an extra ext4 data partition.
    Swap bool
    Whether to include a swap partition.
    OfferId string
    The UUID of the BareMetal offer.
    OsId string
    The UUID of the OS image.
    Ext4Mountpoint string
    The mount point for the extra partition. Must be an absolute path using alphanumeric characters and underscores.
    ExtraPartition bool
    Whether to add an extra ext4 data partition.
    Swap bool
    Whether to include a swap partition.
    offerId String
    The UUID of the BareMetal offer.
    osId String
    The UUID of the OS image.
    ext4Mountpoint String
    The mount point for the extra partition. Must be an absolute path using alphanumeric characters and underscores.
    extraPartition Boolean
    Whether to add an extra ext4 data partition.
    swap Boolean
    Whether to include a swap partition.
    offerId string
    The UUID of the BareMetal offer.
    osId string
    The UUID of the OS image.
    ext4Mountpoint string
    The mount point for the extra partition. Must be an absolute path using alphanumeric characters and underscores.
    extraPartition boolean
    Whether to add an extra ext4 data partition.
    swap boolean
    Whether to include a swap partition.
    offer_id str
    The UUID of the BareMetal offer.
    os_id str
    The UUID of the OS image.
    ext4_mountpoint str
    The mount point for the extra partition. Must be an absolute path using alphanumeric characters and underscores.
    extra_partition bool
    Whether to add an extra ext4 data partition.
    swap bool
    Whether to include a swap partition.
    offerId String
    The UUID of the BareMetal offer.
    osId String
    The UUID of the OS image.
    ext4Mountpoint String
    The mount point for the extra partition. Must be an absolute path using alphanumeric characters and underscores.
    extraPartition Boolean
    Whether to add an extra ext4 data partition.
    swap Boolean
    Whether to include a swap partition.

    getEasyPartitioning Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    JsonPartition string
    — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
    OfferId string
    OsId string
    Ext4Mountpoint string
    ExtraPartition bool
    Swap bool
    Id string
    The provider-assigned unique ID for this managed resource.
    JsonPartition string
    — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
    OfferId string
    OsId string
    Ext4Mountpoint string
    ExtraPartition bool
    Swap bool
    id String
    The provider-assigned unique ID for this managed resource.
    jsonPartition String
    — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
    offerId String
    osId String
    ext4Mountpoint String
    extraPartition Boolean
    swap Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    jsonPartition string
    — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
    offerId string
    osId string
    ext4Mountpoint string
    extraPartition boolean
    swap boolean
    id str
    The provider-assigned unique ID for this managed resource.
    json_partition str
    — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
    offer_id str
    os_id str
    ext4_mountpoint str
    extra_partition bool
    swap bool
    id String
    The provider-assigned unique ID for this managed resource.
    jsonPartition String
    — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
    offerId String
    osId String
    ext4Mountpoint String
    extraPartition Boolean
    swap Boolean

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.27.1 published on Wednesday, Apr 30, 2025 by pulumiverse