CloudWanderer Models

class CleanupAction(service_name, region, resource_type)

A storage connector clean up action for a specific resource_type in a specific region.

service_name

The name of the service to cleanup

Type

str

resource_type

The type of resource to cleanup

Type

str

region

The region to cleanup from storage

Type

str

class GetAction(service_name, region, resource_type)

A get action for a specific resource_type in a specific region.

service_name

The name of the service to get

Type

str

resource_type

The type of resource to get

Type

str

region

The region to get it in

Type

str

class GetAndCleanUp(get_actions, cleanup_actions)

A set of get and cleanup actions.

The get and cleanup actions are paired together because the cleanup action must be performed after the get action in order to ensure that any stale resources are removed from the storage connectors.

It’s possible for there to be far more cleanup actions than get actions if a single region API discovers resources in multiple regions.

get_actions

The list of get actions

Type

List[cloudwanderer.models.GetAction]

cleanup_actions

The list of cleanup actions

Type

List[cloudwanderer.models.CleanupAction]