Documentation
¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (asq *Resource) Attributes() azurermServicebusQueueAttributes
- func (asq *Resource) Configuration() interface{}
- func (asq *Resource) DependOn() terra.Reference
- func (asq *Resource) Dependencies() terra.Dependencies
- func (asq *Resource) ImportState(state io.Reader) error
- func (asq *Resource) LifecycleManagement() *terra.Lifecycle
- func (asq *Resource) LocalName() string
- func (asq *Resource) State() (*azurermServicebusQueueState, bool)
- func (asq *Resource) StateMust() *azurermServicebusQueueState
- func (asq *Resource) Type() string
- 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) Read() terra.StringValue
- 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 { // AutoDeleteOnIdle: string, optional AutoDeleteOnIdle terra.StringValue `hcl:"auto_delete_on_idle,attr"` // DeadLetteringOnMessageExpiration: bool, optional DeadLetteringOnMessageExpiration terra.BoolValue `hcl:"dead_lettering_on_message_expiration,attr"` // DefaultMessageTtl: string, optional DefaultMessageTtl terra.StringValue `hcl:"default_message_ttl,attr"` // DuplicateDetectionHistoryTimeWindow: string, optional DuplicateDetectionHistoryTimeWindow terra.StringValue `hcl:"duplicate_detection_history_time_window,attr"` // EnableBatchedOperations: bool, optional EnableBatchedOperations terra.BoolValue `hcl:"enable_batched_operations,attr"` // EnableExpress: bool, optional EnableExpress terra.BoolValue `hcl:"enable_express,attr"` // EnablePartitioning: bool, optional EnablePartitioning terra.BoolValue `hcl:"enable_partitioning,attr"` // ForwardDeadLetteredMessagesTo: string, optional ForwardDeadLetteredMessagesTo terra.StringValue `hcl:"forward_dead_lettered_messages_to,attr"` // ForwardTo: string, optional ForwardTo terra.StringValue `hcl:"forward_to,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LockDuration: string, optional LockDuration terra.StringValue `hcl:"lock_duration,attr"` // MaxDeliveryCount: number, optional MaxDeliveryCount terra.NumberValue `hcl:"max_delivery_count,attr"` // MaxMessageSizeInKilobytes: number, optional MaxMessageSizeInKilobytes terra.NumberValue `hcl:"max_message_size_in_kilobytes,attr"` // MaxSizeInMegabytes: number, optional MaxSizeInMegabytes terra.NumberValue `hcl:"max_size_in_megabytes,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NamespaceId: string, required NamespaceId terra.StringValue `hcl:"namespace_id,attr" validate:"required"` // RequiresDuplicateDetection: bool, optional RequiresDuplicateDetection terra.BoolValue `hcl:"requires_duplicate_detection,attr"` // RequiresSession: bool, optional RequiresSession terra.BoolValue `hcl:"requires_session,attr"` // Status: string, optional Status terra.StringValue `hcl:"status,attr"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_servicebus_queue.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NamespaceId: string, optional NamespaceId terra.StringValue `hcl:"namespace_id,attr"` // NamespaceName: string, optional NamespaceName terra.StringValue `hcl:"namespace_name,attr"` // ResourceGroupName: string, optional ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_servicebus_queue.
type DataSource ¶
DataSource represents the Terraform data resource azurerm_servicebus_queue.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (asq *DataSource) Attributes() dataAzurermServicebusQueueAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (asq *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (asq *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (asq *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
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 azurerm_servicebus_queue.
func (*Resource) Attributes ¶
func (asq *Resource) Attributes() azurermServicebusQueueAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asq *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asq *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 Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue