azurerm_sentinel_metadata

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (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) Name

type AuthorState

type AuthorState struct {
	Email string `json:"email"`
	Link  string `json:"link"`
	Name  string `json:"name"`
}

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 (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

type CategoryState

type CategoryState struct {
	Domains   []string `json:"domains"`
	Verticals []string `json:"verticals"`
}

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

func (asm *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (asm *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (asm *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (asm *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asm *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asm *Resource) State() (*azurermSentinelMetadataState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (asm *Resource) StateMust() *azurermSentinelMetadataState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (asm *Resource) Type() string

Type returns the Terraform object type 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 (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 (SourceAttributes) Name

type SourceState

type SourceState struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

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 (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) Name

func (SupportAttributes) Tier

type SupportState

type SupportState struct {
	Email string `json:"email"`
	Link  string `json:"link"`
	Name  string `json:"name"`
	Tier  string `json:"tier"`
}

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 (TimeoutsAttributes) Delete

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 (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL