Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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[_computeinstanceagent.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[_computeinstanceagent.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ComputeInstanceAgent/getInstanceAvailablePlugin:getInstanceAvailablePlugin
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - Os
Name 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'
- Os
Version string - The OS version for which the plugin is supported.
- Filters
List<Get
Instance Available Plugin Filter> - Name string
- The plugin name
- Compartment
Id string - Os
Name 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'
- Os
Version string - The OS version for which the plugin is supported.
- Filters
[]Get
Instance Available Plugin Filter - Name string
- The plugin name
- compartment
Id String - os
Name 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'
- os
Version String - The OS version for which the plugin is supported.
- filters
List<Get
Instance Available Plugin Filter> - name String
- The plugin name
- compartment
Id string - os
Name 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'
- os
Version string - The OS version for which the plugin is supported.
- filters
Get
Instance 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[computeinstanceagent.
Get Instance Available Plugin Filter] - name str
- The plugin name
- compartment
Id String - os
Name 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'
- os
Version 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:
- Available
Plugins List<GetInstance Available Plugin Available Plugin> - The list of available_plugins.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Os
Name string - Os
Version string - Filters
List<Get
Instance Available Plugin Filter> - Name string
- The plugin name
- Available
Plugins []GetInstance Available Plugin Available Plugin - The list of available_plugins.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Os
Name string - Os
Version string - Filters
[]Get
Instance Available Plugin Filter - Name string
- The plugin name
- available
Plugins List<GetInstance Available Plugin Available Plugin> - The list of available_plugins.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- os
Name String - os
Version String - filters
List<Get
Instance Available Plugin Filter> - name String
- The plugin name
- available
Plugins GetInstance Available Plugin Available Plugin[] - The list of available_plugins.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- os
Name string - os
Version string - filters
Get
Instance Available Plugin Filter[] - name string
- The plugin name
- available_
plugins Sequence[computeinstanceagent.Get Instance 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[computeinstanceagent.
Get Instance Available Plugin Filter] - name str
- The plugin name
- available
Plugins List<Property Map> - The list of available_plugins.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- os
Name String - os
Version String - filters List<Property Map>
- name String
- The plugin name
Supporting Types
GetInstanceAvailablePluginAvailablePlugin
- Is
Enabled boolBy Default - Is the plugin enabled or disabled by default
- Is
Supported bool - 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 string
- The plugin name
- Summary string
- A brief description of the plugin functionality
- is
Enabled BooleanBy Default - Is the plugin enabled or disabled by default
- is
Supported Boolean - Is the plugin supported or not
- name String
- The plugin name
- summary String
- A brief description of the plugin functionality
- is
Enabled booleanBy Default - Is the plugin enabled or disabled by default
- is
Supported 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
- is
Enabled BooleanBy Default - Is the plugin enabled or disabled by default
- is
Supported 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
oci
Terraform Provider.