1. Packages
  2. Glesys Provider
  3. API Docs
  4. Ip
glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys

glesys.Ip

Explore with Pulumi AI

glesys logo
glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys

    IP resource for a project.

    Create Ip Resource

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

    Constructor syntax

    new Ip(name: string, args?: IpArgs, opts?: CustomResourceOptions);
    @overload
    def Ip(resource_name: str,
           args: Optional[IpArgs] = None,
           opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ip(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           address: Optional[str] = None,
           datacenter: Optional[str] = None,
           ip_id: Optional[str] = None,
           platform: Optional[str] = None,
           ptr: Optional[str] = None,
           version: Optional[float] = None)
    func NewIp(ctx *Context, name string, args *IpArgs, opts ...ResourceOption) (*Ip, error)
    public Ip(string name, IpArgs? args = null, CustomResourceOptions? opts = null)
    public Ip(String name, IpArgs args)
    public Ip(String name, IpArgs args, CustomResourceOptions options)
    
    type: glesys:Ip
    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 IpArgs
    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 IpArgs
    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 IpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpArgs
    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 ipResource = new Glesys.Ip("ipResource", new()
    {
        Address = "string",
        Datacenter = "string",
        IpId = "string",
        Platform = "string",
        Ptr = "string",
        Version = 0,
    });
    
    example, err := glesys.NewIp(ctx, "ipResource", &glesys.IpArgs{
    	Address:    pulumi.String("string"),
    	Datacenter: pulumi.String("string"),
    	IpId:       pulumi.String("string"),
    	Platform:   pulumi.String("string"),
    	Ptr:        pulumi.String("string"),
    	Version:    pulumi.Float64(0),
    })
    
    var ipResource = new Ip("ipResource", IpArgs.builder()
        .address("string")
        .datacenter("string")
        .ipId("string")
        .platform("string")
        .ptr("string")
        .version(0)
        .build());
    
    ip_resource = glesys.Ip("ipResource",
        address="string",
        datacenter="string",
        ip_id="string",
        platform="string",
        ptr="string",
        version=0)
    
    const ipResource = new glesys.Ip("ipResource", {
        address: "string",
        datacenter: "string",
        ipId: "string",
        platform: "string",
        ptr: "string",
        version: 0,
    });
    
    type: glesys:Ip
    properties:
        address: string
        datacenter: string
        ipId: string
        platform: string
        ptr: string
        version: 0
    

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

    Address string
    IP Address.
    Datacenter string
    IP Datacenter association.
    IpId string
    The ID of this resource.
    Platform string
    IP Associated platform.
    Ptr string
    IP PTR.
    Version double
    IP version 4/6.
    Address string
    IP Address.
    Datacenter string
    IP Datacenter association.
    IpId string
    The ID of this resource.
    Platform string
    IP Associated platform.
    Ptr string
    IP PTR.
    Version float64
    IP version 4/6.
    address String
    IP Address.
    datacenter String
    IP Datacenter association.
    ipId String
    The ID of this resource.
    platform String
    IP Associated platform.
    ptr String
    IP PTR.
    version Double
    IP version 4/6.
    address string
    IP Address.
    datacenter string
    IP Datacenter association.
    ipId string
    The ID of this resource.
    platform string
    IP Associated platform.
    ptr string
    IP PTR.
    version number
    IP version 4/6.
    address str
    IP Address.
    datacenter str
    IP Datacenter association.
    ip_id str
    The ID of this resource.
    platform str
    IP Associated platform.
    ptr str
    IP PTR.
    version float
    IP version 4/6.
    address String
    IP Address.
    datacenter String
    IP Datacenter association.
    ipId String
    The ID of this resource.
    platform String
    IP Associated platform.
    ptr String
    IP PTR.
    version Number
    IP version 4/6.

    Outputs

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

    Broadcast string
    IP Broadcast Address.
    Costs List<IpCost>
    IP Cost.
    Gateway string
    IP Gateway Address.
    Id string
    The provider-assigned unique ID for this managed resource.
    LockedToAccount string
    NameServers List<string>
    List of nameservers.
    Netmask string
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    Platforms List<string>
    IP Platforms list
    Reserved string
    IP Reserved to account flag.
    ServerId string
    ID of server the IP is assigned to.
    Broadcast string
    IP Broadcast Address.
    Costs []IpCost
    IP Cost.
    Gateway string
    IP Gateway Address.
    Id string
    The provider-assigned unique ID for this managed resource.
    LockedToAccount string
    NameServers []string
    List of nameservers.
    Netmask string
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    Platforms []string
    IP Platforms list
    Reserved string
    IP Reserved to account flag.
    ServerId string
    ID of server the IP is assigned to.
    broadcast String
    IP Broadcast Address.
    costs List<IpCost>
    IP Cost.
    gateway String
    IP Gateway Address.
    id String
    The provider-assigned unique ID for this managed resource.
    lockedToAccount String
    nameServers List<String>
    List of nameservers.
    netmask String
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    platforms List<String>
    IP Platforms list
    reserved String
    IP Reserved to account flag.
    serverId String
    ID of server the IP is assigned to.
    broadcast string
    IP Broadcast Address.
    costs IpCost[]
    IP Cost.
    gateway string
    IP Gateway Address.
    id string
    The provider-assigned unique ID for this managed resource.
    lockedToAccount string
    nameServers string[]
    List of nameservers.
    netmask string
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    platforms string[]
    IP Platforms list
    reserved string
    IP Reserved to account flag.
    serverId string
    ID of server the IP is assigned to.
    broadcast str
    IP Broadcast Address.
    costs Sequence[IpCost]
    IP Cost.
    gateway str
    IP Gateway Address.
    id str
    The provider-assigned unique ID for this managed resource.
    locked_to_account str
    name_servers Sequence[str]
    List of nameservers.
    netmask str
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    platforms Sequence[str]
    IP Platforms list
    reserved str
    IP Reserved to account flag.
    server_id str
    ID of server the IP is assigned to.
    broadcast String
    IP Broadcast Address.
    costs List<Property Map>
    IP Cost.
    gateway String
    IP Gateway Address.
    id String
    The provider-assigned unique ID for this managed resource.
    lockedToAccount String
    nameServers List<String>
    List of nameservers.
    netmask String
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    platforms List<String>
    IP Platforms list
    reserved String
    IP Reserved to account flag.
    serverId String
    ID of server the IP is assigned to.

    Look up Existing Ip Resource

    Get an existing Ip 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?: IpState, opts?: CustomResourceOptions): Ip
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            broadcast: Optional[str] = None,
            costs: Optional[Sequence[IpCostArgs]] = None,
            datacenter: Optional[str] = None,
            gateway: Optional[str] = None,
            ip_id: Optional[str] = None,
            locked_to_account: Optional[str] = None,
            name_servers: Optional[Sequence[str]] = None,
            netmask: Optional[str] = None,
            platform: Optional[str] = None,
            platforms: Optional[Sequence[str]] = None,
            ptr: Optional[str] = None,
            reserved: Optional[str] = None,
            server_id: Optional[str] = None,
            version: Optional[float] = None) -> Ip
    func GetIp(ctx *Context, name string, id IDInput, state *IpState, opts ...ResourceOption) (*Ip, error)
    public static Ip Get(string name, Input<string> id, IpState? state, CustomResourceOptions? opts = null)
    public static Ip get(String name, Output<String> id, IpState state, CustomResourceOptions options)
    resources:  _:    type: glesys:Ip    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:
    Address string
    IP Address.
    Broadcast string
    IP Broadcast Address.
    Costs List<IpCost>
    IP Cost.
    Datacenter string
    IP Datacenter association.
    Gateway string
    IP Gateway Address.
    IpId string
    The ID of this resource.
    LockedToAccount string
    NameServers List<string>
    List of nameservers.
    Netmask string
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    Platform string
    IP Associated platform.
    Platforms List<string>
    IP Platforms list
    Ptr string
    IP PTR.
    Reserved string
    IP Reserved to account flag.
    ServerId string
    ID of server the IP is assigned to.
    Version double
    IP version 4/6.
    Address string
    IP Address.
    Broadcast string
    IP Broadcast Address.
    Costs []IpCostArgs
    IP Cost.
    Datacenter string
    IP Datacenter association.
    Gateway string
    IP Gateway Address.
    IpId string
    The ID of this resource.
    LockedToAccount string
    NameServers []string
    List of nameservers.
    Netmask string
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    Platform string
    IP Associated platform.
    Platforms []string
    IP Platforms list
    Ptr string
    IP PTR.
    Reserved string
    IP Reserved to account flag.
    ServerId string
    ID of server the IP is assigned to.
    Version float64
    IP version 4/6.
    address String
    IP Address.
    broadcast String
    IP Broadcast Address.
    costs List<IpCost>
    IP Cost.
    datacenter String
    IP Datacenter association.
    gateway String
    IP Gateway Address.
    ipId String
    The ID of this resource.
    lockedToAccount String
    nameServers List<String>
    List of nameservers.
    netmask String
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    platform String
    IP Associated platform.
    platforms List<String>
    IP Platforms list
    ptr String
    IP PTR.
    reserved String
    IP Reserved to account flag.
    serverId String
    ID of server the IP is assigned to.
    version Double
    IP version 4/6.
    address string
    IP Address.
    broadcast string
    IP Broadcast Address.
    costs IpCost[]
    IP Cost.
    datacenter string
    IP Datacenter association.
    gateway string
    IP Gateway Address.
    ipId string
    The ID of this resource.
    lockedToAccount string
    nameServers string[]
    List of nameservers.
    netmask string
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    platform string
    IP Associated platform.
    platforms string[]
    IP Platforms list
    ptr string
    IP PTR.
    reserved string
    IP Reserved to account flag.
    serverId string
    ID of server the IP is assigned to.
    version number
    IP version 4/6.
    address str
    IP Address.
    broadcast str
    IP Broadcast Address.
    costs Sequence[IpCostArgs]
    IP Cost.
    datacenter str
    IP Datacenter association.
    gateway str
    IP Gateway Address.
    ip_id str
    The ID of this resource.
    locked_to_account str
    name_servers Sequence[str]
    List of nameservers.
    netmask str
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    platform str
    IP Associated platform.
    platforms Sequence[str]
    IP Platforms list
    ptr str
    IP PTR.
    reserved str
    IP Reserved to account flag.
    server_id str
    ID of server the IP is assigned to.
    version float
    IP version 4/6.
    address String
    IP Address.
    broadcast String
    IP Broadcast Address.
    costs List<Property Map>
    IP Cost.
    datacenter String
    IP Datacenter association.
    gateway String
    IP Gateway Address.
    ipId String
    The ID of this resource.
    lockedToAccount String
    nameServers List<String>
    List of nameservers.
    netmask String
    IP Netmask, IPv4: NN.NN.NN.NN, IPv6: /nn
    platform String
    IP Associated platform.
    platforms List<String>
    IP Platforms list
    ptr String
    IP PTR.
    reserved String
    IP Reserved to account flag.
    serverId String
    ID of server the IP is assigned to.
    version Number
    IP version 4/6.

    Supporting Types

    IpCost, IpCostArgs

    Amount double
    Currency string
    TimePeriod string
    Amount float64
    Currency string
    TimePeriod string
    amount Double
    currency String
    timePeriod String
    amount number
    currency string
    timePeriod string
    amount Number
    currency String
    timePeriod String

    Package Details

    Repository
    glesys glesys/terraform-provider-glesys
    License
    Notes
    This Pulumi package is based on the glesys Terraform Provider.
    glesys logo
    glesys 0.14.2 published on Tuesday, Apr 15, 2025 by glesys