get Vpds
This data source provides Eflo Vpd available to the user.What is Vpd
NOTE: Available in 1.201.0+
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eflo.EfloFunctions;
import com.pulumi.alicloud.eflo.inputs.GetVpdsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = EfloFunctions.getVpds(GetVpdsArgs.builder()
.ids(alicloud_eflo_vpd.default().id())
.nameRegex(alicloud_eflo_vpd.default().name())
.vpdName("RMC-Terraform-Test")
.build());
ctx.export("alicloudEfloVpdExampleId", default_.vpds()[0].id());
}
}
Content copied to clipboard
Return
A collection of values returned by getVpds.
Parameters
argument
A collection of arguments for invoking getVpds.
suspend fun getVpds(enableDetails: Boolean? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, resourceGroupId: String? = null, status: String? = null, vpdId: String? = null, vpdName: String? = null): GetVpdsResult
Return
A collection of values returned by getVpds.
See also
Parameters
enable Details
Default to false
. Set it to true
can output more details about resource attributes.
ids
A list of Vpd IDs.
name Regex
A regex string to filter results by Group Metric Rule name.
output File
File name where to save data source results (after running pulumi preview
).
page Number
page Size
resource Group Id
The Resource group id
status
The Vpd status. Valid values: Available
, Not Available
, Executing
, Deleting
,
vpd Id
The id of the vpd.
vpd Name
The Name of the VPD.
Return
A collection of values returned by getVpds.
See also
Parameters
argument
Builder for com.pulumi.alicloud.eflo.kotlin.inputs.GetVpdsPlainArgs.