accesspackageassignmentpolicy

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlternativeApprover

type AlternativeApprover struct {
	// Backup: bool, optional
	Backup terra.BoolValue `hcl:"backup,attr"`
	// ObjectId: string, optional
	ObjectId terra.StringValue `hcl:"object_id,attr"`
	// SubjectType: string, required
	SubjectType terra.StringValue `hcl:"subject_type,attr" validate:"required"`
}

type AlternativeApproverAttributes

type AlternativeApproverAttributes struct {
	// contains filtered or unexported fields
}

func (AlternativeApproverAttributes) Backup

func (AlternativeApproverAttributes) InternalRef

func (aa AlternativeApproverAttributes) InternalRef() (terra.Reference, error)

func (AlternativeApproverAttributes) InternalTokens

func (aa AlternativeApproverAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AlternativeApproverAttributes) InternalWithRef

func (AlternativeApproverAttributes) ObjectId

func (AlternativeApproverAttributes) SubjectType

type AlternativeApproverState

type AlternativeApproverState struct {
	Backup      bool   `json:"backup"`
	ObjectId    string `json:"object_id"`
	SubjectType string `json:"subject_type"`
}

type ApprovalSettings

type ApprovalSettings struct {
	// ApprovalRequired: bool, optional
	ApprovalRequired terra.BoolValue `hcl:"approval_required,attr"`
	// ApprovalRequiredForExtension: bool, optional
	ApprovalRequiredForExtension terra.BoolValue `hcl:"approval_required_for_extension,attr"`
	// RequestorJustificationRequired: bool, optional
	RequestorJustificationRequired terra.BoolValue `hcl:"requestor_justification_required,attr"`
	// ApprovalStage: min=0
	ApprovalStage []ApprovalStage `hcl:"approval_stage,block" validate:"min=0"`
}

type ApprovalSettingsAttributes

type ApprovalSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (ApprovalSettingsAttributes) ApprovalRequired

func (as ApprovalSettingsAttributes) ApprovalRequired() terra.BoolValue

func (ApprovalSettingsAttributes) ApprovalRequiredForExtension

func (as ApprovalSettingsAttributes) ApprovalRequiredForExtension() terra.BoolValue

func (ApprovalSettingsAttributes) ApprovalStage

func (ApprovalSettingsAttributes) InternalRef

func (as ApprovalSettingsAttributes) InternalRef() (terra.Reference, error)

func (ApprovalSettingsAttributes) InternalTokens

func (as ApprovalSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApprovalSettingsAttributes) InternalWithRef

func (ApprovalSettingsAttributes) RequestorJustificationRequired

func (as ApprovalSettingsAttributes) RequestorJustificationRequired() terra.BoolValue

type ApprovalSettingsState

type ApprovalSettingsState struct {
	ApprovalRequired               bool                 `json:"approval_required"`
	ApprovalRequiredForExtension   bool                 `json:"approval_required_for_extension"`
	RequestorJustificationRequired bool                 `json:"requestor_justification_required"`
	ApprovalStage                  []ApprovalStageState `json:"approval_stage"`
}

type ApprovalStage

type ApprovalStage struct {
	// AlternativeApprovalEnabled: bool, optional
	AlternativeApprovalEnabled terra.BoolValue `hcl:"alternative_approval_enabled,attr"`
	// ApprovalTimeoutInDays: number, required
	ApprovalTimeoutInDays terra.NumberValue `hcl:"approval_timeout_in_days,attr" validate:"required"`
	// ApproverJustificationRequired: bool, optional
	ApproverJustificationRequired terra.BoolValue `hcl:"approver_justification_required,attr"`
	// EnableAlternativeApprovalInDays: number, optional
	EnableAlternativeApprovalInDays terra.NumberValue `hcl:"enable_alternative_approval_in_days,attr"`
	// AlternativeApprover: min=0
	AlternativeApprover []AlternativeApprover `hcl:"alternative_approver,block" validate:"min=0"`
	// PrimaryApprover: min=0
	PrimaryApprover []PrimaryApprover `hcl:"primary_approver,block" validate:"min=0"`
}

type ApprovalStageAttributes

type ApprovalStageAttributes struct {
	// contains filtered or unexported fields
}

func (ApprovalStageAttributes) AlternativeApprovalEnabled

func (as ApprovalStageAttributes) AlternativeApprovalEnabled() terra.BoolValue

func (ApprovalStageAttributes) AlternativeApprover

func (ApprovalStageAttributes) ApprovalTimeoutInDays

func (as ApprovalStageAttributes) ApprovalTimeoutInDays() terra.NumberValue

func (ApprovalStageAttributes) ApproverJustificationRequired

func (as ApprovalStageAttributes) ApproverJustificationRequired() terra.BoolValue

func (ApprovalStageAttributes) EnableAlternativeApprovalInDays

func (as ApprovalStageAttributes) EnableAlternativeApprovalInDays() terra.NumberValue

func (ApprovalStageAttributes) InternalRef

func (as ApprovalStageAttributes) InternalRef() (terra.Reference, error)

func (ApprovalStageAttributes) InternalTokens

func (as ApprovalStageAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApprovalStageAttributes) InternalWithRef

func (ApprovalStageAttributes) PrimaryApprover

type ApprovalStageState

type ApprovalStageState struct {
	AlternativeApprovalEnabled      bool                       `json:"alternative_approval_enabled"`
	ApprovalTimeoutInDays           float64                    `json:"approval_timeout_in_days"`
	ApproverJustificationRequired   bool                       `json:"approver_justification_required"`
	EnableAlternativeApprovalInDays float64                    `json:"enable_alternative_approval_in_days"`
	AlternativeApprover             []AlternativeApproverState `json:"alternative_approver"`
	PrimaryApprover                 []PrimaryApproverState     `json:"primary_approver"`
}

type AssignmentReviewSettings

type AssignmentReviewSettings struct {
	// AccessRecommendationEnabled: bool, optional
	AccessRecommendationEnabled terra.BoolValue `hcl:"access_recommendation_enabled,attr"`
	// AccessReviewTimeoutBehavior: string, optional
	AccessReviewTimeoutBehavior terra.StringValue `hcl:"access_review_timeout_behavior,attr"`
	// ApproverJustificationRequired: bool, optional
	ApproverJustificationRequired terra.BoolValue `hcl:"approver_justification_required,attr"`
	// DurationInDays: number, optional
	DurationInDays terra.NumberValue `hcl:"duration_in_days,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// ReviewFrequency: string, optional
	ReviewFrequency terra.StringValue `hcl:"review_frequency,attr"`
	// ReviewType: string, optional
	ReviewType terra.StringValue `hcl:"review_type,attr"`
	// StartingOn: string, optional
	StartingOn terra.StringValue `hcl:"starting_on,attr"`
	// Reviewer: min=0
	Reviewer []Reviewer `hcl:"reviewer,block" validate:"min=0"`
}

type AssignmentReviewSettingsAttributes

type AssignmentReviewSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (AssignmentReviewSettingsAttributes) AccessRecommendationEnabled

func (ars AssignmentReviewSettingsAttributes) AccessRecommendationEnabled() terra.BoolValue

func (AssignmentReviewSettingsAttributes) AccessReviewTimeoutBehavior

func (ars AssignmentReviewSettingsAttributes) AccessReviewTimeoutBehavior() terra.StringValue

func (AssignmentReviewSettingsAttributes) ApproverJustificationRequired

func (ars AssignmentReviewSettingsAttributes) ApproverJustificationRequired() terra.BoolValue

func (AssignmentReviewSettingsAttributes) DurationInDays

func (AssignmentReviewSettingsAttributes) Enabled

func (AssignmentReviewSettingsAttributes) InternalRef

func (AssignmentReviewSettingsAttributes) InternalTokens

func (ars AssignmentReviewSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AssignmentReviewSettingsAttributes) InternalWithRef

func (AssignmentReviewSettingsAttributes) ReviewFrequency

func (AssignmentReviewSettingsAttributes) ReviewType

func (AssignmentReviewSettingsAttributes) Reviewer

func (AssignmentReviewSettingsAttributes) StartingOn

type AssignmentReviewSettingsState

type AssignmentReviewSettingsState struct {
	AccessRecommendationEnabled   bool            `json:"access_recommendation_enabled"`
	AccessReviewTimeoutBehavior   string          `json:"access_review_timeout_behavior"`
	ApproverJustificationRequired bool            `json:"approver_justification_required"`
	DurationInDays                float64         `json:"duration_in_days"`
	Enabled                       bool            `json:"enabled"`
	ReviewFrequency               string          `json:"review_frequency"`
	ReviewType                    string          `json:"review_type"`
	StartingOn                    string          `json:"starting_on"`
	Reviewer                      []ReviewerState `json:"reviewer"`
}

type Choice

type Choice struct {
	// ActualValue: string, required
	ActualValue terra.StringValue `hcl:"actual_value,attr" validate:"required"`
	// DisplayValue: required
	DisplayValue *DisplayValue `hcl:"display_value,block" validate:"required"`
}

type ChoiceAttributes

type ChoiceAttributes struct {
	// contains filtered or unexported fields
}

func (ChoiceAttributes) ActualValue

func (c ChoiceAttributes) ActualValue() terra.StringValue

func (ChoiceAttributes) DisplayValue

func (ChoiceAttributes) InternalRef

func (c ChoiceAttributes) InternalRef() (terra.Reference, error)

func (ChoiceAttributes) InternalTokens

func (c ChoiceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ChoiceAttributes) InternalWithRef

func (c ChoiceAttributes) InternalWithRef(ref terra.Reference) ChoiceAttributes

type ChoiceState

type ChoiceState struct {
	ActualValue  string              `json:"actual_value"`
	DisplayValue []DisplayValueState `json:"display_value"`
}

type DisplayValue

type DisplayValue struct {
	// DefaultText: string, required
	DefaultText terra.StringValue `hcl:"default_text,attr" validate:"required"`
	// DisplayValueLocalizedText: min=0
	LocalizedText []DisplayValueLocalizedText `hcl:"localized_text,block" validate:"min=0"`
}

type DisplayValueAttributes

type DisplayValueAttributes struct {
	// contains filtered or unexported fields
}

func (DisplayValueAttributes) DefaultText

func (dv DisplayValueAttributes) DefaultText() terra.StringValue

func (DisplayValueAttributes) InternalRef

func (dv DisplayValueAttributes) InternalRef() (terra.Reference, error)

func (DisplayValueAttributes) InternalTokens

func (dv DisplayValueAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DisplayValueAttributes) InternalWithRef

func (DisplayValueAttributes) LocalizedText

type DisplayValueLocalizedText

type DisplayValueLocalizedText struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// LanguageCode: string, required
	LanguageCode terra.StringValue `hcl:"language_code,attr" validate:"required"`
}

type DisplayValueLocalizedTextAttributes

type DisplayValueLocalizedTextAttributes struct {
	// contains filtered or unexported fields
}

func (DisplayValueLocalizedTextAttributes) Content

func (DisplayValueLocalizedTextAttributes) InternalRef

func (DisplayValueLocalizedTextAttributes) InternalTokens

func (DisplayValueLocalizedTextAttributes) InternalWithRef

func (DisplayValueLocalizedTextAttributes) LanguageCode

type DisplayValueLocalizedTextState

type DisplayValueLocalizedTextState struct {
	Content      string `json:"content"`
	LanguageCode string `json:"language_code"`
}

type DisplayValueState

type DisplayValueState struct {
	DefaultText   string                           `json:"default_text"`
	LocalizedText []DisplayValueLocalizedTextState `json:"localized_text"`
}

type PrimaryApprover

type PrimaryApprover struct {
	// Backup: bool, optional
	Backup terra.BoolValue `hcl:"backup,attr"`
	// ObjectId: string, optional
	ObjectId terra.StringValue `hcl:"object_id,attr"`
	// SubjectType: string, required
	SubjectType terra.StringValue `hcl:"subject_type,attr" validate:"required"`
}

type PrimaryApproverAttributes

type PrimaryApproverAttributes struct {
	// contains filtered or unexported fields
}

func (PrimaryApproverAttributes) Backup

func (PrimaryApproverAttributes) InternalRef

func (pa PrimaryApproverAttributes) InternalRef() (terra.Reference, error)

func (PrimaryApproverAttributes) InternalTokens

func (pa PrimaryApproverAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrimaryApproverAttributes) InternalWithRef

func (PrimaryApproverAttributes) ObjectId

func (PrimaryApproverAttributes) SubjectType

func (pa PrimaryApproverAttributes) SubjectType() terra.StringValue

type PrimaryApproverState

type PrimaryApproverState struct {
	Backup      bool   `json:"backup"`
	ObjectId    string `json:"object_id"`
	SubjectType string `json:"subject_type"`
}

type Question

type Question struct {
	// Required: bool, optional
	Required terra.BoolValue `hcl:"required,attr"`
	// Sequence: number, optional
	Sequence terra.NumberValue `hcl:"sequence,attr"`
	// Choice: min=0
	Choice []Choice `hcl:"choice,block" validate:"min=0"`
	// Text: required
	Text *Text `hcl:"text,block" validate:"required"`
}

type QuestionAttributes

type QuestionAttributes struct {
	// contains filtered or unexported fields
}

func (QuestionAttributes) Choice

func (QuestionAttributes) InternalRef

func (q QuestionAttributes) InternalRef() (terra.Reference, error)

func (QuestionAttributes) InternalTokens

func (q QuestionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QuestionAttributes) InternalWithRef

func (q QuestionAttributes) InternalWithRef(ref terra.Reference) QuestionAttributes

func (QuestionAttributes) Required

func (q QuestionAttributes) Required() terra.BoolValue

func (QuestionAttributes) Sequence

func (q QuestionAttributes) Sequence() terra.NumberValue

func (QuestionAttributes) Text

type QuestionState

type QuestionState struct {
	Required bool          `json:"required"`
	Sequence float64       `json:"sequence"`
	Choice   []ChoiceState `json:"choice"`
	Text     []TextState   `json:"text"`
}

type Requestor

type Requestor struct {
	// Backup: bool, optional
	Backup terra.BoolValue `hcl:"backup,attr"`
	// ObjectId: string, optional
	ObjectId terra.StringValue `hcl:"object_id,attr"`
	// SubjectType: string, required
	SubjectType terra.StringValue `hcl:"subject_type,attr" validate:"required"`
}

type RequestorAttributes

type RequestorAttributes struct {
	// contains filtered or unexported fields
}

func (RequestorAttributes) Backup

func (r RequestorAttributes) Backup() terra.BoolValue

func (RequestorAttributes) InternalRef

func (r RequestorAttributes) InternalRef() (terra.Reference, error)

func (RequestorAttributes) InternalTokens

func (r RequestorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RequestorAttributes) InternalWithRef

func (r RequestorAttributes) InternalWithRef(ref terra.Reference) RequestorAttributes

func (RequestorAttributes) ObjectId

func (r RequestorAttributes) ObjectId() terra.StringValue

func (RequestorAttributes) SubjectType

func (r RequestorAttributes) SubjectType() terra.StringValue

type RequestorSettings

type RequestorSettings struct {
	// RequestsAccepted: bool, optional
	RequestsAccepted terra.BoolValue `hcl:"requests_accepted,attr"`
	// ScopeType: string, optional
	ScopeType terra.StringValue `hcl:"scope_type,attr"`
	// Requestor: min=0
	Requestor []Requestor `hcl:"requestor,block" validate:"min=0"`
}

type RequestorSettingsAttributes

type RequestorSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (RequestorSettingsAttributes) InternalRef

func (rs RequestorSettingsAttributes) InternalRef() (terra.Reference, error)

func (RequestorSettingsAttributes) InternalTokens

func (rs RequestorSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RequestorSettingsAttributes) InternalWithRef

func (RequestorSettingsAttributes) Requestor

func (RequestorSettingsAttributes) RequestsAccepted

func (rs RequestorSettingsAttributes) RequestsAccepted() terra.BoolValue

func (RequestorSettingsAttributes) ScopeType

type RequestorSettingsState

type RequestorSettingsState struct {
	RequestsAccepted bool             `json:"requests_accepted"`
	ScopeType        string           `json:"scope_type"`
	Requestor        []RequestorState `json:"requestor"`
}

type RequestorState

type RequestorState struct {
	Backup      bool   `json:"backup"`
	ObjectId    string `json:"object_id"`
	SubjectType string `json:"subject_type"`
}

type Reviewer

type Reviewer struct {
	// Backup: bool, optional
	Backup terra.BoolValue `hcl:"backup,attr"`
	// ObjectId: string, optional
	ObjectId terra.StringValue `hcl:"object_id,attr"`
	// SubjectType: string, required
	SubjectType terra.StringValue `hcl:"subject_type,attr" validate:"required"`
}

type ReviewerAttributes

type ReviewerAttributes struct {
	// contains filtered or unexported fields
}

func (ReviewerAttributes) Backup

func (r ReviewerAttributes) Backup() terra.BoolValue

func (ReviewerAttributes) InternalRef

func (r ReviewerAttributes) InternalRef() (terra.Reference, error)

func (ReviewerAttributes) InternalTokens

func (r ReviewerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReviewerAttributes) InternalWithRef

func (r ReviewerAttributes) InternalWithRef(ref terra.Reference) ReviewerAttributes

func (ReviewerAttributes) ObjectId

func (r ReviewerAttributes) ObjectId() terra.StringValue

func (ReviewerAttributes) SubjectType

func (r ReviewerAttributes) SubjectType() terra.StringValue

type ReviewerState

type ReviewerState struct {
	Backup      bool   `json:"backup"`
	ObjectId    string `json:"object_id"`
	SubjectType string `json:"subject_type"`
}

type Text

type Text struct {
	// DefaultText: string, required
	DefaultText terra.StringValue `hcl:"default_text,attr" validate:"required"`
	// TextLocalizedText: min=0
	LocalizedText []TextLocalizedText `hcl:"localized_text,block" validate:"min=0"`
}

type TextAttributes

type TextAttributes struct {
	// contains filtered or unexported fields
}

func (TextAttributes) DefaultText

func (t TextAttributes) DefaultText() terra.StringValue

func (TextAttributes) InternalRef

func (t TextAttributes) InternalRef() (terra.Reference, error)

func (TextAttributes) InternalTokens

func (t TextAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TextAttributes) InternalWithRef

func (t TextAttributes) InternalWithRef(ref terra.Reference) TextAttributes

func (TextAttributes) LocalizedText

type TextLocalizedText

type TextLocalizedText struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// LanguageCode: string, required
	LanguageCode terra.StringValue `hcl:"language_code,attr" validate:"required"`
}

type TextLocalizedTextAttributes

type TextLocalizedTextAttributes struct {
	// contains filtered or unexported fields
}

func (TextLocalizedTextAttributes) Content

func (TextLocalizedTextAttributes) InternalRef

func (lt TextLocalizedTextAttributes) InternalRef() (terra.Reference, error)

func (TextLocalizedTextAttributes) InternalTokens

func (lt TextLocalizedTextAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TextLocalizedTextAttributes) InternalWithRef

func (TextLocalizedTextAttributes) LanguageCode

func (lt TextLocalizedTextAttributes) LanguageCode() terra.StringValue

type TextLocalizedTextState

type TextLocalizedTextState struct {
	Content      string `json:"content"`
	LanguageCode string `json:"language_code"`
}

type TextState

type TextState struct {
	DefaultText   string                   `json:"default_text"`
	LocalizedText []TextLocalizedTextState `json:"localized_text"`
}

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