Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 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: oci_cloud_guard_managed_list.test_managed_list.id,
});
import pulumi
import pulumi_oci as oci
test_managed_list = oci.CloudGuard.get_managed_list(managed_list_id=oci_cloud_guard_managed_list["test_managed_list"]["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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: oci_cloud_guard_managed_list.Test_managed_list.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 = oci_cloud_guard_managed_list.Test_managed_list.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(oci_cloud_guard_managed_list.test_managed_list().id())
.build());
}
}
variables:
testManagedList:
fn::invoke:
Function: oci:CloudGuard:getManagedList
Arguments:
managedListId: ${oci_cloud_guard_managed_list.test_managed_list.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 GetManagedList(ctx *Context, args *GetManagedListArgs, opts ...InvokeOption) (*GetManagedListResult, error)
func GetManagedListOutput(ctx *Context, args *GetManagedListOutputArgs, opts ...InvokeOption) GetManagedListResultOutput
> Note: This function is named GetManagedList
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:CloudGuard/getManagedList:getManagedList
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
List stringId - The cloudguard list OCID to be passed in the request.
- Managed
List stringId - The cloudguard list OCID to be passed in the request.
- managed
List StringId - The cloudguard list OCID to be passed in the request.
- managed
List stringId - The cloudguard list OCID to be passed in the request.
- managed_
list_ strid - The cloudguard list OCID to be passed in the request.
- managed
List StringId - The cloudguard list OCID to be passed in the request.
getManagedList Result
The following output properties are available:
- Compartment
Id string - Compartment Identifier where the resource is created
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- ManagedList description.
- Display
Name string - ManagedList display name.
- Feed
Provider string - provider of the feed
- Dictionary<string, object>
- 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 is immutable on creation
- Is
Editable bool - If this list is editable or not
- Lifecyle
Details 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.
- List
Items List<string> - List of ManagedListItem
- List
Type string - type of the list
- Managed
List stringId - Source
Managed stringList Id - OCID of the Source ManagedList
- State string
- The current state of the resource.
- Dictionary<string, object>
- 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 string - The date and time the managed list was created. Format defined by RFC3339.
- Time
Updated string - The date and time the managed list was updated. Format defined by RFC3339.
- Compartment
Id string - Compartment Identifier where the resource is created
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- ManagedList description.
- Display
Name string - ManagedList display name.
- Feed
Provider string - provider of the feed
- map[string]interface{}
- 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 is immutable on creation
- Is
Editable bool - If this list is editable or not
- Lifecyle
Details 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.
- List
Items []string - List of ManagedListItem
- List
Type string - type of the list
- Managed
List stringId - Source
Managed stringList Id - OCID of the Source ManagedList
- State string
- The current state of the resource.
- map[string]interface{}
- 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 string - The date and time the managed list was created. Format defined by RFC3339.
- Time
Updated string - The date and time the managed list was updated. Format defined by RFC3339.
- compartment
Id String - Compartment Identifier where the resource is created
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- ManagedList description.
- display
Name String - ManagedList display name.
- feed
Provider String - provider of the feed
- Map<String,Object>
- 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 is immutable on creation
- is
Editable Boolean - If this list is editable or not
- lifecyle
Details 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.
- list
Items List<String> - List of ManagedListItem
- list
Type String - type of the list
- managed
List StringId - source
Managed StringList Id - OCID of the Source ManagedList
- state String
- The current state of the resource.
- Map<String,Object>
- 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 String - The date and time the managed list was created. Format defined by RFC3339.
- time
Updated String - The date and time the managed list was updated. Format defined by RFC3339.
- compartment
Id string - Compartment Identifier where the resource is created
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- ManagedList description.
- display
Name string - ManagedList display name.
- feed
Provider string - provider of the feed
- {[key: string]: any}
- 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 is immutable on creation
- is
Editable boolean - If this list is editable or not
- lifecyle
Details 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.
- list
Items string[] - List of ManagedListItem
- list
Type string - type of the list
- managed
List stringId - source
Managed stringList Id - OCID of the Source ManagedList
- state string
- The current state of the resource.
- {[key: string]: any}
- 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 string - The date and time the managed list was created. Format defined by RFC3339.
- time
Updated string - The date and time the managed list was updated. Format defined by RFC3339.
- compartment_
id str - Compartment Identifier where the resource is created
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- ManagedList description.
- display_
name str - ManagedList display name.
- feed_
provider str - provider of the feed
- Mapping[str, Any]
- 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 is immutable on creation
- is_
editable bool - If this list is editable or not
- 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.
- list_
items Sequence[str] - List of ManagedListItem
- list_
type str - type of the list
- managed_
list_ strid - source_
managed_ strlist_ id - OCID of the Source ManagedList
- state str
- The current state of the resource.
- Mapping[str, Any]
- 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 updated. Format defined by RFC3339.
- compartment
Id String - Compartment Identifier where the resource is created
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- ManagedList description.
- display
Name String - ManagedList display name.
- feed
Provider String - provider of the feed
- Map<Any>
- 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 is immutable on creation
- is
Editable Boolean - If this list is editable or not
- lifecyle
Details 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.
- list
Items List<String> - List of ManagedListItem
- list
Type String - type of the list
- managed
List StringId - source
Managed StringList Id - OCID of the Source ManagedList
- state String
- The current state of the resource.
- Map<Any>
- 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 String - The date and time the managed list was created. Format defined by RFC3339.
- time
Updated String - The date and time the managed list 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.