nsg

package
v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TargetIDNetworkSG = "com.steadybit.extension_azure.nsg"
)

Variables

This section is empty.

Functions

func NewNsgDiscovery

func NewNsgDiscovery() discovery_kit_sdk.TargetDiscovery

Types

type BlockActionState

type BlockActionState struct {
	ResourceId               string            `json:"resourceId"`
	Config                   *BlockHostsConfig `json:"config"`
	ResourceGroupName        string            `json:"resourceGroupName"`
	NetworkSecurityGroupName string            `json:"networkSecurityGroupName"`
	NetworkSecurityRuleNames []string          `json:"networkSecurityRuleNames"`
}

type BlockDirection

type BlockDirection string
const (
	BlockInbound  BlockDirection = "inbound"
	BlockOutbound BlockDirection = "outbound"
)

type BlockHostsConfig

type BlockHostsConfig struct {
	BlockedIPs     *[]string                        `json:"denylist,omitempty"`
	BlockDirection armnetwork.SecurityRuleDirection `json:"direction"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL