1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. SecurityPolicyManagement
Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi

oci.DataSafe.SecurityPolicyManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi

    Create SecurityPolicyManagement Resource

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

    Constructor syntax

    new SecurityPolicyManagement(name: string, args?: SecurityPolicyManagementArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityPolicyManagement(resource_name: str,
                                 args: Optional[SecurityPolicyManagementArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityPolicyManagement(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 compartment_id: Optional[str] = None,
                                 defined_tags: Optional[Mapping[str, Any]] = None,
                                 description: Optional[str] = None,
                                 display_name: Optional[str] = None,
                                 freeform_tags: Optional[Mapping[str, Any]] = None,
                                 target_id: Optional[str] = None)
    func NewSecurityPolicyManagement(ctx *Context, name string, args *SecurityPolicyManagementArgs, opts ...ResourceOption) (*SecurityPolicyManagement, error)
    public SecurityPolicyManagement(string name, SecurityPolicyManagementArgs? args = null, CustomResourceOptions? opts = null)
    public SecurityPolicyManagement(String name, SecurityPolicyManagementArgs args)
    public SecurityPolicyManagement(String name, SecurityPolicyManagementArgs args, CustomResourceOptions options)
    
    type: oci:DataSafe:SecurityPolicyManagement
    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 SecurityPolicyManagementArgs
    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 SecurityPolicyManagementArgs
    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 SecurityPolicyManagementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityPolicyManagementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityPolicyManagementArgs
    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 securityPolicyManagementResource = new Oci.DataSafe.SecurityPolicyManagement("securityPolicyManagementResource", new()
    {
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        TargetId = "string",
    });
    
    example, err := DataSafe.NewSecurityPolicyManagement(ctx, "securityPolicyManagementResource", &DataSafe.SecurityPolicyManagementArgs{
    	CompartmentId: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	TargetId: pulumi.String("string"),
    })
    
    var securityPolicyManagementResource = new SecurityPolicyManagement("securityPolicyManagementResource", SecurityPolicyManagementArgs.builder()        
        .compartmentId("string")
        .definedTags(Map.of("string", "any"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .targetId("string")
        .build());
    
    security_policy_management_resource = oci.data_safe.SecurityPolicyManagement("securityPolicyManagementResource",
        compartment_id="string",
        defined_tags={
            "string": "any",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        target_id="string")
    
    const securityPolicyManagementResource = new oci.datasafe.SecurityPolicyManagement("securityPolicyManagementResource", {
        compartmentId: "string",
        definedTags: {
            string: "any",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        targetId: "string",
    });
    
    type: oci:DataSafe:SecurityPolicyManagement
    properties:
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        freeformTags:
            string: any
        targetId: string
    

    SecurityPolicyManagement 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 SecurityPolicyManagement resource accepts the following input properties:

    CompartmentId string
    DefinedTags Dictionary<string, object>
    Description string
    DisplayName string
    FreeformTags Dictionary<string, object>
    TargetId string
    CompartmentId string
    DefinedTags map[string]interface{}
    Description string
    DisplayName string
    FreeformTags map[string]interface{}
    TargetId string
    compartmentId String
    definedTags Map<String,Object>
    description String
    displayName String
    freeformTags Map<String,Object>
    targetId String
    compartmentId string
    definedTags {[key: string]: any}
    description string
    displayName string
    freeformTags {[key: string]: any}
    targetId string
    compartment_id str
    defined_tags Mapping[str, Any]
    description str
    display_name str
    freeform_tags Mapping[str, Any]
    target_id str
    compartmentId String
    definedTags Map<Any>
    description String
    displayName String
    freeformTags Map<Any>
    targetId String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    State string
    SystemTags Dictionary<string, object>
    TimeCreated string
    TimeUpdated string
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    State string
    SystemTags map[string]interface{}
    TimeCreated string
    TimeUpdated string
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    state String
    systemTags Map<String,Object>
    timeCreated String
    timeUpdated String
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    state string
    systemTags {[key: string]: any}
    timeCreated string
    timeUpdated string
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    state str
    system_tags Mapping[str, Any]
    time_created str
    time_updated str
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    state String
    systemTags Map<Any>
    timeCreated String
    timeUpdated String

    Look up Existing SecurityPolicyManagement Resource

    Get an existing SecurityPolicyManagement 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?: SecurityPolicyManagementState, opts?: CustomResourceOptions): SecurityPolicyManagement
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecycle_details: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            target_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> SecurityPolicyManagement
    func GetSecurityPolicyManagement(ctx *Context, name string, id IDInput, state *SecurityPolicyManagementState, opts ...ResourceOption) (*SecurityPolicyManagement, error)
    public static SecurityPolicyManagement Get(string name, Input<string> id, SecurityPolicyManagementState? state, CustomResourceOptions? opts = null)
    public static SecurityPolicyManagement get(String name, Output<String> id, SecurityPolicyManagementState 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
    DefinedTags Dictionary<string, object>
    Description string
    DisplayName string
    FreeformTags Dictionary<string, object>
    LifecycleDetails string
    State string
    SystemTags Dictionary<string, object>
    TargetId string
    TimeCreated string
    TimeUpdated string
    CompartmentId string
    DefinedTags map[string]interface{}
    Description string
    DisplayName string
    FreeformTags map[string]interface{}
    LifecycleDetails string
    State string
    SystemTags map[string]interface{}
    TargetId string
    TimeCreated string
    TimeUpdated string
    compartmentId String
    definedTags Map<String,Object>
    description String
    displayName String
    freeformTags Map<String,Object>
    lifecycleDetails String
    state String
    systemTags Map<String,Object>
    targetId String
    timeCreated String
    timeUpdated String
    compartmentId string
    definedTags {[key: string]: any}
    description string
    displayName string
    freeformTags {[key: string]: any}
    lifecycleDetails string
    state string
    systemTags {[key: string]: any}
    targetId string
    timeCreated string
    timeUpdated string
    compartment_id str
    defined_tags Mapping[str, Any]
    description str
    display_name str
    freeform_tags Mapping[str, Any]
    lifecycle_details str
    state str
    system_tags Mapping[str, Any]
    target_id str
    time_created str
    time_updated str
    compartmentId String
    definedTags Map<Any>
    description String
    displayName String
    freeformTags Map<Any>
    lifecycleDetails String
    state String
    systemTags Map<Any>
    targetId String
    timeCreated String
    timeUpdated String

    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.33.0 published on Thursday, Apr 25, 2024 by Pulumi