google_access_context_manager_access_levels

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 AccessLevels

type AccessLevels struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Title: string, required
	Title terra.StringValue `hcl:"title,attr" validate:"required"`
	// AccessLevelsBasic: optional
	Basic *AccessLevelsBasic `hcl:"basic,block"`
	// AccessLevelsCustom: optional
	Custom *AccessLevelsCustom `hcl:"custom,block"`
}

type AccessLevelsAttributes

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

func (AccessLevelsAttributes) Basic

func (AccessLevelsAttributes) Custom

func (AccessLevelsAttributes) Description

func (al AccessLevelsAttributes) Description() terra.StringValue

func (AccessLevelsAttributes) InternalRef

func (al AccessLevelsAttributes) InternalRef() (terra.Reference, error)

func (AccessLevelsAttributes) InternalTokens

func (al AccessLevelsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessLevelsAttributes) InternalWithRef

func (AccessLevelsAttributes) Name

func (AccessLevelsAttributes) Title

type AccessLevelsBasic

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

type AccessLevelsBasic0D9E0498

type AccessLevelsBasic0D9E0498 struct {
	// MinimumVersion: string, optional
	MinimumVersion terra.StringValue `hcl:"minimum_version,attr"`
	// OsType: string, required
	OsType terra.StringValue `hcl:"os_type,attr" validate:"required"`
}

type AccessLevelsBasic0D9E0498Attributes

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

func (AccessLevelsBasic0D9E0498Attributes) InternalRef

func (AccessLevelsBasic0D9E0498Attributes) InternalTokens

func (AccessLevelsBasic0D9E0498Attributes) InternalWithRef

func (AccessLevelsBasic0D9E0498Attributes) MinimumVersion

func (AccessLevelsBasic0D9E0498Attributes) OsType

type AccessLevelsBasic0D9E0498State

type AccessLevelsBasic0D9E0498State struct {
	MinimumVersion string `json:"minimum_version"`
	OsType         string `json:"os_type"`
}

type AccessLevelsBasic2F5506A2

type AccessLevelsBasic2F5506A2 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 AccessLevelsBasic2F5506A2Attributes

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

func (AccessLevelsBasic2F5506A2Attributes) InternalRef

func (AccessLevelsBasic2F5506A2Attributes) InternalTokens

func (AccessLevelsBasic2F5506A2Attributes) InternalWithRef

func (AccessLevelsBasic2F5506A2Attributes) Network

func (AccessLevelsBasic2F5506A2Attributes) VpcIpSubnetworks

type AccessLevelsBasic2F5506A2State

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

type AccessLevelsBasicAttributes

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

func (AccessLevelsBasicAttributes) CombiningFunction

func (b AccessLevelsBasicAttributes) CombiningFunction() terra.StringValue

func (AccessLevelsBasicAttributes) Conditions

func (AccessLevelsBasicAttributes) InternalRef

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

func (AccessLevelsBasicAttributes) InternalTokens

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

func (AccessLevelsBasicAttributes) InternalWithRef

type AccessLevelsBasicConditions

type AccessLevelsBasicConditions 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"`
	// AccessLevelsBasicConditionsDevicePolicy: optional
	DevicePolicy *AccessLevelsBasicConditionsDevicePolicy `hcl:"device_policy,block"`
	// AccessLevelsBasicConditionsVpcNetworkSources: min=0
	VpcNetworkSources []AccessLevelsBasicConditionsVpcNetworkSources `hcl:"vpc_network_sources,block" validate:"min=0"`
}

type AccessLevelsBasicConditionsAttributes

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

func (AccessLevelsBasicConditionsAttributes) DevicePolicy

func (AccessLevelsBasicConditionsAttributes) InternalRef

func (AccessLevelsBasicConditionsAttributes) InternalTokens

func (AccessLevelsBasicConditionsAttributes) InternalWithRef

func (AccessLevelsBasicConditionsAttributes) IpSubnetworks

func (AccessLevelsBasicConditionsAttributes) Members

func (AccessLevelsBasicConditionsAttributes) Negate

func (AccessLevelsBasicConditionsAttributes) Regions

func (AccessLevelsBasicConditionsAttributes) RequiredAccessLevels

type AccessLevelsBasicConditionsDevicePolicy

type AccessLevelsBasicConditionsDevicePolicy 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"`
	// AccessLevelsBasic0D9E0498: min=0
	OsConstraints []AccessLevelsBasic0D9E0498 `hcl:"os_constraints,block" validate:"min=0"`
}

type AccessLevelsBasicConditionsDevicePolicyAttributes

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

func (AccessLevelsBasicConditionsDevicePolicyAttributes) AllowedDeviceManagementLevels

func (AccessLevelsBasicConditionsDevicePolicyAttributes) AllowedEncryptionStatuses

func (AccessLevelsBasicConditionsDevicePolicyAttributes) InternalRef

func (AccessLevelsBasicConditionsDevicePolicyAttributes) InternalTokens

func (AccessLevelsBasicConditionsDevicePolicyAttributes) InternalWithRef

func (AccessLevelsBasicConditionsDevicePolicyAttributes) OsConstraints

func (AccessLevelsBasicConditionsDevicePolicyAttributes) RequireAdminApproval

func (AccessLevelsBasicConditionsDevicePolicyAttributes) RequireCorpOwned

func (AccessLevelsBasicConditionsDevicePolicyAttributes) RequireScreenLock

type AccessLevelsBasicConditionsDevicePolicyState

type AccessLevelsBasicConditionsDevicePolicyState 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                 []AccessLevelsBasic0D9E0498State `json:"os_constraints"`
}

type AccessLevelsBasicConditionsState

type AccessLevelsBasicConditionsState 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         []AccessLevelsBasicConditionsDevicePolicyState      `json:"device_policy"`
	VpcNetworkSources    []AccessLevelsBasicConditionsVpcNetworkSourcesState `json:"vpc_network_sources"`
}

type AccessLevelsBasicConditionsVpcNetworkSources

type AccessLevelsBasicConditionsVpcNetworkSources struct {
	// AccessLevelsBasic2F5506A2: optional
	VpcSubnetwork *AccessLevelsBasic2F5506A2 `hcl:"vpc_subnetwork,block"`
}

type AccessLevelsBasicConditionsVpcNetworkSourcesAttributes

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

func (AccessLevelsBasicConditionsVpcNetworkSourcesAttributes) InternalRef

func (AccessLevelsBasicConditionsVpcNetworkSourcesAttributes) InternalTokens

func (AccessLevelsBasicConditionsVpcNetworkSourcesAttributes) InternalWithRef

func (AccessLevelsBasicConditionsVpcNetworkSourcesAttributes) VpcSubnetwork

type AccessLevelsBasicConditionsVpcNetworkSourcesState

type AccessLevelsBasicConditionsVpcNetworkSourcesState struct {
	VpcSubnetwork []AccessLevelsBasic2F5506A2State `json:"vpc_subnetwork"`
}

type AccessLevelsBasicState

type AccessLevelsBasicState struct {
	CombiningFunction string                             `json:"combining_function"`
	Conditions        []AccessLevelsBasicConditionsState `json:"conditions"`
}

type AccessLevelsCustom

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

type AccessLevelsCustomAttributes

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

func (AccessLevelsCustomAttributes) Expr

func (AccessLevelsCustomAttributes) InternalRef

func (AccessLevelsCustomAttributes) InternalTokens

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

func (AccessLevelsCustomAttributes) InternalWithRef

type AccessLevelsCustomExpr

type AccessLevelsCustomExpr 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 AccessLevelsCustomExprAttributes

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

func (AccessLevelsCustomExprAttributes) Description

func (AccessLevelsCustomExprAttributes) Expression

func (AccessLevelsCustomExprAttributes) InternalRef

func (AccessLevelsCustomExprAttributes) InternalTokens

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

func (AccessLevelsCustomExprAttributes) InternalWithRef

func (AccessLevelsCustomExprAttributes) Location

func (AccessLevelsCustomExprAttributes) Title

type AccessLevelsCustomExprState

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

type AccessLevelsCustomState

type AccessLevelsCustomState struct {
	Expr []AccessLevelsCustomExprState `json:"expr"`
}

type AccessLevelsState

type AccessLevelsState struct {
	Description string                    `json:"description"`
	Name        string                    `json:"name"`
	Title       string                    `json:"title"`
	Basic       []AccessLevelsBasicState  `json:"basic"`
	Custom      []AccessLevelsCustomState `json:"custom"`
}

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
	// AccessLevels: min=0
	AccessLevels []AccessLevels `hcl:"access_levels,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_access_context_manager_access_levels.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gacmal *Resource) Attributes() googleAccessContextManagerAccessLevelsAttributes

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() (*googleAccessContextManagerAccessLevelsState, bool)

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

func (*Resource) StateMust

func (gacmal *Resource) StateMust() *googleAccessContextManagerAccessLevelsState

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