Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse
published on Wednesday, Apr 29, 2026 by pulumiverse
Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse
published on Wednesday, Apr 29, 2026 by pulumiverse
Gets information about an OpenSearch deployment.
For more information refer to the product documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get info by name
const byName = scaleway.opensearch.getDeployment({
name: "my-opensearch-cluster",
});
// Get info by deployment ID
const byId = scaleway.opensearch.getDeployment({
deploymentId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
# Get info by name
by_name = scaleway.opensearch.get_deployment(name="my-opensearch-cluster")
# Get info by deployment ID
by_id = scaleway.opensearch.get_deployment(deployment_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/opensearch"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get info by name
_, err := opensearch.LookupDeployment(ctx, &opensearch.LookupDeploymentArgs{
Name: pulumi.StringRef("my-opensearch-cluster"),
}, nil)
if err != nil {
return err
}
// Get info by deployment ID
_, err = opensearch.LookupDeployment(ctx, &opensearch.LookupDeploymentArgs{
DeploymentId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Get info by name
var byName = Scaleway.Opensearch.GetDeployment.Invoke(new()
{
Name = "my-opensearch-cluster",
});
// Get info by deployment ID
var byId = Scaleway.Opensearch.GetDeployment.Invoke(new()
{
DeploymentId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.opensearch.OpensearchFunctions;
import com.pulumi.scaleway.opensearch.inputs.GetDeploymentArgs;
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) {
// Get info by name
final var byName = OpensearchFunctions.getDeployment(GetDeploymentArgs.builder()
.name("my-opensearch-cluster")
.build());
// Get info by deployment ID
final var byId = OpensearchFunctions.getDeployment(GetDeploymentArgs.builder()
.deploymentId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
# Get info by name
byName:
fn::invoke:
function: scaleway:opensearch:getDeployment
arguments:
name: my-opensearch-cluster
# Get info by deployment ID
byId:
fn::invoke:
function: scaleway:opensearch:getDeployment
arguments:
deploymentId: 11111111-1111-1111-1111-111111111111
Using getDeployment
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 getDeployment(args: GetDeploymentArgs, opts?: InvokeOptions): Promise<GetDeploymentResult>
function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: InvokeOptions): Output<GetDeploymentResult>def get_deployment(deployment_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeploymentResult
def get_deployment_output(deployment_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentResult]func LookupDeployment(ctx *Context, args *LookupDeploymentArgs, opts ...InvokeOption) (*LookupDeploymentResult, error)
func LookupDeploymentOutput(ctx *Context, args *LookupDeploymentOutputArgs, opts ...InvokeOption) LookupDeploymentResultOutput> Note: This function is named LookupDeployment in the Go SDK.
public static class GetDeployment
{
public static Task<GetDeploymentResult> InvokeAsync(GetDeploymentArgs args, InvokeOptions? opts = null)
public static Output<GetDeploymentResult> Invoke(GetDeploymentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
public static Output<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:opensearch/getDeployment:getDeployment
arguments:
# arguments dictionaryThe following arguments are supported:
- Deployment
Id string - The ID of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - Name string
- The name of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - Project
Id string - The ID of the project the OpenSearch deployment is associated with.
- Region string
region) The region in which the deployment exists.
- Deployment
Id string - The ID of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - Name string
- The name of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - Project
Id string - The ID of the project the OpenSearch deployment is associated with.
- Region string
region) The region in which the deployment exists.
- deployment
Id String - The ID of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - name String
- The name of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - project
Id String - The ID of the project the OpenSearch deployment is associated with.
- region String
region) The region in which the deployment exists.
- deployment
Id string - The ID of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - name string
- The name of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - project
Id string - The ID of the project the OpenSearch deployment is associated with.
- region string
region) The region in which the deployment exists.
- deployment_
id str - The ID of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - name str
- The name of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - project_
id str - The ID of the project the OpenSearch deployment is associated with.
- region str
region) The region in which the deployment exists.
- deployment
Id String - The ID of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - name String
- The name of the OpenSearch deployment. Only one of
nameanddeploymentIdshould be specified. - project
Id String - The ID of the project the OpenSearch deployment is associated with.
- region String
region) The region in which the deployment exists.
getDeployment Result
The following output properties are available:
- Created
At string - Endpoints
List<Pulumiverse.
Scaleway. Opensearch. Outputs. Get Deployment Endpoint> - Id string
- The provider-assigned unique ID for this managed resource.
- Node
Amount int - Node
Type string - Password string
- Private
Networks List<Pulumiverse.Scaleway. Opensearch. Outputs. Get Deployment Private Network> - Public
Dashboard stringUrl - Status string
- List<string>
- Updated
At string - User
Name string - Version string
- Volumes
List<Pulumiverse.
Scaleway. Opensearch. Outputs. Get Deployment Volume> - Deployment
Id string - Name string
- Project
Id string - Region string
- Created
At string - Endpoints
[]Get
Deployment Endpoint - Id string
- The provider-assigned unique ID for this managed resource.
- Node
Amount int - Node
Type string - Password string
- Private
Networks []GetDeployment Private Network - Public
Dashboard stringUrl - Status string
- []string
- Updated
At string - User
Name string - Version string
- Volumes
[]Get
Deployment Volume - Deployment
Id string - Name string
- Project
Id string - Region string
- created
At String - endpoints
List<Get
Deployment Endpoint> - id String
- The provider-assigned unique ID for this managed resource.
- node
Amount Integer - node
Type String - password String
- private
Networks List<GetDeployment Private Network> - public
Dashboard StringUrl - status String
- List<String>
- updated
At String - user
Name String - version String
- volumes
List<Get
Deployment Volume> - deployment
Id String - name String
- project
Id String - region String
- created
At string - endpoints
Get
Deployment Endpoint[] - id string
- The provider-assigned unique ID for this managed resource.
- node
Amount number - node
Type string - password string
- private
Networks GetDeployment Private Network[] - public
Dashboard stringUrl - status string
- string[]
- updated
At string - user
Name string - version string
- volumes
Get
Deployment Volume[] - deployment
Id string - name string
- project
Id string - region string
- created_
at str - endpoints
Sequence[Get
Deployment Endpoint] - id str
- The provider-assigned unique ID for this managed resource.
- node_
amount int - node_
type str - password str
- private_
networks Sequence[GetDeployment Private Network] - public_
dashboard_ strurl - status str
- Sequence[str]
- updated_
at str - user_
name str - version str
- volumes
Sequence[Get
Deployment Volume] - deployment_
id str - name str
- project_
id str - region str
- created
At String - endpoints List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- node
Amount Number - node
Type String - password String
- private
Networks List<Property Map> - public
Dashboard StringUrl - status String
- List<String>
- updated
At String - user
Name String - version String
- volumes List<Property Map>
- deployment
Id String - name String
- project
Id String - region String
Supporting Types
GetDeploymentEndpoint
- Id string
- Endpoint ID
- Private
Network stringId - Private network ID if applicable
- Public bool
- Whether the endpoint is public
- Services
List<Pulumiverse.
Scaleway. Opensearch. Inputs. Get Deployment Endpoint Service> - List of services
- Id string
- Endpoint ID
- Private
Network stringId - Private network ID if applicable
- Public bool
- Whether the endpoint is public
- Services
[]Get
Deployment Endpoint Service - List of services
- id String
- Endpoint ID
- private
Network StringId - Private network ID if applicable
- public_ Boolean
- Whether the endpoint is public
- services
List<Get
Deployment Endpoint Service> - List of services
- id string
- Endpoint ID
- private
Network stringId - Private network ID if applicable
- public boolean
- Whether the endpoint is public
- services
Get
Deployment Endpoint Service[] - List of services
- id str
- Endpoint ID
- private_
network_ strid - Private network ID if applicable
- public bool
- Whether the endpoint is public
- services
Sequence[Get
Deployment Endpoint Service] - List of services
- id String
- Endpoint ID
- private
Network StringId - Private network ID if applicable
- public Boolean
- Whether the endpoint is public
- services List<Property Map>
- List of services
GetDeploymentEndpointService
GetDeploymentPrivateNetwork
- Private
Network stringId - UUID of the Private Network
- Private
Network stringId - UUID of the Private Network
- private
Network StringId - UUID of the Private Network
- private
Network stringId - UUID of the Private Network
- private_
network_ strid - UUID of the Private Network
- private
Network StringId - UUID of the Private Network
GetDeploymentVolume
- size_
in_ intgb - Volume size in GB
- type str
- Volume type (sbs_5k, sbs_15k)
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse
published on Wednesday, Apr 29, 2026 by pulumiverse
