1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudGuard
  5. CloudGuardConfiguration
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.CloudGuard.CloudGuardConfiguration

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Cloud Guard Configuration resource in Oracle Cloud Infrastructure Cloud Guard service.

    Updates configuration details for a Cloud Guard tenancy, identified by root compartment OCID. The reporting region cannot be updated once created.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      testCloudGuardConfiguration:
        type: oci:CloudGuard:CloudGuardConfiguration
        name: test_cloud_guard_configuration
        properties:
          compartmentId: ${compartmentId}
          reportingRegion: ${cloudGuardConfigurationReportingRegion}
          status: ${cloudGuardConfigurationStatus}
          selfManageResources: ${cloudGuardConfigurationSelfManageResources}
          serviceConfigurations:
            - serviceConfigurationType: ${cloudGuardConfigurationServiceConfigurationsServiceConfigurationType}
              status: ${cloudGuardConfigurationServiceConfigurationsStatus}
    

    Create CloudGuardConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudGuardConfiguration(name: string, args: CloudGuardConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def CloudGuardConfiguration(resource_name: str,
                                args: CloudGuardConfigurationArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudGuardConfiguration(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                compartment_id: Optional[str] = None,
                                reporting_region: Optional[str] = None,
                                status: Optional[str] = None,
                                self_manage_resources: Optional[bool] = None)
    func NewCloudGuardConfiguration(ctx *Context, name string, args CloudGuardConfigurationArgs, opts ...ResourceOption) (*CloudGuardConfiguration, error)
    public CloudGuardConfiguration(string name, CloudGuardConfigurationArgs args, CustomResourceOptions? opts = null)
    public CloudGuardConfiguration(String name, CloudGuardConfigurationArgs args)
    public CloudGuardConfiguration(String name, CloudGuardConfigurationArgs args, CustomResourceOptions options)
    
    type: oci:CloudGuard:CloudGuardConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CloudGuardConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudGuardConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudGuardConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudGuardConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudGuardConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var cloudGuardConfigurationResource = new Oci.CloudGuard.CloudGuardConfiguration("cloudGuardConfigurationResource", new()
    {
        CompartmentId = "string",
        ReportingRegion = "string",
        Status = "string",
        SelfManageResources = false,
    });
    
    example, err := CloudGuard.NewCloudGuardConfiguration(ctx, "cloudGuardConfigurationResource", &CloudGuard.CloudGuardConfigurationArgs{
    	CompartmentId:       pulumi.String("string"),
    	ReportingRegion:     pulumi.String("string"),
    	Status:              pulumi.String("string"),
    	SelfManageResources: pulumi.Bool(false),
    })
    
    var cloudGuardConfigurationResource = new CloudGuardConfiguration("cloudGuardConfigurationResource", CloudGuardConfigurationArgs.builder()
        .compartmentId("string")
        .reportingRegion("string")
        .status("string")
        .selfManageResources(false)
        .build());
    
    cloud_guard_configuration_resource = oci.cloud_guard.CloudGuardConfiguration("cloudGuardConfigurationResource",
        compartment_id="string",
        reporting_region="string",
        status="string",
        self_manage_resources=False)
    
    const cloudGuardConfigurationResource = new oci.cloudguard.CloudGuardConfiguration("cloudGuardConfigurationResource", {
        compartmentId: "string",
        reportingRegion: "string",
        status: "string",
        selfManageResources: false,
    });
    
    type: oci:CloudGuard:CloudGuardConfiguration
    properties:
        compartmentId: string
        reportingRegion: string
        selfManageResources: false
        status: string
    

    CloudGuardConfiguration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The CloudGuardConfiguration resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment in which to list resources.
    ReportingRegion string
    (Updatable) The reporting region
    Status string

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    SelfManageResources bool
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    CompartmentId string
    (Updatable) The OCID of the compartment in which to list resources.
    ReportingRegion string
    (Updatable) The reporting region
    Status string

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    SelfManageResources bool
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    compartmentId String
    (Updatable) The OCID of the compartment in which to list resources.
    reportingRegion String
    (Updatable) The reporting region
    status String

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    selfManageResources Boolean
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    compartmentId string
    (Updatable) The OCID of the compartment in which to list resources.
    reportingRegion string
    (Updatable) The reporting region
    status string

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    selfManageResources boolean
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    compartment_id str
    (Updatable) The OCID of the compartment in which to list resources.
    reporting_region str
    (Updatable) The reporting region
    status str

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    self_manage_resources bool
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    compartmentId String
    (Updatable) The OCID of the compartment in which to list resources.
    reportingRegion String
    (Updatable) The reporting region
    status String

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    selfManageResources Boolean
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudGuardConfiguration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CloudGuardConfiguration Resource

    Get an existing CloudGuardConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CloudGuardConfigurationState, opts?: CustomResourceOptions): CloudGuardConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            reporting_region: Optional[str] = None,
            self_manage_resources: Optional[bool] = None,
            status: Optional[str] = None) -> CloudGuardConfiguration
    func GetCloudGuardConfiguration(ctx *Context, name string, id IDInput, state *CloudGuardConfigurationState, opts ...ResourceOption) (*CloudGuardConfiguration, error)
    public static CloudGuardConfiguration Get(string name, Input<string> id, CloudGuardConfigurationState? state, CustomResourceOptions? opts = null)
    public static CloudGuardConfiguration get(String name, Output<String> id, CloudGuardConfigurationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment in which to list resources.
    ReportingRegion string
    (Updatable) The reporting region
    SelfManageResources bool
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    Status string

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment in which to list resources.
    ReportingRegion string
    (Updatable) The reporting region
    SelfManageResources bool
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    Status string

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment in which to list resources.
    reportingRegion String
    (Updatable) The reporting region
    selfManageResources Boolean
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    status String

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment in which to list resources.
    reportingRegion string
    (Updatable) The reporting region
    selfManageResources boolean
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    status string

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment in which to list resources.
    reporting_region str
    (Updatable) The reporting region
    self_manage_resources bool
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    status str

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment in which to list resources.
    reportingRegion String
    (Updatable) The reporting region
    selfManageResources Boolean
    (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default.
    status String

    (Updatable) Status of Cloud Guard tenant

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    Import is not supported for this resource.

    To learn more about importing existing cloud resources, see Importing resources.

    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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi