google_access_context_manager_access_level_condition

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 {
	// AccessLevel: string, required
	AccessLevel terra.StringValue `hcl:"access_level,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// 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"`
	// DevicePolicy: optional
	DevicePolicy *DevicePolicy `hcl:"device_policy,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// VpcNetworkSources: min=0
	VpcNetworkSources []VpcNetworkSources `hcl:"vpc_network_sources,block" validate:"min=0"`
}

Args contains the configurations for google_access_context_manager_access_level_condition.

type DevicePolicy

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

type DevicePolicyAttributes

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

func (DevicePolicyAttributes) AllowedDeviceManagementLevels

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

func (DevicePolicyAttributes) AllowedEncryptionStatuses

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

func (DevicePolicyAttributes) InternalRef

func (dp DevicePolicyAttributes) InternalRef() (terra.Reference, error)

func (DevicePolicyAttributes) InternalTokens

func (dp DevicePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DevicePolicyAttributes) InternalWithRef

func (DevicePolicyAttributes) OsConstraints

func (DevicePolicyAttributes) RequireAdminApproval

func (dp DevicePolicyAttributes) RequireAdminApproval() terra.BoolValue

func (DevicePolicyAttributes) RequireCorpOwned

func (dp DevicePolicyAttributes) RequireCorpOwned() terra.BoolValue

func (DevicePolicyAttributes) RequireScreenLock

func (dp DevicePolicyAttributes) RequireScreenLock() terra.BoolValue

type DevicePolicyOsConstraints

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

type DevicePolicyOsConstraintsAttributes

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

func (DevicePolicyOsConstraintsAttributes) InternalRef

func (DevicePolicyOsConstraintsAttributes) InternalTokens

func (DevicePolicyOsConstraintsAttributes) InternalWithRef

func (DevicePolicyOsConstraintsAttributes) MinimumVersion

func (DevicePolicyOsConstraintsAttributes) OsType

type DevicePolicyOsConstraintsState

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

type DevicePolicyState

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

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gacmalc *Resource) Attributes() googleAccessContextManagerAccessLevelConditionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gacmalc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gacmalc *Resource) State() (*googleAccessContextManagerAccessLevelConditionState, bool)

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

func (*Resource) StateMust

func (gacmalc *Resource) StateMust() *googleAccessContextManagerAccessLevelConditionState

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

func (*Resource) Type

func (gacmalc *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"`
}

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

type TimeoutsState

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

type VpcNetworkSources

type VpcNetworkSources struct {
	// VpcNetworkSourcesVpcSubnetwork: optional
	VpcSubnetwork *VpcNetworkSourcesVpcSubnetwork `hcl:"vpc_subnetwork,block"`
}

type VpcNetworkSourcesAttributes

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

func (VpcNetworkSourcesAttributes) InternalRef

func (vns VpcNetworkSourcesAttributes) InternalRef() (terra.Reference, error)

func (VpcNetworkSourcesAttributes) InternalTokens

func (vns VpcNetworkSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcNetworkSourcesAttributes) InternalWithRef

func (VpcNetworkSourcesAttributes) VpcSubnetwork

type VpcNetworkSourcesState

type VpcNetworkSourcesState struct {
	VpcSubnetwork []VpcNetworkSourcesVpcSubnetworkState `json:"vpc_subnetwork"`
}

type VpcNetworkSourcesVpcSubnetwork

type VpcNetworkSourcesVpcSubnetwork 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 VpcNetworkSourcesVpcSubnetworkAttributes

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

func (VpcNetworkSourcesVpcSubnetworkAttributes) InternalRef

func (VpcNetworkSourcesVpcSubnetworkAttributes) InternalTokens

func (VpcNetworkSourcesVpcSubnetworkAttributes) InternalWithRef

func (VpcNetworkSourcesVpcSubnetworkAttributes) Network

func (VpcNetworkSourcesVpcSubnetworkAttributes) VpcIpSubnetworks

type VpcNetworkSourcesVpcSubnetworkState

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

Jump to

Keyboard shortcuts

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