Documentation
¶
Overview ¶
A Pulumi package for creating and managing Impart resources.
Index ¶
- type ApiBinding
- type ApiBindingArgs
- type ApiBindingArray
- type ApiBindingArrayInput
- type ApiBindingArrayOutput
- func (ApiBindingArrayOutput) ElementType() reflect.Type
- func (o ApiBindingArrayOutput) Index(i pulumi.IntInput) ApiBindingOutput
- func (o ApiBindingArrayOutput) ToApiBindingArrayOutput() ApiBindingArrayOutput
- func (o ApiBindingArrayOutput) ToApiBindingArrayOutputWithContext(ctx context.Context) ApiBindingArrayOutput
- type ApiBindingInput
- type ApiBindingMap
- type ApiBindingMapInput
- type ApiBindingMapOutput
- func (ApiBindingMapOutput) ElementType() reflect.Type
- func (o ApiBindingMapOutput) MapIndex(k pulumi.StringInput) ApiBindingOutput
- func (o ApiBindingMapOutput) ToApiBindingMapOutput() ApiBindingMapOutput
- func (o ApiBindingMapOutput) ToApiBindingMapOutputWithContext(ctx context.Context) ApiBindingMapOutput
- type ApiBindingOutput
- func (o ApiBindingOutput) BasePath() pulumi.StringOutput
- func (o ApiBindingOutput) Disabled() pulumi.BoolPtrOutput
- func (ApiBindingOutput) ElementType() reflect.Type
- func (o ApiBindingOutput) ForwardedFors() pulumi.StringArrayOutput
- func (o ApiBindingOutput) ForwardedHosts() pulumi.StringArrayOutput
- func (o ApiBindingOutput) ForwardedIds() pulumi.StringArrayOutput
- func (o ApiBindingOutput) ForwardedProtos() pulumi.StringArrayOutput
- func (o ApiBindingOutput) Hops() pulumi.IntPtrOutput
- func (o ApiBindingOutput) Hostname() pulumi.StringOutput
- func (o ApiBindingOutput) Name() pulumi.StringOutput
- func (o ApiBindingOutput) Port() pulumi.IntOutput
- func (o ApiBindingOutput) SpecId() pulumi.StringOutput
- func (o ApiBindingOutput) ToApiBindingOutput() ApiBindingOutput
- func (o ApiBindingOutput) ToApiBindingOutputWithContext(ctx context.Context) ApiBindingOutput
- func (o ApiBindingOutput) UpstreamOrigin() pulumi.StringPtrOutput
- func (o ApiBindingOutput) UseForwarded() pulumi.BoolPtrOutput
- type ApiBindingState
- type CoreRuleConfig
- type CoreRuleConfigArgs
- type CoreRuleConfigArray
- type CoreRuleConfigArrayInput
- type CoreRuleConfigArrayOutput
- func (CoreRuleConfigArrayOutput) ElementType() reflect.Type
- func (o CoreRuleConfigArrayOutput) Index(i pulumi.IntInput) CoreRuleConfigOutput
- func (o CoreRuleConfigArrayOutput) ToCoreRuleConfigArrayOutput() CoreRuleConfigArrayOutput
- func (o CoreRuleConfigArrayOutput) ToCoreRuleConfigArrayOutputWithContext(ctx context.Context) CoreRuleConfigArrayOutput
- type CoreRuleConfigInput
- type CoreRuleConfigMap
- type CoreRuleConfigMapInput
- type CoreRuleConfigMapOutput
- func (CoreRuleConfigMapOutput) ElementType() reflect.Type
- func (o CoreRuleConfigMapOutput) MapIndex(k pulumi.StringInput) CoreRuleConfigOutput
- func (o CoreRuleConfigMapOutput) ToCoreRuleConfigMapOutput() CoreRuleConfigMapOutput
- func (o CoreRuleConfigMapOutput) ToCoreRuleConfigMapOutputWithContext(ctx context.Context) CoreRuleConfigMapOutput
- type CoreRuleConfigOutput
- func (o CoreRuleConfigOutput) Config() pulumi.StringOutput
- func (o CoreRuleConfigOutput) Disabled() pulumi.BoolOutput
- func (CoreRuleConfigOutput) ElementType() reflect.Type
- func (o CoreRuleConfigOutput) Slug() pulumi.StringOutput
- func (o CoreRuleConfigOutput) ToCoreRuleConfigOutput() CoreRuleConfigOutput
- func (o CoreRuleConfigOutput) ToCoreRuleConfigOutputWithContext(ctx context.Context) CoreRuleConfigOutput
- type CoreRuleConfigState
- type ExternalLink
- type ExternalLinkArgs
- type ExternalLinkArray
- type ExternalLinkArrayInput
- type ExternalLinkArrayOutput
- func (ExternalLinkArrayOutput) ElementType() reflect.Type
- func (o ExternalLinkArrayOutput) Index(i pulumi.IntInput) ExternalLinkOutput
- func (o ExternalLinkArrayOutput) ToExternalLinkArrayOutput() ExternalLinkArrayOutput
- func (o ExternalLinkArrayOutput) ToExternalLinkArrayOutputWithContext(ctx context.Context) ExternalLinkArrayOutput
- type ExternalLinkInput
- type ExternalLinkMap
- type ExternalLinkMapInput
- type ExternalLinkMapOutput
- func (ExternalLinkMapOutput) ElementType() reflect.Type
- func (o ExternalLinkMapOutput) MapIndex(k pulumi.StringInput) ExternalLinkOutput
- func (o ExternalLinkMapOutput) ToExternalLinkMapOutput() ExternalLinkMapOutput
- func (o ExternalLinkMapOutput) ToExternalLinkMapOutputWithContext(ctx context.Context) ExternalLinkMapOutput
- type ExternalLinkOutput
- func (o ExternalLinkOutput) Description() pulumi.StringPtrOutput
- func (ExternalLinkOutput) ElementType() reflect.Type
- func (o ExternalLinkOutput) Entity() pulumi.StringOutput
- func (o ExternalLinkOutput) JsonPathElement() pulumi.StringOutput
- func (o ExternalLinkOutput) Name() pulumi.StringOutput
- func (o ExternalLinkOutput) SpecIds() pulumi.StringArrayOutput
- func (o ExternalLinkOutput) ToExternalLinkOutput() ExternalLinkOutput
- func (o ExternalLinkOutput) ToExternalLinkOutputWithContext(ctx context.Context) ExternalLinkOutput
- func (o ExternalLinkOutput) Url() pulumi.StringOutput
- func (o ExternalLinkOutput) Vendor() pulumi.StringOutput
- type ExternalLinkState
- type GetConnectorArgs
- type GetConnectorOutputArgs
- type GetConnectorResult
- type GetConnectorResultOutput
- func (o GetConnectorResultOutput) ConnectorTypeId() pulumi.StringPtrOutput
- func (GetConnectorResultOutput) ElementType() reflect.Type
- func (o GetConnectorResultOutput) Id() pulumi.StringOutput
- func (o GetConnectorResultOutput) IsConnected() pulumi.BoolPtrOutput
- func (o GetConnectorResultOutput) Name() pulumi.StringPtrOutput
- func (o GetConnectorResultOutput) ToGetConnectorResultOutput() GetConnectorResultOutput
- func (o GetConnectorResultOutput) ToGetConnectorResultOutputWithContext(ctx context.Context) GetConnectorResultOutput
- type Label
- type LabelArgs
- type LabelArray
- type LabelArrayInput
- type LabelArrayOutput
- type LabelInput
- type LabelMap
- type LabelMapInput
- type LabelMapOutput
- type LabelOutput
- func (o LabelOutput) Color() pulumi.StringPtrOutput
- func (o LabelOutput) Description() pulumi.StringPtrOutput
- func (o LabelOutput) DisplayName() pulumi.StringPtrOutput
- func (LabelOutput) ElementType() reflect.Type
- func (o LabelOutput) Slug() pulumi.StringOutput
- func (o LabelOutput) ToLabelOutput() LabelOutput
- func (o LabelOutput) ToLabelOutputWithContext(ctx context.Context) LabelOutput
- type LabelState
- type List
- type ListArgs
- type ListArray
- type ListArrayInput
- type ListArrayOutput
- type ListInput
- type ListItem
- type ListItemArgs
- type ListItemArray
- type ListItemArrayInput
- type ListItemArrayOutput
- type ListItemInput
- type ListItemOutput
- func (ListItemOutput) ElementType() reflect.Type
- func (o ListItemOutput) Expiration() pulumi.StringPtrOutput
- func (o ListItemOutput) ToListItemOutput() ListItemOutput
- func (o ListItemOutput) ToListItemOutputWithContext(ctx context.Context) ListItemOutput
- func (o ListItemOutput) Value() pulumi.StringOutput
- type ListMap
- type ListMapInput
- type ListMapOutput
- type ListOutput
- func (o ListOutput) Description() pulumi.StringPtrOutput
- func (ListOutput) ElementType() reflect.Type
- func (o ListOutput) Functionality() pulumi.StringPtrOutput
- func (o ListOutput) Items() ListItemArrayOutput
- func (o ListOutput) Kind() pulumi.StringOutput
- func (o ListOutput) Labels() pulumi.StringArrayOutput
- func (o ListOutput) Name() pulumi.StringOutput
- func (o ListOutput) Subkind() pulumi.StringPtrOutput
- func (o ListOutput) ToListOutput() ListOutput
- func (o ListOutput) ToListOutputWithContext(ctx context.Context) ListOutput
- type ListState
- type LogBinding
- type LogBindingArgs
- type LogBindingArray
- type LogBindingArrayInput
- type LogBindingArrayOutput
- func (LogBindingArrayOutput) ElementType() reflect.Type
- func (o LogBindingArrayOutput) Index(i pulumi.IntInput) LogBindingOutput
- func (o LogBindingArrayOutput) ToLogBindingArrayOutput() LogBindingArrayOutput
- func (o LogBindingArrayOutput) ToLogBindingArrayOutputWithContext(ctx context.Context) LogBindingArrayOutput
- type LogBindingInput
- type LogBindingMap
- type LogBindingMapInput
- type LogBindingMapOutput
- func (LogBindingMapOutput) ElementType() reflect.Type
- func (o LogBindingMapOutput) MapIndex(k pulumi.StringInput) LogBindingOutput
- func (o LogBindingMapOutput) ToLogBindingMapOutput() LogBindingMapOutput
- func (o LogBindingMapOutput) ToLogBindingMapOutputWithContext(ctx context.Context) LogBindingMapOutput
- type LogBindingOutput
- func (LogBindingOutput) ElementType() reflect.Type
- func (o LogBindingOutput) LogstreamId() pulumi.StringPtrOutput
- func (o LogBindingOutput) Name() pulumi.StringOutput
- func (o LogBindingOutput) Pattern() pulumi.StringOutput
- func (o LogBindingOutput) PatternType() pulumi.StringOutput
- func (o LogBindingOutput) SpecId() pulumi.StringOutput
- func (o LogBindingOutput) ToLogBindingOutput() LogBindingOutput
- func (o LogBindingOutput) ToLogBindingOutputWithContext(ctx context.Context) LogBindingOutput
- type LogBindingState
- type LookupSpecArgs
- type LookupSpecOutputArgs
- type LookupSpecResult
- type LookupSpecResultOutput
- func (LookupSpecResultOutput) ElementType() reflect.Type
- func (o LookupSpecResultOutput) Id() pulumi.StringOutput
- func (o LookupSpecResultOutput) Name() pulumi.StringOutput
- func (o LookupSpecResultOutput) ToLookupSpecResultOutput() LookupSpecResultOutput
- func (o LookupSpecResultOutput) ToLookupSpecResultOutputWithContext(ctx context.Context) LookupSpecResultOutput
- type Monitor
- type MonitorArgs
- type MonitorArray
- type MonitorArrayInput
- type MonitorArrayOutput
- type MonitorCondition
- type MonitorConditionArgs
- type MonitorConditionArray
- type MonitorConditionArrayInput
- type MonitorConditionArrayOutput
- func (MonitorConditionArrayOutput) ElementType() reflect.Type
- func (o MonitorConditionArrayOutput) Index(i pulumi.IntInput) MonitorConditionOutput
- func (o MonitorConditionArrayOutput) ToMonitorConditionArrayOutput() MonitorConditionArrayOutput
- func (o MonitorConditionArrayOutput) ToMonitorConditionArrayOutputWithContext(ctx context.Context) MonitorConditionArrayOutput
- type MonitorConditionDetails
- type MonitorConditionDetailsArgs
- type MonitorConditionDetailsInput
- type MonitorConditionDetailsOutput
- func (o MonitorConditionDetailsOutput) Action() pulumi.StringPtrOutput
- func (o MonitorConditionDetailsOutput) ActorType() pulumi.StringPtrOutput
- func (MonitorConditionDetailsOutput) ElementType() reflect.Type
- func (o MonitorConditionDetailsOutput) SubjectType() pulumi.StringPtrOutput
- func (o MonitorConditionDetailsOutput) Tag() pulumi.StringPtrOutput
- func (o MonitorConditionDetailsOutput) ToMonitorConditionDetailsOutput() MonitorConditionDetailsOutput
- func (o MonitorConditionDetailsOutput) ToMonitorConditionDetailsOutputWithContext(ctx context.Context) MonitorConditionDetailsOutput
- func (o MonitorConditionDetailsOutput) Type() pulumi.StringOutput
- type MonitorConditionInput
- type MonitorConditionOutput
- func (o MonitorConditionOutput) Comparator() pulumi.StringOutput
- func (o MonitorConditionOutput) Delay() pulumi.IntOutput
- func (o MonitorConditionOutput) Details() MonitorConditionDetailsOutput
- func (MonitorConditionOutput) ElementType() reflect.Type
- func (o MonitorConditionOutput) Threshold() pulumi.IntOutput
- func (o MonitorConditionOutput) TimePeriod() pulumi.IntOutput
- func (o MonitorConditionOutput) ToMonitorConditionOutput() MonitorConditionOutput
- func (o MonitorConditionOutput) ToMonitorConditionOutputWithContext(ctx context.Context) MonitorConditionOutput
- type MonitorInput
- type MonitorMap
- type MonitorMapInput
- type MonitorMapOutput
- type MonitorNotification
- type MonitorNotificationArgs
- type MonitorNotificationArray
- type MonitorNotificationArrayInput
- type MonitorNotificationArrayOutput
- func (MonitorNotificationArrayOutput) ElementType() reflect.Type
- func (o MonitorNotificationArrayOutput) Index(i pulumi.IntInput) MonitorNotificationOutput
- func (o MonitorNotificationArrayOutput) ToMonitorNotificationArrayOutput() MonitorNotificationArrayOutput
- func (o MonitorNotificationArrayOutput) ToMonitorNotificationArrayOutputWithContext(ctx context.Context) MonitorNotificationArrayOutput
- type MonitorNotificationInput
- type MonitorNotificationOutput
- func (o MonitorNotificationOutput) ConnectorId() pulumi.StringOutput
- func (o MonitorNotificationOutput) Destination() pulumi.StringPtrOutput
- func (MonitorNotificationOutput) ElementType() reflect.Type
- func (o MonitorNotificationOutput) NotificationTemplateId() pulumi.StringOutput
- func (o MonitorNotificationOutput) ToMonitorNotificationOutput() MonitorNotificationOutput
- func (o MonitorNotificationOutput) ToMonitorNotificationOutputWithContext(ctx context.Context) MonitorNotificationOutput
- type MonitorOutput
- func (o MonitorOutput) Conditions() MonitorConditionArrayOutput
- func (o MonitorOutput) Description() pulumi.StringOutput
- func (MonitorOutput) ElementType() reflect.Type
- func (o MonitorOutput) Labels() pulumi.StringArrayOutput
- func (o MonitorOutput) Name() pulumi.StringOutput
- func (o MonitorOutput) Notifications() MonitorNotificationArrayOutput
- func (o MonitorOutput) ToMonitorOutput() MonitorOutput
- func (o MonitorOutput) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
- type MonitorState
- type NotificationTemplate
- type NotificationTemplateArgs
- type NotificationTemplateArray
- type NotificationTemplateArrayInput
- type NotificationTemplateArrayOutput
- func (NotificationTemplateArrayOutput) ElementType() reflect.Type
- func (o NotificationTemplateArrayOutput) Index(i pulumi.IntInput) NotificationTemplateOutput
- func (o NotificationTemplateArrayOutput) ToNotificationTemplateArrayOutput() NotificationTemplateArrayOutput
- func (o NotificationTemplateArrayOutput) ToNotificationTemplateArrayOutputWithContext(ctx context.Context) NotificationTemplateArrayOutput
- type NotificationTemplateInput
- type NotificationTemplateMap
- type NotificationTemplateMapInput
- type NotificationTemplateMapOutput
- func (NotificationTemplateMapOutput) ElementType() reflect.Type
- func (o NotificationTemplateMapOutput) MapIndex(k pulumi.StringInput) NotificationTemplateOutput
- func (o NotificationTemplateMapOutput) ToNotificationTemplateMapOutput() NotificationTemplateMapOutput
- func (o NotificationTemplateMapOutput) ToNotificationTemplateMapOutputWithContext(ctx context.Context) NotificationTemplateMapOutput
- type NotificationTemplateOutput
- func (NotificationTemplateOutput) ElementType() reflect.Type
- func (o NotificationTemplateOutput) Name() pulumi.StringOutput
- func (o NotificationTemplateOutput) Payload() pulumi.StringOutput
- func (o NotificationTemplateOutput) Subject() pulumi.StringOutput
- func (o NotificationTemplateOutput) ToNotificationTemplateOutput() NotificationTemplateOutput
- func (o NotificationTemplateOutput) ToNotificationTemplateOutputWithContext(ctx context.Context) NotificationTemplateOutput
- type NotificationTemplateState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Endpoint() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) Token() pulumi.StringPtrOutput
- type ProviderTerraformConfigResult
- type ProviderTerraformConfigResultOutput
- type Rule
- type RuleArgs
- type RuleArray
- type RuleArrayInput
- type RuleArrayOutput
- type RuleClientIdentifier
- type RuleClientIdentifierArgs
- type RuleClientIdentifierArray
- type RuleClientIdentifierArrayInput
- type RuleClientIdentifierArrayOutput
- func (RuleClientIdentifierArrayOutput) ElementType() reflect.Type
- func (o RuleClientIdentifierArrayOutput) Index(i pulumi.IntInput) RuleClientIdentifierOutput
- func (o RuleClientIdentifierArrayOutput) ToRuleClientIdentifierArrayOutput() RuleClientIdentifierArrayOutput
- func (o RuleClientIdentifierArrayOutput) ToRuleClientIdentifierArrayOutputWithContext(ctx context.Context) RuleClientIdentifierArrayOutput
- type RuleClientIdentifierHashField
- type RuleClientIdentifierHashFieldArgs
- func (RuleClientIdentifierHashFieldArgs) ElementType() reflect.Type
- func (i RuleClientIdentifierHashFieldArgs) ToRuleClientIdentifierHashFieldOutput() RuleClientIdentifierHashFieldOutput
- func (i RuleClientIdentifierHashFieldArgs) ToRuleClientIdentifierHashFieldOutputWithContext(ctx context.Context) RuleClientIdentifierHashFieldOutput
- type RuleClientIdentifierHashFieldArray
- func (RuleClientIdentifierHashFieldArray) ElementType() reflect.Type
- func (i RuleClientIdentifierHashFieldArray) ToRuleClientIdentifierHashFieldArrayOutput() RuleClientIdentifierHashFieldArrayOutput
- func (i RuleClientIdentifierHashFieldArray) ToRuleClientIdentifierHashFieldArrayOutputWithContext(ctx context.Context) RuleClientIdentifierHashFieldArrayOutput
- type RuleClientIdentifierHashFieldArrayInput
- type RuleClientIdentifierHashFieldArrayOutput
- func (RuleClientIdentifierHashFieldArrayOutput) ElementType() reflect.Type
- func (o RuleClientIdentifierHashFieldArrayOutput) Index(i pulumi.IntInput) RuleClientIdentifierHashFieldOutput
- func (o RuleClientIdentifierHashFieldArrayOutput) ToRuleClientIdentifierHashFieldArrayOutput() RuleClientIdentifierHashFieldArrayOutput
- func (o RuleClientIdentifierHashFieldArrayOutput) ToRuleClientIdentifierHashFieldArrayOutputWithContext(ctx context.Context) RuleClientIdentifierHashFieldArrayOutput
- type RuleClientIdentifierHashFieldInput
- type RuleClientIdentifierHashFieldOutput
- func (RuleClientIdentifierHashFieldOutput) ElementType() reflect.Type
- func (o RuleClientIdentifierHashFieldOutput) Field() pulumi.StringOutput
- func (o RuleClientIdentifierHashFieldOutput) Key() pulumi.StringPtrOutput
- func (o RuleClientIdentifierHashFieldOutput) ToRuleClientIdentifierHashFieldOutput() RuleClientIdentifierHashFieldOutput
- func (o RuleClientIdentifierHashFieldOutput) ToRuleClientIdentifierHashFieldOutputWithContext(ctx context.Context) RuleClientIdentifierHashFieldOutput
- type RuleClientIdentifierInput
- type RuleClientIdentifierMap
- type RuleClientIdentifierMapInput
- type RuleClientIdentifierMapOutput
- func (RuleClientIdentifierMapOutput) ElementType() reflect.Type
- func (o RuleClientIdentifierMapOutput) MapIndex(k pulumi.StringInput) RuleClientIdentifierOutput
- func (o RuleClientIdentifierMapOutput) ToRuleClientIdentifierMapOutput() RuleClientIdentifierMapOutput
- func (o RuleClientIdentifierMapOutput) ToRuleClientIdentifierMapOutputWithContext(ctx context.Context) RuleClientIdentifierMapOutput
- type RuleClientIdentifierOutput
- func (o RuleClientIdentifierOutput) Description() pulumi.StringPtrOutput
- func (RuleClientIdentifierOutput) ElementType() reflect.Type
- func (o RuleClientIdentifierOutput) HashFields() RuleClientIdentifierHashFieldArrayOutput
- func (o RuleClientIdentifierOutput) Name() pulumi.StringOutput
- func (o RuleClientIdentifierOutput) StorageId() pulumi.StringPtrOutput
- func (o RuleClientIdentifierOutput) ToRuleClientIdentifierOutput() RuleClientIdentifierOutput
- func (o RuleClientIdentifierOutput) ToRuleClientIdentifierOutputWithContext(ctx context.Context) RuleClientIdentifierOutput
- type RuleClientIdentifierState
- type RuleClientIdentifierStorage
- func (*RuleClientIdentifierStorage) ElementType() reflect.Type
- func (i *RuleClientIdentifierStorage) ToRuleClientIdentifierStorageOutput() RuleClientIdentifierStorageOutput
- func (i *RuleClientIdentifierStorage) ToRuleClientIdentifierStorageOutputWithContext(ctx context.Context) RuleClientIdentifierStorageOutput
- type RuleClientIdentifierStorageArgs
- type RuleClientIdentifierStorageArray
- func (RuleClientIdentifierStorageArray) ElementType() reflect.Type
- func (i RuleClientIdentifierStorageArray) ToRuleClientIdentifierStorageArrayOutput() RuleClientIdentifierStorageArrayOutput
- func (i RuleClientIdentifierStorageArray) ToRuleClientIdentifierStorageArrayOutputWithContext(ctx context.Context) RuleClientIdentifierStorageArrayOutput
- type RuleClientIdentifierStorageArrayInput
- type RuleClientIdentifierStorageArrayOutput
- func (RuleClientIdentifierStorageArrayOutput) ElementType() reflect.Type
- func (o RuleClientIdentifierStorageArrayOutput) Index(i pulumi.IntInput) RuleClientIdentifierStorageOutput
- func (o RuleClientIdentifierStorageArrayOutput) ToRuleClientIdentifierStorageArrayOutput() RuleClientIdentifierStorageArrayOutput
- func (o RuleClientIdentifierStorageArrayOutput) ToRuleClientIdentifierStorageArrayOutputWithContext(ctx context.Context) RuleClientIdentifierStorageArrayOutput
- type RuleClientIdentifierStorageInput
- type RuleClientIdentifierStorageMap
- func (RuleClientIdentifierStorageMap) ElementType() reflect.Type
- func (i RuleClientIdentifierStorageMap) ToRuleClientIdentifierStorageMapOutput() RuleClientIdentifierStorageMapOutput
- func (i RuleClientIdentifierStorageMap) ToRuleClientIdentifierStorageMapOutputWithContext(ctx context.Context) RuleClientIdentifierStorageMapOutput
- type RuleClientIdentifierStorageMapInput
- type RuleClientIdentifierStorageMapOutput
- func (RuleClientIdentifierStorageMapOutput) ElementType() reflect.Type
- func (o RuleClientIdentifierStorageMapOutput) MapIndex(k pulumi.StringInput) RuleClientIdentifierStorageOutput
- func (o RuleClientIdentifierStorageMapOutput) ToRuleClientIdentifierStorageMapOutput() RuleClientIdentifierStorageMapOutput
- func (o RuleClientIdentifierStorageMapOutput) ToRuleClientIdentifierStorageMapOutputWithContext(ctx context.Context) RuleClientIdentifierStorageMapOutput
- type RuleClientIdentifierStorageOutput
- func (o RuleClientIdentifierStorageOutput) Capacity() pulumi.IntOutput
- func (o RuleClientIdentifierStorageOutput) Description() pulumi.StringPtrOutput
- func (RuleClientIdentifierStorageOutput) ElementType() reflect.Type
- func (o RuleClientIdentifierStorageOutput) Name() pulumi.StringOutput
- func (o RuleClientIdentifierStorageOutput) ToRuleClientIdentifierStorageOutput() RuleClientIdentifierStorageOutput
- func (o RuleClientIdentifierStorageOutput) ToRuleClientIdentifierStorageOutputWithContext(ctx context.Context) RuleClientIdentifierStorageOutput
- type RuleClientIdentifierStorageState
- type RuleDependencies
- type RuleDependenciesArgs
- type RuleDependenciesArray
- type RuleDependenciesArrayInput
- type RuleDependenciesArrayOutput
- func (RuleDependenciesArrayOutput) ElementType() reflect.Type
- func (o RuleDependenciesArrayOutput) Index(i pulumi.IntInput) RuleDependenciesOutput
- func (o RuleDependenciesArrayOutput) ToRuleDependenciesArrayOutput() RuleDependenciesArrayOutput
- func (o RuleDependenciesArrayOutput) ToRuleDependenciesArrayOutputWithContext(ctx context.Context) RuleDependenciesArrayOutput
- type RuleDependenciesDependency
- type RuleDependenciesDependencyArgs
- func (RuleDependenciesDependencyArgs) ElementType() reflect.Type
- func (i RuleDependenciesDependencyArgs) ToRuleDependenciesDependencyOutput() RuleDependenciesDependencyOutput
- func (i RuleDependenciesDependencyArgs) ToRuleDependenciesDependencyOutputWithContext(ctx context.Context) RuleDependenciesDependencyOutput
- type RuleDependenciesDependencyArray
- func (RuleDependenciesDependencyArray) ElementType() reflect.Type
- func (i RuleDependenciesDependencyArray) ToRuleDependenciesDependencyArrayOutput() RuleDependenciesDependencyArrayOutput
- func (i RuleDependenciesDependencyArray) ToRuleDependenciesDependencyArrayOutputWithContext(ctx context.Context) RuleDependenciesDependencyArrayOutput
- type RuleDependenciesDependencyArrayInput
- type RuleDependenciesDependencyArrayOutput
- func (RuleDependenciesDependencyArrayOutput) ElementType() reflect.Type
- func (o RuleDependenciesDependencyArrayOutput) Index(i pulumi.IntInput) RuleDependenciesDependencyOutput
- func (o RuleDependenciesDependencyArrayOutput) ToRuleDependenciesDependencyArrayOutput() RuleDependenciesDependencyArrayOutput
- func (o RuleDependenciesDependencyArrayOutput) ToRuleDependenciesDependencyArrayOutputWithContext(ctx context.Context) RuleDependenciesDependencyArrayOutput
- type RuleDependenciesDependencyInput
- type RuleDependenciesDependencyOutput
- func (o RuleDependenciesDependencyOutput) DependsOns() pulumi.StringArrayOutput
- func (RuleDependenciesDependencyOutput) ElementType() reflect.Type
- func (o RuleDependenciesDependencyOutput) RuleId() pulumi.StringOutput
- func (o RuleDependenciesDependencyOutput) ToRuleDependenciesDependencyOutput() RuleDependenciesDependencyOutput
- func (o RuleDependenciesDependencyOutput) ToRuleDependenciesDependencyOutputWithContext(ctx context.Context) RuleDependenciesDependencyOutput
- type RuleDependenciesInput
- type RuleDependenciesMap
- type RuleDependenciesMapInput
- type RuleDependenciesMapOutput
- func (RuleDependenciesMapOutput) ElementType() reflect.Type
- func (o RuleDependenciesMapOutput) MapIndex(k pulumi.StringInput) RuleDependenciesOutput
- func (o RuleDependenciesMapOutput) ToRuleDependenciesMapOutput() RuleDependenciesMapOutput
- func (o RuleDependenciesMapOutput) ToRuleDependenciesMapOutputWithContext(ctx context.Context) RuleDependenciesMapOutput
- type RuleDependenciesOutput
- func (o RuleDependenciesOutput) Dependencies() RuleDependenciesDependencyArrayOutput
- func (RuleDependenciesOutput) ElementType() reflect.Type
- func (o RuleDependenciesOutput) ToRuleDependenciesOutput() RuleDependenciesOutput
- func (o RuleDependenciesOutput) ToRuleDependenciesOutputWithContext(ctx context.Context) RuleDependenciesOutput
- type RuleDependenciesState
- type RuleInput
- type RuleMap
- type RuleMapInput
- type RuleMapOutput
- type RuleOutput
- func (o RuleOutput) BlockingEffect() pulumi.StringPtrOutput
- func (o RuleOutput) Content() pulumi.StringPtrOutput
- func (o RuleOutput) Description() pulumi.StringPtrOutput
- func (o RuleOutput) Disabled() pulumi.BoolOutput
- func (RuleOutput) ElementType() reflect.Type
- func (o RuleOutput) Labels() pulumi.StringArrayOutput
- func (o RuleOutput) Name() pulumi.StringOutput
- func (o RuleOutput) SourceFile() pulumi.StringPtrOutput
- func (o RuleOutput) SourceHash() pulumi.StringPtrOutput
- func (o RuleOutput) ToRuleOutput() RuleOutput
- func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
- func (o RuleOutput) Type() pulumi.StringOutput
- type RuleScript
- type RuleScriptArgs
- type RuleScriptArray
- type RuleScriptArrayInput
- type RuleScriptArrayOutput
- func (RuleScriptArrayOutput) ElementType() reflect.Type
- func (o RuleScriptArrayOutput) Index(i pulumi.IntInput) RuleScriptOutput
- func (o RuleScriptArrayOutput) ToRuleScriptArrayOutput() RuleScriptArrayOutput
- func (o RuleScriptArrayOutput) ToRuleScriptArrayOutputWithContext(ctx context.Context) RuleScriptArrayOutput
- type RuleScriptDependencies
- type RuleScriptDependenciesArgs
- type RuleScriptDependenciesArray
- func (RuleScriptDependenciesArray) ElementType() reflect.Type
- func (i RuleScriptDependenciesArray) ToRuleScriptDependenciesArrayOutput() RuleScriptDependenciesArrayOutput
- func (i RuleScriptDependenciesArray) ToRuleScriptDependenciesArrayOutputWithContext(ctx context.Context) RuleScriptDependenciesArrayOutput
- type RuleScriptDependenciesArrayInput
- type RuleScriptDependenciesArrayOutput
- func (RuleScriptDependenciesArrayOutput) ElementType() reflect.Type
- func (o RuleScriptDependenciesArrayOutput) Index(i pulumi.IntInput) RuleScriptDependenciesOutput
- func (o RuleScriptDependenciesArrayOutput) ToRuleScriptDependenciesArrayOutput() RuleScriptDependenciesArrayOutput
- func (o RuleScriptDependenciesArrayOutput) ToRuleScriptDependenciesArrayOutputWithContext(ctx context.Context) RuleScriptDependenciesArrayOutput
- type RuleScriptDependenciesDependency
- type RuleScriptDependenciesDependencyArgs
- func (RuleScriptDependenciesDependencyArgs) ElementType() reflect.Type
- func (i RuleScriptDependenciesDependencyArgs) ToRuleScriptDependenciesDependencyOutput() RuleScriptDependenciesDependencyOutput
- func (i RuleScriptDependenciesDependencyArgs) ToRuleScriptDependenciesDependencyOutputWithContext(ctx context.Context) RuleScriptDependenciesDependencyOutput
- type RuleScriptDependenciesDependencyArray
- func (RuleScriptDependenciesDependencyArray) ElementType() reflect.Type
- func (i RuleScriptDependenciesDependencyArray) ToRuleScriptDependenciesDependencyArrayOutput() RuleScriptDependenciesDependencyArrayOutput
- func (i RuleScriptDependenciesDependencyArray) ToRuleScriptDependenciesDependencyArrayOutputWithContext(ctx context.Context) RuleScriptDependenciesDependencyArrayOutput
- type RuleScriptDependenciesDependencyArrayInput
- type RuleScriptDependenciesDependencyArrayOutput
- func (RuleScriptDependenciesDependencyArrayOutput) ElementType() reflect.Type
- func (o RuleScriptDependenciesDependencyArrayOutput) Index(i pulumi.IntInput) RuleScriptDependenciesDependencyOutput
- func (o RuleScriptDependenciesDependencyArrayOutput) ToRuleScriptDependenciesDependencyArrayOutput() RuleScriptDependenciesDependencyArrayOutput
- func (o RuleScriptDependenciesDependencyArrayOutput) ToRuleScriptDependenciesDependencyArrayOutputWithContext(ctx context.Context) RuleScriptDependenciesDependencyArrayOutput
- type RuleScriptDependenciesDependencyInput
- type RuleScriptDependenciesDependencyOutput
- func (o RuleScriptDependenciesDependencyOutput) DependsOnRuleScriptIds() pulumi.StringArrayOutput
- func (RuleScriptDependenciesDependencyOutput) ElementType() reflect.Type
- func (o RuleScriptDependenciesDependencyOutput) RuleScriptId() pulumi.StringOutput
- func (o RuleScriptDependenciesDependencyOutput) ToRuleScriptDependenciesDependencyOutput() RuleScriptDependenciesDependencyOutput
- func (o RuleScriptDependenciesDependencyOutput) ToRuleScriptDependenciesDependencyOutputWithContext(ctx context.Context) RuleScriptDependenciesDependencyOutput
- type RuleScriptDependenciesInput
- type RuleScriptDependenciesMap
- type RuleScriptDependenciesMapInput
- type RuleScriptDependenciesMapOutput
- func (RuleScriptDependenciesMapOutput) ElementType() reflect.Type
- func (o RuleScriptDependenciesMapOutput) MapIndex(k pulumi.StringInput) RuleScriptDependenciesOutput
- func (o RuleScriptDependenciesMapOutput) ToRuleScriptDependenciesMapOutput() RuleScriptDependenciesMapOutput
- func (o RuleScriptDependenciesMapOutput) ToRuleScriptDependenciesMapOutputWithContext(ctx context.Context) RuleScriptDependenciesMapOutput
- type RuleScriptDependenciesOutput
- func (o RuleScriptDependenciesOutput) Dependencies() RuleScriptDependenciesDependencyArrayOutput
- func (RuleScriptDependenciesOutput) ElementType() reflect.Type
- func (o RuleScriptDependenciesOutput) ToRuleScriptDependenciesOutput() RuleScriptDependenciesOutput
- func (o RuleScriptDependenciesOutput) ToRuleScriptDependenciesOutputWithContext(ctx context.Context) RuleScriptDependenciesOutput
- type RuleScriptDependenciesState
- type RuleScriptInput
- type RuleScriptMap
- type RuleScriptMapInput
- type RuleScriptMapOutput
- func (RuleScriptMapOutput) ElementType() reflect.Type
- func (o RuleScriptMapOutput) MapIndex(k pulumi.StringInput) RuleScriptOutput
- func (o RuleScriptMapOutput) ToRuleScriptMapOutput() RuleScriptMapOutput
- func (o RuleScriptMapOutput) ToRuleScriptMapOutputWithContext(ctx context.Context) RuleScriptMapOutput
- type RuleScriptOutput
- func (o RuleScriptOutput) BlockingEffect() pulumi.StringPtrOutput
- func (o RuleScriptOutput) Content() pulumi.StringPtrOutput
- func (o RuleScriptOutput) Description() pulumi.StringPtrOutput
- func (o RuleScriptOutput) Disabled() pulumi.BoolOutput
- func (RuleScriptOutput) ElementType() reflect.Type
- func (o RuleScriptOutput) Labels() pulumi.StringArrayOutput
- func (o RuleScriptOutput) Name() pulumi.StringOutput
- func (o RuleScriptOutput) SourceFile() pulumi.StringPtrOutput
- func (o RuleScriptOutput) SourceHash() pulumi.StringPtrOutput
- func (o RuleScriptOutput) ToRuleScriptOutput() RuleScriptOutput
- func (o RuleScriptOutput) ToRuleScriptOutputWithContext(ctx context.Context) RuleScriptOutput
- type RuleScriptState
- type RuleState
- type RuleTestCase
- type RuleTestCaseArgs
- type RuleTestCaseArray
- type RuleTestCaseArrayInput
- type RuleTestCaseArrayOutput
- func (RuleTestCaseArrayOutput) ElementType() reflect.Type
- func (o RuleTestCaseArrayOutput) Index(i pulumi.IntInput) RuleTestCaseOutput
- func (o RuleTestCaseArrayOutput) ToRuleTestCaseArrayOutput() RuleTestCaseArrayOutput
- func (o RuleTestCaseArrayOutput) ToRuleTestCaseArrayOutputWithContext(ctx context.Context) RuleTestCaseArrayOutput
- type RuleTestCaseAssertion
- type RuleTestCaseAssertionArgs
- type RuleTestCaseAssertionArray
- func (RuleTestCaseAssertionArray) ElementType() reflect.Type
- func (i RuleTestCaseAssertionArray) ToRuleTestCaseAssertionArrayOutput() RuleTestCaseAssertionArrayOutput
- func (i RuleTestCaseAssertionArray) ToRuleTestCaseAssertionArrayOutputWithContext(ctx context.Context) RuleTestCaseAssertionArrayOutput
- type RuleTestCaseAssertionArrayInput
- type RuleTestCaseAssertionArrayOutput
- func (RuleTestCaseAssertionArrayOutput) ElementType() reflect.Type
- func (o RuleTestCaseAssertionArrayOutput) Index(i pulumi.IntInput) RuleTestCaseAssertionOutput
- func (o RuleTestCaseAssertionArrayOutput) ToRuleTestCaseAssertionArrayOutput() RuleTestCaseAssertionArrayOutput
- func (o RuleTestCaseAssertionArrayOutput) ToRuleTestCaseAssertionArrayOutputWithContext(ctx context.Context) RuleTestCaseAssertionArrayOutput
- type RuleTestCaseAssertionInput
- type RuleTestCaseAssertionOutput
- func (o RuleTestCaseAssertionOutput) AssertionType() pulumi.StringOutput
- func (o RuleTestCaseAssertionOutput) Condition() pulumi.StringPtrOutput
- func (o RuleTestCaseAssertionOutput) Description() pulumi.StringPtrOutput
- func (RuleTestCaseAssertionOutput) ElementType() reflect.Type
- func (o RuleTestCaseAssertionOutput) Expected() pulumi.StringOutput
- func (o RuleTestCaseAssertionOutput) Location() pulumi.StringPtrOutput
- func (o RuleTestCaseAssertionOutput) MessageIndexes() pulumi.IntArrayOutput
- func (o RuleTestCaseAssertionOutput) ToRuleTestCaseAssertionOutput() RuleTestCaseAssertionOutput
- func (o RuleTestCaseAssertionOutput) ToRuleTestCaseAssertionOutputWithContext(ctx context.Context) RuleTestCaseAssertionOutput
- type RuleTestCaseInput
- type RuleTestCaseMap
- type RuleTestCaseMapInput
- type RuleTestCaseMapOutput
- func (RuleTestCaseMapOutput) ElementType() reflect.Type
- func (o RuleTestCaseMapOutput) MapIndex(k pulumi.StringInput) RuleTestCaseOutput
- func (o RuleTestCaseMapOutput) ToRuleTestCaseMapOutput() RuleTestCaseMapOutput
- func (o RuleTestCaseMapOutput) ToRuleTestCaseMapOutputWithContext(ctx context.Context) RuleTestCaseMapOutput
- type RuleTestCaseMessage
- type RuleTestCaseMessageArgs
- type RuleTestCaseMessageArray
- type RuleTestCaseMessageArrayInput
- type RuleTestCaseMessageArrayOutput
- func (RuleTestCaseMessageArrayOutput) ElementType() reflect.Type
- func (o RuleTestCaseMessageArrayOutput) Index(i pulumi.IntInput) RuleTestCaseMessageOutput
- func (o RuleTestCaseMessageArrayOutput) ToRuleTestCaseMessageArrayOutput() RuleTestCaseMessageArrayOutput
- func (o RuleTestCaseMessageArrayOutput) ToRuleTestCaseMessageArrayOutputWithContext(ctx context.Context) RuleTestCaseMessageArrayOutput
- type RuleTestCaseMessageInput
- type RuleTestCaseMessageOutput
- func (o RuleTestCaseMessageOutput) Count() pulumi.IntPtrOutput
- func (o RuleTestCaseMessageOutput) Delay() pulumi.IntPtrOutput
- func (o RuleTestCaseMessageOutput) Description() pulumi.StringPtrOutput
- func (RuleTestCaseMessageOutput) ElementType() reflect.Type
- func (o RuleTestCaseMessageOutput) PostDelay() pulumi.IntPtrOutput
- func (o RuleTestCaseMessageOutput) Req() RuleTestCaseMessageReqOutput
- func (o RuleTestCaseMessageOutput) Res() RuleTestCaseMessageResOutput
- func (o RuleTestCaseMessageOutput) ToRuleTestCaseMessageOutput() RuleTestCaseMessageOutput
- func (o RuleTestCaseMessageOutput) ToRuleTestCaseMessageOutputWithContext(ctx context.Context) RuleTestCaseMessageOutput
- type RuleTestCaseMessageReq
- type RuleTestCaseMessageReqArgs
- type RuleTestCaseMessageReqInput
- type RuleTestCaseMessageReqOutput
- func (o RuleTestCaseMessageReqOutput) Body() pulumi.StringPtrOutput
- func (o RuleTestCaseMessageReqOutput) CookieKeys() pulumi.StringArrayOutput
- func (o RuleTestCaseMessageReqOutput) CookieValues() pulumi.StringArrayOutput
- func (RuleTestCaseMessageReqOutput) ElementType() reflect.Type
- func (o RuleTestCaseMessageReqOutput) HeaderKeys() pulumi.StringArrayOutput
- func (o RuleTestCaseMessageReqOutput) HeaderValues() pulumi.StringArrayOutput
- func (o RuleTestCaseMessageReqOutput) Method() pulumi.StringOutput
- func (o RuleTestCaseMessageReqOutput) RemoteAddr() pulumi.StringPtrOutput
- func (o RuleTestCaseMessageReqOutput) ToRuleTestCaseMessageReqOutput() RuleTestCaseMessageReqOutput
- func (o RuleTestCaseMessageReqOutput) ToRuleTestCaseMessageReqOutputWithContext(ctx context.Context) RuleTestCaseMessageReqOutput
- func (o RuleTestCaseMessageReqOutput) TruncatedBody() pulumi.BoolPtrOutput
- func (o RuleTestCaseMessageReqOutput) Url() pulumi.StringOutput
- type RuleTestCaseMessageRes
- type RuleTestCaseMessageResArgs
- type RuleTestCaseMessageResInput
- type RuleTestCaseMessageResOutput
- func (o RuleTestCaseMessageResOutput) Body() pulumi.StringPtrOutput
- func (RuleTestCaseMessageResOutput) ElementType() reflect.Type
- func (o RuleTestCaseMessageResOutput) HeaderKeys() pulumi.StringArrayOutput
- func (o RuleTestCaseMessageResOutput) HeaderValues() pulumi.StringArrayOutput
- func (o RuleTestCaseMessageResOutput) StatusCode() pulumi.IntOutput
- func (o RuleTestCaseMessageResOutput) ToRuleTestCaseMessageResOutput() RuleTestCaseMessageResOutput
- func (o RuleTestCaseMessageResOutput) ToRuleTestCaseMessageResOutputWithContext(ctx context.Context) RuleTestCaseMessageResOutput
- func (o RuleTestCaseMessageResOutput) TruncatedBody() pulumi.BoolPtrOutput
- type RuleTestCaseOutput
- func (o RuleTestCaseOutput) Assertions() RuleTestCaseAssertionArrayOutput
- func (o RuleTestCaseOutput) Description() pulumi.StringPtrOutput
- func (RuleTestCaseOutput) ElementType() reflect.Type
- func (o RuleTestCaseOutput) Labels() pulumi.StringArrayOutput
- func (o RuleTestCaseOutput) Messages() RuleTestCaseMessageArrayOutput
- func (o RuleTestCaseOutput) Name() pulumi.StringOutput
- func (o RuleTestCaseOutput) Required() pulumi.BoolPtrOutput
- func (o RuleTestCaseOutput) ToRuleTestCaseOutput() RuleTestCaseOutput
- func (o RuleTestCaseOutput) ToRuleTestCaseOutputWithContext(ctx context.Context) RuleTestCaseOutput
- type RuleTestCaseState
- type Spec
- type SpecArgs
- type SpecArray
- type SpecArrayInput
- type SpecArrayOutput
- type SpecInput
- type SpecLearningConfig
- type SpecLearningConfigArgs
- func (SpecLearningConfigArgs) ElementType() reflect.Type
- func (i SpecLearningConfigArgs) ToSpecLearningConfigOutput() SpecLearningConfigOutput
- func (i SpecLearningConfigArgs) ToSpecLearningConfigOutputWithContext(ctx context.Context) SpecLearningConfigOutput
- func (i SpecLearningConfigArgs) ToSpecLearningConfigPtrOutput() SpecLearningConfigPtrOutput
- func (i SpecLearningConfigArgs) ToSpecLearningConfigPtrOutputWithContext(ctx context.Context) SpecLearningConfigPtrOutput
- type SpecLearningConfigInput
- type SpecLearningConfigOutput
- func (SpecLearningConfigOutput) ElementType() reflect.Type
- func (o SpecLearningConfigOutput) IncludeQueryParams() pulumi.BoolPtrOutput
- func (o SpecLearningConfigOutput) IncludeRequestBody() pulumi.BoolPtrOutput
- func (o SpecLearningConfigOutput) IncludeRequestHeaders() pulumi.BoolPtrOutput
- func (o SpecLearningConfigOutput) IncludeResponseBody() pulumi.BoolPtrOutput
- func (o SpecLearningConfigOutput) IncludeResponseHeaders() pulumi.BoolPtrOutput
- func (o SpecLearningConfigOutput) LearningMode() pulumi.StringOutput
- func (o SpecLearningConfigOutput) ToSpecLearningConfigOutput() SpecLearningConfigOutput
- func (o SpecLearningConfigOutput) ToSpecLearningConfigOutputWithContext(ctx context.Context) SpecLearningConfigOutput
- func (o SpecLearningConfigOutput) ToSpecLearningConfigPtrOutput() SpecLearningConfigPtrOutput
- func (o SpecLearningConfigOutput) ToSpecLearningConfigPtrOutputWithContext(ctx context.Context) SpecLearningConfigPtrOutput
- type SpecLearningConfigPtrInput
- type SpecLearningConfigPtrOutput
- func (o SpecLearningConfigPtrOutput) Elem() SpecLearningConfigOutput
- func (SpecLearningConfigPtrOutput) ElementType() reflect.Type
- func (o SpecLearningConfigPtrOutput) IncludeQueryParams() pulumi.BoolPtrOutput
- func (o SpecLearningConfigPtrOutput) IncludeRequestBody() pulumi.BoolPtrOutput
- func (o SpecLearningConfigPtrOutput) IncludeRequestHeaders() pulumi.BoolPtrOutput
- func (o SpecLearningConfigPtrOutput) IncludeResponseBody() pulumi.BoolPtrOutput
- func (o SpecLearningConfigPtrOutput) IncludeResponseHeaders() pulumi.BoolPtrOutput
- func (o SpecLearningConfigPtrOutput) LearningMode() pulumi.StringPtrOutput
- func (o SpecLearningConfigPtrOutput) ToSpecLearningConfigPtrOutput() SpecLearningConfigPtrOutput
- func (o SpecLearningConfigPtrOutput) ToSpecLearningConfigPtrOutputWithContext(ctx context.Context) SpecLearningConfigPtrOutput
- type SpecMap
- type SpecMapInput
- type SpecMapOutput
- type SpecOutput
- func (SpecOutput) ElementType() reflect.Type
- func (o SpecOutput) LearningConfig() SpecLearningConfigPtrOutput
- func (o SpecOutput) Name() pulumi.StringOutput
- func (o SpecOutput) SourceFile() pulumi.StringOutput
- func (o SpecOutput) SourceHash() pulumi.StringPtrOutput
- func (o SpecOutput) ToSpecOutput() SpecOutput
- func (o SpecOutput) ToSpecOutputWithContext(ctx context.Context) SpecOutput
- type SpecState
- type TagMetadata
- type TagMetadataArgs
- type TagMetadataArray
- type TagMetadataArrayInput
- type TagMetadataArrayOutput
- func (TagMetadataArrayOutput) ElementType() reflect.Type
- func (o TagMetadataArrayOutput) Index(i pulumi.IntInput) TagMetadataOutput
- func (o TagMetadataArrayOutput) ToTagMetadataArrayOutput() TagMetadataArrayOutput
- func (o TagMetadataArrayOutput) ToTagMetadataArrayOutputWithContext(ctx context.Context) TagMetadataArrayOutput
- type TagMetadataInput
- type TagMetadataMap
- type TagMetadataMapInput
- type TagMetadataMapOutput
- func (TagMetadataMapOutput) ElementType() reflect.Type
- func (o TagMetadataMapOutput) MapIndex(k pulumi.StringInput) TagMetadataOutput
- func (o TagMetadataMapOutput) ToTagMetadataMapOutput() TagMetadataMapOutput
- func (o TagMetadataMapOutput) ToTagMetadataMapOutputWithContext(ctx context.Context) TagMetadataMapOutput
- type TagMetadataOutput
- func (o TagMetadataOutput) Description() pulumi.StringPtrOutput
- func (TagMetadataOutput) ElementType() reflect.Type
- func (o TagMetadataOutput) ExternalUrl() pulumi.StringPtrOutput
- func (o TagMetadataOutput) Labels() pulumi.StringArrayOutput
- func (o TagMetadataOutput) Name() pulumi.StringOutput
- func (o TagMetadataOutput) RiskStatement() pulumi.StringPtrOutput
- func (o TagMetadataOutput) ToTagMetadataOutput() TagMetadataOutput
- func (o TagMetadataOutput) ToTagMetadataOutputWithContext(ctx context.Context) TagMetadataOutput
- type TagMetadataState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiBinding ¶ added in v0.2.0
type ApiBinding struct {
pulumi.CustomResourceState
// The basePath for this api binding.
BasePath pulumi.StringOutput `pulumi:"basePath"`
// The disabled for this api binding.
Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
// The forwardedFor for this api binding.
ForwardedFors pulumi.StringArrayOutput `pulumi:"forwardedFors"`
// The forwardedHost for this api binding.
ForwardedHosts pulumi.StringArrayOutput `pulumi:"forwardedHosts"`
// The forwardedId for this api binding.
ForwardedIds pulumi.StringArrayOutput `pulumi:"forwardedIds"`
// The forwardedProto for this api binding.
ForwardedProtos pulumi.StringArrayOutput `pulumi:"forwardedProtos"`
// The hops for this api binding.
Hops pulumi.IntPtrOutput `pulumi:"hops"`
// The hostname for this api binding.
Hostname pulumi.StringOutput `pulumi:"hostname"`
// The name for this api binding.
Name pulumi.StringOutput `pulumi:"name"`
// The port for this api binding.
Port pulumi.IntOutput `pulumi:"port"`
// The specification id.
SpecId pulumi.StringOutput `pulumi:"specId"`
// The upstreamOrigin for this api binding.
UpstreamOrigin pulumi.StringPtrOutput `pulumi:"upstreamOrigin"`
// The useForwarded for this api binding.
UseForwarded pulumi.BoolPtrOutput `pulumi:"useForwarded"`
}
Manage an api binding.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new api binding
_, err := impart.NewApiBinding(ctx, "example", &impart.ApiBindingArgs{
Name: pulumi.String("api_binding_example"),
Port: pulumi.Int(443),
SpecId: pulumi.Any(impartSpec.Example.Id),
Hostname: pulumi.String("example.com"),
BasePath: pulumi.String("/"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetApiBinding ¶ added in v0.2.0
func GetApiBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiBindingState, opts ...pulumi.ResourceOption) (*ApiBinding, error)
GetApiBinding gets an existing ApiBinding 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 NewApiBinding ¶ added in v0.2.0
func NewApiBinding(ctx *pulumi.Context, name string, args *ApiBindingArgs, opts ...pulumi.ResourceOption) (*ApiBinding, error)
NewApiBinding registers a new resource with the given unique name, arguments, and options.
func (*ApiBinding) ElementType ¶ added in v0.2.0
func (*ApiBinding) ElementType() reflect.Type
func (*ApiBinding) ToApiBindingOutput ¶ added in v0.2.0
func (i *ApiBinding) ToApiBindingOutput() ApiBindingOutput
func (*ApiBinding) ToApiBindingOutputWithContext ¶ added in v0.2.0
func (i *ApiBinding) ToApiBindingOutputWithContext(ctx context.Context) ApiBindingOutput
type ApiBindingArgs ¶ added in v0.2.0
type ApiBindingArgs struct {
// The basePath for this api binding.
BasePath pulumi.StringInput
// The disabled for this api binding.
Disabled pulumi.BoolPtrInput
// The forwardedFor for this api binding.
ForwardedFors pulumi.StringArrayInput
// The forwardedHost for this api binding.
ForwardedHosts pulumi.StringArrayInput
// The forwardedId for this api binding.
ForwardedIds pulumi.StringArrayInput
// The forwardedProto for this api binding.
ForwardedProtos pulumi.StringArrayInput
// The hops for this api binding.
Hops pulumi.IntPtrInput
// The hostname for this api binding.
Hostname pulumi.StringInput
// The name for this api binding.
Name pulumi.StringInput
// The port for this api binding.
Port pulumi.IntInput
// The specification id.
SpecId pulumi.StringInput
// The upstreamOrigin for this api binding.
UpstreamOrigin pulumi.StringPtrInput
// The useForwarded for this api binding.
UseForwarded pulumi.BoolPtrInput
}
The set of arguments for constructing a ApiBinding resource.
func (ApiBindingArgs) ElementType ¶ added in v0.2.0
func (ApiBindingArgs) ElementType() reflect.Type
type ApiBindingArray ¶ added in v0.2.0
type ApiBindingArray []ApiBindingInput
func (ApiBindingArray) ElementType ¶ added in v0.2.0
func (ApiBindingArray) ElementType() reflect.Type
func (ApiBindingArray) ToApiBindingArrayOutput ¶ added in v0.2.0
func (i ApiBindingArray) ToApiBindingArrayOutput() ApiBindingArrayOutput
func (ApiBindingArray) ToApiBindingArrayOutputWithContext ¶ added in v0.2.0
func (i ApiBindingArray) ToApiBindingArrayOutputWithContext(ctx context.Context) ApiBindingArrayOutput
type ApiBindingArrayInput ¶ added in v0.2.0
type ApiBindingArrayInput interface {
pulumi.Input
ToApiBindingArrayOutput() ApiBindingArrayOutput
ToApiBindingArrayOutputWithContext(context.Context) ApiBindingArrayOutput
}
ApiBindingArrayInput is an input type that accepts ApiBindingArray and ApiBindingArrayOutput values. You can construct a concrete instance of `ApiBindingArrayInput` via:
ApiBindingArray{ ApiBindingArgs{...} }
type ApiBindingArrayOutput ¶ added in v0.2.0
type ApiBindingArrayOutput struct{ *pulumi.OutputState }
func (ApiBindingArrayOutput) ElementType ¶ added in v0.2.0
func (ApiBindingArrayOutput) ElementType() reflect.Type
func (ApiBindingArrayOutput) Index ¶ added in v0.2.0
func (o ApiBindingArrayOutput) Index(i pulumi.IntInput) ApiBindingOutput
func (ApiBindingArrayOutput) ToApiBindingArrayOutput ¶ added in v0.2.0
func (o ApiBindingArrayOutput) ToApiBindingArrayOutput() ApiBindingArrayOutput
func (ApiBindingArrayOutput) ToApiBindingArrayOutputWithContext ¶ added in v0.2.0
func (o ApiBindingArrayOutput) ToApiBindingArrayOutputWithContext(ctx context.Context) ApiBindingArrayOutput
type ApiBindingInput ¶ added in v0.2.0
type ApiBindingInput interface {
pulumi.Input
ToApiBindingOutput() ApiBindingOutput
ToApiBindingOutputWithContext(ctx context.Context) ApiBindingOutput
}
type ApiBindingMap ¶ added in v0.2.0
type ApiBindingMap map[string]ApiBindingInput
func (ApiBindingMap) ElementType ¶ added in v0.2.0
func (ApiBindingMap) ElementType() reflect.Type
func (ApiBindingMap) ToApiBindingMapOutput ¶ added in v0.2.0
func (i ApiBindingMap) ToApiBindingMapOutput() ApiBindingMapOutput
func (ApiBindingMap) ToApiBindingMapOutputWithContext ¶ added in v0.2.0
func (i ApiBindingMap) ToApiBindingMapOutputWithContext(ctx context.Context) ApiBindingMapOutput
type ApiBindingMapInput ¶ added in v0.2.0
type ApiBindingMapInput interface {
pulumi.Input
ToApiBindingMapOutput() ApiBindingMapOutput
ToApiBindingMapOutputWithContext(context.Context) ApiBindingMapOutput
}
ApiBindingMapInput is an input type that accepts ApiBindingMap and ApiBindingMapOutput values. You can construct a concrete instance of `ApiBindingMapInput` via:
ApiBindingMap{ "key": ApiBindingArgs{...} }
type ApiBindingMapOutput ¶ added in v0.2.0
type ApiBindingMapOutput struct{ *pulumi.OutputState }
func (ApiBindingMapOutput) ElementType ¶ added in v0.2.0
func (ApiBindingMapOutput) ElementType() reflect.Type
func (ApiBindingMapOutput) MapIndex ¶ added in v0.2.0
func (o ApiBindingMapOutput) MapIndex(k pulumi.StringInput) ApiBindingOutput
func (ApiBindingMapOutput) ToApiBindingMapOutput ¶ added in v0.2.0
func (o ApiBindingMapOutput) ToApiBindingMapOutput() ApiBindingMapOutput
func (ApiBindingMapOutput) ToApiBindingMapOutputWithContext ¶ added in v0.2.0
func (o ApiBindingMapOutput) ToApiBindingMapOutputWithContext(ctx context.Context) ApiBindingMapOutput
type ApiBindingOutput ¶ added in v0.2.0
type ApiBindingOutput struct{ *pulumi.OutputState }
func (ApiBindingOutput) BasePath ¶ added in v0.2.0
func (o ApiBindingOutput) BasePath() pulumi.StringOutput
The basePath for this api binding.
func (ApiBindingOutput) Disabled ¶ added in v0.5.0
func (o ApiBindingOutput) Disabled() pulumi.BoolPtrOutput
The disabled for this api binding.
func (ApiBindingOutput) ElementType ¶ added in v0.2.0
func (ApiBindingOutput) ElementType() reflect.Type
func (ApiBindingOutput) ForwardedFors ¶ added in v0.2.0
func (o ApiBindingOutput) ForwardedFors() pulumi.StringArrayOutput
The forwardedFor for this api binding.
func (ApiBindingOutput) ForwardedHosts ¶ added in v0.2.0
func (o ApiBindingOutput) ForwardedHosts() pulumi.StringArrayOutput
The forwardedHost for this api binding.
func (ApiBindingOutput) ForwardedIds ¶ added in v0.2.0
func (o ApiBindingOutput) ForwardedIds() pulumi.StringArrayOutput
The forwardedId for this api binding.
func (ApiBindingOutput) ForwardedProtos ¶ added in v0.2.0
func (o ApiBindingOutput) ForwardedProtos() pulumi.StringArrayOutput
The forwardedProto for this api binding.
func (ApiBindingOutput) Hops ¶ added in v0.2.0
func (o ApiBindingOutput) Hops() pulumi.IntPtrOutput
The hops for this api binding.
func (ApiBindingOutput) Hostname ¶ added in v0.2.0
func (o ApiBindingOutput) Hostname() pulumi.StringOutput
The hostname for this api binding.
func (ApiBindingOutput) Name ¶ added in v0.2.0
func (o ApiBindingOutput) Name() pulumi.StringOutput
The name for this api binding.
func (ApiBindingOutput) Port ¶ added in v0.2.0
func (o ApiBindingOutput) Port() pulumi.IntOutput
The port for this api binding.
func (ApiBindingOutput) SpecId ¶ added in v0.2.0
func (o ApiBindingOutput) SpecId() pulumi.StringOutput
The specification id.
func (ApiBindingOutput) ToApiBindingOutput ¶ added in v0.2.0
func (o ApiBindingOutput) ToApiBindingOutput() ApiBindingOutput
func (ApiBindingOutput) ToApiBindingOutputWithContext ¶ added in v0.2.0
func (o ApiBindingOutput) ToApiBindingOutputWithContext(ctx context.Context) ApiBindingOutput
func (ApiBindingOutput) UpstreamOrigin ¶ added in v0.2.0
func (o ApiBindingOutput) UpstreamOrigin() pulumi.StringPtrOutput
The upstreamOrigin for this api binding.
func (ApiBindingOutput) UseForwarded ¶ added in v0.2.0
func (o ApiBindingOutput) UseForwarded() pulumi.BoolPtrOutput
The useForwarded for this api binding.
type ApiBindingState ¶ added in v0.2.0
type ApiBindingState struct {
// The basePath for this api binding.
BasePath pulumi.StringPtrInput
// The disabled for this api binding.
Disabled pulumi.BoolPtrInput
// The forwardedFor for this api binding.
ForwardedFors pulumi.StringArrayInput
// The forwardedHost for this api binding.
ForwardedHosts pulumi.StringArrayInput
// The forwardedId for this api binding.
ForwardedIds pulumi.StringArrayInput
// The forwardedProto for this api binding.
ForwardedProtos pulumi.StringArrayInput
// The hops for this api binding.
Hops pulumi.IntPtrInput
// The hostname for this api binding.
Hostname pulumi.StringPtrInput
// The name for this api binding.
Name pulumi.StringPtrInput
// The port for this api binding.
Port pulumi.IntPtrInput
// The specification id.
SpecId pulumi.StringPtrInput
// The upstreamOrigin for this api binding.
UpstreamOrigin pulumi.StringPtrInput
// The useForwarded for this api binding.
UseForwarded pulumi.BoolPtrInput
}
func (ApiBindingState) ElementType ¶ added in v0.2.0
func (ApiBindingState) ElementType() reflect.Type
type CoreRuleConfig ¶ added in v0.10.0
type CoreRuleConfig struct {
pulumi.CustomResourceState
// the core rule configuration.
Config pulumi.StringOutput `pulumi:"config"`
// Set true to disable the core rule.
Disabled pulumi.BoolOutput `pulumi:"disabled"`
// The slug for the core rule.
Slug pulumi.StringOutput `pulumi:"slug"`
}
Manage a core rule configuration.
func GetCoreRuleConfig ¶ added in v0.10.0
func GetCoreRuleConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CoreRuleConfigState, opts ...pulumi.ResourceOption) (*CoreRuleConfig, error)
GetCoreRuleConfig gets an existing CoreRuleConfig 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 NewCoreRuleConfig ¶ added in v0.10.0
func NewCoreRuleConfig(ctx *pulumi.Context, name string, args *CoreRuleConfigArgs, opts ...pulumi.ResourceOption) (*CoreRuleConfig, error)
NewCoreRuleConfig registers a new resource with the given unique name, arguments, and options.
func (*CoreRuleConfig) ElementType ¶ added in v0.10.0
func (*CoreRuleConfig) ElementType() reflect.Type
func (*CoreRuleConfig) ToCoreRuleConfigOutput ¶ added in v0.10.0
func (i *CoreRuleConfig) ToCoreRuleConfigOutput() CoreRuleConfigOutput
func (*CoreRuleConfig) ToCoreRuleConfigOutputWithContext ¶ added in v0.10.0
func (i *CoreRuleConfig) ToCoreRuleConfigOutputWithContext(ctx context.Context) CoreRuleConfigOutput
type CoreRuleConfigArgs ¶ added in v0.10.0
type CoreRuleConfigArgs struct {
// the core rule configuration.
Config pulumi.StringInput
// Set true to disable the core rule.
Disabled pulumi.BoolInput
// The slug for the core rule.
Slug pulumi.StringInput
}
The set of arguments for constructing a CoreRuleConfig resource.
func (CoreRuleConfigArgs) ElementType ¶ added in v0.10.0
func (CoreRuleConfigArgs) ElementType() reflect.Type
type CoreRuleConfigArray ¶ added in v0.10.0
type CoreRuleConfigArray []CoreRuleConfigInput
func (CoreRuleConfigArray) ElementType ¶ added in v0.10.0
func (CoreRuleConfigArray) ElementType() reflect.Type
func (CoreRuleConfigArray) ToCoreRuleConfigArrayOutput ¶ added in v0.10.0
func (i CoreRuleConfigArray) ToCoreRuleConfigArrayOutput() CoreRuleConfigArrayOutput
func (CoreRuleConfigArray) ToCoreRuleConfigArrayOutputWithContext ¶ added in v0.10.0
func (i CoreRuleConfigArray) ToCoreRuleConfigArrayOutputWithContext(ctx context.Context) CoreRuleConfigArrayOutput
type CoreRuleConfigArrayInput ¶ added in v0.10.0
type CoreRuleConfigArrayInput interface {
pulumi.Input
ToCoreRuleConfigArrayOutput() CoreRuleConfigArrayOutput
ToCoreRuleConfigArrayOutputWithContext(context.Context) CoreRuleConfigArrayOutput
}
CoreRuleConfigArrayInput is an input type that accepts CoreRuleConfigArray and CoreRuleConfigArrayOutput values. You can construct a concrete instance of `CoreRuleConfigArrayInput` via:
CoreRuleConfigArray{ CoreRuleConfigArgs{...} }
type CoreRuleConfigArrayOutput ¶ added in v0.10.0
type CoreRuleConfigArrayOutput struct{ *pulumi.OutputState }
func (CoreRuleConfigArrayOutput) ElementType ¶ added in v0.10.0
func (CoreRuleConfigArrayOutput) ElementType() reflect.Type
func (CoreRuleConfigArrayOutput) Index ¶ added in v0.10.0
func (o CoreRuleConfigArrayOutput) Index(i pulumi.IntInput) CoreRuleConfigOutput
func (CoreRuleConfigArrayOutput) ToCoreRuleConfigArrayOutput ¶ added in v0.10.0
func (o CoreRuleConfigArrayOutput) ToCoreRuleConfigArrayOutput() CoreRuleConfigArrayOutput
func (CoreRuleConfigArrayOutput) ToCoreRuleConfigArrayOutputWithContext ¶ added in v0.10.0
func (o CoreRuleConfigArrayOutput) ToCoreRuleConfigArrayOutputWithContext(ctx context.Context) CoreRuleConfigArrayOutput
type CoreRuleConfigInput ¶ added in v0.10.0
type CoreRuleConfigInput interface {
pulumi.Input
ToCoreRuleConfigOutput() CoreRuleConfigOutput
ToCoreRuleConfigOutputWithContext(ctx context.Context) CoreRuleConfigOutput
}
type CoreRuleConfigMap ¶ added in v0.10.0
type CoreRuleConfigMap map[string]CoreRuleConfigInput
func (CoreRuleConfigMap) ElementType ¶ added in v0.10.0
func (CoreRuleConfigMap) ElementType() reflect.Type
func (CoreRuleConfigMap) ToCoreRuleConfigMapOutput ¶ added in v0.10.0
func (i CoreRuleConfigMap) ToCoreRuleConfigMapOutput() CoreRuleConfigMapOutput
func (CoreRuleConfigMap) ToCoreRuleConfigMapOutputWithContext ¶ added in v0.10.0
func (i CoreRuleConfigMap) ToCoreRuleConfigMapOutputWithContext(ctx context.Context) CoreRuleConfigMapOutput
type CoreRuleConfigMapInput ¶ added in v0.10.0
type CoreRuleConfigMapInput interface {
pulumi.Input
ToCoreRuleConfigMapOutput() CoreRuleConfigMapOutput
ToCoreRuleConfigMapOutputWithContext(context.Context) CoreRuleConfigMapOutput
}
CoreRuleConfigMapInput is an input type that accepts CoreRuleConfigMap and CoreRuleConfigMapOutput values. You can construct a concrete instance of `CoreRuleConfigMapInput` via:
CoreRuleConfigMap{ "key": CoreRuleConfigArgs{...} }
type CoreRuleConfigMapOutput ¶ added in v0.10.0
type CoreRuleConfigMapOutput struct{ *pulumi.OutputState }
func (CoreRuleConfigMapOutput) ElementType ¶ added in v0.10.0
func (CoreRuleConfigMapOutput) ElementType() reflect.Type
func (CoreRuleConfigMapOutput) MapIndex ¶ added in v0.10.0
func (o CoreRuleConfigMapOutput) MapIndex(k pulumi.StringInput) CoreRuleConfigOutput
func (CoreRuleConfigMapOutput) ToCoreRuleConfigMapOutput ¶ added in v0.10.0
func (o CoreRuleConfigMapOutput) ToCoreRuleConfigMapOutput() CoreRuleConfigMapOutput
func (CoreRuleConfigMapOutput) ToCoreRuleConfigMapOutputWithContext ¶ added in v0.10.0
func (o CoreRuleConfigMapOutput) ToCoreRuleConfigMapOutputWithContext(ctx context.Context) CoreRuleConfigMapOutput
type CoreRuleConfigOutput ¶ added in v0.10.0
type CoreRuleConfigOutput struct{ *pulumi.OutputState }
func (CoreRuleConfigOutput) Config ¶ added in v0.10.0
func (o CoreRuleConfigOutput) Config() pulumi.StringOutput
the core rule configuration.
func (CoreRuleConfigOutput) Disabled ¶ added in v0.10.0
func (o CoreRuleConfigOutput) Disabled() pulumi.BoolOutput
Set true to disable the core rule.
func (CoreRuleConfigOutput) ElementType ¶ added in v0.10.0
func (CoreRuleConfigOutput) ElementType() reflect.Type
func (CoreRuleConfigOutput) Slug ¶ added in v0.10.0
func (o CoreRuleConfigOutput) Slug() pulumi.StringOutput
The slug for the core rule.
func (CoreRuleConfigOutput) ToCoreRuleConfigOutput ¶ added in v0.10.0
func (o CoreRuleConfigOutput) ToCoreRuleConfigOutput() CoreRuleConfigOutput
func (CoreRuleConfigOutput) ToCoreRuleConfigOutputWithContext ¶ added in v0.10.0
func (o CoreRuleConfigOutput) ToCoreRuleConfigOutputWithContext(ctx context.Context) CoreRuleConfigOutput
type CoreRuleConfigState ¶ added in v0.10.0
type CoreRuleConfigState struct {
// the core rule configuration.
Config pulumi.StringPtrInput
// Set true to disable the core rule.
Disabled pulumi.BoolPtrInput
// The slug for the core rule.
Slug pulumi.StringPtrInput
}
func (CoreRuleConfigState) ElementType ¶ added in v0.10.0
func (CoreRuleConfigState) ElementType() reflect.Type
type ExternalLink ¶ added in v0.9.0
type ExternalLink struct {
pulumi.CustomResourceState
// The description of the external link.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The entity to which the links should be applied.
Entity pulumi.StringOutput `pulumi:"entity"`
// A JSONPath to the element for which this link should apply (e.g. $.client_ip.address).
JsonPathElement pulumi.StringOutput `pulumi:"jsonPathElement"`
// The name of the external link.
Name pulumi.StringOutput `pulumi:"name"`
// A list of spec IDs this external link applies to (empty means all).
SpecIds pulumi.StringArrayOutput `pulumi:"specIds"`
// The external URL template with JSONPath element variables.
Url pulumi.StringOutput `pulumi:"url"`
// The vendor for the external link.
Vendor pulumi.StringOutput `pulumi:"vendor"`
}
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new external link
_, err := impart.NewExternalLink(ctx, "external_link1", &impart.ExternalLinkArgs{
Name: pulumi.String("Datadog client IP address"),
Description: pulumi.String("A link to Datadog dashboard for client IP address"),
Url: pulumi.String("https://app.datadoghq.com/dashboard/3tm-mpc-863?tpl_var_ClientIp=9.37.130.233"),
Entity: pulumi.String("request"),
JsonPathElement: pulumi.String("$.client_ip.address"),
Vendor: pulumi.String("Datadog"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetExternalLink ¶ added in v0.9.0
func GetExternalLink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ExternalLinkState, opts ...pulumi.ResourceOption) (*ExternalLink, error)
GetExternalLink gets an existing ExternalLink 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 NewExternalLink ¶ added in v0.9.0
func NewExternalLink(ctx *pulumi.Context, name string, args *ExternalLinkArgs, opts ...pulumi.ResourceOption) (*ExternalLink, error)
NewExternalLink registers a new resource with the given unique name, arguments, and options.
func (*ExternalLink) ElementType ¶ added in v0.9.0
func (*ExternalLink) ElementType() reflect.Type
func (*ExternalLink) ToExternalLinkOutput ¶ added in v0.9.0
func (i *ExternalLink) ToExternalLinkOutput() ExternalLinkOutput
func (*ExternalLink) ToExternalLinkOutputWithContext ¶ added in v0.9.0
func (i *ExternalLink) ToExternalLinkOutputWithContext(ctx context.Context) ExternalLinkOutput
type ExternalLinkArgs ¶ added in v0.9.0
type ExternalLinkArgs struct {
// The description of the external link.
Description pulumi.StringPtrInput
// The entity to which the links should be applied.
Entity pulumi.StringInput
// A JSONPath to the element for which this link should apply (e.g. $.client_ip.address).
JsonPathElement pulumi.StringInput
// The name of the external link.
Name pulumi.StringInput
// A list of spec IDs this external link applies to (empty means all).
SpecIds pulumi.StringArrayInput
// The external URL template with JSONPath element variables.
Url pulumi.StringInput
// The vendor for the external link.
Vendor pulumi.StringInput
}
The set of arguments for constructing a ExternalLink resource.
func (ExternalLinkArgs) ElementType ¶ added in v0.9.0
func (ExternalLinkArgs) ElementType() reflect.Type
type ExternalLinkArray ¶ added in v0.9.0
type ExternalLinkArray []ExternalLinkInput
func (ExternalLinkArray) ElementType ¶ added in v0.9.0
func (ExternalLinkArray) ElementType() reflect.Type
func (ExternalLinkArray) ToExternalLinkArrayOutput ¶ added in v0.9.0
func (i ExternalLinkArray) ToExternalLinkArrayOutput() ExternalLinkArrayOutput
func (ExternalLinkArray) ToExternalLinkArrayOutputWithContext ¶ added in v0.9.0
func (i ExternalLinkArray) ToExternalLinkArrayOutputWithContext(ctx context.Context) ExternalLinkArrayOutput
type ExternalLinkArrayInput ¶ added in v0.9.0
type ExternalLinkArrayInput interface {
pulumi.Input
ToExternalLinkArrayOutput() ExternalLinkArrayOutput
ToExternalLinkArrayOutputWithContext(context.Context) ExternalLinkArrayOutput
}
ExternalLinkArrayInput is an input type that accepts ExternalLinkArray and ExternalLinkArrayOutput values. You can construct a concrete instance of `ExternalLinkArrayInput` via:
ExternalLinkArray{ ExternalLinkArgs{...} }
type ExternalLinkArrayOutput ¶ added in v0.9.0
type ExternalLinkArrayOutput struct{ *pulumi.OutputState }
func (ExternalLinkArrayOutput) ElementType ¶ added in v0.9.0
func (ExternalLinkArrayOutput) ElementType() reflect.Type
func (ExternalLinkArrayOutput) Index ¶ added in v0.9.0
func (o ExternalLinkArrayOutput) Index(i pulumi.IntInput) ExternalLinkOutput
func (ExternalLinkArrayOutput) ToExternalLinkArrayOutput ¶ added in v0.9.0
func (o ExternalLinkArrayOutput) ToExternalLinkArrayOutput() ExternalLinkArrayOutput
func (ExternalLinkArrayOutput) ToExternalLinkArrayOutputWithContext ¶ added in v0.9.0
func (o ExternalLinkArrayOutput) ToExternalLinkArrayOutputWithContext(ctx context.Context) ExternalLinkArrayOutput
type ExternalLinkInput ¶ added in v0.9.0
type ExternalLinkInput interface {
pulumi.Input
ToExternalLinkOutput() ExternalLinkOutput
ToExternalLinkOutputWithContext(ctx context.Context) ExternalLinkOutput
}
type ExternalLinkMap ¶ added in v0.9.0
type ExternalLinkMap map[string]ExternalLinkInput
func (ExternalLinkMap) ElementType ¶ added in v0.9.0
func (ExternalLinkMap) ElementType() reflect.Type
func (ExternalLinkMap) ToExternalLinkMapOutput ¶ added in v0.9.0
func (i ExternalLinkMap) ToExternalLinkMapOutput() ExternalLinkMapOutput
func (ExternalLinkMap) ToExternalLinkMapOutputWithContext ¶ added in v0.9.0
func (i ExternalLinkMap) ToExternalLinkMapOutputWithContext(ctx context.Context) ExternalLinkMapOutput
type ExternalLinkMapInput ¶ added in v0.9.0
type ExternalLinkMapInput interface {
pulumi.Input
ToExternalLinkMapOutput() ExternalLinkMapOutput
ToExternalLinkMapOutputWithContext(context.Context) ExternalLinkMapOutput
}
ExternalLinkMapInput is an input type that accepts ExternalLinkMap and ExternalLinkMapOutput values. You can construct a concrete instance of `ExternalLinkMapInput` via:
ExternalLinkMap{ "key": ExternalLinkArgs{...} }
type ExternalLinkMapOutput ¶ added in v0.9.0
type ExternalLinkMapOutput struct{ *pulumi.OutputState }
func (ExternalLinkMapOutput) ElementType ¶ added in v0.9.0
func (ExternalLinkMapOutput) ElementType() reflect.Type
func (ExternalLinkMapOutput) MapIndex ¶ added in v0.9.0
func (o ExternalLinkMapOutput) MapIndex(k pulumi.StringInput) ExternalLinkOutput
func (ExternalLinkMapOutput) ToExternalLinkMapOutput ¶ added in v0.9.0
func (o ExternalLinkMapOutput) ToExternalLinkMapOutput() ExternalLinkMapOutput
func (ExternalLinkMapOutput) ToExternalLinkMapOutputWithContext ¶ added in v0.9.0
func (o ExternalLinkMapOutput) ToExternalLinkMapOutputWithContext(ctx context.Context) ExternalLinkMapOutput
type ExternalLinkOutput ¶ added in v0.9.0
type ExternalLinkOutput struct{ *pulumi.OutputState }
func (ExternalLinkOutput) Description ¶ added in v0.9.0
func (o ExternalLinkOutput) Description() pulumi.StringPtrOutput
The description of the external link.
func (ExternalLinkOutput) ElementType ¶ added in v0.9.0
func (ExternalLinkOutput) ElementType() reflect.Type
func (ExternalLinkOutput) Entity ¶ added in v0.9.0
func (o ExternalLinkOutput) Entity() pulumi.StringOutput
The entity to which the links should be applied.
func (ExternalLinkOutput) JsonPathElement ¶ added in v0.9.0
func (o ExternalLinkOutput) JsonPathElement() pulumi.StringOutput
A JSONPath to the element for which this link should apply (e.g. $.client_ip.address).
func (ExternalLinkOutput) Name ¶ added in v0.9.0
func (o ExternalLinkOutput) Name() pulumi.StringOutput
The name of the external link.
func (ExternalLinkOutput) SpecIds ¶ added in v0.9.0
func (o ExternalLinkOutput) SpecIds() pulumi.StringArrayOutput
A list of spec IDs this external link applies to (empty means all).
func (ExternalLinkOutput) ToExternalLinkOutput ¶ added in v0.9.0
func (o ExternalLinkOutput) ToExternalLinkOutput() ExternalLinkOutput
func (ExternalLinkOutput) ToExternalLinkOutputWithContext ¶ added in v0.9.0
func (o ExternalLinkOutput) ToExternalLinkOutputWithContext(ctx context.Context) ExternalLinkOutput
func (ExternalLinkOutput) Url ¶ added in v0.9.0
func (o ExternalLinkOutput) Url() pulumi.StringOutput
The external URL template with JSONPath element variables.
func (ExternalLinkOutput) Vendor ¶ added in v0.9.0
func (o ExternalLinkOutput) Vendor() pulumi.StringOutput
The vendor for the external link.
type ExternalLinkState ¶ added in v0.9.0
type ExternalLinkState struct {
// The description of the external link.
Description pulumi.StringPtrInput
// The entity to which the links should be applied.
Entity pulumi.StringPtrInput
// A JSONPath to the element for which this link should apply (e.g. $.client_ip.address).
JsonPathElement pulumi.StringPtrInput
// The name of the external link.
Name pulumi.StringPtrInput
// A list of spec IDs this external link applies to (empty means all).
SpecIds pulumi.StringArrayInput
// The external URL template with JSONPath element variables.
Url pulumi.StringPtrInput
// The vendor for the external link.
Vendor pulumi.StringPtrInput
}
func (ExternalLinkState) ElementType ¶ added in v0.9.0
func (ExternalLinkState) ElementType() reflect.Type
type GetConnectorArgs ¶ added in v0.4.0
type GetConnectorArgs struct {
// ID of the connector type (eg. ID for our Slack or Jira connector types).
ConnectorTypeId *string `pulumi:"connectorTypeId"`
// Identifier for this connector.
Id string `pulumi:"id"`
// Whether or not the connector is authenticated via OAuth2.
IsConnected *bool `pulumi:"isConnected"`
// Name for this connector.
Name *string `pulumi:"name"`
}
A collection of arguments for invoking GetConnector.
type GetConnectorOutputArgs ¶ added in v0.4.0
type GetConnectorOutputArgs struct {
// ID of the connector type (eg. ID for our Slack or Jira connector types).
ConnectorTypeId pulumi.StringPtrInput `pulumi:"connectorTypeId"`
// Identifier for this connector.
Id pulumi.StringInput `pulumi:"id"`
// Whether or not the connector is authenticated via OAuth2.
IsConnected pulumi.BoolPtrInput `pulumi:"isConnected"`
// Name for this connector.
Name pulumi.StringPtrInput `pulumi:"name"`
}
A collection of arguments for invoking GetConnector.
func (GetConnectorOutputArgs) ElementType ¶ added in v0.4.0
func (GetConnectorOutputArgs) ElementType() reflect.Type
type GetConnectorResult ¶ added in v0.4.0
type GetConnectorResult struct {
// ID of the connector type (eg. ID for our Slack or Jira connector types).
ConnectorTypeId *string `pulumi:"connectorTypeId"`
// Identifier for this connector.
Id string `pulumi:"id"`
// Whether or not the connector is authenticated via OAuth2.
IsConnected *bool `pulumi:"isConnected"`
// Name for this connector.
Name *string `pulumi:"name"`
}
A collection of values returned by GetConnector.
func GetConnector ¶ added in v0.4.0
func GetConnector(ctx *pulumi.Context, args *GetConnectorArgs, opts ...pulumi.InvokeOption) (*GetConnectorResult, error)
Manage a connector.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Read in an existing specification
_, err := impart.GetConnector(ctx, &impart.GetConnectorArgs{
Id: "<id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type GetConnectorResultOutput ¶ added in v0.4.0
type GetConnectorResultOutput struct{ *pulumi.OutputState }
A collection of values returned by GetConnector.
func GetConnectorOutput ¶ added in v0.4.0
func GetConnectorOutput(ctx *pulumi.Context, args GetConnectorOutputArgs, opts ...pulumi.InvokeOption) GetConnectorResultOutput
func (GetConnectorResultOutput) ConnectorTypeId ¶ added in v0.4.0
func (o GetConnectorResultOutput) ConnectorTypeId() pulumi.StringPtrOutput
ID of the connector type (eg. ID for our Slack or Jira connector types).
func (GetConnectorResultOutput) ElementType ¶ added in v0.4.0
func (GetConnectorResultOutput) ElementType() reflect.Type
func (GetConnectorResultOutput) Id ¶ added in v0.4.0
func (o GetConnectorResultOutput) Id() pulumi.StringOutput
Identifier for this connector.
func (GetConnectorResultOutput) IsConnected ¶ added in v0.4.0
func (o GetConnectorResultOutput) IsConnected() pulumi.BoolPtrOutput
Whether or not the connector is authenticated via OAuth2.
func (GetConnectorResultOutput) Name ¶ added in v0.4.0
func (o GetConnectorResultOutput) Name() pulumi.StringPtrOutput
Name for this connector.
func (GetConnectorResultOutput) ToGetConnectorResultOutput ¶ added in v0.4.0
func (o GetConnectorResultOutput) ToGetConnectorResultOutput() GetConnectorResultOutput
func (GetConnectorResultOutput) ToGetConnectorResultOutputWithContext ¶ added in v0.4.0
func (o GetConnectorResultOutput) ToGetConnectorResultOutputWithContext(ctx context.Context) GetConnectorResultOutput
type Label ¶ added in v0.8.0
type Label struct {
pulumi.CustomResourceState
// The color of the label.
Color pulumi.StringPtrOutput `pulumi:"color"`
// The description of the label.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The display name of the label.
DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
// Slug of the label.
Slug pulumi.StringOutput `pulumi:"slug"`
}
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new label
_, err := impart.NewLabel(ctx, "example", &impart.LabelArgs{
Slug: pulumi.String("example"),
DisplayName: pulumi.String("Example"),
Description: pulumi.String("example label"),
Color: pulumi.String("red"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetLabel ¶ added in v0.8.0
func GetLabel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LabelState, opts ...pulumi.ResourceOption) (*Label, error)
GetLabel gets an existing Label 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 NewLabel ¶ added in v0.8.0
func NewLabel(ctx *pulumi.Context, name string, args *LabelArgs, opts ...pulumi.ResourceOption) (*Label, error)
NewLabel registers a new resource with the given unique name, arguments, and options.
func (*Label) ElementType ¶ added in v0.8.0
func (*Label) ToLabelOutput ¶ added in v0.8.0
func (i *Label) ToLabelOutput() LabelOutput
func (*Label) ToLabelOutputWithContext ¶ added in v0.8.0
func (i *Label) ToLabelOutputWithContext(ctx context.Context) LabelOutput
type LabelArgs ¶ added in v0.8.0
type LabelArgs struct {
// The color of the label.
Color pulumi.StringPtrInput
// The description of the label.
Description pulumi.StringPtrInput
// The display name of the label.
DisplayName pulumi.StringPtrInput
// Slug of the label.
Slug pulumi.StringInput
}
The set of arguments for constructing a Label resource.
func (LabelArgs) ElementType ¶ added in v0.8.0
type LabelArray ¶ added in v0.8.0
type LabelArray []LabelInput
func (LabelArray) ElementType ¶ added in v0.8.0
func (LabelArray) ElementType() reflect.Type
func (LabelArray) ToLabelArrayOutput ¶ added in v0.8.0
func (i LabelArray) ToLabelArrayOutput() LabelArrayOutput
func (LabelArray) ToLabelArrayOutputWithContext ¶ added in v0.8.0
func (i LabelArray) ToLabelArrayOutputWithContext(ctx context.Context) LabelArrayOutput
type LabelArrayInput ¶ added in v0.8.0
type LabelArrayInput interface {
pulumi.Input
ToLabelArrayOutput() LabelArrayOutput
ToLabelArrayOutputWithContext(context.Context) LabelArrayOutput
}
LabelArrayInput is an input type that accepts LabelArray and LabelArrayOutput values. You can construct a concrete instance of `LabelArrayInput` via:
LabelArray{ LabelArgs{...} }
type LabelArrayOutput ¶ added in v0.8.0
type LabelArrayOutput struct{ *pulumi.OutputState }
func (LabelArrayOutput) ElementType ¶ added in v0.8.0
func (LabelArrayOutput) ElementType() reflect.Type
func (LabelArrayOutput) Index ¶ added in v0.8.0
func (o LabelArrayOutput) Index(i pulumi.IntInput) LabelOutput
func (LabelArrayOutput) ToLabelArrayOutput ¶ added in v0.8.0
func (o LabelArrayOutput) ToLabelArrayOutput() LabelArrayOutput
func (LabelArrayOutput) ToLabelArrayOutputWithContext ¶ added in v0.8.0
func (o LabelArrayOutput) ToLabelArrayOutputWithContext(ctx context.Context) LabelArrayOutput
type LabelInput ¶ added in v0.8.0
type LabelInput interface {
pulumi.Input
ToLabelOutput() LabelOutput
ToLabelOutputWithContext(ctx context.Context) LabelOutput
}
type LabelMap ¶ added in v0.8.0
type LabelMap map[string]LabelInput
func (LabelMap) ElementType ¶ added in v0.8.0
func (LabelMap) ToLabelMapOutput ¶ added in v0.8.0
func (i LabelMap) ToLabelMapOutput() LabelMapOutput
func (LabelMap) ToLabelMapOutputWithContext ¶ added in v0.8.0
func (i LabelMap) ToLabelMapOutputWithContext(ctx context.Context) LabelMapOutput
type LabelMapInput ¶ added in v0.8.0
type LabelMapInput interface {
pulumi.Input
ToLabelMapOutput() LabelMapOutput
ToLabelMapOutputWithContext(context.Context) LabelMapOutput
}
LabelMapInput is an input type that accepts LabelMap and LabelMapOutput values. You can construct a concrete instance of `LabelMapInput` via:
LabelMap{ "key": LabelArgs{...} }
type LabelMapOutput ¶ added in v0.8.0
type LabelMapOutput struct{ *pulumi.OutputState }
func (LabelMapOutput) ElementType ¶ added in v0.8.0
func (LabelMapOutput) ElementType() reflect.Type
func (LabelMapOutput) MapIndex ¶ added in v0.8.0
func (o LabelMapOutput) MapIndex(k pulumi.StringInput) LabelOutput
func (LabelMapOutput) ToLabelMapOutput ¶ added in v0.8.0
func (o LabelMapOutput) ToLabelMapOutput() LabelMapOutput
func (LabelMapOutput) ToLabelMapOutputWithContext ¶ added in v0.8.0
func (o LabelMapOutput) ToLabelMapOutputWithContext(ctx context.Context) LabelMapOutput
type LabelOutput ¶ added in v0.8.0
type LabelOutput struct{ *pulumi.OutputState }
func (LabelOutput) Color ¶ added in v0.8.0
func (o LabelOutput) Color() pulumi.StringPtrOutput
The color of the label.
func (LabelOutput) Description ¶ added in v0.8.0
func (o LabelOutput) Description() pulumi.StringPtrOutput
The description of the label.
func (LabelOutput) DisplayName ¶ added in v0.8.0
func (o LabelOutput) DisplayName() pulumi.StringPtrOutput
The display name of the label.
func (LabelOutput) ElementType ¶ added in v0.8.0
func (LabelOutput) ElementType() reflect.Type
func (LabelOutput) Slug ¶ added in v0.8.0
func (o LabelOutput) Slug() pulumi.StringOutput
Slug of the label.
func (LabelOutput) ToLabelOutput ¶ added in v0.8.0
func (o LabelOutput) ToLabelOutput() LabelOutput
func (LabelOutput) ToLabelOutputWithContext ¶ added in v0.8.0
func (o LabelOutput) ToLabelOutputWithContext(ctx context.Context) LabelOutput
type LabelState ¶ added in v0.8.0
type LabelState struct {
// The color of the label.
Color pulumi.StringPtrInput
// The description of the label.
Description pulumi.StringPtrInput
// The display name of the label.
DisplayName pulumi.StringPtrInput
// Slug of the label.
Slug pulumi.StringPtrInput
}
func (LabelState) ElementType ¶ added in v0.8.0
func (LabelState) ElementType() reflect.Type
type List ¶ added in v0.5.0
type List struct {
pulumi.CustomResourceState
// The description for this list.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The list functionality. Allowed values are add, add/remove, and none (cloud managed).
Functionality pulumi.StringPtrOutput `pulumi:"functionality"`
// The list items.
Items ListItemArrayOutput `pulumi:"items"`
// The list kind.
Kind pulumi.StringOutput `pulumi:"kind"`
// The applied labels.
Labels pulumi.StringArrayOutput `pulumi:"labels"`
// The name for this list.
Name pulumi.StringOutput `pulumi:"name"`
// The list subkind.
Subkind pulumi.StringPtrOutput `pulumi:"subkind"`
}
Manage a list.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new string list
_, err := impart.NewList(ctx, "example", &impart.ListArgs{
Name: pulumi.String("list_example"),
Kind: pulumi.String("string"),
Description: pulumi.String("list description"),
Items: impart.ListItemArray{
&impart.ListItemArgs{
Value: pulumi.String("item1"),
},
&impart.ListItemArgs{
Value: pulumi.String("item2"),
},
},
})
if err != nil {
return err
}
// Create a regex pattern list
_, err = impart.NewList(ctx, "regex_example", &impart.ListArgs{
Name: pulumi.String("regex_list_example"),
Kind: pulumi.String("regex"),
Description: pulumi.String("A list of regex patterns for matching"),
Items: impart.ListItemArray{
&impart.ListItemArgs{
Value: pulumi.String("^/api/v[0-9]+/users/.*$"),
},
&impart.ListItemArgs{
Value: pulumi.String("\\.(php|asp|aspx)$"),
},
},
})
if err != nil {
return err
}
// Create an Aho-Corasick pattern list
_, err = impart.NewList(ctx, "aho_corasick_example", &impart.ListArgs{
Name: pulumi.String("aho_corasick_list_example"),
Kind: pulumi.String("aho_corasick"),
Description: pulumi.String("A list of patterns for Aho-Corasick matching"),
Items: impart.ListItemArray{
&impart.ListItemArgs{
Value: pulumi.String("SELECT * FROM"),
},
&impart.ListItemArgs{
Value: pulumi.String("DROP TABLE"),
},
},
})
if err != nil {
return err
}
return nil
})
}
```
func GetList ¶ added in v0.5.0
func GetList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ListState, opts ...pulumi.ResourceOption) (*List, error)
GetList gets an existing List 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 NewList ¶ added in v0.5.0
func NewList(ctx *pulumi.Context, name string, args *ListArgs, opts ...pulumi.ResourceOption) (*List, error)
NewList registers a new resource with the given unique name, arguments, and options.
func (*List) ElementType ¶ added in v0.5.0
func (*List) ToListOutput ¶ added in v0.5.0
func (i *List) ToListOutput() ListOutput
func (*List) ToListOutputWithContext ¶ added in v0.5.0
func (i *List) ToListOutputWithContext(ctx context.Context) ListOutput
type ListArgs ¶ added in v0.5.0
type ListArgs struct {
// The description for this list.
Description pulumi.StringPtrInput
// The list functionality. Allowed values are add, add/remove, and none (cloud managed).
Functionality pulumi.StringPtrInput
// The list items.
Items ListItemArrayInput
// The list kind.
Kind pulumi.StringInput
// The applied labels.
Labels pulumi.StringArrayInput
// The name for this list.
Name pulumi.StringInput
// The list subkind.
Subkind pulumi.StringPtrInput
}
The set of arguments for constructing a List resource.
func (ListArgs) ElementType ¶ added in v0.5.0
type ListArray ¶ added in v0.5.0
type ListArray []ListInput
func (ListArray) ElementType ¶ added in v0.5.0
func (ListArray) ToListArrayOutput ¶ added in v0.5.0
func (i ListArray) ToListArrayOutput() ListArrayOutput
func (ListArray) ToListArrayOutputWithContext ¶ added in v0.5.0
func (i ListArray) ToListArrayOutputWithContext(ctx context.Context) ListArrayOutput
type ListArrayInput ¶ added in v0.5.0
type ListArrayInput interface {
pulumi.Input
ToListArrayOutput() ListArrayOutput
ToListArrayOutputWithContext(context.Context) ListArrayOutput
}
ListArrayInput is an input type that accepts ListArray and ListArrayOutput values. You can construct a concrete instance of `ListArrayInput` via:
ListArray{ ListArgs{...} }
type ListArrayOutput ¶ added in v0.5.0
type ListArrayOutput struct{ *pulumi.OutputState }
func (ListArrayOutput) ElementType ¶ added in v0.5.0
func (ListArrayOutput) ElementType() reflect.Type
func (ListArrayOutput) Index ¶ added in v0.5.0
func (o ListArrayOutput) Index(i pulumi.IntInput) ListOutput
func (ListArrayOutput) ToListArrayOutput ¶ added in v0.5.0
func (o ListArrayOutput) ToListArrayOutput() ListArrayOutput
func (ListArrayOutput) ToListArrayOutputWithContext ¶ added in v0.5.0
func (o ListArrayOutput) ToListArrayOutputWithContext(ctx context.Context) ListArrayOutput
type ListInput ¶ added in v0.5.0
type ListInput interface {
pulumi.Input
ToListOutput() ListOutput
ToListOutputWithContext(ctx context.Context) ListOutput
}
type ListItemArgs ¶ added in v0.5.0
type ListItemArgs struct {
// The list item expiration.
Expiration pulumi.StringPtrInput `pulumi:"expiration"`
// The list item value.
Value pulumi.StringInput `pulumi:"value"`
}
func (ListItemArgs) ElementType ¶ added in v0.5.0
func (ListItemArgs) ElementType() reflect.Type
func (ListItemArgs) ToListItemOutput ¶ added in v0.5.0
func (i ListItemArgs) ToListItemOutput() ListItemOutput
func (ListItemArgs) ToListItemOutputWithContext ¶ added in v0.5.0
func (i ListItemArgs) ToListItemOutputWithContext(ctx context.Context) ListItemOutput
type ListItemArray ¶ added in v0.5.0
type ListItemArray []ListItemInput
func (ListItemArray) ElementType ¶ added in v0.5.0
func (ListItemArray) ElementType() reflect.Type
func (ListItemArray) ToListItemArrayOutput ¶ added in v0.5.0
func (i ListItemArray) ToListItemArrayOutput() ListItemArrayOutput
func (ListItemArray) ToListItemArrayOutputWithContext ¶ added in v0.5.0
func (i ListItemArray) ToListItemArrayOutputWithContext(ctx context.Context) ListItemArrayOutput
type ListItemArrayInput ¶ added in v0.5.0
type ListItemArrayInput interface {
pulumi.Input
ToListItemArrayOutput() ListItemArrayOutput
ToListItemArrayOutputWithContext(context.Context) ListItemArrayOutput
}
ListItemArrayInput is an input type that accepts ListItemArray and ListItemArrayOutput values. You can construct a concrete instance of `ListItemArrayInput` via:
ListItemArray{ ListItemArgs{...} }
type ListItemArrayOutput ¶ added in v0.5.0
type ListItemArrayOutput struct{ *pulumi.OutputState }
func (ListItemArrayOutput) ElementType ¶ added in v0.5.0
func (ListItemArrayOutput) ElementType() reflect.Type
func (ListItemArrayOutput) Index ¶ added in v0.5.0
func (o ListItemArrayOutput) Index(i pulumi.IntInput) ListItemOutput
func (ListItemArrayOutput) ToListItemArrayOutput ¶ added in v0.5.0
func (o ListItemArrayOutput) ToListItemArrayOutput() ListItemArrayOutput
func (ListItemArrayOutput) ToListItemArrayOutputWithContext ¶ added in v0.5.0
func (o ListItemArrayOutput) ToListItemArrayOutputWithContext(ctx context.Context) ListItemArrayOutput
type ListItemInput ¶ added in v0.5.0
type ListItemInput interface {
pulumi.Input
ToListItemOutput() ListItemOutput
ToListItemOutputWithContext(context.Context) ListItemOutput
}
ListItemInput is an input type that accepts ListItemArgs and ListItemOutput values. You can construct a concrete instance of `ListItemInput` via:
ListItemArgs{...}
type ListItemOutput ¶ added in v0.5.0
type ListItemOutput struct{ *pulumi.OutputState }
func (ListItemOutput) ElementType ¶ added in v0.5.0
func (ListItemOutput) ElementType() reflect.Type
func (ListItemOutput) Expiration ¶ added in v0.5.0
func (o ListItemOutput) Expiration() pulumi.StringPtrOutput
The list item expiration.
func (ListItemOutput) ToListItemOutput ¶ added in v0.5.0
func (o ListItemOutput) ToListItemOutput() ListItemOutput
func (ListItemOutput) ToListItemOutputWithContext ¶ added in v0.5.0
func (o ListItemOutput) ToListItemOutputWithContext(ctx context.Context) ListItemOutput
func (ListItemOutput) Value ¶ added in v0.5.0
func (o ListItemOutput) Value() pulumi.StringOutput
The list item value.
type ListMap ¶ added in v0.5.0
func (ListMap) ElementType ¶ added in v0.5.0
func (ListMap) ToListMapOutput ¶ added in v0.5.0
func (i ListMap) ToListMapOutput() ListMapOutput
func (ListMap) ToListMapOutputWithContext ¶ added in v0.5.0
func (i ListMap) ToListMapOutputWithContext(ctx context.Context) ListMapOutput
type ListMapInput ¶ added in v0.5.0
type ListMapInput interface {
pulumi.Input
ToListMapOutput() ListMapOutput
ToListMapOutputWithContext(context.Context) ListMapOutput
}
ListMapInput is an input type that accepts ListMap and ListMapOutput values. You can construct a concrete instance of `ListMapInput` via:
ListMap{ "key": ListArgs{...} }
type ListMapOutput ¶ added in v0.5.0
type ListMapOutput struct{ *pulumi.OutputState }
func (ListMapOutput) ElementType ¶ added in v0.5.0
func (ListMapOutput) ElementType() reflect.Type
func (ListMapOutput) MapIndex ¶ added in v0.5.0
func (o ListMapOutput) MapIndex(k pulumi.StringInput) ListOutput
func (ListMapOutput) ToListMapOutput ¶ added in v0.5.0
func (o ListMapOutput) ToListMapOutput() ListMapOutput
func (ListMapOutput) ToListMapOutputWithContext ¶ added in v0.5.0
func (o ListMapOutput) ToListMapOutputWithContext(ctx context.Context) ListMapOutput
type ListOutput ¶ added in v0.5.0
type ListOutput struct{ *pulumi.OutputState }
func (ListOutput) Description ¶ added in v0.8.0
func (o ListOutput) Description() pulumi.StringPtrOutput
The description for this list.
func (ListOutput) ElementType ¶ added in v0.5.0
func (ListOutput) ElementType() reflect.Type
func (ListOutput) Functionality ¶ added in v0.6.0
func (o ListOutput) Functionality() pulumi.StringPtrOutput
The list functionality. Allowed values are add, add/remove, and none (cloud managed).
func (ListOutput) Items ¶ added in v0.5.0
func (o ListOutput) Items() ListItemArrayOutput
The list items.
func (ListOutput) Kind ¶ added in v0.5.0
func (o ListOutput) Kind() pulumi.StringOutput
The list kind.
func (ListOutput) Labels ¶ added in v0.8.0
func (o ListOutput) Labels() pulumi.StringArrayOutput
The applied labels.
func (ListOutput) Name ¶ added in v0.5.0
func (o ListOutput) Name() pulumi.StringOutput
The name for this list.
func (ListOutput) Subkind ¶ added in v0.5.0
func (o ListOutput) Subkind() pulumi.StringPtrOutput
The list subkind.
func (ListOutput) ToListOutput ¶ added in v0.5.0
func (o ListOutput) ToListOutput() ListOutput
func (ListOutput) ToListOutputWithContext ¶ added in v0.5.0
func (o ListOutput) ToListOutputWithContext(ctx context.Context) ListOutput
type ListState ¶ added in v0.5.0
type ListState struct {
// The description for this list.
Description pulumi.StringPtrInput
// The list functionality. Allowed values are add, add/remove, and none (cloud managed).
Functionality pulumi.StringPtrInput
// The list items.
Items ListItemArrayInput
// The list kind.
Kind pulumi.StringPtrInput
// The applied labels.
Labels pulumi.StringArrayInput
// The name for this list.
Name pulumi.StringPtrInput
// The list subkind.
Subkind pulumi.StringPtrInput
}
func (ListState) ElementType ¶ added in v0.5.0
type LogBinding ¶ added in v0.2.0
type LogBinding struct {
pulumi.CustomResourceState
// The logstream id for this log binding.
LogstreamId pulumi.StringPtrOutput `pulumi:"logstreamId"`
// The name for this log binding.
Name pulumi.StringOutput `pulumi:"name"`
// The grok/json pattern for this log binding.
Pattern pulumi.StringOutput `pulumi:"pattern"`
// The pattern type for this log binding. Accepted values: grok, json
PatternType pulumi.StringOutput `pulumi:"patternType"`
// The specification id.
SpecId pulumi.StringOutput `pulumi:"specId"`
}
Manage a log binding.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new log binding
_, err := impart.NewLogBinding(ctx, "example", &impart.LogBindingArgs{
Name: pulumi.String("log_binding_example"),
PatternType: pulumi.String("grok"),
Pattern: pulumi.String("<pattern>\n"),
LogstreamId: pulumi.String("logstream_id"),
SpecId: pulumi.Any(impartSpec.Example.Id),
})
if err != nil {
return err
}
return nil
})
}
```
func GetLogBinding ¶ added in v0.2.0
func GetLogBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogBindingState, opts ...pulumi.ResourceOption) (*LogBinding, error)
GetLogBinding gets an existing LogBinding 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 NewLogBinding ¶ added in v0.2.0
func NewLogBinding(ctx *pulumi.Context, name string, args *LogBindingArgs, opts ...pulumi.ResourceOption) (*LogBinding, error)
NewLogBinding registers a new resource with the given unique name, arguments, and options.
func (*LogBinding) ElementType ¶ added in v0.2.0
func (*LogBinding) ElementType() reflect.Type
func (*LogBinding) ToLogBindingOutput ¶ added in v0.2.0
func (i *LogBinding) ToLogBindingOutput() LogBindingOutput
func (*LogBinding) ToLogBindingOutputWithContext ¶ added in v0.2.0
func (i *LogBinding) ToLogBindingOutputWithContext(ctx context.Context) LogBindingOutput
type LogBindingArgs ¶ added in v0.2.0
type LogBindingArgs struct {
// The logstream id for this log binding.
LogstreamId pulumi.StringPtrInput
// The name for this log binding.
Name pulumi.StringInput
// The grok/json pattern for this log binding.
Pattern pulumi.StringInput
// The pattern type for this log binding. Accepted values: grok, json
PatternType pulumi.StringInput
// The specification id.
SpecId pulumi.StringInput
}
The set of arguments for constructing a LogBinding resource.
func (LogBindingArgs) ElementType ¶ added in v0.2.0
func (LogBindingArgs) ElementType() reflect.Type
type LogBindingArray ¶ added in v0.2.0
type LogBindingArray []LogBindingInput
func (LogBindingArray) ElementType ¶ added in v0.2.0
func (LogBindingArray) ElementType() reflect.Type
func (LogBindingArray) ToLogBindingArrayOutput ¶ added in v0.2.0
func (i LogBindingArray) ToLogBindingArrayOutput() LogBindingArrayOutput
func (LogBindingArray) ToLogBindingArrayOutputWithContext ¶ added in v0.2.0
func (i LogBindingArray) ToLogBindingArrayOutputWithContext(ctx context.Context) LogBindingArrayOutput
type LogBindingArrayInput ¶ added in v0.2.0
type LogBindingArrayInput interface {
pulumi.Input
ToLogBindingArrayOutput() LogBindingArrayOutput
ToLogBindingArrayOutputWithContext(context.Context) LogBindingArrayOutput
}
LogBindingArrayInput is an input type that accepts LogBindingArray and LogBindingArrayOutput values. You can construct a concrete instance of `LogBindingArrayInput` via:
LogBindingArray{ LogBindingArgs{...} }
type LogBindingArrayOutput ¶ added in v0.2.0
type LogBindingArrayOutput struct{ *pulumi.OutputState }
func (LogBindingArrayOutput) ElementType ¶ added in v0.2.0
func (LogBindingArrayOutput) ElementType() reflect.Type
func (LogBindingArrayOutput) Index ¶ added in v0.2.0
func (o LogBindingArrayOutput) Index(i pulumi.IntInput) LogBindingOutput
func (LogBindingArrayOutput) ToLogBindingArrayOutput ¶ added in v0.2.0
func (o LogBindingArrayOutput) ToLogBindingArrayOutput() LogBindingArrayOutput
func (LogBindingArrayOutput) ToLogBindingArrayOutputWithContext ¶ added in v0.2.0
func (o LogBindingArrayOutput) ToLogBindingArrayOutputWithContext(ctx context.Context) LogBindingArrayOutput
type LogBindingInput ¶ added in v0.2.0
type LogBindingInput interface {
pulumi.Input
ToLogBindingOutput() LogBindingOutput
ToLogBindingOutputWithContext(ctx context.Context) LogBindingOutput
}
type LogBindingMap ¶ added in v0.2.0
type LogBindingMap map[string]LogBindingInput
func (LogBindingMap) ElementType ¶ added in v0.2.0
func (LogBindingMap) ElementType() reflect.Type
func (LogBindingMap) ToLogBindingMapOutput ¶ added in v0.2.0
func (i LogBindingMap) ToLogBindingMapOutput() LogBindingMapOutput
func (LogBindingMap) ToLogBindingMapOutputWithContext ¶ added in v0.2.0
func (i LogBindingMap) ToLogBindingMapOutputWithContext(ctx context.Context) LogBindingMapOutput
type LogBindingMapInput ¶ added in v0.2.0
type LogBindingMapInput interface {
pulumi.Input
ToLogBindingMapOutput() LogBindingMapOutput
ToLogBindingMapOutputWithContext(context.Context) LogBindingMapOutput
}
LogBindingMapInput is an input type that accepts LogBindingMap and LogBindingMapOutput values. You can construct a concrete instance of `LogBindingMapInput` via:
LogBindingMap{ "key": LogBindingArgs{...} }
type LogBindingMapOutput ¶ added in v0.2.0
type LogBindingMapOutput struct{ *pulumi.OutputState }
func (LogBindingMapOutput) ElementType ¶ added in v0.2.0
func (LogBindingMapOutput) ElementType() reflect.Type
func (LogBindingMapOutput) MapIndex ¶ added in v0.2.0
func (o LogBindingMapOutput) MapIndex(k pulumi.StringInput) LogBindingOutput
func (LogBindingMapOutput) ToLogBindingMapOutput ¶ added in v0.2.0
func (o LogBindingMapOutput) ToLogBindingMapOutput() LogBindingMapOutput
func (LogBindingMapOutput) ToLogBindingMapOutputWithContext ¶ added in v0.2.0
func (o LogBindingMapOutput) ToLogBindingMapOutputWithContext(ctx context.Context) LogBindingMapOutput
type LogBindingOutput ¶ added in v0.2.0
type LogBindingOutput struct{ *pulumi.OutputState }
func (LogBindingOutput) ElementType ¶ added in v0.2.0
func (LogBindingOutput) ElementType() reflect.Type
func (LogBindingOutput) LogstreamId ¶ added in v0.2.0
func (o LogBindingOutput) LogstreamId() pulumi.StringPtrOutput
The logstream id for this log binding.
func (LogBindingOutput) Name ¶ added in v0.2.0
func (o LogBindingOutput) Name() pulumi.StringOutput
The name for this log binding.
func (LogBindingOutput) Pattern ¶ added in v0.3.0
func (o LogBindingOutput) Pattern() pulumi.StringOutput
The grok/json pattern for this log binding.
func (LogBindingOutput) PatternType ¶ added in v0.3.0
func (o LogBindingOutput) PatternType() pulumi.StringOutput
The pattern type for this log binding. Accepted values: grok, json
func (LogBindingOutput) SpecId ¶ added in v0.2.0
func (o LogBindingOutput) SpecId() pulumi.StringOutput
The specification id.
func (LogBindingOutput) ToLogBindingOutput ¶ added in v0.2.0
func (o LogBindingOutput) ToLogBindingOutput() LogBindingOutput
func (LogBindingOutput) ToLogBindingOutputWithContext ¶ added in v0.2.0
func (o LogBindingOutput) ToLogBindingOutputWithContext(ctx context.Context) LogBindingOutput
type LogBindingState ¶ added in v0.2.0
type LogBindingState struct {
// The logstream id for this log binding.
LogstreamId pulumi.StringPtrInput
// The name for this log binding.
Name pulumi.StringPtrInput
// The grok/json pattern for this log binding.
Pattern pulumi.StringPtrInput
// The pattern type for this log binding. Accepted values: grok, json
PatternType pulumi.StringPtrInput
// The specification id.
SpecId pulumi.StringPtrInput
}
func (LogBindingState) ElementType ¶ added in v0.2.0
func (LogBindingState) ElementType() reflect.Type
type LookupSpecArgs ¶
type LookupSpecArgs struct {
// Identifier for this specification.
Id string `pulumi:"id"`
}
A collection of arguments for invoking GetSpec.
type LookupSpecOutputArgs ¶
type LookupSpecOutputArgs struct {
// Identifier for this specification.
Id pulumi.StringInput `pulumi:"id"`
}
A collection of arguments for invoking GetSpec.
func (LookupSpecOutputArgs) ElementType ¶
func (LookupSpecOutputArgs) ElementType() reflect.Type
type LookupSpecResult ¶
type LookupSpecResult struct {
// Identifier for this specification.
Id string `pulumi:"id"`
// The name for this specification.
Name string `pulumi:"name"`
}
A collection of values returned by GetSpec.
func LookupSpec ¶
func LookupSpec(ctx *pulumi.Context, args *LookupSpecArgs, opts ...pulumi.InvokeOption) (*LookupSpecResult, error)
Manage a specification.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Read in an existing specification
_, err := impart.GetSpec(ctx, &impart.LookupSpecArgs{
Id: "<id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupSpecResultOutput ¶
type LookupSpecResultOutput struct{ *pulumi.OutputState }
A collection of values returned by GetSpec.
func LookupSpecOutput ¶
func LookupSpecOutput(ctx *pulumi.Context, args LookupSpecOutputArgs, opts ...pulumi.InvokeOption) LookupSpecResultOutput
func (LookupSpecResultOutput) ElementType ¶
func (LookupSpecResultOutput) ElementType() reflect.Type
func (LookupSpecResultOutput) Id ¶
func (o LookupSpecResultOutput) Id() pulumi.StringOutput
Identifier for this specification.
func (LookupSpecResultOutput) Name ¶
func (o LookupSpecResultOutput) Name() pulumi.StringOutput
The name for this specification.
func (LookupSpecResultOutput) ToLookupSpecResultOutput ¶
func (o LookupSpecResultOutput) ToLookupSpecResultOutput() LookupSpecResultOutput
func (LookupSpecResultOutput) ToLookupSpecResultOutputWithContext ¶
func (o LookupSpecResultOutput) ToLookupSpecResultOutputWithContext(ctx context.Context) LookupSpecResultOutput
type Monitor ¶ added in v0.4.0
type Monitor struct {
pulumi.CustomResourceState
// An array of conditions for which the monitor will trigger.
Conditions MonitorConditionArrayOutput `pulumi:"conditions"`
// The description for this monitor.
Description pulumi.StringOutput `pulumi:"description"`
// The applied labels.
Labels pulumi.StringArrayOutput `pulumi:"labels"`
// The name for this monitor.
Name pulumi.StringOutput `pulumi:"name"`
// Each message this monitor sends when it fires, and its destination.
Notifications MonitorNotificationArrayOutput `pulumi:"notifications"`
}
Manage a monitor.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new event monitor
_, err := impart.NewMonitor(ctx, "test_event", &impart.MonitorArgs{
Name: pulumi.String("terraform_event_monitor"),
Description: pulumi.String("test event monitor"),
Notifications: impart.MonitorNotificationArray{
&impart.MonitorNotificationArgs{
NotificationTemplateId: pulumi.Any(impartNotificationTemplate.Example.Id),
ConnectorId: pulumi.String("<example_connector.id>"),
Destination: pulumi.String("<example_destination>"),
},
},
Conditions: impart.MonitorConditionArray{
&impart.MonitorConditionArgs{
Threshold: pulumi.Int(1),
Comparator: pulumi.String("gt"),
TimePeriod: pulumi.Int(60000),
Delay: pulumi.Int(0),
Details: &impart.MonitorConditionDetailsArgs{
Type: pulumi.String("event"),
Action: pulumi.String("api_access_token_created"),
SubjectType: pulumi.String("api_access_token_id"),
ActorType: pulumi.String("user_id"),
},
},
},
})
if err != nil {
return err
}
// Create a new metric monitor
_, err = impart.NewMonitor(ctx, "test_metric", &impart.MonitorArgs{
Name: pulumi.String("terraform_event_monitor"),
Description: pulumi.String("test event monitor"),
Notifications: impart.MonitorNotificationArray{
&impart.MonitorNotificationArgs{
NotificationTemplateId: pulumi.Any(impartNotificationTemplate.Example.Id),
ConnectorId: pulumi.String("<example_connector.id>"),
Destination: pulumi.String("<example_destination>"),
},
},
Conditions: impart.MonitorConditionArray{
&impart.MonitorConditionArgs{
Threshold: pulumi.Int(1),
Comparator: pulumi.String("lt"),
TimePeriod: pulumi.Int(60000),
Delay: pulumi.Int(0),
Details: &impart.MonitorConditionDetailsArgs{
Type: pulumi.String("metric"),
Tag: pulumi.String("http-request"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
```
func GetMonitor ¶ added in v0.4.0
func GetMonitor(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MonitorState, opts ...pulumi.ResourceOption) (*Monitor, error)
GetMonitor gets an existing Monitor 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 NewMonitor ¶ added in v0.4.0
func NewMonitor(ctx *pulumi.Context, name string, args *MonitorArgs, opts ...pulumi.ResourceOption) (*Monitor, error)
NewMonitor registers a new resource with the given unique name, arguments, and options.
func (*Monitor) ElementType ¶ added in v0.4.0
func (*Monitor) ToMonitorOutput ¶ added in v0.4.0
func (i *Monitor) ToMonitorOutput() MonitorOutput
func (*Monitor) ToMonitorOutputWithContext ¶ added in v0.4.0
func (i *Monitor) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
type MonitorArgs ¶ added in v0.4.0
type MonitorArgs struct {
// An array of conditions for which the monitor will trigger.
Conditions MonitorConditionArrayInput
// The description for this monitor.
Description pulumi.StringInput
// The applied labels.
Labels pulumi.StringArrayInput
// The name for this monitor.
Name pulumi.StringInput
// Each message this monitor sends when it fires, and its destination.
Notifications MonitorNotificationArrayInput
}
The set of arguments for constructing a Monitor resource.
func (MonitorArgs) ElementType ¶ added in v0.4.0
func (MonitorArgs) ElementType() reflect.Type
type MonitorArray ¶ added in v0.4.0
type MonitorArray []MonitorInput
func (MonitorArray) ElementType ¶ added in v0.4.0
func (MonitorArray) ElementType() reflect.Type
func (MonitorArray) ToMonitorArrayOutput ¶ added in v0.4.0
func (i MonitorArray) ToMonitorArrayOutput() MonitorArrayOutput
func (MonitorArray) ToMonitorArrayOutputWithContext ¶ added in v0.4.0
func (i MonitorArray) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput
type MonitorArrayInput ¶ added in v0.4.0
type MonitorArrayInput interface {
pulumi.Input
ToMonitorArrayOutput() MonitorArrayOutput
ToMonitorArrayOutputWithContext(context.Context) MonitorArrayOutput
}
MonitorArrayInput is an input type that accepts MonitorArray and MonitorArrayOutput values. You can construct a concrete instance of `MonitorArrayInput` via:
MonitorArray{ MonitorArgs{...} }
type MonitorArrayOutput ¶ added in v0.4.0
type MonitorArrayOutput struct{ *pulumi.OutputState }
func (MonitorArrayOutput) ElementType ¶ added in v0.4.0
func (MonitorArrayOutput) ElementType() reflect.Type
func (MonitorArrayOutput) Index ¶ added in v0.4.0
func (o MonitorArrayOutput) Index(i pulumi.IntInput) MonitorOutput
func (MonitorArrayOutput) ToMonitorArrayOutput ¶ added in v0.4.0
func (o MonitorArrayOutput) ToMonitorArrayOutput() MonitorArrayOutput
func (MonitorArrayOutput) ToMonitorArrayOutputWithContext ¶ added in v0.4.0
func (o MonitorArrayOutput) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput
type MonitorCondition ¶ added in v0.4.0
type MonitorCondition struct {
// Greater than, equal to, or less than (should be one of 'gt', 'lt', or 'eq')
Comparator string `pulumi:"comparator"`
// In milliseconds, the offset from now() for the time window.
Delay int `pulumi:"delay"`
Details MonitorConditionDetails `pulumi:"details"`
// Number of occurrences that need to execute to have this condition be true.
Threshold int `pulumi:"threshold"`
// In milliseconds, the time span from now until when we should be counting events (for example, 60000 is all events in the last minute).
TimePeriod int `pulumi:"timePeriod"`
}
type MonitorConditionArgs ¶ added in v0.4.0
type MonitorConditionArgs struct {
// Greater than, equal to, or less than (should be one of 'gt', 'lt', or 'eq')
Comparator pulumi.StringInput `pulumi:"comparator"`
// In milliseconds, the offset from now() for the time window.
Delay pulumi.IntInput `pulumi:"delay"`
Details MonitorConditionDetailsInput `pulumi:"details"`
// Number of occurrences that need to execute to have this condition be true.
Threshold pulumi.IntInput `pulumi:"threshold"`
// In milliseconds, the time span from now until when we should be counting events (for example, 60000 is all events in the last minute).
TimePeriod pulumi.IntInput `pulumi:"timePeriod"`
}
func (MonitorConditionArgs) ElementType ¶ added in v0.4.0
func (MonitorConditionArgs) ElementType() reflect.Type
func (MonitorConditionArgs) ToMonitorConditionOutput ¶ added in v0.4.0
func (i MonitorConditionArgs) ToMonitorConditionOutput() MonitorConditionOutput
func (MonitorConditionArgs) ToMonitorConditionOutputWithContext ¶ added in v0.4.0
func (i MonitorConditionArgs) ToMonitorConditionOutputWithContext(ctx context.Context) MonitorConditionOutput
type MonitorConditionArray ¶ added in v0.4.0
type MonitorConditionArray []MonitorConditionInput
func (MonitorConditionArray) ElementType ¶ added in v0.4.0
func (MonitorConditionArray) ElementType() reflect.Type
func (MonitorConditionArray) ToMonitorConditionArrayOutput ¶ added in v0.4.0
func (i MonitorConditionArray) ToMonitorConditionArrayOutput() MonitorConditionArrayOutput
func (MonitorConditionArray) ToMonitorConditionArrayOutputWithContext ¶ added in v0.4.0
func (i MonitorConditionArray) ToMonitorConditionArrayOutputWithContext(ctx context.Context) MonitorConditionArrayOutput
type MonitorConditionArrayInput ¶ added in v0.4.0
type MonitorConditionArrayInput interface {
pulumi.Input
ToMonitorConditionArrayOutput() MonitorConditionArrayOutput
ToMonitorConditionArrayOutputWithContext(context.Context) MonitorConditionArrayOutput
}
MonitorConditionArrayInput is an input type that accepts MonitorConditionArray and MonitorConditionArrayOutput values. You can construct a concrete instance of `MonitorConditionArrayInput` via:
MonitorConditionArray{ MonitorConditionArgs{...} }
type MonitorConditionArrayOutput ¶ added in v0.4.0
type MonitorConditionArrayOutput struct{ *pulumi.OutputState }
func (MonitorConditionArrayOutput) ElementType ¶ added in v0.4.0
func (MonitorConditionArrayOutput) ElementType() reflect.Type
func (MonitorConditionArrayOutput) Index ¶ added in v0.4.0
func (o MonitorConditionArrayOutput) Index(i pulumi.IntInput) MonitorConditionOutput
func (MonitorConditionArrayOutput) ToMonitorConditionArrayOutput ¶ added in v0.4.0
func (o MonitorConditionArrayOutput) ToMonitorConditionArrayOutput() MonitorConditionArrayOutput
func (MonitorConditionArrayOutput) ToMonitorConditionArrayOutputWithContext ¶ added in v0.4.0
func (o MonitorConditionArrayOutput) ToMonitorConditionArrayOutputWithContext(ctx context.Context) MonitorConditionArrayOutput
type MonitorConditionDetails ¶ added in v0.4.0
type MonitorConditionDetails struct {
// Strictly for event type monitors. A slug of the action the monitor is tracking.
Action *string `pulumi:"action"`
// Strictly for event type monitors. A slug of the actor type the monitor is tracking.
ActorType *string `pulumi:"actorType"`
// Strictly for event type monitors. A slug of the subject type the monitor is tracking.
SubjectType *string `pulumi:"subjectType"`
// Strictly for metric type monitors. The tag the monitor is tracking.
Tag *string `pulumi:"tag"`
// The type of monitor (should be one of 'event' or 'metric'
Type string `pulumi:"type"`
}
type MonitorConditionDetailsArgs ¶ added in v0.4.0
type MonitorConditionDetailsArgs struct {
// Strictly for event type monitors. A slug of the action the monitor is tracking.
Action pulumi.StringPtrInput `pulumi:"action"`
// Strictly for event type monitors. A slug of the actor type the monitor is tracking.
ActorType pulumi.StringPtrInput `pulumi:"actorType"`
// Strictly for event type monitors. A slug of the subject type the monitor is tracking.
SubjectType pulumi.StringPtrInput `pulumi:"subjectType"`
// Strictly for metric type monitors. The tag the monitor is tracking.
Tag pulumi.StringPtrInput `pulumi:"tag"`
// The type of monitor (should be one of 'event' or 'metric'
Type pulumi.StringInput `pulumi:"type"`
}
func (MonitorConditionDetailsArgs) ElementType ¶ added in v0.4.0
func (MonitorConditionDetailsArgs) ElementType() reflect.Type
func (MonitorConditionDetailsArgs) ToMonitorConditionDetailsOutput ¶ added in v0.4.0
func (i MonitorConditionDetailsArgs) ToMonitorConditionDetailsOutput() MonitorConditionDetailsOutput
func (MonitorConditionDetailsArgs) ToMonitorConditionDetailsOutputWithContext ¶ added in v0.4.0
func (i MonitorConditionDetailsArgs) ToMonitorConditionDetailsOutputWithContext(ctx context.Context) MonitorConditionDetailsOutput
type MonitorConditionDetailsInput ¶ added in v0.4.0
type MonitorConditionDetailsInput interface {
pulumi.Input
ToMonitorConditionDetailsOutput() MonitorConditionDetailsOutput
ToMonitorConditionDetailsOutputWithContext(context.Context) MonitorConditionDetailsOutput
}
MonitorConditionDetailsInput is an input type that accepts MonitorConditionDetailsArgs and MonitorConditionDetailsOutput values. You can construct a concrete instance of `MonitorConditionDetailsInput` via:
MonitorConditionDetailsArgs{...}
type MonitorConditionDetailsOutput ¶ added in v0.4.0
type MonitorConditionDetailsOutput struct{ *pulumi.OutputState }
func (MonitorConditionDetailsOutput) Action ¶ added in v0.4.0
func (o MonitorConditionDetailsOutput) Action() pulumi.StringPtrOutput
Strictly for event type monitors. A slug of the action the monitor is tracking.
func (MonitorConditionDetailsOutput) ActorType ¶ added in v0.4.0
func (o MonitorConditionDetailsOutput) ActorType() pulumi.StringPtrOutput
Strictly for event type monitors. A slug of the actor type the monitor is tracking.
func (MonitorConditionDetailsOutput) ElementType ¶ added in v0.4.0
func (MonitorConditionDetailsOutput) ElementType() reflect.Type
func (MonitorConditionDetailsOutput) SubjectType ¶ added in v0.4.0
func (o MonitorConditionDetailsOutput) SubjectType() pulumi.StringPtrOutput
Strictly for event type monitors. A slug of the subject type the monitor is tracking.
func (MonitorConditionDetailsOutput) Tag ¶ added in v0.4.0
func (o MonitorConditionDetailsOutput) Tag() pulumi.StringPtrOutput
Strictly for metric type monitors. The tag the monitor is tracking.
func (MonitorConditionDetailsOutput) ToMonitorConditionDetailsOutput ¶ added in v0.4.0
func (o MonitorConditionDetailsOutput) ToMonitorConditionDetailsOutput() MonitorConditionDetailsOutput
func (MonitorConditionDetailsOutput) ToMonitorConditionDetailsOutputWithContext ¶ added in v0.4.0
func (o MonitorConditionDetailsOutput) ToMonitorConditionDetailsOutputWithContext(ctx context.Context) MonitorConditionDetailsOutput
func (MonitorConditionDetailsOutput) Type ¶ added in v0.4.0
func (o MonitorConditionDetailsOutput) Type() pulumi.StringOutput
The type of monitor (should be one of 'event' or 'metric'
type MonitorConditionInput ¶ added in v0.4.0
type MonitorConditionInput interface {
pulumi.Input
ToMonitorConditionOutput() MonitorConditionOutput
ToMonitorConditionOutputWithContext(context.Context) MonitorConditionOutput
}
MonitorConditionInput is an input type that accepts MonitorConditionArgs and MonitorConditionOutput values. You can construct a concrete instance of `MonitorConditionInput` via:
MonitorConditionArgs{...}
type MonitorConditionOutput ¶ added in v0.4.0
type MonitorConditionOutput struct{ *pulumi.OutputState }
func (MonitorConditionOutput) Comparator ¶ added in v0.4.0
func (o MonitorConditionOutput) Comparator() pulumi.StringOutput
Greater than, equal to, or less than (should be one of 'gt', 'lt', or 'eq')
func (MonitorConditionOutput) Delay ¶ added in v0.4.0
func (o MonitorConditionOutput) Delay() pulumi.IntOutput
In milliseconds, the offset from now() for the time window.
func (MonitorConditionOutput) Details ¶ added in v0.4.0
func (o MonitorConditionOutput) Details() MonitorConditionDetailsOutput
func (MonitorConditionOutput) ElementType ¶ added in v0.4.0
func (MonitorConditionOutput) ElementType() reflect.Type
func (MonitorConditionOutput) Threshold ¶ added in v0.4.0
func (o MonitorConditionOutput) Threshold() pulumi.IntOutput
Number of occurrences that need to execute to have this condition be true.
func (MonitorConditionOutput) TimePeriod ¶ added in v0.4.0
func (o MonitorConditionOutput) TimePeriod() pulumi.IntOutput
In milliseconds, the time span from now until when we should be counting events (for example, 60000 is all events in the last minute).
func (MonitorConditionOutput) ToMonitorConditionOutput ¶ added in v0.4.0
func (o MonitorConditionOutput) ToMonitorConditionOutput() MonitorConditionOutput
func (MonitorConditionOutput) ToMonitorConditionOutputWithContext ¶ added in v0.4.0
func (o MonitorConditionOutput) ToMonitorConditionOutputWithContext(ctx context.Context) MonitorConditionOutput
type MonitorInput ¶ added in v0.4.0
type MonitorInput interface {
pulumi.Input
ToMonitorOutput() MonitorOutput
ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
}
type MonitorMap ¶ added in v0.4.0
type MonitorMap map[string]MonitorInput
func (MonitorMap) ElementType ¶ added in v0.4.0
func (MonitorMap) ElementType() reflect.Type
func (MonitorMap) ToMonitorMapOutput ¶ added in v0.4.0
func (i MonitorMap) ToMonitorMapOutput() MonitorMapOutput
func (MonitorMap) ToMonitorMapOutputWithContext ¶ added in v0.4.0
func (i MonitorMap) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput
type MonitorMapInput ¶ added in v0.4.0
type MonitorMapInput interface {
pulumi.Input
ToMonitorMapOutput() MonitorMapOutput
ToMonitorMapOutputWithContext(context.Context) MonitorMapOutput
}
MonitorMapInput is an input type that accepts MonitorMap and MonitorMapOutput values. You can construct a concrete instance of `MonitorMapInput` via:
MonitorMap{ "key": MonitorArgs{...} }
type MonitorMapOutput ¶ added in v0.4.0
type MonitorMapOutput struct{ *pulumi.OutputState }
func (MonitorMapOutput) ElementType ¶ added in v0.4.0
func (MonitorMapOutput) ElementType() reflect.Type
func (MonitorMapOutput) MapIndex ¶ added in v0.4.0
func (o MonitorMapOutput) MapIndex(k pulumi.StringInput) MonitorOutput
func (MonitorMapOutput) ToMonitorMapOutput ¶ added in v0.4.0
func (o MonitorMapOutput) ToMonitorMapOutput() MonitorMapOutput
func (MonitorMapOutput) ToMonitorMapOutputWithContext ¶ added in v0.4.0
func (o MonitorMapOutput) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput
type MonitorNotification ¶ added in v0.12.0
type MonitorNotification struct {
// The id of the connector to send the notification through.
ConnectorId string `pulumi:"connectorId"`
// Where the notification is delivered (for example, a channel or address). Interpreted by the connector.
Destination *string `pulumi:"destination"`
// The id of the notification template to send.
NotificationTemplateId string `pulumi:"notificationTemplateId"`
}
type MonitorNotificationArgs ¶ added in v0.12.0
type MonitorNotificationArgs struct {
// The id of the connector to send the notification through.
ConnectorId pulumi.StringInput `pulumi:"connectorId"`
// Where the notification is delivered (for example, a channel or address). Interpreted by the connector.
Destination pulumi.StringPtrInput `pulumi:"destination"`
// The id of the notification template to send.
NotificationTemplateId pulumi.StringInput `pulumi:"notificationTemplateId"`
}
func (MonitorNotificationArgs) ElementType ¶ added in v0.12.0
func (MonitorNotificationArgs) ElementType() reflect.Type
func (MonitorNotificationArgs) ToMonitorNotificationOutput ¶ added in v0.12.0
func (i MonitorNotificationArgs) ToMonitorNotificationOutput() MonitorNotificationOutput
func (MonitorNotificationArgs) ToMonitorNotificationOutputWithContext ¶ added in v0.12.0
func (i MonitorNotificationArgs) ToMonitorNotificationOutputWithContext(ctx context.Context) MonitorNotificationOutput
type MonitorNotificationArray ¶ added in v0.12.0
type MonitorNotificationArray []MonitorNotificationInput
func (MonitorNotificationArray) ElementType ¶ added in v0.12.0
func (MonitorNotificationArray) ElementType() reflect.Type
func (MonitorNotificationArray) ToMonitorNotificationArrayOutput ¶ added in v0.12.0
func (i MonitorNotificationArray) ToMonitorNotificationArrayOutput() MonitorNotificationArrayOutput
func (MonitorNotificationArray) ToMonitorNotificationArrayOutputWithContext ¶ added in v0.12.0
func (i MonitorNotificationArray) ToMonitorNotificationArrayOutputWithContext(ctx context.Context) MonitorNotificationArrayOutput
type MonitorNotificationArrayInput ¶ added in v0.12.0
type MonitorNotificationArrayInput interface {
pulumi.Input
ToMonitorNotificationArrayOutput() MonitorNotificationArrayOutput
ToMonitorNotificationArrayOutputWithContext(context.Context) MonitorNotificationArrayOutput
}
MonitorNotificationArrayInput is an input type that accepts MonitorNotificationArray and MonitorNotificationArrayOutput values. You can construct a concrete instance of `MonitorNotificationArrayInput` via:
MonitorNotificationArray{ MonitorNotificationArgs{...} }
type MonitorNotificationArrayOutput ¶ added in v0.12.0
type MonitorNotificationArrayOutput struct{ *pulumi.OutputState }
func (MonitorNotificationArrayOutput) ElementType ¶ added in v0.12.0
func (MonitorNotificationArrayOutput) ElementType() reflect.Type
func (MonitorNotificationArrayOutput) Index ¶ added in v0.12.0
func (o MonitorNotificationArrayOutput) Index(i pulumi.IntInput) MonitorNotificationOutput
func (MonitorNotificationArrayOutput) ToMonitorNotificationArrayOutput ¶ added in v0.12.0
func (o MonitorNotificationArrayOutput) ToMonitorNotificationArrayOutput() MonitorNotificationArrayOutput
func (MonitorNotificationArrayOutput) ToMonitorNotificationArrayOutputWithContext ¶ added in v0.12.0
func (o MonitorNotificationArrayOutput) ToMonitorNotificationArrayOutputWithContext(ctx context.Context) MonitorNotificationArrayOutput
type MonitorNotificationInput ¶ added in v0.12.0
type MonitorNotificationInput interface {
pulumi.Input
ToMonitorNotificationOutput() MonitorNotificationOutput
ToMonitorNotificationOutputWithContext(context.Context) MonitorNotificationOutput
}
MonitorNotificationInput is an input type that accepts MonitorNotificationArgs and MonitorNotificationOutput values. You can construct a concrete instance of `MonitorNotificationInput` via:
MonitorNotificationArgs{...}
type MonitorNotificationOutput ¶ added in v0.12.0
type MonitorNotificationOutput struct{ *pulumi.OutputState }
func (MonitorNotificationOutput) ConnectorId ¶ added in v0.12.0
func (o MonitorNotificationOutput) ConnectorId() pulumi.StringOutput
The id of the connector to send the notification through.
func (MonitorNotificationOutput) Destination ¶ added in v0.12.0
func (o MonitorNotificationOutput) Destination() pulumi.StringPtrOutput
Where the notification is delivered (for example, a channel or address). Interpreted by the connector.
func (MonitorNotificationOutput) ElementType ¶ added in v0.12.0
func (MonitorNotificationOutput) ElementType() reflect.Type
func (MonitorNotificationOutput) NotificationTemplateId ¶ added in v0.12.0
func (o MonitorNotificationOutput) NotificationTemplateId() pulumi.StringOutput
The id of the notification template to send.
func (MonitorNotificationOutput) ToMonitorNotificationOutput ¶ added in v0.12.0
func (o MonitorNotificationOutput) ToMonitorNotificationOutput() MonitorNotificationOutput
func (MonitorNotificationOutput) ToMonitorNotificationOutputWithContext ¶ added in v0.12.0
func (o MonitorNotificationOutput) ToMonitorNotificationOutputWithContext(ctx context.Context) MonitorNotificationOutput
type MonitorOutput ¶ added in v0.4.0
type MonitorOutput struct{ *pulumi.OutputState }
func (MonitorOutput) Conditions ¶ added in v0.4.0
func (o MonitorOutput) Conditions() MonitorConditionArrayOutput
An array of conditions for which the monitor will trigger.
func (MonitorOutput) Description ¶ added in v0.4.0
func (o MonitorOutput) Description() pulumi.StringOutput
The description for this monitor.
func (MonitorOutput) ElementType ¶ added in v0.4.0
func (MonitorOutput) ElementType() reflect.Type
func (MonitorOutput) Labels ¶ added in v0.8.0
func (o MonitorOutput) Labels() pulumi.StringArrayOutput
The applied labels.
func (MonitorOutput) Name ¶ added in v0.4.0
func (o MonitorOutput) Name() pulumi.StringOutput
The name for this monitor.
func (MonitorOutput) Notifications ¶ added in v0.12.0
func (o MonitorOutput) Notifications() MonitorNotificationArrayOutput
Each message this monitor sends when it fires, and its destination.
func (MonitorOutput) ToMonitorOutput ¶ added in v0.4.0
func (o MonitorOutput) ToMonitorOutput() MonitorOutput
func (MonitorOutput) ToMonitorOutputWithContext ¶ added in v0.4.0
func (o MonitorOutput) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
type MonitorState ¶ added in v0.4.0
type MonitorState struct {
// An array of conditions for which the monitor will trigger.
Conditions MonitorConditionArrayInput
// The description for this monitor.
Description pulumi.StringPtrInput
// The applied labels.
Labels pulumi.StringArrayInput
// The name for this monitor.
Name pulumi.StringPtrInput
// Each message this monitor sends when it fires, and its destination.
Notifications MonitorNotificationArrayInput
}
func (MonitorState) ElementType ¶ added in v0.4.0
func (MonitorState) ElementType() reflect.Type
type NotificationTemplate ¶ added in v0.4.0
type NotificationTemplate struct {
pulumi.CustomResourceState
// The name for this notification template.
Name pulumi.StringOutput `pulumi:"name"`
// The payload message that will be sent to the Third Party API.
Payload pulumi.StringOutput `pulumi:"payload"`
// The subject message that will be sent to the Third Party API.
Subject pulumi.StringOutput `pulumi:"subject"`
}
Manage an notification template.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new notification template
//
// A notification template is message-only: name, subject, and payload. The connector
// and destination it is delivered through are set on a monitor's notifications, not here.
_, err := impart.NewNotificationTemplate(ctx, "example", &impart.NotificationTemplateArgs{
Name: pulumi.String("notification_template_example"),
Payload: pulumi.String("This is a test message payload"),
Subject: pulumi.String("Test subject"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetNotificationTemplate ¶ added in v0.4.0
func GetNotificationTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationTemplateState, opts ...pulumi.ResourceOption) (*NotificationTemplate, error)
GetNotificationTemplate gets an existing NotificationTemplate 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 NewNotificationTemplate ¶ added in v0.4.0
func NewNotificationTemplate(ctx *pulumi.Context, name string, args *NotificationTemplateArgs, opts ...pulumi.ResourceOption) (*NotificationTemplate, error)
NewNotificationTemplate registers a new resource with the given unique name, arguments, and options.
func (*NotificationTemplate) ElementType ¶ added in v0.4.0
func (*NotificationTemplate) ElementType() reflect.Type
func (*NotificationTemplate) ToNotificationTemplateOutput ¶ added in v0.4.0
func (i *NotificationTemplate) ToNotificationTemplateOutput() NotificationTemplateOutput
func (*NotificationTemplate) ToNotificationTemplateOutputWithContext ¶ added in v0.4.0
func (i *NotificationTemplate) ToNotificationTemplateOutputWithContext(ctx context.Context) NotificationTemplateOutput
type NotificationTemplateArgs ¶ added in v0.4.0
type NotificationTemplateArgs struct {
// The name for this notification template.
Name pulumi.StringInput
// The payload message that will be sent to the Third Party API.
Payload pulumi.StringInput
// The subject message that will be sent to the Third Party API.
Subject pulumi.StringInput
}
The set of arguments for constructing a NotificationTemplate resource.
func (NotificationTemplateArgs) ElementType ¶ added in v0.4.0
func (NotificationTemplateArgs) ElementType() reflect.Type
type NotificationTemplateArray ¶ added in v0.4.0
type NotificationTemplateArray []NotificationTemplateInput
func (NotificationTemplateArray) ElementType ¶ added in v0.4.0
func (NotificationTemplateArray) ElementType() reflect.Type
func (NotificationTemplateArray) ToNotificationTemplateArrayOutput ¶ added in v0.4.0
func (i NotificationTemplateArray) ToNotificationTemplateArrayOutput() NotificationTemplateArrayOutput
func (NotificationTemplateArray) ToNotificationTemplateArrayOutputWithContext ¶ added in v0.4.0
func (i NotificationTemplateArray) ToNotificationTemplateArrayOutputWithContext(ctx context.Context) NotificationTemplateArrayOutput
type NotificationTemplateArrayInput ¶ added in v0.4.0
type NotificationTemplateArrayInput interface {
pulumi.Input
ToNotificationTemplateArrayOutput() NotificationTemplateArrayOutput
ToNotificationTemplateArrayOutputWithContext(context.Context) NotificationTemplateArrayOutput
}
NotificationTemplateArrayInput is an input type that accepts NotificationTemplateArray and NotificationTemplateArrayOutput values. You can construct a concrete instance of `NotificationTemplateArrayInput` via:
NotificationTemplateArray{ NotificationTemplateArgs{...} }
type NotificationTemplateArrayOutput ¶ added in v0.4.0
type NotificationTemplateArrayOutput struct{ *pulumi.OutputState }
func (NotificationTemplateArrayOutput) ElementType ¶ added in v0.4.0
func (NotificationTemplateArrayOutput) ElementType() reflect.Type
func (NotificationTemplateArrayOutput) Index ¶ added in v0.4.0
func (o NotificationTemplateArrayOutput) Index(i pulumi.IntInput) NotificationTemplateOutput
func (NotificationTemplateArrayOutput) ToNotificationTemplateArrayOutput ¶ added in v0.4.0
func (o NotificationTemplateArrayOutput) ToNotificationTemplateArrayOutput() NotificationTemplateArrayOutput
func (NotificationTemplateArrayOutput) ToNotificationTemplateArrayOutputWithContext ¶ added in v0.4.0
func (o NotificationTemplateArrayOutput) ToNotificationTemplateArrayOutputWithContext(ctx context.Context) NotificationTemplateArrayOutput
type NotificationTemplateInput ¶ added in v0.4.0
type NotificationTemplateInput interface {
pulumi.Input
ToNotificationTemplateOutput() NotificationTemplateOutput
ToNotificationTemplateOutputWithContext(ctx context.Context) NotificationTemplateOutput
}
type NotificationTemplateMap ¶ added in v0.4.0
type NotificationTemplateMap map[string]NotificationTemplateInput
func (NotificationTemplateMap) ElementType ¶ added in v0.4.0
func (NotificationTemplateMap) ElementType() reflect.Type
func (NotificationTemplateMap) ToNotificationTemplateMapOutput ¶ added in v0.4.0
func (i NotificationTemplateMap) ToNotificationTemplateMapOutput() NotificationTemplateMapOutput
func (NotificationTemplateMap) ToNotificationTemplateMapOutputWithContext ¶ added in v0.4.0
func (i NotificationTemplateMap) ToNotificationTemplateMapOutputWithContext(ctx context.Context) NotificationTemplateMapOutput
type NotificationTemplateMapInput ¶ added in v0.4.0
type NotificationTemplateMapInput interface {
pulumi.Input
ToNotificationTemplateMapOutput() NotificationTemplateMapOutput
ToNotificationTemplateMapOutputWithContext(context.Context) NotificationTemplateMapOutput
}
NotificationTemplateMapInput is an input type that accepts NotificationTemplateMap and NotificationTemplateMapOutput values. You can construct a concrete instance of `NotificationTemplateMapInput` via:
NotificationTemplateMap{ "key": NotificationTemplateArgs{...} }
type NotificationTemplateMapOutput ¶ added in v0.4.0
type NotificationTemplateMapOutput struct{ *pulumi.OutputState }
func (NotificationTemplateMapOutput) ElementType ¶ added in v0.4.0
func (NotificationTemplateMapOutput) ElementType() reflect.Type
func (NotificationTemplateMapOutput) MapIndex ¶ added in v0.4.0
func (o NotificationTemplateMapOutput) MapIndex(k pulumi.StringInput) NotificationTemplateOutput
func (NotificationTemplateMapOutput) ToNotificationTemplateMapOutput ¶ added in v0.4.0
func (o NotificationTemplateMapOutput) ToNotificationTemplateMapOutput() NotificationTemplateMapOutput
func (NotificationTemplateMapOutput) ToNotificationTemplateMapOutputWithContext ¶ added in v0.4.0
func (o NotificationTemplateMapOutput) ToNotificationTemplateMapOutputWithContext(ctx context.Context) NotificationTemplateMapOutput
type NotificationTemplateOutput ¶ added in v0.4.0
type NotificationTemplateOutput struct{ *pulumi.OutputState }
func (NotificationTemplateOutput) ElementType ¶ added in v0.4.0
func (NotificationTemplateOutput) ElementType() reflect.Type
func (NotificationTemplateOutput) Name ¶ added in v0.4.0
func (o NotificationTemplateOutput) Name() pulumi.StringOutput
The name for this notification template.
func (NotificationTemplateOutput) Payload ¶ added in v0.4.0
func (o NotificationTemplateOutput) Payload() pulumi.StringOutput
The payload message that will be sent to the Third Party API.
func (NotificationTemplateOutput) Subject ¶ added in v0.4.0
func (o NotificationTemplateOutput) Subject() pulumi.StringOutput
The subject message that will be sent to the Third Party API.
func (NotificationTemplateOutput) ToNotificationTemplateOutput ¶ added in v0.4.0
func (o NotificationTemplateOutput) ToNotificationTemplateOutput() NotificationTemplateOutput
func (NotificationTemplateOutput) ToNotificationTemplateOutputWithContext ¶ added in v0.4.0
func (o NotificationTemplateOutput) ToNotificationTemplateOutputWithContext(ctx context.Context) NotificationTemplateOutput
type NotificationTemplateState ¶ added in v0.4.0
type NotificationTemplateState struct {
// The name for this notification template.
Name pulumi.StringPtrInput
// The payload message that will be sent to the Third Party API.
Payload pulumi.StringPtrInput
// The subject message that will be sent to the Third Party API.
Subject pulumi.StringPtrInput
}
func (NotificationTemplateState) ElementType ¶ added in v0.4.0
func (NotificationTemplateState) ElementType() reflect.Type
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
// The Impart api endpoint
Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"`
// The Impart api token
Token pulumi.StringPtrOutput `pulumi:"token"`
}
The provider type for the impart package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) TerraformConfig ¶ added in v0.11.0
func (r *Provider) TerraformConfig(ctx *pulumi.Context) (ProviderTerraformConfigResultOutput, error)
This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct {
// The Impart api endpoint
Endpoint pulumi.StringPtrInput
// The Impart api token
Token pulumi.StringPtrInput
}
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface {
pulumi.Input
ToProviderOutput() ProviderOutput
ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Endpoint ¶
func (o ProviderOutput) Endpoint() pulumi.StringPtrOutput
The Impart api endpoint
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶
func (o ProviderOutput) Token() pulumi.StringPtrOutput
The Impart api token
type ProviderTerraformConfigResult ¶ added in v0.11.0
type ProviderTerraformConfigResult struct {
Result map[string]interface{} `pulumi:"result"`
}
type ProviderTerraformConfigResultOutput ¶ added in v0.11.0
type ProviderTerraformConfigResultOutput struct{ *pulumi.OutputState }
func (ProviderTerraformConfigResultOutput) ElementType ¶ added in v0.11.0
func (ProviderTerraformConfigResultOutput) ElementType() reflect.Type
func (ProviderTerraformConfigResultOutput) Result ¶ added in v0.11.0
func (o ProviderTerraformConfigResultOutput) Result() pulumi.MapOutput
type Rule ¶ added in v0.10.0
type Rule struct {
pulumi.CustomResourceState
// The rule blocking effect. Allowed values: block, simulate. If not set effect will be block.
BlockingEffect pulumi.StringPtrOutput `pulumi:"blockingEffect"`
// The rule body content.
Content pulumi.StringPtrOutput `pulumi:"content"`
// The description for this rule.
Description pulumi.StringPtrOutput `pulumi:"description"`
// Set true to disable the rule.
Disabled pulumi.BoolOutput `pulumi:"disabled"`
// The applied labels.
Labels pulumi.StringArrayOutput `pulumi:"labels"`
// The name for this rule.
Name pulumi.StringOutput `pulumi:"name"`
// The rule source file.
SourceFile pulumi.StringPtrOutput `pulumi:"sourceFile"`
// The rule source hash.
SourceHash pulumi.StringPtrOutput `pulumi:"sourceHash"`
// The type of the rule. Allowed values: script, recipe.
Type pulumi.StringOutput `pulumi:"type"`
}
Manage a rule.
func GetRule ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (*Rule) ToRuleOutput ¶ added in v0.10.0
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶ added in v0.10.0
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleArgs ¶ added in v0.10.0
type RuleArgs struct {
// The rule blocking effect. Allowed values: block, simulate. If not set effect will be block.
BlockingEffect pulumi.StringPtrInput
// The rule body content.
Content pulumi.StringPtrInput
// The description for this rule.
Description pulumi.StringPtrInput
// Set true to disable the rule.
Disabled pulumi.BoolInput
// The applied labels.
Labels pulumi.StringArrayInput
// The name for this rule.
Name pulumi.StringInput
// The rule source file.
SourceFile pulumi.StringPtrInput
// The rule source hash.
SourceHash pulumi.StringPtrInput
// The type of the rule. Allowed values: script, recipe.
Type pulumi.StringInput
}
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶ added in v0.10.0
type RuleArray ¶ added in v0.10.0
type RuleArray []RuleInput
func (RuleArray) ElementType ¶ added in v0.10.0
func (RuleArray) ToRuleArrayOutput ¶ added in v0.10.0
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶ added in v0.10.0
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶ added in v0.10.0
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 ¶ added in v0.10.0
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶ added in v0.10.0
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶ added in v0.10.0
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶ added in v0.10.0
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶ added in v0.10.0
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleClientIdentifier ¶ added in v0.10.0
type RuleClientIdentifier struct {
pulumi.CustomResourceState
// The description for the rule client identifier.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The hash fields for the rule client identifier.
HashFields RuleClientIdentifierHashFieldArrayOutput `pulumi:"hashFields"`
// The name for the rule client identifier.
Name pulumi.StringOutput `pulumi:"name"`
// The storage id for the rule client identifier.
StorageId pulumi.StringPtrOutput `pulumi:"storageId"`
}
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new rule client identifier
_, err := impart.NewRuleClientIdentifier(ctx, "client_identifier", &impart.RuleClientIdentifierArgs{
Name: pulumi.String("client identifier"),
Description: pulumi.String("terraform client identifier"),
HashFields: impart.RuleClientIdentifierHashFieldArray{
&impart.RuleClientIdentifierHashFieldArgs{
Field: pulumi.String("header_value"),
Key: pulumi.String("Authorization"),
},
&impart.RuleClientIdentifierHashFieldArgs{
Field: pulumi.String("client_ip"),
},
},
})
if err != nil {
return err
}
return nil
})
}
```
func GetRuleClientIdentifier ¶ added in v0.10.0
func GetRuleClientIdentifier(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleClientIdentifierState, opts ...pulumi.ResourceOption) (*RuleClientIdentifier, error)
GetRuleClientIdentifier gets an existing RuleClientIdentifier 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 NewRuleClientIdentifier ¶ added in v0.10.0
func NewRuleClientIdentifier(ctx *pulumi.Context, name string, args *RuleClientIdentifierArgs, opts ...pulumi.ResourceOption) (*RuleClientIdentifier, error)
NewRuleClientIdentifier registers a new resource with the given unique name, arguments, and options.
func (*RuleClientIdentifier) ElementType ¶ added in v0.10.0
func (*RuleClientIdentifier) ElementType() reflect.Type
func (*RuleClientIdentifier) ToRuleClientIdentifierOutput ¶ added in v0.10.0
func (i *RuleClientIdentifier) ToRuleClientIdentifierOutput() RuleClientIdentifierOutput
func (*RuleClientIdentifier) ToRuleClientIdentifierOutputWithContext ¶ added in v0.10.0
func (i *RuleClientIdentifier) ToRuleClientIdentifierOutputWithContext(ctx context.Context) RuleClientIdentifierOutput
type RuleClientIdentifierArgs ¶ added in v0.10.0
type RuleClientIdentifierArgs struct {
// The description for the rule client identifier.
Description pulumi.StringPtrInput
// The hash fields for the rule client identifier.
HashFields RuleClientIdentifierHashFieldArrayInput
// The name for the rule client identifier.
Name pulumi.StringInput
// The storage id for the rule client identifier.
StorageId pulumi.StringPtrInput
}
The set of arguments for constructing a RuleClientIdentifier resource.
func (RuleClientIdentifierArgs) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierArgs) ElementType() reflect.Type
type RuleClientIdentifierArray ¶ added in v0.10.0
type RuleClientIdentifierArray []RuleClientIdentifierInput
func (RuleClientIdentifierArray) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierArray) ElementType() reflect.Type
func (RuleClientIdentifierArray) ToRuleClientIdentifierArrayOutput ¶ added in v0.10.0
func (i RuleClientIdentifierArray) ToRuleClientIdentifierArrayOutput() RuleClientIdentifierArrayOutput
func (RuleClientIdentifierArray) ToRuleClientIdentifierArrayOutputWithContext ¶ added in v0.10.0
func (i RuleClientIdentifierArray) ToRuleClientIdentifierArrayOutputWithContext(ctx context.Context) RuleClientIdentifierArrayOutput
type RuleClientIdentifierArrayInput ¶ added in v0.10.0
type RuleClientIdentifierArrayInput interface {
pulumi.Input
ToRuleClientIdentifierArrayOutput() RuleClientIdentifierArrayOutput
ToRuleClientIdentifierArrayOutputWithContext(context.Context) RuleClientIdentifierArrayOutput
}
RuleClientIdentifierArrayInput is an input type that accepts RuleClientIdentifierArray and RuleClientIdentifierArrayOutput values. You can construct a concrete instance of `RuleClientIdentifierArrayInput` via:
RuleClientIdentifierArray{ RuleClientIdentifierArgs{...} }
type RuleClientIdentifierArrayOutput ¶ added in v0.10.0
type RuleClientIdentifierArrayOutput struct{ *pulumi.OutputState }
func (RuleClientIdentifierArrayOutput) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierArrayOutput) ElementType() reflect.Type
func (RuleClientIdentifierArrayOutput) Index ¶ added in v0.10.0
func (o RuleClientIdentifierArrayOutput) Index(i pulumi.IntInput) RuleClientIdentifierOutput
func (RuleClientIdentifierArrayOutput) ToRuleClientIdentifierArrayOutput ¶ added in v0.10.0
func (o RuleClientIdentifierArrayOutput) ToRuleClientIdentifierArrayOutput() RuleClientIdentifierArrayOutput
func (RuleClientIdentifierArrayOutput) ToRuleClientIdentifierArrayOutputWithContext ¶ added in v0.10.0
func (o RuleClientIdentifierArrayOutput) ToRuleClientIdentifierArrayOutputWithContext(ctx context.Context) RuleClientIdentifierArrayOutput
type RuleClientIdentifierHashField ¶ added in v0.10.0
type RuleClientIdentifierHashFieldArgs ¶ added in v0.10.0
type RuleClientIdentifierHashFieldArgs struct {
// The hash field.
Field pulumi.StringInput `pulumi:"field"`
// The hash field key.
Key pulumi.StringPtrInput `pulumi:"key"`
}
func (RuleClientIdentifierHashFieldArgs) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierHashFieldArgs) ElementType() reflect.Type
func (RuleClientIdentifierHashFieldArgs) ToRuleClientIdentifierHashFieldOutput ¶ added in v0.10.0
func (i RuleClientIdentifierHashFieldArgs) ToRuleClientIdentifierHashFieldOutput() RuleClientIdentifierHashFieldOutput
func (RuleClientIdentifierHashFieldArgs) ToRuleClientIdentifierHashFieldOutputWithContext ¶ added in v0.10.0
func (i RuleClientIdentifierHashFieldArgs) ToRuleClientIdentifierHashFieldOutputWithContext(ctx context.Context) RuleClientIdentifierHashFieldOutput
type RuleClientIdentifierHashFieldArray ¶ added in v0.10.0
type RuleClientIdentifierHashFieldArray []RuleClientIdentifierHashFieldInput
func (RuleClientIdentifierHashFieldArray) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierHashFieldArray) ElementType() reflect.Type
func (RuleClientIdentifierHashFieldArray) ToRuleClientIdentifierHashFieldArrayOutput ¶ added in v0.10.0
func (i RuleClientIdentifierHashFieldArray) ToRuleClientIdentifierHashFieldArrayOutput() RuleClientIdentifierHashFieldArrayOutput
func (RuleClientIdentifierHashFieldArray) ToRuleClientIdentifierHashFieldArrayOutputWithContext ¶ added in v0.10.0
func (i RuleClientIdentifierHashFieldArray) ToRuleClientIdentifierHashFieldArrayOutputWithContext(ctx context.Context) RuleClientIdentifierHashFieldArrayOutput
type RuleClientIdentifierHashFieldArrayInput ¶ added in v0.10.0
type RuleClientIdentifierHashFieldArrayInput interface {
pulumi.Input
ToRuleClientIdentifierHashFieldArrayOutput() RuleClientIdentifierHashFieldArrayOutput
ToRuleClientIdentifierHashFieldArrayOutputWithContext(context.Context) RuleClientIdentifierHashFieldArrayOutput
}
RuleClientIdentifierHashFieldArrayInput is an input type that accepts RuleClientIdentifierHashFieldArray and RuleClientIdentifierHashFieldArrayOutput values. You can construct a concrete instance of `RuleClientIdentifierHashFieldArrayInput` via:
RuleClientIdentifierHashFieldArray{ RuleClientIdentifierHashFieldArgs{...} }
type RuleClientIdentifierHashFieldArrayOutput ¶ added in v0.10.0
type RuleClientIdentifierHashFieldArrayOutput struct{ *pulumi.OutputState }
func (RuleClientIdentifierHashFieldArrayOutput) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierHashFieldArrayOutput) ElementType() reflect.Type
func (RuleClientIdentifierHashFieldArrayOutput) ToRuleClientIdentifierHashFieldArrayOutput ¶ added in v0.10.0
func (o RuleClientIdentifierHashFieldArrayOutput) ToRuleClientIdentifierHashFieldArrayOutput() RuleClientIdentifierHashFieldArrayOutput
func (RuleClientIdentifierHashFieldArrayOutput) ToRuleClientIdentifierHashFieldArrayOutputWithContext ¶ added in v0.10.0
func (o RuleClientIdentifierHashFieldArrayOutput) ToRuleClientIdentifierHashFieldArrayOutputWithContext(ctx context.Context) RuleClientIdentifierHashFieldArrayOutput
type RuleClientIdentifierHashFieldInput ¶ added in v0.10.0
type RuleClientIdentifierHashFieldInput interface {
pulumi.Input
ToRuleClientIdentifierHashFieldOutput() RuleClientIdentifierHashFieldOutput
ToRuleClientIdentifierHashFieldOutputWithContext(context.Context) RuleClientIdentifierHashFieldOutput
}
RuleClientIdentifierHashFieldInput is an input type that accepts RuleClientIdentifierHashFieldArgs and RuleClientIdentifierHashFieldOutput values. You can construct a concrete instance of `RuleClientIdentifierHashFieldInput` via:
RuleClientIdentifierHashFieldArgs{...}
type RuleClientIdentifierHashFieldOutput ¶ added in v0.10.0
type RuleClientIdentifierHashFieldOutput struct{ *pulumi.OutputState }
func (RuleClientIdentifierHashFieldOutput) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierHashFieldOutput) ElementType() reflect.Type
func (RuleClientIdentifierHashFieldOutput) Field ¶ added in v0.10.0
func (o RuleClientIdentifierHashFieldOutput) Field() pulumi.StringOutput
The hash field.
func (RuleClientIdentifierHashFieldOutput) Key ¶ added in v0.10.0
func (o RuleClientIdentifierHashFieldOutput) Key() pulumi.StringPtrOutput
The hash field key.
func (RuleClientIdentifierHashFieldOutput) ToRuleClientIdentifierHashFieldOutput ¶ added in v0.10.0
func (o RuleClientIdentifierHashFieldOutput) ToRuleClientIdentifierHashFieldOutput() RuleClientIdentifierHashFieldOutput
func (RuleClientIdentifierHashFieldOutput) ToRuleClientIdentifierHashFieldOutputWithContext ¶ added in v0.10.0
func (o RuleClientIdentifierHashFieldOutput) ToRuleClientIdentifierHashFieldOutputWithContext(ctx context.Context) RuleClientIdentifierHashFieldOutput
type RuleClientIdentifierInput ¶ added in v0.10.0
type RuleClientIdentifierInput interface {
pulumi.Input
ToRuleClientIdentifierOutput() RuleClientIdentifierOutput
ToRuleClientIdentifierOutputWithContext(ctx context.Context) RuleClientIdentifierOutput
}
type RuleClientIdentifierMap ¶ added in v0.10.0
type RuleClientIdentifierMap map[string]RuleClientIdentifierInput
func (RuleClientIdentifierMap) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierMap) ElementType() reflect.Type
func (RuleClientIdentifierMap) ToRuleClientIdentifierMapOutput ¶ added in v0.10.0
func (i RuleClientIdentifierMap) ToRuleClientIdentifierMapOutput() RuleClientIdentifierMapOutput
func (RuleClientIdentifierMap) ToRuleClientIdentifierMapOutputWithContext ¶ added in v0.10.0
func (i RuleClientIdentifierMap) ToRuleClientIdentifierMapOutputWithContext(ctx context.Context) RuleClientIdentifierMapOutput
type RuleClientIdentifierMapInput ¶ added in v0.10.0
type RuleClientIdentifierMapInput interface {
pulumi.Input
ToRuleClientIdentifierMapOutput() RuleClientIdentifierMapOutput
ToRuleClientIdentifierMapOutputWithContext(context.Context) RuleClientIdentifierMapOutput
}
RuleClientIdentifierMapInput is an input type that accepts RuleClientIdentifierMap and RuleClientIdentifierMapOutput values. You can construct a concrete instance of `RuleClientIdentifierMapInput` via:
RuleClientIdentifierMap{ "key": RuleClientIdentifierArgs{...} }
type RuleClientIdentifierMapOutput ¶ added in v0.10.0
type RuleClientIdentifierMapOutput struct{ *pulumi.OutputState }
func (RuleClientIdentifierMapOutput) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierMapOutput) ElementType() reflect.Type
func (RuleClientIdentifierMapOutput) MapIndex ¶ added in v0.10.0
func (o RuleClientIdentifierMapOutput) MapIndex(k pulumi.StringInput) RuleClientIdentifierOutput
func (RuleClientIdentifierMapOutput) ToRuleClientIdentifierMapOutput ¶ added in v0.10.0
func (o RuleClientIdentifierMapOutput) ToRuleClientIdentifierMapOutput() RuleClientIdentifierMapOutput
func (RuleClientIdentifierMapOutput) ToRuleClientIdentifierMapOutputWithContext ¶ added in v0.10.0
func (o RuleClientIdentifierMapOutput) ToRuleClientIdentifierMapOutputWithContext(ctx context.Context) RuleClientIdentifierMapOutput
type RuleClientIdentifierOutput ¶ added in v0.10.0
type RuleClientIdentifierOutput struct{ *pulumi.OutputState }
func (RuleClientIdentifierOutput) Description ¶ added in v0.10.0
func (o RuleClientIdentifierOutput) Description() pulumi.StringPtrOutput
The description for the rule client identifier.
func (RuleClientIdentifierOutput) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierOutput) ElementType() reflect.Type
func (RuleClientIdentifierOutput) HashFields ¶ added in v0.10.0
func (o RuleClientIdentifierOutput) HashFields() RuleClientIdentifierHashFieldArrayOutput
The hash fields for the rule client identifier.
func (RuleClientIdentifierOutput) Name ¶ added in v0.10.0
func (o RuleClientIdentifierOutput) Name() pulumi.StringOutput
The name for the rule client identifier.
func (RuleClientIdentifierOutput) StorageId ¶ added in v0.10.0
func (o RuleClientIdentifierOutput) StorageId() pulumi.StringPtrOutput
The storage id for the rule client identifier.
func (RuleClientIdentifierOutput) ToRuleClientIdentifierOutput ¶ added in v0.10.0
func (o RuleClientIdentifierOutput) ToRuleClientIdentifierOutput() RuleClientIdentifierOutput
func (RuleClientIdentifierOutput) ToRuleClientIdentifierOutputWithContext ¶ added in v0.10.0
func (o RuleClientIdentifierOutput) ToRuleClientIdentifierOutputWithContext(ctx context.Context) RuleClientIdentifierOutput
type RuleClientIdentifierState ¶ added in v0.10.0
type RuleClientIdentifierState struct {
// The description for the rule client identifier.
Description pulumi.StringPtrInput
// The hash fields for the rule client identifier.
HashFields RuleClientIdentifierHashFieldArrayInput
// The name for the rule client identifier.
Name pulumi.StringPtrInput
// The storage id for the rule client identifier.
StorageId pulumi.StringPtrInput
}
func (RuleClientIdentifierState) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierState) ElementType() reflect.Type
type RuleClientIdentifierStorage ¶ added in v0.10.0
type RuleClientIdentifierStorage struct {
pulumi.CustomResourceState
// The capacity for the rule client identifier storage.
Capacity pulumi.IntOutput `pulumi:"capacity"`
// The description for the rule client identifier storage.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The name for the rule client identifier storage.
Name pulumi.StringOutput `pulumi:"name"`
}
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new rule client identifier storage
_, err := impart.NewRuleClientIdentifierStorage(ctx, "client_identifier_storage", &impart.RuleClientIdentifierStorageArgs{
Name: pulumi.String("client identifier storage"),
Description: pulumi.String("terraform client identifier storage"),
Capacity: pulumi.Int(10000),
StorageId: impartRuleClientIdentifier.Example.Id,
})
if err != nil {
return err
}
return nil
})
}
```
func GetRuleClientIdentifierStorage ¶ added in v0.10.0
func GetRuleClientIdentifierStorage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleClientIdentifierStorageState, opts ...pulumi.ResourceOption) (*RuleClientIdentifierStorage, error)
GetRuleClientIdentifierStorage gets an existing RuleClientIdentifierStorage 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 NewRuleClientIdentifierStorage ¶ added in v0.10.0
func NewRuleClientIdentifierStorage(ctx *pulumi.Context, name string, args *RuleClientIdentifierStorageArgs, opts ...pulumi.ResourceOption) (*RuleClientIdentifierStorage, error)
NewRuleClientIdentifierStorage registers a new resource with the given unique name, arguments, and options.
func (*RuleClientIdentifierStorage) ElementType ¶ added in v0.10.0
func (*RuleClientIdentifierStorage) ElementType() reflect.Type
func (*RuleClientIdentifierStorage) ToRuleClientIdentifierStorageOutput ¶ added in v0.10.0
func (i *RuleClientIdentifierStorage) ToRuleClientIdentifierStorageOutput() RuleClientIdentifierStorageOutput
func (*RuleClientIdentifierStorage) ToRuleClientIdentifierStorageOutputWithContext ¶ added in v0.10.0
func (i *RuleClientIdentifierStorage) ToRuleClientIdentifierStorageOutputWithContext(ctx context.Context) RuleClientIdentifierStorageOutput
type RuleClientIdentifierStorageArgs ¶ added in v0.10.0
type RuleClientIdentifierStorageArgs struct {
// The capacity for the rule client identifier storage.
Capacity pulumi.IntInput
// The description for the rule client identifier storage.
Description pulumi.StringPtrInput
// The name for the rule client identifier storage.
Name pulumi.StringInput
}
The set of arguments for constructing a RuleClientIdentifierStorage resource.
func (RuleClientIdentifierStorageArgs) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierStorageArgs) ElementType() reflect.Type
type RuleClientIdentifierStorageArray ¶ added in v0.10.0
type RuleClientIdentifierStorageArray []RuleClientIdentifierStorageInput
func (RuleClientIdentifierStorageArray) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierStorageArray) ElementType() reflect.Type
func (RuleClientIdentifierStorageArray) ToRuleClientIdentifierStorageArrayOutput ¶ added in v0.10.0
func (i RuleClientIdentifierStorageArray) ToRuleClientIdentifierStorageArrayOutput() RuleClientIdentifierStorageArrayOutput
func (RuleClientIdentifierStorageArray) ToRuleClientIdentifierStorageArrayOutputWithContext ¶ added in v0.10.0
func (i RuleClientIdentifierStorageArray) ToRuleClientIdentifierStorageArrayOutputWithContext(ctx context.Context) RuleClientIdentifierStorageArrayOutput
type RuleClientIdentifierStorageArrayInput ¶ added in v0.10.0
type RuleClientIdentifierStorageArrayInput interface {
pulumi.Input
ToRuleClientIdentifierStorageArrayOutput() RuleClientIdentifierStorageArrayOutput
ToRuleClientIdentifierStorageArrayOutputWithContext(context.Context) RuleClientIdentifierStorageArrayOutput
}
RuleClientIdentifierStorageArrayInput is an input type that accepts RuleClientIdentifierStorageArray and RuleClientIdentifierStorageArrayOutput values. You can construct a concrete instance of `RuleClientIdentifierStorageArrayInput` via:
RuleClientIdentifierStorageArray{ RuleClientIdentifierStorageArgs{...} }
type RuleClientIdentifierStorageArrayOutput ¶ added in v0.10.0
type RuleClientIdentifierStorageArrayOutput struct{ *pulumi.OutputState }
func (RuleClientIdentifierStorageArrayOutput) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierStorageArrayOutput) ElementType() reflect.Type
func (RuleClientIdentifierStorageArrayOutput) ToRuleClientIdentifierStorageArrayOutput ¶ added in v0.10.0
func (o RuleClientIdentifierStorageArrayOutput) ToRuleClientIdentifierStorageArrayOutput() RuleClientIdentifierStorageArrayOutput
func (RuleClientIdentifierStorageArrayOutput) ToRuleClientIdentifierStorageArrayOutputWithContext ¶ added in v0.10.0
func (o RuleClientIdentifierStorageArrayOutput) ToRuleClientIdentifierStorageArrayOutputWithContext(ctx context.Context) RuleClientIdentifierStorageArrayOutput
type RuleClientIdentifierStorageInput ¶ added in v0.10.0
type RuleClientIdentifierStorageInput interface {
pulumi.Input
ToRuleClientIdentifierStorageOutput() RuleClientIdentifierStorageOutput
ToRuleClientIdentifierStorageOutputWithContext(ctx context.Context) RuleClientIdentifierStorageOutput
}
type RuleClientIdentifierStorageMap ¶ added in v0.10.0
type RuleClientIdentifierStorageMap map[string]RuleClientIdentifierStorageInput
func (RuleClientIdentifierStorageMap) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierStorageMap) ElementType() reflect.Type
func (RuleClientIdentifierStorageMap) ToRuleClientIdentifierStorageMapOutput ¶ added in v0.10.0
func (i RuleClientIdentifierStorageMap) ToRuleClientIdentifierStorageMapOutput() RuleClientIdentifierStorageMapOutput
func (RuleClientIdentifierStorageMap) ToRuleClientIdentifierStorageMapOutputWithContext ¶ added in v0.10.0
func (i RuleClientIdentifierStorageMap) ToRuleClientIdentifierStorageMapOutputWithContext(ctx context.Context) RuleClientIdentifierStorageMapOutput
type RuleClientIdentifierStorageMapInput ¶ added in v0.10.0
type RuleClientIdentifierStorageMapInput interface {
pulumi.Input
ToRuleClientIdentifierStorageMapOutput() RuleClientIdentifierStorageMapOutput
ToRuleClientIdentifierStorageMapOutputWithContext(context.Context) RuleClientIdentifierStorageMapOutput
}
RuleClientIdentifierStorageMapInput is an input type that accepts RuleClientIdentifierStorageMap and RuleClientIdentifierStorageMapOutput values. You can construct a concrete instance of `RuleClientIdentifierStorageMapInput` via:
RuleClientIdentifierStorageMap{ "key": RuleClientIdentifierStorageArgs{...} }
type RuleClientIdentifierStorageMapOutput ¶ added in v0.10.0
type RuleClientIdentifierStorageMapOutput struct{ *pulumi.OutputState }
func (RuleClientIdentifierStorageMapOutput) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierStorageMapOutput) ElementType() reflect.Type
func (RuleClientIdentifierStorageMapOutput) MapIndex ¶ added in v0.10.0
func (o RuleClientIdentifierStorageMapOutput) MapIndex(k pulumi.StringInput) RuleClientIdentifierStorageOutput
func (RuleClientIdentifierStorageMapOutput) ToRuleClientIdentifierStorageMapOutput ¶ added in v0.10.0
func (o RuleClientIdentifierStorageMapOutput) ToRuleClientIdentifierStorageMapOutput() RuleClientIdentifierStorageMapOutput
func (RuleClientIdentifierStorageMapOutput) ToRuleClientIdentifierStorageMapOutputWithContext ¶ added in v0.10.0
func (o RuleClientIdentifierStorageMapOutput) ToRuleClientIdentifierStorageMapOutputWithContext(ctx context.Context) RuleClientIdentifierStorageMapOutput
type RuleClientIdentifierStorageOutput ¶ added in v0.10.0
type RuleClientIdentifierStorageOutput struct{ *pulumi.OutputState }
func (RuleClientIdentifierStorageOutput) Capacity ¶ added in v0.10.0
func (o RuleClientIdentifierStorageOutput) Capacity() pulumi.IntOutput
The capacity for the rule client identifier storage.
func (RuleClientIdentifierStorageOutput) Description ¶ added in v0.10.0
func (o RuleClientIdentifierStorageOutput) Description() pulumi.StringPtrOutput
The description for the rule client identifier storage.
func (RuleClientIdentifierStorageOutput) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierStorageOutput) ElementType() reflect.Type
func (RuleClientIdentifierStorageOutput) Name ¶ added in v0.10.0
func (o RuleClientIdentifierStorageOutput) Name() pulumi.StringOutput
The name for the rule client identifier storage.
func (RuleClientIdentifierStorageOutput) ToRuleClientIdentifierStorageOutput ¶ added in v0.10.0
func (o RuleClientIdentifierStorageOutput) ToRuleClientIdentifierStorageOutput() RuleClientIdentifierStorageOutput
func (RuleClientIdentifierStorageOutput) ToRuleClientIdentifierStorageOutputWithContext ¶ added in v0.10.0
func (o RuleClientIdentifierStorageOutput) ToRuleClientIdentifierStorageOutputWithContext(ctx context.Context) RuleClientIdentifierStorageOutput
type RuleClientIdentifierStorageState ¶ added in v0.10.0
type RuleClientIdentifierStorageState struct {
// The capacity for the rule client identifier storage.
Capacity pulumi.IntPtrInput
// The description for the rule client identifier storage.
Description pulumi.StringPtrInput
// The name for the rule client identifier storage.
Name pulumi.StringPtrInput
}
func (RuleClientIdentifierStorageState) ElementType ¶ added in v0.10.0
func (RuleClientIdentifierStorageState) ElementType() reflect.Type
type RuleDependencies ¶ added in v0.10.0
type RuleDependencies struct {
pulumi.CustomResourceState
// An array of rules and the other ids of the rules they depend on before executing.
Dependencies RuleDependenciesDependencyArrayOutput `pulumi:"dependencies"`
}
Manage rule dependencies. There should only ever be one instance of this resource in a workspace at once, because it manages rule dependencies at an organization level.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := impart.NewRuleDependencies(ctx, "example", &impart.RuleDependenciesArgs{
Dependencies: impart.RuleDependenciesDependencyArray{
&impart.RuleDependenciesDependencyArgs{
Rule_id: "<example_1.id>",
Depends_on: []string{
"<example_2.id>",
},
},
},
})
if err != nil {
return err
}
return nil
})
}
```
func GetRuleDependencies ¶ added in v0.10.0
func GetRuleDependencies(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleDependenciesState, opts ...pulumi.ResourceOption) (*RuleDependencies, error)
GetRuleDependencies gets an existing RuleDependencies 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 NewRuleDependencies ¶ added in v0.10.0
func NewRuleDependencies(ctx *pulumi.Context, name string, args *RuleDependenciesArgs, opts ...pulumi.ResourceOption) (*RuleDependencies, error)
NewRuleDependencies registers a new resource with the given unique name, arguments, and options.
func (*RuleDependencies) ElementType ¶ added in v0.10.0
func (*RuleDependencies) ElementType() reflect.Type
func (*RuleDependencies) ToRuleDependenciesOutput ¶ added in v0.10.0
func (i *RuleDependencies) ToRuleDependenciesOutput() RuleDependenciesOutput
func (*RuleDependencies) ToRuleDependenciesOutputWithContext ¶ added in v0.10.0
func (i *RuleDependencies) ToRuleDependenciesOutputWithContext(ctx context.Context) RuleDependenciesOutput
type RuleDependenciesArgs ¶ added in v0.10.0
type RuleDependenciesArgs struct {
// An array of rules and the other ids of the rules they depend on before executing.
Dependencies RuleDependenciesDependencyArrayInput
}
The set of arguments for constructing a RuleDependencies resource.
func (RuleDependenciesArgs) ElementType ¶ added in v0.10.0
func (RuleDependenciesArgs) ElementType() reflect.Type
type RuleDependenciesArray ¶ added in v0.10.0
type RuleDependenciesArray []RuleDependenciesInput
func (RuleDependenciesArray) ElementType ¶ added in v0.10.0
func (RuleDependenciesArray) ElementType() reflect.Type
func (RuleDependenciesArray) ToRuleDependenciesArrayOutput ¶ added in v0.10.0
func (i RuleDependenciesArray) ToRuleDependenciesArrayOutput() RuleDependenciesArrayOutput
func (RuleDependenciesArray) ToRuleDependenciesArrayOutputWithContext ¶ added in v0.10.0
func (i RuleDependenciesArray) ToRuleDependenciesArrayOutputWithContext(ctx context.Context) RuleDependenciesArrayOutput
type RuleDependenciesArrayInput ¶ added in v0.10.0
type RuleDependenciesArrayInput interface {
pulumi.Input
ToRuleDependenciesArrayOutput() RuleDependenciesArrayOutput
ToRuleDependenciesArrayOutputWithContext(context.Context) RuleDependenciesArrayOutput
}
RuleDependenciesArrayInput is an input type that accepts RuleDependenciesArray and RuleDependenciesArrayOutput values. You can construct a concrete instance of `RuleDependenciesArrayInput` via:
RuleDependenciesArray{ RuleDependenciesArgs{...} }
type RuleDependenciesArrayOutput ¶ added in v0.10.0
type RuleDependenciesArrayOutput struct{ *pulumi.OutputState }
func (RuleDependenciesArrayOutput) ElementType ¶ added in v0.10.0
func (RuleDependenciesArrayOutput) ElementType() reflect.Type
func (RuleDependenciesArrayOutput) Index ¶ added in v0.10.0
func (o RuleDependenciesArrayOutput) Index(i pulumi.IntInput) RuleDependenciesOutput
func (RuleDependenciesArrayOutput) ToRuleDependenciesArrayOutput ¶ added in v0.10.0
func (o RuleDependenciesArrayOutput) ToRuleDependenciesArrayOutput() RuleDependenciesArrayOutput
func (RuleDependenciesArrayOutput) ToRuleDependenciesArrayOutputWithContext ¶ added in v0.10.0
func (o RuleDependenciesArrayOutput) ToRuleDependenciesArrayOutputWithContext(ctx context.Context) RuleDependenciesArrayOutput
type RuleDependenciesDependency ¶ added in v0.10.0
type RuleDependenciesDependencyArgs ¶ added in v0.10.0
type RuleDependenciesDependencyArgs struct {
// IDs of the rule this rule depends on.
DependsOns pulumi.StringArrayInput `pulumi:"dependsOns"`
// The ID of the rule
RuleId pulumi.StringInput `pulumi:"ruleId"`
}
func (RuleDependenciesDependencyArgs) ElementType ¶ added in v0.10.0
func (RuleDependenciesDependencyArgs) ElementType() reflect.Type
func (RuleDependenciesDependencyArgs) ToRuleDependenciesDependencyOutput ¶ added in v0.10.0
func (i RuleDependenciesDependencyArgs) ToRuleDependenciesDependencyOutput() RuleDependenciesDependencyOutput
func (RuleDependenciesDependencyArgs) ToRuleDependenciesDependencyOutputWithContext ¶ added in v0.10.0
func (i RuleDependenciesDependencyArgs) ToRuleDependenciesDependencyOutputWithContext(ctx context.Context) RuleDependenciesDependencyOutput
type RuleDependenciesDependencyArray ¶ added in v0.10.0
type RuleDependenciesDependencyArray []RuleDependenciesDependencyInput
func (RuleDependenciesDependencyArray) ElementType ¶ added in v0.10.0
func (RuleDependenciesDependencyArray) ElementType() reflect.Type
func (RuleDependenciesDependencyArray) ToRuleDependenciesDependencyArrayOutput ¶ added in v0.10.0
func (i RuleDependenciesDependencyArray) ToRuleDependenciesDependencyArrayOutput() RuleDependenciesDependencyArrayOutput
func (RuleDependenciesDependencyArray) ToRuleDependenciesDependencyArrayOutputWithContext ¶ added in v0.10.0
func (i RuleDependenciesDependencyArray) ToRuleDependenciesDependencyArrayOutputWithContext(ctx context.Context) RuleDependenciesDependencyArrayOutput
type RuleDependenciesDependencyArrayInput ¶ added in v0.10.0
type RuleDependenciesDependencyArrayInput interface {
pulumi.Input
ToRuleDependenciesDependencyArrayOutput() RuleDependenciesDependencyArrayOutput
ToRuleDependenciesDependencyArrayOutputWithContext(context.Context) RuleDependenciesDependencyArrayOutput
}
RuleDependenciesDependencyArrayInput is an input type that accepts RuleDependenciesDependencyArray and RuleDependenciesDependencyArrayOutput values. You can construct a concrete instance of `RuleDependenciesDependencyArrayInput` via:
RuleDependenciesDependencyArray{ RuleDependenciesDependencyArgs{...} }
type RuleDependenciesDependencyArrayOutput ¶ added in v0.10.0
type RuleDependenciesDependencyArrayOutput struct{ *pulumi.OutputState }
func (RuleDependenciesDependencyArrayOutput) ElementType ¶ added in v0.10.0
func (RuleDependenciesDependencyArrayOutput) ElementType() reflect.Type
func (RuleDependenciesDependencyArrayOutput) Index ¶ added in v0.10.0
func (o RuleDependenciesDependencyArrayOutput) Index(i pulumi.IntInput) RuleDependenciesDependencyOutput
func (RuleDependenciesDependencyArrayOutput) ToRuleDependenciesDependencyArrayOutput ¶ added in v0.10.0
func (o RuleDependenciesDependencyArrayOutput) ToRuleDependenciesDependencyArrayOutput() RuleDependenciesDependencyArrayOutput
func (RuleDependenciesDependencyArrayOutput) ToRuleDependenciesDependencyArrayOutputWithContext ¶ added in v0.10.0
func (o RuleDependenciesDependencyArrayOutput) ToRuleDependenciesDependencyArrayOutputWithContext(ctx context.Context) RuleDependenciesDependencyArrayOutput
type RuleDependenciesDependencyInput ¶ added in v0.10.0
type RuleDependenciesDependencyInput interface {
pulumi.Input
ToRuleDependenciesDependencyOutput() RuleDependenciesDependencyOutput
ToRuleDependenciesDependencyOutputWithContext(context.Context) RuleDependenciesDependencyOutput
}
RuleDependenciesDependencyInput is an input type that accepts RuleDependenciesDependencyArgs and RuleDependenciesDependencyOutput values. You can construct a concrete instance of `RuleDependenciesDependencyInput` via:
RuleDependenciesDependencyArgs{...}
type RuleDependenciesDependencyOutput ¶ added in v0.10.0
type RuleDependenciesDependencyOutput struct{ *pulumi.OutputState }
func (RuleDependenciesDependencyOutput) DependsOns ¶ added in v0.10.0
func (o RuleDependenciesDependencyOutput) DependsOns() pulumi.StringArrayOutput
IDs of the rule this rule depends on.
func (RuleDependenciesDependencyOutput) ElementType ¶ added in v0.10.0
func (RuleDependenciesDependencyOutput) ElementType() reflect.Type
func (RuleDependenciesDependencyOutput) RuleId ¶ added in v0.10.0
func (o RuleDependenciesDependencyOutput) RuleId() pulumi.StringOutput
The ID of the rule
func (RuleDependenciesDependencyOutput) ToRuleDependenciesDependencyOutput ¶ added in v0.10.0
func (o RuleDependenciesDependencyOutput) ToRuleDependenciesDependencyOutput() RuleDependenciesDependencyOutput
func (RuleDependenciesDependencyOutput) ToRuleDependenciesDependencyOutputWithContext ¶ added in v0.10.0
func (o RuleDependenciesDependencyOutput) ToRuleDependenciesDependencyOutputWithContext(ctx context.Context) RuleDependenciesDependencyOutput
type RuleDependenciesInput ¶ added in v0.10.0
type RuleDependenciesInput interface {
pulumi.Input
ToRuleDependenciesOutput() RuleDependenciesOutput
ToRuleDependenciesOutputWithContext(ctx context.Context) RuleDependenciesOutput
}
type RuleDependenciesMap ¶ added in v0.10.0
type RuleDependenciesMap map[string]RuleDependenciesInput
func (RuleDependenciesMap) ElementType ¶ added in v0.10.0
func (RuleDependenciesMap) ElementType() reflect.Type
func (RuleDependenciesMap) ToRuleDependenciesMapOutput ¶ added in v0.10.0
func (i RuleDependenciesMap) ToRuleDependenciesMapOutput() RuleDependenciesMapOutput
func (RuleDependenciesMap) ToRuleDependenciesMapOutputWithContext ¶ added in v0.10.0
func (i RuleDependenciesMap) ToRuleDependenciesMapOutputWithContext(ctx context.Context) RuleDependenciesMapOutput
type RuleDependenciesMapInput ¶ added in v0.10.0
type RuleDependenciesMapInput interface {
pulumi.Input
ToRuleDependenciesMapOutput() RuleDependenciesMapOutput
ToRuleDependenciesMapOutputWithContext(context.Context) RuleDependenciesMapOutput
}
RuleDependenciesMapInput is an input type that accepts RuleDependenciesMap and RuleDependenciesMapOutput values. You can construct a concrete instance of `RuleDependenciesMapInput` via:
RuleDependenciesMap{ "key": RuleDependenciesArgs{...} }
type RuleDependenciesMapOutput ¶ added in v0.10.0
type RuleDependenciesMapOutput struct{ *pulumi.OutputState }
func (RuleDependenciesMapOutput) ElementType ¶ added in v0.10.0
func (RuleDependenciesMapOutput) ElementType() reflect.Type
func (RuleDependenciesMapOutput) MapIndex ¶ added in v0.10.0
func (o RuleDependenciesMapOutput) MapIndex(k pulumi.StringInput) RuleDependenciesOutput
func (RuleDependenciesMapOutput) ToRuleDependenciesMapOutput ¶ added in v0.10.0
func (o RuleDependenciesMapOutput) ToRuleDependenciesMapOutput() RuleDependenciesMapOutput
func (RuleDependenciesMapOutput) ToRuleDependenciesMapOutputWithContext ¶ added in v0.10.0
func (o RuleDependenciesMapOutput) ToRuleDependenciesMapOutputWithContext(ctx context.Context) RuleDependenciesMapOutput
type RuleDependenciesOutput ¶ added in v0.10.0
type RuleDependenciesOutput struct{ *pulumi.OutputState }
func (RuleDependenciesOutput) Dependencies ¶ added in v0.10.0
func (o RuleDependenciesOutput) Dependencies() RuleDependenciesDependencyArrayOutput
An array of rules and the other ids of the rules they depend on before executing.
func (RuleDependenciesOutput) ElementType ¶ added in v0.10.0
func (RuleDependenciesOutput) ElementType() reflect.Type
func (RuleDependenciesOutput) ToRuleDependenciesOutput ¶ added in v0.10.0
func (o RuleDependenciesOutput) ToRuleDependenciesOutput() RuleDependenciesOutput
func (RuleDependenciesOutput) ToRuleDependenciesOutputWithContext ¶ added in v0.10.0
func (o RuleDependenciesOutput) ToRuleDependenciesOutputWithContext(ctx context.Context) RuleDependenciesOutput
type RuleDependenciesState ¶ added in v0.10.0
type RuleDependenciesState struct {
// An array of rules and the other ids of the rules they depend on before executing.
Dependencies RuleDependenciesDependencyArrayInput
}
func (RuleDependenciesState) ElementType ¶ added in v0.10.0
func (RuleDependenciesState) ElementType() reflect.Type
type RuleInput ¶ added in v0.10.0
type RuleInput interface {
pulumi.Input
ToRuleOutput() RuleOutput
ToRuleOutputWithContext(ctx context.Context) RuleOutput
}
type RuleMap ¶ added in v0.10.0
func (RuleMap) ElementType ¶ added in v0.10.0
func (RuleMap) ToRuleMapOutput ¶ added in v0.10.0
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶ added in v0.10.0
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶ added in v0.10.0
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 ¶ added in v0.10.0
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶ added in v0.10.0
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶ added in v0.10.0
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶ added in v0.10.0
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶ added in v0.10.0
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶ added in v0.10.0
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) BlockingEffect ¶ added in v0.10.0
func (o RuleOutput) BlockingEffect() pulumi.StringPtrOutput
The rule blocking effect. Allowed values: block, simulate. If not set effect will be block.
func (RuleOutput) Content ¶ added in v0.10.0
func (o RuleOutput) Content() pulumi.StringPtrOutput
The rule body content.
func (RuleOutput) Description ¶ added in v0.10.0
func (o RuleOutput) Description() pulumi.StringPtrOutput
The description for this rule.
func (RuleOutput) Disabled ¶ added in v0.10.0
func (o RuleOutput) Disabled() pulumi.BoolOutput
Set true to disable the rule.
func (RuleOutput) ElementType ¶ added in v0.10.0
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) Labels ¶ added in v0.10.0
func (o RuleOutput) Labels() pulumi.StringArrayOutput
The applied labels.
func (RuleOutput) Name ¶ added in v0.10.0
func (o RuleOutput) Name() pulumi.StringOutput
The name for this rule.
func (RuleOutput) SourceFile ¶ added in v0.10.0
func (o RuleOutput) SourceFile() pulumi.StringPtrOutput
The rule source file.
func (RuleOutput) SourceHash ¶ added in v0.10.0
func (o RuleOutput) SourceHash() pulumi.StringPtrOutput
The rule source hash.
func (RuleOutput) ToRuleOutput ¶ added in v0.10.0
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶ added in v0.10.0
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
func (RuleOutput) Type ¶ added in v0.10.0
func (o RuleOutput) Type() pulumi.StringOutput
The type of the rule. Allowed values: script, recipe.
type RuleScript ¶
type RuleScript struct {
pulumi.CustomResourceState
// The rule blocking effect. Allowed values: block, simulate. If not set effect will be block.
BlockingEffect pulumi.StringPtrOutput `pulumi:"blockingEffect"`
// The rule body content.
Content pulumi.StringPtrOutput `pulumi:"content"`
// The description for this rule script.
Description pulumi.StringPtrOutput `pulumi:"description"`
// Set true to disable the rule script.
Disabled pulumi.BoolOutput `pulumi:"disabled"`
// The applied labels.
Labels pulumi.StringArrayOutput `pulumi:"labels"`
// The name for this rule script.
Name pulumi.StringOutput `pulumi:"name"`
// The rule source file.
SourceFile pulumi.StringPtrOutput `pulumi:"sourceFile"`
// The rule source hash.
SourceHash pulumi.StringPtrOutput `pulumi:"sourceHash"`
}
Manage a rule script.
func GetRuleScript ¶
func GetRuleScript(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleScriptState, opts ...pulumi.ResourceOption) (*RuleScript, error)
GetRuleScript gets an existing RuleScript 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 NewRuleScript ¶
func NewRuleScript(ctx *pulumi.Context, name string, args *RuleScriptArgs, opts ...pulumi.ResourceOption) (*RuleScript, error)
NewRuleScript registers a new resource with the given unique name, arguments, and options.
func (*RuleScript) ElementType ¶
func (*RuleScript) ElementType() reflect.Type
func (*RuleScript) ToRuleScriptOutput ¶
func (i *RuleScript) ToRuleScriptOutput() RuleScriptOutput
func (*RuleScript) ToRuleScriptOutputWithContext ¶
func (i *RuleScript) ToRuleScriptOutputWithContext(ctx context.Context) RuleScriptOutput
type RuleScriptArgs ¶
type RuleScriptArgs struct {
// The rule blocking effect. Allowed values: block, simulate. If not set effect will be block.
BlockingEffect pulumi.StringPtrInput
// The rule body content.
Content pulumi.StringPtrInput
// The description for this rule script.
Description pulumi.StringPtrInput
// Set true to disable the rule script.
Disabled pulumi.BoolInput
// The applied labels.
Labels pulumi.StringArrayInput
// The name for this rule script.
Name pulumi.StringInput
// The rule source file.
SourceFile pulumi.StringPtrInput
// The rule source hash.
SourceHash pulumi.StringPtrInput
}
The set of arguments for constructing a RuleScript resource.
func (RuleScriptArgs) ElementType ¶
func (RuleScriptArgs) ElementType() reflect.Type
type RuleScriptArray ¶
type RuleScriptArray []RuleScriptInput
func (RuleScriptArray) ElementType ¶
func (RuleScriptArray) ElementType() reflect.Type
func (RuleScriptArray) ToRuleScriptArrayOutput ¶
func (i RuleScriptArray) ToRuleScriptArrayOutput() RuleScriptArrayOutput
func (RuleScriptArray) ToRuleScriptArrayOutputWithContext ¶
func (i RuleScriptArray) ToRuleScriptArrayOutputWithContext(ctx context.Context) RuleScriptArrayOutput
type RuleScriptArrayInput ¶
type RuleScriptArrayInput interface {
pulumi.Input
ToRuleScriptArrayOutput() RuleScriptArrayOutput
ToRuleScriptArrayOutputWithContext(context.Context) RuleScriptArrayOutput
}
RuleScriptArrayInput is an input type that accepts RuleScriptArray and RuleScriptArrayOutput values. You can construct a concrete instance of `RuleScriptArrayInput` via:
RuleScriptArray{ RuleScriptArgs{...} }
type RuleScriptArrayOutput ¶
type RuleScriptArrayOutput struct{ *pulumi.OutputState }
func (RuleScriptArrayOutput) ElementType ¶
func (RuleScriptArrayOutput) ElementType() reflect.Type
func (RuleScriptArrayOutput) Index ¶
func (o RuleScriptArrayOutput) Index(i pulumi.IntInput) RuleScriptOutput
func (RuleScriptArrayOutput) ToRuleScriptArrayOutput ¶
func (o RuleScriptArrayOutput) ToRuleScriptArrayOutput() RuleScriptArrayOutput
func (RuleScriptArrayOutput) ToRuleScriptArrayOutputWithContext ¶
func (o RuleScriptArrayOutput) ToRuleScriptArrayOutputWithContext(ctx context.Context) RuleScriptArrayOutput
type RuleScriptDependencies ¶ added in v0.4.0
type RuleScriptDependencies struct {
pulumi.CustomResourceState
// An array of rule scripts and the other ids of the rules they depend on before executing.
Dependencies RuleScriptDependenciesDependencyArrayOutput `pulumi:"dependencies"`
}
Manage rule script dependencies. There should only ever be one instance of this resource in a workspace at once, because it manages rule script dependencies at an organization level.
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// ⚠️ This resource is deprecated. Please migrate to `impart_rule_dependencies` instead.
_, err := impart.NewRuleScriptDependencies(ctx, "example", &impart.RuleScriptDependenciesArgs{
Dependencies: impart.RuleScriptDependenciesDependencyArray{
&impart.RuleScriptDependenciesDependencyArgs{
Rule_script_id: "<example_1.id>",
Depends_on_rule_script_ids: []string{
"<example_2.id>",
},
},
},
})
if err != nil {
return err
}
return nil
})
}
```
func GetRuleScriptDependencies ¶ added in v0.4.0
func GetRuleScriptDependencies(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleScriptDependenciesState, opts ...pulumi.ResourceOption) (*RuleScriptDependencies, error)
GetRuleScriptDependencies gets an existing RuleScriptDependencies 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 NewRuleScriptDependencies ¶ added in v0.4.0
func NewRuleScriptDependencies(ctx *pulumi.Context, name string, args *RuleScriptDependenciesArgs, opts ...pulumi.ResourceOption) (*RuleScriptDependencies, error)
NewRuleScriptDependencies registers a new resource with the given unique name, arguments, and options.
func (*RuleScriptDependencies) ElementType ¶ added in v0.4.0
func (*RuleScriptDependencies) ElementType() reflect.Type
func (*RuleScriptDependencies) ToRuleScriptDependenciesOutput ¶ added in v0.4.0
func (i *RuleScriptDependencies) ToRuleScriptDependenciesOutput() RuleScriptDependenciesOutput
func (*RuleScriptDependencies) ToRuleScriptDependenciesOutputWithContext ¶ added in v0.4.0
func (i *RuleScriptDependencies) ToRuleScriptDependenciesOutputWithContext(ctx context.Context) RuleScriptDependenciesOutput
type RuleScriptDependenciesArgs ¶ added in v0.4.0
type RuleScriptDependenciesArgs struct {
// An array of rule scripts and the other ids of the rules they depend on before executing.
Dependencies RuleScriptDependenciesDependencyArrayInput
}
The set of arguments for constructing a RuleScriptDependencies resource.
func (RuleScriptDependenciesArgs) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesArgs) ElementType() reflect.Type
type RuleScriptDependenciesArray ¶ added in v0.4.0
type RuleScriptDependenciesArray []RuleScriptDependenciesInput
func (RuleScriptDependenciesArray) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesArray) ElementType() reflect.Type
func (RuleScriptDependenciesArray) ToRuleScriptDependenciesArrayOutput ¶ added in v0.4.0
func (i RuleScriptDependenciesArray) ToRuleScriptDependenciesArrayOutput() RuleScriptDependenciesArrayOutput
func (RuleScriptDependenciesArray) ToRuleScriptDependenciesArrayOutputWithContext ¶ added in v0.4.0
func (i RuleScriptDependenciesArray) ToRuleScriptDependenciesArrayOutputWithContext(ctx context.Context) RuleScriptDependenciesArrayOutput
type RuleScriptDependenciesArrayInput ¶ added in v0.4.0
type RuleScriptDependenciesArrayInput interface {
pulumi.Input
ToRuleScriptDependenciesArrayOutput() RuleScriptDependenciesArrayOutput
ToRuleScriptDependenciesArrayOutputWithContext(context.Context) RuleScriptDependenciesArrayOutput
}
RuleScriptDependenciesArrayInput is an input type that accepts RuleScriptDependenciesArray and RuleScriptDependenciesArrayOutput values. You can construct a concrete instance of `RuleScriptDependenciesArrayInput` via:
RuleScriptDependenciesArray{ RuleScriptDependenciesArgs{...} }
type RuleScriptDependenciesArrayOutput ¶ added in v0.4.0
type RuleScriptDependenciesArrayOutput struct{ *pulumi.OutputState }
func (RuleScriptDependenciesArrayOutput) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesArrayOutput) ElementType() reflect.Type
func (RuleScriptDependenciesArrayOutput) Index ¶ added in v0.4.0
func (o RuleScriptDependenciesArrayOutput) Index(i pulumi.IntInput) RuleScriptDependenciesOutput
func (RuleScriptDependenciesArrayOutput) ToRuleScriptDependenciesArrayOutput ¶ added in v0.4.0
func (o RuleScriptDependenciesArrayOutput) ToRuleScriptDependenciesArrayOutput() RuleScriptDependenciesArrayOutput
func (RuleScriptDependenciesArrayOutput) ToRuleScriptDependenciesArrayOutputWithContext ¶ added in v0.4.0
func (o RuleScriptDependenciesArrayOutput) ToRuleScriptDependenciesArrayOutputWithContext(ctx context.Context) RuleScriptDependenciesArrayOutput
type RuleScriptDependenciesDependency ¶ added in v0.4.0
type RuleScriptDependenciesDependencyArgs ¶ added in v0.4.0
type RuleScriptDependenciesDependencyArgs struct {
// IDs of the rule script this rule depends on.
DependsOnRuleScriptIds pulumi.StringArrayInput `pulumi:"dependsOnRuleScriptIds"`
// The ID of the rule script
RuleScriptId pulumi.StringInput `pulumi:"ruleScriptId"`
}
func (RuleScriptDependenciesDependencyArgs) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesDependencyArgs) ElementType() reflect.Type
func (RuleScriptDependenciesDependencyArgs) ToRuleScriptDependenciesDependencyOutput ¶ added in v0.4.0
func (i RuleScriptDependenciesDependencyArgs) ToRuleScriptDependenciesDependencyOutput() RuleScriptDependenciesDependencyOutput
func (RuleScriptDependenciesDependencyArgs) ToRuleScriptDependenciesDependencyOutputWithContext ¶ added in v0.4.0
func (i RuleScriptDependenciesDependencyArgs) ToRuleScriptDependenciesDependencyOutputWithContext(ctx context.Context) RuleScriptDependenciesDependencyOutput
type RuleScriptDependenciesDependencyArray ¶ added in v0.4.0
type RuleScriptDependenciesDependencyArray []RuleScriptDependenciesDependencyInput
func (RuleScriptDependenciesDependencyArray) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesDependencyArray) ElementType() reflect.Type
func (RuleScriptDependenciesDependencyArray) ToRuleScriptDependenciesDependencyArrayOutput ¶ added in v0.4.0
func (i RuleScriptDependenciesDependencyArray) ToRuleScriptDependenciesDependencyArrayOutput() RuleScriptDependenciesDependencyArrayOutput
func (RuleScriptDependenciesDependencyArray) ToRuleScriptDependenciesDependencyArrayOutputWithContext ¶ added in v0.4.0
func (i RuleScriptDependenciesDependencyArray) ToRuleScriptDependenciesDependencyArrayOutputWithContext(ctx context.Context) RuleScriptDependenciesDependencyArrayOutput
type RuleScriptDependenciesDependencyArrayInput ¶ added in v0.4.0
type RuleScriptDependenciesDependencyArrayInput interface {
pulumi.Input
ToRuleScriptDependenciesDependencyArrayOutput() RuleScriptDependenciesDependencyArrayOutput
ToRuleScriptDependenciesDependencyArrayOutputWithContext(context.Context) RuleScriptDependenciesDependencyArrayOutput
}
RuleScriptDependenciesDependencyArrayInput is an input type that accepts RuleScriptDependenciesDependencyArray and RuleScriptDependenciesDependencyArrayOutput values. You can construct a concrete instance of `RuleScriptDependenciesDependencyArrayInput` via:
RuleScriptDependenciesDependencyArray{ RuleScriptDependenciesDependencyArgs{...} }
type RuleScriptDependenciesDependencyArrayOutput ¶ added in v0.4.0
type RuleScriptDependenciesDependencyArrayOutput struct{ *pulumi.OutputState }
func (RuleScriptDependenciesDependencyArrayOutput) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesDependencyArrayOutput) ElementType() reflect.Type
func (RuleScriptDependenciesDependencyArrayOutput) ToRuleScriptDependenciesDependencyArrayOutput ¶ added in v0.4.0
func (o RuleScriptDependenciesDependencyArrayOutput) ToRuleScriptDependenciesDependencyArrayOutput() RuleScriptDependenciesDependencyArrayOutput
func (RuleScriptDependenciesDependencyArrayOutput) ToRuleScriptDependenciesDependencyArrayOutputWithContext ¶ added in v0.4.0
func (o RuleScriptDependenciesDependencyArrayOutput) ToRuleScriptDependenciesDependencyArrayOutputWithContext(ctx context.Context) RuleScriptDependenciesDependencyArrayOutput
type RuleScriptDependenciesDependencyInput ¶ added in v0.4.0
type RuleScriptDependenciesDependencyInput interface {
pulumi.Input
ToRuleScriptDependenciesDependencyOutput() RuleScriptDependenciesDependencyOutput
ToRuleScriptDependenciesDependencyOutputWithContext(context.Context) RuleScriptDependenciesDependencyOutput
}
RuleScriptDependenciesDependencyInput is an input type that accepts RuleScriptDependenciesDependencyArgs and RuleScriptDependenciesDependencyOutput values. You can construct a concrete instance of `RuleScriptDependenciesDependencyInput` via:
RuleScriptDependenciesDependencyArgs{...}
type RuleScriptDependenciesDependencyOutput ¶ added in v0.4.0
type RuleScriptDependenciesDependencyOutput struct{ *pulumi.OutputState }
func (RuleScriptDependenciesDependencyOutput) DependsOnRuleScriptIds ¶ added in v0.4.0
func (o RuleScriptDependenciesDependencyOutput) DependsOnRuleScriptIds() pulumi.StringArrayOutput
IDs of the rule script this rule depends on.
func (RuleScriptDependenciesDependencyOutput) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesDependencyOutput) ElementType() reflect.Type
func (RuleScriptDependenciesDependencyOutput) RuleScriptId ¶ added in v0.4.0
func (o RuleScriptDependenciesDependencyOutput) RuleScriptId() pulumi.StringOutput
The ID of the rule script
func (RuleScriptDependenciesDependencyOutput) ToRuleScriptDependenciesDependencyOutput ¶ added in v0.4.0
func (o RuleScriptDependenciesDependencyOutput) ToRuleScriptDependenciesDependencyOutput() RuleScriptDependenciesDependencyOutput
func (RuleScriptDependenciesDependencyOutput) ToRuleScriptDependenciesDependencyOutputWithContext ¶ added in v0.4.0
func (o RuleScriptDependenciesDependencyOutput) ToRuleScriptDependenciesDependencyOutputWithContext(ctx context.Context) RuleScriptDependenciesDependencyOutput
type RuleScriptDependenciesInput ¶ added in v0.4.0
type RuleScriptDependenciesInput interface {
pulumi.Input
ToRuleScriptDependenciesOutput() RuleScriptDependenciesOutput
ToRuleScriptDependenciesOutputWithContext(ctx context.Context) RuleScriptDependenciesOutput
}
type RuleScriptDependenciesMap ¶ added in v0.4.0
type RuleScriptDependenciesMap map[string]RuleScriptDependenciesInput
func (RuleScriptDependenciesMap) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesMap) ElementType() reflect.Type
func (RuleScriptDependenciesMap) ToRuleScriptDependenciesMapOutput ¶ added in v0.4.0
func (i RuleScriptDependenciesMap) ToRuleScriptDependenciesMapOutput() RuleScriptDependenciesMapOutput
func (RuleScriptDependenciesMap) ToRuleScriptDependenciesMapOutputWithContext ¶ added in v0.4.0
func (i RuleScriptDependenciesMap) ToRuleScriptDependenciesMapOutputWithContext(ctx context.Context) RuleScriptDependenciesMapOutput
type RuleScriptDependenciesMapInput ¶ added in v0.4.0
type RuleScriptDependenciesMapInput interface {
pulumi.Input
ToRuleScriptDependenciesMapOutput() RuleScriptDependenciesMapOutput
ToRuleScriptDependenciesMapOutputWithContext(context.Context) RuleScriptDependenciesMapOutput
}
RuleScriptDependenciesMapInput is an input type that accepts RuleScriptDependenciesMap and RuleScriptDependenciesMapOutput values. You can construct a concrete instance of `RuleScriptDependenciesMapInput` via:
RuleScriptDependenciesMap{ "key": RuleScriptDependenciesArgs{...} }
type RuleScriptDependenciesMapOutput ¶ added in v0.4.0
type RuleScriptDependenciesMapOutput struct{ *pulumi.OutputState }
func (RuleScriptDependenciesMapOutput) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesMapOutput) ElementType() reflect.Type
func (RuleScriptDependenciesMapOutput) MapIndex ¶ added in v0.4.0
func (o RuleScriptDependenciesMapOutput) MapIndex(k pulumi.StringInput) RuleScriptDependenciesOutput
func (RuleScriptDependenciesMapOutput) ToRuleScriptDependenciesMapOutput ¶ added in v0.4.0
func (o RuleScriptDependenciesMapOutput) ToRuleScriptDependenciesMapOutput() RuleScriptDependenciesMapOutput
func (RuleScriptDependenciesMapOutput) ToRuleScriptDependenciesMapOutputWithContext ¶ added in v0.4.0
func (o RuleScriptDependenciesMapOutput) ToRuleScriptDependenciesMapOutputWithContext(ctx context.Context) RuleScriptDependenciesMapOutput
type RuleScriptDependenciesOutput ¶ added in v0.4.0
type RuleScriptDependenciesOutput struct{ *pulumi.OutputState }
func (RuleScriptDependenciesOutput) Dependencies ¶ added in v0.4.0
func (o RuleScriptDependenciesOutput) Dependencies() RuleScriptDependenciesDependencyArrayOutput
An array of rule scripts and the other ids of the rules they depend on before executing.
func (RuleScriptDependenciesOutput) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesOutput) ElementType() reflect.Type
func (RuleScriptDependenciesOutput) ToRuleScriptDependenciesOutput ¶ added in v0.4.0
func (o RuleScriptDependenciesOutput) ToRuleScriptDependenciesOutput() RuleScriptDependenciesOutput
func (RuleScriptDependenciesOutput) ToRuleScriptDependenciesOutputWithContext ¶ added in v0.4.0
func (o RuleScriptDependenciesOutput) ToRuleScriptDependenciesOutputWithContext(ctx context.Context) RuleScriptDependenciesOutput
type RuleScriptDependenciesState ¶ added in v0.4.0
type RuleScriptDependenciesState struct {
// An array of rule scripts and the other ids of the rules they depend on before executing.
Dependencies RuleScriptDependenciesDependencyArrayInput
}
func (RuleScriptDependenciesState) ElementType ¶ added in v0.4.0
func (RuleScriptDependenciesState) ElementType() reflect.Type
type RuleScriptInput ¶
type RuleScriptInput interface {
pulumi.Input
ToRuleScriptOutput() RuleScriptOutput
ToRuleScriptOutputWithContext(ctx context.Context) RuleScriptOutput
}
type RuleScriptMap ¶
type RuleScriptMap map[string]RuleScriptInput
func (RuleScriptMap) ElementType ¶
func (RuleScriptMap) ElementType() reflect.Type
func (RuleScriptMap) ToRuleScriptMapOutput ¶
func (i RuleScriptMap) ToRuleScriptMapOutput() RuleScriptMapOutput
func (RuleScriptMap) ToRuleScriptMapOutputWithContext ¶
func (i RuleScriptMap) ToRuleScriptMapOutputWithContext(ctx context.Context) RuleScriptMapOutput
type RuleScriptMapInput ¶
type RuleScriptMapInput interface {
pulumi.Input
ToRuleScriptMapOutput() RuleScriptMapOutput
ToRuleScriptMapOutputWithContext(context.Context) RuleScriptMapOutput
}
RuleScriptMapInput is an input type that accepts RuleScriptMap and RuleScriptMapOutput values. You can construct a concrete instance of `RuleScriptMapInput` via:
RuleScriptMap{ "key": RuleScriptArgs{...} }
type RuleScriptMapOutput ¶
type RuleScriptMapOutput struct{ *pulumi.OutputState }
func (RuleScriptMapOutput) ElementType ¶
func (RuleScriptMapOutput) ElementType() reflect.Type
func (RuleScriptMapOutput) MapIndex ¶
func (o RuleScriptMapOutput) MapIndex(k pulumi.StringInput) RuleScriptOutput
func (RuleScriptMapOutput) ToRuleScriptMapOutput ¶
func (o RuleScriptMapOutput) ToRuleScriptMapOutput() RuleScriptMapOutput
func (RuleScriptMapOutput) ToRuleScriptMapOutputWithContext ¶
func (o RuleScriptMapOutput) ToRuleScriptMapOutputWithContext(ctx context.Context) RuleScriptMapOutput
type RuleScriptOutput ¶
type RuleScriptOutput struct{ *pulumi.OutputState }
func (RuleScriptOutput) BlockingEffect ¶ added in v0.7.0
func (o RuleScriptOutput) BlockingEffect() pulumi.StringPtrOutput
The rule blocking effect. Allowed values: block, simulate. If not set effect will be block.
func (RuleScriptOutput) Content ¶ added in v0.5.0
func (o RuleScriptOutput) Content() pulumi.StringPtrOutput
The rule body content.
func (RuleScriptOutput) Description ¶
func (o RuleScriptOutput) Description() pulumi.StringPtrOutput
The description for this rule script.
func (RuleScriptOutput) Disabled ¶
func (o RuleScriptOutput) Disabled() pulumi.BoolOutput
Set true to disable the rule script.
func (RuleScriptOutput) ElementType ¶
func (RuleScriptOutput) ElementType() reflect.Type
func (RuleScriptOutput) Labels ¶ added in v0.8.0
func (o RuleScriptOutput) Labels() pulumi.StringArrayOutput
The applied labels.
func (RuleScriptOutput) Name ¶
func (o RuleScriptOutput) Name() pulumi.StringOutput
The name for this rule script.
func (RuleScriptOutput) SourceFile ¶
func (o RuleScriptOutput) SourceFile() pulumi.StringPtrOutput
The rule source file.
func (RuleScriptOutput) SourceHash ¶
func (o RuleScriptOutput) SourceHash() pulumi.StringPtrOutput
The rule source hash.
func (RuleScriptOutput) ToRuleScriptOutput ¶
func (o RuleScriptOutput) ToRuleScriptOutput() RuleScriptOutput
func (RuleScriptOutput) ToRuleScriptOutputWithContext ¶
func (o RuleScriptOutput) ToRuleScriptOutputWithContext(ctx context.Context) RuleScriptOutput
type RuleScriptState ¶
type RuleScriptState struct {
// The rule blocking effect. Allowed values: block, simulate. If not set effect will be block.
BlockingEffect pulumi.StringPtrInput
// The rule body content.
Content pulumi.StringPtrInput
// The description for this rule script.
Description pulumi.StringPtrInput
// Set true to disable the rule script.
Disabled pulumi.BoolPtrInput
// The applied labels.
Labels pulumi.StringArrayInput
// The name for this rule script.
Name pulumi.StringPtrInput
// The rule source file.
SourceFile pulumi.StringPtrInput
// The rule source hash.
SourceHash pulumi.StringPtrInput
}
func (RuleScriptState) ElementType ¶
func (RuleScriptState) ElementType() reflect.Type
type RuleState ¶ added in v0.10.0
type RuleState struct {
// The rule blocking effect. Allowed values: block, simulate. If not set effect will be block.
BlockingEffect pulumi.StringPtrInput
// The rule body content.
Content pulumi.StringPtrInput
// The description for this rule.
Description pulumi.StringPtrInput
// Set true to disable the rule.
Disabled pulumi.BoolPtrInput
// The applied labels.
Labels pulumi.StringArrayInput
// The name for this rule.
Name pulumi.StringPtrInput
// The rule source file.
SourceFile pulumi.StringPtrInput
// The rule source hash.
SourceHash pulumi.StringPtrInput
// The type of the rule. Allowed values: script, recipe.
Type pulumi.StringPtrInput
}
func (RuleState) ElementType ¶ added in v0.10.0
type RuleTestCase ¶ added in v0.7.0
type RuleTestCase struct {
pulumi.CustomResourceState
// The assertions of the test case.
Assertions RuleTestCaseAssertionArrayOutput `pulumi:"assertions"`
// The description of the test case.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The applied labels.
Labels pulumi.StringArrayOutput `pulumi:"labels"`
// The messages of the test case.
Messages RuleTestCaseMessageArrayOutput `pulumi:"messages"`
// The name of the test case.
Name pulumi.StringOutput `pulumi:"name"`
// Sets if test case required to pass on update.
Required pulumi.BoolPtrOutput `pulumi:"required"`
}
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi-std/sdk/v2/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
invokeBase64encode, err := std.Base64encode(ctx, &std.Base64encodeArgs{
Input: "request body",
}, nil)
if err != nil {
return err
}
invokeBase64encode1, err := std.Base64encode(ctx, &std.Base64encodeArgs{
Input: "response body",
}, nil)
if err != nil {
return err
}
_, err = impart.NewRuleTestCase(ctx, "example", &impart.RuleTestCaseArgs{
Name: pulumi.String("example"),
Description: pulumi.String("test case description"),
Messages: impart.RuleTestCaseMessageArray{
&impart.RuleTestCaseMessageArgs{
Count: pulumi.Int(1),
Req: &impart.RuleTestCaseMessageReqArgs{
Url: pulumi.String("http://example.com"),
Method: pulumi.String("GET"),
Body: pulumi.String(invokeBase64encode.Result),
HeaderKeys: pulumi.StringArray{
pulumi.String("Header1"),
},
HeaderValues: pulumi.StringArray{
pulumi.String("value1"),
},
RemoteAddr: pulumi.String("192.168.1.1"),
},
Res: &impart.RuleTestCaseMessageResArgs{
StatusCode: pulumi.Int(201),
HeaderKeys: pulumi.StringArray{
pulumi.String("Header1"),
},
HeaderValues: pulumi.StringArray{
pulumi.String("value1"),
},
Body: pulumi.String(invokeBase64encode1.Result),
},
},
},
Assertions: impart.RuleTestCaseAssertionArray{
&impart.RuleTestCaseAssertionArgs{
MessageIndexes: pulumi.IntArray{
pulumi.Int(0),
},
AssertionType: pulumi.String("output"),
Condition: pulumi.String("contains"),
Expected: pulumi.String("test"),
},
&impart.RuleTestCaseAssertionArgs{
MessageIndexes: pulumi.IntArray{
pulumi.Int(0),
},
AssertionType: pulumi.String("block"),
Location: pulumi.String("req"),
Expected: pulumi.String("true"),
},
&impart.RuleTestCaseAssertionArgs{
MessageIndexes: pulumi.IntArray{
pulumi.Int(0),
},
AssertionType: pulumi.String("status_code"),
Location: pulumi.String("req"),
Condition: pulumi.String("one_of"),
Expected: pulumi.String("201,200"),
},
&impart.RuleTestCaseAssertionArgs{
MessageIndexes: pulumi.IntArray{
pulumi.Int(0),
},
AssertionType: pulumi.String("tags"),
Location: pulumi.String("req"),
Condition: pulumi.String("contains"),
Expected: pulumi.String("tagname"),
},
},
})
if err != nil {
return err
}
return nil
})
}
```
func GetRuleTestCase ¶ added in v0.7.0
func GetRuleTestCase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleTestCaseState, opts ...pulumi.ResourceOption) (*RuleTestCase, error)
GetRuleTestCase gets an existing RuleTestCase 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 NewRuleTestCase ¶ added in v0.7.0
func NewRuleTestCase(ctx *pulumi.Context, name string, args *RuleTestCaseArgs, opts ...pulumi.ResourceOption) (*RuleTestCase, error)
NewRuleTestCase registers a new resource with the given unique name, arguments, and options.
func (*RuleTestCase) ElementType ¶ added in v0.7.0
func (*RuleTestCase) ElementType() reflect.Type
func (*RuleTestCase) ToRuleTestCaseOutput ¶ added in v0.7.0
func (i *RuleTestCase) ToRuleTestCaseOutput() RuleTestCaseOutput
func (*RuleTestCase) ToRuleTestCaseOutputWithContext ¶ added in v0.7.0
func (i *RuleTestCase) ToRuleTestCaseOutputWithContext(ctx context.Context) RuleTestCaseOutput
type RuleTestCaseArgs ¶ added in v0.7.0
type RuleTestCaseArgs struct {
// The assertions of the test case.
Assertions RuleTestCaseAssertionArrayInput
// The description of the test case.
Description pulumi.StringPtrInput
// The applied labels.
Labels pulumi.StringArrayInput
// The messages of the test case.
Messages RuleTestCaseMessageArrayInput
// The name of the test case.
Name pulumi.StringInput
// Sets if test case required to pass on update.
Required pulumi.BoolPtrInput
}
The set of arguments for constructing a RuleTestCase resource.
func (RuleTestCaseArgs) ElementType ¶ added in v0.7.0
func (RuleTestCaseArgs) ElementType() reflect.Type
type RuleTestCaseArray ¶ added in v0.7.0
type RuleTestCaseArray []RuleTestCaseInput
func (RuleTestCaseArray) ElementType ¶ added in v0.7.0
func (RuleTestCaseArray) ElementType() reflect.Type
func (RuleTestCaseArray) ToRuleTestCaseArrayOutput ¶ added in v0.7.0
func (i RuleTestCaseArray) ToRuleTestCaseArrayOutput() RuleTestCaseArrayOutput
func (RuleTestCaseArray) ToRuleTestCaseArrayOutputWithContext ¶ added in v0.7.0
func (i RuleTestCaseArray) ToRuleTestCaseArrayOutputWithContext(ctx context.Context) RuleTestCaseArrayOutput
type RuleTestCaseArrayInput ¶ added in v0.7.0
type RuleTestCaseArrayInput interface {
pulumi.Input
ToRuleTestCaseArrayOutput() RuleTestCaseArrayOutput
ToRuleTestCaseArrayOutputWithContext(context.Context) RuleTestCaseArrayOutput
}
RuleTestCaseArrayInput is an input type that accepts RuleTestCaseArray and RuleTestCaseArrayOutput values. You can construct a concrete instance of `RuleTestCaseArrayInput` via:
RuleTestCaseArray{ RuleTestCaseArgs{...} }
type RuleTestCaseArrayOutput ¶ added in v0.7.0
type RuleTestCaseArrayOutput struct{ *pulumi.OutputState }
func (RuleTestCaseArrayOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseArrayOutput) ElementType() reflect.Type
func (RuleTestCaseArrayOutput) Index ¶ added in v0.7.0
func (o RuleTestCaseArrayOutput) Index(i pulumi.IntInput) RuleTestCaseOutput
func (RuleTestCaseArrayOutput) ToRuleTestCaseArrayOutput ¶ added in v0.7.0
func (o RuleTestCaseArrayOutput) ToRuleTestCaseArrayOutput() RuleTestCaseArrayOutput
func (RuleTestCaseArrayOutput) ToRuleTestCaseArrayOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseArrayOutput) ToRuleTestCaseArrayOutputWithContext(ctx context.Context) RuleTestCaseArrayOutput
type RuleTestCaseAssertion ¶ added in v0.7.0
type RuleTestCaseAssertion struct {
// The assertion type of the request.
AssertionType string `pulumi:"assertionType"`
// The condition of the assertion.
// Accepted values per assertion type:
// **output**: contains, not*contains.
// **tags**: contains, not*contains.
// **status_code**: equal, not*equal, greater*than, less*than, one*of.
// **block**: N/A
Condition *string `pulumi:"condition"`
// The description of the assertion.
Description *string `pulumi:"description"`
// The expected value of the assertion.
// It is a string value, and the format it must satisfy depends on the assertion type:
// **output**: A string.
// **tags**: A string.
// **status_code**: An integer value (e.g., "200") or comma-separated list of integers for oneOf condition (e.g., "200,404,500").
// **block**: A boolean value represented as "true" or "false".
Expected string `pulumi:"expected"`
// The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
Location *string `pulumi:"location"`
// The indexes of the messages in the test case the assertion applies to.
MessageIndexes []int `pulumi:"messageIndexes"`
}
type RuleTestCaseAssertionArgs ¶ added in v0.7.0
type RuleTestCaseAssertionArgs struct {
// The assertion type of the request.
AssertionType pulumi.StringInput `pulumi:"assertionType"`
// The condition of the assertion.
// Accepted values per assertion type:
// **output**: contains, not*contains.
// **tags**: contains, not*contains.
// **status_code**: equal, not*equal, greater*than, less*than, one*of.
// **block**: N/A
Condition pulumi.StringPtrInput `pulumi:"condition"`
// The description of the assertion.
Description pulumi.StringPtrInput `pulumi:"description"`
// The expected value of the assertion.
// It is a string value, and the format it must satisfy depends on the assertion type:
// **output**: A string.
// **tags**: A string.
// **status_code**: An integer value (e.g., "200") or comma-separated list of integers for oneOf condition (e.g., "200,404,500").
// **block**: A boolean value represented as "true" or "false".
Expected pulumi.StringInput `pulumi:"expected"`
// The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
Location pulumi.StringPtrInput `pulumi:"location"`
// The indexes of the messages in the test case the assertion applies to.
MessageIndexes pulumi.IntArrayInput `pulumi:"messageIndexes"`
}
func (RuleTestCaseAssertionArgs) ElementType ¶ added in v0.7.0
func (RuleTestCaseAssertionArgs) ElementType() reflect.Type
func (RuleTestCaseAssertionArgs) ToRuleTestCaseAssertionOutput ¶ added in v0.7.0
func (i RuleTestCaseAssertionArgs) ToRuleTestCaseAssertionOutput() RuleTestCaseAssertionOutput
func (RuleTestCaseAssertionArgs) ToRuleTestCaseAssertionOutputWithContext ¶ added in v0.7.0
func (i RuleTestCaseAssertionArgs) ToRuleTestCaseAssertionOutputWithContext(ctx context.Context) RuleTestCaseAssertionOutput
type RuleTestCaseAssertionArray ¶ added in v0.7.0
type RuleTestCaseAssertionArray []RuleTestCaseAssertionInput
func (RuleTestCaseAssertionArray) ElementType ¶ added in v0.7.0
func (RuleTestCaseAssertionArray) ElementType() reflect.Type
func (RuleTestCaseAssertionArray) ToRuleTestCaseAssertionArrayOutput ¶ added in v0.7.0
func (i RuleTestCaseAssertionArray) ToRuleTestCaseAssertionArrayOutput() RuleTestCaseAssertionArrayOutput
func (RuleTestCaseAssertionArray) ToRuleTestCaseAssertionArrayOutputWithContext ¶ added in v0.7.0
func (i RuleTestCaseAssertionArray) ToRuleTestCaseAssertionArrayOutputWithContext(ctx context.Context) RuleTestCaseAssertionArrayOutput
type RuleTestCaseAssertionArrayInput ¶ added in v0.7.0
type RuleTestCaseAssertionArrayInput interface {
pulumi.Input
ToRuleTestCaseAssertionArrayOutput() RuleTestCaseAssertionArrayOutput
ToRuleTestCaseAssertionArrayOutputWithContext(context.Context) RuleTestCaseAssertionArrayOutput
}
RuleTestCaseAssertionArrayInput is an input type that accepts RuleTestCaseAssertionArray and RuleTestCaseAssertionArrayOutput values. You can construct a concrete instance of `RuleTestCaseAssertionArrayInput` via:
RuleTestCaseAssertionArray{ RuleTestCaseAssertionArgs{...} }
type RuleTestCaseAssertionArrayOutput ¶ added in v0.7.0
type RuleTestCaseAssertionArrayOutput struct{ *pulumi.OutputState }
func (RuleTestCaseAssertionArrayOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseAssertionArrayOutput) ElementType() reflect.Type
func (RuleTestCaseAssertionArrayOutput) Index ¶ added in v0.7.0
func (o RuleTestCaseAssertionArrayOutput) Index(i pulumi.IntInput) RuleTestCaseAssertionOutput
func (RuleTestCaseAssertionArrayOutput) ToRuleTestCaseAssertionArrayOutput ¶ added in v0.7.0
func (o RuleTestCaseAssertionArrayOutput) ToRuleTestCaseAssertionArrayOutput() RuleTestCaseAssertionArrayOutput
func (RuleTestCaseAssertionArrayOutput) ToRuleTestCaseAssertionArrayOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseAssertionArrayOutput) ToRuleTestCaseAssertionArrayOutputWithContext(ctx context.Context) RuleTestCaseAssertionArrayOutput
type RuleTestCaseAssertionInput ¶ added in v0.7.0
type RuleTestCaseAssertionInput interface {
pulumi.Input
ToRuleTestCaseAssertionOutput() RuleTestCaseAssertionOutput
ToRuleTestCaseAssertionOutputWithContext(context.Context) RuleTestCaseAssertionOutput
}
RuleTestCaseAssertionInput is an input type that accepts RuleTestCaseAssertionArgs and RuleTestCaseAssertionOutput values. You can construct a concrete instance of `RuleTestCaseAssertionInput` via:
RuleTestCaseAssertionArgs{...}
type RuleTestCaseAssertionOutput ¶ added in v0.7.0
type RuleTestCaseAssertionOutput struct{ *pulumi.OutputState }
func (RuleTestCaseAssertionOutput) AssertionType ¶ added in v0.7.0
func (o RuleTestCaseAssertionOutput) AssertionType() pulumi.StringOutput
The assertion type of the request.
func (RuleTestCaseAssertionOutput) Condition ¶ added in v0.7.0
func (o RuleTestCaseAssertionOutput) Condition() pulumi.StringPtrOutput
The condition of the assertion. Accepted values per assertion type: **output**: contains, not*contains. **tags**: contains, not*contains. **status_code**: equal, not*equal, greater*than, less*than, one*of. **block**: N/A
func (RuleTestCaseAssertionOutput) Description ¶ added in v0.8.0
func (o RuleTestCaseAssertionOutput) Description() pulumi.StringPtrOutput
The description of the assertion.
func (RuleTestCaseAssertionOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseAssertionOutput) ElementType() reflect.Type
func (RuleTestCaseAssertionOutput) Expected ¶ added in v0.7.0
func (o RuleTestCaseAssertionOutput) Expected() pulumi.StringOutput
The expected value of the assertion. It is a string value, and the format it must satisfy depends on the assertion type: **output**: A string. **tags**: A string. **status_code**: An integer value (e.g., "200") or comma-separated list of integers for oneOf condition (e.g., "200,404,500"). **block**: A boolean value represented as "true" or "false".
func (RuleTestCaseAssertionOutput) Location ¶ added in v0.7.0
func (o RuleTestCaseAssertionOutput) Location() pulumi.StringPtrOutput
The location of the assertion. Allowed values: req, res. Not applicable for assertion type output.
func (RuleTestCaseAssertionOutput) MessageIndexes ¶ added in v0.7.0
func (o RuleTestCaseAssertionOutput) MessageIndexes() pulumi.IntArrayOutput
The indexes of the messages in the test case the assertion applies to.
func (RuleTestCaseAssertionOutput) ToRuleTestCaseAssertionOutput ¶ added in v0.7.0
func (o RuleTestCaseAssertionOutput) ToRuleTestCaseAssertionOutput() RuleTestCaseAssertionOutput
func (RuleTestCaseAssertionOutput) ToRuleTestCaseAssertionOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseAssertionOutput) ToRuleTestCaseAssertionOutputWithContext(ctx context.Context) RuleTestCaseAssertionOutput
type RuleTestCaseInput ¶ added in v0.7.0
type RuleTestCaseInput interface {
pulumi.Input
ToRuleTestCaseOutput() RuleTestCaseOutput
ToRuleTestCaseOutputWithContext(ctx context.Context) RuleTestCaseOutput
}
type RuleTestCaseMap ¶ added in v0.7.0
type RuleTestCaseMap map[string]RuleTestCaseInput
func (RuleTestCaseMap) ElementType ¶ added in v0.7.0
func (RuleTestCaseMap) ElementType() reflect.Type
func (RuleTestCaseMap) ToRuleTestCaseMapOutput ¶ added in v0.7.0
func (i RuleTestCaseMap) ToRuleTestCaseMapOutput() RuleTestCaseMapOutput
func (RuleTestCaseMap) ToRuleTestCaseMapOutputWithContext ¶ added in v0.7.0
func (i RuleTestCaseMap) ToRuleTestCaseMapOutputWithContext(ctx context.Context) RuleTestCaseMapOutput
type RuleTestCaseMapInput ¶ added in v0.7.0
type RuleTestCaseMapInput interface {
pulumi.Input
ToRuleTestCaseMapOutput() RuleTestCaseMapOutput
ToRuleTestCaseMapOutputWithContext(context.Context) RuleTestCaseMapOutput
}
RuleTestCaseMapInput is an input type that accepts RuleTestCaseMap and RuleTestCaseMapOutput values. You can construct a concrete instance of `RuleTestCaseMapInput` via:
RuleTestCaseMap{ "key": RuleTestCaseArgs{...} }
type RuleTestCaseMapOutput ¶ added in v0.7.0
type RuleTestCaseMapOutput struct{ *pulumi.OutputState }
func (RuleTestCaseMapOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseMapOutput) ElementType() reflect.Type
func (RuleTestCaseMapOutput) MapIndex ¶ added in v0.7.0
func (o RuleTestCaseMapOutput) MapIndex(k pulumi.StringInput) RuleTestCaseOutput
func (RuleTestCaseMapOutput) ToRuleTestCaseMapOutput ¶ added in v0.7.0
func (o RuleTestCaseMapOutput) ToRuleTestCaseMapOutput() RuleTestCaseMapOutput
func (RuleTestCaseMapOutput) ToRuleTestCaseMapOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseMapOutput) ToRuleTestCaseMapOutputWithContext(ctx context.Context) RuleTestCaseMapOutput
type RuleTestCaseMessage ¶ added in v0.7.0
type RuleTestCaseMessage struct {
// The number of times to include the message in the test case.
Count *int `pulumi:"count"`
// The delay in milliseconds between message iterations.
Delay *int `pulumi:"delay"`
// The description of the test case message.
Description *string `pulumi:"description"`
// The delay in milliseconds after a set of message iterations.
PostDelay *int `pulumi:"postDelay"`
// A payload sent to the inspector to inspect an HTTP request.
Req RuleTestCaseMessageReq `pulumi:"req"`
// A payload sent to the inspector to inspect an HTTP response.
Res RuleTestCaseMessageRes `pulumi:"res"`
}
type RuleTestCaseMessageArgs ¶ added in v0.7.0
type RuleTestCaseMessageArgs struct {
// The number of times to include the message in the test case.
Count pulumi.IntPtrInput `pulumi:"count"`
// The delay in milliseconds between message iterations.
Delay pulumi.IntPtrInput `pulumi:"delay"`
// The description of the test case message.
Description pulumi.StringPtrInput `pulumi:"description"`
// The delay in milliseconds after a set of message iterations.
PostDelay pulumi.IntPtrInput `pulumi:"postDelay"`
// A payload sent to the inspector to inspect an HTTP request.
Req RuleTestCaseMessageReqInput `pulumi:"req"`
// A payload sent to the inspector to inspect an HTTP response.
Res RuleTestCaseMessageResInput `pulumi:"res"`
}
func (RuleTestCaseMessageArgs) ElementType ¶ added in v0.7.0
func (RuleTestCaseMessageArgs) ElementType() reflect.Type
func (RuleTestCaseMessageArgs) ToRuleTestCaseMessageOutput ¶ added in v0.7.0
func (i RuleTestCaseMessageArgs) ToRuleTestCaseMessageOutput() RuleTestCaseMessageOutput
func (RuleTestCaseMessageArgs) ToRuleTestCaseMessageOutputWithContext ¶ added in v0.7.0
func (i RuleTestCaseMessageArgs) ToRuleTestCaseMessageOutputWithContext(ctx context.Context) RuleTestCaseMessageOutput
type RuleTestCaseMessageArray ¶ added in v0.7.0
type RuleTestCaseMessageArray []RuleTestCaseMessageInput
func (RuleTestCaseMessageArray) ElementType ¶ added in v0.7.0
func (RuleTestCaseMessageArray) ElementType() reflect.Type
func (RuleTestCaseMessageArray) ToRuleTestCaseMessageArrayOutput ¶ added in v0.7.0
func (i RuleTestCaseMessageArray) ToRuleTestCaseMessageArrayOutput() RuleTestCaseMessageArrayOutput
func (RuleTestCaseMessageArray) ToRuleTestCaseMessageArrayOutputWithContext ¶ added in v0.7.0
func (i RuleTestCaseMessageArray) ToRuleTestCaseMessageArrayOutputWithContext(ctx context.Context) RuleTestCaseMessageArrayOutput
type RuleTestCaseMessageArrayInput ¶ added in v0.7.0
type RuleTestCaseMessageArrayInput interface {
pulumi.Input
ToRuleTestCaseMessageArrayOutput() RuleTestCaseMessageArrayOutput
ToRuleTestCaseMessageArrayOutputWithContext(context.Context) RuleTestCaseMessageArrayOutput
}
RuleTestCaseMessageArrayInput is an input type that accepts RuleTestCaseMessageArray and RuleTestCaseMessageArrayOutput values. You can construct a concrete instance of `RuleTestCaseMessageArrayInput` via:
RuleTestCaseMessageArray{ RuleTestCaseMessageArgs{...} }
type RuleTestCaseMessageArrayOutput ¶ added in v0.7.0
type RuleTestCaseMessageArrayOutput struct{ *pulumi.OutputState }
func (RuleTestCaseMessageArrayOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseMessageArrayOutput) ElementType() reflect.Type
func (RuleTestCaseMessageArrayOutput) Index ¶ added in v0.7.0
func (o RuleTestCaseMessageArrayOutput) Index(i pulumi.IntInput) RuleTestCaseMessageOutput
func (RuleTestCaseMessageArrayOutput) ToRuleTestCaseMessageArrayOutput ¶ added in v0.7.0
func (o RuleTestCaseMessageArrayOutput) ToRuleTestCaseMessageArrayOutput() RuleTestCaseMessageArrayOutput
func (RuleTestCaseMessageArrayOutput) ToRuleTestCaseMessageArrayOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseMessageArrayOutput) ToRuleTestCaseMessageArrayOutputWithContext(ctx context.Context) RuleTestCaseMessageArrayOutput
type RuleTestCaseMessageInput ¶ added in v0.7.0
type RuleTestCaseMessageInput interface {
pulumi.Input
ToRuleTestCaseMessageOutput() RuleTestCaseMessageOutput
ToRuleTestCaseMessageOutputWithContext(context.Context) RuleTestCaseMessageOutput
}
RuleTestCaseMessageInput is an input type that accepts RuleTestCaseMessageArgs and RuleTestCaseMessageOutput values. You can construct a concrete instance of `RuleTestCaseMessageInput` via:
RuleTestCaseMessageArgs{...}
type RuleTestCaseMessageOutput ¶ added in v0.7.0
type RuleTestCaseMessageOutput struct{ *pulumi.OutputState }
func (RuleTestCaseMessageOutput) Count ¶ added in v0.7.0
func (o RuleTestCaseMessageOutput) Count() pulumi.IntPtrOutput
The number of times to include the message in the test case.
func (RuleTestCaseMessageOutput) Delay ¶ added in v0.7.0
func (o RuleTestCaseMessageOutput) Delay() pulumi.IntPtrOutput
The delay in milliseconds between message iterations.
func (RuleTestCaseMessageOutput) Description ¶ added in v0.8.0
func (o RuleTestCaseMessageOutput) Description() pulumi.StringPtrOutput
The description of the test case message.
func (RuleTestCaseMessageOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseMessageOutput) ElementType() reflect.Type
func (RuleTestCaseMessageOutput) PostDelay ¶ added in v0.7.0
func (o RuleTestCaseMessageOutput) PostDelay() pulumi.IntPtrOutput
The delay in milliseconds after a set of message iterations.
func (RuleTestCaseMessageOutput) Req ¶ added in v0.7.0
func (o RuleTestCaseMessageOutput) Req() RuleTestCaseMessageReqOutput
A payload sent to the inspector to inspect an HTTP request.
func (RuleTestCaseMessageOutput) Res ¶ added in v0.7.0
func (o RuleTestCaseMessageOutput) Res() RuleTestCaseMessageResOutput
A payload sent to the inspector to inspect an HTTP response.
func (RuleTestCaseMessageOutput) ToRuleTestCaseMessageOutput ¶ added in v0.7.0
func (o RuleTestCaseMessageOutput) ToRuleTestCaseMessageOutput() RuleTestCaseMessageOutput
func (RuleTestCaseMessageOutput) ToRuleTestCaseMessageOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseMessageOutput) ToRuleTestCaseMessageOutputWithContext(ctx context.Context) RuleTestCaseMessageOutput
type RuleTestCaseMessageReq ¶ added in v0.7.0
type RuleTestCaseMessageReq struct {
// The base64 encoded HTTP request body.
Body *string `pulumi:"body"`
// The HTTP request cookie keys.
CookieKeys []string `pulumi:"cookieKeys"`
// The HTTP request cookie values.
CookieValues []string `pulumi:"cookieValues"`
// The HTTP request header keys.
HeaderKeys []string `pulumi:"headerKeys"`
// The HTTP request header values.
HeaderValues []string `pulumi:"headerValues"`
// The method of the request.
Method string `pulumi:"method"`
// The remote address of the request.
RemoteAddr *string `pulumi:"remoteAddr"`
// Indicates whether the request body was truncated.
TruncatedBody *bool `pulumi:"truncatedBody"`
// The URL of the request.
Url string `pulumi:"url"`
}
type RuleTestCaseMessageReqArgs ¶ added in v0.7.0
type RuleTestCaseMessageReqArgs struct {
// The base64 encoded HTTP request body.
Body pulumi.StringPtrInput `pulumi:"body"`
// The HTTP request cookie keys.
CookieKeys pulumi.StringArrayInput `pulumi:"cookieKeys"`
// The HTTP request cookie values.
CookieValues pulumi.StringArrayInput `pulumi:"cookieValues"`
// The HTTP request header keys.
HeaderKeys pulumi.StringArrayInput `pulumi:"headerKeys"`
// The HTTP request header values.
HeaderValues pulumi.StringArrayInput `pulumi:"headerValues"`
// The method of the request.
Method pulumi.StringInput `pulumi:"method"`
// The remote address of the request.
RemoteAddr pulumi.StringPtrInput `pulumi:"remoteAddr"`
// Indicates whether the request body was truncated.
TruncatedBody pulumi.BoolPtrInput `pulumi:"truncatedBody"`
// The URL of the request.
Url pulumi.StringInput `pulumi:"url"`
}
func (RuleTestCaseMessageReqArgs) ElementType ¶ added in v0.7.0
func (RuleTestCaseMessageReqArgs) ElementType() reflect.Type
func (RuleTestCaseMessageReqArgs) ToRuleTestCaseMessageReqOutput ¶ added in v0.7.0
func (i RuleTestCaseMessageReqArgs) ToRuleTestCaseMessageReqOutput() RuleTestCaseMessageReqOutput
func (RuleTestCaseMessageReqArgs) ToRuleTestCaseMessageReqOutputWithContext ¶ added in v0.7.0
func (i RuleTestCaseMessageReqArgs) ToRuleTestCaseMessageReqOutputWithContext(ctx context.Context) RuleTestCaseMessageReqOutput
type RuleTestCaseMessageReqInput ¶ added in v0.7.0
type RuleTestCaseMessageReqInput interface {
pulumi.Input
ToRuleTestCaseMessageReqOutput() RuleTestCaseMessageReqOutput
ToRuleTestCaseMessageReqOutputWithContext(context.Context) RuleTestCaseMessageReqOutput
}
RuleTestCaseMessageReqInput is an input type that accepts RuleTestCaseMessageReqArgs and RuleTestCaseMessageReqOutput values. You can construct a concrete instance of `RuleTestCaseMessageReqInput` via:
RuleTestCaseMessageReqArgs{...}
type RuleTestCaseMessageReqOutput ¶ added in v0.7.0
type RuleTestCaseMessageReqOutput struct{ *pulumi.OutputState }
func (RuleTestCaseMessageReqOutput) Body ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) Body() pulumi.StringPtrOutput
The base64 encoded HTTP request body.
func (RuleTestCaseMessageReqOutput) CookieKeys ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) CookieKeys() pulumi.StringArrayOutput
The HTTP request cookie keys.
func (RuleTestCaseMessageReqOutput) CookieValues ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) CookieValues() pulumi.StringArrayOutput
The HTTP request cookie values.
func (RuleTestCaseMessageReqOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseMessageReqOutput) ElementType() reflect.Type
func (RuleTestCaseMessageReqOutput) HeaderKeys ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) HeaderKeys() pulumi.StringArrayOutput
The HTTP request header keys.
func (RuleTestCaseMessageReqOutput) HeaderValues ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) HeaderValues() pulumi.StringArrayOutput
The HTTP request header values.
func (RuleTestCaseMessageReqOutput) Method ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) Method() pulumi.StringOutput
The method of the request.
func (RuleTestCaseMessageReqOutput) RemoteAddr ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) RemoteAddr() pulumi.StringPtrOutput
The remote address of the request.
func (RuleTestCaseMessageReqOutput) ToRuleTestCaseMessageReqOutput ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) ToRuleTestCaseMessageReqOutput() RuleTestCaseMessageReqOutput
func (RuleTestCaseMessageReqOutput) ToRuleTestCaseMessageReqOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) ToRuleTestCaseMessageReqOutputWithContext(ctx context.Context) RuleTestCaseMessageReqOutput
func (RuleTestCaseMessageReqOutput) TruncatedBody ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) TruncatedBody() pulumi.BoolPtrOutput
Indicates whether the request body was truncated.
func (RuleTestCaseMessageReqOutput) Url ¶ added in v0.7.0
func (o RuleTestCaseMessageReqOutput) Url() pulumi.StringOutput
The URL of the request.
type RuleTestCaseMessageRes ¶ added in v0.7.0
type RuleTestCaseMessageRes struct {
// The base64 encoded HTTP response body.
Body *string `pulumi:"body"`
// The HTTP response header keys.
HeaderKeys []string `pulumi:"headerKeys"`
// The HTTP response header values.
HeaderValues []string `pulumi:"headerValues"`
// The HTTP response status code.
StatusCode int `pulumi:"statusCode"`
// Indicates whether the response body was truncated.
TruncatedBody *bool `pulumi:"truncatedBody"`
}
type RuleTestCaseMessageResArgs ¶ added in v0.7.0
type RuleTestCaseMessageResArgs struct {
// The base64 encoded HTTP response body.
Body pulumi.StringPtrInput `pulumi:"body"`
// The HTTP response header keys.
HeaderKeys pulumi.StringArrayInput `pulumi:"headerKeys"`
// The HTTP response header values.
HeaderValues pulumi.StringArrayInput `pulumi:"headerValues"`
// The HTTP response status code.
StatusCode pulumi.IntInput `pulumi:"statusCode"`
// Indicates whether the response body was truncated.
TruncatedBody pulumi.BoolPtrInput `pulumi:"truncatedBody"`
}
func (RuleTestCaseMessageResArgs) ElementType ¶ added in v0.7.0
func (RuleTestCaseMessageResArgs) ElementType() reflect.Type
func (RuleTestCaseMessageResArgs) ToRuleTestCaseMessageResOutput ¶ added in v0.7.0
func (i RuleTestCaseMessageResArgs) ToRuleTestCaseMessageResOutput() RuleTestCaseMessageResOutput
func (RuleTestCaseMessageResArgs) ToRuleTestCaseMessageResOutputWithContext ¶ added in v0.7.0
func (i RuleTestCaseMessageResArgs) ToRuleTestCaseMessageResOutputWithContext(ctx context.Context) RuleTestCaseMessageResOutput
type RuleTestCaseMessageResInput ¶ added in v0.7.0
type RuleTestCaseMessageResInput interface {
pulumi.Input
ToRuleTestCaseMessageResOutput() RuleTestCaseMessageResOutput
ToRuleTestCaseMessageResOutputWithContext(context.Context) RuleTestCaseMessageResOutput
}
RuleTestCaseMessageResInput is an input type that accepts RuleTestCaseMessageResArgs and RuleTestCaseMessageResOutput values. You can construct a concrete instance of `RuleTestCaseMessageResInput` via:
RuleTestCaseMessageResArgs{...}
type RuleTestCaseMessageResOutput ¶ added in v0.7.0
type RuleTestCaseMessageResOutput struct{ *pulumi.OutputState }
func (RuleTestCaseMessageResOutput) Body ¶ added in v0.7.0
func (o RuleTestCaseMessageResOutput) Body() pulumi.StringPtrOutput
The base64 encoded HTTP response body.
func (RuleTestCaseMessageResOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseMessageResOutput) ElementType() reflect.Type
func (RuleTestCaseMessageResOutput) HeaderKeys ¶ added in v0.7.0
func (o RuleTestCaseMessageResOutput) HeaderKeys() pulumi.StringArrayOutput
The HTTP response header keys.
func (RuleTestCaseMessageResOutput) HeaderValues ¶ added in v0.7.0
func (o RuleTestCaseMessageResOutput) HeaderValues() pulumi.StringArrayOutput
The HTTP response header values.
func (RuleTestCaseMessageResOutput) StatusCode ¶ added in v0.7.0
func (o RuleTestCaseMessageResOutput) StatusCode() pulumi.IntOutput
The HTTP response status code.
func (RuleTestCaseMessageResOutput) ToRuleTestCaseMessageResOutput ¶ added in v0.7.0
func (o RuleTestCaseMessageResOutput) ToRuleTestCaseMessageResOutput() RuleTestCaseMessageResOutput
func (RuleTestCaseMessageResOutput) ToRuleTestCaseMessageResOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseMessageResOutput) ToRuleTestCaseMessageResOutputWithContext(ctx context.Context) RuleTestCaseMessageResOutput
func (RuleTestCaseMessageResOutput) TruncatedBody ¶ added in v0.7.0
func (o RuleTestCaseMessageResOutput) TruncatedBody() pulumi.BoolPtrOutput
Indicates whether the response body was truncated.
type RuleTestCaseOutput ¶ added in v0.7.0
type RuleTestCaseOutput struct{ *pulumi.OutputState }
func (RuleTestCaseOutput) Assertions ¶ added in v0.7.0
func (o RuleTestCaseOutput) Assertions() RuleTestCaseAssertionArrayOutput
The assertions of the test case.
func (RuleTestCaseOutput) Description ¶ added in v0.7.0
func (o RuleTestCaseOutput) Description() pulumi.StringPtrOutput
The description of the test case.
func (RuleTestCaseOutput) ElementType ¶ added in v0.7.0
func (RuleTestCaseOutput) ElementType() reflect.Type
func (RuleTestCaseOutput) Labels ¶ added in v0.8.0
func (o RuleTestCaseOutput) Labels() pulumi.StringArrayOutput
The applied labels.
func (RuleTestCaseOutput) Messages ¶ added in v0.7.0
func (o RuleTestCaseOutput) Messages() RuleTestCaseMessageArrayOutput
The messages of the test case.
func (RuleTestCaseOutput) Name ¶ added in v0.7.0
func (o RuleTestCaseOutput) Name() pulumi.StringOutput
The name of the test case.
func (RuleTestCaseOutput) Required ¶ added in v0.7.0
func (o RuleTestCaseOutput) Required() pulumi.BoolPtrOutput
Sets if test case required to pass on update.
func (RuleTestCaseOutput) ToRuleTestCaseOutput ¶ added in v0.7.0
func (o RuleTestCaseOutput) ToRuleTestCaseOutput() RuleTestCaseOutput
func (RuleTestCaseOutput) ToRuleTestCaseOutputWithContext ¶ added in v0.7.0
func (o RuleTestCaseOutput) ToRuleTestCaseOutputWithContext(ctx context.Context) RuleTestCaseOutput
type RuleTestCaseState ¶ added in v0.7.0
type RuleTestCaseState struct {
// The assertions of the test case.
Assertions RuleTestCaseAssertionArrayInput
// The description of the test case.
Description pulumi.StringPtrInput
// The applied labels.
Labels pulumi.StringArrayInput
// The messages of the test case.
Messages RuleTestCaseMessageArrayInput
// The name of the test case.
Name pulumi.StringPtrInput
// Sets if test case required to pass on update.
Required pulumi.BoolPtrInput
}
func (RuleTestCaseState) ElementType ¶ added in v0.7.0
func (RuleTestCaseState) ElementType() reflect.Type
type Spec ¶
type Spec struct {
pulumi.CustomResourceState
// Configuration for spec learning.
LearningConfig SpecLearningConfigPtrOutput `pulumi:"learningConfig"`
// The name for this specification.
Name pulumi.StringOutput `pulumi:"name"`
// The specification file.
SourceFile pulumi.StringOutput `pulumi:"sourceFile"`
// The specification source hash.
SourceHash pulumi.StringPtrOutput `pulumi:"sourceHash"`
}
Manage a specification.
## Import
The `pulumi import` command can be used, for example:
!/bin/bash
```sh $ pulumi import impart:index/spec:Spec example "<id>" ```
func GetSpec ¶
func GetSpec(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpecState, opts ...pulumi.ResourceOption) (*Spec, error)
GetSpec gets an existing Spec 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 NewSpec ¶
func NewSpec(ctx *pulumi.Context, name string, args *SpecArgs, opts ...pulumi.ResourceOption) (*Spec, error)
NewSpec registers a new resource with the given unique name, arguments, and options.
func (*Spec) ElementType ¶
func (*Spec) ToSpecOutput ¶
func (i *Spec) ToSpecOutput() SpecOutput
func (*Spec) ToSpecOutputWithContext ¶
func (i *Spec) ToSpecOutputWithContext(ctx context.Context) SpecOutput
type SpecArgs ¶
type SpecArgs struct {
// Configuration for spec learning.
LearningConfig SpecLearningConfigPtrInput
// The name for this specification.
Name pulumi.StringInput
// The specification file.
SourceFile pulumi.StringInput
// The specification source hash.
SourceHash pulumi.StringPtrInput
}
The set of arguments for constructing a Spec resource.
func (SpecArgs) ElementType ¶
type SpecArray ¶
type SpecArray []SpecInput
func (SpecArray) ElementType ¶
func (SpecArray) ToSpecArrayOutput ¶
func (i SpecArray) ToSpecArrayOutput() SpecArrayOutput
func (SpecArray) ToSpecArrayOutputWithContext ¶
func (i SpecArray) ToSpecArrayOutputWithContext(ctx context.Context) SpecArrayOutput
type SpecArrayInput ¶
type SpecArrayInput interface {
pulumi.Input
ToSpecArrayOutput() SpecArrayOutput
ToSpecArrayOutputWithContext(context.Context) SpecArrayOutput
}
SpecArrayInput is an input type that accepts SpecArray and SpecArrayOutput values. You can construct a concrete instance of `SpecArrayInput` via:
SpecArray{ SpecArgs{...} }
type SpecArrayOutput ¶
type SpecArrayOutput struct{ *pulumi.OutputState }
func (SpecArrayOutput) ElementType ¶
func (SpecArrayOutput) ElementType() reflect.Type
func (SpecArrayOutput) Index ¶
func (o SpecArrayOutput) Index(i pulumi.IntInput) SpecOutput
func (SpecArrayOutput) ToSpecArrayOutput ¶
func (o SpecArrayOutput) ToSpecArrayOutput() SpecArrayOutput
func (SpecArrayOutput) ToSpecArrayOutputWithContext ¶
func (o SpecArrayOutput) ToSpecArrayOutputWithContext(ctx context.Context) SpecArrayOutput
type SpecInput ¶
type SpecInput interface {
pulumi.Input
ToSpecOutput() SpecOutput
ToSpecOutputWithContext(ctx context.Context) SpecOutput
}
type SpecLearningConfig ¶ added in v0.11.0
type SpecLearningConfig struct {
// Include query parameters during spec learning.
IncludeQueryParams *bool `pulumi:"includeQueryParams"`
// Include request body during spec learning.
IncludeRequestBody *bool `pulumi:"includeRequestBody"`
// Include request headers during spec learning.
IncludeRequestHeaders *bool `pulumi:"includeRequestHeaders"`
// Include response body during spec learning.
IncludeResponseBody *bool `pulumi:"includeResponseBody"`
// Include response headers during spec learning.
IncludeResponseHeaders *bool `pulumi:"includeResponseHeaders"`
// Spec learning mode configuration options. Valid values: all, paths*only, paths*custom. Note: When using 'all' or 'paths*only' modes, the include** flags will be preserved in state but are not applicable as the mode overrides these settings.
LearningMode string `pulumi:"learningMode"`
}
type SpecLearningConfigArgs ¶ added in v0.11.0
type SpecLearningConfigArgs struct {
// Include query parameters during spec learning.
IncludeQueryParams pulumi.BoolPtrInput `pulumi:"includeQueryParams"`
// Include request body during spec learning.
IncludeRequestBody pulumi.BoolPtrInput `pulumi:"includeRequestBody"`
// Include request headers during spec learning.
IncludeRequestHeaders pulumi.BoolPtrInput `pulumi:"includeRequestHeaders"`
// Include response body during spec learning.
IncludeResponseBody pulumi.BoolPtrInput `pulumi:"includeResponseBody"`
// Include response headers during spec learning.
IncludeResponseHeaders pulumi.BoolPtrInput `pulumi:"includeResponseHeaders"`
// Spec learning mode configuration options. Valid values: all, paths*only, paths*custom. Note: When using 'all' or 'paths*only' modes, the include** flags will be preserved in state but are not applicable as the mode overrides these settings.
LearningMode pulumi.StringInput `pulumi:"learningMode"`
}
func (SpecLearningConfigArgs) ElementType ¶ added in v0.11.0
func (SpecLearningConfigArgs) ElementType() reflect.Type
func (SpecLearningConfigArgs) ToSpecLearningConfigOutput ¶ added in v0.11.0
func (i SpecLearningConfigArgs) ToSpecLearningConfigOutput() SpecLearningConfigOutput
func (SpecLearningConfigArgs) ToSpecLearningConfigOutputWithContext ¶ added in v0.11.0
func (i SpecLearningConfigArgs) ToSpecLearningConfigOutputWithContext(ctx context.Context) SpecLearningConfigOutput
func (SpecLearningConfigArgs) ToSpecLearningConfigPtrOutput ¶ added in v0.11.0
func (i SpecLearningConfigArgs) ToSpecLearningConfigPtrOutput() SpecLearningConfigPtrOutput
func (SpecLearningConfigArgs) ToSpecLearningConfigPtrOutputWithContext ¶ added in v0.11.0
func (i SpecLearningConfigArgs) ToSpecLearningConfigPtrOutputWithContext(ctx context.Context) SpecLearningConfigPtrOutput
type SpecLearningConfigInput ¶ added in v0.11.0
type SpecLearningConfigInput interface {
pulumi.Input
ToSpecLearningConfigOutput() SpecLearningConfigOutput
ToSpecLearningConfigOutputWithContext(context.Context) SpecLearningConfigOutput
}
SpecLearningConfigInput is an input type that accepts SpecLearningConfigArgs and SpecLearningConfigOutput values. You can construct a concrete instance of `SpecLearningConfigInput` via:
SpecLearningConfigArgs{...}
type SpecLearningConfigOutput ¶ added in v0.11.0
type SpecLearningConfigOutput struct{ *pulumi.OutputState }
func (SpecLearningConfigOutput) ElementType ¶ added in v0.11.0
func (SpecLearningConfigOutput) ElementType() reflect.Type
func (SpecLearningConfigOutput) IncludeQueryParams ¶ added in v0.11.0
func (o SpecLearningConfigOutput) IncludeQueryParams() pulumi.BoolPtrOutput
Include query parameters during spec learning.
func (SpecLearningConfigOutput) IncludeRequestBody ¶ added in v0.11.0
func (o SpecLearningConfigOutput) IncludeRequestBody() pulumi.BoolPtrOutput
Include request body during spec learning.
func (SpecLearningConfigOutput) IncludeRequestHeaders ¶ added in v0.11.0
func (o SpecLearningConfigOutput) IncludeRequestHeaders() pulumi.BoolPtrOutput
Include request headers during spec learning.
func (SpecLearningConfigOutput) IncludeResponseBody ¶ added in v0.11.0
func (o SpecLearningConfigOutput) IncludeResponseBody() pulumi.BoolPtrOutput
Include response body during spec learning.
func (SpecLearningConfigOutput) IncludeResponseHeaders ¶ added in v0.11.0
func (o SpecLearningConfigOutput) IncludeResponseHeaders() pulumi.BoolPtrOutput
Include response headers during spec learning.
func (SpecLearningConfigOutput) LearningMode ¶ added in v0.11.0
func (o SpecLearningConfigOutput) LearningMode() pulumi.StringOutput
Spec learning mode configuration options. Valid values: all, paths*only, paths*custom. Note: When using 'all' or 'paths*only' modes, the include** flags will be preserved in state but are not applicable as the mode overrides these settings.
func (SpecLearningConfigOutput) ToSpecLearningConfigOutput ¶ added in v0.11.0
func (o SpecLearningConfigOutput) ToSpecLearningConfigOutput() SpecLearningConfigOutput
func (SpecLearningConfigOutput) ToSpecLearningConfigOutputWithContext ¶ added in v0.11.0
func (o SpecLearningConfigOutput) ToSpecLearningConfigOutputWithContext(ctx context.Context) SpecLearningConfigOutput
func (SpecLearningConfigOutput) ToSpecLearningConfigPtrOutput ¶ added in v0.11.0
func (o SpecLearningConfigOutput) ToSpecLearningConfigPtrOutput() SpecLearningConfigPtrOutput
func (SpecLearningConfigOutput) ToSpecLearningConfigPtrOutputWithContext ¶ added in v0.11.0
func (o SpecLearningConfigOutput) ToSpecLearningConfigPtrOutputWithContext(ctx context.Context) SpecLearningConfigPtrOutput
type SpecLearningConfigPtrInput ¶ added in v0.11.0
type SpecLearningConfigPtrInput interface {
pulumi.Input
ToSpecLearningConfigPtrOutput() SpecLearningConfigPtrOutput
ToSpecLearningConfigPtrOutputWithContext(context.Context) SpecLearningConfigPtrOutput
}
SpecLearningConfigPtrInput is an input type that accepts SpecLearningConfigArgs, SpecLearningConfigPtr and SpecLearningConfigPtrOutput values. You can construct a concrete instance of `SpecLearningConfigPtrInput` via:
SpecLearningConfigArgs{...}
or:
nil
func SpecLearningConfigPtr ¶ added in v0.11.0
func SpecLearningConfigPtr(v *SpecLearningConfigArgs) SpecLearningConfigPtrInput
type SpecLearningConfigPtrOutput ¶ added in v0.11.0
type SpecLearningConfigPtrOutput struct{ *pulumi.OutputState }
func (SpecLearningConfigPtrOutput) Elem ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) Elem() SpecLearningConfigOutput
func (SpecLearningConfigPtrOutput) ElementType ¶ added in v0.11.0
func (SpecLearningConfigPtrOutput) ElementType() reflect.Type
func (SpecLearningConfigPtrOutput) IncludeQueryParams ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) IncludeQueryParams() pulumi.BoolPtrOutput
Include query parameters during spec learning.
func (SpecLearningConfigPtrOutput) IncludeRequestBody ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) IncludeRequestBody() pulumi.BoolPtrOutput
Include request body during spec learning.
func (SpecLearningConfigPtrOutput) IncludeRequestHeaders ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) IncludeRequestHeaders() pulumi.BoolPtrOutput
Include request headers during spec learning.
func (SpecLearningConfigPtrOutput) IncludeResponseBody ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) IncludeResponseBody() pulumi.BoolPtrOutput
Include response body during spec learning.
func (SpecLearningConfigPtrOutput) IncludeResponseHeaders ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) IncludeResponseHeaders() pulumi.BoolPtrOutput
Include response headers during spec learning.
func (SpecLearningConfigPtrOutput) LearningMode ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) LearningMode() pulumi.StringPtrOutput
Spec learning mode configuration options. Valid values: all, paths*only, paths*custom. Note: When using 'all' or 'paths*only' modes, the include** flags will be preserved in state but are not applicable as the mode overrides these settings.
func (SpecLearningConfigPtrOutput) ToSpecLearningConfigPtrOutput ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) ToSpecLearningConfigPtrOutput() SpecLearningConfigPtrOutput
func (SpecLearningConfigPtrOutput) ToSpecLearningConfigPtrOutputWithContext ¶ added in v0.11.0
func (o SpecLearningConfigPtrOutput) ToSpecLearningConfigPtrOutputWithContext(ctx context.Context) SpecLearningConfigPtrOutput
type SpecMap ¶
func (SpecMap) ElementType ¶
func (SpecMap) ToSpecMapOutput ¶
func (i SpecMap) ToSpecMapOutput() SpecMapOutput
func (SpecMap) ToSpecMapOutputWithContext ¶
func (i SpecMap) ToSpecMapOutputWithContext(ctx context.Context) SpecMapOutput
type SpecMapInput ¶
type SpecMapInput interface {
pulumi.Input
ToSpecMapOutput() SpecMapOutput
ToSpecMapOutputWithContext(context.Context) SpecMapOutput
}
SpecMapInput is an input type that accepts SpecMap and SpecMapOutput values. You can construct a concrete instance of `SpecMapInput` via:
SpecMap{ "key": SpecArgs{...} }
type SpecMapOutput ¶
type SpecMapOutput struct{ *pulumi.OutputState }
func (SpecMapOutput) ElementType ¶
func (SpecMapOutput) ElementType() reflect.Type
func (SpecMapOutput) MapIndex ¶
func (o SpecMapOutput) MapIndex(k pulumi.StringInput) SpecOutput
func (SpecMapOutput) ToSpecMapOutput ¶
func (o SpecMapOutput) ToSpecMapOutput() SpecMapOutput
func (SpecMapOutput) ToSpecMapOutputWithContext ¶
func (o SpecMapOutput) ToSpecMapOutputWithContext(ctx context.Context) SpecMapOutput
type SpecOutput ¶
type SpecOutput struct{ *pulumi.OutputState }
func (SpecOutput) ElementType ¶
func (SpecOutput) ElementType() reflect.Type
func (SpecOutput) LearningConfig ¶ added in v0.11.0
func (o SpecOutput) LearningConfig() SpecLearningConfigPtrOutput
Configuration for spec learning.
func (SpecOutput) Name ¶
func (o SpecOutput) Name() pulumi.StringOutput
The name for this specification.
func (SpecOutput) SourceFile ¶
func (o SpecOutput) SourceFile() pulumi.StringOutput
The specification file.
func (SpecOutput) SourceHash ¶
func (o SpecOutput) SourceHash() pulumi.StringPtrOutput
The specification source hash.
func (SpecOutput) ToSpecOutput ¶
func (o SpecOutput) ToSpecOutput() SpecOutput
func (SpecOutput) ToSpecOutputWithContext ¶
func (o SpecOutput) ToSpecOutputWithContext(ctx context.Context) SpecOutput
type SpecState ¶
type SpecState struct {
// Configuration for spec learning.
LearningConfig SpecLearningConfigPtrInput
// The name for this specification.
Name pulumi.StringPtrInput
// The specification file.
SourceFile pulumi.StringPtrInput
// The specification source hash.
SourceHash pulumi.StringPtrInput
}
func (SpecState) ElementType ¶
type TagMetadata ¶ added in v0.8.0
type TagMetadata struct {
pulumi.CustomResourceState
// The description for the tag.
Description pulumi.StringPtrOutput `pulumi:"description"`
// The external URL for the tag.
ExternalUrl pulumi.StringPtrOutput `pulumi:"externalUrl"`
// The applied labels.
Labels pulumi.StringArrayOutput `pulumi:"labels"`
// The tag name.
Name pulumi.StringOutput `pulumi:"name"`
// The risk statement for the tag.
RiskStatement pulumi.StringPtrOutput `pulumi:"riskStatement"`
}
## Example Usage
```go package main
import (
"github.com/impart-security/pulumi-impart/sdk/go/impart" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new tag metadata
_, err := impart.NewTagMetadata(ctx, "example", &impart.TagMetadataArgs{
Name: pulumi.String("tag"),
Description: pulumi.String("tag description"),
ExternalUrl: pulumi.String("http://example.com"),
Labels: pulumi.StringArray{
impartLabel.Example.Slug,
},
RiskStatement: pulumi.String("risk statement"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetTagMetadata ¶ added in v0.8.0
func GetTagMetadata(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TagMetadataState, opts ...pulumi.ResourceOption) (*TagMetadata, error)
GetTagMetadata gets an existing TagMetadata 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 NewTagMetadata ¶ added in v0.8.0
func NewTagMetadata(ctx *pulumi.Context, name string, args *TagMetadataArgs, opts ...pulumi.ResourceOption) (*TagMetadata, error)
NewTagMetadata registers a new resource with the given unique name, arguments, and options.
func (*TagMetadata) ElementType ¶ added in v0.8.0
func (*TagMetadata) ElementType() reflect.Type
func (*TagMetadata) ToTagMetadataOutput ¶ added in v0.8.0
func (i *TagMetadata) ToTagMetadataOutput() TagMetadataOutput
func (*TagMetadata) ToTagMetadataOutputWithContext ¶ added in v0.8.0
func (i *TagMetadata) ToTagMetadataOutputWithContext(ctx context.Context) TagMetadataOutput
type TagMetadataArgs ¶ added in v0.8.0
type TagMetadataArgs struct {
// The description for the tag.
Description pulumi.StringPtrInput
// The external URL for the tag.
ExternalUrl pulumi.StringPtrInput
// The applied labels.
Labels pulumi.StringArrayInput
// The tag name.
Name pulumi.StringInput
// The risk statement for the tag.
RiskStatement pulumi.StringPtrInput
}
The set of arguments for constructing a TagMetadata resource.
func (TagMetadataArgs) ElementType ¶ added in v0.8.0
func (TagMetadataArgs) ElementType() reflect.Type
type TagMetadataArray ¶ added in v0.8.0
type TagMetadataArray []TagMetadataInput
func (TagMetadataArray) ElementType ¶ added in v0.8.0
func (TagMetadataArray) ElementType() reflect.Type
func (TagMetadataArray) ToTagMetadataArrayOutput ¶ added in v0.8.0
func (i TagMetadataArray) ToTagMetadataArrayOutput() TagMetadataArrayOutput
func (TagMetadataArray) ToTagMetadataArrayOutputWithContext ¶ added in v0.8.0
func (i TagMetadataArray) ToTagMetadataArrayOutputWithContext(ctx context.Context) TagMetadataArrayOutput
type TagMetadataArrayInput ¶ added in v0.8.0
type TagMetadataArrayInput interface {
pulumi.Input
ToTagMetadataArrayOutput() TagMetadataArrayOutput
ToTagMetadataArrayOutputWithContext(context.Context) TagMetadataArrayOutput
}
TagMetadataArrayInput is an input type that accepts TagMetadataArray and TagMetadataArrayOutput values. You can construct a concrete instance of `TagMetadataArrayInput` via:
TagMetadataArray{ TagMetadataArgs{...} }
type TagMetadataArrayOutput ¶ added in v0.8.0
type TagMetadataArrayOutput struct{ *pulumi.OutputState }
func (TagMetadataArrayOutput) ElementType ¶ added in v0.8.0
func (TagMetadataArrayOutput) ElementType() reflect.Type
func (TagMetadataArrayOutput) Index ¶ added in v0.8.0
func (o TagMetadataArrayOutput) Index(i pulumi.IntInput) TagMetadataOutput
func (TagMetadataArrayOutput) ToTagMetadataArrayOutput ¶ added in v0.8.0
func (o TagMetadataArrayOutput) ToTagMetadataArrayOutput() TagMetadataArrayOutput
func (TagMetadataArrayOutput) ToTagMetadataArrayOutputWithContext ¶ added in v0.8.0
func (o TagMetadataArrayOutput) ToTagMetadataArrayOutputWithContext(ctx context.Context) TagMetadataArrayOutput
type TagMetadataInput ¶ added in v0.8.0
type TagMetadataInput interface {
pulumi.Input
ToTagMetadataOutput() TagMetadataOutput
ToTagMetadataOutputWithContext(ctx context.Context) TagMetadataOutput
}
type TagMetadataMap ¶ added in v0.8.0
type TagMetadataMap map[string]TagMetadataInput
func (TagMetadataMap) ElementType ¶ added in v0.8.0
func (TagMetadataMap) ElementType() reflect.Type
func (TagMetadataMap) ToTagMetadataMapOutput ¶ added in v0.8.0
func (i TagMetadataMap) ToTagMetadataMapOutput() TagMetadataMapOutput
func (TagMetadataMap) ToTagMetadataMapOutputWithContext ¶ added in v0.8.0
func (i TagMetadataMap) ToTagMetadataMapOutputWithContext(ctx context.Context) TagMetadataMapOutput
type TagMetadataMapInput ¶ added in v0.8.0
type TagMetadataMapInput interface {
pulumi.Input
ToTagMetadataMapOutput() TagMetadataMapOutput
ToTagMetadataMapOutputWithContext(context.Context) TagMetadataMapOutput
}
TagMetadataMapInput is an input type that accepts TagMetadataMap and TagMetadataMapOutput values. You can construct a concrete instance of `TagMetadataMapInput` via:
TagMetadataMap{ "key": TagMetadataArgs{...} }
type TagMetadataMapOutput ¶ added in v0.8.0
type TagMetadataMapOutput struct{ *pulumi.OutputState }
func (TagMetadataMapOutput) ElementType ¶ added in v0.8.0
func (TagMetadataMapOutput) ElementType() reflect.Type
func (TagMetadataMapOutput) MapIndex ¶ added in v0.8.0
func (o TagMetadataMapOutput) MapIndex(k pulumi.StringInput) TagMetadataOutput
func (TagMetadataMapOutput) ToTagMetadataMapOutput ¶ added in v0.8.0
func (o TagMetadataMapOutput) ToTagMetadataMapOutput() TagMetadataMapOutput
func (TagMetadataMapOutput) ToTagMetadataMapOutputWithContext ¶ added in v0.8.0
func (o TagMetadataMapOutput) ToTagMetadataMapOutputWithContext(ctx context.Context) TagMetadataMapOutput
type TagMetadataOutput ¶ added in v0.8.0
type TagMetadataOutput struct{ *pulumi.OutputState }
func (TagMetadataOutput) Description ¶ added in v0.8.0
func (o TagMetadataOutput) Description() pulumi.StringPtrOutput
The description for the tag.
func (TagMetadataOutput) ElementType ¶ added in v0.8.0
func (TagMetadataOutput) ElementType() reflect.Type
func (TagMetadataOutput) ExternalUrl ¶ added in v0.8.0
func (o TagMetadataOutput) ExternalUrl() pulumi.StringPtrOutput
The external URL for the tag.
func (TagMetadataOutput) Labels ¶ added in v0.8.0
func (o TagMetadataOutput) Labels() pulumi.StringArrayOutput
The applied labels.
func (TagMetadataOutput) Name ¶ added in v0.8.0
func (o TagMetadataOutput) Name() pulumi.StringOutput
The tag name.
func (TagMetadataOutput) RiskStatement ¶ added in v0.8.0
func (o TagMetadataOutput) RiskStatement() pulumi.StringPtrOutput
The risk statement for the tag.
func (TagMetadataOutput) ToTagMetadataOutput ¶ added in v0.8.0
func (o TagMetadataOutput) ToTagMetadataOutput() TagMetadataOutput
func (TagMetadataOutput) ToTagMetadataOutputWithContext ¶ added in v0.8.0
func (o TagMetadataOutput) ToTagMetadataOutputWithContext(ctx context.Context) TagMetadataOutput
type TagMetadataState ¶ added in v0.8.0
type TagMetadataState struct {
// The description for the tag.
Description pulumi.StringPtrInput
// The external URL for the tag.
ExternalUrl pulumi.StringPtrInput
// The applied labels.
Labels pulumi.StringArrayInput
// The tag name.
Name pulumi.StringPtrInput
// The risk statement for the tag.
RiskStatement pulumi.StringPtrInput
}
func (TagMetadataState) ElementType ¶ added in v0.8.0
func (TagMetadataState) ElementType() reflect.Type
Source Files
¶
- apiBinding.go
- coreRuleConfig.go
- doc.go
- externalLink.go
- getConnector.go
- getSpec.go
- init.go
- label.go
- list.go
- logBinding.go
- monitor.go
- notificationTemplate.go
- provider.go
- pulumiTypes.go
- rule.go
- ruleClientIdentifier.go
- ruleClientIdentifierStorage.go
- ruleDependencies.go
- ruleScript.go
- ruleScriptDependencies.go
- ruleTestCase.go
- spec.go
- tagMetadata.go