published on Thursday, Apr 9, 2026 by civo
published on Thursday, Apr 9, 2026 by civo
Create VpcReservedIpAssignment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcReservedIpAssignment(name: string, args: VpcReservedIpAssignmentArgs, opts?: CustomResourceOptions);@overload
def VpcReservedIpAssignment(resource_name: str,
args: VpcReservedIpAssignmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcReservedIpAssignment(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
reserved_ip_id: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[VpcReservedIpAssignmentTimeoutsArgs] = None,
vpc_reserved_ip_assignment_id: Optional[str] = None)func NewVpcReservedIpAssignment(ctx *Context, name string, args VpcReservedIpAssignmentArgs, opts ...ResourceOption) (*VpcReservedIpAssignment, error)public VpcReservedIpAssignment(string name, VpcReservedIpAssignmentArgs args, CustomResourceOptions? opts = null)
public VpcReservedIpAssignment(String name, VpcReservedIpAssignmentArgs args)
public VpcReservedIpAssignment(String name, VpcReservedIpAssignmentArgs args, CustomResourceOptions options)
type: civo:VpcReservedIpAssignment
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 VpcReservedIpAssignmentArgs
- 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 VpcReservedIpAssignmentArgs
- 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 VpcReservedIpAssignmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcReservedIpAssignmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcReservedIpAssignmentArgs
- 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 vpcReservedIpAssignmentResource = new Civo.Index.VpcReservedIpAssignment("vpcReservedIpAssignmentResource", new()
{
InstanceId = "string",
ReservedIpId = "string",
Region = "string",
Timeouts = new Civo.Inputs.VpcReservedIpAssignmentTimeoutsArgs
{
Create = "string",
},
VpcReservedIpAssignmentId = "string",
});
example, err := civo.NewVpcReservedIpAssignment(ctx, "vpcReservedIpAssignmentResource", &civo.VpcReservedIpAssignmentArgs{
InstanceId: pulumi.String("string"),
ReservedIpId: pulumi.String("string"),
Region: pulumi.String("string"),
Timeouts: &civo.VpcReservedIpAssignmentTimeoutsArgs{
Create: pulumi.String("string"),
},
VpcReservedIpAssignmentId: pulumi.String("string"),
})
var vpcReservedIpAssignmentResource = new VpcReservedIpAssignment("vpcReservedIpAssignmentResource", VpcReservedIpAssignmentArgs.builder()
.instanceId("string")
.reservedIpId("string")
.region("string")
.timeouts(VpcReservedIpAssignmentTimeoutsArgs.builder()
.create("string")
.build())
.vpcReservedIpAssignmentId("string")
.build());
vpc_reserved_ip_assignment_resource = civo.VpcReservedIpAssignment("vpcReservedIpAssignmentResource",
instance_id="string",
reserved_ip_id="string",
region="string",
timeouts={
"create": "string",
},
vpc_reserved_ip_assignment_id="string")
const vpcReservedIpAssignmentResource = new civo.VpcReservedIpAssignment("vpcReservedIpAssignmentResource", {
instanceId: "string",
reservedIpId: "string",
region: "string",
timeouts: {
create: "string",
},
vpcReservedIpAssignmentId: "string",
});
type: civo:VpcReservedIpAssignment
properties:
instanceId: string
region: string
reservedIpId: string
timeouts:
create: string
vpcReservedIpAssignmentId: string
VpcReservedIpAssignment 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 VpcReservedIpAssignment resource accepts the following input properties:
- Instance
Id string - The instance id
- Reserved
Ip stringId - The reserved ip id
- Region string
- The region of the ip
- Timeouts
Vpc
Reserved Ip Assignment Timeouts - Vpc
Reserved stringIp Assignment Id
- Instance
Id string - The instance id
- Reserved
Ip stringId - The reserved ip id
- Region string
- The region of the ip
- Timeouts
Vpc
Reserved Ip Assignment Timeouts Args - Vpc
Reserved stringIp Assignment Id
- instance
Id String - The instance id
- reserved
Ip StringId - The reserved ip id
- region String
- The region of the ip
- timeouts
Vpc
Reserved Ip Assignment Timeouts - vpc
Reserved StringIp Assignment Id
- instance
Id string - The instance id
- reserved
Ip stringId - The reserved ip id
- region string
- The region of the ip
- timeouts
Vpc
Reserved Ip Assignment Timeouts - vpc
Reserved stringIp Assignment Id
- instance_
id str - The instance id
- reserved_
ip_ strid - The reserved ip id
- region str
- The region of the ip
- timeouts
Vpc
Reserved Ip Assignment Timeouts Args - vpc_
reserved_ strip_ assignment_ id
- instance
Id String - The instance id
- reserved
Ip StringId - The reserved ip id
- region String
- The region of the ip
- timeouts Property Map
- vpc
Reserved StringIp Assignment Id
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcReservedIpAssignment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VpcReservedIpAssignment Resource
Get an existing VpcReservedIpAssignment 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?: VpcReservedIpAssignmentState, opts?: CustomResourceOptions): VpcReservedIpAssignment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None,
reserved_ip_id: Optional[str] = None,
timeouts: Optional[VpcReservedIpAssignmentTimeoutsArgs] = None,
vpc_reserved_ip_assignment_id: Optional[str] = None) -> VpcReservedIpAssignmentfunc GetVpcReservedIpAssignment(ctx *Context, name string, id IDInput, state *VpcReservedIpAssignmentState, opts ...ResourceOption) (*VpcReservedIpAssignment, error)public static VpcReservedIpAssignment Get(string name, Input<string> id, VpcReservedIpAssignmentState? state, CustomResourceOptions? opts = null)public static VpcReservedIpAssignment get(String name, Output<String> id, VpcReservedIpAssignmentState state, CustomResourceOptions options)resources: _: type: civo:VpcReservedIpAssignment 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.
- Instance
Id string - The instance id
- Region string
- The region of the ip
- Reserved
Ip stringId - The reserved ip id
- Timeouts
Vpc
Reserved Ip Assignment Timeouts - Vpc
Reserved stringIp Assignment Id
- Instance
Id string - The instance id
- Region string
- The region of the ip
- Reserved
Ip stringId - The reserved ip id
- Timeouts
Vpc
Reserved Ip Assignment Timeouts Args - Vpc
Reserved stringIp Assignment Id
- instance
Id String - The instance id
- region String
- The region of the ip
- reserved
Ip StringId - The reserved ip id
- timeouts
Vpc
Reserved Ip Assignment Timeouts - vpc
Reserved StringIp Assignment Id
- instance
Id string - The instance id
- region string
- The region of the ip
- reserved
Ip stringId - The reserved ip id
- timeouts
Vpc
Reserved Ip Assignment Timeouts - vpc
Reserved stringIp Assignment Id
- instance_
id str - The instance id
- region str
- The region of the ip
- reserved_
ip_ strid - The reserved ip id
- timeouts
Vpc
Reserved Ip Assignment Timeouts Args - vpc_
reserved_ strip_ assignment_ id
- instance
Id String - The instance id
- region String
- The region of the ip
- reserved
Ip StringId - The reserved ip id
- timeouts Property Map
- vpc
Reserved StringIp Assignment Id
Supporting Types
VpcReservedIpAssignmentTimeouts, VpcReservedIpAssignmentTimeoutsArgs
- Create string
- Create string
- create String
- create string
- create str
- create String
Package Details
- Repository
- Civo civo/terraform-provider-civo
- License
- Notes
- This Pulumi package is based on the
civoTerraform Provider.
published on Thursday, Apr 9, 2026 by civo
