opentelekomcloud.DcHostedConnectV3
Explore with Pulumi AI
Manages a hosted connection resource within OpenTelekomCloud.
NOTE: Direct Connect v3 API that are used in this resource officially supported only on SwissCloud now.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const hostingId = config.requireObject("hostingId");
const project = opentelekomcloud.getIdentityProjectV3({
name: "project",
});
const hc = new opentelekomcloud.DcHostedConnectV3("hc", {
description: "create",
resourceTenantId: project.then(project => project.id),
hostingId: hostingId,
vlan: 441,
bandwidth: 10,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
hosting_id = config.require_object("hostingId")
project = opentelekomcloud.get_identity_project_v3(name="project")
hc = opentelekomcloud.DcHostedConnectV3("hc",
description="create",
resource_tenant_id=project.id,
hosting_id=hosting_id,
vlan=441,
bandwidth=10)
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, "")
hostingId := cfg.RequireObject("hostingId")
project, err := opentelekomcloud.LookupIdentityProjectV3(ctx, &opentelekomcloud.LookupIdentityProjectV3Args{
Name: pulumi.StringRef("project"),
}, nil)
if err != nil {
return err
}
_, err = opentelekomcloud.NewDcHostedConnectV3(ctx, "hc", &opentelekomcloud.DcHostedConnectV3Args{
Description: pulumi.String("create"),
ResourceTenantId: pulumi.String(project.Id),
HostingId: pulumi.Any(hostingId),
Vlan: pulumi.Float64(441),
Bandwidth: pulumi.Float64(10),
})
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 hostingId = config.RequireObject<dynamic>("hostingId");
var project = Opentelekomcloud.GetIdentityProjectV3.Invoke(new()
{
Name = "project",
});
var hc = new Opentelekomcloud.DcHostedConnectV3("hc", new()
{
Description = "create",
ResourceTenantId = project.Apply(getIdentityProjectV3Result => getIdentityProjectV3Result.Id),
HostingId = hostingId,
Vlan = 441,
Bandwidth = 10,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetIdentityProjectV3Args;
import com.pulumi.opentelekomcloud.DcHostedConnectV3;
import com.pulumi.opentelekomcloud.DcHostedConnectV3Args;
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 hostingId = config.get("hostingId");
final var project = OpentelekomcloudFunctions.getIdentityProjectV3(GetIdentityProjectV3Args.builder()
.name("project")
.build());
var hc = new DcHostedConnectV3("hc", DcHostedConnectV3Args.builder()
.description("create")
.resourceTenantId(project.applyValue(getIdentityProjectV3Result -> getIdentityProjectV3Result.id()))
.hostingId(hostingId)
.vlan(441)
.bandwidth(10)
.build());
}
}
configuration:
hostingId:
type: dynamic
resources:
hc:
type: opentelekomcloud:DcHostedConnectV3
properties:
description: create
resourceTenantId: ${project.id}
hostingId: ${hostingId}
vlan: 441
bandwidth: 10
variables:
project:
fn::invoke:
function: opentelekomcloud:getIdentityProjectV3
arguments:
name: project
Create DcHostedConnectV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DcHostedConnectV3(name: string, args: DcHostedConnectV3Args, opts?: CustomResourceOptions);
@overload
def DcHostedConnectV3(resource_name: str,
args: DcHostedConnectV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def DcHostedConnectV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[float] = None,
hosting_id: Optional[str] = None,
resource_tenant_id: Optional[str] = None,
vlan: Optional[float] = None,
dc_hosted_connect_v3_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
peer_location: Optional[str] = None,
timeouts: Optional[DcHostedConnectV3TimeoutsArgs] = None)
func NewDcHostedConnectV3(ctx *Context, name string, args DcHostedConnectV3Args, opts ...ResourceOption) (*DcHostedConnectV3, error)
public DcHostedConnectV3(string name, DcHostedConnectV3Args args, CustomResourceOptions? opts = null)
public DcHostedConnectV3(String name, DcHostedConnectV3Args args)
public DcHostedConnectV3(String name, DcHostedConnectV3Args args, CustomResourceOptions options)
type: opentelekomcloud:DcHostedConnectV3
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 DcHostedConnectV3Args
- 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 DcHostedConnectV3Args
- 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 DcHostedConnectV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DcHostedConnectV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DcHostedConnectV3Args
- 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 dcHostedConnectV3Resource = new Opentelekomcloud.DcHostedConnectV3("dcHostedConnectV3Resource", new()
{
Bandwidth = 0,
HostingId = "string",
ResourceTenantId = "string",
Vlan = 0,
DcHostedConnectV3Id = "string",
Description = "string",
Name = "string",
PeerLocation = "string",
Timeouts = new Opentelekomcloud.Inputs.DcHostedConnectV3TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := opentelekomcloud.NewDcHostedConnectV3(ctx, "dcHostedConnectV3Resource", &opentelekomcloud.DcHostedConnectV3Args{
Bandwidth: pulumi.Float64(0),
HostingId: pulumi.String("string"),
ResourceTenantId: pulumi.String("string"),
Vlan: pulumi.Float64(0),
DcHostedConnectV3Id: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
PeerLocation: pulumi.String("string"),
Timeouts: &opentelekomcloud.DcHostedConnectV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var dcHostedConnectV3Resource = new DcHostedConnectV3("dcHostedConnectV3Resource", DcHostedConnectV3Args.builder()
.bandwidth(0)
.hostingId("string")
.resourceTenantId("string")
.vlan(0)
.dcHostedConnectV3Id("string")
.description("string")
.name("string")
.peerLocation("string")
.timeouts(DcHostedConnectV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
dc_hosted_connect_v3_resource = opentelekomcloud.DcHostedConnectV3("dcHostedConnectV3Resource",
bandwidth=0,
hosting_id="string",
resource_tenant_id="string",
vlan=0,
dc_hosted_connect_v3_id="string",
description="string",
name="string",
peer_location="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const dcHostedConnectV3Resource = new opentelekomcloud.DcHostedConnectV3("dcHostedConnectV3Resource", {
bandwidth: 0,
hostingId: "string",
resourceTenantId: "string",
vlan: 0,
dcHostedConnectV3Id: "string",
description: "string",
name: "string",
peerLocation: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: opentelekomcloud:DcHostedConnectV3
properties:
bandwidth: 0
dcHostedConnectV3Id: string
description: string
hostingId: string
name: string
peerLocation: string
resourceTenantId: string
timeouts:
create: string
delete: string
update: string
vlan: 0
DcHostedConnectV3 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 DcHostedConnectV3 resource accepts the following input properties:
- Bandwidth double
- The bandwidth size of the hosted connect in Mbit/s.
- Hosting
Id string The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- Resource
Tenant stringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- Vlan double
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- Dc
Hosted stringConnect V3Id - The resource ID.
- Description string
- The description of the hosted connect.
- Name string
- The name of the hosted connect.
- Peer
Location string - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- Timeouts
Dc
Hosted Connect V3Timeouts
- Bandwidth float64
- The bandwidth size of the hosted connect in Mbit/s.
- Hosting
Id string The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- Resource
Tenant stringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- Vlan float64
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- Dc
Hosted stringConnect V3Id - The resource ID.
- Description string
- The description of the hosted connect.
- Name string
- The name of the hosted connect.
- Peer
Location string - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- Timeouts
Dc
Hosted Connect V3Timeouts Args
- bandwidth Double
- The bandwidth size of the hosted connect in Mbit/s.
- hosting
Id String The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- resource
Tenant StringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- vlan Double
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- dc
Hosted StringConnect V3Id - The resource ID.
- description String
- The description of the hosted connect.
- name String
- The name of the hosted connect.
- peer
Location String - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- timeouts
Dc
Hosted Connect V3Timeouts
- bandwidth number
- The bandwidth size of the hosted connect in Mbit/s.
- hosting
Id string The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- resource
Tenant stringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- vlan number
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- dc
Hosted stringConnect V3Id - The resource ID.
- description string
- The description of the hosted connect.
- name string
- The name of the hosted connect.
- peer
Location string - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- timeouts
Dc
Hosted Connect V3Timeouts
- bandwidth float
- The bandwidth size of the hosted connect in Mbit/s.
- hosting_
id str The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- resource_
tenant_ strid The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- vlan float
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- dc_
hosted_ strconnect_ v3_ id - The resource ID.
- description str
- The description of the hosted connect.
- name str
- The name of the hosted connect.
- peer_
location str - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- timeouts
Dc
Hosted Connect V3Timeouts Args
- bandwidth Number
- The bandwidth size of the hosted connect in Mbit/s.
- hosting
Id String The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- resource
Tenant StringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- vlan Number
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- dc
Hosted StringConnect V3Id - The resource ID.
- description String
- The description of the hosted connect.
- name String
- The name of the hosted connect.
- peer
Location String - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DcHostedConnectV3 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Specifies the region in which to create the resource.
- Status string
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Specifies the region in which to create the resource.
- Status string
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- Specifies the region in which to create the resource.
- status String
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- Specifies the region in which to create the resource.
- status string
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- Specifies the region in which to create the resource.
- status str
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- Specifies the region in which to create the resource.
- status String
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
Look up Existing DcHostedConnectV3 Resource
Get an existing DcHostedConnectV3 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?: DcHostedConnectV3State, opts?: CustomResourceOptions): DcHostedConnectV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[float] = None,
dc_hosted_connect_v3_id: Optional[str] = None,
description: Optional[str] = None,
hosting_id: Optional[str] = None,
name: Optional[str] = None,
peer_location: Optional[str] = None,
region: Optional[str] = None,
resource_tenant_id: Optional[str] = None,
status: Optional[str] = None,
timeouts: Optional[DcHostedConnectV3TimeoutsArgs] = None,
vlan: Optional[float] = None) -> DcHostedConnectV3
func GetDcHostedConnectV3(ctx *Context, name string, id IDInput, state *DcHostedConnectV3State, opts ...ResourceOption) (*DcHostedConnectV3, error)
public static DcHostedConnectV3 Get(string name, Input<string> id, DcHostedConnectV3State? state, CustomResourceOptions? opts = null)
public static DcHostedConnectV3 get(String name, Output<String> id, DcHostedConnectV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:DcHostedConnectV3 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.
- Bandwidth double
- The bandwidth size of the hosted connect in Mbit/s.
- Dc
Hosted stringConnect V3Id - The resource ID.
- Description string
- The description of the hosted connect.
- Hosting
Id string The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- Name string
- The name of the hosted connect.
- Peer
Location string - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- Region string
- Specifies the region in which to create the resource.
- Resource
Tenant stringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- Status string
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- Timeouts
Dc
Hosted Connect V3Timeouts - Vlan double
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- Bandwidth float64
- The bandwidth size of the hosted connect in Mbit/s.
- Dc
Hosted stringConnect V3Id - The resource ID.
- Description string
- The description of the hosted connect.
- Hosting
Id string The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- Name string
- The name of the hosted connect.
- Peer
Location string - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- Region string
- Specifies the region in which to create the resource.
- Resource
Tenant stringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- Status string
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- Timeouts
Dc
Hosted Connect V3Timeouts Args - Vlan float64
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- bandwidth Double
- The bandwidth size of the hosted connect in Mbit/s.
- dc
Hosted StringConnect V3Id - The resource ID.
- description String
- The description of the hosted connect.
- hosting
Id String The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- name String
- The name of the hosted connect.
- peer
Location String - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- region String
- Specifies the region in which to create the resource.
- resource
Tenant StringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- status String
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- timeouts
Dc
Hosted Connect V3Timeouts - vlan Double
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- bandwidth number
- The bandwidth size of the hosted connect in Mbit/s.
- dc
Hosted stringConnect V3Id - The resource ID.
- description string
- The description of the hosted connect.
- hosting
Id string The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- name string
- The name of the hosted connect.
- peer
Location string - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- region string
- Specifies the region in which to create the resource.
- resource
Tenant stringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- status string
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- timeouts
Dc
Hosted Connect V3Timeouts - vlan number
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- bandwidth float
- The bandwidth size of the hosted connect in Mbit/s.
- dc_
hosted_ strconnect_ v3_ id - The resource ID.
- description str
- The description of the hosted connect.
- hosting_
id str The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- name str
- The name of the hosted connect.
- peer_
location str - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- region str
- Specifies the region in which to create the resource.
- resource_
tenant_ strid The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- status str
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- timeouts
Dc
Hosted Connect V3Timeouts Args - vlan float
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
- bandwidth Number
- The bandwidth size of the hosted connect in Mbit/s.
- dc
Hosted StringConnect V3Id - The resource ID.
- description String
- The description of the hosted connect.
- hosting
Id String The ID of the operations connection on which the hosted connect is created.
Changing this parameter will create a new resource.
- name String
- The name of the hosted connect.
- peer
Location String - The location of the on-premises facility at the other end of the connection. Specific to the street or data center name.
- region String
- Specifies the region in which to create the resource.
- resource
Tenant StringId The project ID of the specified tenant for whom a hosted connection is to be created.
Changing this parameter will create a new resource.
- status String
- The status of the hosted connect.
The options are as follows:
- BUILD: The hosted connect has been created.
- ACTIVE: The associated virtual gateway is normal.
- DOWN: The port used by the hosted connect is down, indicating that there may be line faults.
- ERROR: The associated virtual gateway is abnormal.
- PENDING_DELETE: The hosted connect is being deleted.
- PENDING_UPDATE: The hosted connect is being updated.
- PENDING_CREATE: The hosted connect is being created.
- timeouts Property Map
- vlan Number
The VLAN allocated to the hosted connect.
Changing this parameter will create a new resource.
Supporting Types
DcHostedConnectV3Timeouts, DcHostedConnectV3TimeoutsArgs
Import
The hosted connect can be imported using the id
, e.g.
bash
$ pulumi import opentelekomcloud:index/dcHostedConnectV3:DcHostedConnectV3 hc 6d7bdb34-9254-46ad-b9e0-c7edf7abf8bc
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.