1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Ocvp
  5. getSupportedVmwareSoftwareVersions
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

oci.Ocvp.getSupportedVmwareSoftwareVersions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

    This data source provides the list of Supported Vmware Software Versions in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.

    Lists the versions of bundled VMware software supported by the Oracle Cloud VMware Solution.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSupportedVmwareSoftwareVersions = oci.Ocvp.getSupportedVmwareSoftwareVersions({
        compartmentId: compartmentId,
        hostShapeName: testShape.name,
        version: supportedVmwareSoftwareVersionVersion,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_supported_vmware_software_versions = oci.Ocvp.get_supported_vmware_software_versions(compartment_id=compartment_id,
        host_shape_name=test_shape["name"],
        version=supported_vmware_software_version_version)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Ocvp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Ocvp.GetSupportedVmwareSoftwareVersions(ctx, &ocvp.GetSupportedVmwareSoftwareVersionsArgs{
    			CompartmentId: compartmentId,
    			HostShapeName: pulumi.StringRef(testShape.Name),
    			Version:       pulumi.StringRef(supportedVmwareSoftwareVersionVersion),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testSupportedVmwareSoftwareVersions = Oci.Ocvp.GetSupportedVmwareSoftwareVersions.Invoke(new()
        {
            CompartmentId = compartmentId,
            HostShapeName = testShape.Name,
            Version = supportedVmwareSoftwareVersionVersion,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Ocvp.OcvpFunctions;
    import com.pulumi.oci.Ocvp.inputs.GetSupportedVmwareSoftwareVersionsArgs;
    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 testSupportedVmwareSoftwareVersions = OcvpFunctions.getSupportedVmwareSoftwareVersions(GetSupportedVmwareSoftwareVersionsArgs.builder()
                .compartmentId(compartmentId)
                .hostShapeName(testShape.name())
                .version(supportedVmwareSoftwareVersionVersion)
                .build());
    
        }
    }
    
    variables:
      testSupportedVmwareSoftwareVersions:
        fn::invoke:
          Function: oci:Ocvp:getSupportedVmwareSoftwareVersions
          Arguments:
            compartmentId: ${compartmentId}
            hostShapeName: ${testShape.name}
            version: ${supportedVmwareSoftwareVersionVersion}
    

    Using getSupportedVmwareSoftwareVersions

    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 getSupportedVmwareSoftwareVersions(args: GetSupportedVmwareSoftwareVersionsArgs, opts?: InvokeOptions): Promise<GetSupportedVmwareSoftwareVersionsResult>
    function getSupportedVmwareSoftwareVersionsOutput(args: GetSupportedVmwareSoftwareVersionsOutputArgs, opts?: InvokeOptions): Output<GetSupportedVmwareSoftwareVersionsResult>
    def get_supported_vmware_software_versions(compartment_id: Optional[str] = None,
                                               filters: Optional[Sequence[_ocvp.GetSupportedVmwareSoftwareVersionsFilter]] = None,
                                               host_shape_name: Optional[str] = None,
                                               version: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetSupportedVmwareSoftwareVersionsResult
    def get_supported_vmware_software_versions_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_ocvp.GetSupportedVmwareSoftwareVersionsFilterArgs]]]] = None,
                                               host_shape_name: Optional[pulumi.Input[str]] = None,
                                               version: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetSupportedVmwareSoftwareVersionsResult]
    func GetSupportedVmwareSoftwareVersions(ctx *Context, args *GetSupportedVmwareSoftwareVersionsArgs, opts ...InvokeOption) (*GetSupportedVmwareSoftwareVersionsResult, error)
    func GetSupportedVmwareSoftwareVersionsOutput(ctx *Context, args *GetSupportedVmwareSoftwareVersionsOutputArgs, opts ...InvokeOption) GetSupportedVmwareSoftwareVersionsResultOutput

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

    public static class GetSupportedVmwareSoftwareVersions 
    {
        public static Task<GetSupportedVmwareSoftwareVersionsResult> InvokeAsync(GetSupportedVmwareSoftwareVersionsArgs args, InvokeOptions? opts = null)
        public static Output<GetSupportedVmwareSoftwareVersionsResult> Invoke(GetSupportedVmwareSoftwareVersionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSupportedVmwareSoftwareVersionsResult> getSupportedVmwareSoftwareVersions(GetSupportedVmwareSoftwareVersionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Ocvp/getSupportedVmwareSoftwareVersions:getSupportedVmwareSoftwareVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    Filters List<GetSupportedVmwareSoftwareVersionsFilter>
    HostShapeName string
    A filter to return only resources that match or support the given ESXi host shape.
    Version string
    A filter to return only resources that match the given VMware software version exactly.
    CompartmentId string
    The OCID of the compartment.
    Filters []GetSupportedVmwareSoftwareVersionsFilter
    HostShapeName string
    A filter to return only resources that match or support the given ESXi host shape.
    Version string
    A filter to return only resources that match the given VMware software version exactly.
    compartmentId String
    The OCID of the compartment.
    filters List<GetSupportedVmwareSoftwareVersionsFilter>
    hostShapeName String
    A filter to return only resources that match or support the given ESXi host shape.
    version String
    A filter to return only resources that match the given VMware software version exactly.
    compartmentId string
    The OCID of the compartment.
    filters GetSupportedVmwareSoftwareVersionsFilter[]
    hostShapeName string
    A filter to return only resources that match or support the given ESXi host shape.
    version string
    A filter to return only resources that match the given VMware software version exactly.
    compartment_id str
    The OCID of the compartment.
    filters Sequence[ocvp.GetSupportedVmwareSoftwareVersionsFilter]
    host_shape_name str
    A filter to return only resources that match or support the given ESXi host shape.
    version str
    A filter to return only resources that match the given VMware software version exactly.
    compartmentId String
    The OCID of the compartment.
    filters List<Property Map>
    hostShapeName String
    A filter to return only resources that match or support the given ESXi host shape.
    version String
    A filter to return only resources that match the given VMware software version exactly.

    getSupportedVmwareSoftwareVersions Result

    The following output properties are available:

    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetSupportedVmwareSoftwareVersionsItem>
    A list of the supported versions of bundled VMware software.
    Filters List<GetSupportedVmwareSoftwareVersionsFilter>
    HostShapeName string
    Version string
    A short, unique string that identifies the version of bundled software.
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetSupportedVmwareSoftwareVersionsItem
    A list of the supported versions of bundled VMware software.
    Filters []GetSupportedVmwareSoftwareVersionsFilter
    HostShapeName string
    Version string
    A short, unique string that identifies the version of bundled software.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetSupportedVmwareSoftwareVersionsItem>
    A list of the supported versions of bundled VMware software.
    filters List<GetSupportedVmwareSoftwareVersionsFilter>
    hostShapeName String
    version String
    A short, unique string that identifies the version of bundled software.
    compartmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    items GetSupportedVmwareSoftwareVersionsItem[]
    A list of the supported versions of bundled VMware software.
    filters GetSupportedVmwareSoftwareVersionsFilter[]
    hostShapeName string
    version string
    A short, unique string that identifies the version of bundled software.
    compartment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[ocvp.GetSupportedVmwareSoftwareVersionsItem]
    A list of the supported versions of bundled VMware software.
    filters Sequence[ocvp.GetSupportedVmwareSoftwareVersionsFilter]
    host_shape_name str
    version str
    A short, unique string that identifies the version of bundled software.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    A list of the supported versions of bundled VMware software.
    filters List<Property Map>
    hostShapeName String
    version String
    A short, unique string that identifies the version of bundled software.

    Supporting Types

    GetSupportedVmwareSoftwareVersionsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetSupportedVmwareSoftwareVersionsItem

    Description string
    A description of the software in the bundle.
    EsxiSoftwareVersions List<GetSupportedVmwareSoftwareVersionsItemEsxiSoftwareVersion>
    A list of supported ESXi software versions.
    Version string
    A filter to return only resources that match the given VMware software version exactly.
    Description string
    A description of the software in the bundle.
    EsxiSoftwareVersions []GetSupportedVmwareSoftwareVersionsItemEsxiSoftwareVersion
    A list of supported ESXi software versions.
    Version string
    A filter to return only resources that match the given VMware software version exactly.
    description String
    A description of the software in the bundle.
    esxiSoftwareVersions List<GetSupportedVmwareSoftwareVersionsItemEsxiSoftwareVersion>
    A list of supported ESXi software versions.
    version String
    A filter to return only resources that match the given VMware software version exactly.
    description string
    A description of the software in the bundle.
    esxiSoftwareVersions GetSupportedVmwareSoftwareVersionsItemEsxiSoftwareVersion[]
    A list of supported ESXi software versions.
    version string
    A filter to return only resources that match the given VMware software version exactly.
    description str
    A description of the software in the bundle.
    esxi_software_versions Sequence[ocvp.GetSupportedVmwareSoftwareVersionsItemEsxiSoftwareVersion]
    A list of supported ESXi software versions.
    version str
    A filter to return only resources that match the given VMware software version exactly.
    description String
    A description of the software in the bundle.
    esxiSoftwareVersions List<Property Map>
    A list of supported ESXi software versions.
    version String
    A filter to return only resources that match the given VMware software version exactly.

    GetSupportedVmwareSoftwareVersionsItemEsxiSoftwareVersion

    Description string
    A description of the software in the bundle.
    SupportedHostShapeNames List<string>
    A list of ESXi host shapes supported by the version of bundled software.
    Version string
    A filter to return only resources that match the given VMware software version exactly.
    Description string
    A description of the software in the bundle.
    SupportedHostShapeNames []string
    A list of ESXi host shapes supported by the version of bundled software.
    Version string
    A filter to return only resources that match the given VMware software version exactly.
    description String
    A description of the software in the bundle.
    supportedHostShapeNames List<String>
    A list of ESXi host shapes supported by the version of bundled software.
    version String
    A filter to return only resources that match the given VMware software version exactly.
    description string
    A description of the software in the bundle.
    supportedHostShapeNames string[]
    A list of ESXi host shapes supported by the version of bundled software.
    version string
    A filter to return only resources that match the given VMware software version exactly.
    description str
    A description of the software in the bundle.
    supported_host_shape_names Sequence[str]
    A list of ESXi host shapes supported by the version of bundled software.
    version str
    A filter to return only resources that match the given VMware software version exactly.
    description String
    A description of the software in the bundle.
    supportedHostShapeNames List<String>
    A list of ESXi host shapes supported by the version of bundled software.
    version String
    A filter to return only resources that match the given VMware software version exactly.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi