1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsVirtualNetworkInterfaceFloatingIp
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.IsVirtualNetworkInterfaceFloatingIp

Explore with Pulumi AI

Create, read, and delete Virtual Network Interface Floating IP with this resource.

Example Usage

resource "ibm_is_virtual_network_interface_floating_ip" "vni_fip" {
  virtual_network_interface   =   ibm_is_virtual_network_interface.example.id
  floating_ip                 =   ibm_is_floating_ip.example.id
}

Create IsVirtualNetworkInterfaceFloatingIp Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IsVirtualNetworkInterfaceFloatingIp(name: string, args: IsVirtualNetworkInterfaceFloatingIpArgs, opts?: CustomResourceOptions);
@overload
def IsVirtualNetworkInterfaceFloatingIp(resource_name: str,
                                        args: IsVirtualNetworkInterfaceFloatingIpArgs,
                                        opts: Optional[ResourceOptions] = None)

@overload
def IsVirtualNetworkInterfaceFloatingIp(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        floating_ip: Optional[str] = None,
                                        virtual_network_interface: Optional[str] = None,
                                        is_virtual_network_interface_floating_ip_id: Optional[str] = None)
func NewIsVirtualNetworkInterfaceFloatingIp(ctx *Context, name string, args IsVirtualNetworkInterfaceFloatingIpArgs, opts ...ResourceOption) (*IsVirtualNetworkInterfaceFloatingIp, error)
public IsVirtualNetworkInterfaceFloatingIp(string name, IsVirtualNetworkInterfaceFloatingIpArgs args, CustomResourceOptions? opts = null)
public IsVirtualNetworkInterfaceFloatingIp(String name, IsVirtualNetworkInterfaceFloatingIpArgs args)
public IsVirtualNetworkInterfaceFloatingIp(String name, IsVirtualNetworkInterfaceFloatingIpArgs args, CustomResourceOptions options)
type: ibm:IsVirtualNetworkInterfaceFloatingIp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IsVirtualNetworkInterfaceFloatingIpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IsVirtualNetworkInterfaceFloatingIpArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IsVirtualNetworkInterfaceFloatingIpArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IsVirtualNetworkInterfaceFloatingIpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IsVirtualNetworkInterfaceFloatingIpArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var isVirtualNetworkInterfaceFloatingIpResource = new Ibm.IsVirtualNetworkInterfaceFloatingIp("isVirtualNetworkInterfaceFloatingIpResource", new()
{
    FloatingIp = "string",
    VirtualNetworkInterface = "string",
    IsVirtualNetworkInterfaceFloatingIpId = "string",
});
Copy
example, err := ibm.NewIsVirtualNetworkInterfaceFloatingIp(ctx, "isVirtualNetworkInterfaceFloatingIpResource", &ibm.IsVirtualNetworkInterfaceFloatingIpArgs{
FloatingIp: pulumi.String("string"),
VirtualNetworkInterface: pulumi.String("string"),
IsVirtualNetworkInterfaceFloatingIpId: pulumi.String("string"),
})
Copy
var isVirtualNetworkInterfaceFloatingIpResource = new IsVirtualNetworkInterfaceFloatingIp("isVirtualNetworkInterfaceFloatingIpResource", IsVirtualNetworkInterfaceFloatingIpArgs.builder()
    .floatingIp("string")
    .virtualNetworkInterface("string")
    .isVirtualNetworkInterfaceFloatingIpId("string")
    .build());
Copy
is_virtual_network_interface_floating_ip_resource = ibm.IsVirtualNetworkInterfaceFloatingIp("isVirtualNetworkInterfaceFloatingIpResource",
    floating_ip="string",
    virtual_network_interface="string",
    is_virtual_network_interface_floating_ip_id="string")
Copy
const isVirtualNetworkInterfaceFloatingIpResource = new ibm.IsVirtualNetworkInterfaceFloatingIp("isVirtualNetworkInterfaceFloatingIpResource", {
    floatingIp: "string",
    virtualNetworkInterface: "string",
    isVirtualNetworkInterfaceFloatingIpId: "string",
});
Copy
type: ibm:IsVirtualNetworkInterfaceFloatingIp
properties:
    floatingIp: string
    isVirtualNetworkInterfaceFloatingIpId: string
    virtualNetworkInterface: string
Copy

IsVirtualNetworkInterfaceFloatingIp Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IsVirtualNetworkInterfaceFloatingIp resource accepts the following input properties:

FloatingIp This property is required. string
The floating IP identifier
VirtualNetworkInterface This property is required. string
The virtual network interface identifier
IsVirtualNetworkInterfaceFloatingIpId string
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
FloatingIp This property is required. string
The floating IP identifier
VirtualNetworkInterface This property is required. string
The virtual network interface identifier
IsVirtualNetworkInterfaceFloatingIpId string
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
floatingIp This property is required. String
The floating IP identifier
virtualNetworkInterface This property is required. String
The virtual network interface identifier
isVirtualNetworkInterfaceFloatingIpId String
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
floatingIp This property is required. string
The floating IP identifier
virtualNetworkInterface This property is required. string
The virtual network interface identifier
isVirtualNetworkInterfaceFloatingIpId string
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
floating_ip This property is required. str
The floating IP identifier
virtual_network_interface This property is required. str
The virtual network interface identifier
is_virtual_network_interface_floating_ip_id str
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
floatingIp This property is required. String
The floating IP identifier
virtualNetworkInterface This property is required. String
The virtual network interface identifier
isVirtualNetworkInterfaceFloatingIpId String
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.

Outputs

All input properties are implicitly available as output properties. Additionally, the IsVirtualNetworkInterfaceFloatingIp resource produces the following output properties:

Address string
(String) The globally unique IP address.
Crn string
(String) The CRN for this floating IP.
Deleteds List<IsVirtualNetworkInterfaceFloatingIpDeleted>
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
Href string
(String) The URL for this floating IP.
Id string
The provider-assigned unique ID for this managed resource.
Name string
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
Address string
(String) The globally unique IP address.
Crn string
(String) The CRN for this floating IP.
Deleteds []IsVirtualNetworkInterfaceFloatingIpDeleted
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
Href string
(String) The URL for this floating IP.
Id string
The provider-assigned unique ID for this managed resource.
Name string
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
address String
(String) The globally unique IP address.
crn String
(String) The CRN for this floating IP.
deleteds List<IsVirtualNetworkInterfaceFloatingIpDeleted>
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
href String
(String) The URL for this floating IP.
id String
The provider-assigned unique ID for this managed resource.
name String
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
address string
(String) The globally unique IP address.
crn string
(String) The CRN for this floating IP.
deleteds IsVirtualNetworkInterfaceFloatingIpDeleted[]
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
href string
(String) The URL for this floating IP.
id string
The provider-assigned unique ID for this managed resource.
name string
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
address str
(String) The globally unique IP address.
crn str
(String) The CRN for this floating IP.
deleteds Sequence[IsVirtualNetworkInterfaceFloatingIpDeleted]
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
href str
(String) The URL for this floating IP.
id str
The provider-assigned unique ID for this managed resource.
name str
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
address String
(String) The globally unique IP address.
crn String
(String) The CRN for this floating IP.
deleteds List<Property Map>
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
href String
(String) The URL for this floating IP.
id String
The provider-assigned unique ID for this managed resource.
name String
(String) The name for this floating IP. The name is unique across all floating IPs in the region.

Look up Existing IsVirtualNetworkInterfaceFloatingIp Resource

Get an existing IsVirtualNetworkInterfaceFloatingIp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IsVirtualNetworkInterfaceFloatingIpState, opts?: CustomResourceOptions): IsVirtualNetworkInterfaceFloatingIp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address: Optional[str] = None,
        crn: Optional[str] = None,
        deleteds: Optional[Sequence[IsVirtualNetworkInterfaceFloatingIpDeletedArgs]] = None,
        floating_ip: Optional[str] = None,
        href: Optional[str] = None,
        is_virtual_network_interface_floating_ip_id: Optional[str] = None,
        name: Optional[str] = None,
        virtual_network_interface: Optional[str] = None) -> IsVirtualNetworkInterfaceFloatingIp
func GetIsVirtualNetworkInterfaceFloatingIp(ctx *Context, name string, id IDInput, state *IsVirtualNetworkInterfaceFloatingIpState, opts ...ResourceOption) (*IsVirtualNetworkInterfaceFloatingIp, error)
public static IsVirtualNetworkInterfaceFloatingIp Get(string name, Input<string> id, IsVirtualNetworkInterfaceFloatingIpState? state, CustomResourceOptions? opts = null)
public static IsVirtualNetworkInterfaceFloatingIp get(String name, Output<String> id, IsVirtualNetworkInterfaceFloatingIpState state, CustomResourceOptions options)
resources:  _:    type: ibm:IsVirtualNetworkInterfaceFloatingIp    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Address string
(String) The globally unique IP address.
Crn string
(String) The CRN for this floating IP.
Deleteds List<IsVirtualNetworkInterfaceFloatingIpDeleted>
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
FloatingIp string
The floating IP identifier
Href string
(String) The URL for this floating IP.
IsVirtualNetworkInterfaceFloatingIpId string
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
Name string
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
VirtualNetworkInterface string
The virtual network interface identifier
Address string
(String) The globally unique IP address.
Crn string
(String) The CRN for this floating IP.
Deleteds []IsVirtualNetworkInterfaceFloatingIpDeletedArgs
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
FloatingIp string
The floating IP identifier
Href string
(String) The URL for this floating IP.
IsVirtualNetworkInterfaceFloatingIpId string
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
Name string
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
VirtualNetworkInterface string
The virtual network interface identifier
address String
(String) The globally unique IP address.
crn String
(String) The CRN for this floating IP.
deleteds List<IsVirtualNetworkInterfaceFloatingIpDeleted>
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
floatingIp String
The floating IP identifier
href String
(String) The URL for this floating IP.
isVirtualNetworkInterfaceFloatingIpId String
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
name String
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
virtualNetworkInterface String
The virtual network interface identifier
address string
(String) The globally unique IP address.
crn string
(String) The CRN for this floating IP.
deleteds IsVirtualNetworkInterfaceFloatingIpDeleted[]
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
floatingIp string
The floating IP identifier
href string
(String) The URL for this floating IP.
isVirtualNetworkInterfaceFloatingIpId string
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
name string
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
virtualNetworkInterface string
The virtual network interface identifier
address str
(String) The globally unique IP address.
crn str
(String) The CRN for this floating IP.
deleteds Sequence[IsVirtualNetworkInterfaceFloatingIpDeletedArgs]
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
floating_ip str
The floating IP identifier
href str
(String) The URL for this floating IP.
is_virtual_network_interface_floating_ip_id str
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
name str
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
virtual_network_interface str
The virtual network interface identifier
address String
(String) The globally unique IP address.
crn String
(String) The CRN for this floating IP.
deleteds List<Property Map>
(List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
floatingIp String
The floating IP identifier
href String
(String) The URL for this floating IP.
isVirtualNetworkInterfaceFloatingIpId String
The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of <vni_id>/<floating_ip_id>.
name String
(String) The name for this floating IP. The name is unique across all floating IPs in the region.
virtualNetworkInterface String
The virtual network interface identifier

Supporting Types

IsVirtualNetworkInterfaceFloatingIpDeleted
, IsVirtualNetworkInterfaceFloatingIpDeletedArgs

MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.
moreInfo This property is required. string
(String) Link to documentation about deleted resources.
more_info This property is required. str
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.

Import

You can import the ibm_is_virtual_network_interface_floating_ip resource by using < vni_id >/< floating_ip_id > combination. The unique identifier for this floating IP.

Syntax

$ pulumi import ibm:index/isVirtualNetworkInterfaceFloatingIp:IsVirtualNetworkInterfaceFloatingIp vni_fip < vni_id >/< floating_ip_id >
Copy

Example

$ pulumi import ibm:index/isVirtualNetworkInterfaceFloatingIp:IsVirtualNetworkInterfaceFloatingIp <!-- ibm_is_virtual_network_interface_floating_ip.vni_fip 39300233-9995-4806-89a5-3c1b6eb8868939300233-9995-4806-89a5-3c1b6eb88689 -->
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.