1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OperatorAccessControl
  5. OperatorControlAssignment
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.OperatorAccessControl.OperatorControlAssignment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Operator Control Assignment resource in Oracle Cloud Infrastructure Operator Access Control service.

    Creates an Operator Control Assignment resource. In effect, this brings the target resource under the governance of the Operator Control for specified time duration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOperatorControlAssignment = new oci.operatoraccesscontrol.OperatorControlAssignment("testOperatorControlAssignment", {
        compartmentId: _var.compartment_id,
        isEnforcedAlways: _var.operator_control_assignment_is_enforced_always,
        operatorControlId: oci_operator_access_control_operator_control.test_operator_control.id,
        resourceCompartmentId: oci_identity_compartment.test_compartment.id,
        resourceId: oci_operator_access_control_resource.test_resource.id,
        resourceName: _var.operator_control_assignment_resource_name,
        resourceType: _var.operator_control_assignment_resource_type,
        comment: _var.operator_control_assignment_comment,
        definedTags: _var.operator_control_assignment_defined_tags,
        freeformTags: _var.operator_control_assignment_freeform_tags,
        isAutoApproveDuringMaintenance: _var.operator_control_assignment_is_auto_approve_during_maintenance,
        isHypervisorLogForwarded: _var.operator_control_assignment_is_hypervisor_log_forwarded,
        isLogForwarded: _var.operator_control_assignment_is_log_forwarded,
        remoteSyslogServerAddress: _var.operator_control_assignment_remote_syslog_server_address,
        remoteSyslogServerCaCert: _var.operator_control_assignment_remote_syslog_server_ca_cert,
        remoteSyslogServerPort: _var.operator_control_assignment_remote_syslog_server_port,
        timeAssignmentFrom: _var.operator_control_assignment_time_assignment_from,
        timeAssignmentTo: _var.operator_control_assignment_time_assignment_to,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_operator_control_assignment = oci.operator_access_control.OperatorControlAssignment("testOperatorControlAssignment",
        compartment_id=var["compartment_id"],
        is_enforced_always=var["operator_control_assignment_is_enforced_always"],
        operator_control_id=oci_operator_access_control_operator_control["test_operator_control"]["id"],
        resource_compartment_id=oci_identity_compartment["test_compartment"]["id"],
        resource_id=oci_operator_access_control_resource["test_resource"]["id"],
        resource_name_=var["operator_control_assignment_resource_name"],
        resource_type=var["operator_control_assignment_resource_type"],
        comment=var["operator_control_assignment_comment"],
        defined_tags=var["operator_control_assignment_defined_tags"],
        freeform_tags=var["operator_control_assignment_freeform_tags"],
        is_auto_approve_during_maintenance=var["operator_control_assignment_is_auto_approve_during_maintenance"],
        is_hypervisor_log_forwarded=var["operator_control_assignment_is_hypervisor_log_forwarded"],
        is_log_forwarded=var["operator_control_assignment_is_log_forwarded"],
        remote_syslog_server_address=var["operator_control_assignment_remote_syslog_server_address"],
        remote_syslog_server_ca_cert=var["operator_control_assignment_remote_syslog_server_ca_cert"],
        remote_syslog_server_port=var["operator_control_assignment_remote_syslog_server_port"],
        time_assignment_from=var["operator_control_assignment_time_assignment_from"],
        time_assignment_to=var["operator_control_assignment_time_assignment_to"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/OperatorAccessControl"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := OperatorAccessControl.NewOperatorControlAssignment(ctx, "testOperatorControlAssignment", &OperatorAccessControl.OperatorControlAssignmentArgs{
    			CompartmentId:                  pulumi.Any(_var.Compartment_id),
    			IsEnforcedAlways:               pulumi.Any(_var.Operator_control_assignment_is_enforced_always),
    			OperatorControlId:              pulumi.Any(oci_operator_access_control_operator_control.Test_operator_control.Id),
    			ResourceCompartmentId:          pulumi.Any(oci_identity_compartment.Test_compartment.Id),
    			ResourceId:                     pulumi.Any(oci_operator_access_control_resource.Test_resource.Id),
    			ResourceName:                   pulumi.Any(_var.Operator_control_assignment_resource_name),
    			ResourceType:                   pulumi.Any(_var.Operator_control_assignment_resource_type),
    			Comment:                        pulumi.Any(_var.Operator_control_assignment_comment),
    			DefinedTags:                    pulumi.Any(_var.Operator_control_assignment_defined_tags),
    			FreeformTags:                   pulumi.Any(_var.Operator_control_assignment_freeform_tags),
    			IsAutoApproveDuringMaintenance: pulumi.Any(_var.Operator_control_assignment_is_auto_approve_during_maintenance),
    			IsHypervisorLogForwarded:       pulumi.Any(_var.Operator_control_assignment_is_hypervisor_log_forwarded),
    			IsLogForwarded:                 pulumi.Any(_var.Operator_control_assignment_is_log_forwarded),
    			RemoteSyslogServerAddress:      pulumi.Any(_var.Operator_control_assignment_remote_syslog_server_address),
    			RemoteSyslogServerCaCert:       pulumi.Any(_var.Operator_control_assignment_remote_syslog_server_ca_cert),
    			RemoteSyslogServerPort:         pulumi.Any(_var.Operator_control_assignment_remote_syslog_server_port),
    			TimeAssignmentFrom:             pulumi.Any(_var.Operator_control_assignment_time_assignment_from),
    			TimeAssignmentTo:               pulumi.Any(_var.Operator_control_assignment_time_assignment_to),
    		})
    		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 testOperatorControlAssignment = new Oci.OperatorAccessControl.OperatorControlAssignment("testOperatorControlAssignment", new()
        {
            CompartmentId = @var.Compartment_id,
            IsEnforcedAlways = @var.Operator_control_assignment_is_enforced_always,
            OperatorControlId = oci_operator_access_control_operator_control.Test_operator_control.Id,
            ResourceCompartmentId = oci_identity_compartment.Test_compartment.Id,
            ResourceId = oci_operator_access_control_resource.Test_resource.Id,
            ResourceName = @var.Operator_control_assignment_resource_name,
            ResourceType = @var.Operator_control_assignment_resource_type,
            Comment = @var.Operator_control_assignment_comment,
            DefinedTags = @var.Operator_control_assignment_defined_tags,
            FreeformTags = @var.Operator_control_assignment_freeform_tags,
            IsAutoApproveDuringMaintenance = @var.Operator_control_assignment_is_auto_approve_during_maintenance,
            IsHypervisorLogForwarded = @var.Operator_control_assignment_is_hypervisor_log_forwarded,
            IsLogForwarded = @var.Operator_control_assignment_is_log_forwarded,
            RemoteSyslogServerAddress = @var.Operator_control_assignment_remote_syslog_server_address,
            RemoteSyslogServerCaCert = @var.Operator_control_assignment_remote_syslog_server_ca_cert,
            RemoteSyslogServerPort = @var.Operator_control_assignment_remote_syslog_server_port,
            TimeAssignmentFrom = @var.Operator_control_assignment_time_assignment_from,
            TimeAssignmentTo = @var.Operator_control_assignment_time_assignment_to,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.OperatorAccessControl.OperatorControlAssignment;
    import com.pulumi.oci.OperatorAccessControl.OperatorControlAssignmentArgs;
    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) {
            var testOperatorControlAssignment = new OperatorControlAssignment("testOperatorControlAssignment", OperatorControlAssignmentArgs.builder()        
                .compartmentId(var_.compartment_id())
                .isEnforcedAlways(var_.operator_control_assignment_is_enforced_always())
                .operatorControlId(oci_operator_access_control_operator_control.test_operator_control().id())
                .resourceCompartmentId(oci_identity_compartment.test_compartment().id())
                .resourceId(oci_operator_access_control_resource.test_resource().id())
                .resourceName(var_.operator_control_assignment_resource_name())
                .resourceType(var_.operator_control_assignment_resource_type())
                .comment(var_.operator_control_assignment_comment())
                .definedTags(var_.operator_control_assignment_defined_tags())
                .freeformTags(var_.operator_control_assignment_freeform_tags())
                .isAutoApproveDuringMaintenance(var_.operator_control_assignment_is_auto_approve_during_maintenance())
                .isHypervisorLogForwarded(var_.operator_control_assignment_is_hypervisor_log_forwarded())
                .isLogForwarded(var_.operator_control_assignment_is_log_forwarded())
                .remoteSyslogServerAddress(var_.operator_control_assignment_remote_syslog_server_address())
                .remoteSyslogServerCaCert(var_.operator_control_assignment_remote_syslog_server_ca_cert())
                .remoteSyslogServerPort(var_.operator_control_assignment_remote_syslog_server_port())
                .timeAssignmentFrom(var_.operator_control_assignment_time_assignment_from())
                .timeAssignmentTo(var_.operator_control_assignment_time_assignment_to())
                .build());
    
        }
    }
    
    resources:
      testOperatorControlAssignment:
        type: oci:OperatorAccessControl:OperatorControlAssignment
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          isEnforcedAlways: ${var.operator_control_assignment_is_enforced_always}
          operatorControlId: ${oci_operator_access_control_operator_control.test_operator_control.id}
          resourceCompartmentId: ${oci_identity_compartment.test_compartment.id}
          resourceId: ${oci_operator_access_control_resource.test_resource.id}
          resourceName: ${var.operator_control_assignment_resource_name}
          resourceType: ${var.operator_control_assignment_resource_type}
          #Optional
          comment: ${var.operator_control_assignment_comment}
          definedTags: ${var.operator_control_assignment_defined_tags}
          freeformTags: ${var.operator_control_assignment_freeform_tags}
          isAutoApproveDuringMaintenance: ${var.operator_control_assignment_is_auto_approve_during_maintenance}
          isHypervisorLogForwarded: ${var.operator_control_assignment_is_hypervisor_log_forwarded}
          isLogForwarded: ${var.operator_control_assignment_is_log_forwarded}
          remoteSyslogServerAddress: ${var.operator_control_assignment_remote_syslog_server_address}
          remoteSyslogServerCaCert: ${var.operator_control_assignment_remote_syslog_server_ca_cert}
          remoteSyslogServerPort: ${var.operator_control_assignment_remote_syslog_server_port}
          timeAssignmentFrom: ${var.operator_control_assignment_time_assignment_from}
          timeAssignmentTo: ${var.operator_control_assignment_time_assignment_to}
    

    Create OperatorControlAssignment Resource

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

    Constructor syntax

    new OperatorControlAssignment(name: string, args: OperatorControlAssignmentArgs, opts?: CustomResourceOptions);
    @overload
    def OperatorControlAssignment(resource_name: str,
                                  args: OperatorControlAssignmentArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def OperatorControlAssignment(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  resource_compartment_id: Optional[str] = None,
                                  resource_id: Optional[str] = None,
                                  operator_control_id: Optional[str] = None,
                                  resource_type: Optional[str] = None,
                                  resource_name_: Optional[str] = None,
                                  is_enforced_always: Optional[bool] = None,
                                  compartment_id: Optional[str] = None,
                                  is_log_forwarded: Optional[bool] = None,
                                  defined_tags: Optional[Mapping[str, Any]] = None,
                                  validate_assignment_trigger: Optional[int] = None,
                                  remote_syslog_server_port: Optional[int] = None,
                                  remote_syslog_server_ca_cert: Optional[str] = None,
                                  comment: Optional[str] = None,
                                  is_hypervisor_log_forwarded: Optional[bool] = None,
                                  is_auto_approve_during_maintenance: Optional[bool] = None,
                                  freeform_tags: Optional[Mapping[str, Any]] = None,
                                  time_assignment_from: Optional[str] = None,
                                  time_assignment_to: Optional[str] = None,
                                  remote_syslog_server_address: Optional[str] = None)
    func NewOperatorControlAssignment(ctx *Context, name string, args OperatorControlAssignmentArgs, opts ...ResourceOption) (*OperatorControlAssignment, error)
    public OperatorControlAssignment(string name, OperatorControlAssignmentArgs args, CustomResourceOptions? opts = null)
    public OperatorControlAssignment(String name, OperatorControlAssignmentArgs args)
    public OperatorControlAssignment(String name, OperatorControlAssignmentArgs args, CustomResourceOptions options)
    
    type: oci:OperatorAccessControl:OperatorControlAssignment
    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 OperatorControlAssignmentArgs
    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 OperatorControlAssignmentArgs
    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 OperatorControlAssignmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OperatorControlAssignmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OperatorControlAssignmentArgs
    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 operatorControlAssignmentResource = new Oci.OperatorAccessControl.OperatorControlAssignment("operatorControlAssignmentResource", new()
    {
        ResourceCompartmentId = "string",
        ResourceId = "string",
        OperatorControlId = "string",
        ResourceType = "string",
        ResourceName = "string",
        IsEnforcedAlways = false,
        CompartmentId = "string",
        IsLogForwarded = false,
        DefinedTags = 
        {
            { "string", "any" },
        },
        ValidateAssignmentTrigger = 0,
        RemoteSyslogServerPort = 0,
        RemoteSyslogServerCaCert = "string",
        Comment = "string",
        IsHypervisorLogForwarded = false,
        IsAutoApproveDuringMaintenance = false,
        FreeformTags = 
        {
            { "string", "any" },
        },
        TimeAssignmentFrom = "string",
        TimeAssignmentTo = "string",
        RemoteSyslogServerAddress = "string",
    });
    
    example, err := OperatorAccessControl.NewOperatorControlAssignment(ctx, "operatorControlAssignmentResource", &OperatorAccessControl.OperatorControlAssignmentArgs{
    	ResourceCompartmentId: pulumi.String("string"),
    	ResourceId:            pulumi.String("string"),
    	OperatorControlId:     pulumi.String("string"),
    	ResourceType:          pulumi.String("string"),
    	ResourceName:          pulumi.String("string"),
    	IsEnforcedAlways:      pulumi.Bool(false),
    	CompartmentId:         pulumi.String("string"),
    	IsLogForwarded:        pulumi.Bool(false),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	ValidateAssignmentTrigger:      pulumi.Int(0),
    	RemoteSyslogServerPort:         pulumi.Int(0),
    	RemoteSyslogServerCaCert:       pulumi.String("string"),
    	Comment:                        pulumi.String("string"),
    	IsHypervisorLogForwarded:       pulumi.Bool(false),
    	IsAutoApproveDuringMaintenance: pulumi.Bool(false),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	TimeAssignmentFrom:        pulumi.String("string"),
    	TimeAssignmentTo:          pulumi.String("string"),
    	RemoteSyslogServerAddress: pulumi.String("string"),
    })
    
    var operatorControlAssignmentResource = new OperatorControlAssignment("operatorControlAssignmentResource", OperatorControlAssignmentArgs.builder()        
        .resourceCompartmentId("string")
        .resourceId("string")
        .operatorControlId("string")
        .resourceType("string")
        .resourceName("string")
        .isEnforcedAlways(false)
        .compartmentId("string")
        .isLogForwarded(false)
        .definedTags(Map.of("string", "any"))
        .validateAssignmentTrigger(0)
        .remoteSyslogServerPort(0)
        .remoteSyslogServerCaCert("string")
        .comment("string")
        .isHypervisorLogForwarded(false)
        .isAutoApproveDuringMaintenance(false)
        .freeformTags(Map.of("string", "any"))
        .timeAssignmentFrom("string")
        .timeAssignmentTo("string")
        .remoteSyslogServerAddress("string")
        .build());
    
    operator_control_assignment_resource = oci.operator_access_control.OperatorControlAssignment("operatorControlAssignmentResource",
        resource_compartment_id="string",
        resource_id="string",
        operator_control_id="string",
        resource_type="string",
        resource_name_="string",
        is_enforced_always=False,
        compartment_id="string",
        is_log_forwarded=False,
        defined_tags={
            "string": "any",
        },
        validate_assignment_trigger=0,
        remote_syslog_server_port=0,
        remote_syslog_server_ca_cert="string",
        comment="string",
        is_hypervisor_log_forwarded=False,
        is_auto_approve_during_maintenance=False,
        freeform_tags={
            "string": "any",
        },
        time_assignment_from="string",
        time_assignment_to="string",
        remote_syslog_server_address="string")
    
    const operatorControlAssignmentResource = new oci.operatoraccesscontrol.OperatorControlAssignment("operatorControlAssignmentResource", {
        resourceCompartmentId: "string",
        resourceId: "string",
        operatorControlId: "string",
        resourceType: "string",
        resourceName: "string",
        isEnforcedAlways: false,
        compartmentId: "string",
        isLogForwarded: false,
        definedTags: {
            string: "any",
        },
        validateAssignmentTrigger: 0,
        remoteSyslogServerPort: 0,
        remoteSyslogServerCaCert: "string",
        comment: "string",
        isHypervisorLogForwarded: false,
        isAutoApproveDuringMaintenance: false,
        freeformTags: {
            string: "any",
        },
        timeAssignmentFrom: "string",
        timeAssignmentTo: "string",
        remoteSyslogServerAddress: "string",
    });
    
    type: oci:OperatorAccessControl:OperatorControlAssignment
    properties:
        comment: string
        compartmentId: string
        definedTags:
            string: any
        freeformTags:
            string: any
        isAutoApproveDuringMaintenance: false
        isEnforcedAlways: false
        isHypervisorLogForwarded: false
        isLogForwarded: false
        operatorControlId: string
        remoteSyslogServerAddress: string
        remoteSyslogServerCaCert: string
        remoteSyslogServerPort: 0
        resourceCompartmentId: string
        resourceId: string
        resourceName: string
        resourceType: string
        timeAssignmentFrom: string
        timeAssignmentTo: string
        validateAssignmentTrigger: 0
    

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

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the operator control assignment.
    IsEnforcedAlways bool
    (Updatable) If set, then the target resource is always governed by the operator control.
    OperatorControlId string
    The OCID of the operator control that is being assigned to a target resource.
    ResourceCompartmentId string
    The OCID of the compartment that contains the target resource.
    ResourceId string
    The OCID of the target resource being brought under the governance of the operator control.
    ResourceName string
    Name of the target resource.
    ResourceType string
    Type of the target resource.
    Comment string
    (Updatable) Comment about the assignment of the operator control to this target resource.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    IsAutoApproveDuringMaintenance bool
    (Updatable) The boolean if true would autoApprove during maintenance.
    IsHypervisorLogForwarded bool
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    IsLogForwarded bool
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    RemoteSyslogServerAddress string
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    RemoteSyslogServerCaCert string
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    RemoteSyslogServerPort int
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    TimeAssignmentFrom string
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentTo string
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    ValidateAssignmentTrigger int

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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 that contains the operator control assignment.
    IsEnforcedAlways bool
    (Updatable) If set, then the target resource is always governed by the operator control.
    OperatorControlId string
    The OCID of the operator control that is being assigned to a target resource.
    ResourceCompartmentId string
    The OCID of the compartment that contains the target resource.
    ResourceId string
    The OCID of the target resource being brought under the governance of the operator control.
    ResourceName string
    Name of the target resource.
    ResourceType string
    Type of the target resource.
    Comment string
    (Updatable) Comment about the assignment of the operator control to this target resource.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    IsAutoApproveDuringMaintenance bool
    (Updatable) The boolean if true would autoApprove during maintenance.
    IsHypervisorLogForwarded bool
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    IsLogForwarded bool
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    RemoteSyslogServerAddress string
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    RemoteSyslogServerCaCert string
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    RemoteSyslogServerPort int
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    TimeAssignmentFrom string
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentTo string
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    ValidateAssignmentTrigger int

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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 that contains the operator control assignment.
    isEnforcedAlways Boolean
    (Updatable) If set, then the target resource is always governed by the operator control.
    operatorControlId String
    The OCID of the operator control that is being assigned to a target resource.
    resourceCompartmentId String
    The OCID of the compartment that contains the target resource.
    resourceId String
    The OCID of the target resource being brought under the governance of the operator control.
    resourceName String
    Name of the target resource.
    resourceType String
    Type of the target resource.
    comment String
    (Updatable) Comment about the assignment of the operator control to this target resource.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    isAutoApproveDuringMaintenance Boolean
    (Updatable) The boolean if true would autoApprove during maintenance.
    isHypervisorLogForwarded Boolean
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    isLogForwarded Boolean
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    remoteSyslogServerAddress String
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    remoteSyslogServerCaCert String
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    remoteSyslogServerPort Integer
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    timeAssignmentFrom String
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeAssignmentTo String
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    validateAssignmentTrigger Integer

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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 that contains the operator control assignment.
    isEnforcedAlways boolean
    (Updatable) If set, then the target resource is always governed by the operator control.
    operatorControlId string
    The OCID of the operator control that is being assigned to a target resource.
    resourceCompartmentId string
    The OCID of the compartment that contains the target resource.
    resourceId string
    The OCID of the target resource being brought under the governance of the operator control.
    resourceName string
    Name of the target resource.
    resourceType string
    Type of the target resource.
    comment string
    (Updatable) Comment about the assignment of the operator control to this target resource.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    isAutoApproveDuringMaintenance boolean
    (Updatable) The boolean if true would autoApprove during maintenance.
    isHypervisorLogForwarded boolean
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    isLogForwarded boolean
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    remoteSyslogServerAddress string
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    remoteSyslogServerCaCert string
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    remoteSyslogServerPort number
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    timeAssignmentFrom string
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeAssignmentTo string
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    validateAssignmentTrigger number

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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 that contains the operator control assignment.
    is_enforced_always bool
    (Updatable) If set, then the target resource is always governed by the operator control.
    operator_control_id str
    The OCID of the operator control that is being assigned to a target resource.
    resource_compartment_id str
    The OCID of the compartment that contains the target resource.
    resource_id str
    The OCID of the target resource being brought under the governance of the operator control.
    resource_name str
    Name of the target resource.
    resource_type str
    Type of the target resource.
    comment str
    (Updatable) Comment about the assignment of the operator control to this target resource.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    is_auto_approve_during_maintenance bool
    (Updatable) The boolean if true would autoApprove during maintenance.
    is_hypervisor_log_forwarded bool
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    is_log_forwarded bool
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    remote_syslog_server_address str
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    remote_syslog_server_ca_cert str
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    remote_syslog_server_port int
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    time_assignment_from str
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    time_assignment_to str
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    validate_assignment_trigger int

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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 that contains the operator control assignment.
    isEnforcedAlways Boolean
    (Updatable) If set, then the target resource is always governed by the operator control.
    operatorControlId String
    The OCID of the operator control that is being assigned to a target resource.
    resourceCompartmentId String
    The OCID of the compartment that contains the target resource.
    resourceId String
    The OCID of the target resource being brought under the governance of the operator control.
    resourceName String
    Name of the target resource.
    resourceType String
    Type of the target resource.
    comment String
    (Updatable) Comment about the assignment of the operator control to this target resource.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    isAutoApproveDuringMaintenance Boolean
    (Updatable) The boolean if true would autoApprove during maintenance.
    isHypervisorLogForwarded Boolean
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    isLogForwarded Boolean
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    remoteSyslogServerAddress String
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    remoteSyslogServerCaCert String
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    remoteSyslogServerPort Number
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    timeAssignmentFrom String
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeAssignmentTo String
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    validateAssignmentTrigger Number

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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

    Outputs

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

    AssignerId string
    The OCID of the user who created this operator control assignment.
    DetachmentDescription string
    description containing reason for releasing of OperatorControl.
    ErrorCode int
    The code identifying the error occurred during Assignment operation.
    ErrorMessage string
    The message describing the error occurred during Assignment operation.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefaultAssignment bool
    Whether the assignment is a default assignment.
    LifecycleDetails string
    More in detail about the lifeCycleState.
    OpControlName string
    Name of the operator control name associated.
    State string
    The current lifcycle state of the OperatorControl.
    TimeOfAssignment string
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfDeletion string
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    UnassignerId string
    User id who released the operatorControl.
    AssignerId string
    The OCID of the user who created this operator control assignment.
    DetachmentDescription string
    description containing reason for releasing of OperatorControl.
    ErrorCode int
    The code identifying the error occurred during Assignment operation.
    ErrorMessage string
    The message describing the error occurred during Assignment operation.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefaultAssignment bool
    Whether the assignment is a default assignment.
    LifecycleDetails string
    More in detail about the lifeCycleState.
    OpControlName string
    Name of the operator control name associated.
    State string
    The current lifcycle state of the OperatorControl.
    TimeOfAssignment string
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfDeletion string
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    UnassignerId string
    User id who released the operatorControl.
    assignerId String
    The OCID of the user who created this operator control assignment.
    detachmentDescription String
    description containing reason for releasing of OperatorControl.
    errorCode Integer
    The code identifying the error occurred during Assignment operation.
    errorMessage String
    The message describing the error occurred during Assignment operation.
    id String
    The provider-assigned unique ID for this managed resource.
    isDefaultAssignment Boolean
    Whether the assignment is a default assignment.
    lifecycleDetails String
    More in detail about the lifeCycleState.
    opControlName String
    Name of the operator control name associated.
    state String
    The current lifcycle state of the OperatorControl.
    timeOfAssignment String
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeOfDeletion String
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    unassignerId String
    User id who released the operatorControl.
    assignerId string
    The OCID of the user who created this operator control assignment.
    detachmentDescription string
    description containing reason for releasing of OperatorControl.
    errorCode number
    The code identifying the error occurred during Assignment operation.
    errorMessage string
    The message describing the error occurred during Assignment operation.
    id string
    The provider-assigned unique ID for this managed resource.
    isDefaultAssignment boolean
    Whether the assignment is a default assignment.
    lifecycleDetails string
    More in detail about the lifeCycleState.
    opControlName string
    Name of the operator control name associated.
    state string
    The current lifcycle state of the OperatorControl.
    timeOfAssignment string
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeOfDeletion string
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    unassignerId string
    User id who released the operatorControl.
    assigner_id str
    The OCID of the user who created this operator control assignment.
    detachment_description str
    description containing reason for releasing of OperatorControl.
    error_code int
    The code identifying the error occurred during Assignment operation.
    error_message str
    The message describing the error occurred during Assignment operation.
    id str
    The provider-assigned unique ID for this managed resource.
    is_default_assignment bool
    Whether the assignment is a default assignment.
    lifecycle_details str
    More in detail about the lifeCycleState.
    op_control_name str
    Name of the operator control name associated.
    state str
    The current lifcycle state of the OperatorControl.
    time_of_assignment str
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    time_of_deletion str
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    unassigner_id str
    User id who released the operatorControl.
    assignerId String
    The OCID of the user who created this operator control assignment.
    detachmentDescription String
    description containing reason for releasing of OperatorControl.
    errorCode Number
    The code identifying the error occurred during Assignment operation.
    errorMessage String
    The message describing the error occurred during Assignment operation.
    id String
    The provider-assigned unique ID for this managed resource.
    isDefaultAssignment Boolean
    Whether the assignment is a default assignment.
    lifecycleDetails String
    More in detail about the lifeCycleState.
    opControlName String
    Name of the operator control name associated.
    state String
    The current lifcycle state of the OperatorControl.
    timeOfAssignment String
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeOfDeletion String
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    unassignerId String
    User id who released the operatorControl.

    Look up Existing OperatorControlAssignment Resource

    Get an existing OperatorControlAssignment 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?: OperatorControlAssignmentState, opts?: CustomResourceOptions): OperatorControlAssignment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assigner_id: Optional[str] = None,
            comment: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            detachment_description: Optional[str] = None,
            error_code: Optional[int] = None,
            error_message: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            is_auto_approve_during_maintenance: Optional[bool] = None,
            is_default_assignment: Optional[bool] = None,
            is_enforced_always: Optional[bool] = None,
            is_hypervisor_log_forwarded: Optional[bool] = None,
            is_log_forwarded: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            op_control_name: Optional[str] = None,
            operator_control_id: Optional[str] = None,
            remote_syslog_server_address: Optional[str] = None,
            remote_syslog_server_ca_cert: Optional[str] = None,
            remote_syslog_server_port: Optional[int] = None,
            resource_compartment_id: Optional[str] = None,
            resource_id: Optional[str] = None,
            resource_name: Optional[str] = None,
            resource_type: Optional[str] = None,
            state: Optional[str] = None,
            time_assignment_from: Optional[str] = None,
            time_assignment_to: Optional[str] = None,
            time_of_assignment: Optional[str] = None,
            time_of_deletion: Optional[str] = None,
            unassigner_id: Optional[str] = None,
            validate_assignment_trigger: Optional[int] = None) -> OperatorControlAssignment
    func GetOperatorControlAssignment(ctx *Context, name string, id IDInput, state *OperatorControlAssignmentState, opts ...ResourceOption) (*OperatorControlAssignment, error)
    public static OperatorControlAssignment Get(string name, Input<string> id, OperatorControlAssignmentState? state, CustomResourceOptions? opts = null)
    public static OperatorControlAssignment get(String name, Output<String> id, OperatorControlAssignmentState 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:
    AssignerId string
    The OCID of the user who created this operator control assignment.
    Comment string
    (Updatable) Comment about the assignment of the operator control to this target resource.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the operator control assignment.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    DetachmentDescription string
    description containing reason for releasing of OperatorControl.
    ErrorCode int
    The code identifying the error occurred during Assignment operation.
    ErrorMessage string
    The message describing the error occurred during Assignment operation.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    IsAutoApproveDuringMaintenance bool
    (Updatable) The boolean if true would autoApprove during maintenance.
    IsDefaultAssignment bool
    Whether the assignment is a default assignment.
    IsEnforcedAlways bool
    (Updatable) If set, then the target resource is always governed by the operator control.
    IsHypervisorLogForwarded bool
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    IsLogForwarded bool
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    LifecycleDetails string
    More in detail about the lifeCycleState.
    OpControlName string
    Name of the operator control name associated.
    OperatorControlId string
    The OCID of the operator control that is being assigned to a target resource.
    RemoteSyslogServerAddress string
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    RemoteSyslogServerCaCert string
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    RemoteSyslogServerPort int
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    ResourceCompartmentId string
    The OCID of the compartment that contains the target resource.
    ResourceId string
    The OCID of the target resource being brought under the governance of the operator control.
    ResourceName string
    Name of the target resource.
    ResourceType string
    Type of the target resource.
    State string
    The current lifcycle state of the OperatorControl.
    TimeAssignmentFrom string
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentTo string
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    TimeOfAssignment string
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfDeletion string
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    UnassignerId string
    User id who released the operatorControl.
    ValidateAssignmentTrigger int

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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

    AssignerId string
    The OCID of the user who created this operator control assignment.
    Comment string
    (Updatable) Comment about the assignment of the operator control to this target resource.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the operator control assignment.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    DetachmentDescription string
    description containing reason for releasing of OperatorControl.
    ErrorCode int
    The code identifying the error occurred during Assignment operation.
    ErrorMessage string
    The message describing the error occurred during Assignment operation.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    IsAutoApproveDuringMaintenance bool
    (Updatable) The boolean if true would autoApprove during maintenance.
    IsDefaultAssignment bool
    Whether the assignment is a default assignment.
    IsEnforcedAlways bool
    (Updatable) If set, then the target resource is always governed by the operator control.
    IsHypervisorLogForwarded bool
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    IsLogForwarded bool
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    LifecycleDetails string
    More in detail about the lifeCycleState.
    OpControlName string
    Name of the operator control name associated.
    OperatorControlId string
    The OCID of the operator control that is being assigned to a target resource.
    RemoteSyslogServerAddress string
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    RemoteSyslogServerCaCert string
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    RemoteSyslogServerPort int
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    ResourceCompartmentId string
    The OCID of the compartment that contains the target resource.
    ResourceId string
    The OCID of the target resource being brought under the governance of the operator control.
    ResourceName string
    Name of the target resource.
    ResourceType string
    Type of the target resource.
    State string
    The current lifcycle state of the OperatorControl.
    TimeAssignmentFrom string
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentTo string
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    TimeOfAssignment string
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfDeletion string
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    UnassignerId string
    User id who released the operatorControl.
    ValidateAssignmentTrigger int

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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

    assignerId String
    The OCID of the user who created this operator control assignment.
    comment String
    (Updatable) Comment about the assignment of the operator control to this target resource.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the operator control assignment.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    detachmentDescription String
    description containing reason for releasing of OperatorControl.
    errorCode Integer
    The code identifying the error occurred during Assignment operation.
    errorMessage String
    The message describing the error occurred during Assignment operation.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    isAutoApproveDuringMaintenance Boolean
    (Updatable) The boolean if true would autoApprove during maintenance.
    isDefaultAssignment Boolean
    Whether the assignment is a default assignment.
    isEnforcedAlways Boolean
    (Updatable) If set, then the target resource is always governed by the operator control.
    isHypervisorLogForwarded Boolean
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    isLogForwarded Boolean
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    lifecycleDetails String
    More in detail about the lifeCycleState.
    opControlName String
    Name of the operator control name associated.
    operatorControlId String
    The OCID of the operator control that is being assigned to a target resource.
    remoteSyslogServerAddress String
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    remoteSyslogServerCaCert String
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    remoteSyslogServerPort Integer
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    resourceCompartmentId String
    The OCID of the compartment that contains the target resource.
    resourceId String
    The OCID of the target resource being brought under the governance of the operator control.
    resourceName String
    Name of the target resource.
    resourceType String
    Type of the target resource.
    state String
    The current lifcycle state of the OperatorControl.
    timeAssignmentFrom String
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeAssignmentTo String
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    timeOfAssignment String
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeOfDeletion String
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    unassignerId String
    User id who released the operatorControl.
    validateAssignmentTrigger Integer

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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

    assignerId string
    The OCID of the user who created this operator control assignment.
    comment string
    (Updatable) Comment about the assignment of the operator control to this target resource.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the operator control assignment.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    detachmentDescription string
    description containing reason for releasing of OperatorControl.
    errorCode number
    The code identifying the error occurred during Assignment operation.
    errorMessage string
    The message describing the error occurred during Assignment operation.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    isAutoApproveDuringMaintenance boolean
    (Updatable) The boolean if true would autoApprove during maintenance.
    isDefaultAssignment boolean
    Whether the assignment is a default assignment.
    isEnforcedAlways boolean
    (Updatable) If set, then the target resource is always governed by the operator control.
    isHypervisorLogForwarded boolean
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    isLogForwarded boolean
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    lifecycleDetails string
    More in detail about the lifeCycleState.
    opControlName string
    Name of the operator control name associated.
    operatorControlId string
    The OCID of the operator control that is being assigned to a target resource.
    remoteSyslogServerAddress string
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    remoteSyslogServerCaCert string
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    remoteSyslogServerPort number
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    resourceCompartmentId string
    The OCID of the compartment that contains the target resource.
    resourceId string
    The OCID of the target resource being brought under the governance of the operator control.
    resourceName string
    Name of the target resource.
    resourceType string
    Type of the target resource.
    state string
    The current lifcycle state of the OperatorControl.
    timeAssignmentFrom string
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeAssignmentTo string
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    timeOfAssignment string
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeOfDeletion string
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    unassignerId string
    User id who released the operatorControl.
    validateAssignmentTrigger number

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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

    assigner_id str
    The OCID of the user who created this operator control assignment.
    comment str
    (Updatable) Comment about the assignment of the operator control to this target resource.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the operator control assignment.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    detachment_description str
    description containing reason for releasing of OperatorControl.
    error_code int
    The code identifying the error occurred during Assignment operation.
    error_message str
    The message describing the error occurred during Assignment operation.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    is_auto_approve_during_maintenance bool
    (Updatable) The boolean if true would autoApprove during maintenance.
    is_default_assignment bool
    Whether the assignment is a default assignment.
    is_enforced_always bool
    (Updatable) If set, then the target resource is always governed by the operator control.
    is_hypervisor_log_forwarded bool
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    is_log_forwarded bool
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    lifecycle_details str
    More in detail about the lifeCycleState.
    op_control_name str
    Name of the operator control name associated.
    operator_control_id str
    The OCID of the operator control that is being assigned to a target resource.
    remote_syslog_server_address str
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    remote_syslog_server_ca_cert str
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    remote_syslog_server_port int
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    resource_compartment_id str
    The OCID of the compartment that contains the target resource.
    resource_id str
    The OCID of the target resource being brought under the governance of the operator control.
    resource_name str
    Name of the target resource.
    resource_type str
    Type of the target resource.
    state str
    The current lifcycle state of the OperatorControl.
    time_assignment_from str
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    time_assignment_to str
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    time_of_assignment str
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    time_of_deletion str
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    unassigner_id str
    User id who released the operatorControl.
    validate_assignment_trigger int

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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

    assignerId String
    The OCID of the user who created this operator control assignment.
    comment String
    (Updatable) Comment about the assignment of the operator control to this target resource.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the operator control assignment.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    detachmentDescription String
    description containing reason for releasing of OperatorControl.
    errorCode Number
    The code identifying the error occurred during Assignment operation.
    errorMessage String
    The message describing the error occurred during Assignment operation.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    isAutoApproveDuringMaintenance Boolean
    (Updatable) The boolean if true would autoApprove during maintenance.
    isDefaultAssignment Boolean
    Whether the assignment is a default assignment.
    isEnforcedAlways Boolean
    (Updatable) If set, then the target resource is always governed by the operator control.
    isHypervisorLogForwarded Boolean
    (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
    isLogForwarded Boolean
    (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
    lifecycleDetails String
    More in detail about the lifeCycleState.
    opControlName String
    Name of the operator control name associated.
    operatorControlId String
    The OCID of the operator control that is being assigned to a target resource.
    remoteSyslogServerAddress String
    (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
    remoteSyslogServerCaCert String
    (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
    remoteSyslogServerPort Number
    (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
    resourceCompartmentId String
    The OCID of the compartment that contains the target resource.
    resourceId String
    The OCID of the target resource being brought under the governance of the operator control.
    resourceName String
    Name of the target resource.
    resourceType String
    Type of the target resource.
    state String
    The current lifcycle state of the OperatorControl.
    timeAssignmentFrom String
    (Updatable) The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeAssignmentTo String
    (Updatable) The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    timeOfAssignment String
    Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeOfDeletion String
    Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
    unassignerId String
    User id who released the operatorControl.
    validateAssignmentTrigger Number

    (Updatable) An optional property when incremented triggers Validate Assignment. Could be set to any integer value.

    ** 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

    OperatorControlAssignments can be imported using the id, e.g.

    $ pulumi import oci:OperatorAccessControl/operatorControlAssignment:OperatorControlAssignment test_operator_control_assignment "id"
    

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