ibm.IsSubnetReservedIpPatch
Explore with Pulumi AI
Update name and/or auto_delete of an existing reserved ip. For more information, about associated reserved IP subnet, see reserved IP subnet.
NOTE: Use this resource with caution, conflicts with
ibm.IsSubnetReservedIp
resource if it hasname
attribute, using both will show changes on either of the resources alternatively on each apply.
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) {
}
}
{}
Example Usage
Sample to create a reserved IP:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
// Create a VPC
const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
// Create a subnet
const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
vpc: exampleIsVpc.isVpcId,
zone: "us-south-1",
totalIpv4AddressCount: 256,
});
const exampleIsSubnetReservedIp = new ibm.IsSubnetReservedIp("exampleIsSubnetReservedIp", {subnet: exampleIsSubnet.isSubnetId});
const exampleIsSubnetReservedIpPatch = new ibm.IsSubnetReservedIpPatch("exampleIsSubnetReservedIpPatch", {
subnet: exampleIsSubnet.isSubnetId,
reservedIp: exampleIsSubnetReservedIp.reservedIp,
autoDelete: true,
});
import pulumi
import pulumi_ibm as ibm
# Create a VPC
example_is_vpc = ibm.IsVpc("exampleIsVpc")
# Create a subnet
example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
vpc=example_is_vpc.is_vpc_id,
zone="us-south-1",
total_ipv4_address_count=256)
example_is_subnet_reserved_ip = ibm.IsSubnetReservedIp("exampleIsSubnetReservedIp", subnet=example_is_subnet.is_subnet_id)
example_is_subnet_reserved_ip_patch = ibm.IsSubnetReservedIpPatch("exampleIsSubnetReservedIpPatch",
subnet=example_is_subnet.is_subnet_id,
reserved_ip=example_is_subnet_reserved_ip.reserved_ip,
auto_delete=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a VPC
exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
if err != nil {
return err
}
// Create a subnet
exampleIsSubnet, err := ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
Vpc: exampleIsVpc.IsVpcId,
Zone: pulumi.String("us-south-1"),
TotalIpv4AddressCount: pulumi.Float64(256),
})
if err != nil {
return err
}
exampleIsSubnetReservedIp, err := ibm.NewIsSubnetReservedIp(ctx, "exampleIsSubnetReservedIp", &ibm.IsSubnetReservedIpArgs{
Subnet: exampleIsSubnet.IsSubnetId,
})
if err != nil {
return err
}
_, err = ibm.NewIsSubnetReservedIpPatch(ctx, "exampleIsSubnetReservedIpPatch", &ibm.IsSubnetReservedIpPatchArgs{
Subnet: exampleIsSubnet.IsSubnetId,
ReservedIp: exampleIsSubnetReservedIp.ReservedIp,
AutoDelete: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
// Create a VPC
var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
// Create a subnet
var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
{
Vpc = exampleIsVpc.IsVpcId,
Zone = "us-south-1",
TotalIpv4AddressCount = 256,
});
var exampleIsSubnetReservedIp = new Ibm.IsSubnetReservedIp("exampleIsSubnetReservedIp", new()
{
Subnet = exampleIsSubnet.IsSubnetId,
});
var exampleIsSubnetReservedIpPatch = new Ibm.IsSubnetReservedIpPatch("exampleIsSubnetReservedIpPatch", new()
{
Subnet = exampleIsSubnet.IsSubnetId,
ReservedIp = exampleIsSubnetReservedIp.ReservedIp,
AutoDelete = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsSubnetReservedIp;
import com.pulumi.ibm.IsSubnetReservedIpArgs;
import com.pulumi.ibm.IsSubnetReservedIpPatch;
import com.pulumi.ibm.IsSubnetReservedIpPatchArgs;
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 a VPC
var exampleIsVpc = new IsVpc("exampleIsVpc");
// Create a subnet
var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
.vpc(exampleIsVpc.isVpcId())
.zone("us-south-1")
.totalIpv4AddressCount(256)
.build());
var exampleIsSubnetReservedIp = new IsSubnetReservedIp("exampleIsSubnetReservedIp", IsSubnetReservedIpArgs.builder()
.subnet(exampleIsSubnet.isSubnetId())
.build());
var exampleIsSubnetReservedIpPatch = new IsSubnetReservedIpPatch("exampleIsSubnetReservedIpPatch", IsSubnetReservedIpPatchArgs.builder()
.subnet(exampleIsSubnet.isSubnetId())
.reservedIp(exampleIsSubnetReservedIp.reservedIp())
.autoDelete("true")
.build());
}
}
resources:
# Create a VPC
exampleIsVpc:
type: ibm:IsVpc
# Create a subnet
exampleIsSubnet:
type: ibm:IsSubnet
properties:
vpc: ${exampleIsVpc.isVpcId}
zone: us-south-1
totalIpv4AddressCount: 256
exampleIsSubnetReservedIp:
type: ibm:IsSubnetReservedIp
properties:
subnet: ${exampleIsSubnet.isSubnetId}
exampleIsSubnetReservedIpPatch:
type: ibm:IsSubnetReservedIpPatch
properties:
subnet: ${exampleIsSubnet.isSubnetId}
reservedIp: ${exampleIsSubnetReservedIp.reservedIp}
autoDelete: 'true'
Create IsSubnetReservedIpPatch Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsSubnetReservedIpPatch(name: string, args: IsSubnetReservedIpPatchArgs, opts?: CustomResourceOptions);
@overload
def IsSubnetReservedIpPatch(resource_name: str,
args: IsSubnetReservedIpPatchArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsSubnetReservedIpPatch(resource_name: str,
opts: Optional[ResourceOptions] = None,
reserved_ip: Optional[str] = None,
subnet: Optional[str] = None,
address: Optional[str] = None,
auto_delete: Optional[bool] = None,
is_subnet_reserved_ip_patch_id: Optional[str] = None,
name: Optional[str] = None,
target: Optional[str] = None,
target_crn: Optional[str] = None,
timeouts: Optional[IsSubnetReservedIpPatchTimeoutsArgs] = None)
func NewIsSubnetReservedIpPatch(ctx *Context, name string, args IsSubnetReservedIpPatchArgs, opts ...ResourceOption) (*IsSubnetReservedIpPatch, error)
public IsSubnetReservedIpPatch(string name, IsSubnetReservedIpPatchArgs args, CustomResourceOptions? opts = null)
public IsSubnetReservedIpPatch(String name, IsSubnetReservedIpPatchArgs args)
public IsSubnetReservedIpPatch(String name, IsSubnetReservedIpPatchArgs args, CustomResourceOptions options)
type: ibm:IsSubnetReservedIpPatch
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 IsSubnetReservedIpPatchArgs
- 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 IsSubnetReservedIpPatchArgs
- 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 IsSubnetReservedIpPatchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsSubnetReservedIpPatchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsSubnetReservedIpPatchArgs
- 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 isSubnetReservedIpPatchResource = new Ibm.IsSubnetReservedIpPatch("isSubnetReservedIpPatchResource", new()
{
ReservedIp = "string",
Subnet = "string",
Address = "string",
AutoDelete = false,
IsSubnetReservedIpPatchId = "string",
Name = "string",
Target = "string",
TargetCrn = "string",
Timeouts = new Ibm.Inputs.IsSubnetReservedIpPatchTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := ibm.NewIsSubnetReservedIpPatch(ctx, "isSubnetReservedIpPatchResource", &ibm.IsSubnetReservedIpPatchArgs{
ReservedIp: pulumi.String("string"),
Subnet: pulumi.String("string"),
Address: pulumi.String("string"),
AutoDelete: pulumi.Bool(false),
IsSubnetReservedIpPatchId: pulumi.String("string"),
Name: pulumi.String("string"),
Target: pulumi.String("string"),
TargetCrn: pulumi.String("string"),
Timeouts: &ibm.IsSubnetReservedIpPatchTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var isSubnetReservedIpPatchResource = new IsSubnetReservedIpPatch("isSubnetReservedIpPatchResource", IsSubnetReservedIpPatchArgs.builder()
.reservedIp("string")
.subnet("string")
.address("string")
.autoDelete(false)
.isSubnetReservedIpPatchId("string")
.name("string")
.target("string")
.targetCrn("string")
.timeouts(IsSubnetReservedIpPatchTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
is_subnet_reserved_ip_patch_resource = ibm.IsSubnetReservedIpPatch("isSubnetReservedIpPatchResource",
reserved_ip="string",
subnet="string",
address="string",
auto_delete=False,
is_subnet_reserved_ip_patch_id="string",
name="string",
target="string",
target_crn="string",
timeouts={
"create": "string",
"delete": "string",
})
const isSubnetReservedIpPatchResource = new ibm.IsSubnetReservedIpPatch("isSubnetReservedIpPatchResource", {
reservedIp: "string",
subnet: "string",
address: "string",
autoDelete: false,
isSubnetReservedIpPatchId: "string",
name: "string",
target: "string",
targetCrn: "string",
timeouts: {
create: "string",
"delete": "string",
},
});
type: ibm:IsSubnetReservedIpPatch
properties:
address: string
autoDelete: false
isSubnetReservedIpPatchId: string
name: string
reservedIp: string
subnet: string
target: string
targetCrn: string
timeouts:
create: string
delete: string
IsSubnetReservedIpPatch 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 IsSubnetReservedIpPatch resource accepts the following input properties:
- Reserved
Ip string - The ID for the reserved IP.
- Subnet string
- The subnet ID for the reserved IP.
- Address string
- The address for this reserved IP.
- Auto
Delete bool - If reserved IP is auto deleted.
- Is
Subnet stringReserved Ip Patch Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- Name string
The name of the reserved IP.
NOTE: raise error if name is given with a prefix
ibm-
.- Target string
- (String) The ID for the target for the reserved IP.
- Target
Crn string - (String) The crn of the target for the reserved IP.
- Timeouts
Is
Subnet Reserved Ip Patch Timeouts
- Reserved
Ip string - The ID for the reserved IP.
- Subnet string
- The subnet ID for the reserved IP.
- Address string
- The address for this reserved IP.
- Auto
Delete bool - If reserved IP is auto deleted.
- Is
Subnet stringReserved Ip Patch Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- Name string
The name of the reserved IP.
NOTE: raise error if name is given with a prefix
ibm-
.- Target string
- (String) The ID for the target for the reserved IP.
- Target
Crn string - (String) The crn of the target for the reserved IP.
- Timeouts
Is
Subnet Reserved Ip Patch Timeouts Args
- reserved
Ip String - The ID for the reserved IP.
- subnet String
- The subnet ID for the reserved IP.
- address String
- The address for this reserved IP.
- auto
Delete Boolean - If reserved IP is auto deleted.
- is
Subnet StringReserved Ip Patch Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- name String
The name of the reserved IP.
NOTE: raise error if name is given with a prefix
ibm-
.- target String
- (String) The ID for the target for the reserved IP.
- target
Crn String - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Patch Timeouts
- reserved
Ip string - The ID for the reserved IP.
- subnet string
- The subnet ID for the reserved IP.
- address string
- The address for this reserved IP.
- auto
Delete boolean - If reserved IP is auto deleted.
- is
Subnet stringReserved Ip Patch Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- name string
The name of the reserved IP.
NOTE: raise error if name is given with a prefix
ibm-
.- target string
- (String) The ID for the target for the reserved IP.
- target
Crn string - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Patch Timeouts
- reserved_
ip str - The ID for the reserved IP.
- subnet str
- The subnet ID for the reserved IP.
- address str
- The address for this reserved IP.
- auto_
delete bool - If reserved IP is auto deleted.
- is_
subnet_ strreserved_ ip_ patch_ id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- name str
The name of the reserved IP.
NOTE: raise error if name is given with a prefix
ibm-
.- target str
- (String) The ID for the target for the reserved IP.
- target_
crn str - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Patch Timeouts Args
- reserved
Ip String - The ID for the reserved IP.
- subnet String
- The subnet ID for the reserved IP.
- address String
- The address for this reserved IP.
- auto
Delete Boolean - If reserved IP is auto deleted.
- is
Subnet StringReserved Ip Patch Id - (String) The combination of the subnet ID and reserved IP ID, separated by /.
- name String
The name of the reserved IP.
NOTE: raise error if name is given with a prefix
ibm-
.- target String
- (String) The ID for the target for the reserved IP.
- 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 IsSubnetReservedIpPatch 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- resource
Type String - (String) The resource type.
Look up Existing IsSubnetReservedIpPatch Resource
Get an existing IsSubnetReservedIpPatch 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?: IsSubnetReservedIpPatchState, opts?: CustomResourceOptions): IsSubnetReservedIpPatch
@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_patch_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[IsSubnetReservedIpPatchTimeoutsArgs] = None) -> IsSubnetReservedIpPatch
func GetIsSubnetReservedIpPatch(ctx *Context, name string, id IDInput, state *IsSubnetReservedIpPatchState, opts ...ResourceOption) (*IsSubnetReservedIpPatch, error)
public static IsSubnetReservedIpPatch Get(string name, Input<string> id, IsSubnetReservedIpPatchState? state, CustomResourceOptions? opts = null)
public static IsSubnetReservedIpPatch get(String name, Output<String> id, IsSubnetReservedIpPatchState state, CustomResourceOptions options)
resources: _: type: ibm:IsSubnetReservedIpPatch 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 address for this reserved IP.
- Auto
Delete bool - If reserved IP is auto deleted.
- 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 Patch 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 of the reserved IP.
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 - The ID for the reserved IP.
- Resource
Type string - (String) The resource type.
- Subnet string
- The subnet ID for the reserved IP.
- Target string
- (String) The ID for the target for the reserved IP.
- Target
Crn string - (String) The crn of the target for the reserved IP.
- Timeouts
Is
Subnet Reserved Ip Patch Timeouts
- Address string
- The address for this reserved IP.
- Auto
Delete bool - If reserved IP is auto deleted.
- 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 Patch 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 of the reserved IP.
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 - The ID for the reserved IP.
- Resource
Type string - (String) The resource type.
- Subnet string
- The subnet ID for the reserved IP.
- Target string
- (String) The ID for the target for the reserved IP.
- Target
Crn string - (String) The crn of the target for the reserved IP.
- Timeouts
Is
Subnet Reserved Ip Patch Timeouts Args
- address String
- The address for this reserved IP.
- auto
Delete Boolean - If reserved IP is auto deleted.
- 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 Patch 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 of the reserved IP.
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 - The ID for the reserved IP.
- resource
Type String - (String) The resource type.
- subnet String
- The subnet ID for the reserved IP.
- target String
- (String) The ID for the target for the reserved IP.
- target
Crn String - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Patch Timeouts
- address string
- The address for this reserved IP.
- auto
Delete boolean - If reserved IP is auto deleted.
- 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 Patch 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 of the reserved IP.
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 - The ID for the reserved IP.
- resource
Type string - (String) The resource type.
- subnet string
- The subnet ID for the reserved IP.
- target string
- (String) The ID for the target for the reserved IP.
- target
Crn string - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Patch Timeouts
- address str
- The address for this reserved IP.
- auto_
delete bool - If reserved IP is auto deleted.
- 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_ patch_ 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 of the reserved IP.
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 - The ID for the reserved IP.
- resource_
type str - (String) The resource type.
- subnet str
- The subnet ID for the reserved IP.
- target str
- (String) The ID for the target for the reserved IP.
- target_
crn str - (String) The crn of the target for the reserved IP.
- timeouts
Is
Subnet Reserved Ip Patch Timeouts Args
- address String
- The address for this reserved IP.
- auto
Delete Boolean - If reserved IP is auto deleted.
- 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 Patch 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 of the reserved IP.
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 - The ID for the reserved IP.
- resource
Type String - (String) The resource type.
- subnet String
- The subnet ID for the reserved IP.
- target String
- (String) The ID for the target for the reserved IP.
- target
Crn String - (String) The crn of the target for the reserved IP.
- timeouts Property Map
Supporting Types
IsSubnetReservedIpPatchTimeouts, IsSubnetReservedIpPatchTimeoutsArgs
Import
The ibm_is_subnet_reserved_ip_patch
resource can be imported by using subnet ID and reserved IP ID separated by /.
Syntax
$ pulumi import ibm:index/isSubnetReservedIpPatch:IsSubnetReservedIpPatch example <subnet_ID>/<subnet_reserved_IP_ID>
Example
$ pulumi import ibm:index/isSubnetReservedIpPatch:IsSubnetReservedIpPatch 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.