get Eips
Deprecated
This function has been deprecated in favour of the getEipAddresses function
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetEipsArgs;
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 eipsDs = EcsFunctions.getEips();
ctx.export("firstEipId", eipsDs.applyValue(getEipsResult -> getEipsResult.eips()[0].id()));
}
}
Content copied to clipboard
Return
A collection of values returned by getEips.
Parameters
argument
A collection of arguments for invoking getEips.
suspend fun getEips(addressName: String? = null, associatedInstanceId: String? = null, associatedInstanceType: String? = null, dryRun: Boolean? = null, enableDetails: Boolean? = null, ids: List<String>? = null, includeReservationData: Boolean? = null, ipAddress: String? = null, ipAddresses: List<String>? = null, isp: String? = null, lockReason: String? = null, nameRegex: String? = null, outputFile: String? = null, paymentType: String? = null, resourceGroupId: String? = null, segmentInstanceId: String? = null, status: String? = null, tags: Map<String, Any>? = null): GetEipsResult
Deprecated
This function has been deprecated in favour of the getEipAddresses function
Return
A collection of values returned by getEips.
See also
Parameters
address Name
associated Instance Id
associated Instance Type
dry Run
enable Details
ids
A list of EIP IDs.
include Reservation Data
ip Address
Public IP Address of the the EIP.
ip Addresses
A list of EIP public IP addresses.
isp
lock Reason
name Regex
output File
payment Type
resource Group Id
The Id of resource group which the eips belongs.
segment Instance Id
status
EIP status. Possible values are: Associating
, Unassociating
, InUse
and Available
.
tags
A mapping of tags to assign to the resource.
Deprecated
This function has been deprecated in favour of the getEipAddresses function
Return
A collection of values returned by getEips.
See also
Parameters
argument
Builder for com.pulumi.alicloud.ecs.kotlin.inputs.GetEipsPlainArgs.