Documentation
¶
Index ¶
- type GetRuleAction
- type GetRuleActionAction
- type GetRuleActionActionArgs
- type GetRuleActionActionArray
- type GetRuleActionActionArrayInput
- type GetRuleActionActionArrayOutput
- func (GetRuleActionActionArrayOutput) ElementType() reflect.Type
- func (o GetRuleActionActionArrayOutput) Index(i pulumi.IntInput) GetRuleActionActionOutput
- func (o GetRuleActionActionArrayOutput) ToGetRuleActionActionArrayOutput() GetRuleActionActionArrayOutput
- func (o GetRuleActionActionArrayOutput) ToGetRuleActionActionArrayOutputWithContext(ctx context.Context) GetRuleActionActionArrayOutput
- type GetRuleActionActionInput
- type GetRuleActionActionOutput
- func (o GetRuleActionActionOutput) ActionType() pulumi.StringOutput
- func (o GetRuleActionActionOutput) Description() pulumi.StringOutput
- func (GetRuleActionActionOutput) ElementType() reflect.Type
- func (o GetRuleActionActionOutput) FunctionId() pulumi.StringOutput
- func (o GetRuleActionActionOutput) Id() pulumi.StringOutput
- func (o GetRuleActionActionOutput) IsEnabled() pulumi.BoolOutput
- func (o GetRuleActionActionOutput) LifecycleMessage() pulumi.StringOutput
- func (o GetRuleActionActionOutput) State() pulumi.StringOutput
- func (o GetRuleActionActionOutput) StreamId() pulumi.StringOutput
- func (o GetRuleActionActionOutput) ToGetRuleActionActionOutput() GetRuleActionActionOutput
- func (o GetRuleActionActionOutput) ToGetRuleActionActionOutputWithContext(ctx context.Context) GetRuleActionActionOutput
- func (o GetRuleActionActionOutput) TopicId() pulumi.StringOutput
- type GetRuleActionArgs
- type GetRuleActionArray
- type GetRuleActionArrayInput
- type GetRuleActionArrayOutput
- func (GetRuleActionArrayOutput) ElementType() reflect.Type
- func (o GetRuleActionArrayOutput) Index(i pulumi.IntInput) GetRuleActionOutput
- func (o GetRuleActionArrayOutput) ToGetRuleActionArrayOutput() GetRuleActionArrayOutput
- func (o GetRuleActionArrayOutput) ToGetRuleActionArrayOutputWithContext(ctx context.Context) GetRuleActionArrayOutput
- type GetRuleActionInput
- type GetRuleActionOutput
- type GetRulesArgs
- type GetRulesFilter
- type GetRulesFilterArgs
- type GetRulesFilterArray
- type GetRulesFilterArrayInput
- type GetRulesFilterArrayOutput
- func (GetRulesFilterArrayOutput) ElementType() reflect.Type
- func (o GetRulesFilterArrayOutput) Index(i pulumi.IntInput) GetRulesFilterOutput
- func (o GetRulesFilterArrayOutput) ToGetRulesFilterArrayOutput() GetRulesFilterArrayOutput
- func (o GetRulesFilterArrayOutput) ToGetRulesFilterArrayOutputWithContext(ctx context.Context) GetRulesFilterArrayOutput
- type GetRulesFilterInput
- type GetRulesFilterOutput
- func (GetRulesFilterOutput) ElementType() reflect.Type
- func (o GetRulesFilterOutput) Name() pulumi.StringOutput
- func (o GetRulesFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetRulesFilterOutput) ToGetRulesFilterOutput() GetRulesFilterOutput
- func (o GetRulesFilterOutput) ToGetRulesFilterOutputWithContext(ctx context.Context) GetRulesFilterOutput
- func (o GetRulesFilterOutput) Values() pulumi.StringArrayOutput
- type GetRulesOutputArgs
- type GetRulesResult
- type GetRulesResultOutput
- func (o GetRulesResultOutput) CompartmentId() pulumi.StringOutput
- func (o GetRulesResultOutput) DisplayName() pulumi.StringPtrOutput
- func (GetRulesResultOutput) ElementType() reflect.Type
- func (o GetRulesResultOutput) Filters() GetRulesFilterArrayOutput
- func (o GetRulesResultOutput) Id() pulumi.StringOutput
- func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
- func (o GetRulesResultOutput) State() pulumi.StringPtrOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
- func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
- type GetRulesRule
- type GetRulesRuleAction
- type GetRulesRuleActionAction
- type GetRulesRuleActionActionArgs
- func (GetRulesRuleActionActionArgs) ElementType() reflect.Type
- func (i GetRulesRuleActionActionArgs) ToGetRulesRuleActionActionOutput() GetRulesRuleActionActionOutput
- func (i GetRulesRuleActionActionArgs) ToGetRulesRuleActionActionOutputWithContext(ctx context.Context) GetRulesRuleActionActionOutput
- type GetRulesRuleActionActionArray
- func (GetRulesRuleActionActionArray) ElementType() reflect.Type
- func (i GetRulesRuleActionActionArray) ToGetRulesRuleActionActionArrayOutput() GetRulesRuleActionActionArrayOutput
- func (i GetRulesRuleActionActionArray) ToGetRulesRuleActionActionArrayOutputWithContext(ctx context.Context) GetRulesRuleActionActionArrayOutput
- type GetRulesRuleActionActionArrayInput
- type GetRulesRuleActionActionArrayOutput
- func (GetRulesRuleActionActionArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleActionActionArrayOutput) Index(i pulumi.IntInput) GetRulesRuleActionActionOutput
- func (o GetRulesRuleActionActionArrayOutput) ToGetRulesRuleActionActionArrayOutput() GetRulesRuleActionActionArrayOutput
- func (o GetRulesRuleActionActionArrayOutput) ToGetRulesRuleActionActionArrayOutputWithContext(ctx context.Context) GetRulesRuleActionActionArrayOutput
- type GetRulesRuleActionActionInput
- type GetRulesRuleActionActionOutput
- func (o GetRulesRuleActionActionOutput) ActionType() pulumi.StringOutput
- func (o GetRulesRuleActionActionOutput) Description() pulumi.StringOutput
- func (GetRulesRuleActionActionOutput) ElementType() reflect.Type
- func (o GetRulesRuleActionActionOutput) FunctionId() pulumi.StringOutput
- func (o GetRulesRuleActionActionOutput) Id() pulumi.StringOutput
- func (o GetRulesRuleActionActionOutput) IsEnabled() pulumi.BoolOutput
- func (o GetRulesRuleActionActionOutput) LifecycleMessage() pulumi.StringOutput
- func (o GetRulesRuleActionActionOutput) State() pulumi.StringOutput
- func (o GetRulesRuleActionActionOutput) StreamId() pulumi.StringOutput
- func (o GetRulesRuleActionActionOutput) ToGetRulesRuleActionActionOutput() GetRulesRuleActionActionOutput
- func (o GetRulesRuleActionActionOutput) ToGetRulesRuleActionActionOutputWithContext(ctx context.Context) GetRulesRuleActionActionOutput
- func (o GetRulesRuleActionActionOutput) TopicId() pulumi.StringOutput
- type GetRulesRuleActionArgs
- type GetRulesRuleActionArray
- type GetRulesRuleActionArrayInput
- type GetRulesRuleActionArrayOutput
- func (GetRulesRuleActionArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleActionArrayOutput) Index(i pulumi.IntInput) GetRulesRuleActionOutput
- func (o GetRulesRuleActionArrayOutput) ToGetRulesRuleActionArrayOutput() GetRulesRuleActionArrayOutput
- func (o GetRulesRuleActionArrayOutput) ToGetRulesRuleActionArrayOutputWithContext(ctx context.Context) GetRulesRuleActionArrayOutput
- type GetRulesRuleActionInput
- type GetRulesRuleActionOutput
- func (o GetRulesRuleActionOutput) Actions() GetRulesRuleActionActionArrayOutput
- func (GetRulesRuleActionOutput) ElementType() reflect.Type
- func (o GetRulesRuleActionOutput) ToGetRulesRuleActionOutput() GetRulesRuleActionOutput
- func (o GetRulesRuleActionOutput) ToGetRulesRuleActionOutputWithContext(ctx context.Context) GetRulesRuleActionOutput
- type GetRulesRuleArgs
- type GetRulesRuleArray
- type GetRulesRuleArrayInput
- type GetRulesRuleArrayOutput
- func (GetRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
- func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
- func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
- type GetRulesRuleInput
- type GetRulesRuleOutput
- func (o GetRulesRuleOutput) Actions() GetRulesRuleActionArrayOutput
- func (o GetRulesRuleOutput) CompartmentId() pulumi.StringOutput
- func (o GetRulesRuleOutput) Condition() pulumi.StringOutput
- func (o GetRulesRuleOutput) DefinedTags() pulumi.MapOutput
- func (o GetRulesRuleOutput) Description() pulumi.StringOutput
- func (o GetRulesRuleOutput) DisplayName() pulumi.StringOutput
- func (GetRulesRuleOutput) ElementType() reflect.Type
- func (o GetRulesRuleOutput) FreeformTags() pulumi.MapOutput
- func (o GetRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetRulesRuleOutput) IsEnabled() pulumi.BoolOutput
- func (o GetRulesRuleOutput) LifecycleMessage() pulumi.StringOutput
- func (o GetRulesRuleOutput) State() pulumi.StringOutput
- func (o GetRulesRuleOutput) TimeCreated() pulumi.StringOutput
- func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
- func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
- type LookupRuleArgs
- type LookupRuleOutputArgs
- type LookupRuleResult
- type LookupRuleResultOutput
- func (o LookupRuleResultOutput) Actions() GetRuleActionArrayOutput
- func (o LookupRuleResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupRuleResultOutput) Condition() pulumi.StringOutput
- func (o LookupRuleResultOutput) DefinedTags() pulumi.MapOutput
- func (o LookupRuleResultOutput) Description() pulumi.StringOutput
- func (o LookupRuleResultOutput) DisplayName() pulumi.StringOutput
- func (LookupRuleResultOutput) ElementType() reflect.Type
- func (o LookupRuleResultOutput) FreeformTags() pulumi.MapOutput
- func (o LookupRuleResultOutput) Id() pulumi.StringOutput
- func (o LookupRuleResultOutput) IsEnabled() pulumi.BoolOutput
- func (o LookupRuleResultOutput) LifecycleMessage() pulumi.StringOutput
- func (o LookupRuleResultOutput) RuleId() pulumi.StringOutput
- func (o LookupRuleResultOutput) State() pulumi.StringOutput
- func (o LookupRuleResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupRuleResultOutput) ToLookupRuleResultOutput() LookupRuleResultOutput
- func (o LookupRuleResultOutput) ToLookupRuleResultOutputWithContext(ctx context.Context) LookupRuleResultOutput
- type Rule
- type RuleActions
- type RuleActionsAction
- type RuleActionsActionArgs
- type RuleActionsActionArray
- type RuleActionsActionArrayInput
- type RuleActionsActionArrayOutput
- func (RuleActionsActionArrayOutput) ElementType() reflect.Type
- func (o RuleActionsActionArrayOutput) Index(i pulumi.IntInput) RuleActionsActionOutput
- func (o RuleActionsActionArrayOutput) ToRuleActionsActionArrayOutput() RuleActionsActionArrayOutput
- func (o RuleActionsActionArrayOutput) ToRuleActionsActionArrayOutputWithContext(ctx context.Context) RuleActionsActionArrayOutput
- type RuleActionsActionInput
- type RuleActionsActionOutput
- func (o RuleActionsActionOutput) ActionType() pulumi.StringOutput
- func (o RuleActionsActionOutput) Description() pulumi.StringPtrOutput
- func (RuleActionsActionOutput) ElementType() reflect.Type
- func (o RuleActionsActionOutput) FunctionId() pulumi.StringPtrOutput
- func (o RuleActionsActionOutput) Id() pulumi.StringPtrOutput
- func (o RuleActionsActionOutput) IsEnabled() pulumi.BoolOutput
- func (o RuleActionsActionOutput) LifecycleMessage() pulumi.StringPtrOutput
- func (o RuleActionsActionOutput) State() pulumi.StringPtrOutput
- func (o RuleActionsActionOutput) StreamId() pulumi.StringPtrOutput
- func (o RuleActionsActionOutput) ToRuleActionsActionOutput() RuleActionsActionOutput
- func (o RuleActionsActionOutput) ToRuleActionsActionOutputWithContext(ctx context.Context) RuleActionsActionOutput
- func (o RuleActionsActionOutput) TopicId() pulumi.StringPtrOutput
- type RuleActionsArgs
- func (RuleActionsArgs) ElementType() reflect.Type
- func (i RuleActionsArgs) ToRuleActionsOutput() RuleActionsOutput
- func (i RuleActionsArgs) ToRuleActionsOutputWithContext(ctx context.Context) RuleActionsOutput
- func (i RuleActionsArgs) ToRuleActionsPtrOutput() RuleActionsPtrOutput
- func (i RuleActionsArgs) ToRuleActionsPtrOutputWithContext(ctx context.Context) RuleActionsPtrOutput
- type RuleActionsInput
- type RuleActionsOutput
- func (o RuleActionsOutput) Actions() RuleActionsActionArrayOutput
- func (RuleActionsOutput) ElementType() reflect.Type
- func (o RuleActionsOutput) ToRuleActionsOutput() RuleActionsOutput
- func (o RuleActionsOutput) ToRuleActionsOutputWithContext(ctx context.Context) RuleActionsOutput
- func (o RuleActionsOutput) ToRuleActionsPtrOutput() RuleActionsPtrOutput
- func (o RuleActionsOutput) ToRuleActionsPtrOutputWithContext(ctx context.Context) RuleActionsPtrOutput
- type RuleActionsPtrInput
- type RuleActionsPtrOutput
- func (o RuleActionsPtrOutput) Actions() RuleActionsActionArrayOutput
- func (o RuleActionsPtrOutput) Elem() RuleActionsOutput
- func (RuleActionsPtrOutput) ElementType() reflect.Type
- func (o RuleActionsPtrOutput) ToRuleActionsPtrOutput() RuleActionsPtrOutput
- func (o RuleActionsPtrOutput) ToRuleActionsPtrOutputWithContext(ctx context.Context) RuleActionsPtrOutput
- type RuleArgs
- type RuleArray
- type RuleArrayInput
- type RuleArrayOutput
- type RuleInput
- type RuleMap
- type RuleMapInput
- type RuleMapOutput
- type RuleOutput
- func (o RuleOutput) Actions() RuleActionsOutput
- func (o RuleOutput) CompartmentId() pulumi.StringOutput
- func (o RuleOutput) Condition() pulumi.StringOutput
- func (o RuleOutput) DefinedTags() pulumi.MapOutput
- func (o RuleOutput) Description() pulumi.StringOutput
- func (o RuleOutput) DisplayName() pulumi.StringOutput
- func (RuleOutput) ElementType() reflect.Type
- func (o RuleOutput) FreeformTags() pulumi.MapOutput
- func (o RuleOutput) IsEnabled() pulumi.BoolOutput
- func (o RuleOutput) LifecycleMessage() pulumi.StringOutput
- func (o RuleOutput) State() pulumi.StringOutput
- func (o RuleOutput) TimeCreated() pulumi.StringOutput
- func (o RuleOutput) ToRuleOutput() RuleOutput
- func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
- type RuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRuleAction ¶
type GetRuleAction struct { // A list of one or more Action objects. Actions []GetRuleActionAction `pulumi:"actions"` }
type GetRuleActionAction ¶
type GetRuleActionAction struct { // The action to perform if the condition in the rule matches an event. // * **ONS:** Send to an Oracle Notification Service topic. // * **OSS:** Send to a stream from Oracle Streaming Service. // * **FAAS:** Send to an Oracle Functions Service endpoint. ActionType string `pulumi:"actionType"` // A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description string `pulumi:"description"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service. FunctionId string `pulumi:"functionId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id string `pulumi:"id"` // Whether or not this rule is currently enabled. Example: `true` IsEnabled bool `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage string `pulumi:"lifecycleMessage"` // The current state of the rule. State string `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. StreamId string `pulumi:"streamId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. TopicId string `pulumi:"topicId"` }
type GetRuleActionActionArgs ¶
type GetRuleActionActionArgs struct { // The action to perform if the condition in the rule matches an event. // * **ONS:** Send to an Oracle Notification Service topic. // * **OSS:** Send to a stream from Oracle Streaming Service. // * **FAAS:** Send to an Oracle Functions Service endpoint. ActionType pulumi.StringInput `pulumi:"actionType"` // A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description pulumi.StringInput `pulumi:"description"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service. FunctionId pulumi.StringInput `pulumi:"functionId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id pulumi.StringInput `pulumi:"id"` // Whether or not this rule is currently enabled. Example: `true` IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage pulumi.StringInput `pulumi:"lifecycleMessage"` // The current state of the rule. State pulumi.StringInput `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. StreamId pulumi.StringInput `pulumi:"streamId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. TopicId pulumi.StringInput `pulumi:"topicId"` }
func (GetRuleActionActionArgs) ElementType ¶
func (GetRuleActionActionArgs) ElementType() reflect.Type
func (GetRuleActionActionArgs) ToGetRuleActionActionOutput ¶
func (i GetRuleActionActionArgs) ToGetRuleActionActionOutput() GetRuleActionActionOutput
func (GetRuleActionActionArgs) ToGetRuleActionActionOutputWithContext ¶
func (i GetRuleActionActionArgs) ToGetRuleActionActionOutputWithContext(ctx context.Context) GetRuleActionActionOutput
type GetRuleActionActionArray ¶
type GetRuleActionActionArray []GetRuleActionActionInput
func (GetRuleActionActionArray) ElementType ¶
func (GetRuleActionActionArray) ElementType() reflect.Type
func (GetRuleActionActionArray) ToGetRuleActionActionArrayOutput ¶
func (i GetRuleActionActionArray) ToGetRuleActionActionArrayOutput() GetRuleActionActionArrayOutput
func (GetRuleActionActionArray) ToGetRuleActionActionArrayOutputWithContext ¶
func (i GetRuleActionActionArray) ToGetRuleActionActionArrayOutputWithContext(ctx context.Context) GetRuleActionActionArrayOutput
type GetRuleActionActionArrayInput ¶
type GetRuleActionActionArrayInput interface { pulumi.Input ToGetRuleActionActionArrayOutput() GetRuleActionActionArrayOutput ToGetRuleActionActionArrayOutputWithContext(context.Context) GetRuleActionActionArrayOutput }
GetRuleActionActionArrayInput is an input type that accepts GetRuleActionActionArray and GetRuleActionActionArrayOutput values. You can construct a concrete instance of `GetRuleActionActionArrayInput` via:
GetRuleActionActionArray{ GetRuleActionActionArgs{...} }
type GetRuleActionActionArrayOutput ¶
type GetRuleActionActionArrayOutput struct{ *pulumi.OutputState }
func (GetRuleActionActionArrayOutput) ElementType ¶
func (GetRuleActionActionArrayOutput) ElementType() reflect.Type
func (GetRuleActionActionArrayOutput) Index ¶
func (o GetRuleActionActionArrayOutput) Index(i pulumi.IntInput) GetRuleActionActionOutput
func (GetRuleActionActionArrayOutput) ToGetRuleActionActionArrayOutput ¶
func (o GetRuleActionActionArrayOutput) ToGetRuleActionActionArrayOutput() GetRuleActionActionArrayOutput
func (GetRuleActionActionArrayOutput) ToGetRuleActionActionArrayOutputWithContext ¶
func (o GetRuleActionActionArrayOutput) ToGetRuleActionActionArrayOutputWithContext(ctx context.Context) GetRuleActionActionArrayOutput
type GetRuleActionActionInput ¶
type GetRuleActionActionInput interface { pulumi.Input ToGetRuleActionActionOutput() GetRuleActionActionOutput ToGetRuleActionActionOutputWithContext(context.Context) GetRuleActionActionOutput }
GetRuleActionActionInput is an input type that accepts GetRuleActionActionArgs and GetRuleActionActionOutput values. You can construct a concrete instance of `GetRuleActionActionInput` via:
GetRuleActionActionArgs{...}
type GetRuleActionActionOutput ¶
type GetRuleActionActionOutput struct{ *pulumi.OutputState }
func (GetRuleActionActionOutput) ActionType ¶
func (o GetRuleActionActionOutput) ActionType() pulumi.StringOutput
The action to perform if the condition in the rule matches an event. * **ONS:** Send to an Oracle Notification Service topic. * **OSS:** Send to a stream from Oracle Streaming Service. * **FAAS:** Send to an Oracle Functions Service endpoint.
func (GetRuleActionActionOutput) Description ¶
func (o GetRuleActionActionOutput) Description() pulumi.StringOutput
A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information.
func (GetRuleActionActionOutput) ElementType ¶
func (GetRuleActionActionOutput) ElementType() reflect.Type
func (GetRuleActionActionOutput) FunctionId ¶
func (o GetRuleActionActionOutput) FunctionId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service.
func (GetRuleActionActionOutput) Id ¶
func (o GetRuleActionActionOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule.
func (GetRuleActionActionOutput) IsEnabled ¶
func (o GetRuleActionActionOutput) IsEnabled() pulumi.BoolOutput
Whether or not this rule is currently enabled. Example: `true`
func (GetRuleActionActionOutput) LifecycleMessage ¶
func (o GetRuleActionActionOutput) LifecycleMessage() pulumi.StringOutput
A message generated by the Events service about the current state of this rule.
func (GetRuleActionActionOutput) State ¶
func (o GetRuleActionActionOutput) State() pulumi.StringOutput
The current state of the rule.
func (GetRuleActionActionOutput) StreamId ¶
func (o GetRuleActionActionOutput) StreamId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered.
func (GetRuleActionActionOutput) ToGetRuleActionActionOutput ¶
func (o GetRuleActionActionOutput) ToGetRuleActionActionOutput() GetRuleActionActionOutput
func (GetRuleActionActionOutput) ToGetRuleActionActionOutputWithContext ¶
func (o GetRuleActionActionOutput) ToGetRuleActionActionOutputWithContext(ctx context.Context) GetRuleActionActionOutput
func (GetRuleActionActionOutput) TopicId ¶
func (o GetRuleActionActionOutput) TopicId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered.
type GetRuleActionArgs ¶
type GetRuleActionArgs struct { // A list of one or more Action objects. Actions GetRuleActionActionArrayInput `pulumi:"actions"` }
func (GetRuleActionArgs) ElementType ¶
func (GetRuleActionArgs) ElementType() reflect.Type
func (GetRuleActionArgs) ToGetRuleActionOutput ¶
func (i GetRuleActionArgs) ToGetRuleActionOutput() GetRuleActionOutput
func (GetRuleActionArgs) ToGetRuleActionOutputWithContext ¶
func (i GetRuleActionArgs) ToGetRuleActionOutputWithContext(ctx context.Context) GetRuleActionOutput
type GetRuleActionArray ¶
type GetRuleActionArray []GetRuleActionInput
func (GetRuleActionArray) ElementType ¶
func (GetRuleActionArray) ElementType() reflect.Type
func (GetRuleActionArray) ToGetRuleActionArrayOutput ¶
func (i GetRuleActionArray) ToGetRuleActionArrayOutput() GetRuleActionArrayOutput
func (GetRuleActionArray) ToGetRuleActionArrayOutputWithContext ¶
func (i GetRuleActionArray) ToGetRuleActionArrayOutputWithContext(ctx context.Context) GetRuleActionArrayOutput
type GetRuleActionArrayInput ¶
type GetRuleActionArrayInput interface { pulumi.Input ToGetRuleActionArrayOutput() GetRuleActionArrayOutput ToGetRuleActionArrayOutputWithContext(context.Context) GetRuleActionArrayOutput }
GetRuleActionArrayInput is an input type that accepts GetRuleActionArray and GetRuleActionArrayOutput values. You can construct a concrete instance of `GetRuleActionArrayInput` via:
GetRuleActionArray{ GetRuleActionArgs{...} }
type GetRuleActionArrayOutput ¶
type GetRuleActionArrayOutput struct{ *pulumi.OutputState }
func (GetRuleActionArrayOutput) ElementType ¶
func (GetRuleActionArrayOutput) ElementType() reflect.Type
func (GetRuleActionArrayOutput) Index ¶
func (o GetRuleActionArrayOutput) Index(i pulumi.IntInput) GetRuleActionOutput
func (GetRuleActionArrayOutput) ToGetRuleActionArrayOutput ¶
func (o GetRuleActionArrayOutput) ToGetRuleActionArrayOutput() GetRuleActionArrayOutput
func (GetRuleActionArrayOutput) ToGetRuleActionArrayOutputWithContext ¶
func (o GetRuleActionArrayOutput) ToGetRuleActionArrayOutputWithContext(ctx context.Context) GetRuleActionArrayOutput
type GetRuleActionInput ¶
type GetRuleActionInput interface { pulumi.Input ToGetRuleActionOutput() GetRuleActionOutput ToGetRuleActionOutputWithContext(context.Context) GetRuleActionOutput }
GetRuleActionInput is an input type that accepts GetRuleActionArgs and GetRuleActionOutput values. You can construct a concrete instance of `GetRuleActionInput` via:
GetRuleActionArgs{...}
type GetRuleActionOutput ¶
type GetRuleActionOutput struct{ *pulumi.OutputState }
func (GetRuleActionOutput) Actions ¶
func (o GetRuleActionOutput) Actions() GetRuleActionActionArrayOutput
A list of one or more Action objects.
func (GetRuleActionOutput) ElementType ¶
func (GetRuleActionOutput) ElementType() reflect.Type
func (GetRuleActionOutput) ToGetRuleActionOutput ¶
func (o GetRuleActionOutput) ToGetRuleActionOutput() GetRuleActionOutput
func (GetRuleActionOutput) ToGetRuleActionOutputWithContext ¶
func (o GetRuleActionOutput) ToGetRuleActionOutputWithContext(ctx context.Context) GetRuleActionOutput
type GetRulesArgs ¶
type GetRulesArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId string `pulumi:"compartmentId"` // A filter to return only rules with descriptions that match the displayName string in this parameter. Example: `"This rule sends a notification upon completion of DbaaS backup."` DisplayName *string `pulumi:"displayName"` Filters []GetRulesFilter `pulumi:"filters"` // A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating` State *string `pulumi:"state"` }
A collection of arguments for invoking getRules.
type GetRulesFilter ¶
type GetRulesFilterArgs ¶
type GetRulesFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetRulesFilterArgs) ElementType ¶
func (GetRulesFilterArgs) ElementType() reflect.Type
func (GetRulesFilterArgs) ToGetRulesFilterOutput ¶
func (i GetRulesFilterArgs) ToGetRulesFilterOutput() GetRulesFilterOutput
func (GetRulesFilterArgs) ToGetRulesFilterOutputWithContext ¶
func (i GetRulesFilterArgs) ToGetRulesFilterOutputWithContext(ctx context.Context) GetRulesFilterOutput
type GetRulesFilterArray ¶
type GetRulesFilterArray []GetRulesFilterInput
func (GetRulesFilterArray) ElementType ¶
func (GetRulesFilterArray) ElementType() reflect.Type
func (GetRulesFilterArray) ToGetRulesFilterArrayOutput ¶
func (i GetRulesFilterArray) ToGetRulesFilterArrayOutput() GetRulesFilterArrayOutput
func (GetRulesFilterArray) ToGetRulesFilterArrayOutputWithContext ¶
func (i GetRulesFilterArray) ToGetRulesFilterArrayOutputWithContext(ctx context.Context) GetRulesFilterArrayOutput
type GetRulesFilterArrayInput ¶
type GetRulesFilterArrayInput interface { pulumi.Input ToGetRulesFilterArrayOutput() GetRulesFilterArrayOutput ToGetRulesFilterArrayOutputWithContext(context.Context) GetRulesFilterArrayOutput }
GetRulesFilterArrayInput is an input type that accepts GetRulesFilterArray and GetRulesFilterArrayOutput values. You can construct a concrete instance of `GetRulesFilterArrayInput` via:
GetRulesFilterArray{ GetRulesFilterArgs{...} }
type GetRulesFilterArrayOutput ¶
type GetRulesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetRulesFilterArrayOutput) ElementType ¶
func (GetRulesFilterArrayOutput) ElementType() reflect.Type
func (GetRulesFilterArrayOutput) Index ¶
func (o GetRulesFilterArrayOutput) Index(i pulumi.IntInput) GetRulesFilterOutput
func (GetRulesFilterArrayOutput) ToGetRulesFilterArrayOutput ¶
func (o GetRulesFilterArrayOutput) ToGetRulesFilterArrayOutput() GetRulesFilterArrayOutput
func (GetRulesFilterArrayOutput) ToGetRulesFilterArrayOutputWithContext ¶
func (o GetRulesFilterArrayOutput) ToGetRulesFilterArrayOutputWithContext(ctx context.Context) GetRulesFilterArrayOutput
type GetRulesFilterInput ¶
type GetRulesFilterInput interface { pulumi.Input ToGetRulesFilterOutput() GetRulesFilterOutput ToGetRulesFilterOutputWithContext(context.Context) GetRulesFilterOutput }
GetRulesFilterInput is an input type that accepts GetRulesFilterArgs and GetRulesFilterOutput values. You can construct a concrete instance of `GetRulesFilterInput` via:
GetRulesFilterArgs{...}
type GetRulesFilterOutput ¶
type GetRulesFilterOutput struct{ *pulumi.OutputState }
func (GetRulesFilterOutput) ElementType ¶
func (GetRulesFilterOutput) ElementType() reflect.Type
func (GetRulesFilterOutput) Name ¶
func (o GetRulesFilterOutput) Name() pulumi.StringOutput
func (GetRulesFilterOutput) Regex ¶
func (o GetRulesFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetRulesFilterOutput) ToGetRulesFilterOutput ¶
func (o GetRulesFilterOutput) ToGetRulesFilterOutput() GetRulesFilterOutput
func (GetRulesFilterOutput) ToGetRulesFilterOutputWithContext ¶
func (o GetRulesFilterOutput) ToGetRulesFilterOutputWithContext(ctx context.Context) GetRulesFilterOutput
func (GetRulesFilterOutput) Values ¶
func (o GetRulesFilterOutput) Values() pulumi.StringArrayOutput
type GetRulesOutputArgs ¶
type GetRulesOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // A filter to return only rules with descriptions that match the displayName string in this parameter. Example: `"This rule sends a notification upon completion of DbaaS backup."` DisplayName pulumi.StringPtrInput `pulumi:"displayName"` Filters GetRulesFilterArrayInput `pulumi:"filters"` // A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating` State pulumi.StringPtrInput `pulumi:"state"` }
A collection of arguments for invoking getRules.
func (GetRulesOutputArgs) ElementType ¶
func (GetRulesOutputArgs) ElementType() reflect.Type
type GetRulesResult ¶
type GetRulesResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId string `pulumi:"compartmentId"` // A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Example: `"This rule sends a notification upon completion of DbaaS backup."` DisplayName *string `pulumi:"displayName"` Filters []GetRulesFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of rules. Rules []GetRulesRule `pulumi:"rules"` // The current state of the rule. State *string `pulumi:"state"` }
A collection of values returned by getRules.
func GetRules ¶
func GetRules(ctx *pulumi.Context, args *GetRulesArgs, opts ...pulumi.InvokeOption) (*GetRulesResult, error)
This data source provides the list of Rules in Oracle Cloud Infrastructure Events service.
Lists rules for this compartment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Events" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Events.GetRules(ctx, &events.GetRulesArgs{ CompartmentId: _var.Compartment_id, DisplayName: pulumi.StringRef(_var.Rule_display_name), State: pulumi.StringRef(_var.Rule_state), }, nil) if err != nil { return err } return nil }) }
```
type GetRulesResultOutput ¶
type GetRulesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRules.
func GetRulesOutput ¶
func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput
func (GetRulesResultOutput) CompartmentId ¶
func (o GetRulesResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs.
func (GetRulesResultOutput) DisplayName ¶
func (o GetRulesResultOutput) DisplayName() pulumi.StringPtrOutput
A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Example: `"This rule sends a notification upon completion of DbaaS backup."`
func (GetRulesResultOutput) ElementType ¶
func (GetRulesResultOutput) ElementType() reflect.Type
func (GetRulesResultOutput) Filters ¶
func (o GetRulesResultOutput) Filters() GetRulesFilterArrayOutput
func (GetRulesResultOutput) Id ¶
func (o GetRulesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRulesResultOutput) Rules ¶
func (o GetRulesResultOutput) Rules() GetRulesRuleArrayOutput
The list of rules.
func (GetRulesResultOutput) State ¶
func (o GetRulesResultOutput) State() pulumi.StringPtrOutput
The current state of the rule.
func (GetRulesResultOutput) ToGetRulesResultOutput ¶
func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput
func (GetRulesResultOutput) ToGetRulesResultOutputWithContext ¶
func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput
type GetRulesRule ¶
type GetRulesRule struct { // A list of one or more Action objects. Actions []GetRulesRuleAction `pulumi:"actions"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId string `pulumi:"compartmentId"` // A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: // * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` Condition string `pulumi:"condition"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` // A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description string `pulumi:"description"` // A filter to return only rules with descriptions that match the displayName string in this parameter. Example: `"This rule sends a notification upon completion of DbaaS backup."` DisplayName string `pulumi:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id string `pulumi:"id"` // Whether or not this rule is currently enabled. Example: `true` IsEnabled bool `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage string `pulumi:"lifecycleMessage"` // A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating` State string `pulumi:"state"` // The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` TimeCreated string `pulumi:"timeCreated"` }
type GetRulesRuleAction ¶
type GetRulesRuleAction struct { // A list of one or more Action objects. Actions []GetRulesRuleActionAction `pulumi:"actions"` }
type GetRulesRuleActionAction ¶
type GetRulesRuleActionAction struct { // The action to perform if the condition in the rule matches an event. // * **ONS:** Send to an Oracle Notification Service topic. // * **OSS:** Send to a stream from Oracle Streaming Service. // * **FAAS:** Send to an Oracle Functions Service endpoint. ActionType string `pulumi:"actionType"` // A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description string `pulumi:"description"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service. FunctionId string `pulumi:"functionId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id string `pulumi:"id"` // Whether or not this rule is currently enabled. Example: `true` IsEnabled bool `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage string `pulumi:"lifecycleMessage"` // A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating` State string `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. StreamId string `pulumi:"streamId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. TopicId string `pulumi:"topicId"` }
type GetRulesRuleActionActionArgs ¶
type GetRulesRuleActionActionArgs struct { // The action to perform if the condition in the rule matches an event. // * **ONS:** Send to an Oracle Notification Service topic. // * **OSS:** Send to a stream from Oracle Streaming Service. // * **FAAS:** Send to an Oracle Functions Service endpoint. ActionType pulumi.StringInput `pulumi:"actionType"` // A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description pulumi.StringInput `pulumi:"description"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service. FunctionId pulumi.StringInput `pulumi:"functionId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id pulumi.StringInput `pulumi:"id"` // Whether or not this rule is currently enabled. Example: `true` IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage pulumi.StringInput `pulumi:"lifecycleMessage"` // A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating` State pulumi.StringInput `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. StreamId pulumi.StringInput `pulumi:"streamId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. TopicId pulumi.StringInput `pulumi:"topicId"` }
func (GetRulesRuleActionActionArgs) ElementType ¶
func (GetRulesRuleActionActionArgs) ElementType() reflect.Type
func (GetRulesRuleActionActionArgs) ToGetRulesRuleActionActionOutput ¶
func (i GetRulesRuleActionActionArgs) ToGetRulesRuleActionActionOutput() GetRulesRuleActionActionOutput
func (GetRulesRuleActionActionArgs) ToGetRulesRuleActionActionOutputWithContext ¶
func (i GetRulesRuleActionActionArgs) ToGetRulesRuleActionActionOutputWithContext(ctx context.Context) GetRulesRuleActionActionOutput
type GetRulesRuleActionActionArray ¶
type GetRulesRuleActionActionArray []GetRulesRuleActionActionInput
func (GetRulesRuleActionActionArray) ElementType ¶
func (GetRulesRuleActionActionArray) ElementType() reflect.Type
func (GetRulesRuleActionActionArray) ToGetRulesRuleActionActionArrayOutput ¶
func (i GetRulesRuleActionActionArray) ToGetRulesRuleActionActionArrayOutput() GetRulesRuleActionActionArrayOutput
func (GetRulesRuleActionActionArray) ToGetRulesRuleActionActionArrayOutputWithContext ¶
func (i GetRulesRuleActionActionArray) ToGetRulesRuleActionActionArrayOutputWithContext(ctx context.Context) GetRulesRuleActionActionArrayOutput
type GetRulesRuleActionActionArrayInput ¶
type GetRulesRuleActionActionArrayInput interface { pulumi.Input ToGetRulesRuleActionActionArrayOutput() GetRulesRuleActionActionArrayOutput ToGetRulesRuleActionActionArrayOutputWithContext(context.Context) GetRulesRuleActionActionArrayOutput }
GetRulesRuleActionActionArrayInput is an input type that accepts GetRulesRuleActionActionArray and GetRulesRuleActionActionArrayOutput values. You can construct a concrete instance of `GetRulesRuleActionActionArrayInput` via:
GetRulesRuleActionActionArray{ GetRulesRuleActionActionArgs{...} }
type GetRulesRuleActionActionArrayOutput ¶
type GetRulesRuleActionActionArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleActionActionArrayOutput) ElementType ¶
func (GetRulesRuleActionActionArrayOutput) ElementType() reflect.Type
func (GetRulesRuleActionActionArrayOutput) Index ¶
func (o GetRulesRuleActionActionArrayOutput) Index(i pulumi.IntInput) GetRulesRuleActionActionOutput
func (GetRulesRuleActionActionArrayOutput) ToGetRulesRuleActionActionArrayOutput ¶
func (o GetRulesRuleActionActionArrayOutput) ToGetRulesRuleActionActionArrayOutput() GetRulesRuleActionActionArrayOutput
func (GetRulesRuleActionActionArrayOutput) ToGetRulesRuleActionActionArrayOutputWithContext ¶
func (o GetRulesRuleActionActionArrayOutput) ToGetRulesRuleActionActionArrayOutputWithContext(ctx context.Context) GetRulesRuleActionActionArrayOutput
type GetRulesRuleActionActionInput ¶
type GetRulesRuleActionActionInput interface { pulumi.Input ToGetRulesRuleActionActionOutput() GetRulesRuleActionActionOutput ToGetRulesRuleActionActionOutputWithContext(context.Context) GetRulesRuleActionActionOutput }
GetRulesRuleActionActionInput is an input type that accepts GetRulesRuleActionActionArgs and GetRulesRuleActionActionOutput values. You can construct a concrete instance of `GetRulesRuleActionActionInput` via:
GetRulesRuleActionActionArgs{...}
type GetRulesRuleActionActionOutput ¶
type GetRulesRuleActionActionOutput struct{ *pulumi.OutputState }
func (GetRulesRuleActionActionOutput) ActionType ¶
func (o GetRulesRuleActionActionOutput) ActionType() pulumi.StringOutput
The action to perform if the condition in the rule matches an event. * **ONS:** Send to an Oracle Notification Service topic. * **OSS:** Send to a stream from Oracle Streaming Service. * **FAAS:** Send to an Oracle Functions Service endpoint.
func (GetRulesRuleActionActionOutput) Description ¶
func (o GetRulesRuleActionActionOutput) Description() pulumi.StringOutput
A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information.
func (GetRulesRuleActionActionOutput) ElementType ¶
func (GetRulesRuleActionActionOutput) ElementType() reflect.Type
func (GetRulesRuleActionActionOutput) FunctionId ¶
func (o GetRulesRuleActionActionOutput) FunctionId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service.
func (GetRulesRuleActionActionOutput) Id ¶
func (o GetRulesRuleActionActionOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule.
func (GetRulesRuleActionActionOutput) IsEnabled ¶
func (o GetRulesRuleActionActionOutput) IsEnabled() pulumi.BoolOutput
Whether or not this rule is currently enabled. Example: `true`
func (GetRulesRuleActionActionOutput) LifecycleMessage ¶
func (o GetRulesRuleActionActionOutput) LifecycleMessage() pulumi.StringOutput
A message generated by the Events service about the current state of this rule.
func (GetRulesRuleActionActionOutput) State ¶
func (o GetRulesRuleActionActionOutput) State() pulumi.StringOutput
A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating`
func (GetRulesRuleActionActionOutput) StreamId ¶
func (o GetRulesRuleActionActionOutput) StreamId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered.
func (GetRulesRuleActionActionOutput) ToGetRulesRuleActionActionOutput ¶
func (o GetRulesRuleActionActionOutput) ToGetRulesRuleActionActionOutput() GetRulesRuleActionActionOutput
func (GetRulesRuleActionActionOutput) ToGetRulesRuleActionActionOutputWithContext ¶
func (o GetRulesRuleActionActionOutput) ToGetRulesRuleActionActionOutputWithContext(ctx context.Context) GetRulesRuleActionActionOutput
func (GetRulesRuleActionActionOutput) TopicId ¶
func (o GetRulesRuleActionActionOutput) TopicId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered.
type GetRulesRuleActionArgs ¶
type GetRulesRuleActionArgs struct { // A list of one or more Action objects. Actions GetRulesRuleActionActionArrayInput `pulumi:"actions"` }
func (GetRulesRuleActionArgs) ElementType ¶
func (GetRulesRuleActionArgs) ElementType() reflect.Type
func (GetRulesRuleActionArgs) ToGetRulesRuleActionOutput ¶
func (i GetRulesRuleActionArgs) ToGetRulesRuleActionOutput() GetRulesRuleActionOutput
func (GetRulesRuleActionArgs) ToGetRulesRuleActionOutputWithContext ¶
func (i GetRulesRuleActionArgs) ToGetRulesRuleActionOutputWithContext(ctx context.Context) GetRulesRuleActionOutput
type GetRulesRuleActionArray ¶
type GetRulesRuleActionArray []GetRulesRuleActionInput
func (GetRulesRuleActionArray) ElementType ¶
func (GetRulesRuleActionArray) ElementType() reflect.Type
func (GetRulesRuleActionArray) ToGetRulesRuleActionArrayOutput ¶
func (i GetRulesRuleActionArray) ToGetRulesRuleActionArrayOutput() GetRulesRuleActionArrayOutput
func (GetRulesRuleActionArray) ToGetRulesRuleActionArrayOutputWithContext ¶
func (i GetRulesRuleActionArray) ToGetRulesRuleActionArrayOutputWithContext(ctx context.Context) GetRulesRuleActionArrayOutput
type GetRulesRuleActionArrayInput ¶
type GetRulesRuleActionArrayInput interface { pulumi.Input ToGetRulesRuleActionArrayOutput() GetRulesRuleActionArrayOutput ToGetRulesRuleActionArrayOutputWithContext(context.Context) GetRulesRuleActionArrayOutput }
GetRulesRuleActionArrayInput is an input type that accepts GetRulesRuleActionArray and GetRulesRuleActionArrayOutput values. You can construct a concrete instance of `GetRulesRuleActionArrayInput` via:
GetRulesRuleActionArray{ GetRulesRuleActionArgs{...} }
type GetRulesRuleActionArrayOutput ¶
type GetRulesRuleActionArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleActionArrayOutput) ElementType ¶
func (GetRulesRuleActionArrayOutput) ElementType() reflect.Type
func (GetRulesRuleActionArrayOutput) Index ¶
func (o GetRulesRuleActionArrayOutput) Index(i pulumi.IntInput) GetRulesRuleActionOutput
func (GetRulesRuleActionArrayOutput) ToGetRulesRuleActionArrayOutput ¶
func (o GetRulesRuleActionArrayOutput) ToGetRulesRuleActionArrayOutput() GetRulesRuleActionArrayOutput
func (GetRulesRuleActionArrayOutput) ToGetRulesRuleActionArrayOutputWithContext ¶
func (o GetRulesRuleActionArrayOutput) ToGetRulesRuleActionArrayOutputWithContext(ctx context.Context) GetRulesRuleActionArrayOutput
type GetRulesRuleActionInput ¶
type GetRulesRuleActionInput interface { pulumi.Input ToGetRulesRuleActionOutput() GetRulesRuleActionOutput ToGetRulesRuleActionOutputWithContext(context.Context) GetRulesRuleActionOutput }
GetRulesRuleActionInput is an input type that accepts GetRulesRuleActionArgs and GetRulesRuleActionOutput values. You can construct a concrete instance of `GetRulesRuleActionInput` via:
GetRulesRuleActionArgs{...}
type GetRulesRuleActionOutput ¶
type GetRulesRuleActionOutput struct{ *pulumi.OutputState }
func (GetRulesRuleActionOutput) Actions ¶
func (o GetRulesRuleActionOutput) Actions() GetRulesRuleActionActionArrayOutput
A list of one or more Action objects.
func (GetRulesRuleActionOutput) ElementType ¶
func (GetRulesRuleActionOutput) ElementType() reflect.Type
func (GetRulesRuleActionOutput) ToGetRulesRuleActionOutput ¶
func (o GetRulesRuleActionOutput) ToGetRulesRuleActionOutput() GetRulesRuleActionOutput
func (GetRulesRuleActionOutput) ToGetRulesRuleActionOutputWithContext ¶
func (o GetRulesRuleActionOutput) ToGetRulesRuleActionOutputWithContext(ctx context.Context) GetRulesRuleActionOutput
type GetRulesRuleArgs ¶
type GetRulesRuleArgs struct { // A list of one or more Action objects. Actions GetRulesRuleActionArrayInput `pulumi:"actions"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: // * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` Condition pulumi.StringInput `pulumi:"condition"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapInput `pulumi:"definedTags"` // A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description pulumi.StringInput `pulumi:"description"` // A filter to return only rules with descriptions that match the displayName string in this parameter. Example: `"This rule sends a notification upon completion of DbaaS backup."` DisplayName pulumi.StringInput `pulumi:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id pulumi.StringInput `pulumi:"id"` // Whether or not this rule is currently enabled. Example: `true` IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage pulumi.StringInput `pulumi:"lifecycleMessage"` // A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating` State pulumi.StringInput `pulumi:"state"` // The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` }
func (GetRulesRuleArgs) ElementType ¶
func (GetRulesRuleArgs) ElementType() reflect.Type
func (GetRulesRuleArgs) ToGetRulesRuleOutput ¶
func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext ¶
func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
type GetRulesRuleArray ¶
type GetRulesRuleArray []GetRulesRuleInput
func (GetRulesRuleArray) ElementType ¶
func (GetRulesRuleArray) ElementType() reflect.Type
func (GetRulesRuleArray) ToGetRulesRuleArrayOutput ¶
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext ¶
func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleArrayInput ¶
type GetRulesRuleArrayInput interface { pulumi.Input ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput ToGetRulesRuleArrayOutputWithContext(context.Context) GetRulesRuleArrayOutput }
GetRulesRuleArrayInput is an input type that accepts GetRulesRuleArray and GetRulesRuleArrayOutput values. You can construct a concrete instance of `GetRulesRuleArrayInput` via:
GetRulesRuleArray{ GetRulesRuleArgs{...} }
type GetRulesRuleArrayOutput ¶
type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRulesRuleArrayOutput) ElementType ¶
func (GetRulesRuleArrayOutput) ElementType() reflect.Type
func (GetRulesRuleArrayOutput) Index ¶
func (o GetRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRulesRuleOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput ¶
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext ¶
func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput
type GetRulesRuleInput ¶
type GetRulesRuleInput interface { pulumi.Input ToGetRulesRuleOutput() GetRulesRuleOutput ToGetRulesRuleOutputWithContext(context.Context) GetRulesRuleOutput }
GetRulesRuleInput is an input type that accepts GetRulesRuleArgs and GetRulesRuleOutput values. You can construct a concrete instance of `GetRulesRuleInput` via:
GetRulesRuleArgs{...}
type GetRulesRuleOutput ¶
type GetRulesRuleOutput struct{ *pulumi.OutputState }
func (GetRulesRuleOutput) Actions ¶
func (o GetRulesRuleOutput) Actions() GetRulesRuleActionArrayOutput
A list of one or more Action objects.
func (GetRulesRuleOutput) CompartmentId ¶
func (o GetRulesRuleOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs.
func (GetRulesRuleOutput) Condition ¶
func (o GetRulesRuleOutput) Condition() pulumi.StringOutput
A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}`
func (GetRulesRuleOutput) DefinedTags ¶
func (o GetRulesRuleOutput) DefinedTags() pulumi.MapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (GetRulesRuleOutput) Description ¶
func (o GetRulesRuleOutput) Description() pulumi.StringOutput
A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information.
func (GetRulesRuleOutput) DisplayName ¶
func (o GetRulesRuleOutput) DisplayName() pulumi.StringOutput
A filter to return only rules with descriptions that match the displayName string in this parameter. Example: `"This rule sends a notification upon completion of DbaaS backup."`
func (GetRulesRuleOutput) ElementType ¶
func (GetRulesRuleOutput) ElementType() reflect.Type
func (GetRulesRuleOutput) FreeformTags ¶
func (o GetRulesRuleOutput) FreeformTags() pulumi.MapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (GetRulesRuleOutput) Id ¶
func (o GetRulesRuleOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule.
func (GetRulesRuleOutput) IsEnabled ¶
func (o GetRulesRuleOutput) IsEnabled() pulumi.BoolOutput
Whether or not this rule is currently enabled. Example: `true`
func (GetRulesRuleOutput) LifecycleMessage ¶
func (o GetRulesRuleOutput) LifecycleMessage() pulumi.StringOutput
A message generated by the Events service about the current state of this rule.
func (GetRulesRuleOutput) State ¶
func (o GetRulesRuleOutput) State() pulumi.StringOutput
A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating`
func (GetRulesRuleOutput) TimeCreated ¶
func (o GetRulesRuleOutput) TimeCreated() pulumi.StringOutput
The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z`
func (GetRulesRuleOutput) ToGetRulesRuleOutput ¶
func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput
func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext ¶
func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput
type LookupRuleArgs ¶
type LookupRuleArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. RuleId string `pulumi:"ruleId"` }
A collection of arguments for invoking getRule.
type LookupRuleOutputArgs ¶
type LookupRuleOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. RuleId pulumi.StringInput `pulumi:"ruleId"` }
A collection of arguments for invoking getRule.
func (LookupRuleOutputArgs) ElementType ¶
func (LookupRuleOutputArgs) ElementType() reflect.Type
type LookupRuleResult ¶
type LookupRuleResult struct { // A list of one or more Action objects. Actions []GetRuleAction `pulumi:"actions"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId string `pulumi:"compartmentId"` // A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: // * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` Condition string `pulumi:"condition"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` // A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description string `pulumi:"description"` // A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Example: `"This rule sends a notification upon completion of DbaaS backup."` DisplayName string `pulumi:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id string `pulumi:"id"` // Whether or not this rule is currently enabled. Example: `true` IsEnabled bool `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage string `pulumi:"lifecycleMessage"` RuleId string `pulumi:"ruleId"` // The current state of the rule. State string `pulumi:"state"` // The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` TimeCreated string `pulumi:"timeCreated"` }
A collection of values returned by getRule.
func LookupRule ¶
func LookupRule(ctx *pulumi.Context, args *LookupRuleArgs, opts ...pulumi.InvokeOption) (*LookupRuleResult, error)
This data source provides details about a specific Rule resource in Oracle Cloud Infrastructure Events service.
Retrieves a rule.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Events" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Events.GetRule(ctx, &events.GetRuleArgs{ RuleId: oci_events_rule.Test_rule.Id, }, nil) if err != nil { return err } return nil }) }
```
type LookupRuleResultOutput ¶
type LookupRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRule.
func LookupRuleOutput ¶
func LookupRuleOutput(ctx *pulumi.Context, args LookupRuleOutputArgs, opts ...pulumi.InvokeOption) LookupRuleResultOutput
func (LookupRuleResultOutput) Actions ¶
func (o LookupRuleResultOutput) Actions() GetRuleActionArrayOutput
A list of one or more Action objects.
func (LookupRuleResultOutput) CompartmentId ¶
func (o LookupRuleResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs.
func (LookupRuleResultOutput) Condition ¶
func (o LookupRuleResultOutput) Condition() pulumi.StringOutput
A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}`
func (LookupRuleResultOutput) DefinedTags ¶
func (o LookupRuleResultOutput) DefinedTags() pulumi.MapOutput
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (LookupRuleResultOutput) Description ¶
func (o LookupRuleResultOutput) Description() pulumi.StringOutput
A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information.
func (LookupRuleResultOutput) DisplayName ¶
func (o LookupRuleResultOutput) DisplayName() pulumi.StringOutput
A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Example: `"This rule sends a notification upon completion of DbaaS backup."`
func (LookupRuleResultOutput) ElementType ¶
func (LookupRuleResultOutput) ElementType() reflect.Type
func (LookupRuleResultOutput) FreeformTags ¶
func (o LookupRuleResultOutput) FreeformTags() pulumi.MapOutput
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (LookupRuleResultOutput) Id ¶
func (o LookupRuleResultOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule.
func (LookupRuleResultOutput) IsEnabled ¶
func (o LookupRuleResultOutput) IsEnabled() pulumi.BoolOutput
Whether or not this rule is currently enabled. Example: `true`
func (LookupRuleResultOutput) LifecycleMessage ¶
func (o LookupRuleResultOutput) LifecycleMessage() pulumi.StringOutput
A message generated by the Events service about the current state of this rule.
func (LookupRuleResultOutput) RuleId ¶
func (o LookupRuleResultOutput) RuleId() pulumi.StringOutput
func (LookupRuleResultOutput) State ¶
func (o LookupRuleResultOutput) State() pulumi.StringOutput
The current state of the rule.
func (LookupRuleResultOutput) TimeCreated ¶
func (o LookupRuleResultOutput) TimeCreated() pulumi.StringOutput
The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z`
func (LookupRuleResultOutput) ToLookupRuleResultOutput ¶
func (o LookupRuleResultOutput) ToLookupRuleResultOutput() LookupRuleResultOutput
func (LookupRuleResultOutput) ToLookupRuleResultOutputWithContext ¶
func (o LookupRuleResultOutput) ToLookupRuleResultOutputWithContext(ctx context.Context) LookupRuleResultOutput
type Rule ¶
type Rule struct { pulumi.CustomResourceState // (Updatable) A list of one or more ActionDetails objects. Actions RuleActionsOutput `pulumi:"actions"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // (Updatable) A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: // * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` Condition pulumi.StringOutput `pulumi:"condition"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapOutput `pulumi:"definedTags"` // (Updatable) A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description pulumi.StringOutput `pulumi:"description"` // (Updatable) A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. DisplayName pulumi.StringOutput `pulumi:"displayName"` // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` // (Updatable) Whether or not this rule is currently enabled. Example: `true` IsEnabled pulumi.BoolOutput `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage pulumi.StringOutput `pulumi:"lifecycleMessage"` // The current state of the rule. State pulumi.StringOutput `pulumi:"state"` // The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` }
This resource provides the Rule resource in Oracle Cloud Infrastructure Events service.
Creates a new rule.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Events" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Events.NewRule(ctx, "testRule", &Events.RuleArgs{ Actions: &events.RuleActionsArgs{ Actions: events.RuleActionsActionArray{ &events.RuleActionsActionArgs{ ActionType: pulumi.Any(_var.Rule_actions_actions_action_type), IsEnabled: pulumi.Any(_var.Rule_actions_actions_is_enabled), Description: pulumi.Any(_var.Rule_actions_actions_description), FunctionId: pulumi.Any(oci_functions_function.Test_function.Id), StreamId: pulumi.Any(oci_streaming_stream.Test_stream.Id), TopicId: pulumi.Any(oci_ons_notification_topic.Test_topic.Id), }, }, }, CompartmentId: pulumi.Any(_var.Compartment_id), Condition: pulumi.Any(_var.Rule_condition), DisplayName: pulumi.Any(_var.Rule_display_name), IsEnabled: pulumi.Any(_var.Rule_is_enabled), DefinedTags: pulumi.AnyMap{ "Operations.CostCenter": pulumi.Any("42"), }, Description: pulumi.Any(_var.Rule_description), FreeformTags: pulumi.AnyMap{ "Department": pulumi.Any("Finance"), }, }) if err != nil { return err } return nil }) }
```
## Import
Rules can be imported using the `id`, e.g.
```sh
$ pulumi import oci:Events/rule:Rule test_rule "id"
```
func GetRule ¶
func GetRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)
GetRule gets an existing Rule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRule ¶
func NewRule(ctx *pulumi.Context, name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)
NewRule registers a new resource with the given unique name, arguments, and options.
func (*Rule) ElementType ¶
func (*Rule) ToRuleOutput ¶
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleActions ¶
type RuleActions struct { // (Updatable) A list of one or more ActionDetails objects. Actions []RuleActionsAction `pulumi:"actions"` }
type RuleActionsAction ¶
type RuleActionsAction struct { // (Updatable) The action to perform if the condition in the rule matches an event. // * **ONS:** Send to an Oracle Notification Service topic. // * **OSS:** Send to a stream from Oracle Streaming Service. // * **FAAS:** Send to an Oracle Functions Service endpoint. ActionType string `pulumi:"actionType"` // (Updatable) A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description *string `pulumi:"description"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service. FunctionId *string `pulumi:"functionId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id *string `pulumi:"id"` // (Updatable) Whether or not this rule is currently enabled. Example: `true` IsEnabled bool `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage *string `pulumi:"lifecycleMessage"` // The current state of the rule. State *string `pulumi:"state"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. StreamId *string `pulumi:"streamId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. TopicId *string `pulumi:"topicId"` }
type RuleActionsActionArgs ¶
type RuleActionsActionArgs struct { // (Updatable) The action to perform if the condition in the rule matches an event. // * **ONS:** Send to an Oracle Notification Service topic. // * **OSS:** Send to a stream from Oracle Streaming Service. // * **FAAS:** Send to an Oracle Functions Service endpoint. ActionType pulumi.StringInput `pulumi:"actionType"` // (Updatable) A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description pulumi.StringPtrInput `pulumi:"description"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service. FunctionId pulumi.StringPtrInput `pulumi:"functionId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule. Id pulumi.StringPtrInput `pulumi:"id"` // (Updatable) Whether or not this rule is currently enabled. Example: `true` IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` // A message generated by the Events service about the current state of this rule. LifecycleMessage pulumi.StringPtrInput `pulumi:"lifecycleMessage"` // The current state of the rule. State pulumi.StringPtrInput `pulumi:"state"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. StreamId pulumi.StringPtrInput `pulumi:"streamId"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. TopicId pulumi.StringPtrInput `pulumi:"topicId"` }
func (RuleActionsActionArgs) ElementType ¶
func (RuleActionsActionArgs) ElementType() reflect.Type
func (RuleActionsActionArgs) ToRuleActionsActionOutput ¶
func (i RuleActionsActionArgs) ToRuleActionsActionOutput() RuleActionsActionOutput
func (RuleActionsActionArgs) ToRuleActionsActionOutputWithContext ¶
func (i RuleActionsActionArgs) ToRuleActionsActionOutputWithContext(ctx context.Context) RuleActionsActionOutput
type RuleActionsActionArray ¶
type RuleActionsActionArray []RuleActionsActionInput
func (RuleActionsActionArray) ElementType ¶
func (RuleActionsActionArray) ElementType() reflect.Type
func (RuleActionsActionArray) ToRuleActionsActionArrayOutput ¶
func (i RuleActionsActionArray) ToRuleActionsActionArrayOutput() RuleActionsActionArrayOutput
func (RuleActionsActionArray) ToRuleActionsActionArrayOutputWithContext ¶
func (i RuleActionsActionArray) ToRuleActionsActionArrayOutputWithContext(ctx context.Context) RuleActionsActionArrayOutput
type RuleActionsActionArrayInput ¶
type RuleActionsActionArrayInput interface { pulumi.Input ToRuleActionsActionArrayOutput() RuleActionsActionArrayOutput ToRuleActionsActionArrayOutputWithContext(context.Context) RuleActionsActionArrayOutput }
RuleActionsActionArrayInput is an input type that accepts RuleActionsActionArray and RuleActionsActionArrayOutput values. You can construct a concrete instance of `RuleActionsActionArrayInput` via:
RuleActionsActionArray{ RuleActionsActionArgs{...} }
type RuleActionsActionArrayOutput ¶
type RuleActionsActionArrayOutput struct{ *pulumi.OutputState }
func (RuleActionsActionArrayOutput) ElementType ¶
func (RuleActionsActionArrayOutput) ElementType() reflect.Type
func (RuleActionsActionArrayOutput) Index ¶
func (o RuleActionsActionArrayOutput) Index(i pulumi.IntInput) RuleActionsActionOutput
func (RuleActionsActionArrayOutput) ToRuleActionsActionArrayOutput ¶
func (o RuleActionsActionArrayOutput) ToRuleActionsActionArrayOutput() RuleActionsActionArrayOutput
func (RuleActionsActionArrayOutput) ToRuleActionsActionArrayOutputWithContext ¶
func (o RuleActionsActionArrayOutput) ToRuleActionsActionArrayOutputWithContext(ctx context.Context) RuleActionsActionArrayOutput
type RuleActionsActionInput ¶
type RuleActionsActionInput interface { pulumi.Input ToRuleActionsActionOutput() RuleActionsActionOutput ToRuleActionsActionOutputWithContext(context.Context) RuleActionsActionOutput }
RuleActionsActionInput is an input type that accepts RuleActionsActionArgs and RuleActionsActionOutput values. You can construct a concrete instance of `RuleActionsActionInput` via:
RuleActionsActionArgs{...}
type RuleActionsActionOutput ¶
type RuleActionsActionOutput struct{ *pulumi.OutputState }
func (RuleActionsActionOutput) ActionType ¶
func (o RuleActionsActionOutput) ActionType() pulumi.StringOutput
(Updatable) The action to perform if the condition in the rule matches an event. * **ONS:** Send to an Oracle Notification Service topic. * **OSS:** Send to a stream from Oracle Streaming Service. * **FAAS:** Send to an Oracle Functions Service endpoint.
func (RuleActionsActionOutput) Description ¶
func (o RuleActionsActionOutput) Description() pulumi.StringPtrOutput
(Updatable) A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information.
func (RuleActionsActionOutput) ElementType ¶
func (RuleActionsActionOutput) ElementType() reflect.Type
func (RuleActionsActionOutput) FunctionId ¶
func (o RuleActionsActionOutput) FunctionId() pulumi.StringPtrOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Function hosted by Oracle Functions Service.
func (RuleActionsActionOutput) Id ¶
func (o RuleActionsActionOutput) Id() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this rule.
func (RuleActionsActionOutput) IsEnabled ¶
func (o RuleActionsActionOutput) IsEnabled() pulumi.BoolOutput
(Updatable) Whether or not this rule is currently enabled. Example: `true`
func (RuleActionsActionOutput) LifecycleMessage ¶
func (o RuleActionsActionOutput) LifecycleMessage() pulumi.StringPtrOutput
A message generated by the Events service about the current state of this rule.
func (RuleActionsActionOutput) State ¶
func (o RuleActionsActionOutput) State() pulumi.StringPtrOutput
The current state of the rule.
func (RuleActionsActionOutput) StreamId ¶
func (o RuleActionsActionOutput) StreamId() pulumi.StringPtrOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered.
func (RuleActionsActionOutput) ToRuleActionsActionOutput ¶
func (o RuleActionsActionOutput) ToRuleActionsActionOutput() RuleActionsActionOutput
func (RuleActionsActionOutput) ToRuleActionsActionOutputWithContext ¶
func (o RuleActionsActionOutput) ToRuleActionsActionOutputWithContext(ctx context.Context) RuleActionsActionOutput
func (RuleActionsActionOutput) TopicId ¶
func (o RuleActionsActionOutput) TopicId() pulumi.StringPtrOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered.
type RuleActionsArgs ¶
type RuleActionsArgs struct { // (Updatable) A list of one or more ActionDetails objects. Actions RuleActionsActionArrayInput `pulumi:"actions"` }
func (RuleActionsArgs) ElementType ¶
func (RuleActionsArgs) ElementType() reflect.Type
func (RuleActionsArgs) ToRuleActionsOutput ¶
func (i RuleActionsArgs) ToRuleActionsOutput() RuleActionsOutput
func (RuleActionsArgs) ToRuleActionsOutputWithContext ¶
func (i RuleActionsArgs) ToRuleActionsOutputWithContext(ctx context.Context) RuleActionsOutput
func (RuleActionsArgs) ToRuleActionsPtrOutput ¶
func (i RuleActionsArgs) ToRuleActionsPtrOutput() RuleActionsPtrOutput
func (RuleActionsArgs) ToRuleActionsPtrOutputWithContext ¶
func (i RuleActionsArgs) ToRuleActionsPtrOutputWithContext(ctx context.Context) RuleActionsPtrOutput
type RuleActionsInput ¶
type RuleActionsInput interface { pulumi.Input ToRuleActionsOutput() RuleActionsOutput ToRuleActionsOutputWithContext(context.Context) RuleActionsOutput }
RuleActionsInput is an input type that accepts RuleActionsArgs and RuleActionsOutput values. You can construct a concrete instance of `RuleActionsInput` via:
RuleActionsArgs{...}
type RuleActionsOutput ¶
type RuleActionsOutput struct{ *pulumi.OutputState }
func (RuleActionsOutput) Actions ¶
func (o RuleActionsOutput) Actions() RuleActionsActionArrayOutput
(Updatable) A list of one or more ActionDetails objects.
func (RuleActionsOutput) ElementType ¶
func (RuleActionsOutput) ElementType() reflect.Type
func (RuleActionsOutput) ToRuleActionsOutput ¶
func (o RuleActionsOutput) ToRuleActionsOutput() RuleActionsOutput
func (RuleActionsOutput) ToRuleActionsOutputWithContext ¶
func (o RuleActionsOutput) ToRuleActionsOutputWithContext(ctx context.Context) RuleActionsOutput
func (RuleActionsOutput) ToRuleActionsPtrOutput ¶
func (o RuleActionsOutput) ToRuleActionsPtrOutput() RuleActionsPtrOutput
func (RuleActionsOutput) ToRuleActionsPtrOutputWithContext ¶
func (o RuleActionsOutput) ToRuleActionsPtrOutputWithContext(ctx context.Context) RuleActionsPtrOutput
type RuleActionsPtrInput ¶
type RuleActionsPtrInput interface { pulumi.Input ToRuleActionsPtrOutput() RuleActionsPtrOutput ToRuleActionsPtrOutputWithContext(context.Context) RuleActionsPtrOutput }
RuleActionsPtrInput is an input type that accepts RuleActionsArgs, RuleActionsPtr and RuleActionsPtrOutput values. You can construct a concrete instance of `RuleActionsPtrInput` via:
RuleActionsArgs{...} or: nil
func RuleActionsPtr ¶
func RuleActionsPtr(v *RuleActionsArgs) RuleActionsPtrInput
type RuleActionsPtrOutput ¶
type RuleActionsPtrOutput struct{ *pulumi.OutputState }
func (RuleActionsPtrOutput) Actions ¶
func (o RuleActionsPtrOutput) Actions() RuleActionsActionArrayOutput
(Updatable) A list of one or more ActionDetails objects.
func (RuleActionsPtrOutput) Elem ¶
func (o RuleActionsPtrOutput) Elem() RuleActionsOutput
func (RuleActionsPtrOutput) ElementType ¶
func (RuleActionsPtrOutput) ElementType() reflect.Type
func (RuleActionsPtrOutput) ToRuleActionsPtrOutput ¶
func (o RuleActionsPtrOutput) ToRuleActionsPtrOutput() RuleActionsPtrOutput
func (RuleActionsPtrOutput) ToRuleActionsPtrOutputWithContext ¶
func (o RuleActionsPtrOutput) ToRuleActionsPtrOutputWithContext(ctx context.Context) RuleActionsPtrOutput
type RuleArgs ¶
type RuleArgs struct { // (Updatable) A list of one or more ActionDetails objects. Actions RuleActionsInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId pulumi.StringInput // (Updatable) A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: // * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` Condition pulumi.StringInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapInput // (Updatable) A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description pulumi.StringPtrInput // (Updatable) A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. DisplayName pulumi.StringInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput // (Updatable) Whether or not this rule is currently enabled. Example: `true` IsEnabled pulumi.BoolInput }
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶
type RuleArray ¶
type RuleArray []RuleInput
func (RuleArray) ElementType ¶
func (RuleArray) ToRuleArrayOutput ¶
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶
type RuleArrayInput interface { pulumi.Input ToRuleArrayOutput() RuleArrayOutput ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput }
RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:
RuleArray{ RuleArgs{...} }
type RuleArrayOutput ¶
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleInput ¶
type RuleInput interface { pulumi.Input ToRuleOutput() RuleOutput ToRuleOutputWithContext(ctx context.Context) RuleOutput }
type RuleMap ¶
func (RuleMap) ElementType ¶
func (RuleMap) ToRuleMapOutput ¶
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶
type RuleMapInput interface { pulumi.Input ToRuleMapOutput() RuleMapOutput ToRuleMapOutputWithContext(context.Context) RuleMapOutput }
RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:
RuleMap{ "key": RuleArgs{...} }
type RuleMapOutput ¶
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) Actions ¶ added in v0.4.0
func (o RuleOutput) Actions() RuleActionsOutput
(Updatable) A list of one or more ActionDetails objects.
func (RuleOutput) CompartmentId ¶ added in v0.4.0
func (o RuleOutput) CompartmentId() pulumi.StringOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs.
func (RuleOutput) Condition ¶ added in v0.4.0
func (o RuleOutput) Condition() pulumi.StringOutput
(Updatable) A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}`
func (RuleOutput) DefinedTags ¶ added in v0.4.0
func (o RuleOutput) DefinedTags() pulumi.MapOutput
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
func (RuleOutput) Description ¶ added in v0.4.0
func (o RuleOutput) Description() pulumi.StringOutput
(Updatable) A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information.
func (RuleOutput) DisplayName ¶ added in v0.4.0
func (o RuleOutput) DisplayName() pulumi.StringOutput
(Updatable) A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information.
func (RuleOutput) ElementType ¶
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) FreeformTags ¶ added in v0.4.0
func (o RuleOutput) FreeformTags() pulumi.MapOutput
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
func (RuleOutput) IsEnabled ¶ added in v0.4.0
func (o RuleOutput) IsEnabled() pulumi.BoolOutput
(Updatable) Whether or not this rule is currently enabled. Example: `true`
func (RuleOutput) LifecycleMessage ¶ added in v0.4.0
func (o RuleOutput) LifecycleMessage() pulumi.StringOutput
A message generated by the Events service about the current state of this rule.
func (RuleOutput) State ¶ added in v0.4.0
func (o RuleOutput) State() pulumi.StringOutput
The current state of the rule.
func (RuleOutput) TimeCreated ¶ added in v0.4.0
func (o RuleOutput) TimeCreated() pulumi.StringOutput
The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z`
func (RuleOutput) ToRuleOutput ¶
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleState ¶
type RuleState struct { // (Updatable) A list of one or more ActionDetails objects. Actions RuleActionsPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which this rule belongs. CompartmentId pulumi.StringPtrInput // (Updatable) A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: // * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` Condition pulumi.StringPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapInput // (Updatable) A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Description pulumi.StringPtrInput // (Updatable) A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. DisplayName pulumi.StringPtrInput // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput // (Updatable) Whether or not this rule is currently enabled. Example: `true` IsEnabled pulumi.BoolPtrInput // A message generated by the Events service about the current state of this rule. LifecycleMessage pulumi.StringPtrInput // The current state of the rule. State pulumi.StringPtrInput // The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` TimeCreated pulumi.StringPtrInput }