1. Packages
  2. OVH
  3. API Docs
  4. OVHcloud
  5. Connect
OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud

ovh.OVHcloud.Connect

Explore with Pulumi AI

OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud

Use this data source to retrieve information about an Ovhcloud Connect product

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const occ = ovh.OVHcloud.Connect({
    serviceName: "XXX",
});
Copy
import pulumi
import pulumi_ovh as ovh

occ = ovh.OVHcloud.connect(service_name="XXX")
Copy
package main

import (
	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/ovhcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ovhcloud.Connect(ctx, &ovhcloud.ConnectArgs{
			ServiceName: "XXX",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var occ = Ovh.OVHcloud.Connect.Invoke(new()
    {
        ServiceName = "XXX",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.OVHcloud.OVHcloudFunctions;
import com.pulumi.ovh.OVHcloud.inputs.ConnectArgs;
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 occ = OVHcloudFunctions.Connect(ConnectArgs.builder()
            .serviceName("XXX")
            .build());

    }
}
Copy
variables:
  occ:
    fn::invoke:
      function: ovh:OVHcloud:Connect
      arguments:
        serviceName: XXX
Copy

Using Connect

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 connect(args: ConnectArgs, opts?: InvokeOptions): Promise<ConnectResult>
function connectOutput(args: ConnectOutputArgs, opts?: InvokeOptions): Output<ConnectResult>
Copy
def connect(service_name: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> ConnectResult
def connect_output(service_name: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[ConnectResult]
Copy
func Connect(ctx *Context, args *ConnectArgs, opts ...InvokeOption) (*ConnectResult, error)
func ConnectOutput(ctx *Context, args *ConnectOutputArgs, opts ...InvokeOption) ConnectResultOutput
Copy
public static class Connect 
{
    public static Task<ConnectResult> InvokeAsync(ConnectArgs args, InvokeOptions? opts = null)
    public static Output<ConnectResult> Invoke(ConnectInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ConnectResult> connect(ConnectArgs args, InvokeOptions options)
public static Output<ConnectResult> connect(ConnectArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ovh:OVHcloud:Connect
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ServiceName This property is required. string
The uuid of the Ovhcloud connect.
ServiceName This property is required. string
The uuid of the Ovhcloud connect.
serviceName This property is required. String
The uuid of the Ovhcloud connect.
serviceName This property is required. string
The uuid of the Ovhcloud connect.
service_name This property is required. str
The uuid of the Ovhcloud connect.
serviceName This property is required. String
The uuid of the Ovhcloud connect.

Connect Result

The following output properties are available:

Bandwidth string
Service bandwidth
Description string
Service description
Iam ConnectIam
IAM resource information
Id string
The provider-assigned unique ID for this managed resource.
InterfaceLists List<double>
List of interfaces linked to a service
Pop string
Pop reference where the service is delivered
PortQuantity string
Port quantity
Product string
Product name of the service
ProviderName string
Service provider
ServiceName string
Service name
Status string
Service status
Uuid string
uuid of the Ovhcloud Connect service
Vrack string
vrack linked to the service
Bandwidth string
Service bandwidth
Description string
Service description
Iam ConnectIam
IAM resource information
Id string
The provider-assigned unique ID for this managed resource.
InterfaceLists []float64
List of interfaces linked to a service
Pop string
Pop reference where the service is delivered
PortQuantity string
Port quantity
Product string
Product name of the service
ProviderName string
Service provider
ServiceName string
Service name
Status string
Service status
Uuid string
uuid of the Ovhcloud Connect service
Vrack string
vrack linked to the service
bandwidth String
Service bandwidth
description String
Service description
iam ConnectIam
IAM resource information
id String
The provider-assigned unique ID for this managed resource.
interfaceLists List<Double>
List of interfaces linked to a service
pop String
Pop reference where the service is delivered
portQuantity String
Port quantity
product String
Product name of the service
providerName String
Service provider
serviceName String
Service name
status String
Service status
uuid String
uuid of the Ovhcloud Connect service
vrack String
vrack linked to the service
bandwidth string
Service bandwidth
description string
Service description
iam ConnectIam
IAM resource information
id string
The provider-assigned unique ID for this managed resource.
interfaceLists number[]
List of interfaces linked to a service
pop string
Pop reference where the service is delivered
portQuantity string
Port quantity
product string
Product name of the service
providerName string
Service provider
serviceName string
Service name
status string
Service status
uuid string
uuid of the Ovhcloud Connect service
vrack string
vrack linked to the service
bandwidth str
Service bandwidth
description str
Service description
iam ovhcloud.ConnectIam
IAM resource information
id str
The provider-assigned unique ID for this managed resource.
interface_lists Sequence[float]
List of interfaces linked to a service
pop str
Pop reference where the service is delivered
port_quantity str
Port quantity
product str
Product name of the service
provider_name str
Service provider
service_name str
Service name
status str
Service status
uuid str
uuid of the Ovhcloud Connect service
vrack str
vrack linked to the service
bandwidth String
Service bandwidth
description String
Service description
iam Property Map
IAM resource information
id String
The provider-assigned unique ID for this managed resource.
interfaceLists List<Number>
List of interfaces linked to a service
pop String
Pop reference where the service is delivered
portQuantity String
Port quantity
product String
Product name of the service
providerName String
Service provider
serviceName String
Service name
status String
Service status
uuid String
uuid of the Ovhcloud Connect service
vrack String
vrack linked to the service

Supporting Types

ConnectIam

DisplayName This property is required. string
Resource display name
Id This property is required. string
Unique identifier of the resource in the IAM
Tags This property is required. Dictionary<string, string>
Resource tags. Tags that were internally computed are prefixed with ovh:
Urn This property is required. string
URN of the private database, used when writing IAM policies
DisplayName This property is required. string
Resource display name
Id This property is required. string
Unique identifier of the resource in the IAM
Tags This property is required. map[string]string
Resource tags. Tags that were internally computed are prefixed with ovh:
Urn This property is required. string
URN of the private database, used when writing IAM policies
displayName This property is required. String
Resource display name
id This property is required. String
Unique identifier of the resource in the IAM
tags This property is required. Map<String,String>
Resource tags. Tags that were internally computed are prefixed with ovh:
urn This property is required. String
URN of the private database, used when writing IAM policies
displayName This property is required. string
Resource display name
id This property is required. string
Unique identifier of the resource in the IAM
tags This property is required. {[key: string]: string}
Resource tags. Tags that were internally computed are prefixed with ovh:
urn This property is required. string
URN of the private database, used when writing IAM policies
display_name This property is required. str
Resource display name
id This property is required. str
Unique identifier of the resource in the IAM
tags This property is required. Mapping[str, str]
Resource tags. Tags that were internally computed are prefixed with ovh:
urn This property is required. str
URN of the private database, used when writing IAM policies
displayName This property is required. String
Resource display name
id This property is required. String
Unique identifier of the resource in the IAM
tags This property is required. Map<String>
Resource tags. Tags that were internally computed are prefixed with ovh:
urn This property is required. String
URN of the private database, used when writing IAM policies

Package Details

Repository
ovh ovh/pulumi-ovh
License
Apache-2.0
Notes
This Pulumi package is based on the ovh Terraform Provider.
OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud