google_apphub_service

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"`
	// DiscoveredService: string, required
	DiscoveredService terra.StringValue `hcl:"discovered_service,attr" validate:"required"`
	// 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"`
	// ServiceId: string, required
	ServiceId terra.StringValue `hcl:"service_id,attr" validate:"required"`
	// Attributes: optional
	Attributes *Attributes `hcl:"attributes,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_apphub_service.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gas *Resource) Attributes() googleApphubServiceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gas *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gas *Resource) State() (*googleApphubServiceState, bool)

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

func (*Resource) StateMust

func (gas *Resource) StateMust() *googleApphubServiceState

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

func (*Resource) Type

func (gas *Resource) Type() string

Type returns the Terraform object type for Resource.

type ServicePropertiesAttributes

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

func (ServicePropertiesAttributes) GcpProject

func (ServicePropertiesAttributes) InternalRef

func (sp ServicePropertiesAttributes) InternalRef() (terra.Reference, error)

func (ServicePropertiesAttributes) InternalTokens

func (sp ServicePropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServicePropertiesAttributes) InternalWithRef

func (ServicePropertiesAttributes) Location

func (ServicePropertiesAttributes) Zone

type ServicePropertiesState

type ServicePropertiesState struct {
	GcpProject string `json:"gcp_project"`
	Location   string `json:"location"`
	Zone       string `json:"zone"`
}

type ServiceReferenceAttributes

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

func (ServiceReferenceAttributes) InternalRef

func (sr ServiceReferenceAttributes) InternalRef() (terra.Reference, error)

func (ServiceReferenceAttributes) InternalTokens

func (sr ServiceReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServiceReferenceAttributes) InternalWithRef

func (ServiceReferenceAttributes) Uri

type ServiceReferenceState

type ServiceReferenceState struct {
	Uri string `json:"uri"`
}

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