oci.oci.getWlmsWlsDomainServerInstalledPatches
This data source provides the list of Wls Domain Server Installed Patches in Oracle Cloud Infrastructure Wlms service.
Gets a list of installed patches on a server for a domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWlsDomainServerInstalledPatches = oci.oci.getWlmsWlsDomainServerInstalledPatches({
serverId: testServer.id,
wlsDomainId: testWlsDomain.id,
});
import pulumi
import pulumi_oci as oci
test_wls_domain_server_installed_patches = oci.oci.get_wlms_wls_domain_server_installed_patches(server_id=test_server["id"],
wls_domain_id=test_wls_domain["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.GetWlmsWlsDomainServerInstalledPatches(ctx, &oci.GetWlmsWlsDomainServerInstalledPatchesArgs{
ServerId: testServer.Id,
WlsDomainId: testWlsDomain.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 testWlsDomainServerInstalledPatches = Oci.Oci.GetWlmsWlsDomainServerInstalledPatches.Invoke(new()
{
ServerId = testServer.Id,
WlsDomainId = testWlsDomain.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.GetWlmsWlsDomainServerInstalledPatchesArgs;
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 testWlsDomainServerInstalledPatches = OciFunctions.getWlmsWlsDomainServerInstalledPatches(GetWlmsWlsDomainServerInstalledPatchesArgs.builder()
.serverId(testServer.id())
.wlsDomainId(testWlsDomain.id())
.build());
}
}
variables:
testWlsDomainServerInstalledPatches:
fn::invoke:
function: oci:oci:getWlmsWlsDomainServerInstalledPatches
arguments:
serverId: ${testServer.id}
wlsDomainId: ${testWlsDomain.id}
Using getWlmsWlsDomainServerInstalledPatches
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 getWlmsWlsDomainServerInstalledPatches(args: GetWlmsWlsDomainServerInstalledPatchesArgs, opts?: InvokeOptions): Promise<GetWlmsWlsDomainServerInstalledPatchesResult>
function getWlmsWlsDomainServerInstalledPatchesOutput(args: GetWlmsWlsDomainServerInstalledPatchesOutputArgs, opts?: InvokeOptions): Output<GetWlmsWlsDomainServerInstalledPatchesResult>def get_wlms_wls_domain_server_installed_patches(filters: Optional[Sequence[GetWlmsWlsDomainServerInstalledPatchesFilter]] = None,
server_id: Optional[str] = None,
wls_domain_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWlmsWlsDomainServerInstalledPatchesResult
def get_wlms_wls_domain_server_installed_patches_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWlmsWlsDomainServerInstalledPatchesFilterArgs]]]] = None,
server_id: Optional[pulumi.Input[str]] = None,
wls_domain_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWlmsWlsDomainServerInstalledPatchesResult]func GetWlmsWlsDomainServerInstalledPatches(ctx *Context, args *GetWlmsWlsDomainServerInstalledPatchesArgs, opts ...InvokeOption) (*GetWlmsWlsDomainServerInstalledPatchesResult, error)
func GetWlmsWlsDomainServerInstalledPatchesOutput(ctx *Context, args *GetWlmsWlsDomainServerInstalledPatchesOutputArgs, opts ...InvokeOption) GetWlmsWlsDomainServerInstalledPatchesResultOutput> Note: This function is named GetWlmsWlsDomainServerInstalledPatches in the Go SDK.
public static class GetWlmsWlsDomainServerInstalledPatches
{
public static Task<GetWlmsWlsDomainServerInstalledPatchesResult> InvokeAsync(GetWlmsWlsDomainServerInstalledPatchesArgs args, InvokeOptions? opts = null)
public static Output<GetWlmsWlsDomainServerInstalledPatchesResult> Invoke(GetWlmsWlsDomainServerInstalledPatchesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWlmsWlsDomainServerInstalledPatchesResult> getWlmsWlsDomainServerInstalledPatches(GetWlmsWlsDomainServerInstalledPatchesArgs args, InvokeOptions options)
public static Output<GetWlmsWlsDomainServerInstalledPatchesResult> getWlmsWlsDomainServerInstalledPatches(GetWlmsWlsDomainServerInstalledPatchesArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getWlmsWlsDomainServerInstalledPatches:getWlmsWlsDomainServerInstalledPatches
arguments:
# arguments dictionaryThe following arguments are supported:
- Server
Id string The unique identifier of a server.
Note: Not an OCID.
- Wls
Domain stringId - The OCID of the WebLogic domain.
- Filters
List<Get
Wlms Wls Domain Server Installed Patches Filter>
- Server
Id string The unique identifier of a server.
Note: Not an OCID.
- Wls
Domain stringId - The OCID of the WebLogic domain.
- Filters
[]Get
Wlms Wls Domain Server Installed Patches Filter
- server
Id String The unique identifier of a server.
Note: Not an OCID.
- wls
Domain StringId - The OCID of the WebLogic domain.
- filters
List<Get
Wlms Wls Domain Server Installed Patches Filter>
- server
Id string The unique identifier of a server.
Note: Not an OCID.
- wls
Domain stringId - The OCID of the WebLogic domain.
- filters
Get
Wlms Wls Domain Server Installed Patches Filter[]
- server_
id str The unique identifier of a server.
Note: Not an OCID.
- wls_
domain_ strid - The OCID of the WebLogic domain.
- filters
Sequence[Get
Wlms Wls Domain Server Installed Patches Filter]
- server
Id String The unique identifier of a server.
Note: Not an OCID.
- wls
Domain StringId - The OCID of the WebLogic domain.
- filters List<Property Map>
getWlmsWlsDomainServerInstalledPatches Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Installed
Patch List<GetCollections Wlms Wls Domain Server Installed Patches Installed Patch Collection> - The list of installed_patch_collection.
- Server
Id string - Wls
Domain stringId - Filters
List<Get
Wlms Wls Domain Server Installed Patches Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Installed
Patch []GetCollections Wlms Wls Domain Server Installed Patches Installed Patch Collection - The list of installed_patch_collection.
- Server
Id string - Wls
Domain stringId - Filters
[]Get
Wlms Wls Domain Server Installed Patches Filter
- id String
- The provider-assigned unique ID for this managed resource.
- installed
Patch List<GetCollections Wlms Wls Domain Server Installed Patches Installed Patch Collection> - The list of installed_patch_collection.
- server
Id String - wls
Domain StringId - filters
List<Get
Wlms Wls Domain Server Installed Patches Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- installed
Patch GetCollections Wlms Wls Domain Server Installed Patches Installed Patch Collection[] - The list of installed_patch_collection.
- server
Id string - wls
Domain stringId - filters
Get
Wlms Wls Domain Server Installed Patches Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- installed_
patch_ Sequence[Getcollections Wlms Wls Domain Server Installed Patches Installed Patch Collection] - The list of installed_patch_collection.
- server_
id str - wls_
domain_ strid - filters
Sequence[Get
Wlms Wls Domain 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.
- server
Id String - wls
Domain StringId - filters List<Property Map>
Supporting Types
GetWlmsWlsDomainServerInstalledPatchesFilter
GetWlmsWlsDomainServerInstalledPatchesInstalledPatchCollection
- Items
List<Get
Wlms Wls Domain Server Installed Patches Installed Patch Collection Item> - List of installed patches per server
- Items
[]Get
Wlms Wls Domain Server Installed Patches Installed Patch Collection Item - List of installed patches per server
- items
List<Get
Wlms Wls Domain Server Installed Patches Installed Patch Collection Item> - List of installed patches per server
- items
Get
Wlms Wls Domain Server Installed Patches Installed Patch Collection Item[] - List of installed patches per server
- items
Sequence[Get
Wlms Wls Domain Server Installed Patches Installed Patch Collection Item] - List of installed patches per server
- items List<Property Map>
- List of installed patches per server
GetWlmsWlsDomainServerInstalledPatchesInstalledPatchCollectionItem
- 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.
