Skip to content
v2.278.0

IPeer Interface ​

Interface for classes that provide the peer-specification parts of a security group rule.

Properties ​

canInlineRulebooleancan_inline_ruleboolcanInlineRuleBooleanCanInlineRuleboolCanInlineRule*bool #
Whether the rule can be inlined into a SecurityGroup or not.
connectionsConnectionsconnectionsConnectionsconnectionsConnectionsConnectionsConnectionsConnectionsConnections #
The network connections associated with this resource.
uniqueIdstringunique_idstruniqueIdStringUniqueIdstringUniqueId*string #
A unique identifier for this connection peer.

Methods ​

toEgressRuleConfig(): EgressRuleConfigdef to_egress_rule_config(self, ) -> EgressRuleConfigpublic EgressRuleConfig toEgressRuleConfig()public EgressRuleConfig ToEgressRuleConfig()func ToEgressRuleConfig() EgressRuleConfig #
Produce the egress rule JSON for the given connection.
toIngressRuleConfig(): IngressRuleConfigdef to_ingress_rule_config(self, ) -> IngressRuleConfigpublic IngressRuleConfig toIngressRuleConfig()public IngressRuleConfig ToIngressRuleConfig()func ToIngressRuleConfig() IngressRuleConfig #
Produce the ingress rule JSON for the given connection.