Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.ComputeInstanceAgent.getInstanceAvailablePlugin
Explore with Pulumi AI
This data source provides the list of Instance Available Plugins in Oracle Cloud Infrastructure Compute Instance Agent service.
The API to get the list of plugins that are available.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInstanceAvailablePlugins = oci.ComputeInstanceAgent.getInstanceAvailablePlugin({
    osName: instanceAvailablePluginOsName,
    osVersion: instanceAvailablePluginOsVersion,
    name: instanceAvailablePluginName,
});
import pulumi
import pulumi_oci as oci
test_instance_available_plugins = oci.ComputeInstanceAgent.get_instance_available_plugin(os_name=instance_available_plugin_os_name,
    os_version=instance_available_plugin_os_version,
    name=instance_available_plugin_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/computeinstanceagent"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := computeinstanceagent.GetInstanceAvailablePlugin(ctx, &computeinstanceagent.GetInstanceAvailablePluginArgs{
			OsName:    instanceAvailablePluginOsName,
			OsVersion: instanceAvailablePluginOsVersion,
			Name:      pulumi.StringRef(instanceAvailablePluginName),
		}, 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 testInstanceAvailablePlugins = Oci.ComputeInstanceAgent.GetInstanceAvailablePlugin.Invoke(new()
    {
        OsName = instanceAvailablePluginOsName,
        OsVersion = instanceAvailablePluginOsVersion,
        Name = instanceAvailablePluginName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ComputeInstanceAgent.ComputeInstanceAgentFunctions;
import com.pulumi.oci.ComputeInstanceAgent.inputs.GetInstanceAvailablePluginArgs;
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 testInstanceAvailablePlugins = ComputeInstanceAgentFunctions.getInstanceAvailablePlugin(GetInstanceAvailablePluginArgs.builder()
            .osName(instanceAvailablePluginOsName)
            .osVersion(instanceAvailablePluginOsVersion)
            .name(instanceAvailablePluginName)
            .build());
    }
}
variables:
  testInstanceAvailablePlugins:
    fn::invoke:
      function: oci:ComputeInstanceAgent:getInstanceAvailablePlugin
      arguments:
        osName: ${instanceAvailablePluginOsName}
        osVersion: ${instanceAvailablePluginOsVersion}
        name: ${instanceAvailablePluginName}
Using getInstanceAvailablePlugin
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 getInstanceAvailablePlugin(args: GetInstanceAvailablePluginArgs, opts?: InvokeOptions): Promise<GetInstanceAvailablePluginResult>
function getInstanceAvailablePluginOutput(args: GetInstanceAvailablePluginOutputArgs, opts?: InvokeOptions): Output<GetInstanceAvailablePluginResult>def get_instance_available_plugin(compartment_id: Optional[str] = None,
                                  filters: Optional[Sequence[GetInstanceAvailablePluginFilter]] = None,
                                  name: Optional[str] = None,
                                  os_name: Optional[str] = None,
                                  os_version: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetInstanceAvailablePluginResult
def get_instance_available_plugin_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstanceAvailablePluginFilterArgs]]]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  os_name: Optional[pulumi.Input[str]] = None,
                                  os_version: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetInstanceAvailablePluginResult]func GetInstanceAvailablePlugin(ctx *Context, args *GetInstanceAvailablePluginArgs, opts ...InvokeOption) (*GetInstanceAvailablePluginResult, error)
func GetInstanceAvailablePluginOutput(ctx *Context, args *GetInstanceAvailablePluginOutputArgs, opts ...InvokeOption) GetInstanceAvailablePluginResultOutput> Note: This function is named GetInstanceAvailablePlugin in the Go SDK.
public static class GetInstanceAvailablePlugin 
{
    public static Task<GetInstanceAvailablePluginResult> InvokeAsync(GetInstanceAvailablePluginArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceAvailablePluginResult> Invoke(GetInstanceAvailablePluginInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceAvailablePluginResult> getInstanceAvailablePlugin(GetInstanceAvailablePluginArgs args, InvokeOptions options)
public static Output<GetInstanceAvailablePluginResult> getInstanceAvailablePlugin(GetInstanceAvailablePluginArgs args, InvokeOptions options)
fn::invoke:
  function: oci:ComputeInstanceAgent/getInstanceAvailablePlugin:getInstanceAvailablePlugin
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- OsName string
- The OS for which the plugin is supported. Examples of OperatingSystemQueryParam:OperatingSystemVersionQueryParam are as follows: 'CentOS' '6.10' , 'CentOS Linux' '7', 'CentOS Linux' '8', 'Oracle Linux Server' '6.10', 'Oracle Linux Server' '8.0', 'Red Hat Enterprise Linux Server' '7.8', 'Windows' '10', 'Windows' '2008ServerR2', 'Windows' '2012ServerR2', 'Windows' '7', 'Windows' '8.1'
- OsVersion string
- The OS version for which the plugin is supported.
- Filters
List<GetInstance Available Plugin Filter> 
- Name string
- The plugin name
- CompartmentId string
- OsName string
- The OS for which the plugin is supported. Examples of OperatingSystemQueryParam:OperatingSystemVersionQueryParam are as follows: 'CentOS' '6.10' , 'CentOS Linux' '7', 'CentOS Linux' '8', 'Oracle Linux Server' '6.10', 'Oracle Linux Server' '8.0', 'Red Hat Enterprise Linux Server' '7.8', 'Windows' '10', 'Windows' '2008ServerR2', 'Windows' '2012ServerR2', 'Windows' '7', 'Windows' '8.1'
- OsVersion string
- The OS version for which the plugin is supported.
- Filters
[]GetInstance Available Plugin Filter 
- Name string
- The plugin name
- compartmentId String
- osName String
- The OS for which the plugin is supported. Examples of OperatingSystemQueryParam:OperatingSystemVersionQueryParam are as follows: 'CentOS' '6.10' , 'CentOS Linux' '7', 'CentOS Linux' '8', 'Oracle Linux Server' '6.10', 'Oracle Linux Server' '8.0', 'Red Hat Enterprise Linux Server' '7.8', 'Windows' '10', 'Windows' '2008ServerR2', 'Windows' '2012ServerR2', 'Windows' '7', 'Windows' '8.1'
- osVersion String
- The OS version for which the plugin is supported.
- filters
List<GetInstance Available Plugin Filter> 
- name String
- The plugin name
- compartmentId string
- osName string
- The OS for which the plugin is supported. Examples of OperatingSystemQueryParam:OperatingSystemVersionQueryParam are as follows: 'CentOS' '6.10' , 'CentOS Linux' '7', 'CentOS Linux' '8', 'Oracle Linux Server' '6.10', 'Oracle Linux Server' '8.0', 'Red Hat Enterprise Linux Server' '7.8', 'Windows' '10', 'Windows' '2008ServerR2', 'Windows' '2012ServerR2', 'Windows' '7', 'Windows' '8.1'
- osVersion string
- The OS version for which the plugin is supported.
- filters
GetInstance Available Plugin Filter[] 
- name string
- The plugin name
- compartment_id str
- os_name str
- The OS for which the plugin is supported. Examples of OperatingSystemQueryParam:OperatingSystemVersionQueryParam are as follows: 'CentOS' '6.10' , 'CentOS Linux' '7', 'CentOS Linux' '8', 'Oracle Linux Server' '6.10', 'Oracle Linux Server' '8.0', 'Red Hat Enterprise Linux Server' '7.8', 'Windows' '10', 'Windows' '2008ServerR2', 'Windows' '2012ServerR2', 'Windows' '7', 'Windows' '8.1'
- os_version str
- The OS version for which the plugin is supported.
- filters
Sequence[GetInstance Available Plugin Filter] 
- name str
- The plugin name
- compartmentId String
- osName String
- The OS for which the plugin is supported. Examples of OperatingSystemQueryParam:OperatingSystemVersionQueryParam are as follows: 'CentOS' '6.10' , 'CentOS Linux' '7', 'CentOS Linux' '8', 'Oracle Linux Server' '6.10', 'Oracle Linux Server' '8.0', 'Red Hat Enterprise Linux Server' '7.8', 'Windows' '10', 'Windows' '2008ServerR2', 'Windows' '2012ServerR2', 'Windows' '7', 'Windows' '8.1'
- osVersion String
- The OS version for which the plugin is supported.
- filters List<Property Map>
- name String
- The plugin name
getInstanceAvailablePlugin Result
The following output properties are available:
- AvailablePlugins List<GetInstance Available Plugin Available Plugin> 
- The list of available_plugins.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- OsName string
- OsVersion string
- Filters
List<GetInstance Available Plugin Filter> 
- Name string
- The plugin name
- AvailablePlugins []GetInstance Available Plugin Available Plugin 
- The list of available_plugins.
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- OsName string
- OsVersion string
- Filters
[]GetInstance Available Plugin Filter 
- Name string
- The plugin name
- availablePlugins List<GetInstance Available Plugin Available Plugin> 
- The list of available_plugins.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- osName String
- osVersion String
- filters
List<GetInstance Available Plugin Filter> 
- name String
- The plugin name
- availablePlugins GetInstance Available Plugin Available Plugin[] 
- The list of available_plugins.
- compartmentId string
- id string
- The provider-assigned unique ID for this managed resource.
- osName string
- osVersion string
- filters
GetInstance Available Plugin Filter[] 
- name string
- The plugin name
- available_plugins Sequence[GetInstance Available Plugin Available Plugin] 
- The list of available_plugins.
- compartment_id str
- id str
- The provider-assigned unique ID for this managed resource.
- os_name str
- os_version str
- filters
Sequence[GetInstance Available Plugin Filter] 
- name str
- The plugin name
- availablePlugins List<Property Map>
- The list of available_plugins.
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- osName String
- osVersion String
- filters List<Property Map>
- name String
- The plugin name
Supporting Types
GetInstanceAvailablePluginAvailablePlugin     
- IsEnabled boolBy Default 
- Is the plugin enabled or disabled by default
- IsSupported bool
- Is the plugin supported or not
- Name string
- The plugin name
- Summary string
- A brief description of the plugin functionality
- IsEnabled boolBy Default 
- Is the plugin enabled or disabled by default
- IsSupported bool
- Is the plugin supported or not
- Name string
- The plugin name
- Summary string
- A brief description of the plugin functionality
- isEnabled BooleanBy Default 
- Is the plugin enabled or disabled by default
- isSupported Boolean
- Is the plugin supported or not
- name String
- The plugin name
- summary String
- A brief description of the plugin functionality
- isEnabled booleanBy Default 
- Is the plugin enabled or disabled by default
- isSupported boolean
- Is the plugin supported or not
- name string
- The plugin name
- summary string
- A brief description of the plugin functionality
- is_enabled_ boolby_ default 
- Is the plugin enabled or disabled by default
- is_supported bool
- Is the plugin supported or not
- name str
- The plugin name
- summary str
- A brief description of the plugin functionality
- isEnabled BooleanBy Default 
- Is the plugin enabled or disabled by default
- isSupported Boolean
- Is the plugin supported or not
- name String
- The plugin name
- summary String
- A brief description of the plugin functionality
GetInstanceAvailablePluginFilter    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.