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 string
- The unique name of the resource.
- args IsVirtualNetworkInterfaceFloatingIpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args IsVirtualNetworkInterfaceFloatingIpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsVirtualNetworkInterfaceFloatingIpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := ibm.NewIsVirtualNetworkInterfaceFloatingIp(ctx, "isVirtualNetworkInterfaceFloatingIpResource", &ibm.IsVirtualNetworkInterfaceFloatingIpArgs{
FloatingIp: pulumi.String("string"),
VirtualNetworkInterface: pulumi.String("string"),
IsVirtualNetworkInterfaceFloatingIpId: pulumi.String("string"),
})
var isVirtualNetworkInterfaceFloatingIpResource = new IsVirtualNetworkInterfaceFloatingIp("isVirtualNetworkInterfaceFloatingIpResource", IsVirtualNetworkInterfaceFloatingIpArgs.builder()
.floatingIp("string")
.virtualNetworkInterface("string")
.isVirtualNetworkInterfaceFloatingIpId("string")
.build());
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")
const isVirtualNetworkInterfaceFloatingIpResource = new ibm.IsVirtualNetworkInterfaceFloatingIp("isVirtualNetworkInterfaceFloatingIpResource", {
floatingIp: "string",
virtualNetworkInterface: "string",
isVirtualNetworkInterfaceFloatingIpId: "string",
});
type: ibm:IsVirtualNetworkInterfaceFloatingIp
properties:
floatingIp: string
isVirtualNetworkInterfaceFloatingIpId: string
virtualNetworkInterface: string
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:
- Floating
Ip string - The floating IP identifier
- Virtual
Network stringInterface - The virtual network interface identifier
- Is
Virtual stringNetwork Interface Floating Ip Id - The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of
<vni_id>/<floating_ip_id>
.
- Floating
Ip string - The floating IP identifier
- Virtual
Network stringInterface - The virtual network interface identifier
- Is
Virtual stringNetwork Interface Floating Ip Id - The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of
<vni_id>/<floating_ip_id>
.
- floating
Ip String - The floating IP identifier
- virtual
Network StringInterface - The virtual network interface identifier
- is
Virtual StringNetwork Interface Floating Ip Id - The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of
<vni_id>/<floating_ip_id>
.
- floating
Ip string - The floating IP identifier
- virtual
Network stringInterface - The virtual network interface identifier
- is
Virtual stringNetwork Interface Floating Ip Id - The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of
<vni_id>/<floating_ip_id>
.
- floating_
ip str - The floating IP identifier
- virtual_
network_ strinterface - The virtual network interface identifier
- is_
virtual_ strnetwork_ interface_ floating_ ip_ id - The unique identifier of the VirtualNetworkInterfaceFloatingIP. The ID is composed of
<vni_id>/<floating_ip_id>
.
- floating
Ip String - The floating IP identifier
- virtual
Network StringInterface - The virtual network interface identifier
- is
Virtual StringNetwork Interface Floating Ip Id - 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<Is
Virtual Network Interface Floating Ip Deleted> - (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
[]Is
Virtual Network Interface Floating Ip Deleted - (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<Is
Virtual Network Interface Floating Ip Deleted> - (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
Is
Virtual Network Interface Floating Ip Deleted[] - (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[Is
Virtual Network Interface Floating Ip Deleted] - (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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Address string
- (String) The globally unique IP address.
- Crn string
- (String) The CRN for this floating IP.
- Deleteds
List<Is
Virtual Network Interface Floating Ip Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- Floating
Ip string - The floating IP identifier
- Href string
- (String) The URL for this floating IP.
- Is
Virtual stringNetwork Interface Floating Ip Id - 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.
- Virtual
Network stringInterface - The virtual network interface identifier
- Address string
- (String) The globally unique IP address.
- Crn string
- (String) The CRN for this floating IP.
- Deleteds
[]Is
Virtual Network Interface Floating Ip Deleted Args - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- Floating
Ip string - The floating IP identifier
- Href string
- (String) The URL for this floating IP.
- Is
Virtual stringNetwork Interface Floating Ip Id - 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.
- Virtual
Network stringInterface - The virtual network interface identifier
- address String
- (String) The globally unique IP address.
- crn String
- (String) The CRN for this floating IP.
- deleteds
List<Is
Virtual Network Interface Floating Ip Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- floating
Ip String - The floating IP identifier
- href String
- (String) The URL for this floating IP.
- is
Virtual StringNetwork Interface Floating Ip Id - 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.
- virtual
Network StringInterface - The virtual network interface identifier
- address string
- (String) The globally unique IP address.
- crn string
- (String) The CRN for this floating IP.
- deleteds
Is
Virtual Network Interface Floating Ip Deleted[] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
- floating
Ip string - The floating IP identifier
- href string
- (String) The URL for this floating IP.
- is
Virtual stringNetwork Interface Floating Ip Id - 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.
- virtual
Network stringInterface - The virtual network interface identifier
- address str
- (String) The globally unique IP address.
- crn str
- (String) The CRN for this floating IP.
- deleteds
Sequence[Is
Virtual Network Interface Floating Ip Deleted Args] - (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_ strnetwork_ interface_ floating_ ip_ id - 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_ strinterface - 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:
- floating
Ip String - The floating IP identifier
- href String
- (String) The URL for this floating IP.
- is
Virtual StringNetwork Interface Floating Ip Id - 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.
- virtual
Network StringInterface - The virtual network interface identifier
Supporting Types
IsVirtualNetworkInterfaceFloatingIpDeleted, IsVirtualNetworkInterfaceFloatingIpDeletedArgs
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info 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 >
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 -->
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.