1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCvmImportImageOs
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.getCvmImportImageOs

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

    Use this data source to query detailed information of cvm import_image_os

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const importImageOs = tencentcloud.getCvmImportImageOs({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    import_image_os = tencentcloud.get_cvm_import_image_os()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCvmImportImageOs(ctx, &tencentcloud.GetCvmImportImageOsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var importImageOs = Tencentcloud.GetCvmImportImageOs.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCvmImportImageOsArgs;
    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 importImageOs = TencentcloudFunctions.getCvmImportImageOs();
    
        }
    }
    
    variables:
      importImageOs:
        fn::invoke:
          function: tencentcloud:getCvmImportImageOs
          arguments: {}
    

    Using getCvmImportImageOs

    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 getCvmImportImageOs(args: GetCvmImportImageOsArgs, opts?: InvokeOptions): Promise<GetCvmImportImageOsResult>
    function getCvmImportImageOsOutput(args: GetCvmImportImageOsOutputArgs, opts?: InvokeOptions): Output<GetCvmImportImageOsResult>
    def get_cvm_import_image_os(id: Optional[str] = None,
                                result_output_file: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetCvmImportImageOsResult
    def get_cvm_import_image_os_output(id: Optional[pulumi.Input[str]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetCvmImportImageOsResult]
    func GetCvmImportImageOs(ctx *Context, args *GetCvmImportImageOsArgs, opts ...InvokeOption) (*GetCvmImportImageOsResult, error)
    func GetCvmImportImageOsOutput(ctx *Context, args *GetCvmImportImageOsOutputArgs, opts ...InvokeOption) GetCvmImportImageOsResultOutput

    > Note: This function is named GetCvmImportImageOs in the Go SDK.

    public static class GetCvmImportImageOs 
    {
        public static Task<GetCvmImportImageOsResult> InvokeAsync(GetCvmImportImageOsArgs args, InvokeOptions? opts = null)
        public static Output<GetCvmImportImageOsResult> Invoke(GetCvmImportImageOsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCvmImportImageOsResult> getCvmImportImageOs(GetCvmImportImageOsArgs args, InvokeOptions options)
    public static Output<GetCvmImportImageOsResult> getCvmImportImageOs(GetCvmImportImageOsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCvmImportImageOs:getCvmImportImageOs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Id string
    ResultOutputFile string
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.
    id string
    resultOutputFile string
    Used to save results.
    id str
    result_output_file str
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.

    getCvmImportImageOs Result

    The following output properties are available:

    Id string
    ImportImageOsListSupporteds List<GetCvmImportImageOsImportImageOsListSupported>
    Supported operating system types of imported images.
    ImportImageOsVersionSets List<GetCvmImportImageOsImportImageOsVersionSet>
    Supported operating system versions of imported images.
    ResultOutputFile string
    Id string
    ImportImageOsListSupporteds []GetCvmImportImageOsImportImageOsListSupported
    Supported operating system types of imported images.
    ImportImageOsVersionSets []GetCvmImportImageOsImportImageOsVersionSet
    Supported operating system versions of imported images.
    ResultOutputFile string
    id String
    importImageOsListSupporteds List<GetCvmImportImageOsImportImageOsListSupported>
    Supported operating system types of imported images.
    importImageOsVersionSets List<GetCvmImportImageOsImportImageOsVersionSet>
    Supported operating system versions of imported images.
    resultOutputFile String
    id string
    importImageOsListSupporteds GetCvmImportImageOsImportImageOsListSupported[]
    Supported operating system types of imported images.
    importImageOsVersionSets GetCvmImportImageOsImportImageOsVersionSet[]
    Supported operating system versions of imported images.
    resultOutputFile string
    id String
    importImageOsListSupporteds List<Property Map>
    Supported operating system types of imported images.
    importImageOsVersionSets List<Property Map>
    Supported operating system versions of imported images.
    resultOutputFile String

    Supporting Types

    GetCvmImportImageOsImportImageOsListSupported

    Linuxes List<string>
    Supported Linux OS Note: This field may return null, indicating that no valid values can be obtained.
    Windows List<string>
    Supported Windows OS Note: This field may return null, indicating that no valid values can be obtained.
    Linuxes []string
    Supported Linux OS Note: This field may return null, indicating that no valid values can be obtained.
    Windows []string
    Supported Windows OS Note: This field may return null, indicating that no valid values can be obtained.
    linuxes List<String>
    Supported Linux OS Note: This field may return null, indicating that no valid values can be obtained.
    windows List<String>
    Supported Windows OS Note: This field may return null, indicating that no valid values can be obtained.
    linuxes string[]
    Supported Linux OS Note: This field may return null, indicating that no valid values can be obtained.
    windows string[]
    Supported Windows OS Note: This field may return null, indicating that no valid values can be obtained.
    linuxes Sequence[str]
    Supported Linux OS Note: This field may return null, indicating that no valid values can be obtained.
    windows Sequence[str]
    Supported Windows OS Note: This field may return null, indicating that no valid values can be obtained.
    linuxes List<String>
    Supported Linux OS Note: This field may return null, indicating that no valid values can be obtained.
    windows List<String>
    Supported Windows OS Note: This field may return null, indicating that no valid values can be obtained.

    GetCvmImportImageOsImportImageOsVersionSet

    Architectures List<string>
    Supported operating system architecture.
    OsName string
    Operating system type.
    OsVersions List<string>
    Supported operating system versions.
    Architectures []string
    Supported operating system architecture.
    OsName string
    Operating system type.
    OsVersions []string
    Supported operating system versions.
    architectures List<String>
    Supported operating system architecture.
    osName String
    Operating system type.
    osVersions List<String>
    Supported operating system versions.
    architectures string[]
    Supported operating system architecture.
    osName string
    Operating system type.
    osVersions string[]
    Supported operating system versions.
    architectures Sequence[str]
    Supported operating system architecture.
    os_name str
    Operating system type.
    os_versions Sequence[str]
    Supported operating system versions.
    architectures List<String>
    Supported operating system architecture.
    osName String
    Operating system type.
    osVersions List<String>
    Supported operating system versions.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack