oci.OperatorAccessControl.OperatorControlAssignment
Explore with Pulumi AI
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
The OperatorControlAssignment resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the operator control assignment.
- Is
Enforced boolAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- Operator
Control stringId - The OCID of the operator control that is being assigned to a target resource.
- Resource
Compartment stringId - The OCID of the compartment that contains the target resource.
- Resource
Id string - The OCID of the target resource being brought under the governance of the operator control.
- Resource
Name string - Name of the target resource.
- Resource
Type string - Type of the target resource.
- Comment string
- (Updatable) Comment about the assignment of the operator control to this target resource.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Is
Auto boolApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- Is
Hypervisor boolLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- Is
Log boolForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- Remote
Syslog stringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- Remote
Syslog stringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- Remote
Syslog intServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- Time
Assignment stringFrom - (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 stringTo - (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 intTrigger (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 string - (Updatable) The OCID of the compartment that contains the operator control assignment.
- Is
Enforced boolAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- Operator
Control stringId - The OCID of the operator control that is being assigned to a target resource.
- Resource
Compartment stringId - The OCID of the compartment that contains the target resource.
- Resource
Id string - The OCID of the target resource being brought under the governance of the operator control.
- Resource
Name string - Name of the target resource.
- Resource
Type string - Type of the target resource.
- Comment string
- (Updatable) Comment about the assignment of the operator control to this target resource.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Is
Auto boolApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- Is
Hypervisor boolLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- Is
Log boolForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- Remote
Syslog stringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- Remote
Syslog stringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- Remote
Syslog intServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- Time
Assignment stringFrom - (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 stringTo - (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 intTrigger (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 String - (Updatable) The OCID of the compartment that contains the operator control assignment.
- is
Enforced BooleanAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- operator
Control StringId - The OCID of the operator control that is being assigned to a target resource.
- resource
Compartment StringId - The OCID of the compartment that contains the target resource.
- resource
Id String - The OCID of the target resource being brought under the governance of the operator control.
- resource
Name String - Name of the target resource.
- resource
Type String - Type of the target resource.
- comment String
- (Updatable) Comment about the assignment of the operator control to this target resource.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- is
Auto BooleanApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- is
Hypervisor BooleanLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- is
Log BooleanForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- remote
Syslog StringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- remote
Syslog StringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- remote
Syslog IntegerServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- time
Assignment StringFrom - (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 StringTo - (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 IntegerTrigger (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 string - (Updatable) The OCID of the compartment that contains the operator control assignment.
- is
Enforced booleanAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- operator
Control stringId - The OCID of the operator control that is being assigned to a target resource.
- resource
Compartment stringId - The OCID of the compartment that contains the target resource.
- resource
Id string - The OCID of the target resource being brought under the governance of the operator control.
- resource
Name string - Name of the target resource.
- resource
Type string - Type of the target resource.
- comment string
- (Updatable) Comment about the assignment of the operator control to this target resource.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- is
Auto booleanApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- is
Hypervisor booleanLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- is
Log booleanForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- remote
Syslog stringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- remote
Syslog stringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- remote
Syslog numberServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- time
Assignment stringFrom - (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 stringTo - (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 numberTrigger (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_ boolalways - (Updatable) If set, then the target resource is always governed by the operator control.
- operator_
control_ strid - The OCID of the operator control that is being assigned to a target resource.
- resource_
compartment_ strid - 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.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- 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_ boolapprove_ during_ maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- is_
hypervisor_ boollog_ forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- is_
log_ boolforwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- remote_
syslog_ strserver_ address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- remote_
syslog_ strserver_ ca_ cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- remote_
syslog_ intserver_ port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- time_
assignment_ strfrom - (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_ strto - (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_ inttrigger (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 String - (Updatable) The OCID of the compartment that contains the operator control assignment.
- is
Enforced BooleanAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- operator
Control StringId - The OCID of the operator control that is being assigned to a target resource.
- resource
Compartment StringId - The OCID of the compartment that contains the target resource.
- resource
Id String - The OCID of the target resource being brought under the governance of the operator control.
- resource
Name String - Name of the target resource.
- resource
Type String - Type of the target resource.
- comment String
- (Updatable) Comment about the assignment of the operator control to this target resource.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- is
Auto BooleanApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- is
Hypervisor BooleanLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- is
Log BooleanForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- remote
Syslog StringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- remote
Syslog StringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- remote
Syslog NumberServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- time
Assignment StringFrom - (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 StringTo - (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 NumberTrigger (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:
- Assigner
Id string - The OCID of the user who created this operator control assignment.
- Detachment
Description string - description containing reason for releasing of OperatorControl.
- Error
Code int - The code identifying the error occurred during Assignment operation.
- Error
Message string - The message describing the error occurred during Assignment operation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Default boolAssignment - Whether the assignment is a default assignment.
- Lifecycle
Details string - More in detail about the lifeCycleState.
- Op
Control stringName - Name of the operator control name associated.
- State string
- The current lifcycle state of the OperatorControl.
- Time
Of stringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Unassigner
Id string - User id who released the operatorControl.
- Assigner
Id string - The OCID of the user who created this operator control assignment.
- Detachment
Description string - description containing reason for releasing of OperatorControl.
- Error
Code int - The code identifying the error occurred during Assignment operation.
- Error
Message string - The message describing the error occurred during Assignment operation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Default boolAssignment - Whether the assignment is a default assignment.
- Lifecycle
Details string - More in detail about the lifeCycleState.
- Op
Control stringName - Name of the operator control name associated.
- State string
- The current lifcycle state of the OperatorControl.
- Time
Of stringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Unassigner
Id string - User id who released the operatorControl.
- assigner
Id String - The OCID of the user who created this operator control assignment.
- detachment
Description String - description containing reason for releasing of OperatorControl.
- error
Code Integer - The code identifying the error occurred during Assignment operation.
- error
Message String - The message describing the error occurred during Assignment operation.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Default BooleanAssignment - Whether the assignment is a default assignment.
- lifecycle
Details String - More in detail about the lifeCycleState.
- op
Control StringName - Name of the operator control name associated.
- state String
- The current lifcycle state of the OperatorControl.
- time
Of StringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- unassigner
Id String - User id who released the operatorControl.
- assigner
Id string - The OCID of the user who created this operator control assignment.
- detachment
Description string - description containing reason for releasing of OperatorControl.
- error
Code number - The code identifying the error occurred during Assignment operation.
- error
Message string - The message describing the error occurred during Assignment operation.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Default booleanAssignment - Whether the assignment is a default assignment.
- lifecycle
Details string - More in detail about the lifeCycleState.
- op
Control stringName - Name of the operator control name associated.
- state string
- The current lifcycle state of the OperatorControl.
- time
Of stringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of stringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- unassigner
Id 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_ boolassignment - Whether the assignment is a default assignment.
- lifecycle_
details str - More in detail about the lifeCycleState.
- op_
control_ strname - Name of the operator control name associated.
- state str
- The current lifcycle state of the OperatorControl.
- time_
of_ strassignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time_
of_ strdeletion - 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.
- assigner
Id String - The OCID of the user who created this operator control assignment.
- detachment
Description String - description containing reason for releasing of OperatorControl.
- error
Code Number - The code identifying the error occurred during Assignment operation.
- error
Message String - The message describing the error occurred during Assignment operation.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Default BooleanAssignment - Whether the assignment is a default assignment.
- lifecycle
Details String - More in detail about the lifeCycleState.
- op
Control StringName - Name of the operator control name associated.
- state String
- The current lifcycle state of the OperatorControl.
- time
Of StringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- unassigner
Id 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.
- Assigner
Id 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.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the operator control assignment.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Detachment
Description string - description containing reason for releasing of OperatorControl.
- Error
Code int - The code identifying the error occurred during Assignment operation.
- Error
Message string - The message describing the error occurred during Assignment operation.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Is
Auto boolApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- Is
Default boolAssignment - Whether the assignment is a default assignment.
- Is
Enforced boolAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- Is
Hypervisor boolLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- Is
Log boolForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- Lifecycle
Details string - More in detail about the lifeCycleState.
- Op
Control stringName - Name of the operator control name associated.
- Operator
Control stringId - The OCID of the operator control that is being assigned to a target resource.
- Remote
Syslog stringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- Remote
Syslog stringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- Remote
Syslog intServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- Resource
Compartment stringId - The OCID of the compartment that contains the target resource.
- Resource
Id string - The OCID of the target resource being brought under the governance of the operator control.
- Resource
Name string - Name of the target resource.
- Resource
Type string - Type of the target resource.
- State string
- The current lifcycle state of the OperatorControl.
- Time
Assignment stringFrom - (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 stringTo - (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 stringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Unassigner
Id string - User id who released the operatorControl.
- Validate
Assignment intTrigger (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 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.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the operator control assignment.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Detachment
Description string - description containing reason for releasing of OperatorControl.
- Error
Code int - The code identifying the error occurred during Assignment operation.
- Error
Message string - The message describing the error occurred during Assignment operation.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Is
Auto boolApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- Is
Default boolAssignment - Whether the assignment is a default assignment.
- Is
Enforced boolAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- Is
Hypervisor boolLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- Is
Log boolForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- Lifecycle
Details string - More in detail about the lifeCycleState.
- Op
Control stringName - Name of the operator control name associated.
- Operator
Control stringId - The OCID of the operator control that is being assigned to a target resource.
- Remote
Syslog stringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- Remote
Syslog stringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- Remote
Syslog intServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- Resource
Compartment stringId - The OCID of the compartment that contains the target resource.
- Resource
Id string - The OCID of the target resource being brought under the governance of the operator control.
- Resource
Name string - Name of the target resource.
- Resource
Type string - Type of the target resource.
- State string
- The current lifcycle state of the OperatorControl.
- Time
Assignment stringFrom - (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 stringTo - (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 stringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- Unassigner
Id string - User id who released the operatorControl.
- Validate
Assignment intTrigger (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 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.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the operator control assignment.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- detachment
Description String - description containing reason for releasing of OperatorControl.
- error
Code Integer - The code identifying the error occurred during Assignment operation.
- error
Message String - The message describing the error occurred during Assignment operation.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- is
Auto BooleanApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- is
Default BooleanAssignment - Whether the assignment is a default assignment.
- is
Enforced BooleanAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- is
Hypervisor BooleanLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- is
Log BooleanForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- lifecycle
Details String - More in detail about the lifeCycleState.
- op
Control StringName - Name of the operator control name associated.
- operator
Control StringId - The OCID of the operator control that is being assigned to a target resource.
- remote
Syslog StringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- remote
Syslog StringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- remote
Syslog IntegerServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- resource
Compartment StringId - The OCID of the compartment that contains the target resource.
- resource
Id String - The OCID of the target resource being brought under the governance of the operator control.
- resource
Name String - Name of the target resource.
- resource
Type String - Type of the target resource.
- state String
- The current lifcycle state of the OperatorControl.
- time
Assignment StringFrom - (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 StringTo - (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 StringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- unassigner
Id String - User id who released the operatorControl.
- validate
Assignment IntegerTrigger (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 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.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the operator control assignment.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- detachment
Description string - description containing reason for releasing of OperatorControl.
- error
Code number - The code identifying the error occurred during Assignment operation.
- error
Message string - The message describing the error occurred during Assignment operation.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- is
Auto booleanApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- is
Default booleanAssignment - Whether the assignment is a default assignment.
- is
Enforced booleanAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- is
Hypervisor booleanLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- is
Log booleanForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- lifecycle
Details string - More in detail about the lifeCycleState.
- op
Control stringName - Name of the operator control name associated.
- operator
Control stringId - The OCID of the operator control that is being assigned to a target resource.
- remote
Syslog stringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- remote
Syslog stringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- remote
Syslog numberServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- resource
Compartment stringId - The OCID of the compartment that contains the target resource.
- resource
Id string - The OCID of the target resource being brought under the governance of the operator control.
- resource
Name string - Name of the target resource.
- resource
Type string - Type of the target resource.
- state string
- The current lifcycle state of the OperatorControl.
- time
Assignment stringFrom - (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 stringTo - (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 stringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of stringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- unassigner
Id string - User id who released the operatorControl.
- validate
Assignment numberTrigger (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.
- 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.
- 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_ boolapprove_ during_ maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- is_
default_ boolassignment - Whether the assignment is a default assignment.
- is_
enforced_ boolalways - (Updatable) If set, then the target resource is always governed by the operator control.
- is_
hypervisor_ boollog_ forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- is_
log_ boolforwarded - (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_ strname - Name of the operator control name associated.
- operator_
control_ strid - The OCID of the operator control that is being assigned to a target resource.
- remote_
syslog_ strserver_ address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- remote_
syslog_ strserver_ ca_ cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- remote_
syslog_ intserver_ port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- resource_
compartment_ strid - 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_ strfrom - (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_ strto - (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_ strassignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time_
of_ strdeletion - 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_ inttrigger (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 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.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the operator control assignment.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace.
- detachment
Description String - description containing reason for releasing of OperatorControl.
- error
Code Number - The code identifying the error occurred during Assignment operation.
- error
Message String - The message describing the error occurred during Assignment operation.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- is
Auto BooleanApprove During Maintenance - (Updatable) The boolean if true would autoApprove during maintenance.
- is
Default BooleanAssignment - Whether the assignment is a default assignment.
- is
Enforced BooleanAlways - (Updatable) If set, then the target resource is always governed by the operator control.
- is
Hypervisor BooleanLog Forwarded - (Updatable) If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server
- is
Log BooleanForwarded - (Updatable) If set, then the audit logs will be forwarded to the relevant remote logging server
- lifecycle
Details String - More in detail about the lifeCycleState.
- op
Control StringName - Name of the operator control name associated.
- operator
Control StringId - The OCID of the operator control that is being assigned to a target resource.
- remote
Syslog StringServer Address - (Updatable) The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format.
- remote
Syslog StringServer Ca Cert - (Updatable) The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate.
- remote
Syslog NumberServer Port - (Updatable) The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported.
- resource
Compartment StringId - The OCID of the compartment that contains the target resource.
- resource
Id String - The OCID of the target resource being brought under the governance of the operator control.
- resource
Name String - Name of the target resource.
- resource
Type String - Type of the target resource.
- state String
- The current lifcycle state of the OperatorControl.
- time
Assignment StringFrom - (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 StringTo - (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 StringAssignment - Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringDeletion - Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z'
- unassigner
Id String - User id who released the operatorControl.
- validate
Assignment NumberTrigger (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.