Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Ocvp/getSupportedVmwareSoftwareVersions:getSupportedVmwareSoftwareVersions
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Filters
List<Get
Supported Vmware Software Versions Filter> - Host
Shape 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.
- Version
To stringUpgrade - A filter to return only VMware software versions that the given VMware software version can be upgraded to.
- Compartment
Id string - The OCID of the compartment.
- Filters
[]Get
Supported Vmware Software Versions Filter - Host
Shape 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.
- Version
To stringUpgrade - A filter to return only VMware software versions that the given VMware software version can be upgraded to.
- compartment
Id String - The OCID of the compartment.
- filters
List<Get
Supported Vmware Software Versions Filter> - host
Shape 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.
- version
To StringUpgrade - A filter to return only VMware software versions that the given VMware software version can be upgraded to.
- compartment
Id string - The OCID of the compartment.
- filters
Get
Supported Vmware Software Versions Filter[] - host
Shape 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.
- version
To 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.
- compartment
Id String - The OCID of the compartment.
- filters List<Property Map>
- host
Shape 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.
- version
To 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:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Supported Vmware Software Versions Item> - A list of the supported versions of bundled VMware software.
- Filters
List<Get
Supported Vmware Software Versions Filter> - Host
Shape stringName - Version string
- A short, unique string that identifies the version of bundled software.
- Version
To stringUpgrade
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Supported Vmware Software Versions Item - A list of the supported versions of bundled VMware software.
- Filters
[]Get
Supported Vmware Software Versions Filter - Host
Shape stringName - Version string
- A short, unique string that identifies the version of bundled software.
- Version
To stringUpgrade
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Supported Vmware Software Versions Item> - A list of the supported versions of bundled VMware software.
- filters
List<Get
Supported Vmware Software Versions Filter> - host
Shape StringName - version String
- A short, unique string that identifies the version of bundled software.
- version
To StringUpgrade
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Supported Vmware Software Versions Item[] - A list of the supported versions of bundled VMware software.
- filters
Get
Supported Vmware Software Versions Filter[] - host
Shape stringName - version string
- A short, unique string that identifies the version of bundled software.
- version
To 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
- compartment
Id 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>
- host
Shape StringName - version String
- A short, unique string that identifies the version of bundled software.
- version
To StringUpgrade
Supporting Types
GetSupportedVmwareSoftwareVersionsFilter
GetSupportedVmwareSoftwareVersionsItem
- Description string
- A description of the software in the bundle.
- Esxi
Software 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.
- Esxi
Software []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.
- esxi
Software 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.
- esxi
Software 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.
- esxi
Software 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.
- Supported
Host 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.
- Supported
Host []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.
- supported
Host 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.
- supported
Host 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.
- supported
Host 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
oci
Terraform Provider.