Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
type Leftovers ¶
type Leftovers struct {
// contains filtered or unexported fields
}
func NewLeftovers ¶
func NewLeftovers(logger logger, clientId, clientSecret, subscriptionId, tenantId string) (Leftovers, error)
NewLeftovers returns a new Leftovers for Azure that can be used to list resources, list types, or delete resources for the provided account. It returns an error if the credentials provided are invalid.
func (Leftovers) Delete ¶
Delete will collect all resources that contain the provided filter in the resource's identifier, prompt you to confirm deletion (if enabled), and delete those that are selected.
func (Leftovers) DeleteType ¶ added in v0.32.0
DeleteType will collect all resources of the provied type that contain the provided filter in the resource's identifier, prompt you to confirm deletion (if enabled), and delete those that are selected.
Click to show internal directories.
Click to hide internal directories.