ovh.OvhcloudConnectPopDatacenterConfig
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:
- ConfigPop doubleId 
- ID of the pop configuration
- DatacenterId double
- ID of the datacenter linked
- ServiceName string
- Service name
- OvhBgp doubleArea 
- OVH Private AS
- Subnet string
- Subnet should be a /28 min
- ConfigPop float64Id 
- ID of the pop configuration
- DatacenterId float64
- ID of the datacenter linked
- ServiceName string
- Service name
- OvhBgp float64Area 
- OVH Private AS
- Subnet string
- Subnet should be a /28 min
- configPop DoubleId 
- ID of the pop configuration
- datacenterId Double
- ID of the datacenter linked
- serviceName String
- Service name
- ovhBgp DoubleArea 
- OVH Private AS
- subnet String
- Subnet should be a /28 min
- configPop numberId 
- ID of the pop configuration
- datacenterId number
- ID of the datacenter linked
- serviceName string
- Service name
- ovhBgp 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
- configPop NumberId 
- ID of the pop configuration
- datacenterId Number
- ID of the datacenter linked
- serviceName String
- Service name
- ovhBgp 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) -> OvhcloudConnectPopDatacenterConfigfunc 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.
- ConfigPop doubleId 
- ID of the pop configuration
- DatacenterId double
- ID of the datacenter linked
- OvhBgp doubleArea 
- OVH Private AS
- ServiceName string
- Service name
- Status string
- Status of the pop configuration
- Subnet string
- Subnet should be a /28 min
- ConfigPop float64Id 
- ID of the pop configuration
- DatacenterId float64
- ID of the datacenter linked
- OvhBgp float64Area 
- OVH Private AS
- ServiceName string
- Service name
- Status string
- Status of the pop configuration
- Subnet string
- Subnet should be a /28 min
- configPop DoubleId 
- ID of the pop configuration
- datacenterId Double
- ID of the datacenter linked
- ovhBgp DoubleArea 
- OVH Private AS
- serviceName String
- Service name
- status String
- Status of the pop configuration
- subnet String
- Subnet should be a /28 min
- configPop numberId 
- ID of the pop configuration
- datacenterId number
- ID of the datacenter linked
- ovhBgp numberArea 
- OVH Private AS
- serviceName 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
- configPop NumberId 
- ID of the pop configuration
- datacenterId Number
- ID of the datacenter linked
- ovhBgp NumberArea 
- OVH Private AS
- serviceName 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 ovhTerraform Provider.
