Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSensitiveLabelsAttributes
- func (sl DataSensitiveLabelsAttributes) AuthToken() terra.StringValue
- func (sl DataSensitiveLabelsAttributes) InternalRef() (terra.Reference, error)
- func (sl DataSensitiveLabelsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sl DataSensitiveLabelsAttributes) InternalWithRef(ref terra.Reference) DataSensitiveLabelsAttributes
- func (sl DataSensitiveLabelsAttributes) Password() terra.StringValue
- func (sl DataSensitiveLabelsAttributes) ServiceKey() terra.StringValue
- type DataSensitiveLabelsState
- type DataSource
- type Resource
- func (gmnc *Resource) Attributes() googleMonitoringNotificationChannelAttributes
- func (gmnc *Resource) Configuration() interface{}
- func (gmnc *Resource) DependOn() terra.Reference
- func (gmnc *Resource) Dependencies() terra.Dependencies
- func (gmnc *Resource) ImportState(state io.Reader) error
- func (gmnc *Resource) LifecycleManagement() *terra.Lifecycle
- func (gmnc *Resource) LocalName() string
- func (gmnc *Resource) State() (*googleMonitoringNotificationChannelState, bool)
- func (gmnc *Resource) StateMust() *googleMonitoringNotificationChannelState
- func (gmnc *Resource) Type() string
- type SensitiveLabels
- type SensitiveLabelsAttributes
- func (sl SensitiveLabelsAttributes) AuthToken() terra.StringValue
- func (sl SensitiveLabelsAttributes) InternalRef() (terra.Reference, error)
- func (sl SensitiveLabelsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sl SensitiveLabelsAttributes) InternalWithRef(ref terra.Reference) SensitiveLabelsAttributes
- func (sl SensitiveLabelsAttributes) Password() terra.StringValue
- func (sl SensitiveLabelsAttributes) ServiceKey() terra.StringValue
- type SensitiveLabelsState
- 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 { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // ForceDelete: bool, optional ForceDelete terra.BoolValue `hcl:"force_delete,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // UserLabels: map of string, optional UserLabels terra.MapValue[terra.StringValue] `hcl:"user_labels,attr"` // SensitiveLabels: optional SensitiveLabels *SensitiveLabels `hcl:"sensitive_labels,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_monitoring_notification_channel.
type DataArgs ¶
type DataArgs struct { // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // UserLabels: map of string, optional UserLabels terra.MapValue[terra.StringValue] `hcl:"user_labels,attr"` }
DataArgs contains the configurations for google_monitoring_notification_channel.
type DataSensitiveLabelsAttributes ¶
type DataSensitiveLabelsAttributes struct {
// contains filtered or unexported fields
}
func (DataSensitiveLabelsAttributes) AuthToken ¶
func (sl DataSensitiveLabelsAttributes) AuthToken() terra.StringValue
func (DataSensitiveLabelsAttributes) InternalRef ¶
func (sl DataSensitiveLabelsAttributes) InternalRef() (terra.Reference, error)
func (DataSensitiveLabelsAttributes) InternalTokens ¶
func (sl DataSensitiveLabelsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSensitiveLabelsAttributes) InternalWithRef ¶
func (sl DataSensitiveLabelsAttributes) InternalWithRef(ref terra.Reference) DataSensitiveLabelsAttributes
func (DataSensitiveLabelsAttributes) Password ¶
func (sl DataSensitiveLabelsAttributes) Password() terra.StringValue
func (DataSensitiveLabelsAttributes) ServiceKey ¶
func (sl DataSensitiveLabelsAttributes) ServiceKey() terra.StringValue
type DataSource ¶
DataSource represents the Terraform data resource google_monitoring_notification_channel.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gmnc *DataSource) Attributes() dataGoogleMonitoringNotificationChannelAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gmnc *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gmnc *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gmnc *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_monitoring_notification_channel.
func (*Resource) Attributes ¶
func (gmnc *Resource) Attributes() googleMonitoringNotificationChannelAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gmnc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gmnc *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 SensitiveLabels ¶
type SensitiveLabels struct { // AuthToken: string, optional AuthToken terra.StringValue `hcl:"auth_token,attr"` // Password: string, optional Password terra.StringValue `hcl:"password,attr"` // ServiceKey: string, optional ServiceKey terra.StringValue `hcl:"service_key,attr"` }
type SensitiveLabelsAttributes ¶
type SensitiveLabelsAttributes struct {
// contains filtered or unexported fields
}
func (SensitiveLabelsAttributes) AuthToken ¶
func (sl SensitiveLabelsAttributes) AuthToken() terra.StringValue
func (SensitiveLabelsAttributes) InternalRef ¶
func (sl SensitiveLabelsAttributes) InternalRef() (terra.Reference, error)
func (SensitiveLabelsAttributes) InternalTokens ¶
func (sl SensitiveLabelsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SensitiveLabelsAttributes) InternalWithRef ¶
func (sl SensitiveLabelsAttributes) InternalWithRef(ref terra.Reference) SensitiveLabelsAttributes
func (SensitiveLabelsAttributes) Password ¶
func (sl SensitiveLabelsAttributes) Password() terra.StringValue
func (SensitiveLabelsAttributes) ServiceKey ¶
func (sl SensitiveLabelsAttributes) ServiceKey() terra.StringValue
type SensitiveLabelsState ¶
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