This data source provides the list of Managed Instance Server Installed Patches in Oracle Cloud Infrastructure Wlms service.
Gets a list of installed patches on a server in a managed instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedInstanceServerInstalledPatches = oci.oci.getWlmsManagedInstanceServerInstalledPatches({
managedInstanceId: testManagedInstance.id,
serverId: testServer.id,
});
import pulumi
import pulumi_oci as oci
test_managed_instance_server_installed_patches = oci.oci.get_wlms_managed_instance_server_installed_patches(managed_instance_id=test_managed_instance["id"],
server_id=test_server["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.GetWlmsManagedInstanceServerInstalledPatches(ctx, &oci.GetWlmsManagedInstanceServerInstalledPatchesArgs{
ManagedInstanceId: testManagedInstance.Id,
ServerId: testServer.Id,
}, 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 testManagedInstanceServerInstalledPatches = Oci.Oci.GetWlmsManagedInstanceServerInstalledPatches.Invoke(new()
{
ManagedInstanceId = testManagedInstance.Id,
ServerId = testServer.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetWlmsManagedInstanceServerInstalledPatchesArgs;
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 testManagedInstanceServerInstalledPatches = OciFunctions.getWlmsManagedInstanceServerInstalledPatches(GetWlmsManagedInstanceServerInstalledPatchesArgs.builder()
.managedInstanceId(testManagedInstance.id())
.serverId(testServer.id())
.build());
}
}
variables:
testManagedInstanceServerInstalledPatches:
fn::invoke:
function: oci:oci:getWlmsManagedInstanceServerInstalledPatches
arguments:
managedInstanceId: ${testManagedInstance.id}
serverId: ${testServer.id}
Using getWlmsManagedInstanceServerInstalledPatches
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 getWlmsManagedInstanceServerInstalledPatches(args: GetWlmsManagedInstanceServerInstalledPatchesArgs, opts?: InvokeOptions): Promise<GetWlmsManagedInstanceServerInstalledPatchesResult>
function getWlmsManagedInstanceServerInstalledPatchesOutput(args: GetWlmsManagedInstanceServerInstalledPatchesOutputArgs, opts?: InvokeOptions): Output<GetWlmsManagedInstanceServerInstalledPatchesResult>def get_wlms_managed_instance_server_installed_patches(filters: Optional[Sequence[GetWlmsManagedInstanceServerInstalledPatchesFilter]] = None,
managed_instance_id: Optional[str] = None,
server_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWlmsManagedInstanceServerInstalledPatchesResult
def get_wlms_managed_instance_server_installed_patches_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsManagedInstanceServerInstalledPatchesFilterArgs]]]] = None,
managed_instance_id: Optional[pulumi.Input[str]] = None,
server_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWlmsManagedInstanceServerInstalledPatchesResult]func GetWlmsManagedInstanceServerInstalledPatches(ctx *Context, args *GetWlmsManagedInstanceServerInstalledPatchesArgs, opts ...InvokeOption) (*GetWlmsManagedInstanceServerInstalledPatchesResult, error)
func GetWlmsManagedInstanceServerInstalledPatchesOutput(ctx *Context, args *GetWlmsManagedInstanceServerInstalledPatchesOutputArgs, opts ...InvokeOption) GetWlmsManagedInstanceServerInstalledPatchesResultOutput> Note: This function is named GetWlmsManagedInstanceServerInstalledPatches in the Go SDK.
public static class GetWlmsManagedInstanceServerInstalledPatches
{
public static Task<GetWlmsManagedInstanceServerInstalledPatchesResult> InvokeAsync(GetWlmsManagedInstanceServerInstalledPatchesArgs args, InvokeOptions? opts = null)
public static Output<GetWlmsManagedInstanceServerInstalledPatchesResult> Invoke(GetWlmsManagedInstanceServerInstalledPatchesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWlmsManagedInstanceServerInstalledPatchesResult> getWlmsManagedInstanceServerInstalledPatches(GetWlmsManagedInstanceServerInstalledPatchesArgs args, InvokeOptions options)
public static Output<GetWlmsManagedInstanceServerInstalledPatchesResult> getWlmsManagedInstanceServerInstalledPatches(GetWlmsManagedInstanceServerInstalledPatchesArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getWlmsManagedInstanceServerInstalledPatches:getWlmsManagedInstanceServerInstalledPatches
arguments:
# arguments dictionaryThe following arguments are supported:
- Managed
Instance stringId - The OCID of the instance.
- Server
Id string The unique identifier of a server.
Note: Not an OCID.
- Filters
List<Get
Wlms Managed Instance Server Installed Patches Filter>
- Managed
Instance stringId - The OCID of the instance.
- Server
Id string The unique identifier of a server.
Note: Not an OCID.
- Filters
[]Get
Wlms Managed Instance Server Installed Patches Filter
- managed
Instance StringId - The OCID of the instance.
- server
Id String The unique identifier of a server.
Note: Not an OCID.
- filters
List<Get
Wlms Managed Instance Server Installed Patches Filter>
- managed
Instance stringId - The OCID of the instance.
- server
Id string The unique identifier of a server.
Note: Not an OCID.
- filters
Get
Wlms Managed Instance Server Installed Patches Filter[]
- managed_
instance_ strid - The OCID of the instance.
- server_
id str The unique identifier of a server.
Note: Not an OCID.
- filters
Sequence[Get
Wlms Managed Instance Server Installed Patches Filter]
- managed
Instance StringId - The OCID of the instance.
- server
Id String The unique identifier of a server.
Note: Not an OCID.
- filters List<Property Map>
getWlmsManagedInstanceServerInstalledPatches Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Installed
Patch List<GetCollections Wlms Managed Instance Server Installed Patches Installed Patch Collection> - The list of installed_patch_collection.
- Managed
Instance stringId - Server
Id string - Filters
List<Get
Wlms Managed Instance Server Installed Patches Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Installed
Patch []GetCollections Wlms Managed Instance Server Installed Patches Installed Patch Collection - The list of installed_patch_collection.
- Managed
Instance stringId - Server
Id string - Filters
[]Get
Wlms Managed Instance Server Installed Patches Filter
- id String
- The provider-assigned unique ID for this managed resource.
- installed
Patch List<GetCollections Wlms Managed Instance Server Installed Patches Installed Patch Collection> - The list of installed_patch_collection.
- managed
Instance StringId - server
Id String - filters
List<Get
Wlms Managed Instance Server Installed Patches Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- installed
Patch GetCollections Wlms Managed Instance Server Installed Patches Installed Patch Collection[] - The list of installed_patch_collection.
- managed
Instance stringId - server
Id string - filters
Get
Wlms Managed Instance Server Installed Patches Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- installed_
patch_ Sequence[Getcollections Wlms Managed Instance Server Installed Patches Installed Patch Collection] - The list of installed_patch_collection.
- managed_
instance_ strid - server_
id str - filters
Sequence[Get
Wlms Managed Instance Server Installed Patches Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- installed
Patch List<Property Map>Collections - The list of installed_patch_collection.
- managed
Instance StringId - server
Id String - filters List<Property Map>
Supporting Types
GetWlmsManagedInstanceServerInstalledPatchesFilter
GetWlmsManagedInstanceServerInstalledPatchesInstalledPatchCollection
- Items
List<Get
Wlms Managed Instance Server Installed Patches Installed Patch Collection Item> - List of installed patches per server
- Items
[]Get
Wlms Managed Instance Server Installed Patches Installed Patch Collection Item - List of installed patches per server
- items
List<Get
Wlms Managed Instance Server Installed Patches Installed Patch Collection Item> - List of installed patches per server
- items
Get
Wlms Managed Instance Server Installed Patches Installed Patch Collection Item[] - List of installed patches per server
- items
Sequence[Get
Wlms Managed Instance Server Installed Patches Installed Patch Collection Item] - List of installed patches per server
- items List<Property Map>
- List of installed patches per server
GetWlmsManagedInstanceServerInstalledPatchesInstalledPatchCollectionItem
- Description string
- The description of the WebLogic patch.
- Display
Name string - The name of the WebLogic patch.
- Id string
- The ID of the WebLogic patch.
- Description string
- The description of the WebLogic patch.
- Display
Name string - The name of the WebLogic patch.
- Id string
- The ID of the WebLogic patch.
- description String
- The description of the WebLogic patch.
- display
Name String - The name of the WebLogic patch.
- id String
- The ID of the WebLogic patch.
- description string
- The description of the WebLogic patch.
- display
Name string - The name of the WebLogic patch.
- id string
- The ID of the WebLogic patch.
- description str
- The description of the WebLogic patch.
- display_
name str - The name of the WebLogic patch.
- id str
- The ID of the WebLogic patch.
- description String
- The description of the WebLogic patch.
- display
Name String - The name of the WebLogic patch.
- id String
- The ID of the WebLogic patch.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
