published on Friday, Jul 31, 2026 by opentelekomcloud
published on Friday, Jul 31, 2026 by opentelekomcloud
Up-to-date reference of API arguments for DDS public ip association you can get at documentation portal
Associates a public IP to a DDS node.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const nodeId = config.requireObject<any>("nodeId");
const eip = new opentelekomcloud.ComputeFloatingipV2("eip", {});
const publicIp = new opentelekomcloud.DdsPublicIpAssociateV3("public_ip", {
nodeId: nodeId,
publicIp: eip.address,
publicIpId: eip.computeFloatingipV2Id,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
node_id = config.require_object("nodeId")
eip = opentelekomcloud.ComputeFloatingipV2("eip")
public_ip = opentelekomcloud.DdsPublicIpAssociateV3("public_ip",
node_id=node_id,
public_ip=eip.address,
public_ip_id=eip.compute_floatingip_v2_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
nodeId := cfg.RequireObject("nodeId")
eip, err := opentelekomcloud.NewComputeFloatingipV2(ctx, "eip", nil)
if err != nil {
return err
}
_, err = opentelekomcloud.NewDdsPublicIpAssociateV3(ctx, "public_ip", &opentelekomcloud.DdsPublicIpAssociateV3Args{
NodeId: pulumi.Any(nodeId),
PublicIp: eip.Address,
PublicIpId: eip.ComputeFloatingipV2Id,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var nodeId = config.RequireObject<dynamic>("nodeId");
var eip = new Opentelekomcloud.ComputeFloatingipV2("eip");
var publicIp = new Opentelekomcloud.DdsPublicIpAssociateV3("public_ip", new()
{
NodeId = nodeId,
PublicIp = eip.Address,
PublicIpId = eip.ComputeFloatingipV2Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.ComputeFloatingipV2;
import com.pulumi.opentelekomcloud.DdsPublicIpAssociateV3;
import com.pulumi.opentelekomcloud.DdsPublicIpAssociateV3Args;
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 config = ctx.config();
final var nodeId = config.get("nodeId");
var eip = new ComputeFloatingipV2("eip");
var publicIp = new DdsPublicIpAssociateV3("publicIp", DdsPublicIpAssociateV3Args.builder()
.nodeId(nodeId)
.publicIp(eip.address())
.publicIpId(eip.computeFloatingipV2Id())
.build());
}
}
configuration:
nodeId:
type: dynamic
resources:
publicIp:
type: opentelekomcloud:DdsPublicIpAssociateV3
name: public_ip
properties:
nodeId: ${nodeId}
publicIp: ${eip.address}
publicIpId: ${eip.computeFloatingipV2Id}
eip:
type: opentelekomcloud:ComputeFloatingipV2
Example coming soon!
Create DdsPublicIpAssociateV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DdsPublicIpAssociateV3(name: string, args: DdsPublicIpAssociateV3Args, opts?: CustomResourceOptions);@overload
def DdsPublicIpAssociateV3(resource_name: str,
args: DdsPublicIpAssociateV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def DdsPublicIpAssociateV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_id: Optional[str] = None,
public_ip: Optional[str] = None,
public_ip_id: Optional[str] = None,
dds_public_ip_associate_v3_id: Optional[str] = None,
timeouts: Optional[DdsPublicIpAssociateV3TimeoutsArgs] = None)func NewDdsPublicIpAssociateV3(ctx *Context, name string, args DdsPublicIpAssociateV3Args, opts ...ResourceOption) (*DdsPublicIpAssociateV3, error)public DdsPublicIpAssociateV3(string name, DdsPublicIpAssociateV3Args args, CustomResourceOptions? opts = null)
public DdsPublicIpAssociateV3(String name, DdsPublicIpAssociateV3Args args)
public DdsPublicIpAssociateV3(String name, DdsPublicIpAssociateV3Args args, CustomResourceOptions options)
type: opentelekomcloud:DdsPublicIpAssociateV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "opentelekomcloud_dds_public_ip_associate_v3" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DdsPublicIpAssociateV3Args
- 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 DdsPublicIpAssociateV3Args
- 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 DdsPublicIpAssociateV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DdsPublicIpAssociateV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DdsPublicIpAssociateV3Args
- 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 ddsPublicIpAssociateV3Resource = new Opentelekomcloud.DdsPublicIpAssociateV3("ddsPublicIpAssociateV3Resource", new()
{
NodeId = "string",
PublicIp = "string",
PublicIpId = "string",
DdsPublicIpAssociateV3Id = "string",
Timeouts = new Opentelekomcloud.Inputs.DdsPublicIpAssociateV3TimeoutsArgs
{
Create = "string",
Update = "string",
},
});
example, err := opentelekomcloud.NewDdsPublicIpAssociateV3(ctx, "ddsPublicIpAssociateV3Resource", &opentelekomcloud.DdsPublicIpAssociateV3Args{
NodeId: pulumi.String("string"),
PublicIp: pulumi.String("string"),
PublicIpId: pulumi.String("string"),
DdsPublicIpAssociateV3Id: pulumi.String("string"),
Timeouts: &opentelekomcloud.DdsPublicIpAssociateV3TimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "opentelekomcloud_dds_public_ip_associate_v3" "ddsPublicIpAssociateV3Resource" {
lifecycle {
create_before_destroy = true
}
node_id = "string"
public_ip = "string"
public_ip_id = "string"
dds_public_ip_associate_v3_id = "string"
timeouts = {
create = "string"
update = "string"
}
}
var ddsPublicIpAssociateV3Resource = new DdsPublicIpAssociateV3("ddsPublicIpAssociateV3Resource", DdsPublicIpAssociateV3Args.builder()
.nodeId("string")
.publicIp("string")
.publicIpId("string")
.ddsPublicIpAssociateV3Id("string")
.timeouts(DdsPublicIpAssociateV3TimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.build());
dds_public_ip_associate_v3_resource = opentelekomcloud.DdsPublicIpAssociateV3("ddsPublicIpAssociateV3Resource",
node_id="string",
public_ip="string",
public_ip_id="string",
dds_public_ip_associate_v3_id="string",
timeouts={
"create": "string",
"update": "string",
})
const ddsPublicIpAssociateV3Resource = new opentelekomcloud.DdsPublicIpAssociateV3("ddsPublicIpAssociateV3Resource", {
nodeId: "string",
publicIp: "string",
publicIpId: "string",
ddsPublicIpAssociateV3Id: "string",
timeouts: {
create: "string",
update: "string",
},
});
type: opentelekomcloud:DdsPublicIpAssociateV3
properties:
ddsPublicIpAssociateV3Id: string
nodeId: string
publicIp: string
publicIpId: string
timeouts:
create: string
update: string
DdsPublicIpAssociateV3 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 DdsPublicIpAssociateV3 resource accepts the following input properties:
- Node
Id string - Specifies the DDS node ID.
- Public
Ip string - Specifies the EIP to be bound. The value must be in the standard IP address format.
- Public
Ip stringId - Specifies the EIP ID. The value must be in the standard UUID format.
- Dds
Public stringIp Associate V3Id - Timeouts
Dds
Public Ip Associate V3Timeouts
- Node
Id string - Specifies the DDS node ID.
- Public
Ip string - Specifies the EIP to be bound. The value must be in the standard IP address format.
- Public
Ip stringId - Specifies the EIP ID. The value must be in the standard UUID format.
- Dds
Public stringIp Associate V3Id - Timeouts
Dds
Public Ip Associate V3Timeouts Args
- node_
id string - Specifies the DDS node ID.
- public_
ip string - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public_
ip_ stringid - Specifies the EIP ID. The value must be in the standard UUID format.
- dds_
public_ stringip_ associate_ v3_ id - timeouts object
- node
Id String - Specifies the DDS node ID.
- public
Ip String - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public
Ip StringId - Specifies the EIP ID. The value must be in the standard UUID format.
- dds
Public StringIp Associate V3Id - timeouts
Dds
Public Ip Associate V3Timeouts
- node
Id string - Specifies the DDS node ID.
- public
Ip string - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public
Ip stringId - Specifies the EIP ID. The value must be in the standard UUID format.
- dds
Public stringIp Associate V3Id - timeouts
Dds
Public Ip Associate V3Timeouts
- node_
id str - Specifies the DDS node ID.
- public_
ip str - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public_
ip_ strid - Specifies the EIP ID. The value must be in the standard UUID format.
- dds_
public_ strip_ associate_ v3_ id - timeouts
Dds
Public Ip Associate V3Timeouts Args
- node
Id String - Specifies the DDS node ID.
- public
Ip String - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public
Ip StringId - Specifies the EIP ID. The value must be in the standard UUID format.
- dds
Public StringIp Associate V3Id - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DdsPublicIpAssociateV3 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 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 DdsPublicIpAssociateV3 Resource
Get an existing DdsPublicIpAssociateV3 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?: DdsPublicIpAssociateV3State, opts?: CustomResourceOptions): DdsPublicIpAssociateV3@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dds_public_ip_associate_v3_id: Optional[str] = None,
node_id: Optional[str] = None,
public_ip: Optional[str] = None,
public_ip_id: Optional[str] = None,
timeouts: Optional[DdsPublicIpAssociateV3TimeoutsArgs] = None) -> DdsPublicIpAssociateV3func GetDdsPublicIpAssociateV3(ctx *Context, name string, id IDInput, state *DdsPublicIpAssociateV3State, opts ...ResourceOption) (*DdsPublicIpAssociateV3, error)public static DdsPublicIpAssociateV3 Get(string name, Input<string> id, DdsPublicIpAssociateV3State? state, CustomResourceOptions? opts = null)public static DdsPublicIpAssociateV3 get(String name, Output<String> id, DdsPublicIpAssociateV3State state, CustomResourceOptions options)resources: _: type: opentelekomcloud:DdsPublicIpAssociateV3 get: id: ${id}import {
to = opentelekomcloud_dds_public_ip_associate_v3.example
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.
- Dds
Public stringIp Associate V3Id - Node
Id string - Specifies the DDS node ID.
- Public
Ip string - Specifies the EIP to be bound. The value must be in the standard IP address format.
- Public
Ip stringId - Specifies the EIP ID. The value must be in the standard UUID format.
- Timeouts
Dds
Public Ip Associate V3Timeouts
- Dds
Public stringIp Associate V3Id - Node
Id string - Specifies the DDS node ID.
- Public
Ip string - Specifies the EIP to be bound. The value must be in the standard IP address format.
- Public
Ip stringId - Specifies the EIP ID. The value must be in the standard UUID format.
- Timeouts
Dds
Public Ip Associate V3Timeouts Args
- dds_
public_ stringip_ associate_ v3_ id - node_
id string - Specifies the DDS node ID.
- public_
ip string - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public_
ip_ stringid - Specifies the EIP ID. The value must be in the standard UUID format.
- timeouts object
- dds
Public StringIp Associate V3Id - node
Id String - Specifies the DDS node ID.
- public
Ip String - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public
Ip StringId - Specifies the EIP ID. The value must be in the standard UUID format.
- timeouts
Dds
Public Ip Associate V3Timeouts
- dds
Public stringIp Associate V3Id - node
Id string - Specifies the DDS node ID.
- public
Ip string - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public
Ip stringId - Specifies the EIP ID. The value must be in the standard UUID format.
- timeouts
Dds
Public Ip Associate V3Timeouts
- dds_
public_ strip_ associate_ v3_ id - node_
id str - Specifies the DDS node ID.
- public_
ip str - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public_
ip_ strid - Specifies the EIP ID. The value must be in the standard UUID format.
- timeouts
Dds
Public Ip Associate V3Timeouts Args
- dds
Public StringIp Associate V3Id - node
Id String - Specifies the DDS node ID.
- public
Ip String - Specifies the EIP to be bound. The value must be in the standard IP address format.
- public
Ip StringId - Specifies the EIP ID. The value must be in the standard UUID format.
- timeouts Property Map
Supporting Types
DdsPublicIpAssociateV3Timeouts, DdsPublicIpAssociateV3TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
published on Friday, Jul 31, 2026 by opentelekomcloud