This data source provides details about a specific Wls Domain Server resource in Oracle Cloud Infrastructure Wlms service.
Gets information about the specified server in a WebLogic domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWlsDomainServer = oci.oci.getWlmsWlsDomainServer({
serverId: testServer.id,
wlsDomainId: testWlsDomain.id,
});
import pulumi
import pulumi_oci as oci
test_wls_domain_server = oci.oci.get_wlms_wls_domain_server(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.GetWlmsWlsDomainServer(ctx, &oci.GetWlmsWlsDomainServerArgs{
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 testWlsDomainServer = Oci.Oci.GetWlmsWlsDomainServer.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.GetWlmsWlsDomainServerArgs;
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 testWlsDomainServer = OciFunctions.getWlmsWlsDomainServer(GetWlmsWlsDomainServerArgs.builder()
.serverId(testServer.id())
.wlsDomainId(testWlsDomain.id())
.build());
}
}
variables:
testWlsDomainServer:
fn::invoke:
function: oci:oci:getWlmsWlsDomainServer
arguments:
serverId: ${testServer.id}
wlsDomainId: ${testWlsDomain.id}
Using getWlmsWlsDomainServer
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 getWlmsWlsDomainServer(args: GetWlmsWlsDomainServerArgs, opts?: InvokeOptions): Promise<GetWlmsWlsDomainServerResult>
function getWlmsWlsDomainServerOutput(args: GetWlmsWlsDomainServerOutputArgs, opts?: InvokeOptions): Output<GetWlmsWlsDomainServerResult>def get_wlms_wls_domain_server(server_id: Optional[str] = None,
wls_domain_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWlmsWlsDomainServerResult
def get_wlms_wls_domain_server_output(server_id: Optional[pulumi.Input[str]] = None,
wls_domain_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWlmsWlsDomainServerResult]func GetWlmsWlsDomainServer(ctx *Context, args *GetWlmsWlsDomainServerArgs, opts ...InvokeOption) (*GetWlmsWlsDomainServerResult, error)
func GetWlmsWlsDomainServerOutput(ctx *Context, args *GetWlmsWlsDomainServerOutputArgs, opts ...InvokeOption) GetWlmsWlsDomainServerResultOutput> Note: This function is named GetWlmsWlsDomainServer in the Go SDK.
public static class GetWlmsWlsDomainServer
{
public static Task<GetWlmsWlsDomainServerResult> InvokeAsync(GetWlmsWlsDomainServerArgs args, InvokeOptions? opts = null)
public static Output<GetWlmsWlsDomainServerResult> Invoke(GetWlmsWlsDomainServerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWlmsWlsDomainServerResult> getWlmsWlsDomainServer(GetWlmsWlsDomainServerArgs args, InvokeOptions options)
public static Output<GetWlmsWlsDomainServerResult> getWlmsWlsDomainServer(GetWlmsWlsDomainServerArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getWlmsWlsDomainServer:getWlmsWlsDomainServer
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.
- Server
Id string The unique identifier of a server.
Note: Not an OCID.
- Wls
Domain stringId - The OCID of the WebLogic domain.
- server
Id String The unique identifier of a server.
Note: Not an OCID.
- wls
Domain StringId - The OCID of the WebLogic domain.
- server
Id string The unique identifier of a server.
Note: Not an OCID.
- wls
Domain stringId - The OCID of the WebLogic domain.
- server_
id str The unique identifier of a server.
Note: Not an OCID.
- wls_
domain_ strid - The OCID of the WebLogic domain.
- server
Id String The unique identifier of a server.
Note: Not an OCID.
- wls
Domain StringId - The OCID of the WebLogic domain.
getWlmsWlsDomainServer Result
The following output properties are available:
- Host
Name string - The name of the server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Admin bool - Whether or not the server is an admin node.
- Jdk
Path string - The JDK path on the server.
- Jdk
Version string - The JDK version on the server.
- Latest
Patches stringStatus - Whether or not the server has installed the latest patches.
- Managed
Instance stringId - The managed instance ID of the server.
- Middleware
Path string - The middleware path on the server.
- Middleware
Type string - The middleware type on the server.
- Name string
- The name of the server.
- Patch
Readiness stringStatus - The patch readiness status of the server.
- Restart
Order int - The restart order assigned to the server.
- Server
Id string - Status string
- The status of the server.
- Time
Created string - The date and time the server was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the server was last reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - Weblogic
Version string - The version of the WebLogic domain of the server
- Wls
Domain stringId - The ID of the WebLogic domain to which the server belongs.
- Wls
Domain stringName - The name of the WebLogic domain to which the server belongs.
- Wls
Domain stringPath - The path of the WebLogic domain to which the server belongs.
- Host
Name string - The name of the server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Admin bool - Whether or not the server is an admin node.
- Jdk
Path string - The JDK path on the server.
- Jdk
Version string - The JDK version on the server.
- Latest
Patches stringStatus - Whether or not the server has installed the latest patches.
- Managed
Instance stringId - The managed instance ID of the server.
- Middleware
Path string - The middleware path on the server.
- Middleware
Type string - The middleware type on the server.
- Name string
- The name of the server.
- Patch
Readiness stringStatus - The patch readiness status of the server.
- Restart
Order int - The restart order assigned to the server.
- Server
Id string - Status string
- The status of the server.
- Time
Created string - The date and time the server was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the server was last reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - Weblogic
Version string - The version of the WebLogic domain of the server
- Wls
Domain stringId - The ID of the WebLogic domain to which the server belongs.
- Wls
Domain stringName - The name of the WebLogic domain to which the server belongs.
- Wls
Domain stringPath - The path of the WebLogic domain to which the server belongs.
- host
Name String - The name of the server.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Admin Boolean - Whether or not the server is an admin node.
- jdk
Path String - The JDK path on the server.
- jdk
Version String - The JDK version on the server.
- latest
Patches StringStatus - Whether or not the server has installed the latest patches.
- managed
Instance StringId - The managed instance ID of the server.
- middleware
Path String - The middleware path on the server.
- middleware
Type String - The middleware type on the server.
- name String
- The name of the server.
- patch
Readiness StringStatus - The patch readiness status of the server.
- restart
Order Integer - The restart order assigned to the server.
- server
Id String - status String
- The status of the server.
- time
Created String - The date and time the server was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the server was last reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - weblogic
Version String - The version of the WebLogic domain of the server
- wls
Domain StringId - The ID of the WebLogic domain to which the server belongs.
- wls
Domain StringName - The name of the WebLogic domain to which the server belongs.
- wls
Domain StringPath - The path of the WebLogic domain to which the server belongs.
- host
Name string - The name of the server.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Admin boolean - Whether or not the server is an admin node.
- jdk
Path string - The JDK path on the server.
- jdk
Version string - The JDK version on the server.
- latest
Patches stringStatus - Whether or not the server has installed the latest patches.
- managed
Instance stringId - The managed instance ID of the server.
- middleware
Path string - The middleware path on the server.
- middleware
Type string - The middleware type on the server.
- name string
- The name of the server.
- patch
Readiness stringStatus - The patch readiness status of the server.
- restart
Order number - The restart order assigned to the server.
- server
Id string - status string
- The status of the server.
- time
Created string - The date and time the server was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the server was last reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - weblogic
Version string - The version of the WebLogic domain of the server
- wls
Domain stringId - The ID of the WebLogic domain to which the server belongs.
- wls
Domain stringName - The name of the WebLogic domain to which the server belongs.
- wls
Domain stringPath - The path of the WebLogic domain to which the server belongs.
- host_
name str - The name of the server.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
admin bool - Whether or not the server is an admin node.
- jdk_
path str - The JDK path on the server.
- jdk_
version str - The JDK version on the server.
- latest_
patches_ strstatus - Whether or not the server has installed the latest patches.
- managed_
instance_ strid - The managed instance ID of the server.
- middleware_
path str - The middleware path on the server.
- middleware_
type str - The middleware type on the server.
- name str
- The name of the server.
- patch_
readiness_ strstatus - The patch readiness status of the server.
- restart_
order int - The restart order assigned to the server.
- server_
id str - status str
- The status of the server.
- time_
created str - The date and time the server was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the server was last reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - weblogic_
version str - The version of the WebLogic domain of the server
- wls_
domain_ strid - The ID of the WebLogic domain to which the server belongs.
- wls_
domain_ strname - The name of the WebLogic domain to which the server belongs.
- wls_
domain_ strpath - The path of the WebLogic domain to which the server belongs.
- host
Name String - The name of the server.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Admin Boolean - Whether or not the server is an admin node.
- jdk
Path String - The JDK path on the server.
- jdk
Version String - The JDK version on the server.
- latest
Patches StringStatus - Whether or not the server has installed the latest patches.
- managed
Instance StringId - The managed instance ID of the server.
- middleware
Path String - The middleware path on the server.
- middleware
Type String - The middleware type on the server.
- name String
- The name of the server.
- patch
Readiness StringStatus - The patch readiness status of the server.
- restart
Order Number - The restart order assigned to the server.
- server
Id String - status String
- The status of the server.
- time
Created String - The date and time the server was first reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the server was last reported (in RFC 3339 format). Example:
2016-08-25T21:10:29.600Z - weblogic
Version String - The version of the WebLogic domain of the server
- wls
Domain StringId - The ID of the WebLogic domain to which the server belongs.
- wls
Domain StringName - The name of the WebLogic domain to which the server belongs.
- wls
Domain StringPath - The path of the WebLogic domain to which the server belongs.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
