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 Resource
- func (anpc *Resource) Attributes() azurermNetworkPacketCaptureAttributes
- func (anpc *Resource) Configuration() interface{}
- func (anpc *Resource) DependOn() terra.Reference
- func (anpc *Resource) Dependencies() terra.Dependencies
- func (anpc *Resource) ImportState(state io.Reader) error
- func (anpc *Resource) LifecycleManagement() *terra.Lifecycle
- func (anpc *Resource) LocalName() string
- func (anpc *Resource) State() (*azurermNetworkPacketCaptureState, bool)
- func (anpc *Resource) StateMust() *azurermNetworkPacketCaptureState
- func (anpc *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"` // MaximumCaptureDuration: number, optional MaximumCaptureDuration terra.NumberValue `hcl:"maximum_capture_duration,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NetworkWatcherName: string, required NetworkWatcherName terra.StringValue `hcl:"network_watcher_name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // TargetResourceId: string, required TargetResourceId terra.StringValue `hcl:"target_resource_id,attr" validate:"required"` // Filter: min=0 Filter []Filter `hcl:"filter,block" validate:"min=0"` // StorageLocation: required StorageLocation *StorageLocation `hcl:"storage_location,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_network_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 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_network_packet_capture.
func (*Resource) Attributes ¶
func (anpc *Resource) Attributes() azurermNetworkPacketCaptureAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (anpc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (anpc *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.