Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
Reserved fixed IPs are static IP addresses that persist independently of instances and can be used as virtual IPs (VIPs) for high availability.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCloudReservedFixedIp = gcore.getCloudReservedFixedIp({
projectId: 0,
regionId: 0,
portId: "port_id",
});
import pulumi
import pulumi_gcore as gcore
example_cloud_reserved_fixed_ip = gcore.get_cloud_reserved_fixed_ip(project_id=0,
region_id=0,
port_id="port_id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.LookupCloudReservedFixedIp(ctx, &gcore.LookupCloudReservedFixedIpArgs{
ProjectId: pulumi.Float64Ref(0),
RegionId: pulumi.Float64Ref(0),
PortId: "port_id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var exampleCloudReservedFixedIp = Gcore.GetCloudReservedFixedIp.Invoke(new()
{
ProjectId = 0,
RegionId = 0,
PortId = "port_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetCloudReservedFixedIpArgs;
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) {
final var exampleCloudReservedFixedIp = GcoreFunctions.getCloudReservedFixedIp(GetCloudReservedFixedIpArgs.builder()
.projectId(0)
.regionId(0)
.portId("port_id")
.build());
}
}
variables:
exampleCloudReservedFixedIp:
fn::invoke:
function: gcore:getCloudReservedFixedIp
arguments:
projectId: 0
regionId: 0
portId: port_id
Using getCloudReservedFixedIp
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudReservedFixedIp(args: GetCloudReservedFixedIpArgs, opts?: InvokeOptions): Promise<GetCloudReservedFixedIpResult>
function getCloudReservedFixedIpOutput(args: GetCloudReservedFixedIpOutputArgs, opts?: InvokeOptions): Output<GetCloudReservedFixedIpResult>def get_cloud_reserved_fixed_ip(port_id: Optional[str] = None,
project_id: Optional[float] = None,
region_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudReservedFixedIpResult
def get_cloud_reserved_fixed_ip_output(port_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[float]] = None,
region_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudReservedFixedIpResult]func LookupCloudReservedFixedIp(ctx *Context, args *LookupCloudReservedFixedIpArgs, opts ...InvokeOption) (*LookupCloudReservedFixedIpResult, error)
func LookupCloudReservedFixedIpOutput(ctx *Context, args *LookupCloudReservedFixedIpOutputArgs, opts ...InvokeOption) LookupCloudReservedFixedIpResultOutput> Note: This function is named LookupCloudReservedFixedIp in the Go SDK.
public static class GetCloudReservedFixedIp
{
public static Task<GetCloudReservedFixedIpResult> InvokeAsync(GetCloudReservedFixedIpArgs args, InvokeOptions? opts = null)
public static Output<GetCloudReservedFixedIpResult> Invoke(GetCloudReservedFixedIpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudReservedFixedIpResult> getCloudReservedFixedIp(GetCloudReservedFixedIpArgs args, InvokeOptions options)
public static Output<GetCloudReservedFixedIpResult> getCloudReservedFixedIp(GetCloudReservedFixedIpArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCloudReservedFixedIp:getCloudReservedFixedIp
arguments:
# arguments dictionaryThe following arguments are supported:
- port_
id str - project_
id float - region_
id float
getCloudReservedFixedIp Result
The following output properties are available:
- Allowed
Address List<GetPairs Cloud Reserved Fixed Ip Allowed Address Pair> - Group of subnet masks and/or IP addresses that share the current IP as VIP
- Attachments
List<Get
Cloud Reserved Fixed Ip Attachment> - Reserved fixed IP attachment entities
- Created
At string - Datetime when the reserved fixed IP was created
- Creator
Task stringId - Task that created this entity
- Fixed
Ip stringAddress - IPv4 address of the reserved fixed IP
- Fixed
Ipv6Address string - IPv6 address of the reserved fixed IP
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
External bool - If reserved fixed IP belongs to a public network
- Is
Vip bool - If reserved fixed IP is a VIP
- Name string
- Reserved fixed IP name
- Network
Get
Cloud Reserved Fixed Ip Network - Network details
- Network
Id string - ID of the network the port is attached to
- Port
Id string - Region string
- Region name
- Status string
- Underlying port status
- Subnet
Id string - ID of the subnet that owns the IP address
- Subnet
V6Id string - ID of the subnet that owns the IPv6 address
- Updated
At string - Datetime when the reserved fixed IP was last updated
- Project
Id double - Region
Id double
- Allowed
Address []GetPairs Cloud Reserved Fixed Ip Allowed Address Pair - Group of subnet masks and/or IP addresses that share the current IP as VIP
- Attachments
[]Get
Cloud Reserved Fixed Ip Attachment - Reserved fixed IP attachment entities
- Created
At string - Datetime when the reserved fixed IP was created
- Creator
Task stringId - Task that created this entity
- Fixed
Ip stringAddress - IPv4 address of the reserved fixed IP
- Fixed
Ipv6Address string - IPv6 address of the reserved fixed IP
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
External bool - If reserved fixed IP belongs to a public network
- Is
Vip bool - If reserved fixed IP is a VIP
- Name string
- Reserved fixed IP name
- Network
Get
Cloud Reserved Fixed Ip Network - Network details
- Network
Id string - ID of the network the port is attached to
- Port
Id string - Region string
- Region name
- Status string
- Underlying port status
- Subnet
Id string - ID of the subnet that owns the IP address
- Subnet
V6Id string - ID of the subnet that owns the IPv6 address
- Updated
At string - Datetime when the reserved fixed IP was last updated
- Project
Id float64 - Region
Id float64
- allowed
Address List<GetPairs Cloud Reserved Fixed Ip Allowed Address Pair> - Group of subnet masks and/or IP addresses that share the current IP as VIP
- attachments
List<Get
Cloud Reserved Fixed Ip Attachment> - Reserved fixed IP attachment entities
- created
At String - Datetime when the reserved fixed IP was created
- creator
Task StringId - Task that created this entity
- fixed
Ip StringAddress - IPv4 address of the reserved fixed IP
- fixed
Ipv6Address String - IPv6 address of the reserved fixed IP
- id String
- The provider-assigned unique ID for this managed resource.
- is
External Boolean - If reserved fixed IP belongs to a public network
- is
Vip Boolean - If reserved fixed IP is a VIP
- name String
- Reserved fixed IP name
- network
Get
Cloud Reserved Fixed Ip Network - Network details
- network
Id String - ID of the network the port is attached to
- port
Id String - region String
- Region name
- status String
- Underlying port status
- subnet
Id String - ID of the subnet that owns the IP address
- subnet
V6Id String - ID of the subnet that owns the IPv6 address
- updated
At String - Datetime when the reserved fixed IP was last updated
- project
Id Double - region
Id Double
- allowed
Address GetPairs Cloud Reserved Fixed Ip Allowed Address Pair[] - Group of subnet masks and/or IP addresses that share the current IP as VIP
- attachments
Get
Cloud Reserved Fixed Ip Attachment[] - Reserved fixed IP attachment entities
- created
At string - Datetime when the reserved fixed IP was created
- creator
Task stringId - Task that created this entity
- fixed
Ip stringAddress - IPv4 address of the reserved fixed IP
- fixed
Ipv6Address string - IPv6 address of the reserved fixed IP
- id string
- The provider-assigned unique ID for this managed resource.
- is
External boolean - If reserved fixed IP belongs to a public network
- is
Vip boolean - If reserved fixed IP is a VIP
- name string
- Reserved fixed IP name
- network
Get
Cloud Reserved Fixed Ip Network - Network details
- network
Id string - ID of the network the port is attached to
- port
Id string - region string
- Region name
- status string
- Underlying port status
- subnet
Id string - ID of the subnet that owns the IP address
- subnet
V6Id string - ID of the subnet that owns the IPv6 address
- updated
At string - Datetime when the reserved fixed IP was last updated
- project
Id number - region
Id number
- allowed_
address_ Sequence[Getpairs Cloud Reserved Fixed Ip Allowed Address Pair] - Group of subnet masks and/or IP addresses that share the current IP as VIP
- attachments
Sequence[Get
Cloud Reserved Fixed Ip Attachment] - Reserved fixed IP attachment entities
- created_
at str - Datetime when the reserved fixed IP was created
- creator_
task_ strid - Task that created this entity
- fixed_
ip_ straddress - IPv4 address of the reserved fixed IP
- fixed_
ipv6_ straddress - IPv6 address of the reserved fixed IP
- id str
- The provider-assigned unique ID for this managed resource.
- is_
external bool - If reserved fixed IP belongs to a public network
- is_
vip bool - If reserved fixed IP is a VIP
- name str
- Reserved fixed IP name
- network
Get
Cloud Reserved Fixed Ip Network - Network details
- network_
id str - ID of the network the port is attached to
- port_
id str - region str
- Region name
- status str
- Underlying port status
- subnet_
id str - ID of the subnet that owns the IP address
- subnet_
v6_ strid - ID of the subnet that owns the IPv6 address
- updated_
at str - Datetime when the reserved fixed IP was last updated
- project_
id float - region_
id float
- allowed
Address List<Property Map>Pairs - Group of subnet masks and/or IP addresses that share the current IP as VIP
- attachments List<Property Map>
- Reserved fixed IP attachment entities
- created
At String - Datetime when the reserved fixed IP was created
- creator
Task StringId - Task that created this entity
- fixed
Ip StringAddress - IPv4 address of the reserved fixed IP
- fixed
Ipv6Address String - IPv6 address of the reserved fixed IP
- id String
- The provider-assigned unique ID for this managed resource.
- is
External Boolean - If reserved fixed IP belongs to a public network
- is
Vip Boolean - If reserved fixed IP is a VIP
- name String
- Reserved fixed IP name
- network Property Map
- Network details
- network
Id String - ID of the network the port is attached to
- port
Id String - region String
- Region name
- status String
- Underlying port status
- subnet
Id String - ID of the subnet that owns the IP address
- subnet
V6Id String - ID of the subnet that owns the IPv6 address
- updated
At String - Datetime when the reserved fixed IP was last updated
- project
Id Number - region
Id Number
Supporting Types
GetCloudReservedFixedIpAllowedAddressPair
- Ip
Address string - Subnet mask or IP address of the port specified in
allowed_address_pairs - Mac
Address string - MAC address of the port specified in
allowed_address_pairs
- Ip
Address string - Subnet mask or IP address of the port specified in
allowed_address_pairs - Mac
Address string - MAC address of the port specified in
allowed_address_pairs
- ip
Address String - Subnet mask or IP address of the port specified in
allowed_address_pairs - mac
Address String - MAC address of the port specified in
allowed_address_pairs
- ip
Address string - Subnet mask or IP address of the port specified in
allowed_address_pairs - mac
Address string - MAC address of the port specified in
allowed_address_pairs
- ip_
address str - Subnet mask or IP address of the port specified in
allowed_address_pairs - mac_
address str - MAC address of the port specified in
allowed_address_pairs
- ip
Address String - Subnet mask or IP address of the port specified in
allowed_address_pairs - mac
Address String - MAC address of the port specified in
allowed_address_pairs
GetCloudReservedFixedIpAttachment
- Resource
Id string - Resource ID
- Resource
Type string - Resource type
- Resource
Id string - Resource ID
- Resource
Type string - Resource type
- resource
Id String - Resource ID
- resource
Type String - Resource type
- resource
Id string - Resource ID
- resource
Type string - Resource type
- resource_
id str - Resource ID
- resource_
type str - Resource type
- resource
Id String - Resource ID
- resource
Type String - Resource type
GetCloudReservedFixedIpNetwork
- Created
At string - Datetime when the network was created
- Creator
Task stringId - Task that created this entity
- Default bool
- True if network has
is_defaultattribute - External bool
- True if the network
router:externalattribute - Id string
- Network ID
- Mtu double
- MTU (maximum transmission unit). Default value is 1450
- Name string
- Network name
- Port
Security boolEnabled - Indicates
port_security_enabledstatus of all newly created in the network ports. - Project
Id double - Project ID
- Region string
- Region name
- Region
Id double - Region ID
- Segmentation
Id double - Id of network segment
- bool
- True when the network is shared with your project by external owner
- Subnets List<string>
- List of subnetworks
-
List<Get
Cloud Reserved Fixed Ip Network Tag> - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- Type string
- Network type (vlan, vxlan)
- Updated
At string - Datetime when the network was last updated
- Created
At string - Datetime when the network was created
- Creator
Task stringId - Task that created this entity
- Default bool
- True if network has
is_defaultattribute - External bool
- True if the network
router:externalattribute - Id string
- Network ID
- Mtu float64
- MTU (maximum transmission unit). Default value is 1450
- Name string
- Network name
- Port
Security boolEnabled - Indicates
port_security_enabledstatus of all newly created in the network ports. - Project
Id float64 - Project ID
- Region string
- Region name
- Region
Id float64 - Region ID
- Segmentation
Id float64 - Id of network segment
- bool
- True when the network is shared with your project by external owner
- Subnets []string
- List of subnetworks
-
[]Get
Cloud Reserved Fixed Ip Network Tag - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- Type string
- Network type (vlan, vxlan)
- Updated
At string - Datetime when the network was last updated
- created
At String - Datetime when the network was created
- creator
Task StringId - Task that created this entity
- default_ Boolean
- True if network has
is_defaultattribute - external Boolean
- True if the network
router:externalattribute - id String
- Network ID
- mtu Double
- MTU (maximum transmission unit). Default value is 1450
- name String
- Network name
- port
Security BooleanEnabled - Indicates
port_security_enabledstatus of all newly created in the network ports. - project
Id Double - Project ID
- region String
- Region name
- region
Id Double - Region ID
- segmentation
Id Double - Id of network segment
- Boolean
- True when the network is shared with your project by external owner
- subnets List<String>
- List of subnetworks
-
List<Get
Cloud Reserved Fixed Ip Network Tag> - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- type String
- Network type (vlan, vxlan)
- updated
At String - Datetime when the network was last updated
- created
At string - Datetime when the network was created
- creator
Task stringId - Task that created this entity
- default boolean
- True if network has
is_defaultattribute - external boolean
- True if the network
router:externalattribute - id string
- Network ID
- mtu number
- MTU (maximum transmission unit). Default value is 1450
- name string
- Network name
- port
Security booleanEnabled - Indicates
port_security_enabledstatus of all newly created in the network ports. - project
Id number - Project ID
- region string
- Region name
- region
Id number - Region ID
- segmentation
Id number - Id of network segment
- boolean
- True when the network is shared with your project by external owner
- subnets string[]
- List of subnetworks
-
Get
Cloud Reserved Fixed Ip Network Tag[] - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- type string
- Network type (vlan, vxlan)
- updated
At string - Datetime when the network was last updated
- created_
at str - Datetime when the network was created
- creator_
task_ strid - Task that created this entity
- default bool
- True if network has
is_defaultattribute - external bool
- True if the network
router:externalattribute - id str
- Network ID
- mtu float
- MTU (maximum transmission unit). Default value is 1450
- name str
- Network name
- port_
security_ boolenabled - Indicates
port_security_enabledstatus of all newly created in the network ports. - project_
id float - Project ID
- region str
- Region name
- region_
id float - Region ID
- segmentation_
id float - Id of network segment
- bool
- True when the network is shared with your project by external owner
- subnets Sequence[str]
- List of subnetworks
-
Sequence[Get
Cloud Reserved Fixed Ip Network Tag] - List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- type str
- Network type (vlan, vxlan)
- updated_
at str - Datetime when the network was last updated
- created
At String - Datetime when the network was created
- creator
Task StringId - Task that created this entity
- default Boolean
- True if network has
is_defaultattribute - external Boolean
- True if the network
router:externalattribute - id String
- Network ID
- mtu Number
- MTU (maximum transmission unit). Default value is 1450
- name String
- Network name
- port
Security BooleanEnabled - Indicates
port_security_enabledstatus of all newly created in the network ports. - project
Id Number - Project ID
- region String
- Region name
- region
Id Number - Region ID
- segmentation
Id Number - Id of network segment
- Boolean
- True when the network is shared with your project by external owner
- subnets List<String>
- List of subnetworks
- List<Property Map>
- List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
- type String
- Network type (vlan, vxlan)
- updated
At String - Datetime when the network was last updated
GetCloudReservedFixedIpNetworkTag
- Key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Read
Only bool - If true, the tag is read-only and cannot be modified by the user
- Value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- Read
Only bool - If true, the tag is read-only and cannot be modified by the user
- Value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key String
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only Boolean - If true, the tag is read-only and cannot be modified by the user
- value String
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key string
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only boolean - If true, the tag is read-only and cannot be modified by the user
- value string
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key str
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read_
only bool - If true, the tag is read-only and cannot be modified by the user
- value str
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- key String
- Tag key. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
- read
Only Boolean - If true, the tag is read-only and cannot be modified by the user
- value String
- Tag value. Maximum 255 characters. Cannot contain spaces, tabs, newlines, empty string or '=' character.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
