ovh.OvhcloudConnectPopDatacenterConfig
Explore with Pulumi AI
Creates a datacenter configuration for an Ovhcloud Connect product.
For the datacenter_id
in the Required
section, you will need to choose an available datacenter from the data-source ovh.getOvhcloudConnectDatacenters
.
Create OvhcloudConnectPopDatacenterConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OvhcloudConnectPopDatacenterConfig(name: string, args: OvhcloudConnectPopDatacenterConfigArgs, opts?: CustomResourceOptions);
@overload
def OvhcloudConnectPopDatacenterConfig(resource_name: str,
args: OvhcloudConnectPopDatacenterConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OvhcloudConnectPopDatacenterConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_pop_id: Optional[float] = None,
datacenter_id: Optional[float] = None,
service_name: Optional[str] = None,
ovh_bgp_area: Optional[float] = None,
subnet: Optional[str] = None)
func NewOvhcloudConnectPopDatacenterConfig(ctx *Context, name string, args OvhcloudConnectPopDatacenterConfigArgs, opts ...ResourceOption) (*OvhcloudConnectPopDatacenterConfig, error)
public OvhcloudConnectPopDatacenterConfig(string name, OvhcloudConnectPopDatacenterConfigArgs args, CustomResourceOptions? opts = null)
public OvhcloudConnectPopDatacenterConfig(String name, OvhcloudConnectPopDatacenterConfigArgs args)
public OvhcloudConnectPopDatacenterConfig(String name, OvhcloudConnectPopDatacenterConfigArgs args, CustomResourceOptions options)
type: ovh:OvhcloudConnectPopDatacenterConfig
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 OvhcloudConnectPopDatacenterConfigArgs
- 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 OvhcloudConnectPopDatacenterConfigArgs
- 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 OvhcloudConnectPopDatacenterConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OvhcloudConnectPopDatacenterConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OvhcloudConnectPopDatacenterConfigArgs
- 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 ovhcloudConnectPopDatacenterConfigResource = new Ovh.OvhcloudConnectPopDatacenterConfig("ovhcloudConnectPopDatacenterConfigResource", new()
{
ConfigPopId = 0,
DatacenterId = 0,
ServiceName = "string",
OvhBgpArea = 0,
Subnet = "string",
});
example, err := ovh.NewOvhcloudConnectPopDatacenterConfig(ctx, "ovhcloudConnectPopDatacenterConfigResource", &ovh.OvhcloudConnectPopDatacenterConfigArgs{
ConfigPopId: pulumi.Float64(0),
DatacenterId: pulumi.Float64(0),
ServiceName: pulumi.String("string"),
OvhBgpArea: pulumi.Float64(0),
Subnet: pulumi.String("string"),
})
var ovhcloudConnectPopDatacenterConfigResource = new OvhcloudConnectPopDatacenterConfig("ovhcloudConnectPopDatacenterConfigResource", OvhcloudConnectPopDatacenterConfigArgs.builder()
.configPopId(0.0)
.datacenterId(0.0)
.serviceName("string")
.ovhBgpArea(0.0)
.subnet("string")
.build());
ovhcloud_connect_pop_datacenter_config_resource = ovh.OvhcloudConnectPopDatacenterConfig("ovhcloudConnectPopDatacenterConfigResource",
config_pop_id=0,
datacenter_id=0,
service_name="string",
ovh_bgp_area=0,
subnet="string")
const ovhcloudConnectPopDatacenterConfigResource = new ovh.OvhcloudConnectPopDatacenterConfig("ovhcloudConnectPopDatacenterConfigResource", {
configPopId: 0,
datacenterId: 0,
serviceName: "string",
ovhBgpArea: 0,
subnet: "string",
});
type: ovh:OvhcloudConnectPopDatacenterConfig
properties:
configPopId: 0
datacenterId: 0
ovhBgpArea: 0
serviceName: string
subnet: string
OvhcloudConnectPopDatacenterConfig 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 OvhcloudConnectPopDatacenterConfig resource accepts the following input properties:
- Config
Pop doubleId - ID of the pop configuration
- Datacenter
Id double - ID of the datacenter linked
- Service
Name string - Service name
- Ovh
Bgp doubleArea - OVH Private AS
- Subnet string
- Subnet should be a /28 min
- Config
Pop float64Id - ID of the pop configuration
- Datacenter
Id float64 - ID of the datacenter linked
- Service
Name string - Service name
- Ovh
Bgp float64Area - OVH Private AS
- Subnet string
- Subnet should be a /28 min
- config
Pop DoubleId - ID of the pop configuration
- datacenter
Id Double - ID of the datacenter linked
- service
Name String - Service name
- ovh
Bgp DoubleArea - OVH Private AS
- subnet String
- Subnet should be a /28 min
- config
Pop numberId - ID of the pop configuration
- datacenter
Id number - ID of the datacenter linked
- service
Name string - Service name
- ovh
Bgp numberArea - OVH Private AS
- subnet string
- Subnet should be a /28 min
- config_
pop_ floatid - ID of the pop configuration
- datacenter_
id float - ID of the datacenter linked
- service_
name str - Service name
- ovh_
bgp_ floatarea - OVH Private AS
- subnet str
- Subnet should be a /28 min
- config
Pop NumberId - ID of the pop configuration
- datacenter
Id Number - ID of the datacenter linked
- service
Name String - Service name
- ovh
Bgp NumberArea - OVH Private AS
- subnet String
- Subnet should be a /28 min
Outputs
All input properties are implicitly available as output properties. Additionally, the OvhcloudConnectPopDatacenterConfig resource produces the following output properties:
Look up Existing OvhcloudConnectPopDatacenterConfig Resource
Get an existing OvhcloudConnectPopDatacenterConfig 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?: OvhcloudConnectPopDatacenterConfigState, opts?: CustomResourceOptions): OvhcloudConnectPopDatacenterConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_pop_id: Optional[float] = None,
datacenter_id: Optional[float] = None,
ovh_bgp_area: Optional[float] = None,
service_name: Optional[str] = None,
status: Optional[str] = None,
subnet: Optional[str] = None) -> OvhcloudConnectPopDatacenterConfig
func GetOvhcloudConnectPopDatacenterConfig(ctx *Context, name string, id IDInput, state *OvhcloudConnectPopDatacenterConfigState, opts ...ResourceOption) (*OvhcloudConnectPopDatacenterConfig, error)
public static OvhcloudConnectPopDatacenterConfig Get(string name, Input<string> id, OvhcloudConnectPopDatacenterConfigState? state, CustomResourceOptions? opts = null)
public static OvhcloudConnectPopDatacenterConfig get(String name, Output<String> id, OvhcloudConnectPopDatacenterConfigState state, CustomResourceOptions options)
resources: _: type: ovh:OvhcloudConnectPopDatacenterConfig 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.
- Config
Pop doubleId - ID of the pop configuration
- Datacenter
Id double - ID of the datacenter linked
- Ovh
Bgp doubleArea - OVH Private AS
- Service
Name string - Service name
- Status string
- Status of the pop configuration
- Subnet string
- Subnet should be a /28 min
- Config
Pop float64Id - ID of the pop configuration
- Datacenter
Id float64 - ID of the datacenter linked
- Ovh
Bgp float64Area - OVH Private AS
- Service
Name string - Service name
- Status string
- Status of the pop configuration
- Subnet string
- Subnet should be a /28 min
- config
Pop DoubleId - ID of the pop configuration
- datacenter
Id Double - ID of the datacenter linked
- ovh
Bgp DoubleArea - OVH Private AS
- service
Name String - Service name
- status String
- Status of the pop configuration
- subnet String
- Subnet should be a /28 min
- config
Pop numberId - ID of the pop configuration
- datacenter
Id number - ID of the datacenter linked
- ovh
Bgp numberArea - OVH Private AS
- service
Name string - Service name
- status string
- Status of the pop configuration
- subnet string
- Subnet should be a /28 min
- config_
pop_ floatid - ID of the pop configuration
- datacenter_
id float - ID of the datacenter linked
- ovh_
bgp_ floatarea - OVH Private AS
- service_
name str - Service name
- status str
- Status of the pop configuration
- subnet str
- Subnet should be a /28 min
- config
Pop NumberId - ID of the pop configuration
- datacenter
Id Number - ID of the datacenter linked
- ovh
Bgp NumberArea - OVH Private AS
- service
Name String - Service name
- status String
- Status of the pop configuration
- subnet String
- Subnet should be a /28 min
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.