google_apphub_application

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 {
	// ApplicationId: string, required
	ApplicationId terra.StringValue `hcl:"application_id,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Attributes: optional
	Attributes *Attributes `hcl:"attributes,block"`
	// Scope: required
	Scope *Scope `hcl:"scope,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_apphub_application.

type Attributes

type Attributes struct {
	// AttributesBusinessOwners: min=0
	BusinessOwners []AttributesBusinessOwners `hcl:"business_owners,block" validate:"min=0"`
	// AttributesCriticality: optional
	Criticality *AttributesCriticality `hcl:"criticality,block"`
	// AttributesDeveloperOwners: min=0
	DeveloperOwners []AttributesDeveloperOwners `hcl:"developer_owners,block" validate:"min=0"`
	// AttributesEnvironment: optional
	Environment *AttributesEnvironment `hcl:"environment,block"`
	// AttributesOperatorOwners: min=0
	OperatorOwners []AttributesOperatorOwners `hcl:"operator_owners,block" validate:"min=0"`
}

type AttributesAttributes

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

func (AttributesAttributes) BusinessOwners

func (AttributesAttributes) Criticality

func (AttributesAttributes) DeveloperOwners

func (AttributesAttributes) Environment

func (AttributesAttributes) InternalRef

func (a AttributesAttributes) InternalRef() (terra.Reference, error)

func (AttributesAttributes) InternalTokens

func (a AttributesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AttributesAttributes) InternalWithRef

func (AttributesAttributes) OperatorOwners

type AttributesBusinessOwners

type AttributesBusinessOwners struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Email: string, required
	Email terra.StringValue `hcl:"email,attr" validate:"required"`
}

type AttributesBusinessOwnersAttributes

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

func (AttributesBusinessOwnersAttributes) DisplayName

func (AttributesBusinessOwnersAttributes) Email

func (AttributesBusinessOwnersAttributes) InternalRef

func (AttributesBusinessOwnersAttributes) InternalTokens

func (AttributesBusinessOwnersAttributes) InternalWithRef

type AttributesBusinessOwnersState

type AttributesBusinessOwnersState struct {
	DisplayName string `json:"display_name"`
	Email       string `json:"email"`
}

type AttributesCriticality

type AttributesCriticality struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type AttributesCriticalityAttributes

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

func (AttributesCriticalityAttributes) InternalRef

func (AttributesCriticalityAttributes) InternalTokens

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

func (AttributesCriticalityAttributes) InternalWithRef

func (AttributesCriticalityAttributes) Type

type AttributesCriticalityState

type AttributesCriticalityState struct {
	Type string `json:"type"`
}

type AttributesDeveloperOwners

type AttributesDeveloperOwners struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Email: string, required
	Email terra.StringValue `hcl:"email,attr" validate:"required"`
}

type AttributesDeveloperOwnersAttributes

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

func (AttributesDeveloperOwnersAttributes) DisplayName

func (AttributesDeveloperOwnersAttributes) Email

func (AttributesDeveloperOwnersAttributes) InternalRef

func (AttributesDeveloperOwnersAttributes) InternalTokens

func (AttributesDeveloperOwnersAttributes) InternalWithRef

type AttributesDeveloperOwnersState

type AttributesDeveloperOwnersState struct {
	DisplayName string `json:"display_name"`
	Email       string `json:"email"`
}

type AttributesEnvironment

type AttributesEnvironment struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type AttributesEnvironmentAttributes

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

func (AttributesEnvironmentAttributes) InternalRef

func (AttributesEnvironmentAttributes) InternalTokens

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

func (AttributesEnvironmentAttributes) InternalWithRef

func (AttributesEnvironmentAttributes) Type

type AttributesEnvironmentState

type AttributesEnvironmentState struct {
	Type string `json:"type"`
}

type AttributesOperatorOwners

type AttributesOperatorOwners struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Email: string, required
	Email terra.StringValue `hcl:"email,attr" validate:"required"`
}

type AttributesOperatorOwnersAttributes

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

func (AttributesOperatorOwnersAttributes) DisplayName

func (AttributesOperatorOwnersAttributes) Email

func (AttributesOperatorOwnersAttributes) InternalRef

func (AttributesOperatorOwnersAttributes) InternalTokens

func (AttributesOperatorOwnersAttributes) InternalWithRef

type AttributesOperatorOwnersState

type AttributesOperatorOwnersState struct {
	DisplayName string `json:"display_name"`
	Email       string `json:"email"`
}

type AttributesState

type AttributesState struct {
	BusinessOwners  []AttributesBusinessOwnersState  `json:"business_owners"`
	Criticality     []AttributesCriticalityState     `json:"criticality"`
	DeveloperOwners []AttributesDeveloperOwnersState `json:"developer_owners"`
	Environment     []AttributesEnvironmentState     `json:"environment"`
	OperatorOwners  []AttributesOperatorOwnersState  `json:"operator_owners"`
}

type DataArgs

type DataArgs struct {
	// ApplicationId: string, required
	ApplicationId terra.StringValue `hcl:"application_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Project: string, required
	Project terra.StringValue `hcl:"project,attr" validate:"required"`
}

DataArgs contains the configurations for google_apphub_application.

type DataAttributesAttributes

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

func (DataAttributesAttributes) BusinessOwners

func (DataAttributesAttributes) Criticality

func (DataAttributesAttributes) DeveloperOwners

func (DataAttributesAttributes) Environment

func (DataAttributesAttributes) InternalRef

func (a DataAttributesAttributes) InternalRef() (terra.Reference, error)

func (DataAttributesAttributes) InternalTokens

func (a DataAttributesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAttributesAttributes) InternalWithRef

func (DataAttributesAttributes) OperatorOwners

type DataAttributesBusinessOwnersAttributes

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

func (DataAttributesBusinessOwnersAttributes) DisplayName

func (DataAttributesBusinessOwnersAttributes) Email

func (DataAttributesBusinessOwnersAttributes) InternalRef

func (DataAttributesBusinessOwnersAttributes) InternalTokens

func (DataAttributesBusinessOwnersAttributes) InternalWithRef

type DataAttributesBusinessOwnersState

type DataAttributesBusinessOwnersState struct {
	DisplayName string `json:"display_name"`
	Email       string `json:"email"`
}

type DataAttributesCriticalityAttributes

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

func (DataAttributesCriticalityAttributes) InternalRef

func (DataAttributesCriticalityAttributes) InternalTokens

func (DataAttributesCriticalityAttributes) InternalWithRef

func (DataAttributesCriticalityAttributes) Type

type DataAttributesCriticalityState

type DataAttributesCriticalityState struct {
	Type string `json:"type"`
}

type DataAttributesDeveloperOwnersAttributes

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

func (DataAttributesDeveloperOwnersAttributes) DisplayName

func (DataAttributesDeveloperOwnersAttributes) Email

func (DataAttributesDeveloperOwnersAttributes) InternalRef

func (DataAttributesDeveloperOwnersAttributes) InternalTokens

func (DataAttributesDeveloperOwnersAttributes) InternalWithRef

type DataAttributesDeveloperOwnersState

type DataAttributesDeveloperOwnersState struct {
	DisplayName string `json:"display_name"`
	Email       string `json:"email"`
}

type DataAttributesEnvironmentAttributes

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

func (DataAttributesEnvironmentAttributes) InternalRef

func (DataAttributesEnvironmentAttributes) InternalTokens

func (DataAttributesEnvironmentAttributes) InternalWithRef

func (DataAttributesEnvironmentAttributes) Type

type DataAttributesEnvironmentState

type DataAttributesEnvironmentState struct {
	Type string `json:"type"`
}

type DataAttributesOperatorOwnersAttributes

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

func (DataAttributesOperatorOwnersAttributes) DisplayName

func (DataAttributesOperatorOwnersAttributes) Email

func (DataAttributesOperatorOwnersAttributes) InternalRef

func (DataAttributesOperatorOwnersAttributes) InternalTokens

func (DataAttributesOperatorOwnersAttributes) InternalWithRef

type DataAttributesOperatorOwnersState

type DataAttributesOperatorOwnersState struct {
	DisplayName string `json:"display_name"`
	Email       string `json:"email"`
}

type DataAttributesState

type DataAttributesState struct {
	BusinessOwners  []DataAttributesBusinessOwnersState  `json:"business_owners"`
	Criticality     []DataAttributesCriticalityState     `json:"criticality"`
	DeveloperOwners []DataAttributesDeveloperOwnersState `json:"developer_owners"`
	Environment     []DataAttributesEnvironmentState     `json:"environment"`
	OperatorOwners  []DataAttributesOperatorOwnersState  `json:"operator_owners"`
}

type DataScopeAttributes

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

func (DataScopeAttributes) InternalRef

func (s DataScopeAttributes) InternalRef() (terra.Reference, error)

func (DataScopeAttributes) InternalTokens

func (s DataScopeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataScopeAttributes) InternalWithRef

func (s DataScopeAttributes) InternalWithRef(ref terra.Reference) DataScopeAttributes

func (DataScopeAttributes) Type

type DataScopeState

type DataScopeState struct {
	Type string `json:"type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_apphub_application.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gaa *DataSource) Attributes() dataGoogleApphubApplicationAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gaa *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gaa *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gaa *DataSource) LocalName() string

LocalName returns the local name for DataSource.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gaa *Resource) Attributes() googleApphubApplicationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gaa *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gaa *Resource) State() (*googleApphubApplicationState, bool)

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

func (*Resource) StateMust

func (gaa *Resource) StateMust() *googleApphubApplicationState

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

func (*Resource) Type

func (gaa *Resource) Type() string

Type returns the Terraform object type for Resource.

type Scope

type Scope struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ScopeAttributes

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

func (ScopeAttributes) InternalRef

func (s ScopeAttributes) InternalRef() (terra.Reference, error)

func (ScopeAttributes) InternalTokens

func (s ScopeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScopeAttributes) InternalWithRef

func (s ScopeAttributes) InternalWithRef(ref terra.Reference) ScopeAttributes

func (ScopeAttributes) Type

type ScopeState

type ScopeState struct {
	Type string `json:"type"`
}

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