otcextensions.sdk.dcaas.v2.virtual_gateway¶
The Virtual Gateway Class¶
The VirtualGateway
class inherits from
Resource
.
- class otcextensions.sdk.dcaas.v2.virtual_gateway.VirtualGateway(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- resource_key: ty.Optional[str] = 'virtual_gateway'¶
Singular form of key for resource.
- resources_key: ty.Optional[str] = 'virtual_gateways'¶
Plural form of key for resource.
- base_path: str = '/dcaas/virtual-gateways'¶
The base part of the URI for this resource.
- allow_list = True¶
Allow list operation for this resource.
- allow_create = True¶
Allow create operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- allow_delete = True¶
Allow delete operation for this resource.
- allow_commit = True¶
Allow update operation for this resource.
- id¶
ID of the direct connection.
- name: ty.Union[Body, URI]¶
Indicates the virtual gateway name.
- description¶
Indicates the description of the virtual gateway.
- vpc_id¶
Specifies the ID of the VPC to be accessed.
- device_id¶
Specifies the ID of the physical device used by the virtual gateway.
- ipsec_bandwidth¶
Specifies the bandwidth provided for IPsec VPN in Mbit/s.
- bgp_asn¶
Specifies the BGP ASN of the virtual gateway.
- project_id¶
Specifies the project ID.