1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudGuard
  5. getWlpAgents
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.CloudGuard.getWlpAgents

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Wlp Agents in Oracle Cloud Infrastructure Cloud Guard service.

    Returns a list of WLP agents in a compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testWlpAgents = oci.CloudGuard.getWlpAgents({
        compartmentId: compartmentId,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_wlp_agents = oci.CloudGuard.get_wlp_agents(compartment_id=compartment_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.GetWlpAgents(ctx, &cloudguard.GetWlpAgentsArgs{
    			CompartmentId: compartmentId,
    		}, 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 testWlpAgents = Oci.CloudGuard.GetWlpAgents.Invoke(new()
        {
            CompartmentId = compartmentId,
        });
    
    });
    
    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.GetWlpAgentsArgs;
    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 testWlpAgents = CloudGuardFunctions.getWlpAgents(GetWlpAgentsArgs.builder()
                .compartmentId(compartmentId)
                .build());
    
        }
    }
    
    variables:
      testWlpAgents:
        fn::invoke:
          Function: oci:CloudGuard:getWlpAgents
          Arguments:
            compartmentId: ${compartmentId}
    

    Using getWlpAgents

    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 getWlpAgents(args: GetWlpAgentsArgs, opts?: InvokeOptions): Promise<GetWlpAgentsResult>
    function getWlpAgentsOutput(args: GetWlpAgentsOutputArgs, opts?: InvokeOptions): Output<GetWlpAgentsResult>
    def get_wlp_agents(compartment_id: Optional[str] = None,
                       filters: Optional[Sequence[_cloudguard.GetWlpAgentsFilter]] = None,
                       opts: Optional[InvokeOptions] = None) -> GetWlpAgentsResult
    def get_wlp_agents_output(compartment_id: Optional[pulumi.Input[str]] = None,
                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_cloudguard.GetWlpAgentsFilterArgs]]]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetWlpAgentsResult]
    func GetWlpAgents(ctx *Context, args *GetWlpAgentsArgs, opts ...InvokeOption) (*GetWlpAgentsResult, error)
    func GetWlpAgentsOutput(ctx *Context, args *GetWlpAgentsOutputArgs, opts ...InvokeOption) GetWlpAgentsResultOutput

    > Note: This function is named GetWlpAgents in the Go SDK.

    public static class GetWlpAgents 
    {
        public static Task<GetWlpAgentsResult> InvokeAsync(GetWlpAgentsArgs args, InvokeOptions? opts = null)
        public static Output<GetWlpAgentsResult> Invoke(GetWlpAgentsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWlpAgentsResult> getWlpAgents(GetWlpAgentsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:CloudGuard/getWlpAgents:getWlpAgents
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    Filters List<GetWlpAgentsFilter>
    CompartmentId string
    The OCID of the compartment in which to list resources.
    Filters []GetWlpAgentsFilter
    compartmentId String
    The OCID of the compartment in which to list resources.
    filters List<GetWlpAgentsFilter>
    compartmentId string
    The OCID of the compartment in which to list resources.
    filters GetWlpAgentsFilter[]
    compartment_id str
    The OCID of the compartment in which to list resources.
    filters Sequence[cloudguard.GetWlpAgentsFilter]
    compartmentId String
    The OCID of the compartment in which to list resources.
    filters List<Property Map>

    getWlpAgents Result

    The following output properties are available:

    CompartmentId string
    Compartment OCID of WlpAgent.
    Id string
    The provider-assigned unique ID for this managed resource.
    WlpAgentCollections List<GetWlpAgentsWlpAgentCollection>
    The list of wlp_agent_collection.
    Filters List<GetWlpAgentsFilter>
    CompartmentId string
    Compartment OCID of WlpAgent.
    Id string
    The provider-assigned unique ID for this managed resource.
    WlpAgentCollections []GetWlpAgentsWlpAgentCollection
    The list of wlp_agent_collection.
    Filters []GetWlpAgentsFilter
    compartmentId String
    Compartment OCID of WlpAgent.
    id String
    The provider-assigned unique ID for this managed resource.
    wlpAgentCollections List<GetWlpAgentsWlpAgentCollection>
    The list of wlp_agent_collection.
    filters List<GetWlpAgentsFilter>
    compartmentId string
    Compartment OCID of WlpAgent.
    id string
    The provider-assigned unique ID for this managed resource.
    wlpAgentCollections GetWlpAgentsWlpAgentCollection[]
    The list of wlp_agent_collection.
    filters GetWlpAgentsFilter[]
    compartment_id str
    Compartment OCID of WlpAgent.
    id str
    The provider-assigned unique ID for this managed resource.
    wlp_agent_collections Sequence[cloudguard.GetWlpAgentsWlpAgentCollection]
    The list of wlp_agent_collection.
    filters Sequence[cloudguard.GetWlpAgentsFilter]
    compartmentId String
    Compartment OCID of WlpAgent.
    id String
    The provider-assigned unique ID for this managed resource.
    wlpAgentCollections List<Property Map>
    The list of wlp_agent_collection.
    filters List<Property Map>

    Supporting Types

    GetWlpAgentsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetWlpAgentsWlpAgentCollection

    GetWlpAgentsWlpAgentCollectionItem

    AgentVersion string
    The version of the agent
    CertificateId string
    The certificate ID returned by Oracle Cloud Infrastructure certificates service
    CertificateSignedRequest string
    The updated certificate signing request
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags 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
    SystemTags 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.
    AgentVersion string
    The version of the agent
    CertificateId string
    The certificate ID returned by Oracle Cloud Infrastructure certificates service
    CertificateSignedRequest string
    The updated certificate signing request
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags 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
    SystemTags 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.
    agentVersion String
    The version of the agent
    certificateId String
    The certificate ID returned by Oracle Cloud Infrastructure certificates service
    certificateSignedRequest String
    The updated certificate signing request
    compartmentId String
    The OCID of the compartment in which to list resources.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags 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
    systemTags 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.
    agentVersion string
    The version of the agent
    certificateId string
    The certificate ID returned by Oracle Cloud Infrastructure certificates service
    certificateSignedRequest string
    The updated certificate signing request
    compartmentId string
    The OCID of the compartment in which to list resources.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[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
    systemTags {[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.
    agent_version str
    The version of the agent
    certificate_id str
    The certificate ID returned by Oracle Cloud Infrastructure certificates service
    certificate_signed_request str
    The updated certificate signing request
    compartment_id str
    The OCID of the compartment in which to list resources.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags 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
    system_tags 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.
    agentVersion String
    The version of the agent
    certificateId String
    The certificate ID returned by Oracle Cloud Infrastructure certificates service
    certificateSignedRequest String
    The updated certificate signing request
    compartmentId String
    The OCID of the compartment in which to list resources.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags 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
    systemTags 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.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi