Documentation ¶
Index ¶
- type Args
- type Author
- type AuthorAttributes
- func (a AuthorAttributes) Email() terra.StringValue
- func (a AuthorAttributes) InternalRef() (terra.Reference, error)
- func (a AuthorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AuthorAttributes) InternalWithRef(ref terra.Reference) AuthorAttributes
- func (a AuthorAttributes) Link() terra.StringValue
- func (a AuthorAttributes) Name() terra.StringValue
- type AuthorState
- type Category
- type CategoryAttributes
- func (c CategoryAttributes) Domains() terra.ListValue[terra.StringValue]
- func (c CategoryAttributes) InternalRef() (terra.Reference, error)
- func (c CategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CategoryAttributes) InternalWithRef(ref terra.Reference) CategoryAttributes
- func (c CategoryAttributes) Verticals() terra.ListValue[terra.StringValue]
- type CategoryState
- type Resource
- func (asm *Resource) Attributes() azurermSentinelMetadataAttributes
- func (asm *Resource) Configuration() interface{}
- func (asm *Resource) DependOn() terra.Reference
- func (asm *Resource) Dependencies() terra.Dependencies
- func (asm *Resource) ImportState(state io.Reader) error
- func (asm *Resource) LifecycleManagement() *terra.Lifecycle
- func (asm *Resource) LocalName() string
- func (asm *Resource) State() (*azurermSentinelMetadataState, bool)
- func (asm *Resource) StateMust() *azurermSentinelMetadataState
- func (asm *Resource) Type() string
- type Source
- type SourceAttributes
- func (s SourceAttributes) Id() terra.StringValue
- func (s SourceAttributes) InternalRef() (terra.Reference, error)
- func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
- func (s SourceAttributes) Kind() terra.StringValue
- func (s SourceAttributes) Name() terra.StringValue
- type SourceState
- type Support
- type SupportAttributes
- func (s SupportAttributes) Email() terra.StringValue
- func (s SupportAttributes) InternalRef() (terra.Reference, error)
- func (s SupportAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SupportAttributes) InternalWithRef(ref terra.Reference) SupportAttributes
- func (s SupportAttributes) Link() terra.StringValue
- func (s SupportAttributes) Name() terra.StringValue
- func (s SupportAttributes) Tier() terra.StringValue
- type SupportState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ContentId: string, required ContentId terra.StringValue `hcl:"content_id,attr" validate:"required"` // ContentSchemaVersion: string, optional ContentSchemaVersion terra.StringValue `hcl:"content_schema_version,attr"` // CustomVersion: string, optional CustomVersion terra.StringValue `hcl:"custom_version,attr"` // Dependency: string, optional Dependency terra.StringValue `hcl:"dependency,attr"` // FirstPublishDate: string, optional FirstPublishDate terra.StringValue `hcl:"first_publish_date,attr"` // IconId: string, optional IconId terra.StringValue `hcl:"icon_id,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Kind: string, required Kind terra.StringValue `hcl:"kind,attr" validate:"required"` // LastPublishDate: string, optional LastPublishDate terra.StringValue `hcl:"last_publish_date,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ParentId: string, required ParentId terra.StringValue `hcl:"parent_id,attr" validate:"required"` // PreviewImages: list of string, optional PreviewImages terra.ListValue[terra.StringValue] `hcl:"preview_images,attr"` // PreviewImagesDark: list of string, optional PreviewImagesDark terra.ListValue[terra.StringValue] `hcl:"preview_images_dark,attr"` // Providers: list of string, optional Providers terra.ListValue[terra.StringValue] `hcl:"providers,attr"` // ThreatAnalysisTactics: list of string, optional ThreatAnalysisTactics terra.ListValue[terra.StringValue] `hcl:"threat_analysis_tactics,attr"` // ThreatAnalysisTechniques: list of string, optional ThreatAnalysisTechniques terra.ListValue[terra.StringValue] `hcl:"threat_analysis_techniques,attr"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` // WorkspaceId: string, required WorkspaceId terra.StringValue `hcl:"workspace_id,attr" validate:"required"` // Author: optional Author *Author `hcl:"author,block"` // Category: optional Category *Category `hcl:"category,block"` // Source: optional Source *Source `hcl:"source,block"` // Support: optional Support *Support `hcl:"support,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_sentinel_metadata.
type Author ¶
type Author struct { // Email: string, optional Email terra.StringValue `hcl:"email,attr"` // Link: string, optional Link terra.StringValue `hcl:"link,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` }
type AuthorAttributes ¶
type AuthorAttributes struct {
// contains filtered or unexported fields
}
func (AuthorAttributes) Email ¶
func (a AuthorAttributes) Email() terra.StringValue
func (AuthorAttributes) InternalRef ¶
func (a AuthorAttributes) InternalRef() (terra.Reference, error)
func (AuthorAttributes) InternalTokens ¶
func (a AuthorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthorAttributes) InternalWithRef ¶
func (a AuthorAttributes) InternalWithRef(ref terra.Reference) AuthorAttributes
func (AuthorAttributes) Link ¶
func (a AuthorAttributes) Link() terra.StringValue
func (AuthorAttributes) Name ¶
func (a AuthorAttributes) Name() terra.StringValue
type AuthorState ¶
type Category ¶
type Category struct { // Domains: list of string, optional Domains terra.ListValue[terra.StringValue] `hcl:"domains,attr"` // Verticals: list of string, optional Verticals terra.ListValue[terra.StringValue] `hcl:"verticals,attr"` }
type CategoryAttributes ¶
type CategoryAttributes struct {
// contains filtered or unexported fields
}
func (CategoryAttributes) Domains ¶
func (c CategoryAttributes) Domains() terra.ListValue[terra.StringValue]
func (CategoryAttributes) InternalRef ¶
func (c CategoryAttributes) InternalRef() (terra.Reference, error)
func (CategoryAttributes) InternalTokens ¶
func (c CategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CategoryAttributes) InternalWithRef ¶
func (c CategoryAttributes) InternalWithRef(ref terra.Reference) CategoryAttributes
func (CategoryAttributes) Verticals ¶
func (c CategoryAttributes) Verticals() terra.ListValue[terra.StringValue]
type CategoryState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_sentinel_metadata.
func (*Resource) Attributes ¶
func (asm *Resource) Attributes() azurermSentinelMetadataAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asm *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Source ¶
type Source struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Kind: string, required Kind terra.StringValue `hcl:"kind,attr" validate:"required"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) Id ¶
func (s SourceAttributes) Id() terra.StringValue
func (SourceAttributes) InternalRef ¶
func (s SourceAttributes) InternalRef() (terra.Reference, error)
func (SourceAttributes) InternalTokens ¶
func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceAttributes) InternalWithRef ¶
func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
func (SourceAttributes) Kind ¶
func (s SourceAttributes) Kind() terra.StringValue
func (SourceAttributes) Name ¶
func (s SourceAttributes) Name() terra.StringValue
type SourceState ¶
type Support ¶
type Support struct { // Email: string, optional Email terra.StringValue `hcl:"email,attr"` // Link: string, optional Link terra.StringValue `hcl:"link,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Tier: string, required Tier terra.StringValue `hcl:"tier,attr" validate:"required"` }
type SupportAttributes ¶
type SupportAttributes struct {
// contains filtered or unexported fields
}
func (SupportAttributes) Email ¶
func (s SupportAttributes) Email() terra.StringValue
func (SupportAttributes) InternalRef ¶
func (s SupportAttributes) InternalRef() (terra.Reference, error)
func (SupportAttributes) InternalTokens ¶
func (s SupportAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SupportAttributes) InternalWithRef ¶
func (s SupportAttributes) InternalWithRef(ref terra.Reference) SupportAttributes
func (SupportAttributes) Link ¶
func (s SupportAttributes) Link() terra.StringValue
func (SupportAttributes) Name ¶
func (s SupportAttributes) Name() terra.StringValue
func (SupportAttributes) Tier ¶
func (s SupportAttributes) Tier() terra.StringValue
type SupportState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.