Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Ocvp.getSupportedVmwareSoftwareVersions
Explore with Pulumi AI
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,
    versionToUpgrade: supportedVmwareSoftwareVersionVersionToUpgrade,
});
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,
    version_to_upgrade=supported_vmware_software_version_version_to_upgrade)
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),
			VersionToUpgrade: pulumi.StringRef(supportedVmwareSoftwareVersionVersionToUpgrade),
		}, 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,
        VersionToUpgrade = supportedVmwareSoftwareVersionVersionToUpgrade,
    });
});
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)
            .versionToUpgrade(supportedVmwareSoftwareVersionVersionToUpgrade)
            .build());
    }
}
variables:
  testSupportedVmwareSoftwareVersions:
    fn::invoke:
      function: oci:Ocvp:getSupportedVmwareSoftwareVersions
      arguments:
        compartmentId: ${compartmentId}
        hostShapeName: ${testShape.name}
        version: ${supportedVmwareSoftwareVersionVersion}
        versionToUpgrade: ${supportedVmwareSoftwareVersionVersionToUpgrade}
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,
                                           version_to_upgrade: 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,
                                           version_to_upgrade: 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)
public static Output<GetSupportedVmwareSoftwareVersionsResult> getSupportedVmwareSoftwareVersions(GetSupportedVmwareSoftwareVersionsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Ocvp/getSupportedVmwareSoftwareVersions:getSupportedVmwareSoftwareVersions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment.
- Filters
List<GetSupported Vmware Software Versions Filter> 
- HostShape stringName 
- 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.
- VersionTo stringUpgrade 
- A filter to return only VMware software versions that the given VMware software version can be upgraded to.
- CompartmentId string
- The OCID of the compartment.
- Filters
[]GetSupported Vmware Software Versions Filter 
- HostShape stringName 
- 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.
- VersionTo stringUpgrade 
- A filter to return only VMware software versions that the given VMware software version can be upgraded to.
- compartmentId String
- The OCID of the compartment.
- filters
List<GetSupported Vmware Software Versions Filter> 
- hostShape StringName 
- 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.
- versionTo StringUpgrade 
- A filter to return only VMware software versions that the given VMware software version can be upgraded to.
- compartmentId string
- The OCID of the compartment.
- filters
GetSupported Vmware Software Versions Filter[] 
- hostShape stringName 
- 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.
- versionTo stringUpgrade 
- A filter to return only VMware software versions that the given VMware software version can be upgraded to.
- compartment_id str
- The OCID of the compartment.
- filters
Sequence[ocvp.Get Supported Vmware Software Versions Filter] 
- host_shape_ strname 
- 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.
- version_to_ strupgrade 
- A filter to return only VMware software versions that the given VMware software version can be upgraded to.
- compartmentId String
- The OCID of the compartment.
- filters List<Property Map>
- hostShape StringName 
- 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.
- versionTo StringUpgrade 
- A filter to return only VMware software versions that the given VMware software version can be upgraded to.
getSupportedVmwareSoftwareVersions Result
The following output properties are available:
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<GetSupported Vmware Software Versions Item> 
- A list of the supported versions of bundled VMware software.
- Filters
List<GetSupported Vmware Software Versions Filter> 
- HostShape stringName 
- Version string
- A short, unique string that identifies the version of bundled software.
- VersionTo stringUpgrade 
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]GetSupported Vmware Software Versions Item 
- A list of the supported versions of bundled VMware software.
- Filters
[]GetSupported Vmware Software Versions Filter 
- HostShape stringName 
- Version string
- A short, unique string that identifies the version of bundled software.
- VersionTo stringUpgrade 
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<GetSupported Vmware Software Versions Item> 
- A list of the supported versions of bundled VMware software.
- filters
List<GetSupported Vmware Software Versions Filter> 
- hostShape StringName 
- version String
- A short, unique string that identifies the version of bundled software.
- versionTo StringUpgrade 
- compartmentId string
- id string
- The provider-assigned unique ID for this managed resource.
- items
GetSupported Vmware Software Versions Item[] 
- A list of the supported versions of bundled VMware software.
- filters
GetSupported Vmware Software Versions Filter[] 
- hostShape stringName 
- version string
- A short, unique string that identifies the version of bundled software.
- versionTo stringUpgrade 
- compartment_id str
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[ocvp.Get Supported Vmware Software Versions Item] 
- A list of the supported versions of bundled VMware software.
- filters
Sequence[ocvp.Get Supported Vmware Software Versions Filter] 
- host_shape_ strname 
- version str
- A short, unique string that identifies the version of bundled software.
- version_to_ strupgrade 
- 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>
- hostShape StringName 
- version String
- A short, unique string that identifies the version of bundled software.
- versionTo StringUpgrade 
Supporting Types
GetSupportedVmwareSoftwareVersionsFilter     
GetSupportedVmwareSoftwareVersionsItem     
- Description string
- A description of the software in the bundle.
- EsxiSoftware List<GetVersions Supported Vmware Software Versions Item Esxi Software Version> 
- 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.
- EsxiSoftware []GetVersions Supported Vmware Software Versions Item Esxi Software Version 
- 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.
- esxiSoftware List<GetVersions Supported Vmware Software Versions Item Esxi Software Version> 
- 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.
- esxiSoftware GetVersions Supported Vmware Software Versions Item Esxi Software Version[] 
- 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_ Sequence[ocvp.versions Get Supported Vmware Software Versions Item Esxi Software Version] 
- 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.
- esxiSoftware List<Property Map>Versions 
- 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.
- SupportedHost List<string>Shape Names 
- 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.
- SupportedHost []stringShape Names 
- 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.
- supportedHost List<String>Shape Names 
- 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.
- supportedHost string[]Shape Names 
- 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_ Sequence[str]shape_ names 
- 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.
- supportedHost List<String>Shape Names 
- 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 ociTerraform Provider.