1. Packages
  2. Civo Provider
  3. API Docs
  4. VpcReservedIpAssignment
Viewing docs for civo 1.2.3
published on Thursday, Apr 9, 2026 by civo
civo logo
Viewing docs for civo 1.2.3
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:

    InstanceId string
    The instance id
    ReservedIpId string
    The reserved ip id
    Region string
    The region of the ip
    Timeouts VpcReservedIpAssignmentTimeouts
    VpcReservedIpAssignmentId string
    InstanceId string
    The instance id
    ReservedIpId string
    The reserved ip id
    Region string
    The region of the ip
    Timeouts VpcReservedIpAssignmentTimeoutsArgs
    VpcReservedIpAssignmentId string
    instanceId String
    The instance id
    reservedIpId String
    The reserved ip id
    region String
    The region of the ip
    timeouts VpcReservedIpAssignmentTimeouts
    vpcReservedIpAssignmentId String
    instanceId string
    The instance id
    reservedIpId string
    The reserved ip id
    region string
    The region of the ip
    timeouts VpcReservedIpAssignmentTimeouts
    vpcReservedIpAssignmentId string
    instance_id str
    The instance id
    reserved_ip_id str
    The reserved ip id
    region str
    The region of the ip
    timeouts VpcReservedIpAssignmentTimeoutsArgs
    vpc_reserved_ip_assignment_id str
    instanceId String
    The instance id
    reservedIpId String
    The reserved ip id
    region String
    The region of the ip
    timeouts Property Map
    vpcReservedIpAssignmentId String

    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) -> VpcReservedIpAssignment
    func 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.
    The following state arguments are supported:
    InstanceId string
    The instance id
    Region string
    The region of the ip
    ReservedIpId string
    The reserved ip id
    Timeouts VpcReservedIpAssignmentTimeouts
    VpcReservedIpAssignmentId string
    InstanceId string
    The instance id
    Region string
    The region of the ip
    ReservedIpId string
    The reserved ip id
    Timeouts VpcReservedIpAssignmentTimeoutsArgs
    VpcReservedIpAssignmentId string
    instanceId String
    The instance id
    region String
    The region of the ip
    reservedIpId String
    The reserved ip id
    timeouts VpcReservedIpAssignmentTimeouts
    vpcReservedIpAssignmentId String
    instanceId string
    The instance id
    region string
    The region of the ip
    reservedIpId string
    The reserved ip id
    timeouts VpcReservedIpAssignmentTimeouts
    vpcReservedIpAssignmentId string
    instance_id str
    The instance id
    region str
    The region of the ip
    reserved_ip_id str
    The reserved ip id
    timeouts VpcReservedIpAssignmentTimeoutsArgs
    vpc_reserved_ip_assignment_id str
    instanceId String
    The instance id
    region String
    The region of the ip
    reservedIpId String
    The reserved ip id
    timeouts Property Map
    vpcReservedIpAssignmentId String

    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 civo Terraform Provider.
    civo logo
    Viewing docs for civo 1.2.3
    published on Thursday, Apr 9, 2026 by civo
      Try Pulumi Cloud free. Your team will thank you.