google_access_context_manager_access_level

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 {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
	// Title: string, required
	Title terra.StringValue `hcl:"title,attr" validate:"required"`
	// Basic: optional
	Basic *Basic `hcl:"basic,block"`
	// Custom: optional
	Custom *Custom `hcl:"custom,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_access_context_manager_access_level.

type Basic

type Basic struct {
	// CombiningFunction: string, optional
	CombiningFunction terra.StringValue `hcl:"combining_function,attr"`
	// BasicConditions: min=1
	Conditions []BasicConditions `hcl:"conditions,block" validate:"min=1"`
}

type BasicAttributes

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

func (BasicAttributes) CombiningFunction

func (b BasicAttributes) CombiningFunction() terra.StringValue

func (BasicAttributes) Conditions

func (BasicAttributes) InternalRef

func (b BasicAttributes) InternalRef() (terra.Reference, error)

func (BasicAttributes) InternalTokens

func (b BasicAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BasicAttributes) InternalWithRef

func (b BasicAttributes) InternalWithRef(ref terra.Reference) BasicAttributes

type BasicConditions

type BasicConditions struct {
	// IpSubnetworks: list of string, optional
	IpSubnetworks terra.ListValue[terra.StringValue] `hcl:"ip_subnetworks,attr"`
	// Members: list of string, optional
	Members terra.ListValue[terra.StringValue] `hcl:"members,attr"`
	// Negate: bool, optional
	Negate terra.BoolValue `hcl:"negate,attr"`
	// Regions: list of string, optional
	Regions terra.ListValue[terra.StringValue] `hcl:"regions,attr"`
	// RequiredAccessLevels: list of string, optional
	RequiredAccessLevels terra.ListValue[terra.StringValue] `hcl:"required_access_levels,attr"`
	// BasicConditionsDevicePolicy: optional
	DevicePolicy *BasicConditionsDevicePolicy `hcl:"device_policy,block"`
	// BasicConditionsVpcNetworkSources: min=0
	VpcNetworkSources []BasicConditionsVpcNetworkSources `hcl:"vpc_network_sources,block" validate:"min=0"`
}

type BasicConditionsAttributes

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

func (BasicConditionsAttributes) DevicePolicy

func (BasicConditionsAttributes) InternalRef

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

func (BasicConditionsAttributes) InternalTokens

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

func (BasicConditionsAttributes) InternalWithRef

func (BasicConditionsAttributes) IpSubnetworks

func (BasicConditionsAttributes) Members

func (BasicConditionsAttributes) Negate

func (BasicConditionsAttributes) Regions

func (BasicConditionsAttributes) RequiredAccessLevels

func (c BasicConditionsAttributes) RequiredAccessLevels() terra.ListValue[terra.StringValue]

func (BasicConditionsAttributes) VpcNetworkSources

type BasicConditionsDevicePolicy

type BasicConditionsDevicePolicy struct {
	// AllowedDeviceManagementLevels: list of string, optional
	AllowedDeviceManagementLevels terra.ListValue[terra.StringValue] `hcl:"allowed_device_management_levels,attr"`
	// AllowedEncryptionStatuses: list of string, optional
	AllowedEncryptionStatuses terra.ListValue[terra.StringValue] `hcl:"allowed_encryption_statuses,attr"`
	// RequireAdminApproval: bool, optional
	RequireAdminApproval terra.BoolValue `hcl:"require_admin_approval,attr"`
	// RequireCorpOwned: bool, optional
	RequireCorpOwned terra.BoolValue `hcl:"require_corp_owned,attr"`
	// RequireScreenLock: bool, optional
	RequireScreenLock terra.BoolValue `hcl:"require_screen_lock,attr"`
	// BasicConditionsDevicePolicyOsConstraints: min=0
	OsConstraints []BasicConditionsDevicePolicyOsConstraints `hcl:"os_constraints,block" validate:"min=0"`
}

type BasicConditionsDevicePolicyAttributes

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

func (BasicConditionsDevicePolicyAttributes) AllowedDeviceManagementLevels

func (dp BasicConditionsDevicePolicyAttributes) AllowedDeviceManagementLevels() terra.ListValue[terra.StringValue]

func (BasicConditionsDevicePolicyAttributes) AllowedEncryptionStatuses

func (dp BasicConditionsDevicePolicyAttributes) AllowedEncryptionStatuses() terra.ListValue[terra.StringValue]

func (BasicConditionsDevicePolicyAttributes) InternalRef

func (BasicConditionsDevicePolicyAttributes) InternalTokens

func (BasicConditionsDevicePolicyAttributes) InternalWithRef

func (BasicConditionsDevicePolicyAttributes) OsConstraints

func (BasicConditionsDevicePolicyAttributes) RequireAdminApproval

func (dp BasicConditionsDevicePolicyAttributes) RequireAdminApproval() terra.BoolValue

func (BasicConditionsDevicePolicyAttributes) RequireCorpOwned

func (BasicConditionsDevicePolicyAttributes) RequireScreenLock

func (dp BasicConditionsDevicePolicyAttributes) RequireScreenLock() terra.BoolValue

type BasicConditionsDevicePolicyOsConstraints

type BasicConditionsDevicePolicyOsConstraints struct {
	// MinimumVersion: string, optional
	MinimumVersion terra.StringValue `hcl:"minimum_version,attr"`
	// OsType: string, required
	OsType terra.StringValue `hcl:"os_type,attr" validate:"required"`
	// RequireVerifiedChromeOs: bool, optional
	RequireVerifiedChromeOs terra.BoolValue `hcl:"require_verified_chrome_os,attr"`
}

type BasicConditionsDevicePolicyOsConstraintsAttributes

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

func (BasicConditionsDevicePolicyOsConstraintsAttributes) InternalRef

func (BasicConditionsDevicePolicyOsConstraintsAttributes) InternalTokens

func (BasicConditionsDevicePolicyOsConstraintsAttributes) InternalWithRef

func (BasicConditionsDevicePolicyOsConstraintsAttributes) MinimumVersion

func (BasicConditionsDevicePolicyOsConstraintsAttributes) OsType

func (BasicConditionsDevicePolicyOsConstraintsAttributes) RequireVerifiedChromeOs

type BasicConditionsDevicePolicyOsConstraintsState

type BasicConditionsDevicePolicyOsConstraintsState struct {
	MinimumVersion          string `json:"minimum_version"`
	OsType                  string `json:"os_type"`
	RequireVerifiedChromeOs bool   `json:"require_verified_chrome_os"`
}

type BasicConditionsDevicePolicyState

type BasicConditionsDevicePolicyState struct {
	AllowedDeviceManagementLevels []string                                        `json:"allowed_device_management_levels"`
	AllowedEncryptionStatuses     []string                                        `json:"allowed_encryption_statuses"`
	RequireAdminApproval          bool                                            `json:"require_admin_approval"`
	RequireCorpOwned              bool                                            `json:"require_corp_owned"`
	RequireScreenLock             bool                                            `json:"require_screen_lock"`
	OsConstraints                 []BasicConditionsDevicePolicyOsConstraintsState `json:"os_constraints"`
}

type BasicConditionsState

type BasicConditionsState struct {
	IpSubnetworks        []string                                `json:"ip_subnetworks"`
	Members              []string                                `json:"members"`
	Negate               bool                                    `json:"negate"`
	Regions              []string                                `json:"regions"`
	RequiredAccessLevels []string                                `json:"required_access_levels"`
	DevicePolicy         []BasicConditionsDevicePolicyState      `json:"device_policy"`
	VpcNetworkSources    []BasicConditionsVpcNetworkSourcesState `json:"vpc_network_sources"`
}

type BasicConditionsVpcNetworkSources

type BasicConditionsVpcNetworkSources struct {
	// BasicConditionsVpcNetworkSourcesVpcSubnetwork: optional
	VpcSubnetwork *BasicConditionsVpcNetworkSourcesVpcSubnetwork `hcl:"vpc_subnetwork,block"`
}

type BasicConditionsVpcNetworkSourcesAttributes

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

func (BasicConditionsVpcNetworkSourcesAttributes) InternalRef

func (BasicConditionsVpcNetworkSourcesAttributes) InternalTokens

func (BasicConditionsVpcNetworkSourcesAttributes) InternalWithRef

func (BasicConditionsVpcNetworkSourcesAttributes) VpcSubnetwork

type BasicConditionsVpcNetworkSourcesState

type BasicConditionsVpcNetworkSourcesState struct {
	VpcSubnetwork []BasicConditionsVpcNetworkSourcesVpcSubnetworkState `json:"vpc_subnetwork"`
}

type BasicConditionsVpcNetworkSourcesVpcSubnetwork

type BasicConditionsVpcNetworkSourcesVpcSubnetwork struct {
	// Network: string, required
	Network terra.StringValue `hcl:"network,attr" validate:"required"`
	// VpcIpSubnetworks: list of string, optional
	VpcIpSubnetworks terra.ListValue[terra.StringValue] `hcl:"vpc_ip_subnetworks,attr"`
}

type BasicConditionsVpcNetworkSourcesVpcSubnetworkAttributes

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

func (BasicConditionsVpcNetworkSourcesVpcSubnetworkAttributes) InternalRef

func (BasicConditionsVpcNetworkSourcesVpcSubnetworkAttributes) InternalTokens

func (BasicConditionsVpcNetworkSourcesVpcSubnetworkAttributes) InternalWithRef

func (BasicConditionsVpcNetworkSourcesVpcSubnetworkAttributes) Network

func (BasicConditionsVpcNetworkSourcesVpcSubnetworkAttributes) VpcIpSubnetworks

type BasicConditionsVpcNetworkSourcesVpcSubnetworkState

type BasicConditionsVpcNetworkSourcesVpcSubnetworkState struct {
	Network          string   `json:"network"`
	VpcIpSubnetworks []string `json:"vpc_ip_subnetworks"`
}

type BasicState

type BasicState struct {
	CombiningFunction string                 `json:"combining_function"`
	Conditions        []BasicConditionsState `json:"conditions"`
}

type Custom

type Custom struct {
	// CustomExpr: required
	Expr *CustomExpr `hcl:"expr,block" validate:"required"`
}

type CustomAttributes

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

func (CustomAttributes) Expr

func (CustomAttributes) InternalRef

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

func (CustomAttributes) InternalTokens

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

func (CustomAttributes) InternalWithRef

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

type CustomExpr

type CustomExpr struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Expression: string, required
	Expression terra.StringValue `hcl:"expression,attr" validate:"required"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
}

type CustomExprAttributes

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

func (CustomExprAttributes) Description

func (e CustomExprAttributes) Description() terra.StringValue

func (CustomExprAttributes) Expression

func (e CustomExprAttributes) Expression() terra.StringValue

func (CustomExprAttributes) InternalRef

func (e CustomExprAttributes) InternalRef() (terra.Reference, error)

func (CustomExprAttributes) InternalTokens

func (e CustomExprAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CustomExprAttributes) InternalWithRef

func (CustomExprAttributes) Location

func (e CustomExprAttributes) Location() terra.StringValue

func (CustomExprAttributes) Title

type CustomExprState

type CustomExprState struct {
	Description string `json:"description"`
	Expression  string `json:"expression"`
	Location    string `json:"location"`
	Title       string `json:"title"`
}

type CustomState

type CustomState struct {
	Expr []CustomExprState `json:"expr"`
}

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 google_access_context_manager_access_level.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gacmal *Resource) Attributes() googleAccessContextManagerAccessLevelAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gacmal *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gacmal *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gacmal *Resource) State() (*googleAccessContextManagerAccessLevelState, bool)

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

func (*Resource) StateMust

func (gacmal *Resource) StateMust() *googleAccessContextManagerAccessLevelState

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

func (*Resource) Type

func (gacmal *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,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) Update

type TimeoutsState

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

Jump to

Keyboard shortcuts

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