Network Gateway resources allow communication between instances in your network and the internet. This resource inherits from Resource and has direct access to the resource’s database object. The following attributes are directly accessible:
|The primary resource identifier that takes the form of a prefix followed by numbers and letters|
|The ID of this gateway|
|The ID of the parent organization service (cloud)|
|The region where the gateway exists|
|attr name:||The name of the internet gateway|
|The resource ID of the parent (network)|
Internet Gateway operations
- Delete this resource. If wrapped in a with JobQueue() block, this will queue the deletion job to the wrapped queue, otherwise it
- calls immediately.
Detach this network gateway from the parent network.
Retrieve the provider network ID
This should be called when a resource is created/discovered after the basic data is added to the database. This gives an opportunity for post-addition hooks (assignment to groups, alerts, etc)
This should be called when a resource is destroyed before the basic data is removed from the database. This gives an opportunity for pre-destruction hooks (removal from groups, alerts, etc)
handle_resource_modified(resource, *args, **kwargs)¶
This should be called when a resource is modified after the new data has been updated in the DB session This gives an opportunity for post-modification hooks