1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OperatorAccessControl
  5. OperatorControlAssignment
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.OperatorAccessControl.OperatorControlAssignment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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("test_operator_control_assignment", {
        compartmentId: compartmentId,
        isEnforcedAlways: operatorControlAssignmentIsEnforcedAlways,
        operatorControlId: testOperatorControl.id,
        resourceCompartmentId: testCompartment.id,
        resourceId: testResource.id,
        resourceName: operatorControlAssignmentResourceName,
        resourceType: operatorControlAssignmentResourceType,
        comment: operatorControlAssignmentComment,
        definedTags: operatorControlAssignmentDefinedTags,
        freeformTags: operatorControlAssignmentFreeformTags,
        isAutoApproveDuringMaintenance: operatorControlAssignmentIsAutoApproveDuringMaintenance,
        isHypervisorLogForwarded: operatorControlAssignmentIsHypervisorLogForwarded,
        isLogForwarded: operatorControlAssignmentIsLogForwarded,
        remoteSyslogServerAddress: operatorControlAssignmentRemoteSyslogServerAddress,
        remoteSyslogServerCaCert: operatorControlAssignmentRemoteSyslogServerCaCert,
        remoteSyslogServerPort: operatorControlAssignmentRemoteSyslogServerPort,
        timeAssignmentFrom: operatorControlAssignmentTimeAssignmentFrom,
        timeAssignmentTo: operatorControlAssignmentTimeAssignmentTo,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_operator_control_assignment = oci.operator_access_control.OperatorControlAssignment("test_operator_control_assignment",
        compartment_id=compartment_id,
        is_enforced_always=operator_control_assignment_is_enforced_always,
        operator_control_id=test_operator_control["id"],
        resource_compartment_id=test_compartment["id"],
        resource_id=test_resource["id"],
        resource_name_=operator_control_assignment_resource_name,
        resource_type=operator_control_assignment_resource_type,
        comment=operator_control_assignment_comment,
        defined_tags=operator_control_assignment_defined_tags,
        freeform_tags=operator_control_assignment_freeform_tags,
        is_auto_approve_during_maintenance=operator_control_assignment_is_auto_approve_during_maintenance,
        is_hypervisor_log_forwarded=operator_control_assignment_is_hypervisor_log_forwarded,
        is_log_forwarded=operator_control_assignment_is_log_forwarded,
        remote_syslog_server_address=operator_control_assignment_remote_syslog_server_address,
        remote_syslog_server_ca_cert=operator_control_assignment_remote_syslog_server_ca_cert,
        remote_syslog_server_port=operator_control_assignment_remote_syslog_server_port,
        time_assignment_from=operator_control_assignment_time_assignment_from,
        time_assignment_to=operator_control_assignment_time_assignment_to)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/OperatorAccessControl"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := OperatorAccessControl.NewOperatorControlAssignment(ctx, "test_operator_control_assignment", &OperatorAccessControl.OperatorControlAssignmentArgs{
    			CompartmentId:                  pulumi.Any(compartmentId),
    			IsEnforcedAlways:               pulumi.Any(operatorControlAssignmentIsEnforcedAlways),
    			OperatorControlId:              pulumi.Any(testOperatorControl.Id),
    			ResourceCompartmentId:          pulumi.Any(testCompartment.Id),
    			ResourceId:                     pulumi.Any(testResource.Id),
    			ResourceName:                   pulumi.Any(operatorControlAssignmentResourceName),
    			ResourceType:                   pulumi.Any(operatorControlAssignmentResourceType),
    			Comment:                        pulumi.Any(operatorControlAssignmentComment),
    			DefinedTags:                    pulumi.Any(operatorControlAssignmentDefinedTags),
    			FreeformTags:                   pulumi.Any(operatorControlAssignmentFreeformTags),
    			IsAutoApproveDuringMaintenance: pulumi.Any(operatorControlAssignmentIsAutoApproveDuringMaintenance),
    			IsHypervisorLogForwarded:       pulumi.Any(operatorControlAssignmentIsHypervisorLogForwarded),
    			IsLogForwarded:                 pulumi.Any(operatorControlAssignmentIsLogForwarded),
    			RemoteSyslogServerAddress:      pulumi.Any(operatorControlAssignmentRemoteSyslogServerAddress),
    			RemoteSyslogServerCaCert:       pulumi.Any(operatorControlAssignmentRemoteSyslogServerCaCert),
    			RemoteSyslogServerPort:         pulumi.Any(operatorControlAssignmentRemoteSyslogServerPort),
    			TimeAssignmentFrom:             pulumi.Any(operatorControlAssignmentTimeAssignmentFrom),
    			TimeAssignmentTo:               pulumi.Any(operatorControlAssignmentTimeAssignmentTo),
    		})
    		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("test_operator_control_assignment", new()
        {
            CompartmentId = compartmentId,
            IsEnforcedAlways = operatorControlAssignmentIsEnforcedAlways,
            OperatorControlId = testOperatorControl.Id,
            ResourceCompartmentId = testCompartment.Id,
            ResourceId = testResource.Id,
            ResourceName = operatorControlAssignmentResourceName,
            ResourceType = operatorControlAssignmentResourceType,
            Comment = operatorControlAssignmentComment,
            DefinedTags = operatorControlAssignmentDefinedTags,
            FreeformTags = operatorControlAssignmentFreeformTags,
            IsAutoApproveDuringMaintenance = operatorControlAssignmentIsAutoApproveDuringMaintenance,
            IsHypervisorLogForwarded = operatorControlAssignmentIsHypervisorLogForwarded,
            IsLogForwarded = operatorControlAssignmentIsLogForwarded,
            RemoteSyslogServerAddress = operatorControlAssignmentRemoteSyslogServerAddress,
            RemoteSyslogServerCaCert = operatorControlAssignmentRemoteSyslogServerCaCert,
            RemoteSyslogServerPort = operatorControlAssignmentRemoteSyslogServerPort,
            TimeAssignmentFrom = operatorControlAssignmentTimeAssignmentFrom,
            TimeAssignmentTo = operatorControlAssignmentTimeAssignmentTo,
        });
    
    });
    
    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(compartmentId)
                .isEnforcedAlways(operatorControlAssignmentIsEnforcedAlways)
                .operatorControlId(testOperatorControl.id())
                .resourceCompartmentId(testCompartment.id())
                .resourceId(testResource.id())
                .resourceName(operatorControlAssignmentResourceName)
                .resourceType(operatorControlAssignmentResourceType)
                .comment(operatorControlAssignmentComment)
                .definedTags(operatorControlAssignmentDefinedTags)
                .freeformTags(operatorControlAssignmentFreeformTags)
                .isAutoApproveDuringMaintenance(operatorControlAssignmentIsAutoApproveDuringMaintenance)
                .isHypervisorLogForwarded(operatorControlAssignmentIsHypervisorLogForwarded)
                .isLogForwarded(operatorControlAssignmentIsLogForwarded)
                .remoteSyslogServerAddress(operatorControlAssignmentRemoteSyslogServerAddress)
                .remoteSyslogServerCaCert(operatorControlAssignmentRemoteSyslogServerCaCert)
                .remoteSyslogServerPort(operatorControlAssignmentRemoteSyslogServerPort)
                .timeAssignmentFrom(operatorControlAssignmentTimeAssignmentFrom)
                .timeAssignmentTo(operatorControlAssignmentTimeAssignmentTo)
                .build());
    
        }
    }
    
    resources:
      testOperatorControlAssignment:
        type: oci:OperatorAccessControl:OperatorControlAssignment
        name: test_operator_control_assignment
        properties:
          compartmentId: ${compartmentId}
          isEnforcedAlways: ${operatorControlAssignmentIsEnforcedAlways}
          operatorControlId: ${testOperatorControl.id}
          resourceCompartmentId: ${testCompartment.id}
          resourceId: ${testResource.id}
          resourceName: ${operatorControlAssignmentResourceName}
          resourceType: ${operatorControlAssignmentResourceType}
          comment: ${operatorControlAssignmentComment}
          definedTags: ${operatorControlAssignmentDefinedTags}
          freeformTags: ${operatorControlAssignmentFreeformTags}
          isAutoApproveDuringMaintenance: ${operatorControlAssignmentIsAutoApproveDuringMaintenance}
          isHypervisorLogForwarded: ${operatorControlAssignmentIsHypervisorLogForwarded}
          isLogForwarded: ${operatorControlAssignmentIsLogForwarded}
          remoteSyslogServerAddress: ${operatorControlAssignmentRemoteSyslogServerAddress}
          remoteSyslogServerCaCert: ${operatorControlAssignmentRemoteSyslogServerCaCert}
          remoteSyslogServerPort: ${operatorControlAssignmentRemoteSyslogServerPort}
          timeAssignmentFrom: ${operatorControlAssignmentTimeAssignmentFrom}
          timeAssignmentTo: ${operatorControlAssignmentTimeAssignmentTo}
    

    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, str]] = 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, str]] = 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.

    Constructor 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", "string" },
        },
        ValidateAssignmentTrigger = 0,
        RemoteSyslogServerPort = 0,
        RemoteSyslogServerCaCert = "string",
        Comment = "string",
        IsHypervisorLogForwarded = false,
        IsAutoApproveDuringMaintenance = false,
        FreeformTags = 
        {
            { "string", "string" },
        },
        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.StringMap{
    		"string": pulumi.String("string"),
    	},
    	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.StringMap{
    		"string": pulumi.String("string"),
    	},
    	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", "string"))
        .validateAssignmentTrigger(0)
        .remoteSyslogServerPort(0)
        .remoteSyslogServerCaCert("string")
        .comment("string")
        .isHypervisorLogForwarded(false)
        .isAutoApproveDuringMaintenance(false)
        .freeformTags(Map.of("string", "string"))
        .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": "string",
        },
        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": "string",
        },
        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: "string",
        },
        validateAssignmentTrigger: 0,
        remoteSyslogServerPort: 0,
        remoteSyslogServerCaCert: "string",
        comment: "string",
        isHypervisorLogForwarded: false,
        isAutoApproveDuringMaintenance: false,
        freeformTags: {
            string: "string",
        },
        timeAssignmentFrom: "string",
        timeAssignmentTo: "string",
        remoteSyslogServerAddress: "string",
    });
    
    type: oci:OperatorAccessControl:OperatorControlAssignment
    properties:
        comment: string
        compartmentId: string
        definedTags:
            string: string
        freeformTags:
            string: string
        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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    FreeformTags Dictionary<string, string>
    (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]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    FreeformTags map[string]string
    (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,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    freeformTags Map<String,String>
    (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]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    freeformTags {[key: string]: string}
    (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, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    freeform_tags Mapping[str, str]
    (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<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
    freeformTags Map<String>
    (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, str]] = None,
            detachment_description: Optional[str] = None,
            error_code: Optional[int] = None,
            error_message: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = 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, string>
    (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, string>
    (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]string
    (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]string
    (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,String>
    (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,String>
    (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]: string}
    (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]: string}
    (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, str]
    (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, str]
    (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<String>
    (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<String>
    (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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi