ibm.IsSubnetReservedIp
Explore with Pulumi AI
Create, update, or delete a subnet reserved IP. For more information, about associated reserved IP subnet, see reserved IP subnet.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
}
}
{}
Create IsSubnetReservedIp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsSubnetReservedIp(name: string, args: IsSubnetReservedIpArgs, opts?: CustomResourceOptions);
@overload
def IsSubnetReservedIp(resource_name: str,
args: IsSubnetReservedIpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsSubnetReservedIp(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet: Optional[str] = None,
address: Optional[str] = None,
auto_delete: Optional[bool] = None,
is_subnet_reserved_ip_id: Optional[str] = None,
name: Optional[str] = None,
target: Optional[str] = None,
target_crn: Optional[str] = None,
timeouts: Optional[IsSubnetReservedIpTimeoutsArgs] = None)
func NewIsSubnetReservedIp(ctx *Context, name string, args IsSubnetReservedIpArgs, opts ...ResourceOption) (*IsSubnetReservedIp, error)
public IsSubnetReservedIp(string name, IsSubnetReservedIpArgs args, CustomResourceOptions? opts = null)
public IsSubnetReservedIp(String name, IsSubnetReservedIpArgs args)
public IsSubnetReservedIp(String name, IsSubnetReservedIpArgs args, CustomResourceOptions options)
type: ibm:IsSubnetReservedIp
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 IsSubnetReservedIpArgs
- 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 IsSubnetReservedIpArgs
- 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 IsSubnetReservedIpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsSubnetReservedIpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsSubnetReservedIpArgs
- 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 isSubnetReservedIpResource = new Ibm.IsSubnetReservedIp("isSubnetReservedIpResource", new()
{
Subnet = "string",
Address = "string",
AutoDelete = false,
IsSubnetReservedIpId = "string",
Name = "string",
Target = "string",
TargetCrn = "string",
Timeouts = new Ibm.Inputs.IsSubnetReservedIpTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := ibm.NewIsSubnetReservedIp(ctx, "isSubnetReservedIpResource", &ibm.IsSubnetReservedIpArgs{
Subnet: pulumi.String("string"),
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
IsSubnetReservedIpId: pulumi.String("string"),
Name: pulumi.String("string"),
Target: pulumi.String("string"),
TargetCrn: pulumi.String("string"),
Timeouts: &ibm.IsSubnetReservedIpTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var isSubnetReservedIpResource = new IsSubnetReservedIp("isSubnetReservedIpResource", IsSubnetReservedIpArgs.builder()
.subnet("string")
.address("string")
.autoDelete(false)
.isSubnetReservedIpId("string")
.name("string")
.target("string")
.targetCrn("string")
.timeouts(IsSubnetReservedIpTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
is_subnet_reserved_ip_resource = ibm.IsSubnetReservedIp("isSubnetReservedIpResource",
subnet="string",
address="string",
auto_delete=False,
is_subnet_reserved_ip_id="string",
name="string",
target="string",
target_crn="string",
timeouts={
"create": "string",
"delete": "string",
})
const isSubnetReservedIpResource = new ibm.IsSubnetReservedIp("isSubnetReservedIpResource", {
subnet: "string",
address: "string",
autoDelete: false,
isSubnetReservedIpId: "string",
name: "string",
target: "string",
targetCrn: "string",
timeouts: {
create: "string",
"delete": "string",
},
});
type: ibm:IsSubnetReservedIp
properties:
address: string
autoDelete: false
isSubnetReservedIpId: string
name: string
subnet: string
target: string
targetCrn: string
timeouts:
create: string
delete: string
IsSubnetReservedIp 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 IsSubnetReservedIp resource accepts the following input properties:
- Subnet string
- The subnet ID for the reserved IP.
- Address string
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- Is
Subnet stringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- Name string
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- Target string
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- Target
Crn string - (String) The crn of the target for the reserved IP.
- Timeouts
Is
Subnet Reserved Ip Timeouts
- Subnet string
- The subnet ID for the reserved IP.
- Address string
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- Is
Subnet stringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- Name string
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- Target string
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- Target
Crn string - (String) The crn of the target for the reserved IP.
- Timeouts
Is
Subnet Reserved Ip Timeouts Args
- subnet String
- The subnet ID for the reserved IP.
- address String
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- is
Subnet StringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- name String
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- target String
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- target
Crn String - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Timeouts
- subnet string
- The subnet ID for the reserved IP.
- address string
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- is
Subnet stringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- name string
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- target string
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- target
Crn string - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Timeouts
- subnet str
- The subnet ID for the reserved IP.
- address str
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- is_
subnet_ strreserved_ ip_ id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- name str
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- target str
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- target_
crn str - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Timeouts Args
- subnet String
- The subnet ID for the reserved IP.
- address String
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- is
Subnet StringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- name String
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- target String
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- target
Crn String - (String) The crn of the target for the reserved IP.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IsSubnetReservedIp resource produces the following output properties:
- Created
At string - (Timestamp) The date and time that the reserved IP was created.",
- Href string
- (String) The URL for this reserved IP.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- Owner string
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- Reserved
Ip string - (String) The unique identifier for this reserved IP.
- Resource
Type string - (String) The resource type.
- Created
At string - (Timestamp) The date and time that the reserved IP was created.",
- Href string
- (String) The URL for this reserved IP.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- Owner string
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- Reserved
Ip string - (String) The unique identifier for this reserved IP.
- Resource
Type string - (String) The resource type.
- created
At String - (Timestamp) The date and time that the reserved IP was created.",
- href String
- (String) The URL for this reserved IP.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- owner String
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- reserved
Ip String - (String) The unique identifier for this reserved IP.
- resource
Type String - (String) The resource type.
- created
At string - (Timestamp) The date and time that the reserved IP was created.",
- href string
- (String) The URL for this reserved IP.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- owner string
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- reserved
Ip string - (String) The unique identifier for this reserved IP.
- resource
Type string - (String) The resource type.
- created_
at str - (Timestamp) The date and time that the reserved IP was created.",
- href str
- (String) The URL for this reserved IP.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- owner str
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- reserved_
ip str - (String) The unique identifier for this reserved IP.
- resource_
type str - (String) The resource type.
- created
At String - (Timestamp) The date and time that the reserved IP was created.",
- href String
- (String) The URL for this reserved IP.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- owner String
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- reserved
Ip String - (String) The unique identifier for this reserved IP.
- resource
Type String - (String) The resource type.
Look up Existing IsSubnetReservedIp Resource
Get an existing IsSubnetReservedIp 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?: IsSubnetReservedIpState, opts?: CustomResourceOptions): IsSubnetReservedIp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
auto_delete: Optional[bool] = None,
created_at: Optional[str] = None,
href: Optional[str] = None,
is_subnet_reserved_ip_id: Optional[str] = None,
lifecycle_state: Optional[str] = None,
name: Optional[str] = None,
owner: Optional[str] = None,
reserved_ip: Optional[str] = None,
resource_type: Optional[str] = None,
subnet: Optional[str] = None,
target: Optional[str] = None,
target_crn: Optional[str] = None,
timeouts: Optional[IsSubnetReservedIpTimeoutsArgs] = None) -> IsSubnetReservedIp
func GetIsSubnetReservedIp(ctx *Context, name string, id IDInput, state *IsSubnetReservedIpState, opts ...ResourceOption) (*IsSubnetReservedIp, error)
public static IsSubnetReservedIp Get(string name, Input<string> id, IsSubnetReservedIpState? state, CustomResourceOptions? opts = null)
public static IsSubnetReservedIp get(String name, Output<String> id, IsSubnetReservedIpState state, CustomResourceOptions options)
resources: _: type: ibm:IsSubnetReservedIp 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
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- Created
At string - (Timestamp) The date and time that the reserved IP was created.",
- Href string
- (String) The URL for this reserved IP.
- Is
Subnet stringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- Lifecycle
State string - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- Name string
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- Owner string
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- Reserved
Ip string - (String) The unique identifier for this reserved IP.
- Resource
Type string - (String) The resource type.
- Subnet string
- The subnet ID for the reserved IP.
- Target string
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- Target
Crn string - (String) The crn of the target for the reserved IP.
- Timeouts
Is
Subnet Reserved Ip Timeouts
- Address string
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- Auto
Delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- Created
At string - (Timestamp) The date and time that the reserved IP was created.",
- Href string
- (String) The URL for this reserved IP.
- Is
Subnet stringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- Lifecycle
State string - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- Name string
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- Owner string
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- Reserved
Ip string - (String) The unique identifier for this reserved IP.
- Resource
Type string - (String) The resource type.
- Subnet string
- The subnet ID for the reserved IP.
- Target string
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- Target
Crn string - (String) The crn of the target for the reserved IP.
- Timeouts
Is
Subnet Reserved Ip Timeouts Args
- address String
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- created
At String - (Timestamp) The date and time that the reserved IP was created.",
- href String
- (String) The URL for this reserved IP.
- is
Subnet StringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- lifecycle
State String - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- name String
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- owner String
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- reserved
Ip String - (String) The unique identifier for this reserved IP.
- resource
Type String - (String) The resource type.
- subnet String
- The subnet ID for the reserved IP.
- target String
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- target
Crn String - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Timeouts
- address string
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- created
At string - (Timestamp) The date and time that the reserved IP was created.",
- href string
- (String) The URL for this reserved IP.
- is
Subnet stringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- lifecycle
State string - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- name string
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- owner string
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- reserved
Ip string - (String) The unique identifier for this reserved IP.
- resource
Type string - (String) The resource type.
- subnet string
- The subnet ID for the reserved IP.
- target string
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- target
Crn string - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Timeouts
- address str
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- auto_
delete bool - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- created_
at str - (Timestamp) The date and time that the reserved IP was created.",
- href str
- (String) The URL for this reserved IP.
- is_
subnet_ strreserved_ ip_ id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- lifecycle_
state str - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- name str
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- owner str
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- reserved_
ip str - (String) The unique identifier for this reserved IP.
- resource_
type str - (String) The resource type.
- subnet str
- The subnet ID for the reserved IP.
- target str
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- target_
crn str - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Timeouts Args
- address String
- The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
- auto
Delete Boolean - Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Must be false if the reserved IP is unbound.
- created
At String - (Timestamp) The date and time that the reserved IP was created.",
- href String
- (String) The URL for this reserved IP.
- is
Subnet StringReserved Ip Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- lifecycle
State String - (String) The lifecycle state of the reserved IP. [ deleting, failed, pending, stable, suspended, updating, waiting ]
- name String
The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
NOTE: raise error if name is given with a prefix
ibm-
.- owner String
- (String) The owner of a reserved IP, defining whether it is managed by the user or the provider.
- reserved
Ip String - (String) The unique identifier for this reserved IP.
- resource
Type String - (String) The resource type.
- subnet String
- The subnet ID for the reserved IP.
- target String
- The target to bind this reserved IP to. The target must be in the same VPC. If unspecified, the reserved IP will be created unbound. The following targets are supported:
- An endpoint gateway not already bound to a reserved IP in the subnet's zone.
- A virtual network interface.
- target
Crn String - (String) The crn of the target for the reserved IP.
- timeouts Property Map
Supporting Types
IsSubnetReservedIpTimeouts, IsSubnetReservedIpTimeoutsArgs
Import
The ibm_is_subnet_reserved_ip
resource can be imported by using subnet ID and reserved IP ID separated by /.
Syntax
$ pulumi import ibm:index/isSubnetReservedIp:IsSubnetReservedIp example <subnet_ID>/<subnet_reserved_IP_ID>
Example
$ pulumi import ibm:index/isSubnetReservedIp:IsSubnetReservedIp example 0716-13315ad8-d355-4041-bb60-62342000423/0716-617de4d8-5e2f-4d4a-b0d6-1000023
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.