All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.alicloud.ecs.inputs.GetEcsNetworkInterfacesArgs Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing AliCloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.alicloud.ecs.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetEcsNetworkInterfacesArgs extends com.pulumi.resources.InvokeArgs {
public static final GetEcsNetworkInterfacesArgs Empty = new GetEcsNetworkInterfacesArgs();
/**
* A list of Network Interface IDs.
*
*/
@Import(name="ids")
private @Nullable Output> ids;
/**
* @return A list of Network Interface IDs.
*
*/
public Optional>> ids() {
return Optional.ofNullable(this.ids);
}
/**
* The instance id.
*
*/
@Import(name="instanceId")
private @Nullable Output instanceId;
/**
* @return The instance id.
*
*/
public Optional> instanceId() {
return Optional.ofNullable(this.instanceId);
}
/**
* Field `name` has been deprecated from provider version 1.123.1. New field `network_interface_name` instead
*
* @deprecated
* Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead
*
*/
@Deprecated /* Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead */
@Import(name="name")
private @Nullable Output name;
/**
* @return Field `name` has been deprecated from provider version 1.123.1. New field `network_interface_name` instead
*
* @deprecated
* Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead
*
*/
@Deprecated /* Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead */
public Optional> name() {
return Optional.ofNullable(this.name);
}
/**
* A regex string to filter results by Network Interface name.
*
*/
@Import(name="nameRegex")
private @Nullable Output nameRegex;
/**
* @return A regex string to filter results by Network Interface name.
*
*/
public Optional> nameRegex() {
return Optional.ofNullable(this.nameRegex);
}
/**
* The network interface name.
*
*/
@Import(name="networkInterfaceName")
private @Nullable Output networkInterfaceName;
/**
* @return The network interface name.
*
*/
public Optional> networkInterfaceName() {
return Optional.ofNullable(this.networkInterfaceName);
}
/**
* File name where to save data source results (after running `pulumi preview`).
*
*/
@Import(name="outputFile")
private @Nullable Output outputFile;
/**
* @return File name where to save data source results (after running `pulumi preview`).
*
*/
public Optional> outputFile() {
return Optional.ofNullable(this.outputFile);
}
/**
* The primary private IP address of the ENI.
*
*/
@Import(name="primaryIpAddress")
private @Nullable Output primaryIpAddress;
/**
* @return The primary private IP address of the ENI.
*
*/
public Optional> primaryIpAddress() {
return Optional.ofNullable(this.primaryIpAddress);
}
/**
* Field `private_ip` has been deprecated from provider version 1.123.1. New field `primary_ip_address` instead
*
* @deprecated
* Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead
*
*/
@Deprecated /* Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead */
@Import(name="privateIp")
private @Nullable Output privateIp;
/**
* @return Field `private_ip` has been deprecated from provider version 1.123.1. New field `primary_ip_address` instead
*
* @deprecated
* Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead
*
*/
@Deprecated /* Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead */
public Optional> privateIp() {
return Optional.ofNullable(this.privateIp);
}
/**
* The resource group id.
*
*/
@Import(name="resourceGroupId")
private @Nullable Output resourceGroupId;
/**
* @return The resource group id.
*
*/
public Optional> resourceGroupId() {
return Optional.ofNullable(this.resourceGroupId);
}
/**
* The security group id.
*
*/
@Import(name="securityGroupId")
private @Nullable Output securityGroupId;
/**
* @return The security group id.
*
*/
public Optional> securityGroupId() {
return Optional.ofNullable(this.securityGroupId);
}
/**
* Whether the user of the elastic network card is a cloud product or a virtual vendor.
*
*/
@Import(name="serviceManaged")
private @Nullable Output serviceManaged;
/**
* @return Whether the user of the elastic network card is a cloud product or a virtual vendor.
*
*/
public Optional> serviceManaged() {
return Optional.ofNullable(this.serviceManaged);
}
/**
* The status of ENI. Valid Values: `Attaching`, `Available`, `CreateFailed`, `Creating`, `Deleting`, `Detaching`, `InUse`, `Linked`, `Linking`, `Unlinking`.
*
*/
@Import(name="status")
private @Nullable Output status;
/**
* @return The status of ENI. Valid Values: `Attaching`, `Available`, `CreateFailed`, `Creating`, `Deleting`, `Detaching`, `InUse`, `Linked`, `Linking`, `Unlinking`.
*
*/
public Optional> status() {
return Optional.ofNullable(this.status);
}
/**
* A map of tags assigned to ENIs.
*
*/
@Import(name="tags")
private @Nullable Output> tags;
/**
* @return A map of tags assigned to ENIs.
*
*/
public Optional>> tags() {
return Optional.ofNullable(this.tags);
}
/**
* The type of ENI. Valid Values: `Primary`, `Secondary`.
*
*/
@Import(name="type")
private @Nullable Output type;
/**
* @return The type of ENI. Valid Values: `Primary`, `Secondary`.
*
*/
public Optional> type() {
return Optional.ofNullable(this.type);
}
/**
* The vpc id.
*
*/
@Import(name="vpcId")
private @Nullable Output vpcId;
/**
* @return The vpc id.
*
*/
public Optional> vpcId() {
return Optional.ofNullable(this.vpcId);
}
/**
* The vswitch id.
*
*/
@Import(name="vswitchId")
private @Nullable Output vswitchId;
/**
* @return The vswitch id.
*
*/
public Optional> vswitchId() {
return Optional.ofNullable(this.vswitchId);
}
private GetEcsNetworkInterfacesArgs() {}
private GetEcsNetworkInterfacesArgs(GetEcsNetworkInterfacesArgs $) {
this.ids = $.ids;
this.instanceId = $.instanceId;
this.name = $.name;
this.nameRegex = $.nameRegex;
this.networkInterfaceName = $.networkInterfaceName;
this.outputFile = $.outputFile;
this.primaryIpAddress = $.primaryIpAddress;
this.privateIp = $.privateIp;
this.resourceGroupId = $.resourceGroupId;
this.securityGroupId = $.securityGroupId;
this.serviceManaged = $.serviceManaged;
this.status = $.status;
this.tags = $.tags;
this.type = $.type;
this.vpcId = $.vpcId;
this.vswitchId = $.vswitchId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEcsNetworkInterfacesArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetEcsNetworkInterfacesArgs $;
public Builder() {
$ = new GetEcsNetworkInterfacesArgs();
}
public Builder(GetEcsNetworkInterfacesArgs defaults) {
$ = new GetEcsNetworkInterfacesArgs(Objects.requireNonNull(defaults));
}
/**
* @param ids A list of Network Interface IDs.
*
* @return builder
*
*/
public Builder ids(@Nullable Output> ids) {
$.ids = ids;
return this;
}
/**
* @param ids A list of Network Interface IDs.
*
* @return builder
*
*/
public Builder ids(List ids) {
return ids(Output.of(ids));
}
/**
* @param ids A list of Network Interface IDs.
*
* @return builder
*
*/
public Builder ids(String... ids) {
return ids(List.of(ids));
}
/**
* @param instanceId The instance id.
*
* @return builder
*
*/
public Builder instanceId(@Nullable Output instanceId) {
$.instanceId = instanceId;
return this;
}
/**
* @param instanceId The instance id.
*
* @return builder
*
*/
public Builder instanceId(String instanceId) {
return instanceId(Output.of(instanceId));
}
/**
* @param name Field `name` has been deprecated from provider version 1.123.1. New field `network_interface_name` instead
*
* @return builder
*
* @deprecated
* Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead
*
*/
@Deprecated /* Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead */
public Builder name(@Nullable Output name) {
$.name = name;
return this;
}
/**
* @param name Field `name` has been deprecated from provider version 1.123.1. New field `network_interface_name` instead
*
* @return builder
*
* @deprecated
* Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead
*
*/
@Deprecated /* Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead */
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param nameRegex A regex string to filter results by Network Interface name.
*
* @return builder
*
*/
public Builder nameRegex(@Nullable Output nameRegex) {
$.nameRegex = nameRegex;
return this;
}
/**
* @param nameRegex A regex string to filter results by Network Interface name.
*
* @return builder
*
*/
public Builder nameRegex(String nameRegex) {
return nameRegex(Output.of(nameRegex));
}
/**
* @param networkInterfaceName The network interface name.
*
* @return builder
*
*/
public Builder networkInterfaceName(@Nullable Output networkInterfaceName) {
$.networkInterfaceName = networkInterfaceName;
return this;
}
/**
* @param networkInterfaceName The network interface name.
*
* @return builder
*
*/
public Builder networkInterfaceName(String networkInterfaceName) {
return networkInterfaceName(Output.of(networkInterfaceName));
}
/**
* @param outputFile File name where to save data source results (after running `pulumi preview`).
*
* @return builder
*
*/
public Builder outputFile(@Nullable Output outputFile) {
$.outputFile = outputFile;
return this;
}
/**
* @param outputFile File name where to save data source results (after running `pulumi preview`).
*
* @return builder
*
*/
public Builder outputFile(String outputFile) {
return outputFile(Output.of(outputFile));
}
/**
* @param primaryIpAddress The primary private IP address of the ENI.
*
* @return builder
*
*/
public Builder primaryIpAddress(@Nullable Output primaryIpAddress) {
$.primaryIpAddress = primaryIpAddress;
return this;
}
/**
* @param primaryIpAddress The primary private IP address of the ENI.
*
* @return builder
*
*/
public Builder primaryIpAddress(String primaryIpAddress) {
return primaryIpAddress(Output.of(primaryIpAddress));
}
/**
* @param privateIp Field `private_ip` has been deprecated from provider version 1.123.1. New field `primary_ip_address` instead
*
* @return builder
*
* @deprecated
* Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead
*
*/
@Deprecated /* Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead */
public Builder privateIp(@Nullable Output privateIp) {
$.privateIp = privateIp;
return this;
}
/**
* @param privateIp Field `private_ip` has been deprecated from provider version 1.123.1. New field `primary_ip_address` instead
*
* @return builder
*
* @deprecated
* Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead
*
*/
@Deprecated /* Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead */
public Builder privateIp(String privateIp) {
return privateIp(Output.of(privateIp));
}
/**
* @param resourceGroupId The resource group id.
*
* @return builder
*
*/
public Builder resourceGroupId(@Nullable Output resourceGroupId) {
$.resourceGroupId = resourceGroupId;
return this;
}
/**
* @param resourceGroupId The resource group id.
*
* @return builder
*
*/
public Builder resourceGroupId(String resourceGroupId) {
return resourceGroupId(Output.of(resourceGroupId));
}
/**
* @param securityGroupId The security group id.
*
* @return builder
*
*/
public Builder securityGroupId(@Nullable Output securityGroupId) {
$.securityGroupId = securityGroupId;
return this;
}
/**
* @param securityGroupId The security group id.
*
* @return builder
*
*/
public Builder securityGroupId(String securityGroupId) {
return securityGroupId(Output.of(securityGroupId));
}
/**
* @param serviceManaged Whether the user of the elastic network card is a cloud product or a virtual vendor.
*
* @return builder
*
*/
public Builder serviceManaged(@Nullable Output serviceManaged) {
$.serviceManaged = serviceManaged;
return this;
}
/**
* @param serviceManaged Whether the user of the elastic network card is a cloud product or a virtual vendor.
*
* @return builder
*
*/
public Builder serviceManaged(Boolean serviceManaged) {
return serviceManaged(Output.of(serviceManaged));
}
/**
* @param status The status of ENI. Valid Values: `Attaching`, `Available`, `CreateFailed`, `Creating`, `Deleting`, `Detaching`, `InUse`, `Linked`, `Linking`, `Unlinking`.
*
* @return builder
*
*/
public Builder status(@Nullable Output status) {
$.status = status;
return this;
}
/**
* @param status The status of ENI. Valid Values: `Attaching`, `Available`, `CreateFailed`, `Creating`, `Deleting`, `Detaching`, `InUse`, `Linked`, `Linking`, `Unlinking`.
*
* @return builder
*
*/
public Builder status(String status) {
return status(Output.of(status));
}
/**
* @param tags A map of tags assigned to ENIs.
*
* @return builder
*
*/
public Builder tags(@Nullable Output> tags) {
$.tags = tags;
return this;
}
/**
* @param tags A map of tags assigned to ENIs.
*
* @return builder
*
*/
public Builder tags(Map tags) {
return tags(Output.of(tags));
}
/**
* @param type The type of ENI. Valid Values: `Primary`, `Secondary`.
*
* @return builder
*
*/
public Builder type(@Nullable Output type) {
$.type = type;
return this;
}
/**
* @param type The type of ENI. Valid Values: `Primary`, `Secondary`.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
/**
* @param vpcId The vpc id.
*
* @return builder
*
*/
public Builder vpcId(@Nullable Output vpcId) {
$.vpcId = vpcId;
return this;
}
/**
* @param vpcId The vpc id.
*
* @return builder
*
*/
public Builder vpcId(String vpcId) {
return vpcId(Output.of(vpcId));
}
/**
* @param vswitchId The vswitch id.
*
* @return builder
*
*/
public Builder vswitchId(@Nullable Output vswitchId) {
$.vswitchId = vswitchId;
return this;
}
/**
* @param vswitchId The vswitch id.
*
* @return builder
*
*/
public Builder vswitchId(String vswitchId) {
return vswitchId(Output.of(vswitchId));
}
public GetEcsNetworkInterfacesArgs build() {
return $;
}
}
}