Class SecurityGroupRule
Security group rules provide users the ability to specify the types of
traffic that are allowed to pass through to and from ports (represented by OpenCloud\Networking\Resource\Port
) on a virtual server instance.
- OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\Networking\Resource\SecurityGroupRule
Namespace: OpenCloud\Networking\Resource
Package: OpenCloud\Networking\Resource
See: http://developer.openstack.org/api-ref-networking-v2.html#security_groups
Located at OpenCloud/Networking/Resource/SecurityGroupRule.php
Package: OpenCloud\Networking\Resource
See: http://developer.openstack.org/api-ref-networking-v2.html#security_groups
Located at OpenCloud/Networking/Resource/SecurityGroupRule.php
public
object
|
#
createJson( )
This method is inherited. The inherited method has protected scope but we are
widening the scope to public so this method may be called from other classes
such as |
public
Guzzle\Http\Message\Response
|
PATCH_CONTENT_TYPE
|
protected static
string
|
$url_resource
|
# 'security-group-rules' |
protected static
string
|
$json_name
|
# 'security_group_rule' |
protected
mixed
|
$id
|
|
protected
mixed
|
$direction
|
|
protected
mixed
|
$ethertype
|
|
protected
mixed
|
$portRangeMin
|
|
protected
mixed
|
$portRangeMax
|
|
protected
mixed
|
$protocol
|
|
protected
mixed
|
$remoteGroupId
|
|
protected
mixed
|
$remoteIpPrefix
|
|
protected
mixed
|
$securityGroupId
|
|
protected
mixed
|
$tenantId
|
|
protected
mixed
|
$links
|
|
protected
array
|
$aliases
The aliases configure for the properties of the instance. |
# array(
'port_range_min' => 'portRangeMin',
'port_range_max' => 'portRangeMax',
'remote_group_id' => 'remoteGroupId',
'remote_ip_prefix' => 'remoteIpPrefix',
'security_group_id' => 'securityGroupId',
'tenant_id' => 'tenantId'
) |
protected
array
|
$createKeys
|
# array(
'direction',
'ethertype',
'securityGroupId',
'portRangeMin',
'portRangeMax',
'protocol',
'remoteGroupId',
'remoteIpPrefix'
) |
$metadata,
$parent,
$service
|