Documentation
¶
Overview ¶
Package vnet provides functions and data structures to interact with Azure VNet resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureResourceReport ¶
type AzureResourceReport struct { Resources AzureResources `json:"resources"` Errors []string `json:"errors"` }
AzureResourceReport contains the AzureResources and any non-fatal errors encountered during enumeration.
func EnumerateVNets ¶
func EnumerateVNets(ctx context.Context, cfg config.AzureConfig) (*AzureResourceReport, error)
EnumerateVNets enumerates all VNets in the subscription, returning a report of the VNets and any non-fatal errors encountered.
type AzureResources ¶
type AzureResources struct { SubscriptionID string `json:"subscription_id"` VirtualNetworks []Details `json:"virtual_networks"` }
AzureResources contains details about all VNets in the subscription.
Click to show internal directories.
Click to hide internal directories.