Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.CloudGuard.getWlpAgent
Explore with Pulumi AI
This data source provides details about a specific Wlp Agent resource in Oracle Cloud Infrastructure Cloud Guard service.
Returns a WlpAgent resource for an on-premise resource identified by wlpAgentId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWlpAgent = oci.CloudGuard.getWlpAgent({
    wlpAgentId: testWlpAgentOciCloudGuardWlpAgent.id,
});
import pulumi
import pulumi_oci as oci
test_wlp_agent = oci.CloudGuard.get_wlp_agent(wlp_agent_id=test_wlp_agent_oci_cloud_guard_wlp_agent["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/cloudguard"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudguard.GetWlpAgent(ctx, &cloudguard.GetWlpAgentArgs{
			WlpAgentId: testWlpAgentOciCloudGuardWlpAgent.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 testWlpAgent = Oci.CloudGuard.GetWlpAgent.Invoke(new()
    {
        WlpAgentId = testWlpAgentOciCloudGuardWlpAgent.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.CloudGuardFunctions;
import com.pulumi.oci.CloudGuard.inputs.GetWlpAgentArgs;
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 testWlpAgent = CloudGuardFunctions.getWlpAgent(GetWlpAgentArgs.builder()
            .wlpAgentId(testWlpAgentOciCloudGuardWlpAgent.id())
            .build());
    }
}
variables:
  testWlpAgent:
    fn::invoke:
      function: oci:CloudGuard:getWlpAgent
      arguments:
        wlpAgentId: ${testWlpAgentOciCloudGuardWlpAgent.id}
Using getWlpAgent
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 getWlpAgent(args: GetWlpAgentArgs, opts?: InvokeOptions): Promise<GetWlpAgentResult>
function getWlpAgentOutput(args: GetWlpAgentOutputArgs, opts?: InvokeOptions): Output<GetWlpAgentResult>def get_wlp_agent(wlp_agent_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetWlpAgentResult
def get_wlp_agent_output(wlp_agent_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetWlpAgentResult]func LookupWlpAgent(ctx *Context, args *LookupWlpAgentArgs, opts ...InvokeOption) (*LookupWlpAgentResult, error)
func LookupWlpAgentOutput(ctx *Context, args *LookupWlpAgentOutputArgs, opts ...InvokeOption) LookupWlpAgentResultOutput> Note: This function is named LookupWlpAgent in the Go SDK.
public static class GetWlpAgent 
{
    public static Task<GetWlpAgentResult> InvokeAsync(GetWlpAgentArgs args, InvokeOptions? opts = null)
    public static Output<GetWlpAgentResult> Invoke(GetWlpAgentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWlpAgentResult> getWlpAgent(GetWlpAgentArgs args, InvokeOptions options)
public static Output<GetWlpAgentResult> getWlpAgent(GetWlpAgentArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CloudGuard/getWlpAgent:getWlpAgent
  arguments:
    # arguments dictionaryThe following arguments are supported:
- WlpAgent stringId 
- WLP agent OCID.
- WlpAgent stringId 
- WLP agent OCID.
- wlpAgent StringId 
- WLP agent OCID.
- wlpAgent stringId 
- WLP agent OCID.
- wlp_agent_ strid 
- WLP agent OCID.
- wlpAgent StringId 
- WLP agent OCID.
getWlpAgent Result
The following output properties are available:
- AgentVersion string
- The version of the agent
- CertificateId string
- The certificate ID returned by Oracle Cloud Infrastructure certificates service
- CertificateSigned stringRequest 
- The updated certificate signing request
- CompartmentId string
- Compartment OCID of WlpAgent.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- HostId string
- OCID for instance in which WlpAgent is installed
- Id string
- OCID for WlpAgent
- OsInfo string
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TenantId string
- TenantId of the host
- TimeCreated string
- The date and time the WlpAgent was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the WlpAgent was updated. Format defined by RFC3339.
- WlpAgent stringId 
- AgentVersion string
- The version of the agent
- CertificateId string
- The certificate ID returned by Oracle Cloud Infrastructure certificates service
- CertificateSigned stringRequest 
- The updated certificate signing request
- CompartmentId string
- Compartment OCID of WlpAgent.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- HostId string
- OCID for instance in which WlpAgent is installed
- Id string
- OCID for WlpAgent
- OsInfo string
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TenantId string
- TenantId of the host
- TimeCreated string
- The date and time the WlpAgent was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the WlpAgent was updated. Format defined by RFC3339.
- WlpAgent stringId 
- agentVersion String
- The version of the agent
- certificateId String
- The certificate ID returned by Oracle Cloud Infrastructure certificates service
- certificateSigned StringRequest 
- The updated certificate signing request
- compartmentId String
- Compartment OCID of WlpAgent.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- hostId String
- OCID for instance in which WlpAgent is installed
- id String
- OCID for WlpAgent
- osInfo String
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- tenantId String
- TenantId of the host
- timeCreated String
- The date and time the WlpAgent was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the WlpAgent was updated. Format defined by RFC3339.
- wlpAgent StringId 
- agentVersion string
- The version of the agent
- certificateId string
- The certificate ID returned by Oracle Cloud Infrastructure certificates service
- certificateSigned stringRequest 
- The updated certificate signing request
- compartmentId string
- Compartment OCID of WlpAgent.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- hostId string
- OCID for instance in which WlpAgent is installed
- id string
- OCID for WlpAgent
- osInfo string
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- tenantId string
- TenantId of the host
- timeCreated string
- The date and time the WlpAgent was created. Format defined by RFC3339.
- timeUpdated string
- The date and time the WlpAgent was updated. Format defined by RFC3339.
- wlpAgent stringId 
- agent_version str
- The version of the agent
- certificate_id str
- The certificate ID returned by Oracle Cloud Infrastructure certificates service
- certificate_signed_ strrequest 
- The updated certificate signing request
- compartment_id str
- Compartment OCID of WlpAgent.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- host_id str
- OCID for instance in which WlpAgent is installed
- id str
- OCID for WlpAgent
- os_info str
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- tenant_id str
- TenantId of the host
- time_created str
- The date and time the WlpAgent was created. Format defined by RFC3339.
- time_updated str
- The date and time the WlpAgent was updated. Format defined by RFC3339.
- wlp_agent_ strid 
- agentVersion String
- The version of the agent
- certificateId String
- The certificate ID returned by Oracle Cloud Infrastructure certificates service
- certificateSigned StringRequest 
- The updated certificate signing request
- compartmentId String
- Compartment OCID of WlpAgent.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- hostId String
- OCID for instance in which WlpAgent is installed
- id String
- OCID for WlpAgent
- osInfo String
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- tenantId String
- TenantId of the host
- timeCreated String
- The date and time the WlpAgent was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the WlpAgent was updated. Format defined by RFC3339.
- wlpAgent StringId 
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.