Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getCloudGuardConfiguration

This data source provides details about a specific Cloud Guard Configuration resource in Oracle Cloud Infrastructure Cloud Guard service.

GET Cloud Guard Configuration Details for a Tenancy.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testCloudGuardConfiguration = Output.Create(Oci.CloudGuard.GetCloudGuardConfiguration.InvokeAsync(new Oci.CloudGuard.GetCloudGuardConfigurationArgs
        {
            CompartmentId = @var.Compartment_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.GetCloudGuardConfiguration(ctx, &cloudguard.GetCloudGuardConfigurationArgs{
			CompartmentId: _var.Compartment_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_cloud_guard_configuration = oci.CloudGuard.get_cloud_guard_configuration(compartment_id=var["compartment_id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testCloudGuardConfiguration = oci.CloudGuard.getCloudGuardConfiguration({
    compartmentId: _var.compartment_id,
});

Coming soon!

Using getCloudGuardConfiguration

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 getCloudGuardConfiguration(args: GetCloudGuardConfigurationArgs, opts?: InvokeOptions): Promise<GetCloudGuardConfigurationResult>
function getCloudGuardConfigurationOutput(args: GetCloudGuardConfigurationOutputArgs, opts?: InvokeOptions): Output<GetCloudGuardConfigurationResult>
def get_cloud_guard_configuration(compartment_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetCloudGuardConfigurationResult
def get_cloud_guard_configuration_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetCloudGuardConfigurationResult]
func GetCloudGuardConfiguration(ctx *Context, args *GetCloudGuardConfigurationArgs, opts ...InvokeOption) (*GetCloudGuardConfigurationResult, error)
func GetCloudGuardConfigurationOutput(ctx *Context, args *GetCloudGuardConfigurationOutputArgs, opts ...InvokeOption) GetCloudGuardConfigurationResultOutput

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

public static class GetCloudGuardConfiguration 
{
    public static Task<GetCloudGuardConfigurationResult> InvokeAsync(GetCloudGuardConfigurationArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudGuardConfigurationResult> Invoke(GetCloudGuardConfigurationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudGuardConfigurationResult> getCloudGuardConfiguration(GetCloudGuardConfigurationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:CloudGuard/getCloudGuardConfiguration:getCloudGuardConfiguration
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

The ID of the compartment in which to list resources.

CompartmentId string

The ID of the compartment in which to list resources.

compartmentId String

The ID of the compartment in which to list resources.

compartmentId string

The ID of the compartment in which to list resources.

compartment_id str

The ID of the compartment in which to list resources.

compartmentId String

The ID of the compartment in which to list resources.

getCloudGuardConfiguration Result

The following output properties are available:

CompartmentId string
Id string
ReportingRegion string

The reporting region value

SelfManageResources bool

Identifies if Oracle managed resources were created by customers

Status string

Status of Cloud Guard Tenant

CompartmentId string
Id string
ReportingRegion string

The reporting region value

SelfManageResources bool

Identifies if Oracle managed resources were created by customers

Status string

Status of Cloud Guard Tenant

compartmentId String
id String
reportingRegion String

The reporting region value

selfManageResources Boolean

Identifies if Oracle managed resources were created by customers

status String

Status of Cloud Guard Tenant

compartmentId string
id string
reportingRegion string

The reporting region value

selfManageResources boolean

Identifies if Oracle managed resources were created by customers

status string

Status of Cloud Guard Tenant

compartment_id str
id str
reporting_region str

The reporting region value

self_manage_resources bool

Identifies if Oracle managed resources were created by customers

status str

Status of Cloud Guard Tenant

compartmentId String
id String
reportingRegion String

The reporting region value

selfManageResources Boolean

Identifies if Oracle managed resources were created by customers

status String

Status of Cloud Guard Tenant

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.