Class: ConnectivityRuleSpec
The connectivity rule specification passed in on create/update operations.
Properties
connectionType?
optionalconnectionType?:"publicRule"|"privateRule"
ConnectivityRuleSpec connectionType.
privateRule?
optionalprivateRule?:$Properties|null
This allows access via specific private vpc.
publicRule?
optionalpublicRule?:$Properties|null
This allows access via public internet.
Methods
toJSON()
toJSON():
object
Converts this ConnectivityRuleSpec to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):ConnectivityRuleSpec&$Shape
Creates a new ConnectivityRuleSpec instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ConnectivityRuleSpec & $Shape
ConnectivityRuleSpec instance
Call Signature
staticcreate(properties?):ConnectivityRuleSpec
Creates a new ConnectivityRuleSpec instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ConnectivityRuleSpec
ConnectivityRuleSpec instance
decode()
staticdecode(reader,length?):ConnectivityRuleSpec&$Shape
Decodes a ConnectivityRuleSpec message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message length if known beforehand
Returns
ConnectivityRuleSpec & $Shape
ConnectivityRuleSpec
Throws
If the payload is not a reader or valid buffer