Documentation ¶
Index ¶
- type Args
- type Filter
- type FilterAttributes
- func (f FilterAttributes) InternalRef() (terra.Reference, error)
- func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
- func (f FilterAttributes) LocalIpAddress() terra.StringValue
- func (f FilterAttributes) LocalPort() terra.StringValue
- func (f FilterAttributes) Protocol() terra.StringValue
- func (f FilterAttributes) RemoteIpAddress() terra.StringValue
- func (f FilterAttributes) RemotePort() terra.StringValue
- type FilterState
- type MachineScope
- type MachineScopeAttributes
- func (ms MachineScopeAttributes) ExcludeInstanceIds() terra.ListValue[terra.StringValue]
- func (ms MachineScopeAttributes) IncludeInstanceIds() terra.ListValue[terra.StringValue]
- func (ms MachineScopeAttributes) InternalRef() (terra.Reference, error)
- func (ms MachineScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms MachineScopeAttributes) InternalWithRef(ref terra.Reference) MachineScopeAttributes
- type MachineScopeState
- type Resource
- func (avmsspc *Resource) Attributes() azurermVirtualMachineScaleSetPacketCaptureAttributes
- func (avmsspc *Resource) Configuration() interface{}
- func (avmsspc *Resource) DependOn() terra.Reference
- func (avmsspc *Resource) Dependencies() terra.Dependencies
- func (avmsspc *Resource) ImportState(state io.Reader) error
- func (avmsspc *Resource) LifecycleManagement() *terra.Lifecycle
- func (avmsspc *Resource) LocalName() string
- func (avmsspc *Resource) State() (*azurermVirtualMachineScaleSetPacketCaptureState, bool)
- func (avmsspc *Resource) StateMust() *azurermVirtualMachineScaleSetPacketCaptureState
- func (avmsspc *Resource) Type() string
- type StorageLocation
- type StorageLocationAttributes
- func (sl StorageLocationAttributes) FilePath() terra.StringValue
- func (sl StorageLocationAttributes) InternalRef() (terra.Reference, error)
- func (sl StorageLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sl StorageLocationAttributes) InternalWithRef(ref terra.Reference) StorageLocationAttributes
- func (sl StorageLocationAttributes) StorageAccountId() terra.StringValue
- func (sl StorageLocationAttributes) StoragePath() terra.StringValue
- type StorageLocationState
- 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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MaximumBytesPerPacket: number, optional MaximumBytesPerPacket terra.NumberValue `hcl:"maximum_bytes_per_packet,attr"` // MaximumBytesPerSession: number, optional MaximumBytesPerSession terra.NumberValue `hcl:"maximum_bytes_per_session,attr"` // MaximumCaptureDurationInSeconds: number, optional MaximumCaptureDurationInSeconds terra.NumberValue `hcl:"maximum_capture_duration_in_seconds,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NetworkWatcherId: string, required NetworkWatcherId terra.StringValue `hcl:"network_watcher_id,attr" validate:"required"` // VirtualMachineScaleSetId: string, required VirtualMachineScaleSetId terra.StringValue `hcl:"virtual_machine_scale_set_id,attr" validate:"required"` // Filter: min=0 Filter []Filter `hcl:"filter,block" validate:"min=0"` // MachineScope: optional MachineScope *MachineScope `hcl:"machine_scope,block"` // StorageLocation: required StorageLocation *StorageLocation `hcl:"storage_location,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_virtual_machine_scale_set_packet_capture.
type Filter ¶
type Filter struct { // LocalIpAddress: string, optional LocalIpAddress terra.StringValue `hcl:"local_ip_address,attr"` // LocalPort: string, optional LocalPort terra.StringValue `hcl:"local_port,attr"` // Protocol: string, required Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"` // RemoteIpAddress: string, optional RemoteIpAddress terra.StringValue `hcl:"remote_ip_address,attr"` // RemotePort: string, optional RemotePort terra.StringValue `hcl:"remote_port,attr"` }
type FilterAttributes ¶
type FilterAttributes struct {
// contains filtered or unexported fields
}
func (FilterAttributes) InternalRef ¶
func (f FilterAttributes) InternalRef() (terra.Reference, error)
func (FilterAttributes) InternalTokens ¶
func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FilterAttributes) InternalWithRef ¶
func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
func (FilterAttributes) LocalIpAddress ¶
func (f FilterAttributes) LocalIpAddress() terra.StringValue
func (FilterAttributes) LocalPort ¶
func (f FilterAttributes) LocalPort() terra.StringValue
func (FilterAttributes) Protocol ¶
func (f FilterAttributes) Protocol() terra.StringValue
func (FilterAttributes) RemoteIpAddress ¶
func (f FilterAttributes) RemoteIpAddress() terra.StringValue
func (FilterAttributes) RemotePort ¶
func (f FilterAttributes) RemotePort() terra.StringValue
type FilterState ¶
type MachineScope ¶
type MachineScope struct { // ExcludeInstanceIds: list of string, optional ExcludeInstanceIds terra.ListValue[terra.StringValue] `hcl:"exclude_instance_ids,attr"` // IncludeInstanceIds: list of string, optional IncludeInstanceIds terra.ListValue[terra.StringValue] `hcl:"include_instance_ids,attr"` }
type MachineScopeAttributes ¶
type MachineScopeAttributes struct {
// contains filtered or unexported fields
}
func (MachineScopeAttributes) ExcludeInstanceIds ¶
func (ms MachineScopeAttributes) ExcludeInstanceIds() terra.ListValue[terra.StringValue]
func (MachineScopeAttributes) IncludeInstanceIds ¶
func (ms MachineScopeAttributes) IncludeInstanceIds() terra.ListValue[terra.StringValue]
func (MachineScopeAttributes) InternalRef ¶
func (ms MachineScopeAttributes) InternalRef() (terra.Reference, error)
func (MachineScopeAttributes) InternalTokens ¶
func (ms MachineScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MachineScopeAttributes) InternalWithRef ¶
func (ms MachineScopeAttributes) InternalWithRef(ref terra.Reference) MachineScopeAttributes
type MachineScopeState ¶
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_virtual_machine_scale_set_packet_capture.
func (*Resource) Attributes ¶
func (avmsspc *Resource) Attributes() azurermVirtualMachineScaleSetPacketCaptureAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (avmsspc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (avmsspc *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 StorageLocation ¶
type StorageLocation struct { // FilePath: string, optional FilePath terra.StringValue `hcl:"file_path,attr"` // StorageAccountId: string, optional StorageAccountId terra.StringValue `hcl:"storage_account_id,attr"` }
type StorageLocationAttributes ¶
type StorageLocationAttributes struct {
// contains filtered or unexported fields
}
func (StorageLocationAttributes) FilePath ¶
func (sl StorageLocationAttributes) FilePath() terra.StringValue
func (StorageLocationAttributes) InternalRef ¶
func (sl StorageLocationAttributes) InternalRef() (terra.Reference, error)
func (StorageLocationAttributes) InternalTokens ¶
func (sl StorageLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageLocationAttributes) InternalWithRef ¶
func (sl StorageLocationAttributes) InternalWithRef(ref terra.Reference) StorageLocationAttributes
func (StorageLocationAttributes) StorageAccountId ¶
func (sl StorageLocationAttributes) StorageAccountId() terra.StringValue
func (StorageLocationAttributes) StoragePath ¶
func (sl StorageLocationAttributes) StoragePath() terra.StringValue
type StorageLocationState ¶
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"` }
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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.