Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.CloudGuard.getManagedList
Explore with Pulumi AI
This data source provides details about a specific Managed List resource in Oracle Cloud Infrastructure Cloud Guard service.
Returns a managed list identified by managedListId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedList = oci.CloudGuard.getManagedList({
    managedListId: testManagedListOciCloudGuardManagedList.id,
});
import pulumi
import pulumi_oci as oci
test_managed_list = oci.CloudGuard.get_managed_list(managed_list_id=test_managed_list_oci_cloud_guard_managed_list["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.GetManagedList(ctx, &cloudguard.GetManagedListArgs{
			ManagedListId: testManagedListOciCloudGuardManagedList.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 testManagedList = Oci.CloudGuard.GetManagedList.Invoke(new()
    {
        ManagedListId = testManagedListOciCloudGuardManagedList.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.GetManagedListArgs;
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 testManagedList = CloudGuardFunctions.getManagedList(GetManagedListArgs.builder()
            .managedListId(testManagedListOciCloudGuardManagedList.id())
            .build());
    }
}
variables:
  testManagedList:
    fn::invoke:
      function: oci:CloudGuard:getManagedList
      arguments:
        managedListId: ${testManagedListOciCloudGuardManagedList.id}
Using getManagedList
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 getManagedList(args: GetManagedListArgs, opts?: InvokeOptions): Promise<GetManagedListResult>
function getManagedListOutput(args: GetManagedListOutputArgs, opts?: InvokeOptions): Output<GetManagedListResult>def get_managed_list(managed_list_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetManagedListResult
def get_managed_list_output(managed_list_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetManagedListResult]func LookupManagedList(ctx *Context, args *LookupManagedListArgs, opts ...InvokeOption) (*LookupManagedListResult, error)
func LookupManagedListOutput(ctx *Context, args *LookupManagedListOutputArgs, opts ...InvokeOption) LookupManagedListResultOutput> Note: This function is named LookupManagedList in the Go SDK.
public static class GetManagedList 
{
    public static Task<GetManagedListResult> InvokeAsync(GetManagedListArgs args, InvokeOptions? opts = null)
    public static Output<GetManagedListResult> Invoke(GetManagedListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedListResult> getManagedList(GetManagedListArgs args, InvokeOptions options)
public static Output<GetManagedListResult> getManagedList(GetManagedListArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CloudGuard/getManagedList:getManagedList
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ManagedList stringId 
- The managed list OCID to be passed in the request.
- ManagedList stringId 
- The managed list OCID to be passed in the request.
- managedList StringId 
- The managed list OCID to be passed in the request.
- managedList stringId 
- The managed list OCID to be passed in the request.
- managed_list_ strid 
- The managed list OCID to be passed in the request.
- managedList StringId 
- The managed list OCID to be passed in the request.
getManagedList Result
The following output properties are available:
- CompartmentId string
- Compartment OCID where the resource is created
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- Managed list description
- DisplayName string
- Managed list display name
- FeedProvider string
- Provider of the managed list feed
- 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"}
- Id string
- Unique identifier that can't be changed after creation
- IsEditable bool
- Is this list editable?
- LifecyleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
- ListItems List<string>
- List of items in the managed list
- ListType string
- Type of information contained in the managed list
- ManagedList stringId 
- SourceManaged stringList Id 
- OCID of the source managed list
- State string
- The current lifecycle state of the resource
- 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"}
- TimeCreated string
- The date and time the managed list was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the managed list was last updated. Format defined by RFC3339.
- CompartmentId string
- Compartment OCID where the resource is created
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- Managed list description
- DisplayName string
- Managed list display name
- FeedProvider string
- Provider of the managed list feed
- 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"}
- Id string
- Unique identifier that can't be changed after creation
- IsEditable bool
- Is this list editable?
- LifecyleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
- ListItems []string
- List of items in the managed list
- ListType string
- Type of information contained in the managed list
- ManagedList stringId 
- SourceManaged stringList Id 
- OCID of the source managed list
- State string
- The current lifecycle state of the resource
- 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"}
- TimeCreated string
- The date and time the managed list was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the managed list was last updated. Format defined by RFC3339.
- compartmentId String
- Compartment OCID where the resource is created
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- Managed list description
- displayName String
- Managed list display name
- feedProvider String
- Provider of the managed list feed
- 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"}
- id String
- Unique identifier that can't be changed after creation
- isEditable Boolean
- Is this list editable?
- lifecyleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
- listItems List<String>
- List of items in the managed list
- listType String
- Type of information contained in the managed list
- managedList StringId 
- sourceManaged StringList Id 
- OCID of the source managed list
- state String
- The current lifecycle state of the resource
- 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"}
- timeCreated String
- The date and time the managed list was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the managed list was last updated. Format defined by RFC3339.
- compartmentId string
- Compartment OCID where the resource is created
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- Managed list description
- displayName string
- Managed list display name
- feedProvider string
- Provider of the managed list feed
- {[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"}
- id string
- Unique identifier that can't be changed after creation
- isEditable boolean
- Is this list editable?
- lifecyleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
- listItems string[]
- List of items in the managed list
- listType string
- Type of information contained in the managed list
- managedList stringId 
- sourceManaged stringList Id 
- OCID of the source managed list
- state string
- The current lifecycle state of the resource
- {[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"}
- timeCreated string
- The date and time the managed list was created. Format defined by RFC3339.
- timeUpdated string
- The date and time the managed list was last updated. Format defined by RFC3339.
- compartment_id str
- Compartment OCID where the resource is created
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- Managed list description
- display_name str
- Managed list display name
- feed_provider str
- Provider of the managed list feed
- 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"}
- id str
- Unique identifier that can't be changed after creation
- is_editable bool
- Is this list editable?
- lifecyle_details str
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
- list_items Sequence[str]
- List of items in the managed list
- list_type str
- Type of information contained in the managed list
- managed_list_ strid 
- source_managed_ strlist_ id 
- OCID of the source managed list
- state str
- The current lifecycle state of the resource
- 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"}
- time_created str
- The date and time the managed list was created. Format defined by RFC3339.
- time_updated str
- The date and time the managed list was last updated. Format defined by RFC3339.
- compartmentId String
- Compartment OCID where the resource is created
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- Managed list description
- displayName String
- Managed list display name
- feedProvider String
- Provider of the managed list feed
- 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"}
- id String
- Unique identifier that can't be changed after creation
- isEditable Boolean
- Is this list editable?
- lifecyleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
- listItems List<String>
- List of items in the managed list
- listType String
- Type of information contained in the managed list
- managedList StringId 
- sourceManaged StringList Id 
- OCID of the source managed list
- state String
- The current lifecycle state of the resource
- 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"}
- timeCreated String
- The date and time the managed list was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the managed list was last updated. Format defined by RFC3339.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.