Skip to content

Private peer port

Product type for Private Peer Port.

PrivatePeerPortInactive

Bases: SubscriptionModel

A Private Peering Port product that is inactive.

Source code in gso/products/product_types/private_peer_port.py
class PrivatePeerPortInactive(SubscriptionModel, is_base=True):
    """A Private Peering Port product that is inactive."""

    private_peer_port: PrivatePeerPortBlockInactive

    @property
    def l3_interface(self) -> L3InterfacePortBlockInactive:
        """Getter: Retrieve the l3_interface from the ``private_peer_port`` attribute."""
        return self.private_peer_port.l3_interface

    @l3_interface.setter
    def l3_interface(self, value: L3InterfacePortBlockInactive) -> None:
        """Setter: Set the l3_interface on the ``private_peer_port`` attribute."""
        self.private_peer_port.l3_interface = value

    @property
    def product_block(self) -> PrivatePeerPortBlockInactive:
        """Get product block for Private Peer Port Product."""
        return self.private_peer_port

l3_interface property writable

Getter: Retrieve the l3_interface from the private_peer_port attribute.

product_block property

Get product block for Private Peer Port Product.

PrivatePeerPortProvisioning

Bases: PrivatePeerPortInactive

A Private Peering Port product that is being provisioned.

Source code in gso/products/product_types/private_peer_port.py
class PrivatePeerPortProvisioning(PrivatePeerPortInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]):
    """A Private Peering Port product that is being provisioned."""

    private_peer_port: PrivatePeerPortBlockProvisioning

PrivatePeerPort

Bases: PrivatePeerPortProvisioning

A Private Peering Port product that is active.

Source code in gso/products/product_types/private_peer_port.py
class PrivatePeerPort(PrivatePeerPortProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
    """A Private Peering Port product that is active."""

    private_peer_port: PrivatePeerPortBlock

ImportedPrivatePeerPortInactive

Bases: SubscriptionModel

An imported Private Peering Port product that is inactive.

Source code in gso/products/product_types/private_peer_port.py
class ImportedPrivatePeerPortInactive(SubscriptionModel, is_base=True):
    """An imported Private Peering Port product that is inactive."""

    private_peer_port: PrivatePeerPortBlockInactive

    @property
    def l3_interface(self) -> L3InterfacePortBlockInactive:
        """Getter: Retrieve the l3_interface from the ``private_peer_port`` attribute."""
        return self.private_peer_port.l3_interface

    @l3_interface.setter
    def l3_interface(self, value: L3InterfacePortBlockInactive) -> None:
        """Setter: Set the l3_interface on the ``private_peer_port`` attribute."""
        self.private_peer_port.l3_interface = value

    @property
    def product_block(self) -> PrivatePeerPortBlockInactive:
        """Get product block for Private Peer Port Product."""
        return self.private_peer_port

l3_interface property writable

Getter: Retrieve the l3_interface from the private_peer_port attribute.

product_block property

Get product block for Private Peer Port Product.

ImportedPrivatePeerPort

Bases: ImportedPrivatePeerPortInactive

An imported Private Peering Port product that is active.

Source code in gso/products/product_types/private_peer_port.py
class ImportedPrivatePeerPort(
    ImportedPrivatePeerPortInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE]
):
    """An imported Private Peering Port product that is active."""

    private_peer_port: PrivatePeerPortBlock