scaleway.elasticmetal.getEasyPartitioning
Explore with Pulumi AI
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:
- Offer
Id string - The UUID of the BareMetal offer.
- Os
Id 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.
- Extra
Partition bool - Whether to add an extra ext4 data partition.
- Swap bool
- Whether to include a swap partition.
- Offer
Id string - The UUID of the BareMetal offer.
- Os
Id 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.
- Extra
Partition bool - Whether to add an extra ext4 data partition.
- Swap bool
- Whether to include a swap partition.
- offer
Id String - The UUID of the BareMetal offer.
- os
Id 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.
- extra
Partition Boolean - Whether to add an extra ext4 data partition.
- swap Boolean
- Whether to include a swap partition.
- offer
Id string - The UUID of the BareMetal offer.
- os
Id 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.
- extra
Partition 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.
- offer
Id String - The UUID of the BareMetal offer.
- os
Id 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.
- extra
Partition 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.
- Json
Partition string - — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
- Offer
Id string - Os
Id string - Ext4Mountpoint string
- Extra
Partition bool - Swap bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Json
Partition string - — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
- Offer
Id string - Os
Id string - Ext4Mountpoint string
- Extra
Partition bool - Swap bool
- id String
- The provider-assigned unique ID for this managed resource.
- json
Partition String - — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
- offer
Id String - os
Id String - ext4Mountpoint String
- extra
Partition Boolean - swap Boolean
- id string
- The provider-assigned unique ID for this managed resource.
- json
Partition string - — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
- offer
Id string - os
Id string - ext4Mountpoint string
- extra
Partition 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.
- json
Partition String - — A validated partitioning schema in JSON format that can be directly used for BareMetal server deployment.
- offer
Id String - os
Id String - ext4Mountpoint String
- extra
Partition 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.