1. Packages
  2. Civo Provider
  3. API Docs
  4. VpcReservedIp
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 VpcReservedIp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcReservedIp(name: string, args?: VpcReservedIpArgs, opts?: CustomResourceOptions);
    @overload
    def VpcReservedIp(resource_name: str,
                      args: Optional[VpcReservedIpArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcReservedIp(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      name: Optional[str] = None,
                      region: Optional[str] = None,
                      vpc_reserved_ip_id: Optional[str] = None)
    func NewVpcReservedIp(ctx *Context, name string, args *VpcReservedIpArgs, opts ...ResourceOption) (*VpcReservedIp, error)
    public VpcReservedIp(string name, VpcReservedIpArgs? args = null, CustomResourceOptions? opts = null)
    public VpcReservedIp(String name, VpcReservedIpArgs args)
    public VpcReservedIp(String name, VpcReservedIpArgs args, CustomResourceOptions options)
    
    type: civo:VpcReservedIp
    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 VpcReservedIpArgs
    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 VpcReservedIpArgs
    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 VpcReservedIpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcReservedIpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcReservedIpArgs
    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 vpcReservedIpResource = new Civo.Index.VpcReservedIp("vpcReservedIpResource", new()
    {
        Name = "string",
        Region = "string",
        VpcReservedIpId = "string",
    });
    
    example, err := civo.NewVpcReservedIp(ctx, "vpcReservedIpResource", &civo.VpcReservedIpArgs{
    	Name:            pulumi.String("string"),
    	Region:          pulumi.String("string"),
    	VpcReservedIpId: pulumi.String("string"),
    })
    
    var vpcReservedIpResource = new VpcReservedIp("vpcReservedIpResource", VpcReservedIpArgs.builder()
        .name("string")
        .region("string")
        .vpcReservedIpId("string")
        .build());
    
    vpc_reserved_ip_resource = civo.VpcReservedIp("vpcReservedIpResource",
        name="string",
        region="string",
        vpc_reserved_ip_id="string")
    
    const vpcReservedIpResource = new civo.VpcReservedIp("vpcReservedIpResource", {
        name: "string",
        region: "string",
        vpcReservedIpId: "string",
    });
    
    type: civo:VpcReservedIp
    properties:
        name: string
        region: string
        vpcReservedIpId: string
    

    VpcReservedIp 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 VpcReservedIp resource accepts the following input properties:

    Name string
    Name for the ip address
    Region string
    The region of the ip
    VpcReservedIpId string
    Name string
    Name for the ip address
    Region string
    The region of the ip
    VpcReservedIpId string
    name String
    Name for the ip address
    region String
    The region of the ip
    vpcReservedIpId String
    name string
    Name for the ip address
    region string
    The region of the ip
    vpcReservedIpId string
    name str
    Name for the ip address
    region str
    The region of the ip
    vpc_reserved_ip_id str
    name String
    Name for the ip address
    region String
    The region of the ip
    vpcReservedIpId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcReservedIp resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ip string
    The IP Address of the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    Ip string
    The IP Address of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    ip String
    The IP Address of the resource
    id string
    The provider-assigned unique ID for this managed resource.
    ip string
    The IP Address of the resource
    id str
    The provider-assigned unique ID for this managed resource.
    ip str
    The IP Address of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    ip String
    The IP Address of the resource

    Look up Existing VpcReservedIp Resource

    Get an existing VpcReservedIp 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?: VpcReservedIpState, opts?: CustomResourceOptions): VpcReservedIp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ip: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            vpc_reserved_ip_id: Optional[str] = None) -> VpcReservedIp
    func GetVpcReservedIp(ctx *Context, name string, id IDInput, state *VpcReservedIpState, opts ...ResourceOption) (*VpcReservedIp, error)
    public static VpcReservedIp Get(string name, Input<string> id, VpcReservedIpState? state, CustomResourceOptions? opts = null)
    public static VpcReservedIp get(String name, Output<String> id, VpcReservedIpState state, CustomResourceOptions options)
    resources:  _:    type: civo:VpcReservedIp    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:
    Ip string
    The IP Address of the resource
    Name string
    Name for the ip address
    Region string
    The region of the ip
    VpcReservedIpId string
    Ip string
    The IP Address of the resource
    Name string
    Name for the ip address
    Region string
    The region of the ip
    VpcReservedIpId string
    ip String
    The IP Address of the resource
    name String
    Name for the ip address
    region String
    The region of the ip
    vpcReservedIpId String
    ip string
    The IP Address of the resource
    name string
    Name for the ip address
    region string
    The region of the ip
    vpcReservedIpId string
    ip str
    The IP Address of the resource
    name str
    Name for the ip address
    region str
    The region of the ip
    vpc_reserved_ip_id str
    ip String
    The IP Address of the resource
    name String
    Name for the ip address
    region String
    The region of the ip
    vpcReservedIpId 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.