Documentation ¶
Index ¶
- type Args
- type Attributes
- type AttributesAttributes
- func (a AttributesAttributes) BusinessOwners() terra.ListValue[AttributesBusinessOwnersAttributes]
- func (a AttributesAttributes) Criticality() terra.ListValue[AttributesCriticalityAttributes]
- func (a AttributesAttributes) DeveloperOwners() terra.ListValue[AttributesDeveloperOwnersAttributes]
- func (a AttributesAttributes) Environment() terra.ListValue[AttributesEnvironmentAttributes]
- func (a AttributesAttributes) InternalRef() (terra.Reference, error)
- func (a AttributesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AttributesAttributes) InternalWithRef(ref terra.Reference) AttributesAttributes
- func (a AttributesAttributes) OperatorOwners() terra.ListValue[AttributesOperatorOwnersAttributes]
- type AttributesBusinessOwners
- type AttributesBusinessOwnersAttributes
- func (bo AttributesBusinessOwnersAttributes) DisplayName() terra.StringValue
- func (bo AttributesBusinessOwnersAttributes) Email() terra.StringValue
- func (bo AttributesBusinessOwnersAttributes) InternalRef() (terra.Reference, error)
- func (bo AttributesBusinessOwnersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bo AttributesBusinessOwnersAttributes) InternalWithRef(ref terra.Reference) AttributesBusinessOwnersAttributes
- type AttributesBusinessOwnersState
- type AttributesCriticality
- type AttributesCriticalityAttributes
- func (c AttributesCriticalityAttributes) InternalRef() (terra.Reference, error)
- func (c AttributesCriticalityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c AttributesCriticalityAttributes) InternalWithRef(ref terra.Reference) AttributesCriticalityAttributes
- func (c AttributesCriticalityAttributes) Type() terra.StringValue
- type AttributesCriticalityState
- type AttributesDeveloperOwners
- type AttributesDeveloperOwnersAttributes
- func (do AttributesDeveloperOwnersAttributes) DisplayName() terra.StringValue
- func (do AttributesDeveloperOwnersAttributes) Email() terra.StringValue
- func (do AttributesDeveloperOwnersAttributes) InternalRef() (terra.Reference, error)
- func (do AttributesDeveloperOwnersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (do AttributesDeveloperOwnersAttributes) InternalWithRef(ref terra.Reference) AttributesDeveloperOwnersAttributes
- type AttributesDeveloperOwnersState
- type AttributesEnvironment
- type AttributesEnvironmentAttributes
- func (e AttributesEnvironmentAttributes) InternalRef() (terra.Reference, error)
- func (e AttributesEnvironmentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e AttributesEnvironmentAttributes) InternalWithRef(ref terra.Reference) AttributesEnvironmentAttributes
- func (e AttributesEnvironmentAttributes) Type() terra.StringValue
- type AttributesEnvironmentState
- type AttributesOperatorOwners
- type AttributesOperatorOwnersAttributes
- func (oo AttributesOperatorOwnersAttributes) DisplayName() terra.StringValue
- func (oo AttributesOperatorOwnersAttributes) Email() terra.StringValue
- func (oo AttributesOperatorOwnersAttributes) InternalRef() (terra.Reference, error)
- func (oo AttributesOperatorOwnersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (oo AttributesOperatorOwnersAttributes) InternalWithRef(ref terra.Reference) AttributesOperatorOwnersAttributes
- type AttributesOperatorOwnersState
- type AttributesState
- type Resource
- func (gas *Resource) Attributes() googleApphubServiceAttributes
- func (gas *Resource) Configuration() interface{}
- func (gas *Resource) DependOn() terra.Reference
- func (gas *Resource) Dependencies() terra.Dependencies
- func (gas *Resource) ImportState(state io.Reader) error
- func (gas *Resource) LifecycleManagement() *terra.Lifecycle
- func (gas *Resource) LocalName() string
- func (gas *Resource) State() (*googleApphubServiceState, bool)
- func (gas *Resource) StateMust() *googleApphubServiceState
- func (gas *Resource) Type() string
- type ServicePropertiesAttributes
- func (sp ServicePropertiesAttributes) GcpProject() terra.StringValue
- func (sp ServicePropertiesAttributes) InternalRef() (terra.Reference, error)
- func (sp ServicePropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp ServicePropertiesAttributes) InternalWithRef(ref terra.Reference) ServicePropertiesAttributes
- func (sp ServicePropertiesAttributes) Location() terra.StringValue
- func (sp ServicePropertiesAttributes) Zone() terra.StringValue
- type ServicePropertiesState
- type ServiceReferenceAttributes
- func (sr ServiceReferenceAttributes) InternalRef() (terra.Reference, error)
- func (sr ServiceReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr ServiceReferenceAttributes) InternalWithRef(ref terra.Reference) ServiceReferenceAttributes
- func (sr ServiceReferenceAttributes) Uri() terra.StringValue
- type ServiceReferenceState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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 (a AttributesAttributes) BusinessOwners() terra.ListValue[AttributesBusinessOwnersAttributes]
func (AttributesAttributes) Criticality ¶
func (a AttributesAttributes) Criticality() terra.ListValue[AttributesCriticalityAttributes]
func (AttributesAttributes) DeveloperOwners ¶
func (a AttributesAttributes) DeveloperOwners() terra.ListValue[AttributesDeveloperOwnersAttributes]
func (AttributesAttributes) Environment ¶
func (a AttributesAttributes) Environment() terra.ListValue[AttributesEnvironmentAttributes]
func (AttributesAttributes) InternalRef ¶
func (a AttributesAttributes) InternalRef() (terra.Reference, error)
func (AttributesAttributes) InternalTokens ¶
func (a AttributesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttributesAttributes) InternalWithRef ¶
func (a AttributesAttributes) InternalWithRef(ref terra.Reference) AttributesAttributes
func (AttributesAttributes) OperatorOwners ¶
func (a AttributesAttributes) OperatorOwners() terra.ListValue[AttributesOperatorOwnersAttributes]
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 (bo AttributesBusinessOwnersAttributes) DisplayName() terra.StringValue
func (AttributesBusinessOwnersAttributes) Email ¶
func (bo AttributesBusinessOwnersAttributes) Email() terra.StringValue
func (AttributesBusinessOwnersAttributes) InternalRef ¶
func (bo AttributesBusinessOwnersAttributes) InternalRef() (terra.Reference, error)
func (AttributesBusinessOwnersAttributes) InternalTokens ¶
func (bo AttributesBusinessOwnersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttributesBusinessOwnersAttributes) InternalWithRef ¶
func (bo AttributesBusinessOwnersAttributes) InternalWithRef(ref terra.Reference) AttributesBusinessOwnersAttributes
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 (c AttributesCriticalityAttributes) InternalRef() (terra.Reference, error)
func (AttributesCriticalityAttributes) InternalTokens ¶
func (c AttributesCriticalityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttributesCriticalityAttributes) InternalWithRef ¶
func (c AttributesCriticalityAttributes) InternalWithRef(ref terra.Reference) AttributesCriticalityAttributes
func (AttributesCriticalityAttributes) Type ¶
func (c AttributesCriticalityAttributes) Type() terra.StringValue
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 (do AttributesDeveloperOwnersAttributes) DisplayName() terra.StringValue
func (AttributesDeveloperOwnersAttributes) Email ¶
func (do AttributesDeveloperOwnersAttributes) Email() terra.StringValue
func (AttributesDeveloperOwnersAttributes) InternalRef ¶
func (do AttributesDeveloperOwnersAttributes) InternalRef() (terra.Reference, error)
func (AttributesDeveloperOwnersAttributes) InternalTokens ¶
func (do AttributesDeveloperOwnersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttributesDeveloperOwnersAttributes) InternalWithRef ¶
func (do AttributesDeveloperOwnersAttributes) InternalWithRef(ref terra.Reference) AttributesDeveloperOwnersAttributes
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 (e AttributesEnvironmentAttributes) InternalRef() (terra.Reference, error)
func (AttributesEnvironmentAttributes) InternalTokens ¶
func (e AttributesEnvironmentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttributesEnvironmentAttributes) InternalWithRef ¶
func (e AttributesEnvironmentAttributes) InternalWithRef(ref terra.Reference) AttributesEnvironmentAttributes
func (AttributesEnvironmentAttributes) Type ¶
func (e AttributesEnvironmentAttributes) Type() terra.StringValue
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 (oo AttributesOperatorOwnersAttributes) DisplayName() terra.StringValue
func (AttributesOperatorOwnersAttributes) Email ¶
func (oo AttributesOperatorOwnersAttributes) Email() terra.StringValue
func (AttributesOperatorOwnersAttributes) InternalRef ¶
func (oo AttributesOperatorOwnersAttributes) InternalRef() (terra.Reference, error)
func (AttributesOperatorOwnersAttributes) InternalTokens ¶
func (oo AttributesOperatorOwnersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttributesOperatorOwnersAttributes) InternalWithRef ¶
func (oo AttributesOperatorOwnersAttributes) InternalWithRef(ref terra.Reference) AttributesOperatorOwnersAttributes
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 (*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) Dependencies ¶
func (gas *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type ServicePropertiesAttributes ¶
type ServicePropertiesAttributes struct {
// contains filtered or unexported fields
}
func (ServicePropertiesAttributes) GcpProject ¶
func (sp ServicePropertiesAttributes) GcpProject() terra.StringValue
func (ServicePropertiesAttributes) InternalRef ¶
func (sp ServicePropertiesAttributes) InternalRef() (terra.Reference, error)
func (ServicePropertiesAttributes) InternalTokens ¶
func (sp ServicePropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServicePropertiesAttributes) InternalWithRef ¶
func (sp ServicePropertiesAttributes) InternalWithRef(ref terra.Reference) ServicePropertiesAttributes
func (ServicePropertiesAttributes) Location ¶
func (sp ServicePropertiesAttributes) Location() terra.StringValue
func (ServicePropertiesAttributes) Zone ¶
func (sp ServicePropertiesAttributes) Zone() terra.StringValue
type ServicePropertiesState ¶
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 (sr ServiceReferenceAttributes) InternalWithRef(ref terra.Reference) ServiceReferenceAttributes
func (ServiceReferenceAttributes) Uri ¶
func (sr ServiceReferenceAttributes) Uri() terra.StringValue
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.