selectel 7.0.1-alpha published on Thursday, Sep 25, 2025 by selectel
selectel.getDedicatedOsV1
Explore with Pulumi AI
selectel 7.0.1-alpha published on Thursday, Sep 25, 2025 by selectel
Provides a list of available operating systems.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.SelectelFunctions;
import com.pulumi.selectel.inputs.GetDedicatedConfigurationV1Args;
import com.pulumi.selectel.inputs.GetDedicatedLocationV1Args;
import com.pulumi.selectel.inputs.GetDedicatedLocationV1FilterArgs;
import com.pulumi.selectel.inputs.GetDedicatedOsV1Args;
import com.pulumi.selectel.inputs.GetDedicatedOsV1FilterArgs;
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 serverConfig = SelectelFunctions.getDedicatedConfigurationV1(GetDedicatedConfigurationV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.filter(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
final var serverLocation = SelectelFunctions.getDedicatedLocationV1(GetDedicatedLocationV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.filter(GetDedicatedLocationV1FilterArgs.builder()
.name("MSK-2")
.build())
.build());
final var serverOs = SelectelFunctions.getDedicatedOsV1(GetDedicatedOsV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.filter(GetDedicatedOsV1FilterArgs.builder()
.name("Ubuntu")
.version("22.04")
.configurationId(serverConfig.applyValue(getDedicatedConfigurationV1Result -> getDedicatedConfigurationV1Result.configurations()[0].id()))
.locationId(serverLocation.applyValue(getDedicatedLocationV1Result -> getDedicatedLocationV1Result.locations()[0].id()))
.build())
.build());
}
}
variables:
serverConfig:
fn::invoke:
function: selectel:getDedicatedConfigurationV1
arguments:
projectId: ${selectel_vpc_project_v2.project_1.id}
filter:
- name: CL25-NVMe
serverLocation:
fn::invoke:
function: selectel:getDedicatedLocationV1
arguments:
projectId: ${selectel_vpc_project_v2.project_1.id}
filter:
name: MSK-2
serverOs:
fn::invoke:
function: selectel:getDedicatedOsV1
arguments:
projectId: ${selectel_vpc_project_v2.project_1.id}
filter:
name: Ubuntu
version: '22.04'
configurationId: ${serverConfig.configurations[0].id}
locationId: ${serverLocation.locations[0].id}
Using getDedicatedOsV1
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 getDedicatedOsV1(args: GetDedicatedOsV1Args, opts?: InvokeOptions): Promise<GetDedicatedOsV1Result>
function getDedicatedOsV1Output(args: GetDedicatedOsV1OutputArgs, opts?: InvokeOptions): Output<GetDedicatedOsV1Result>
def get_dedicated_os_v1(filter: Optional[GetDedicatedOsV1Filter] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDedicatedOsV1Result
def get_dedicated_os_v1_output(filter: Optional[pulumi.Input[GetDedicatedOsV1FilterArgs]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedOsV1Result]
func GetDedicatedOsV1(ctx *Context, args *GetDedicatedOsV1Args, opts ...InvokeOption) (*GetDedicatedOsV1Result, error)
func GetDedicatedOsV1Output(ctx *Context, args *GetDedicatedOsV1OutputArgs, opts ...InvokeOption) GetDedicatedOsV1ResultOutput
> Note: This function is named GetDedicatedOsV1
in the Go SDK.
public static class GetDedicatedOsV1
{
public static Task<GetDedicatedOsV1Result> InvokeAsync(GetDedicatedOsV1Args args, InvokeOptions? opts = null)
public static Output<GetDedicatedOsV1Result> Invoke(GetDedicatedOsV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDedicatedOsV1Result> getDedicatedOsV1(GetDedicatedOsV1Args args, InvokeOptions options)
public static Output<GetDedicatedOsV1Result> getDedicatedOsV1(GetDedicatedOsV1Args args, InvokeOptions options)
fn::invoke:
function: selectel:index/getDedicatedOsV1:getDedicatedOsV1
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Filter
Get
Dedicated Os V1Filter - Values to filter available operating systems.
- Id string
- Unique identifier of the OS.
- Project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Filter
Get
Dedicated Os V1Filter - Values to filter available operating systems.
- Id string
- Unique identifier of the OS.
- project
Id String - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- filter
Get
Dedicated Os V1Filter - Values to filter available operating systems.
- id String
- Unique identifier of the OS.
- project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- filter
Get
Dedicated Os V1Filter - Values to filter available operating systems.
- id string
- Unique identifier of the OS.
- project_
id str - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- filter
Get
Dedicated Os V1Filter - Values to filter available operating systems.
- id str
- Unique identifier of the OS.
- project
Id String - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- filter Property Map
- Values to filter available operating systems.
- id String
- Unique identifier of the OS.
getDedicatedOsV1 Result
The following output properties are available:
- Id string
- Unique identifier of the OS.
- Os
List<Get
Dedicated Os V1O> - OS type.
- Project
Id string - Filter
Get
Dedicated Os V1Filter
- Id string
- Unique identifier of the OS.
- Os
[]Get
Dedicated Os V1O - OS type.
- Project
Id string - Filter
Get
Dedicated Os V1Filter
- id String
- Unique identifier of the OS.
- os
List<Get
Dedicated Os V1O> - OS type.
- project
Id String - filter
Get
Dedicated Os V1Filter
- id string
- Unique identifier of the OS.
- os
Get
Dedicated Os V1O[] - OS type.
- project
Id string - filter
Get
Dedicated Os V1Filter
- id str
- Unique identifier of the OS.
- os
Sequence[Get
Dedicated Os V1O] - OS type.
- project_
id str - filter
Get
Dedicated Os V1Filter
- id String
- Unique identifier of the OS.
- os List<Property Map>
- OS type.
- project
Id String - filter Property Map
Supporting Types
GetDedicatedOsV1Filter
- Configuration
Id string - Unique identifier of the server configuration.
- Location
Id string - Unique identifier of the location.
- Name string
- Name of the OS to search.
- Version string
- Version of the OS to search.
- Configuration
Id string - Unique identifier of the server configuration.
- Location
Id string - Unique identifier of the location.
- Name string
- Name of the OS to search.
- Version string
- Version of the OS to search.
- configuration
Id String - Unique identifier of the server configuration.
- location
Id String - Unique identifier of the location.
- name String
- Name of the OS to search.
- version String
- Version of the OS to search.
- configuration
Id string - Unique identifier of the server configuration.
- location
Id string - Unique identifier of the location.
- name string
- Name of the OS to search.
- version string
- Version of the OS to search.
- configuration_
id str - Unique identifier of the server configuration.
- location_
id str - Unique identifier of the location.
- name str
- Name of the OS to search.
- version str
- Version of the OS to search.
- configuration
Id String - Unique identifier of the server configuration.
- location
Id String - Unique identifier of the location.
- name String
- Name of the OS to search.
- version String
- Version of the OS to search.
GetDedicatedOsV1O
- Arch string
- OS architecture.
- Id string
- Unique identifier of the OS.
- Name string
- OS name.
- Os string
- OS type.
- Partitioning bool
- Shows if partitioning is allowed.
- Scripts
Allowed bool - Shows if user script is allowed.
- Ssh
Key boolAllowed - Shows if SSH key is allowed.
- Version string
- OS version.
- Arch string
- OS architecture.
- Id string
- Unique identifier of the OS.
- Name string
- OS name.
- Os string
- OS type.
- Partitioning bool
- Shows if partitioning is allowed.
- Scripts
Allowed bool - Shows if user script is allowed.
- Ssh
Key boolAllowed - Shows if SSH key is allowed.
- Version string
- OS version.
- arch String
- OS architecture.
- id String
- Unique identifier of the OS.
- name String
- OS name.
- os String
- OS type.
- partitioning Boolean
- Shows if partitioning is allowed.
- scripts
Allowed Boolean - Shows if user script is allowed.
- ssh
Key BooleanAllowed - Shows if SSH key is allowed.
- version String
- OS version.
- arch string
- OS architecture.
- id string
- Unique identifier of the OS.
- name string
- OS name.
- os string
- OS type.
- partitioning boolean
- Shows if partitioning is allowed.
- scripts
Allowed boolean - Shows if user script is allowed.
- ssh
Key booleanAllowed - Shows if SSH key is allowed.
- version string
- OS version.
- arch str
- OS architecture.
- id str
- Unique identifier of the OS.
- name str
- OS name.
- os str
- OS type.
- partitioning bool
- Shows if partitioning is allowed.
- scripts_
allowed bool - Shows if user script is allowed.
- ssh_
key_ boolallowed - Shows if SSH key is allowed.
- version str
- OS version.
- arch String
- OS architecture.
- id String
- Unique identifier of the OS.
- name String
- OS name.
- os String
- OS type.
- partitioning Boolean
- Shows if partitioning is allowed.
- scripts
Allowed Boolean - Shows if user script is allowed.
- ssh
Key BooleanAllowed - Shows if SSH key is allowed.
- version String
- OS version.
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectel
Terraform Provider.
selectel 7.0.1-alpha published on Thursday, Sep 25, 2025 by selectel